AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ExportTr34KeyBlock.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
9#include <aws/payment-cryptography/model/KeyBlockHeaders.h>
10#include <aws/payment-cryptography/model/Tr34KeyBlockFormat.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PaymentCryptography {
22namespace Model {
23
31 public:
32 AWS_PAYMENTCRYPTOGRAPHY_API ExportTr34KeyBlock() = default;
33 AWS_PAYMENTCRYPTOGRAPHY_API ExportTr34KeyBlock(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHY_API ExportTr34KeyBlock& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetCertificateAuthorityPublicKeyIdentifier() const { return m_certificateAuthorityPublicKeyIdentifier; }
43 inline bool CertificateAuthorityPublicKeyIdentifierHasBeenSet() const { return m_certificateAuthorityPublicKeyIdentifierHasBeenSet; }
44 template <typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
45 void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) {
46 m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true;
47 m_certificateAuthorityPublicKeyIdentifier = std::forward<CertificateAuthorityPublicKeyIdentifierT>(value);
48 }
49 template <typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
50 ExportTr34KeyBlock& WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) {
51 SetCertificateAuthorityPublicKeyIdentifier(std::forward<CertificateAuthorityPublicKeyIdentifierT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetWrappingKeyCertificate() const { return m_wrappingKeyCertificate; }
62 inline bool WrappingKeyCertificateHasBeenSet() const { return m_wrappingKeyCertificateHasBeenSet; }
63 template <typename WrappingKeyCertificateT = Aws::String>
64 void SetWrappingKeyCertificate(WrappingKeyCertificateT&& value) {
65 m_wrappingKeyCertificateHasBeenSet = true;
66 m_wrappingKeyCertificate = std::forward<WrappingKeyCertificateT>(value);
67 }
68 template <typename WrappingKeyCertificateT = Aws::String>
69 ExportTr34KeyBlock& WithWrappingKeyCertificate(WrappingKeyCertificateT&& value) {
70 SetWrappingKeyCertificate(std::forward<WrappingKeyCertificateT>(value));
71 return *this;
72 }
74
76
84 inline const Aws::String& GetExportToken() const { return m_exportToken; }
85 inline bool ExportTokenHasBeenSet() const { return m_exportTokenHasBeenSet; }
86 template <typename ExportTokenT = Aws::String>
87 void SetExportToken(ExportTokenT&& value) {
88 m_exportTokenHasBeenSet = true;
89 m_exportToken = std::forward<ExportTokenT>(value);
90 }
91 template <typename ExportTokenT = Aws::String>
92 ExportTr34KeyBlock& WithExportToken(ExportTokenT&& value) {
93 SetExportToken(std::forward<ExportTokenT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetSigningKeyIdentifier() const { return m_signingKeyIdentifier; }
103 inline bool SigningKeyIdentifierHasBeenSet() const { return m_signingKeyIdentifierHasBeenSet; }
104 template <typename SigningKeyIdentifierT = Aws::String>
105 void SetSigningKeyIdentifier(SigningKeyIdentifierT&& value) {
106 m_signingKeyIdentifierHasBeenSet = true;
107 m_signingKeyIdentifier = std::forward<SigningKeyIdentifierT>(value);
108 }
109 template <typename SigningKeyIdentifierT = Aws::String>
110 ExportTr34KeyBlock& WithSigningKeyIdentifier(SigningKeyIdentifierT&& value) {
111 SetSigningKeyIdentifier(std::forward<SigningKeyIdentifierT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetSigningKeyCertificate() const { return m_signingKeyCertificate; }
121 inline bool SigningKeyCertificateHasBeenSet() const { return m_signingKeyCertificateHasBeenSet; }
122 template <typename SigningKeyCertificateT = Aws::String>
123 void SetSigningKeyCertificate(SigningKeyCertificateT&& value) {
124 m_signingKeyCertificateHasBeenSet = true;
125 m_signingKeyCertificate = std::forward<SigningKeyCertificateT>(value);
126 }
127 template <typename SigningKeyCertificateT = Aws::String>
128 ExportTr34KeyBlock& WithSigningKeyCertificate(SigningKeyCertificateT&& value) {
129 SetSigningKeyCertificate(std::forward<SigningKeyCertificateT>(value));
130 return *this;
131 }
133
135
139 inline Tr34KeyBlockFormat GetKeyBlockFormat() const { return m_keyBlockFormat; }
140 inline bool KeyBlockFormatHasBeenSet() const { return m_keyBlockFormatHasBeenSet; }
142 m_keyBlockFormatHasBeenSet = true;
143 m_keyBlockFormat = value;
144 }
146 SetKeyBlockFormat(value);
147 return *this;
148 }
150
152
157 inline const Aws::String& GetRandomNonce() const { return m_randomNonce; }
158 inline bool RandomNonceHasBeenSet() const { return m_randomNonceHasBeenSet; }
159 template <typename RandomNonceT = Aws::String>
160 void SetRandomNonce(RandomNonceT&& value) {
161 m_randomNonceHasBeenSet = true;
162 m_randomNonce = std::forward<RandomNonceT>(value);
163 }
164 template <typename RandomNonceT = Aws::String>
165 ExportTr34KeyBlock& WithRandomNonce(RandomNonceT&& value) {
166 SetRandomNonce(std::forward<RandomNonceT>(value));
167 return *this;
168 }
170
172
176 inline const KeyBlockHeaders& GetKeyBlockHeaders() const { return m_keyBlockHeaders; }
177 inline bool KeyBlockHeadersHasBeenSet() const { return m_keyBlockHeadersHasBeenSet; }
178 template <typename KeyBlockHeadersT = KeyBlockHeaders>
179 void SetKeyBlockHeaders(KeyBlockHeadersT&& value) {
180 m_keyBlockHeadersHasBeenSet = true;
181 m_keyBlockHeaders = std::forward<KeyBlockHeadersT>(value);
182 }
183 template <typename KeyBlockHeadersT = KeyBlockHeaders>
184 ExportTr34KeyBlock& WithKeyBlockHeaders(KeyBlockHeadersT&& value) {
185 SetKeyBlockHeaders(std::forward<KeyBlockHeadersT>(value));
186 return *this;
187 }
189 private:
190 Aws::String m_certificateAuthorityPublicKeyIdentifier;
191
192 Aws::String m_wrappingKeyCertificate;
193
194 Aws::String m_exportToken;
195
196 Aws::String m_signingKeyIdentifier;
197
198 Aws::String m_signingKeyCertificate;
199
201
202 Aws::String m_randomNonce;
203
204 KeyBlockHeaders m_keyBlockHeaders;
205 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
206 bool m_wrappingKeyCertificateHasBeenSet = false;
207 bool m_exportTokenHasBeenSet = false;
208 bool m_signingKeyIdentifierHasBeenSet = false;
209 bool m_signingKeyCertificateHasBeenSet = false;
210 bool m_keyBlockFormatHasBeenSet = false;
211 bool m_randomNonceHasBeenSet = false;
212 bool m_keyBlockHeadersHasBeenSet = false;
213};
214
215} // namespace Model
216} // namespace PaymentCryptography
217} // namespace Aws
ExportTr34KeyBlock & WithSigningKeyCertificate(SigningKeyCertificateT &&value)
ExportTr34KeyBlock & WithKeyBlockHeaders(KeyBlockHeadersT &&value)
void SetWrappingKeyCertificate(WrappingKeyCertificateT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportTr34KeyBlock(Aws::Utils::Json::JsonView jsonValue)
ExportTr34KeyBlock & WithExportToken(ExportTokenT &&value)
void SetSigningKeyCertificate(SigningKeyCertificateT &&value)
ExportTr34KeyBlock & WithRandomNonce(RandomNonceT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportTr34KeyBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportTr34KeyBlock & WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportTr34KeyBlock()=default
ExportTr34KeyBlock & WithWrappingKeyCertificate(WrappingKeyCertificateT &&value)
const Aws::String & GetCertificateAuthorityPublicKeyIdentifier() const
ExportTr34KeyBlock & WithSigningKeyIdentifier(SigningKeyIdentifierT &&value)
void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT &&value)
void SetSigningKeyIdentifier(SigningKeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
ExportTr34KeyBlock & WithKeyBlockFormat(Tr34KeyBlockFormat value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue