AWS SDK for C++  1.9.108
AWS SDK for C++
SslConfiguration.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 OpsWorks
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetCertificate() const{ return m_certificate; }
44 
48  inline bool CertificateHasBeenSet() const { return m_certificateHasBeenSet; }
49 
53  inline void SetCertificate(const Aws::String& value) { m_certificateHasBeenSet = true; m_certificate = value; }
54 
58  inline void SetCertificate(Aws::String&& value) { m_certificateHasBeenSet = true; m_certificate = std::move(value); }
59 
63  inline void SetCertificate(const char* value) { m_certificateHasBeenSet = true; m_certificate.assign(value); }
64 
68  inline SslConfiguration& WithCertificate(const Aws::String& value) { SetCertificate(value); return *this;}
69 
73  inline SslConfiguration& WithCertificate(Aws::String&& value) { SetCertificate(std::move(value)); return *this;}
74 
78  inline SslConfiguration& WithCertificate(const char* value) { SetCertificate(value); return *this;}
79 
80 
84  inline const Aws::String& GetPrivateKey() const{ return m_privateKey; }
85 
89  inline bool PrivateKeyHasBeenSet() const { return m_privateKeyHasBeenSet; }
90 
94  inline void SetPrivateKey(const Aws::String& value) { m_privateKeyHasBeenSet = true; m_privateKey = value; }
95 
99  inline void SetPrivateKey(Aws::String&& value) { m_privateKeyHasBeenSet = true; m_privateKey = std::move(value); }
100 
104  inline void SetPrivateKey(const char* value) { m_privateKeyHasBeenSet = true; m_privateKey.assign(value); }
105 
109  inline SslConfiguration& WithPrivateKey(const Aws::String& value) { SetPrivateKey(value); return *this;}
110 
114  inline SslConfiguration& WithPrivateKey(Aws::String&& value) { SetPrivateKey(std::move(value)); return *this;}
115 
119  inline SslConfiguration& WithPrivateKey(const char* value) { SetPrivateKey(value); return *this;}
120 
121 
126  inline const Aws::String& GetChain() const{ return m_chain; }
127 
132  inline bool ChainHasBeenSet() const { return m_chainHasBeenSet; }
133 
138  inline void SetChain(const Aws::String& value) { m_chainHasBeenSet = true; m_chain = value; }
139 
144  inline void SetChain(Aws::String&& value) { m_chainHasBeenSet = true; m_chain = std::move(value); }
145 
150  inline void SetChain(const char* value) { m_chainHasBeenSet = true; m_chain.assign(value); }
151 
156  inline SslConfiguration& WithChain(const Aws::String& value) { SetChain(value); return *this;}
157 
162  inline SslConfiguration& WithChain(Aws::String&& value) { SetChain(std::move(value)); return *this;}
163 
168  inline SslConfiguration& WithChain(const char* value) { SetChain(value); return *this;}
169 
170  private:
171 
172  Aws::String m_certificate;
173  bool m_certificateHasBeenSet;
174 
175  Aws::String m_privateKey;
176  bool m_privateKeyHasBeenSet;
177 
178  Aws::String m_chain;
179  bool m_chainHasBeenSet;
180  };
181 
182 } // namespace Model
183 } // namespace OpsWorks
184 } // namespace Aws
Aws::OpsWorks::Model::SslConfiguration::WithCertificate
SslConfiguration & WithCertificate(const Aws::String &value)
Definition: SslConfiguration.h:68
Aws::OpsWorks::Model::SslConfiguration::ChainHasBeenSet
bool ChainHasBeenSet() const
Definition: SslConfiguration.h:132
Aws::OpsWorks::Model::SslConfiguration::CertificateHasBeenSet
bool CertificateHasBeenSet() const
Definition: SslConfiguration.h:48
Aws::OpsWorks::Model::SslConfiguration::SetCertificate
void SetCertificate(const char *value)
Definition: SslConfiguration.h:63
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::SslConfiguration::SetChain
void SetChain(const Aws::String &value)
Definition: SslConfiguration.h:138
Aws::OpsWorks::Model::SslConfiguration::SslConfiguration
SslConfiguration()
Aws::OpsWorks::Model::SslConfiguration::operator=
SslConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::SslConfiguration::SetChain
void SetChain(const char *value)
Definition: SslConfiguration.h:150
Aws::OpsWorks::Model::SslConfiguration::SetCertificate
void SetCertificate(const Aws::String &value)
Definition: SslConfiguration.h:53
Aws::OpsWorks::Model::SslConfiguration::WithCertificate
SslConfiguration & WithCertificate(const char *value)
Definition: SslConfiguration.h:78
Aws::OpsWorks::Model::SslConfiguration::GetChain
const Aws::String & GetChain() const
Definition: SslConfiguration.h:126
Aws::OpsWorks::Model::SslConfiguration::PrivateKeyHasBeenSet
bool PrivateKeyHasBeenSet() const
Definition: SslConfiguration.h:89
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::SslConfiguration::SetPrivateKey
void SetPrivateKey(const Aws::String &value)
Definition: SslConfiguration.h:94
Aws::OpsWorks::Model::SslConfiguration::SetPrivateKey
void SetPrivateKey(Aws::String &&value)
Definition: SslConfiguration.h:99
Aws::OpsWorks::Model::SslConfiguration
Definition: SslConfiguration.h:32
Aws::OpsWorks::Model::SslConfiguration::SetCertificate
void SetCertificate(Aws::String &&value)
Definition: SslConfiguration.h:58
Aws::OpsWorks::Model::SslConfiguration::WithChain
SslConfiguration & WithChain(Aws::String &&value)
Definition: SslConfiguration.h:162
Aws::OpsWorks::Model::SslConfiguration::SslConfiguration
SslConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::SslConfiguration::WithPrivateKey
SslConfiguration & WithPrivateKey(const char *value)
Definition: SslConfiguration.h:119
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::OpsWorks::Model::SslConfiguration::SetChain
void SetChain(Aws::String &&value)
Definition: SslConfiguration.h:144
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::OpsWorks::Model::SslConfiguration::WithChain
SslConfiguration & WithChain(const Aws::String &value)
Definition: SslConfiguration.h:156
Aws::OpsWorks::Model::SslConfiguration::WithCertificate
SslConfiguration & WithCertificate(Aws::String &&value)
Definition: SslConfiguration.h:73
Aws::OpsWorks::Model::SslConfiguration::WithChain
SslConfiguration & WithChain(const char *value)
Definition: SslConfiguration.h:168
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::SslConfiguration::WithPrivateKey
SslConfiguration & WithPrivateKey(const Aws::String &value)
Definition: SslConfiguration.h:109
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::SslConfiguration::SetPrivateKey
void SetPrivateKey(const char *value)
Definition: SslConfiguration.h:104
Aws::OpsWorks::Model::SslConfiguration::GetCertificate
const Aws::String & GetCertificate() const
Definition: SslConfiguration.h:43
Aws::OpsWorks::Model::SslConfiguration::GetPrivateKey
const Aws::String & GetPrivateKey() const
Definition: SslConfiguration.h:84
Aws::OpsWorks::Model::SslConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::OpsWorks::Model::SslConfiguration::WithPrivateKey
SslConfiguration & WithPrivateKey(Aws::String &&value)
Definition: SslConfiguration.h:114