AWS SDK for C++  1.9.131
AWS SDK for C++
ListenerTlsCertificate.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 ListenerTlsAcmCertificate& GetAcm() const{ return m_acm; }
48 
53  inline bool AcmHasBeenSet() const { return m_acmHasBeenSet; }
54 
59  inline void SetAcm(const ListenerTlsAcmCertificate& value) { m_acmHasBeenSet = true; m_acm = value; }
60 
65  inline void SetAcm(ListenerTlsAcmCertificate&& value) { m_acmHasBeenSet = true; m_acm = std::move(value); }
66 
71  inline ListenerTlsCertificate& WithAcm(const ListenerTlsAcmCertificate& value) { SetAcm(value); return *this;}
72 
77  inline ListenerTlsCertificate& WithAcm(ListenerTlsAcmCertificate&& value) { SetAcm(std::move(value)); return *this;}
78 
79 
83  inline const ListenerTlsFileCertificate& GetFile() const{ return m_file; }
84 
88  inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
89 
93  inline void SetFile(const ListenerTlsFileCertificate& value) { m_fileHasBeenSet = true; m_file = value; }
94 
98  inline void SetFile(ListenerTlsFileCertificate&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
99 
103  inline ListenerTlsCertificate& WithFile(const ListenerTlsFileCertificate& value) { SetFile(value); return *this;}
104 
108  inline ListenerTlsCertificate& WithFile(ListenerTlsFileCertificate&& value) { SetFile(std::move(value)); return *this;}
109 
110 
115  inline const ListenerTlsSdsCertificate& GetSds() const{ return m_sds; }
116 
121  inline bool SdsHasBeenSet() const { return m_sdsHasBeenSet; }
122 
127  inline void SetSds(const ListenerTlsSdsCertificate& value) { m_sdsHasBeenSet = true; m_sds = value; }
128 
133  inline void SetSds(ListenerTlsSdsCertificate&& value) { m_sdsHasBeenSet = true; m_sds = std::move(value); }
134 
139  inline ListenerTlsCertificate& WithSds(const ListenerTlsSdsCertificate& value) { SetSds(value); return *this;}
140 
145  inline ListenerTlsCertificate& WithSds(ListenerTlsSdsCertificate&& value) { SetSds(std::move(value)); return *this;}
146 
147  private:
148 
150  bool m_acmHasBeenSet;
151 
153  bool m_fileHasBeenSet;
154 
156  bool m_sdsHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace AppMesh
161 } // namespace Aws
ListenerTlsAcmCertificate.h
Aws::AppMesh::Model::ListenerTlsCertificate::SetAcm
void SetAcm(ListenerTlsAcmCertificate &&value)
Definition: ListenerTlsCertificate.h:65
Aws::AppMesh::Model::ListenerTlsCertificate::FileHasBeenSet
bool FileHasBeenSet() const
Definition: ListenerTlsCertificate.h:88
ListenerTlsSdsCertificate.h
Aws::AppMesh::Model::ListenerTlsCertificate::GetSds
const ListenerTlsSdsCertificate & GetSds() const
Definition: ListenerTlsCertificate.h:115
Aws::AppMesh::Model::ListenerTlsCertificate::WithFile
ListenerTlsCertificate & WithFile(ListenerTlsFileCertificate &&value)
Definition: ListenerTlsCertificate.h:108
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListenerTlsCertificate::SetSds
void SetSds(const ListenerTlsSdsCertificate &value)
Definition: ListenerTlsCertificate.h:127
Aws::AppMesh::Model::ListenerTlsFileCertificate
Definition: ListenerTlsFileCertificate.h:36
Aws::AppMesh::Model::ListenerTlsCertificate::GetAcm
const ListenerTlsAcmCertificate & GetAcm() const
Definition: ListenerTlsCertificate.h:47
Aws::AppMesh::Model::ListenerTlsCertificate::AcmHasBeenSet
bool AcmHasBeenSet() const
Definition: ListenerTlsCertificate.h:53
Aws::AppMesh::Model::ListenerTlsCertificate::ListenerTlsCertificate
ListenerTlsCertificate(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ListenerTlsCertificate::WithSds
ListenerTlsCertificate & WithSds(ListenerTlsSdsCertificate &&value)
Definition: ListenerTlsCertificate.h:145
Aws::AppMesh::Model::ListenerTlsAcmCertificate
Definition: ListenerTlsAcmCertificate.h:33
Aws::AppMesh::Model::ListenerTlsCertificate::SetAcm
void SetAcm(const ListenerTlsAcmCertificate &value)
Definition: ListenerTlsCertificate.h:59
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::ListenerTlsCertificate::SetSds
void SetSds(ListenerTlsSdsCertificate &&value)
Definition: ListenerTlsCertificate.h:133
Aws::AppMesh::Model::ListenerTlsCertificate::WithAcm
ListenerTlsCertificate & WithAcm(const ListenerTlsAcmCertificate &value)
Definition: ListenerTlsCertificate.h:71
Aws::AppMesh::Model::ListenerTlsCertificate::SetFile
void SetFile(const ListenerTlsFileCertificate &value)
Definition: ListenerTlsCertificate.h:93
Aws::AppMesh::Model::ListenerTlsCertificate::SdsHasBeenSet
bool SdsHasBeenSet() const
Definition: ListenerTlsCertificate.h:121
Aws::AppMesh::Model::ListenerTlsCertificate::WithSds
ListenerTlsCertificate & WithSds(const ListenerTlsSdsCertificate &value)
Definition: ListenerTlsCertificate.h:139
Aws::AppMesh::Model::ListenerTlsCertificate::WithFile
ListenerTlsCertificate & WithFile(const ListenerTlsFileCertificate &value)
Definition: ListenerTlsCertificate.h:103
ListenerTlsFileCertificate.h
Aws::AppMesh::Model::ListenerTlsCertificate::operator=
ListenerTlsCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ListenerTlsCertificate::GetFile
const ListenerTlsFileCertificate & GetFile() const
Definition: ListenerTlsCertificate.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListenerTlsCertificate::WithAcm
ListenerTlsCertificate & WithAcm(ListenerTlsAcmCertificate &&value)
Definition: ListenerTlsCertificate.h:77
Aws::AppMesh::Model::ListenerTlsSdsCertificate
Definition: ListenerTlsSdsCertificate.h:36
Aws::AppMesh::Model::ListenerTlsCertificate::SetFile
void SetFile(ListenerTlsFileCertificate &&value)
Definition: ListenerTlsCertificate.h:98
Aws::AppMesh::Model::ListenerTlsCertificate::ListenerTlsCertificate
ListenerTlsCertificate()
Aws::AppMesh::Model::ListenerTlsCertificate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::ListenerTlsCertificate
Definition: ListenerTlsCertificate.h:35