AWS SDK for C++  1.9.125
AWS SDK for C++
VirtualGatewayListenerTlsFileCertificate.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 VirtualGatewayListenerTlsFileCertificate& WithCertificateChain(const Aws::String& value) { SetCertificateChain(value); return *this;}
73 
77  inline VirtualGatewayListenerTlsFileCertificate& WithCertificateChain(Aws::String&& value) { SetCertificateChain(std::move(value)); return *this;}
78 
82  inline VirtualGatewayListenerTlsFileCertificate& 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 VirtualGatewayListenerTlsFileCertificate& WithPrivateKey(const Aws::String& value) { SetPrivateKey(value); return *this;}
120 
125  inline VirtualGatewayListenerTlsFileCertificate& WithPrivateKey(Aws::String&& value) { SetPrivateKey(std::move(value)); return *this;}
126 
131  inline VirtualGatewayListenerTlsFileCertificate& 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::VirtualGatewayListenerTlsFileCertificate::WithCertificateChain
VirtualGatewayListenerTlsFileCertificate & WithCertificateChain(const char *value)
Definition: VirtualGatewayListenerTlsFileCertificate.h:82
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::CertificateChainHasBeenSet
bool CertificateChainHasBeenSet() const
Definition: VirtualGatewayListenerTlsFileCertificate.h:52
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::SetPrivateKey
void SetPrivateKey(const char *value)
Definition: VirtualGatewayListenerTlsFileCertificate.h:113
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::operator=
VirtualGatewayListenerTlsFileCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::SetPrivateKey
void SetPrivateKey(Aws::String &&value)
Definition: VirtualGatewayListenerTlsFileCertificate.h:107
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::SetCertificateChain
void SetCertificateChain(const char *value)
Definition: VirtualGatewayListenerTlsFileCertificate.h:67
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::GetPrivateKey
const Aws::String & GetPrivateKey() const
Definition: VirtualGatewayListenerTlsFileCertificate.h:89
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::SetCertificateChain
void SetCertificateChain(const Aws::String &value)
Definition: VirtualGatewayListenerTlsFileCertificate.h:57
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::WithPrivateKey
VirtualGatewayListenerTlsFileCertificate & WithPrivateKey(const Aws::String &value)
Definition: VirtualGatewayListenerTlsFileCertificate.h:119
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::VirtualGatewayListenerTlsFileCertificate
VirtualGatewayListenerTlsFileCertificate()
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::SetPrivateKey
void SetPrivateKey(const Aws::String &value)
Definition: VirtualGatewayListenerTlsFileCertificate.h:101
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::WithPrivateKey
VirtualGatewayListenerTlsFileCertificate & WithPrivateKey(Aws::String &&value)
Definition: VirtualGatewayListenerTlsFileCertificate.h:125
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::SetCertificateChain
void SetCertificateChain(Aws::String &&value)
Definition: VirtualGatewayListenerTlsFileCertificate.h:62
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::WithCertificateChain
VirtualGatewayListenerTlsFileCertificate & WithCertificateChain(const Aws::String &value)
Definition: VirtualGatewayListenerTlsFileCertificate.h:72
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate
Definition: VirtualGatewayListenerTlsFileCertificate.h:36
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::PrivateKeyHasBeenSet
bool PrivateKeyHasBeenSet() const
Definition: VirtualGatewayListenerTlsFileCertificate.h:95
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::GetCertificateChain
const Aws::String & GetCertificateChain() const
Definition: VirtualGatewayListenerTlsFileCertificate.h:47
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::VirtualGatewayListenerTlsFileCertificate::VirtualGatewayListenerTlsFileCertificate
VirtualGatewayListenerTlsFileCertificate(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::WithCertificateChain
VirtualGatewayListenerTlsFileCertificate & WithCertificateChain(Aws::String &&value)
Definition: VirtualGatewayListenerTlsFileCertificate.h:77
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualGatewayListenerTlsFileCertificate::WithPrivateKey
VirtualGatewayListenerTlsFileCertificate & WithPrivateKey(const char *value)
Definition: VirtualGatewayListenerTlsFileCertificate.h:131