AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CertificateT = Aws::String>
47 void SetCertificate(CertificateT&& value) { m_certificateHasBeenSet = true; m_certificate = std::forward<CertificateT>(value); }
48 template<typename CertificateT = Aws::String>
49 SslConfiguration& WithCertificate(CertificateT&& value) { SetCertificate(std::forward<CertificateT>(value)); return *this;}
51
53
56 inline const Aws::String& GetPrivateKey() const { return m_privateKey; }
57 inline bool PrivateKeyHasBeenSet() const { return m_privateKeyHasBeenSet; }
58 template<typename PrivateKeyT = Aws::String>
59 void SetPrivateKey(PrivateKeyT&& value) { m_privateKeyHasBeenSet = true; m_privateKey = std::forward<PrivateKeyT>(value); }
60 template<typename PrivateKeyT = Aws::String>
61 SslConfiguration& WithPrivateKey(PrivateKeyT&& value) { SetPrivateKey(std::forward<PrivateKeyT>(value)); return *this;}
63
65
69 inline const Aws::String& GetChain() const { return m_chain; }
70 inline bool ChainHasBeenSet() const { return m_chainHasBeenSet; }
71 template<typename ChainT = Aws::String>
72 void SetChain(ChainT&& value) { m_chainHasBeenSet = true; m_chain = std::forward<ChainT>(value); }
73 template<typename ChainT = Aws::String>
74 SslConfiguration& WithChain(ChainT&& value) { SetChain(std::forward<ChainT>(value)); return *this;}
76 private:
77
78 Aws::String m_certificate;
79 bool m_certificateHasBeenSet = false;
80
81 Aws::String m_privateKey;
82 bool m_privateKeyHasBeenSet = false;
83
84 Aws::String m_chain;
85 bool m_chainHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace OpsWorks
90} // namespace Aws
const Aws::String & GetPrivateKey() const
AWS_OPSWORKS_API SslConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SslConfiguration & WithCertificate(CertificateT &&value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrivateKey(PrivateKeyT &&value)
const Aws::String & GetCertificate() const
SslConfiguration & WithPrivateKey(PrivateKeyT &&value)
SslConfiguration & WithChain(ChainT &&value)
AWS_OPSWORKS_API SslConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetCertificate(CertificateT &&value)
AWS_OPSWORKS_API SslConfiguration()=default
const Aws::String & GetChain() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue