AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ExportCertificateResult.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace ACM {
23namespace Model {
25 public:
26 AWS_ACM_API ExportCertificateResult() = default;
29
31
34 inline const Aws::String& GetCertificate() const { return m_certificate; }
35 template <typename CertificateT = Aws::String>
36 void SetCertificate(CertificateT&& value) {
37 m_certificateHasBeenSet = true;
38 m_certificate = std::forward<CertificateT>(value);
39 }
40 template <typename CertificateT = Aws::String>
42 SetCertificate(std::forward<CertificateT>(value));
43 return *this;
44 }
46
48
52 inline const Aws::String& GetCertificateChain() const { return m_certificateChain; }
53 template <typename CertificateChainT = Aws::String>
54 void SetCertificateChain(CertificateChainT&& value) {
55 m_certificateChainHasBeenSet = true;
56 m_certificateChain = std::forward<CertificateChainT>(value);
57 }
58 template <typename CertificateChainT = Aws::String>
59 ExportCertificateResult& WithCertificateChain(CertificateChainT&& value) {
60 SetCertificateChain(std::forward<CertificateChainT>(value));
61 return *this;
62 }
64
66
70 inline const Aws::String& GetPrivateKey() const { return m_privateKey; }
71 template <typename PrivateKeyT = Aws::String>
72 void SetPrivateKey(PrivateKeyT&& value) {
73 m_privateKeyHasBeenSet = true;
74 m_privateKey = std::forward<PrivateKeyT>(value);
75 }
76 template <typename PrivateKeyT = Aws::String>
78 SetPrivateKey(std::forward<PrivateKeyT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
98
99 private:
100 Aws::String m_certificate;
101
102 Aws::String m_certificateChain;
103
104 Aws::String m_privateKey;
105
106 Aws::String m_requestId;
107 Aws::Http::HttpResponseCode m_HttpResponseCode;
108 bool m_certificateHasBeenSet = false;
109 bool m_certificateChainHasBeenSet = false;
110 bool m_privateKeyHasBeenSet = false;
111 bool m_requestIdHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace ACM
116} // 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::Http::HttpResponseCode GetHttpResponseCode() const
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