AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GetCertificateResult.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 GetCertificateResult() = 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>
40 GetCertificateResult& WithCertificate(CertificateT&& value) {
41 SetCertificate(std::forward<CertificateT>(value));
42 return *this;
43 }
45
47
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 GetCertificateResult& WithCertificateChain(CertificateChainT&& value) {
60 SetCertificateChain(std::forward<CertificateChainT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
74 GetCertificateResult& WithRequestId(RequestIdT&& value) {
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_certificate;
81
82 Aws::String m_certificateChain;
83
84 Aws::String m_requestId;
85 bool m_certificateHasBeenSet = false;
86 bool m_certificateChainHasBeenSet = false;
87 bool m_requestIdHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace ACM
92} // 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)
void SetCertificateChain(CertificateChainT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue