AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
GetPublicKeyCertificateResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.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 PaymentCryptography {
23namespace Model {
25 public:
26 AWS_PAYMENTCRYPTOGRAPHY_API GetPublicKeyCertificateResult() = default;
28 AWS_PAYMENTCRYPTOGRAPHY_API GetPublicKeyCertificateResult& operator=(
30
32
37 inline const Aws::String& GetKeyCertificate() const { return m_keyCertificate; }
38 template <typename KeyCertificateT = Aws::String>
39 void SetKeyCertificate(KeyCertificateT&& value) {
40 m_keyCertificateHasBeenSet = true;
41 m_keyCertificate = std::forward<KeyCertificateT>(value);
42 }
43 template <typename KeyCertificateT = Aws::String>
45 SetKeyCertificate(std::forward<KeyCertificateT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetKeyCertificateChain() const { return m_keyCertificateChain; }
56 template <typename KeyCertificateChainT = Aws::String>
57 void SetKeyCertificateChain(KeyCertificateChainT&& value) {
58 m_keyCertificateChainHasBeenSet = true;
59 m_keyCertificateChain = std::forward<KeyCertificateChainT>(value);
60 }
61 template <typename KeyCertificateChainT = Aws::String>
63 SetKeyCertificateChain(std::forward<KeyCertificateChainT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template <typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) {
73 m_requestIdHasBeenSet = true;
74 m_requestId = std::forward<RequestIdT>(value);
75 }
76 template <typename RequestIdT = Aws::String>
78 SetRequestId(std::forward<RequestIdT>(value));
79 return *this;
80 }
82 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
83
84 private:
85 Aws::String m_keyCertificate;
86
87 Aws::String m_keyCertificateChain;
88
89 Aws::String m_requestId;
90 Aws::Http::HttpResponseCode m_HttpResponseCode;
91 bool m_keyCertificateHasBeenSet = false;
92 bool m_keyCertificateChainHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace PaymentCryptography
98} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHY_API GetPublicKeyCertificateResult()=default
AWS_PAYMENTCRYPTOGRAPHY_API GetPublicKeyCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPublicKeyCertificateResult & WithKeyCertificate(KeyCertificateT &&value)
GetPublicKeyCertificateResult & WithRequestId(RequestIdT &&value)
GetPublicKeyCertificateResult & WithKeyCertificateChain(KeyCertificateChainT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API GetPublicKeyCertificateResult(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