AWS SDK for C++  1.9.71
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 
49  inline const ListenerTlsFileCertificate& GetFile() const{ return m_file; }
50 
58  inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
59 
67  inline void SetFile(const ListenerTlsFileCertificate& value) { m_fileHasBeenSet = true; m_file = value; }
68 
76  inline void SetFile(ListenerTlsFileCertificate&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
77 
85  inline ClientTlsCertificate& WithFile(const ListenerTlsFileCertificate& value) { SetFile(value); return *this;}
86 
94  inline ClientTlsCertificate& WithFile(ListenerTlsFileCertificate&& value) { SetFile(std::move(value)); return *this;}
95 
96 
101  inline const ListenerTlsSdsCertificate& GetSds() const{ return m_sds; }
102 
107  inline bool SdsHasBeenSet() const { return m_sdsHasBeenSet; }
108 
113  inline void SetSds(const ListenerTlsSdsCertificate& value) { m_sdsHasBeenSet = true; m_sds = value; }
114 
119  inline void SetSds(ListenerTlsSdsCertificate&& value) { m_sdsHasBeenSet = true; m_sds = std::move(value); }
120 
125  inline ClientTlsCertificate& WithSds(const ListenerTlsSdsCertificate& value) { SetSds(value); return *this;}
126 
131  inline ClientTlsCertificate& WithSds(ListenerTlsSdsCertificate&& value) { SetSds(std::move(value)); return *this;}
132 
133  private:
134 
136  bool m_fileHasBeenSet;
137 
139  bool m_sdsHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace AppMesh
144 } // namespace Aws
Aws::AppMesh::Model::ClientTlsCertificate::SdsHasBeenSet
bool SdsHasBeenSet() const
Definition: ClientTlsCertificate.h:107
Aws::AppMesh::Model::ClientTlsCertificate::GetSds
const ListenerTlsSdsCertificate & GetSds() const
Definition: ClientTlsCertificate.h:101
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:113
Aws::AppMesh::Model::ClientTlsCertificate::SetFile
void SetFile(ListenerTlsFileCertificate &&value)
Definition: ClientTlsCertificate.h:76
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:94
Aws::AppMesh::Model::ClientTlsCertificate::GetFile
const ListenerTlsFileCertificate & GetFile() const
Definition: ClientTlsCertificate.h:49
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:125
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:85
ListenerTlsFileCertificate.h
Aws::AppMesh::Model::ClientTlsCertificate::SetFile
void SetFile(const ListenerTlsFileCertificate &value)
Definition: ClientTlsCertificate.h:67
Aws::AppMesh::Model::ClientTlsCertificate::FileHasBeenSet
bool FileHasBeenSet() const
Definition: ClientTlsCertificate.h:58
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:131
Aws::AppMesh::Model::ClientTlsCertificate::SetSds
void SetSds(ListenerTlsSdsCertificate &&value)
Definition: ClientTlsCertificate.h:119
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28