AWS SDK for C++  1.9.123
AWS SDK for C++
ListenerTls.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 
47  inline const ListenerTlsCertificate& GetCertificate() const{ return m_certificate; }
48 
53  inline bool CertificateHasBeenSet() const { return m_certificateHasBeenSet; }
54 
59  inline void SetCertificate(const ListenerTlsCertificate& value) { m_certificateHasBeenSet = true; m_certificate = value; }
60 
65  inline void SetCertificate(ListenerTlsCertificate&& value) { m_certificateHasBeenSet = true; m_certificate = std::move(value); }
66 
71  inline ListenerTls& WithCertificate(const ListenerTlsCertificate& value) { SetCertificate(value); return *this;}
72 
77  inline ListenerTls& WithCertificate(ListenerTlsCertificate&& value) { SetCertificate(std::move(value)); return *this;}
78 
79 
86  inline const ListenerTlsMode& GetMode() const{ return m_mode; }
87 
94  inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
95 
102  inline void SetMode(const ListenerTlsMode& value) { m_modeHasBeenSet = true; m_mode = value; }
103 
110  inline void SetMode(ListenerTlsMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
111 
118  inline ListenerTls& WithMode(const ListenerTlsMode& value) { SetMode(value); return *this;}
119 
126  inline ListenerTls& WithMode(ListenerTlsMode&& value) { SetMode(std::move(value)); return *this;}
127 
128 
133  inline const ListenerTlsValidationContext& GetValidation() const{ return m_validation; }
134 
139  inline bool ValidationHasBeenSet() const { return m_validationHasBeenSet; }
140 
145  inline void SetValidation(const ListenerTlsValidationContext& value) { m_validationHasBeenSet = true; m_validation = value; }
146 
151  inline void SetValidation(ListenerTlsValidationContext&& value) { m_validationHasBeenSet = true; m_validation = std::move(value); }
152 
157  inline ListenerTls& WithValidation(const ListenerTlsValidationContext& value) { SetValidation(value); return *this;}
158 
163  inline ListenerTls& WithValidation(ListenerTlsValidationContext&& value) { SetValidation(std::move(value)); return *this;}
164 
165  private:
166 
167  ListenerTlsCertificate m_certificate;
168  bool m_certificateHasBeenSet;
169 
170  ListenerTlsMode m_mode;
171  bool m_modeHasBeenSet;
172 
173  ListenerTlsValidationContext m_validation;
174  bool m_validationHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace AppMesh
179 } // namespace Aws
Aws::AppMesh::Model::ListenerTls::ModeHasBeenSet
bool ModeHasBeenSet() const
Definition: ListenerTls.h:94
Aws::AppMesh::Model::ListenerTls::SetMode
void SetMode(ListenerTlsMode &&value)
Definition: ListenerTls.h:110
Aws::AppMesh::Model::ListenerTls::WithValidation
ListenerTls & WithValidation(ListenerTlsValidationContext &&value)
Definition: ListenerTls.h:163
Aws::AppMesh::Model::ListenerTls::ListenerTls
ListenerTls()
Aws::AppMesh::Model::ListenerTls::SetMode
void SetMode(const ListenerTlsMode &value)
Definition: ListenerTls.h:102
Aws::AppMesh::Model::ListenerTls::WithCertificate
ListenerTls & WithCertificate(ListenerTlsCertificate &&value)
Definition: ListenerTls.h:77
ListenerTlsMode.h
ListenerTlsCertificate.h
Aws::AppMesh::Model::ListenerTls::WithCertificate
ListenerTls & WithCertificate(const ListenerTlsCertificate &value)
Definition: ListenerTls.h:71
Aws::AppMesh::Model::ListenerTls::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
ListenerTlsValidationContext.h
Aws::AppMesh::Model::ListenerTls::ListenerTls
ListenerTls(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ListenerTls::WithValidation
ListenerTls & WithValidation(const ListenerTlsValidationContext &value)
Definition: ListenerTls.h:157
Aws::AppMesh::Model::ListenerTls::SetCertificate
void SetCertificate(const ListenerTlsCertificate &value)
Definition: ListenerTls.h:59
Aws::AppMesh::Model::ListenerTls::GetMode
const ListenerTlsMode & GetMode() const
Definition: ListenerTls.h:86
Aws::AppMesh::Model::ListenerTls::operator=
ListenerTls & operator=(Aws::Utils::Json::JsonView jsonValue)
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListenerTls::GetCertificate
const ListenerTlsCertificate & GetCertificate() const
Definition: ListenerTls.h:47
Aws::AppMesh::Model::ListenerTls::CertificateHasBeenSet
bool CertificateHasBeenSet() const
Definition: ListenerTls.h:53
Aws::AppMesh::Model::ListenerTls::WithMode
ListenerTls & WithMode(ListenerTlsMode &&value)
Definition: ListenerTls.h:126
Aws::AppMesh::Model::ListenerTls::SetValidation
void SetValidation(ListenerTlsValidationContext &&value)
Definition: ListenerTls.h:151
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::ListenerTls::ValidationHasBeenSet
bool ValidationHasBeenSet() const
Definition: ListenerTls.h:139
Aws::AppMesh::Model::ListenerTls
Definition: ListenerTls.h:35
Aws::AppMesh::Model::ListenerTlsValidationContext
Definition: ListenerTlsValidationContext.h:34
Aws::AppMesh::Model::ListenerTls::SetCertificate
void SetCertificate(ListenerTlsCertificate &&value)
Definition: ListenerTls.h:65
Aws::AppMesh::Model::ListenerTls::WithMode
ListenerTls & WithMode(const ListenerTlsMode &value)
Definition: ListenerTls.h:118
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListenerTls::SetValidation
void SetValidation(const ListenerTlsValidationContext &value)
Definition: ListenerTls.h:145
Aws::AppMesh::Model::ListenerTls::GetValidation
const ListenerTlsValidationContext & GetValidation() const
Definition: ListenerTls.h:133
Aws::AppMesh::Model::ListenerTlsMode
ListenerTlsMode
Definition: ListenerTlsMode.h:17
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::ListenerTlsCertificate
Definition: ListenerTlsCertificate.h:35