AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 GetCertificateResult() = 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 GetCertificateResult& WithCertificate(CertificateT&& value) { SetCertificate(std::forward<CertificateT>(value)); return *this;}
45
47
52 inline const Aws::String& GetCertificateChain() const { return m_certificateChain; }
53 template<typename CertificateChainT = Aws::String>
54 void SetCertificateChain(CertificateChainT&& value) { m_certificateChainHasBeenSet = true; m_certificateChain = std::forward<CertificateChainT>(value); }
55 template<typename CertificateChainT = Aws::String>
56 GetCertificateResult& WithCertificateChain(CertificateChainT&& value) { SetCertificateChain(std::forward<CertificateChainT>(value)); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const { return m_requestId; }
62 template<typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
64 template<typename RequestIdT = Aws::String>
65 GetCertificateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
67 private:
68
69 Aws::String m_certificate;
70 bool m_certificateHasBeenSet = false;
71
72 Aws::String m_certificateChain;
73 bool m_certificateChainHasBeenSet = false;
74
75 Aws::String m_requestId;
76 bool m_requestIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ACM
81} // 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