AWS SDK for C++  1.9.14
AWS SDK for C++
VirtualGatewayClientTlsCertificate.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 VirtualGatewayListenerTlsFileCertificate& GetFile() const{ return m_file; }
44 
45 
46  inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
47 
48 
49  inline void SetFile(const VirtualGatewayListenerTlsFileCertificate& value) { m_fileHasBeenSet = true; m_file = value; }
50 
51 
52  inline void SetFile(VirtualGatewayListenerTlsFileCertificate&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
53 
54 
55  inline VirtualGatewayClientTlsCertificate& WithFile(const VirtualGatewayListenerTlsFileCertificate& value) { SetFile(value); return *this;}
56 
57 
58  inline VirtualGatewayClientTlsCertificate& WithFile(VirtualGatewayListenerTlsFileCertificate&& value) { SetFile(std::move(value)); return *this;}
59 
60 
65  inline const VirtualGatewayListenerTlsSdsCertificate& GetSds() const{ return m_sds; }
66 
71  inline bool SdsHasBeenSet() const { return m_sdsHasBeenSet; }
72 
77  inline void SetSds(const VirtualGatewayListenerTlsSdsCertificate& value) { m_sdsHasBeenSet = true; m_sds = value; }
78 
83  inline void SetSds(VirtualGatewayListenerTlsSdsCertificate&& value) { m_sdsHasBeenSet = true; m_sds = std::move(value); }
84 
89  inline VirtualGatewayClientTlsCertificate& WithSds(const VirtualGatewayListenerTlsSdsCertificate& value) { SetSds(value); return *this;}
90 
95  inline VirtualGatewayClientTlsCertificate& WithSds(VirtualGatewayListenerTlsSdsCertificate&& 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::VirtualGatewayClientTlsCertificate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::VirtualGatewayClientTlsCertificate
VirtualGatewayClientTlsCertificate()
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::GetFile
const VirtualGatewayListenerTlsFileCertificate & GetFile() const
Definition: VirtualGatewayClientTlsCertificate.h:43
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::operator=
VirtualGatewayClientTlsCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::SetFile
void SetFile(VirtualGatewayListenerTlsFileCertificate &&value)
Definition: VirtualGatewayClientTlsCertificate.h:52
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::WithFile
VirtualGatewayClientTlsCertificate & WithFile(const VirtualGatewayListenerTlsFileCertificate &value)
Definition: VirtualGatewayClientTlsCertificate.h:55
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::SetFile
void SetFile(const VirtualGatewayListenerTlsFileCertificate &value)
Definition: VirtualGatewayClientTlsCertificate.h:49
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::WithFile
VirtualGatewayClientTlsCertificate & WithFile(VirtualGatewayListenerTlsFileCertificate &&value)
Definition: VirtualGatewayClientTlsCertificate.h:58
AppMesh_EXPORTS.h
VirtualGatewayListenerTlsFileCertificate.h
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::SetSds
void SetSds(const VirtualGatewayListenerTlsSdsCertificate &value)
Definition: VirtualGatewayClientTlsCertificate.h:77
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::GetSds
const VirtualGatewayListenerTlsSdsCertificate & GetSds() const
Definition: VirtualGatewayClientTlsCertificate.h:65
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::WithSds
VirtualGatewayClientTlsCertificate & WithSds(VirtualGatewayListenerTlsSdsCertificate &&value)
Definition: VirtualGatewayClientTlsCertificate.h:95
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::SetSds
void SetSds(VirtualGatewayListenerTlsSdsCertificate &&value)
Definition: VirtualGatewayClientTlsCertificate.h:83
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::VirtualGatewayListenerTlsSdsCertificate
Definition: VirtualGatewayListenerTlsSdsCertificate.h:36
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate
Definition: VirtualGatewayListenerTlsFileCertificate.h:36
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::VirtualGatewayClientTlsCertificate
VirtualGatewayClientTlsCertificate(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::SdsHasBeenSet
bool SdsHasBeenSet() const
Definition: VirtualGatewayClientTlsCertificate.h:71
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::WithSds
VirtualGatewayClientTlsCertificate & WithSds(const VirtualGatewayListenerTlsSdsCertificate &value)
Definition: VirtualGatewayClientTlsCertificate.h:89
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate
Definition: VirtualGatewayClientTlsCertificate.h:34
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::FileHasBeenSet
bool FileHasBeenSet() const
Definition: VirtualGatewayClientTlsCertificate.h:46
VirtualGatewayListenerTlsSdsCertificate.h
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28