AWS SDK for C++  1.9.129
AWS SDK for C++
VirtualGatewayListenerTls.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 VirtualGatewayListenerTlsCertificate& GetCertificate() const{ return m_certificate; }
47 
51  inline bool CertificateHasBeenSet() const { return m_certificateHasBeenSet; }
52 
56  inline void SetCertificate(const VirtualGatewayListenerTlsCertificate& value) { m_certificateHasBeenSet = true; m_certificate = value; }
57 
61  inline void SetCertificate(VirtualGatewayListenerTlsCertificate&& value) { m_certificateHasBeenSet = true; m_certificate = std::move(value); }
62 
66  inline VirtualGatewayListenerTls& WithCertificate(const VirtualGatewayListenerTlsCertificate& value) { SetCertificate(value); return *this;}
67 
71  inline VirtualGatewayListenerTls& WithCertificate(VirtualGatewayListenerTlsCertificate&& value) { SetCertificate(std::move(value)); return *this;}
72 
73 
80  inline const VirtualGatewayListenerTlsMode& GetMode() const{ return m_mode; }
81 
88  inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
89 
96  inline void SetMode(const VirtualGatewayListenerTlsMode& value) { m_modeHasBeenSet = true; m_mode = value; }
97 
104  inline void SetMode(VirtualGatewayListenerTlsMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
105 
112  inline VirtualGatewayListenerTls& WithMode(const VirtualGatewayListenerTlsMode& value) { SetMode(value); return *this;}
113 
120  inline VirtualGatewayListenerTls& WithMode(VirtualGatewayListenerTlsMode&& value) { SetMode(std::move(value)); return *this;}
121 
122 
127  inline const VirtualGatewayListenerTlsValidationContext& GetValidation() const{ return m_validation; }
128 
133  inline bool ValidationHasBeenSet() const { return m_validationHasBeenSet; }
134 
139  inline void SetValidation(const VirtualGatewayListenerTlsValidationContext& value) { m_validationHasBeenSet = true; m_validation = value; }
140 
145  inline void SetValidation(VirtualGatewayListenerTlsValidationContext&& value) { m_validationHasBeenSet = true; m_validation = std::move(value); }
146 
151  inline VirtualGatewayListenerTls& WithValidation(const VirtualGatewayListenerTlsValidationContext& value) { SetValidation(value); return *this;}
152 
157  inline VirtualGatewayListenerTls& WithValidation(VirtualGatewayListenerTlsValidationContext&& value) { SetValidation(std::move(value)); return *this;}
158 
159  private:
160 
162  bool m_certificateHasBeenSet;
163 
165  bool m_modeHasBeenSet;
166 
168  bool m_validationHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace AppMesh
173 } // namespace Aws
VirtualGatewayListenerTlsCertificate.h
Aws::AppMesh::Model::VirtualGatewayListenerTlsMode
VirtualGatewayListenerTlsMode
Definition: VirtualGatewayListenerTlsMode.h:17
Aws::AppMesh::Model::VirtualGatewayListenerTls::SetValidation
void SetValidation(VirtualGatewayListenerTlsValidationContext &&value)
Definition: VirtualGatewayListenerTls.h:145
Aws::AppMesh::Model::VirtualGatewayListenerTls::GetCertificate
const VirtualGatewayListenerTlsCertificate & GetCertificate() const
Definition: VirtualGatewayListenerTls.h:46
VirtualGatewayListenerTlsMode.h
Aws::AppMesh::Model::VirtualGatewayListenerTls::SetValidation
void SetValidation(const VirtualGatewayListenerTlsValidationContext &value)
Definition: VirtualGatewayListenerTls.h:139
Aws::AppMesh::Model::VirtualGatewayListenerTlsCertificate
Definition: VirtualGatewayListenerTlsCertificate.h:35
Aws::AppMesh::Model::VirtualGatewayListenerTls::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualGatewayListenerTls::SetMode
void SetMode(const VirtualGatewayListenerTlsMode &value)
Definition: VirtualGatewayListenerTls.h:96
VirtualGatewayListenerTlsValidationContext.h
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualGatewayListenerTls::operator=
VirtualGatewayListenerTls & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayListenerTls::SetCertificate
void SetCertificate(const VirtualGatewayListenerTlsCertificate &value)
Definition: VirtualGatewayListenerTls.h:56
Aws::AppMesh::Model::VirtualGatewayListenerTls::SetCertificate
void SetCertificate(VirtualGatewayListenerTlsCertificate &&value)
Definition: VirtualGatewayListenerTls.h:61
Aws::AppMesh::Model::VirtualGatewayListenerTls::VirtualGatewayListenerTls
VirtualGatewayListenerTls(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayListenerTls::VirtualGatewayListenerTls
VirtualGatewayListenerTls()
Aws::AppMesh::Model::VirtualGatewayListenerTlsValidationContext
Definition: VirtualGatewayListenerTlsValidationContext.h:34
Aws::AppMesh::Model::VirtualGatewayListenerTls::GetValidation
const VirtualGatewayListenerTlsValidationContext & GetValidation() const
Definition: VirtualGatewayListenerTls.h:127
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::VirtualGatewayListenerTls::WithCertificate
VirtualGatewayListenerTls & WithCertificate(const VirtualGatewayListenerTlsCertificate &value)
Definition: VirtualGatewayListenerTls.h:66
Aws::AppMesh::Model::VirtualGatewayListenerTls::ValidationHasBeenSet
bool ValidationHasBeenSet() const
Definition: VirtualGatewayListenerTls.h:133
Aws::AppMesh::Model::VirtualGatewayListenerTls::WithCertificate
VirtualGatewayListenerTls & WithCertificate(VirtualGatewayListenerTlsCertificate &&value)
Definition: VirtualGatewayListenerTls.h:71
Aws::AppMesh::Model::VirtualGatewayListenerTls::WithValidation
VirtualGatewayListenerTls & WithValidation(const VirtualGatewayListenerTlsValidationContext &value)
Definition: VirtualGatewayListenerTls.h:151
Aws::AppMesh::Model::VirtualGatewayListenerTls::SetMode
void SetMode(VirtualGatewayListenerTlsMode &&value)
Definition: VirtualGatewayListenerTls.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualGatewayListenerTls::WithValidation
VirtualGatewayListenerTls & WithValidation(VirtualGatewayListenerTlsValidationContext &&value)
Definition: VirtualGatewayListenerTls.h:157
Aws::AppMesh::Model::VirtualGatewayListenerTls
Definition: VirtualGatewayListenerTls.h:35
Aws::AppMesh::Model::VirtualGatewayListenerTls::WithMode
VirtualGatewayListenerTls & WithMode(const VirtualGatewayListenerTlsMode &value)
Definition: VirtualGatewayListenerTls.h:112
Aws::AppMesh::Model::VirtualGatewayListenerTls::GetMode
const VirtualGatewayListenerTlsMode & GetMode() const
Definition: VirtualGatewayListenerTls.h:80
Aws::AppMesh::Model::VirtualGatewayListenerTls::WithMode
VirtualGatewayListenerTls & WithMode(VirtualGatewayListenerTlsMode &&value)
Definition: VirtualGatewayListenerTls.h:120
Aws::AppMesh::Model::VirtualGatewayListenerTls::ModeHasBeenSet
bool ModeHasBeenSet() const
Definition: VirtualGatewayListenerTls.h:88
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::VirtualGatewayListenerTls::CertificateHasBeenSet
bool CertificateHasBeenSet() const
Definition: VirtualGatewayListenerTls.h:51