AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClientTlsCertificate.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/ListenerTlsFileCertificate.h>
9#include <aws/appmesh/model/ListenerTlsSdsCertificate.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppMesh
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPMESH_API ClientTlsCertificate();
39 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const ListenerTlsFileCertificate& GetFile() const{ return m_file; }
51 inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
52 inline void SetFile(const ListenerTlsFileCertificate& value) { m_fileHasBeenSet = true; m_file = value; }
53 inline void SetFile(ListenerTlsFileCertificate&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
54 inline ClientTlsCertificate& WithFile(const ListenerTlsFileCertificate& value) { SetFile(value); return *this;}
55 inline ClientTlsCertificate& WithFile(ListenerTlsFileCertificate&& value) { SetFile(std::move(value)); return *this;}
57
59
63 inline const ListenerTlsSdsCertificate& GetSds() const{ return m_sds; }
64 inline bool SdsHasBeenSet() const { return m_sdsHasBeenSet; }
65 inline void SetSds(const ListenerTlsSdsCertificate& value) { m_sdsHasBeenSet = true; m_sds = value; }
66 inline void SetSds(ListenerTlsSdsCertificate&& value) { m_sdsHasBeenSet = true; m_sds = std::move(value); }
67 inline ClientTlsCertificate& WithSds(const ListenerTlsSdsCertificate& value) { SetSds(value); return *this;}
68 inline ClientTlsCertificate& WithSds(ListenerTlsSdsCertificate&& value) { SetSds(std::move(value)); return *this;}
70 private:
71
73 bool m_fileHasBeenSet = false;
74
76 bool m_sdsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace AppMesh
81} // namespace Aws
ClientTlsCertificate & WithSds(ListenerTlsSdsCertificate &&value)
ClientTlsCertificate & WithSds(const ListenerTlsSdsCertificate &value)
ClientTlsCertificate & WithFile(const ListenerTlsFileCertificate &value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
const ListenerTlsFileCertificate & GetFile() const
void SetFile(const ListenerTlsFileCertificate &value)
AWS_APPMESH_API ClientTlsCertificate(Aws::Utils::Json::JsonView jsonValue)
ClientTlsCertificate & WithFile(ListenerTlsFileCertificate &&value)
void SetSds(ListenerTlsSdsCertificate &&value)
void SetSds(const ListenerTlsSdsCertificate &value)
AWS_APPMESH_API ClientTlsCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
const ListenerTlsSdsCertificate & GetSds() const
void SetFile(ListenerTlsFileCertificate &&value)
Aws::Utils::Json::JsonValue JsonValue