AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ImportTr34KeyBlock.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/Tr34KeyBlockFormat.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PaymentCryptography {
21namespace Model {
22
30 public:
31 AWS_PAYMENTCRYPTOGRAPHY_API ImportTr34KeyBlock() = default;
32 AWS_PAYMENTCRYPTOGRAPHY_API ImportTr34KeyBlock(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PAYMENTCRYPTOGRAPHY_API ImportTr34KeyBlock& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetCertificateAuthorityPublicKeyIdentifier() const { return m_certificateAuthorityPublicKeyIdentifier; }
42 inline bool CertificateAuthorityPublicKeyIdentifierHasBeenSet() const { return m_certificateAuthorityPublicKeyIdentifierHasBeenSet; }
43 template <typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
44 void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) {
45 m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true;
46 m_certificateAuthorityPublicKeyIdentifier = std::forward<CertificateAuthorityPublicKeyIdentifierT>(value);
47 }
48 template <typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
49 ImportTr34KeyBlock& WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) {
50 SetCertificateAuthorityPublicKeyIdentifier(std::forward<CertificateAuthorityPublicKeyIdentifierT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetSigningKeyCertificate() const { return m_signingKeyCertificate; }
61 inline bool SigningKeyCertificateHasBeenSet() const { return m_signingKeyCertificateHasBeenSet; }
62 template <typename SigningKeyCertificateT = Aws::String>
63 void SetSigningKeyCertificate(SigningKeyCertificateT&& value) {
64 m_signingKeyCertificateHasBeenSet = true;
65 m_signingKeyCertificate = std::forward<SigningKeyCertificateT>(value);
66 }
67 template <typename SigningKeyCertificateT = Aws::String>
68 ImportTr34KeyBlock& WithSigningKeyCertificate(SigningKeyCertificateT&& value) {
69 SetSigningKeyCertificate(std::forward<SigningKeyCertificateT>(value));
70 return *this;
71 }
73
75
81 inline const Aws::String& GetImportToken() const { return m_importToken; }
82 inline bool ImportTokenHasBeenSet() const { return m_importTokenHasBeenSet; }
83 template <typename ImportTokenT = Aws::String>
84 void SetImportToken(ImportTokenT&& value) {
85 m_importTokenHasBeenSet = true;
86 m_importToken = std::forward<ImportTokenT>(value);
87 }
88 template <typename ImportTokenT = Aws::String>
89 ImportTr34KeyBlock& WithImportToken(ImportTokenT&& value) {
90 SetImportToken(std::forward<ImportTokenT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetWrappingKeyIdentifier() const { return m_wrappingKeyIdentifier; }
100 inline bool WrappingKeyIdentifierHasBeenSet() const { return m_wrappingKeyIdentifierHasBeenSet; }
101 template <typename WrappingKeyIdentifierT = Aws::String>
102 void SetWrappingKeyIdentifier(WrappingKeyIdentifierT&& value) {
103 m_wrappingKeyIdentifierHasBeenSet = true;
104 m_wrappingKeyIdentifier = std::forward<WrappingKeyIdentifierT>(value);
105 }
106 template <typename WrappingKeyIdentifierT = Aws::String>
107 ImportTr34KeyBlock& WithWrappingKeyIdentifier(WrappingKeyIdentifierT&& value) {
108 SetWrappingKeyIdentifier(std::forward<WrappingKeyIdentifierT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetWrappingKeyCertificate() const { return m_wrappingKeyCertificate; }
118 inline bool WrappingKeyCertificateHasBeenSet() const { return m_wrappingKeyCertificateHasBeenSet; }
119 template <typename WrappingKeyCertificateT = Aws::String>
120 void SetWrappingKeyCertificate(WrappingKeyCertificateT&& value) {
121 m_wrappingKeyCertificateHasBeenSet = true;
122 m_wrappingKeyCertificate = std::forward<WrappingKeyCertificateT>(value);
123 }
124 template <typename WrappingKeyCertificateT = Aws::String>
125 ImportTr34KeyBlock& WithWrappingKeyCertificate(WrappingKeyCertificateT&& value) {
126 SetWrappingKeyCertificate(std::forward<WrappingKeyCertificateT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetWrappedKeyBlock() const { return m_wrappedKeyBlock; }
136 inline bool WrappedKeyBlockHasBeenSet() const { return m_wrappedKeyBlockHasBeenSet; }
137 template <typename WrappedKeyBlockT = Aws::String>
138 void SetWrappedKeyBlock(WrappedKeyBlockT&& value) {
139 m_wrappedKeyBlockHasBeenSet = true;
140 m_wrappedKeyBlock = std::forward<WrappedKeyBlockT>(value);
141 }
142 template <typename WrappedKeyBlockT = Aws::String>
143 ImportTr34KeyBlock& WithWrappedKeyBlock(WrappedKeyBlockT&& value) {
144 SetWrappedKeyBlock(std::forward<WrappedKeyBlockT>(value));
145 return *this;
146 }
148
150
154 inline Tr34KeyBlockFormat GetKeyBlockFormat() const { return m_keyBlockFormat; }
155 inline bool KeyBlockFormatHasBeenSet() const { return m_keyBlockFormatHasBeenSet; }
157 m_keyBlockFormatHasBeenSet = true;
158 m_keyBlockFormat = value;
159 }
161 SetKeyBlockFormat(value);
162 return *this;
163 }
165
167
172 inline const Aws::String& GetRandomNonce() const { return m_randomNonce; }
173 inline bool RandomNonceHasBeenSet() const { return m_randomNonceHasBeenSet; }
174 template <typename RandomNonceT = Aws::String>
175 void SetRandomNonce(RandomNonceT&& value) {
176 m_randomNonceHasBeenSet = true;
177 m_randomNonce = std::forward<RandomNonceT>(value);
178 }
179 template <typename RandomNonceT = Aws::String>
180 ImportTr34KeyBlock& WithRandomNonce(RandomNonceT&& value) {
181 SetRandomNonce(std::forward<RandomNonceT>(value));
182 return *this;
183 }
185 private:
186 Aws::String m_certificateAuthorityPublicKeyIdentifier;
187
188 Aws::String m_signingKeyCertificate;
189
190 Aws::String m_importToken;
191
192 Aws::String m_wrappingKeyIdentifier;
193
194 Aws::String m_wrappingKeyCertificate;
195
196 Aws::String m_wrappedKeyBlock;
197
199
200 Aws::String m_randomNonce;
201 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
202 bool m_signingKeyCertificateHasBeenSet = false;
203 bool m_importTokenHasBeenSet = false;
204 bool m_wrappingKeyIdentifierHasBeenSet = false;
205 bool m_wrappingKeyCertificateHasBeenSet = false;
206 bool m_wrappedKeyBlockHasBeenSet = false;
207 bool m_keyBlockFormatHasBeenSet = false;
208 bool m_randomNonceHasBeenSet = false;
209};
210
211} // namespace Model
212} // namespace PaymentCryptography
213} // namespace Aws
ImportTr34KeyBlock & WithWrappingKeyCertificate(WrappingKeyCertificateT &&value)
ImportTr34KeyBlock & WithWrappingKeyIdentifier(WrappingKeyIdentifierT &&value)
ImportTr34KeyBlock & WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT &&value)
ImportTr34KeyBlock & WithKeyBlockFormat(Tr34KeyBlockFormat value)
ImportTr34KeyBlock & WithSigningKeyCertificate(SigningKeyCertificateT &&value)
void SetWrappingKeyCertificate(WrappingKeyCertificateT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportTr34KeyBlock(Aws::Utils::Json::JsonView jsonValue)
ImportTr34KeyBlock & WithImportToken(ImportTokenT &&value)
void SetWrappingKeyIdentifier(WrappingKeyIdentifierT &&value)
ImportTr34KeyBlock & WithRandomNonce(RandomNonceT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportTr34KeyBlock()=default
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
ImportTr34KeyBlock & WithWrappedKeyBlock(WrappedKeyBlockT &&value)
void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportTr34KeyBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSigningKeyCertificate(SigningKeyCertificateT &&value)
const Aws::String & GetCertificateAuthorityPublicKeyIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue