AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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
39 inline const Aws::String& GetKeyCertificate() const { return m_keyCertificate; }
40 template <typename KeyCertificateT = Aws::String>
41 void SetKeyCertificate(KeyCertificateT&& value) {
42 m_keyCertificateHasBeenSet = true;
43 m_keyCertificate = std::forward<KeyCertificateT>(value);
44 }
45 template <typename KeyCertificateT = Aws::String>
47 SetKeyCertificate(std::forward<KeyCertificateT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetKeyCertificateChain() const { return m_keyCertificateChain; }
58 template <typename KeyCertificateChainT = Aws::String>
59 void SetKeyCertificateChain(KeyCertificateChainT&& value) {
60 m_keyCertificateChainHasBeenSet = true;
61 m_keyCertificateChain = std::forward<KeyCertificateChainT>(value);
62 }
63 template <typename KeyCertificateChainT = Aws::String>
65 SetKeyCertificateChain(std::forward<KeyCertificateChainT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
85
86 private:
87 Aws::String m_keyCertificate;
88
89 Aws::String m_keyCertificateChain;
90
91 Aws::String m_requestId;
92 Aws::Http::HttpResponseCode m_HttpResponseCode;
93 bool m_keyCertificateHasBeenSet = false;
94 bool m_keyCertificateChainHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace PaymentCryptography
100} // 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