AWS SDK for C++  1.9.17
AWS SDK for C++
ClientTlsCertificate.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppMesh
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
42 
43  inline const ListenerTlsFileCertificate& GetFile() const{ return m_file; }
44 
45 
46  inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
47 
48 
49  inline void SetFile(const ListenerTlsFileCertificate& value) { m_fileHasBeenSet = true; m_file = value; }
50 
51 
52  inline void SetFile(ListenerTlsFileCertificate&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
53 
54 
55  inline ClientTlsCertificate& WithFile(const ListenerTlsFileCertificate& value) { SetFile(value); return *this;}
56 
57 
58  inline ClientTlsCertificate& WithFile(ListenerTlsFileCertificate&& value) { SetFile(std::move(value)); return *this;}
59 
60 
65  inline const ListenerTlsSdsCertificate& GetSds() const{ return m_sds; }
66 
71  inline bool SdsHasBeenSet() const { return m_sdsHasBeenSet; }
72 
77  inline void SetSds(const ListenerTlsSdsCertificate& value) { m_sdsHasBeenSet = true; m_sds = value; }
78 
83  inline void SetSds(ListenerTlsSdsCertificate&& value) { m_sdsHasBeenSet = true; m_sds = std::move(value); }
84 
89  inline ClientTlsCertificate& WithSds(const ListenerTlsSdsCertificate& value) { SetSds(value); return *this;}
90 
95  inline ClientTlsCertificate& WithSds(ListenerTlsSdsCertificate&& value) { SetSds(std::move(value)); return *this;}
96 
97  private:
98 
100  bool m_fileHasBeenSet;
101 
103  bool m_sdsHasBeenSet;
104  };
105 
106 } // namespace Model
107 } // namespace AppMesh
108 } // namespace Aws
Aws::AppMesh::Model::ClientTlsCertificate::SdsHasBeenSet
bool SdsHasBeenSet() const
Definition: ClientTlsCertificate.h:71
Aws::AppMesh::Model::ClientTlsCertificate::GetSds
const ListenerTlsSdsCertificate & GetSds() const
Definition: ClientTlsCertificate.h:65
Aws::AppMesh::Model::ClientTlsCertificate::ClientTlsCertificate
ClientTlsCertificate(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ClientTlsCertificate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::ClientTlsCertificate::SetSds
void SetSds(const ListenerTlsSdsCertificate &value)
Definition: ClientTlsCertificate.h:77
Aws::AppMesh::Model::ClientTlsCertificate::SetFile
void SetFile(ListenerTlsFileCertificate &&value)
Definition: ClientTlsCertificate.h:52
ListenerTlsSdsCertificate.h
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListenerTlsFileCertificate
Definition: ListenerTlsFileCertificate.h:36
Aws::AppMesh::Model::ClientTlsCertificate
Definition: ClientTlsCertificate.h:34
Aws::AppMesh::Model::ClientTlsCertificate::WithFile
ClientTlsCertificate & WithFile(ListenerTlsFileCertificate &&value)
Definition: ClientTlsCertificate.h:58
Aws::AppMesh::Model::ClientTlsCertificate::GetFile
const ListenerTlsFileCertificate & GetFile() const
Definition: ClientTlsCertificate.h:43
Aws::AppMesh::Model::ClientTlsCertificate::operator=
ClientTlsCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ClientTlsCertificate::WithSds
ClientTlsCertificate & WithSds(const ListenerTlsSdsCertificate &value)
Definition: ClientTlsCertificate.h:89
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::ClientTlsCertificate::WithFile
ClientTlsCertificate & WithFile(const ListenerTlsFileCertificate &value)
Definition: ClientTlsCertificate.h:55
ListenerTlsFileCertificate.h
Aws::AppMesh::Model::ClientTlsCertificate::SetFile
void SetFile(const ListenerTlsFileCertificate &value)
Definition: ClientTlsCertificate.h:49
Aws::AppMesh::Model::ClientTlsCertificate::FileHasBeenSet
bool FileHasBeenSet() const
Definition: ClientTlsCertificate.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ClientTlsCertificate::ClientTlsCertificate
ClientTlsCertificate()
Aws::AppMesh::Model::ListenerTlsSdsCertificate
Definition: ListenerTlsSdsCertificate.h:36
Aws::AppMesh::Model::ClientTlsCertificate::WithSds
ClientTlsCertificate & WithSds(ListenerTlsSdsCertificate &&value)
Definition: ClientTlsCertificate.h:95
Aws::AppMesh::Model::ClientTlsCertificate::SetSds
void SetSds(ListenerTlsSdsCertificate &&value)
Definition: ClientTlsCertificate.h:83
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28