AWS SDK for C++  1.9.19
AWS SDK for C++
VirtualGatewayListener.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace AppMesh
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const VirtualGatewayConnectionPool& GetConnectionPool() const{ return m_connectionPool; }
48 
52  inline bool ConnectionPoolHasBeenSet() const { return m_connectionPoolHasBeenSet; }
53 
57  inline void SetConnectionPool(const VirtualGatewayConnectionPool& value) { m_connectionPoolHasBeenSet = true; m_connectionPool = value; }
58 
62  inline void SetConnectionPool(VirtualGatewayConnectionPool&& value) { m_connectionPoolHasBeenSet = true; m_connectionPool = std::move(value); }
63 
67  inline VirtualGatewayListener& WithConnectionPool(const VirtualGatewayConnectionPool& value) { SetConnectionPool(value); return *this;}
68 
72  inline VirtualGatewayListener& WithConnectionPool(VirtualGatewayConnectionPool&& value) { SetConnectionPool(std::move(value)); return *this;}
73 
74 
78  inline const VirtualGatewayHealthCheckPolicy& GetHealthCheck() const{ return m_healthCheck; }
79 
83  inline bool HealthCheckHasBeenSet() const { return m_healthCheckHasBeenSet; }
84 
88  inline void SetHealthCheck(const VirtualGatewayHealthCheckPolicy& value) { m_healthCheckHasBeenSet = true; m_healthCheck = value; }
89 
93  inline void SetHealthCheck(VirtualGatewayHealthCheckPolicy&& value) { m_healthCheckHasBeenSet = true; m_healthCheck = std::move(value); }
94 
98  inline VirtualGatewayListener& WithHealthCheck(const VirtualGatewayHealthCheckPolicy& value) { SetHealthCheck(value); return *this;}
99 
103  inline VirtualGatewayListener& WithHealthCheck(VirtualGatewayHealthCheckPolicy&& value) { SetHealthCheck(std::move(value)); return *this;}
104 
105 
109  inline const VirtualGatewayPortMapping& GetPortMapping() const{ return m_portMapping; }
110 
114  inline bool PortMappingHasBeenSet() const { return m_portMappingHasBeenSet; }
115 
119  inline void SetPortMapping(const VirtualGatewayPortMapping& value) { m_portMappingHasBeenSet = true; m_portMapping = value; }
120 
124  inline void SetPortMapping(VirtualGatewayPortMapping&& value) { m_portMappingHasBeenSet = true; m_portMapping = std::move(value); }
125 
129  inline VirtualGatewayListener& WithPortMapping(const VirtualGatewayPortMapping& value) { SetPortMapping(value); return *this;}
130 
134  inline VirtualGatewayListener& WithPortMapping(VirtualGatewayPortMapping&& value) { SetPortMapping(std::move(value)); return *this;}
135 
136 
141  inline const VirtualGatewayListenerTls& GetTls() const{ return m_tls; }
142 
147  inline bool TlsHasBeenSet() const { return m_tlsHasBeenSet; }
148 
153  inline void SetTls(const VirtualGatewayListenerTls& value) { m_tlsHasBeenSet = true; m_tls = value; }
154 
159  inline void SetTls(VirtualGatewayListenerTls&& value) { m_tlsHasBeenSet = true; m_tls = std::move(value); }
160 
165  inline VirtualGatewayListener& WithTls(const VirtualGatewayListenerTls& value) { SetTls(value); return *this;}
166 
171  inline VirtualGatewayListener& WithTls(VirtualGatewayListenerTls&& value) { SetTls(std::move(value)); return *this;}
172 
173  private:
174 
175  VirtualGatewayConnectionPool m_connectionPool;
176  bool m_connectionPoolHasBeenSet;
177 
178  VirtualGatewayHealthCheckPolicy m_healthCheck;
179  bool m_healthCheckHasBeenSet;
180 
181  VirtualGatewayPortMapping m_portMapping;
182  bool m_portMappingHasBeenSet;
183 
185  bool m_tlsHasBeenSet;
186  };
187 
188 } // namespace Model
189 } // namespace AppMesh
190 } // namespace Aws
Aws::AppMesh::Model::VirtualGatewayListener::TlsHasBeenSet
bool TlsHasBeenSet() const
Definition: VirtualGatewayListener.h:147
Aws::AppMesh::Model::VirtualGatewayConnectionPool
Definition: VirtualGatewayConnectionPool.h:38
Aws::AppMesh::Model::VirtualGatewayListener::WithPortMapping
VirtualGatewayListener & WithPortMapping(VirtualGatewayPortMapping &&value)
Definition: VirtualGatewayListener.h:134
VirtualGatewayConnectionPool.h
Aws::AppMesh::Model::VirtualGatewayListener::WithHealthCheck
VirtualGatewayListener & WithHealthCheck(const VirtualGatewayHealthCheckPolicy &value)
Definition: VirtualGatewayListener.h:98
VirtualGatewayHealthCheckPolicy.h
Aws::AppMesh::Model::VirtualGatewayListener::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
VirtualGatewayListenerTls.h
Aws::AppMesh::Model::VirtualGatewayHealthCheckPolicy
Definition: VirtualGatewayHealthCheckPolicy.h:34
Aws::AppMesh::Model::VirtualGatewayListener::GetPortMapping
const VirtualGatewayPortMapping & GetPortMapping() const
Definition: VirtualGatewayListener.h:109
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualGatewayListener::WithTls
VirtualGatewayListener & WithTls(VirtualGatewayListenerTls &&value)
Definition: VirtualGatewayListener.h:171
Aws::AppMesh::Model::VirtualGatewayListener::VirtualGatewayListener
VirtualGatewayListener()
Aws::AppMesh::Model::VirtualGatewayListener::SetConnectionPool
void SetConnectionPool(const VirtualGatewayConnectionPool &value)
Definition: VirtualGatewayListener.h:57
VirtualGatewayPortMapping.h
Aws::AppMesh::Model::VirtualGatewayListener::WithHealthCheck
VirtualGatewayListener & WithHealthCheck(VirtualGatewayHealthCheckPolicy &&value)
Definition: VirtualGatewayListener.h:103
Aws::AppMesh::Model::VirtualGatewayListener::GetHealthCheck
const VirtualGatewayHealthCheckPolicy & GetHealthCheck() const
Definition: VirtualGatewayListener.h:78
Aws::AppMesh::Model::VirtualGatewayListener::SetTls
void SetTls(const VirtualGatewayListenerTls &value)
Definition: VirtualGatewayListener.h:153
Aws::AppMesh::Model::VirtualGatewayListener::GetConnectionPool
const VirtualGatewayConnectionPool & GetConnectionPool() const
Definition: VirtualGatewayListener.h:47
Aws::AppMesh::Model::VirtualGatewayListener::SetPortMapping
void SetPortMapping(const VirtualGatewayPortMapping &value)
Definition: VirtualGatewayListener.h:119
Aws::AppMesh::Model::VirtualGatewayListener::SetHealthCheck
void SetHealthCheck(const VirtualGatewayHealthCheckPolicy &value)
Definition: VirtualGatewayListener.h:88
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::VirtualGatewayListener::SetTls
void SetTls(VirtualGatewayListenerTls &&value)
Definition: VirtualGatewayListener.h:159
Aws::AppMesh::Model::VirtualGatewayListener::WithConnectionPool
VirtualGatewayListener & WithConnectionPool(const VirtualGatewayConnectionPool &value)
Definition: VirtualGatewayListener.h:67
Aws::AppMesh::Model::VirtualGatewayListener::VirtualGatewayListener
VirtualGatewayListener(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayListener::PortMappingHasBeenSet
bool PortMappingHasBeenSet() const
Definition: VirtualGatewayListener.h:114
Aws::AppMesh::Model::VirtualGatewayListener::GetTls
const VirtualGatewayListenerTls & GetTls() const
Definition: VirtualGatewayListener.h:141
Aws::AppMesh::Model::VirtualGatewayListener
Definition: VirtualGatewayListener.h:36
Aws::AppMesh::Model::VirtualGatewayListener::SetConnectionPool
void SetConnectionPool(VirtualGatewayConnectionPool &&value)
Definition: VirtualGatewayListener.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualGatewayListenerTls
Definition: VirtualGatewayListenerTls.h:35
Aws::AppMesh::Model::VirtualGatewayListener::WithConnectionPool
VirtualGatewayListener & WithConnectionPool(VirtualGatewayConnectionPool &&value)
Definition: VirtualGatewayListener.h:72
Aws::AppMesh::Model::VirtualGatewayListener::SetHealthCheck
void SetHealthCheck(VirtualGatewayHealthCheckPolicy &&value)
Definition: VirtualGatewayListener.h:93
Aws::AppMesh::Model::VirtualGatewayListener::SetPortMapping
void SetPortMapping(VirtualGatewayPortMapping &&value)
Definition: VirtualGatewayListener.h:124
Aws::AppMesh::Model::VirtualGatewayListener::HealthCheckHasBeenSet
bool HealthCheckHasBeenSet() const
Definition: VirtualGatewayListener.h:83
Aws::AppMesh::Model::VirtualGatewayListener::WithTls
VirtualGatewayListener & WithTls(const VirtualGatewayListenerTls &value)
Definition: VirtualGatewayListener.h:165
Aws::AppMesh::Model::VirtualGatewayListener::ConnectionPoolHasBeenSet
bool ConnectionPoolHasBeenSet() const
Definition: VirtualGatewayListener.h:52
Aws::AppMesh::Model::VirtualGatewayPortMapping
Definition: VirtualGatewayPortMapping.h:32
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::VirtualGatewayListener::WithPortMapping
VirtualGatewayListener & WithPortMapping(const VirtualGatewayPortMapping &value)
Definition: VirtualGatewayListener.h:129
Aws::AppMesh::Model::VirtualGatewayListener::operator=
VirtualGatewayListener & operator=(Aws::Utils::Json::JsonView jsonValue)