AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetPublicKeyCertificateResult.h
1
6#pragma once
7#include <aws/payment-cryptography/PaymentCryptography_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 PaymentCryptography
24{
25namespace Model
26{
28 {
29 public:
30 AWS_PAYMENTCRYPTOGRAPHY_API GetPublicKeyCertificateResult() = default;
33
34
36
41 inline const Aws::String& GetKeyCertificate() const { return m_keyCertificate; }
42 template<typename KeyCertificateT = Aws::String>
43 void SetKeyCertificate(KeyCertificateT&& value) { m_keyCertificateHasBeenSet = true; m_keyCertificate = std::forward<KeyCertificateT>(value); }
44 template<typename KeyCertificateT = Aws::String>
45 GetPublicKeyCertificateResult& WithKeyCertificate(KeyCertificateT&& value) { SetKeyCertificate(std::forward<KeyCertificateT>(value)); return *this;}
47
49
53 inline const Aws::String& GetKeyCertificateChain() const { return m_keyCertificateChain; }
54 template<typename KeyCertificateChainT = Aws::String>
55 void SetKeyCertificateChain(KeyCertificateChainT&& value) { m_keyCertificateChainHasBeenSet = true; m_keyCertificateChain = std::forward<KeyCertificateChainT>(value); }
56 template<typename KeyCertificateChainT = Aws::String>
57 GetPublicKeyCertificateResult& WithKeyCertificateChain(KeyCertificateChainT&& value) { SetKeyCertificateChain(std::forward<KeyCertificateChainT>(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template<typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
65 template<typename RequestIdT = Aws::String>
66 GetPublicKeyCertificateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
68 private:
69
70 Aws::String m_keyCertificate;
71 bool m_keyCertificateHasBeenSet = false;
72
73 Aws::String m_keyCertificateChain;
74 bool m_keyCertificateChainHasBeenSet = false;
75
76 Aws::String m_requestId;
77 bool m_requestIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace PaymentCryptography
82} // 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