AWS SDK for C++  1.9.104
AWS SDK for C++
ListenerTlsFileCertificate.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppMesh
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetCertificateChain() const{ return m_certificateChain; }
48 
52  inline bool CertificateChainHasBeenSet() const { return m_certificateChainHasBeenSet; }
53 
57  inline void SetCertificateChain(const Aws::String& value) { m_certificateChainHasBeenSet = true; m_certificateChain = value; }
58 
62  inline void SetCertificateChain(Aws::String&& value) { m_certificateChainHasBeenSet = true; m_certificateChain = std::move(value); }
63 
67  inline void SetCertificateChain(const char* value) { m_certificateChainHasBeenSet = true; m_certificateChain.assign(value); }
68 
72  inline ListenerTlsFileCertificate& WithCertificateChain(const Aws::String& value) { SetCertificateChain(value); return *this;}
73 
77  inline ListenerTlsFileCertificate& WithCertificateChain(Aws::String&& value) { SetCertificateChain(std::move(value)); return *this;}
78 
82  inline ListenerTlsFileCertificate& WithCertificateChain(const char* value) { SetCertificateChain(value); return *this;}
83 
84 
89  inline const Aws::String& GetPrivateKey() const{ return m_privateKey; }
90 
95  inline bool PrivateKeyHasBeenSet() const { return m_privateKeyHasBeenSet; }
96 
101  inline void SetPrivateKey(const Aws::String& value) { m_privateKeyHasBeenSet = true; m_privateKey = value; }
102 
107  inline void SetPrivateKey(Aws::String&& value) { m_privateKeyHasBeenSet = true; m_privateKey = std::move(value); }
108 
113  inline void SetPrivateKey(const char* value) { m_privateKeyHasBeenSet = true; m_privateKey.assign(value); }
114 
119  inline ListenerTlsFileCertificate& WithPrivateKey(const Aws::String& value) { SetPrivateKey(value); return *this;}
120 
125  inline ListenerTlsFileCertificate& WithPrivateKey(Aws::String&& value) { SetPrivateKey(std::move(value)); return *this;}
126 
131  inline ListenerTlsFileCertificate& WithPrivateKey(const char* value) { SetPrivateKey(value); return *this;}
132 
133  private:
134 
135  Aws::String m_certificateChain;
136  bool m_certificateChainHasBeenSet;
137 
138  Aws::String m_privateKey;
139  bool m_privateKeyHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace AppMesh
144 } // namespace Aws
Aws::AppMesh::Model::ListenerTlsFileCertificate::PrivateKeyHasBeenSet
bool PrivateKeyHasBeenSet() const
Definition: ListenerTlsFileCertificate.h:95
Aws::AppMesh::Model::ListenerTlsFileCertificate::CertificateChainHasBeenSet
bool CertificateChainHasBeenSet() const
Definition: ListenerTlsFileCertificate.h:52
Aws::AppMesh::Model::ListenerTlsFileCertificate::SetPrivateKey
void SetPrivateKey(const char *value)
Definition: ListenerTlsFileCertificate.h:113
Aws::AppMesh::Model::ListenerTlsFileCertificate::WithCertificateChain
ListenerTlsFileCertificate & WithCertificateChain(const Aws::String &value)
Definition: ListenerTlsFileCertificate.h:72
Aws::AppMesh::Model::ListenerTlsFileCertificate::SetPrivateKey
void SetPrivateKey(Aws::String &&value)
Definition: ListenerTlsFileCertificate.h:107
Aws::AppMesh::Model::ListenerTlsFileCertificate::GetCertificateChain
const Aws::String & GetCertificateChain() const
Definition: ListenerTlsFileCertificate.h:47
Aws::AppMesh::Model::ListenerTlsFileCertificate::WithCertificateChain
ListenerTlsFileCertificate & WithCertificateChain(const char *value)
Definition: ListenerTlsFileCertificate.h:82
Aws::AppMesh::Model::ListenerTlsFileCertificate::WithPrivateKey
ListenerTlsFileCertificate & WithPrivateKey(const char *value)
Definition: ListenerTlsFileCertificate.h:131
Aws::AppMesh::Model::ListenerTlsFileCertificate::operator=
ListenerTlsFileCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListenerTlsFileCertificate
Definition: ListenerTlsFileCertificate.h:36
Aws::AppMesh::Model::ListenerTlsFileCertificate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::ListenerTlsFileCertificate::SetPrivateKey
void SetPrivateKey(const Aws::String &value)
Definition: ListenerTlsFileCertificate.h:101
Aws::AppMesh::Model::ListenerTlsFileCertificate::ListenerTlsFileCertificate
ListenerTlsFileCertificate(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ListenerTlsFileCertificate::WithPrivateKey
ListenerTlsFileCertificate & WithPrivateKey(const Aws::String &value)
Definition: ListenerTlsFileCertificate.h:119
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AppMesh::Model::ListenerTlsFileCertificate::SetCertificateChain
void SetCertificateChain(Aws::String &&value)
Definition: ListenerTlsFileCertificate.h:62
AWSString.h
Aws::AppMesh::Model::ListenerTlsFileCertificate::ListenerTlsFileCertificate
ListenerTlsFileCertificate()
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::ListenerTlsFileCertificate::WithPrivateKey
ListenerTlsFileCertificate & WithPrivateKey(Aws::String &&value)
Definition: ListenerTlsFileCertificate.h:125
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::ListenerTlsFileCertificate::GetPrivateKey
const Aws::String & GetPrivateKey() const
Definition: ListenerTlsFileCertificate.h:89
Aws::AppMesh::Model::ListenerTlsFileCertificate::SetCertificateChain
void SetCertificateChain(const Aws::String &value)
Definition: ListenerTlsFileCertificate.h:57
Aws::AppMesh::Model::ListenerTlsFileCertificate::SetCertificateChain
void SetCertificateChain(const char *value)
Definition: ListenerTlsFileCertificate.h:67
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::ListenerTlsFileCertificate::WithCertificateChain
ListenerTlsFileCertificate & WithCertificateChain(Aws::String &&value)
Definition: ListenerTlsFileCertificate.h:77