AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SslConfiguration.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OpsWorks
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OPSWORKS_API SslConfiguration();
35 AWS_OPSWORKS_API SslConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetCertificate() const{ return m_certificate; }
45 inline bool CertificateHasBeenSet() const { return m_certificateHasBeenSet; }
46 inline void SetCertificate(const Aws::String& value) { m_certificateHasBeenSet = true; m_certificate = value; }
47 inline void SetCertificate(Aws::String&& value) { m_certificateHasBeenSet = true; m_certificate = std::move(value); }
48 inline void SetCertificate(const char* value) { m_certificateHasBeenSet = true; m_certificate.assign(value); }
49 inline SslConfiguration& WithCertificate(const Aws::String& value) { SetCertificate(value); return *this;}
50 inline SslConfiguration& WithCertificate(Aws::String&& value) { SetCertificate(std::move(value)); return *this;}
51 inline SslConfiguration& WithCertificate(const char* value) { SetCertificate(value); return *this;}
53
55
58 inline const Aws::String& GetPrivateKey() const{ return m_privateKey; }
59 inline bool PrivateKeyHasBeenSet() const { return m_privateKeyHasBeenSet; }
60 inline void SetPrivateKey(const Aws::String& value) { m_privateKeyHasBeenSet = true; m_privateKey = value; }
61 inline void SetPrivateKey(Aws::String&& value) { m_privateKeyHasBeenSet = true; m_privateKey = std::move(value); }
62 inline void SetPrivateKey(const char* value) { m_privateKeyHasBeenSet = true; m_privateKey.assign(value); }
63 inline SslConfiguration& WithPrivateKey(const Aws::String& value) { SetPrivateKey(value); return *this;}
64 inline SslConfiguration& WithPrivateKey(Aws::String&& value) { SetPrivateKey(std::move(value)); return *this;}
65 inline SslConfiguration& WithPrivateKey(const char* value) { SetPrivateKey(value); return *this;}
67
69
73 inline const Aws::String& GetChain() const{ return m_chain; }
74 inline bool ChainHasBeenSet() const { return m_chainHasBeenSet; }
75 inline void SetChain(const Aws::String& value) { m_chainHasBeenSet = true; m_chain = value; }
76 inline void SetChain(Aws::String&& value) { m_chainHasBeenSet = true; m_chain = std::move(value); }
77 inline void SetChain(const char* value) { m_chainHasBeenSet = true; m_chain.assign(value); }
78 inline SslConfiguration& WithChain(const Aws::String& value) { SetChain(value); return *this;}
79 inline SslConfiguration& WithChain(Aws::String&& value) { SetChain(std::move(value)); return *this;}
80 inline SslConfiguration& WithChain(const char* value) { SetChain(value); return *this;}
82 private:
83
84 Aws::String m_certificate;
85 bool m_certificateHasBeenSet = false;
86
87 Aws::String m_privateKey;
88 bool m_privateKeyHasBeenSet = false;
89
90 Aws::String m_chain;
91 bool m_chainHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace OpsWorks
96} // namespace Aws
const Aws::String & GetPrivateKey() const
SslConfiguration & WithCertificate(const Aws::String &value)
AWS_OPSWORKS_API SslConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrivateKey(Aws::String &&value)
SslConfiguration & WithCertificate(Aws::String &&value)
SslConfiguration & WithPrivateKey(Aws::String &&value)
SslConfiguration & WithCertificate(const char *value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetChain(const Aws::String &value)
void SetPrivateKey(const Aws::String &value)
const Aws::String & GetCertificate() const
SslConfiguration & WithChain(const char *value)
void SetCertificate(Aws::String &&value)
SslConfiguration & WithChain(Aws::String &&value)
SslConfiguration & WithChain(const Aws::String &value)
void SetCertificate(const Aws::String &value)
AWS_OPSWORKS_API SslConfiguration(Aws::Utils::Json::JsonView jsonValue)
SslConfiguration & WithPrivateKey(const Aws::String &value)
const Aws::String & GetChain() const
SslConfiguration & WithPrivateKey(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue