AWS SDK for C++  1.9.123
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 
49  inline const VirtualGatewayListenerTlsFileCertificate& GetFile() const{ return m_file; }
50 
58  inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
59 
67  inline void SetFile(const VirtualGatewayListenerTlsFileCertificate& value) { m_fileHasBeenSet = true; m_file = value; }
68 
76  inline void SetFile(VirtualGatewayListenerTlsFileCertificate&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
77 
85  inline VirtualGatewayClientTlsCertificate& WithFile(const VirtualGatewayListenerTlsFileCertificate& value) { SetFile(value); return *this;}
86 
94  inline VirtualGatewayClientTlsCertificate& WithFile(VirtualGatewayListenerTlsFileCertificate&& value) { SetFile(std::move(value)); return *this;}
95 
96 
101  inline const VirtualGatewayListenerTlsSdsCertificate& GetSds() const{ return m_sds; }
102 
107  inline bool SdsHasBeenSet() const { return m_sdsHasBeenSet; }
108 
113  inline void SetSds(const VirtualGatewayListenerTlsSdsCertificate& value) { m_sdsHasBeenSet = true; m_sds = value; }
114 
119  inline void SetSds(VirtualGatewayListenerTlsSdsCertificate&& value) { m_sdsHasBeenSet = true; m_sds = std::move(value); }
120 
125  inline VirtualGatewayClientTlsCertificate& WithSds(const VirtualGatewayListenerTlsSdsCertificate& value) { SetSds(value); return *this;}
126 
131  inline VirtualGatewayClientTlsCertificate& WithSds(VirtualGatewayListenerTlsSdsCertificate&& 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::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:49
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::operator=
VirtualGatewayClientTlsCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::SetFile
void SetFile(VirtualGatewayListenerTlsFileCertificate &&value)
Definition: VirtualGatewayClientTlsCertificate.h:76
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::WithFile
VirtualGatewayClientTlsCertificate & WithFile(const VirtualGatewayListenerTlsFileCertificate &value)
Definition: VirtualGatewayClientTlsCertificate.h:85
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::SetFile
void SetFile(const VirtualGatewayListenerTlsFileCertificate &value)
Definition: VirtualGatewayClientTlsCertificate.h:67
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::WithFile
VirtualGatewayClientTlsCertificate & WithFile(VirtualGatewayListenerTlsFileCertificate &&value)
Definition: VirtualGatewayClientTlsCertificate.h:94
AppMesh_EXPORTS.h
VirtualGatewayListenerTlsFileCertificate.h
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::SetSds
void SetSds(const VirtualGatewayListenerTlsSdsCertificate &value)
Definition: VirtualGatewayClientTlsCertificate.h:113
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::GetSds
const VirtualGatewayListenerTlsSdsCertificate & GetSds() const
Definition: VirtualGatewayClientTlsCertificate.h:101
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::WithSds
VirtualGatewayClientTlsCertificate & WithSds(VirtualGatewayListenerTlsSdsCertificate &&value)
Definition: VirtualGatewayClientTlsCertificate.h:131
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::SetSds
void SetSds(VirtualGatewayListenerTlsSdsCertificate &&value)
Definition: VirtualGatewayClientTlsCertificate.h:119
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
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:107
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::WithSds
VirtualGatewayClientTlsCertificate & WithSds(const VirtualGatewayListenerTlsSdsCertificate &value)
Definition: VirtualGatewayClientTlsCertificate.h:125
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate
Definition: VirtualGatewayClientTlsCertificate.h:34
Aws::AppMesh::Model::VirtualGatewayClientTlsCertificate::FileHasBeenSet
bool FileHasBeenSet() const
Definition: VirtualGatewayClientTlsCertificate.h:58
VirtualGatewayListenerTlsSdsCertificate.h
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28