AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetCertificateResult.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 GetCertificateResult() = 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>
41 GetCertificateResult& WithCertificate(CertificateT&& value) {
42 SetCertificate(std::forward<CertificateT>(value));
43 return *this;
44 }
46
48
53 inline const Aws::String& GetCertificateChain() const { return m_certificateChain; }
54 template <typename CertificateChainT = Aws::String>
55 void SetCertificateChain(CertificateChainT&& value) {
56 m_certificateChainHasBeenSet = true;
57 m_certificateChain = std::forward<CertificateChainT>(value);
58 }
59 template <typename CertificateChainT = Aws::String>
60 GetCertificateResult& WithCertificateChain(CertificateChainT&& value) {
61 SetCertificateChain(std::forward<CertificateChainT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
75 GetCertificateResult& WithRequestId(RequestIdT&& value) {
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
81
82 private:
83 Aws::String m_certificate;
84
85 Aws::String m_certificateChain;
86
87 Aws::String m_requestId;
88 Aws::Http::HttpResponseCode m_HttpResponseCode;
89 bool m_certificateHasBeenSet = false;
90 bool m_certificateChainHasBeenSet = false;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace ACM
96} // namespace Aws
const Aws::String & GetCertificateChain() const
AWS_ACM_API GetCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ACM_API GetCertificateResult()=default
GetCertificateResult & WithCertificate(CertificateT &&value)
const Aws::String & GetCertificate() const
GetCertificateResult & WithCertificateChain(CertificateChainT &&value)
GetCertificateResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
void SetCertificate(CertificateT &&value)
AWS_ACM_API GetCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetCertificateChain(CertificateChainT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue