AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace ACM {
22namespace Model {
24 public:
25 AWS_ACM_API ExportCertificateResult() = default;
28
30
33 inline const Aws::String& GetCertificate() const { return m_certificate; }
34 template <typename CertificateT = Aws::String>
35 void SetCertificate(CertificateT&& value) {
36 m_certificateHasBeenSet = true;
37 m_certificate = std::forward<CertificateT>(value);
38 }
39 template <typename CertificateT = Aws::String>
41 SetCertificate(std::forward<CertificateT>(value));
42 return *this;
43 }
45
47
51 inline const Aws::String& GetCertificateChain() const { return m_certificateChain; }
52 template <typename CertificateChainT = Aws::String>
53 void SetCertificateChain(CertificateChainT&& value) {
54 m_certificateChainHasBeenSet = true;
55 m_certificateChain = std::forward<CertificateChainT>(value);
56 }
57 template <typename CertificateChainT = Aws::String>
58 ExportCertificateResult& WithCertificateChain(CertificateChainT&& value) {
59 SetCertificateChain(std::forward<CertificateChainT>(value));
60 return *this;
61 }
63
65
69 inline const Aws::String& GetPrivateKey() const { return m_privateKey; }
70 template <typename PrivateKeyT = Aws::String>
71 void SetPrivateKey(PrivateKeyT&& value) {
72 m_privateKeyHasBeenSet = true;
73 m_privateKey = std::forward<PrivateKeyT>(value);
74 }
75 template <typename PrivateKeyT = Aws::String>
77 SetPrivateKey(std::forward<PrivateKeyT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_certificate;
98
99 Aws::String m_certificateChain;
100
101 Aws::String m_privateKey;
102
103 Aws::String m_requestId;
104 bool m_certificateHasBeenSet = false;
105 bool m_certificateChainHasBeenSet = false;
106 bool m_privateKeyHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace ACM
112} // 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