AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ImportTr34KeyBlock.h
1
6#pragma once
7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/payment-cryptography/model/Tr34KeyBlockFormat.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PaymentCryptography
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PAYMENTCRYPTOGRAPHY_API ImportTr34KeyBlock() = default;
37 AWS_PAYMENTCRYPTOGRAPHY_API ImportTr34KeyBlock(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PAYMENTCRYPTOGRAPHY_API ImportTr34KeyBlock& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetCertificateAuthorityPublicKeyIdentifier() const { return m_certificateAuthorityPublicKeyIdentifier; }
48 inline bool CertificateAuthorityPublicKeyIdentifierHasBeenSet() const { return m_certificateAuthorityPublicKeyIdentifierHasBeenSet; }
49 template<typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
50 void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = std::forward<CertificateAuthorityPublicKeyIdentifierT>(value); }
51 template<typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
52 ImportTr34KeyBlock& WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) { SetCertificateAuthorityPublicKeyIdentifier(std::forward<CertificateAuthorityPublicKeyIdentifierT>(value)); return *this;}
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) { m_signingKeyCertificateHasBeenSet = true; m_signingKeyCertificate = std::forward<SigningKeyCertificateT>(value); }
64 template<typename SigningKeyCertificateT = Aws::String>
65 ImportTr34KeyBlock& WithSigningKeyCertificate(SigningKeyCertificateT&& value) { SetSigningKeyCertificate(std::forward<SigningKeyCertificateT>(value)); return *this;}
67
69
75 inline const Aws::String& GetImportToken() const { return m_importToken; }
76 inline bool ImportTokenHasBeenSet() const { return m_importTokenHasBeenSet; }
77 template<typename ImportTokenT = Aws::String>
78 void SetImportToken(ImportTokenT&& value) { m_importTokenHasBeenSet = true; m_importToken = std::forward<ImportTokenT>(value); }
79 template<typename ImportTokenT = Aws::String>
80 ImportTr34KeyBlock& WithImportToken(ImportTokenT&& value) { SetImportToken(std::forward<ImportTokenT>(value)); return *this;}
82
84
87 inline const Aws::String& GetWrappedKeyBlock() const { return m_wrappedKeyBlock; }
88 inline bool WrappedKeyBlockHasBeenSet() const { return m_wrappedKeyBlockHasBeenSet; }
89 template<typename WrappedKeyBlockT = Aws::String>
90 void SetWrappedKeyBlock(WrappedKeyBlockT&& value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock = std::forward<WrappedKeyBlockT>(value); }
91 template<typename WrappedKeyBlockT = Aws::String>
92 ImportTr34KeyBlock& WithWrappedKeyBlock(WrappedKeyBlockT&& value) { SetWrappedKeyBlock(std::forward<WrappedKeyBlockT>(value)); return *this;}
94
96
100 inline Tr34KeyBlockFormat GetKeyBlockFormat() const { return m_keyBlockFormat; }
101 inline bool KeyBlockFormatHasBeenSet() const { return m_keyBlockFormatHasBeenSet; }
102 inline void SetKeyBlockFormat(Tr34KeyBlockFormat value) { m_keyBlockFormatHasBeenSet = true; m_keyBlockFormat = value; }
105
107
112 inline const Aws::String& GetRandomNonce() const { return m_randomNonce; }
113 inline bool RandomNonceHasBeenSet() const { return m_randomNonceHasBeenSet; }
114 template<typename RandomNonceT = Aws::String>
115 void SetRandomNonce(RandomNonceT&& value) { m_randomNonceHasBeenSet = true; m_randomNonce = std::forward<RandomNonceT>(value); }
116 template<typename RandomNonceT = Aws::String>
117 ImportTr34KeyBlock& WithRandomNonce(RandomNonceT&& value) { SetRandomNonce(std::forward<RandomNonceT>(value)); return *this;}
119 private:
120
121 Aws::String m_certificateAuthorityPublicKeyIdentifier;
122 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
123
124 Aws::String m_signingKeyCertificate;
125 bool m_signingKeyCertificateHasBeenSet = false;
126
127 Aws::String m_importToken;
128 bool m_importTokenHasBeenSet = false;
129
130 Aws::String m_wrappedKeyBlock;
131 bool m_wrappedKeyBlockHasBeenSet = false;
132
134 bool m_keyBlockFormatHasBeenSet = false;
135
136 Aws::String m_randomNonce;
137 bool m_randomNonceHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace PaymentCryptography
142} // namespace Aws
ImportTr34KeyBlock & WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT &&value)
ImportTr34KeyBlock & WithKeyBlockFormat(Tr34KeyBlockFormat value)
ImportTr34KeyBlock & WithSigningKeyCertificate(SigningKeyCertificateT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportTr34KeyBlock(Aws::Utils::Json::JsonView jsonValue)
ImportTr34KeyBlock & WithImportToken(ImportTokenT &&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