AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExportCertificateResult.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ACM
24{
25namespace Model
26{
28 {
29 public:
30 AWS_ACM_API ExportCertificateResult() = default;
33
34
36
39 inline const Aws::String& GetCertificate() const { return m_certificate; }
40 template<typename CertificateT = Aws::String>
41 void SetCertificate(CertificateT&& value) { m_certificateHasBeenSet = true; m_certificate = std::forward<CertificateT>(value); }
42 template<typename CertificateT = Aws::String>
43 ExportCertificateResult& WithCertificate(CertificateT&& value) { SetCertificate(std::forward<CertificateT>(value)); return *this;}
45
47
51 inline const Aws::String& GetCertificateChain() const { return m_certificateChain; }
52 template<typename CertificateChainT = Aws::String>
53 void SetCertificateChain(CertificateChainT&& value) { m_certificateChainHasBeenSet = true; m_certificateChain = std::forward<CertificateChainT>(value); }
54 template<typename CertificateChainT = Aws::String>
55 ExportCertificateResult& WithCertificateChain(CertificateChainT&& value) { SetCertificateChain(std::forward<CertificateChainT>(value)); return *this;}
57
59
63 inline const Aws::String& GetPrivateKey() const { return m_privateKey; }
64 template<typename PrivateKeyT = Aws::String>
65 void SetPrivateKey(PrivateKeyT&& value) { m_privateKeyHasBeenSet = true; m_privateKey = std::forward<PrivateKeyT>(value); }
66 template<typename PrivateKeyT = Aws::String>
67 ExportCertificateResult& WithPrivateKey(PrivateKeyT&& value) { SetPrivateKey(std::forward<PrivateKeyT>(value)); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template<typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
75 template<typename RequestIdT = Aws::String>
76 ExportCertificateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
78 private:
79
80 Aws::String m_certificate;
81 bool m_certificateHasBeenSet = false;
82
83 Aws::String m_certificateChain;
84 bool m_certificateChainHasBeenSet = false;
85
86 Aws::String m_privateKey;
87 bool m_privateKeyHasBeenSet = false;
88
89 Aws::String m_requestId;
90 bool m_requestIdHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ACM
95} // namespace Aws
ExportCertificateResult & WithCertificateChain(CertificateChainT &&value)
ExportCertificateResult & WithPrivateKey(PrivateKeyT &&value)
ExportCertificateResult & WithRequestId(RequestIdT &&value)
AWS_ACM_API ExportCertificateResult()=default
ExportCertificateResult & WithCertificate(CertificateT &&value)
AWS_ACM_API ExportCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCertificateChain(CertificateChainT &&value)
AWS_ACM_API ExportCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue