AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCertificateAuthorityPublicKeyIdentifier(const Aws::String& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = value; }
50 inline void SetCertificateAuthorityPublicKeyIdentifier(Aws::String&& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = std::move(value); }
51 inline void SetCertificateAuthorityPublicKeyIdentifier(const char* value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier.assign(value); }
56
58
62 inline const Aws::String& GetSigningKeyCertificate() const{ return m_signingKeyCertificate; }
63 inline bool SigningKeyCertificateHasBeenSet() const { return m_signingKeyCertificateHasBeenSet; }
64 inline void SetSigningKeyCertificate(const Aws::String& value) { m_signingKeyCertificateHasBeenSet = true; m_signingKeyCertificate = value; }
65 inline void SetSigningKeyCertificate(Aws::String&& value) { m_signingKeyCertificateHasBeenSet = true; m_signingKeyCertificate = std::move(value); }
66 inline void SetSigningKeyCertificate(const char* value) { m_signingKeyCertificateHasBeenSet = true; m_signingKeyCertificate.assign(value); }
68 inline ImportTr34KeyBlock& WithSigningKeyCertificate(Aws::String&& value) { SetSigningKeyCertificate(std::move(value)); return *this;}
69 inline ImportTr34KeyBlock& WithSigningKeyCertificate(const char* value) { SetSigningKeyCertificate(value); return *this;}
71
73
79 inline const Aws::String& GetImportToken() const{ return m_importToken; }
80 inline bool ImportTokenHasBeenSet() const { return m_importTokenHasBeenSet; }
81 inline void SetImportToken(const Aws::String& value) { m_importTokenHasBeenSet = true; m_importToken = value; }
82 inline void SetImportToken(Aws::String&& value) { m_importTokenHasBeenSet = true; m_importToken = std::move(value); }
83 inline void SetImportToken(const char* value) { m_importTokenHasBeenSet = true; m_importToken.assign(value); }
84 inline ImportTr34KeyBlock& WithImportToken(const Aws::String& value) { SetImportToken(value); return *this;}
85 inline ImportTr34KeyBlock& WithImportToken(Aws::String&& value) { SetImportToken(std::move(value)); return *this;}
86 inline ImportTr34KeyBlock& WithImportToken(const char* value) { SetImportToken(value); return *this;}
88
90
93 inline const Aws::String& GetWrappedKeyBlock() const{ return m_wrappedKeyBlock; }
94 inline bool WrappedKeyBlockHasBeenSet() const { return m_wrappedKeyBlockHasBeenSet; }
95 inline void SetWrappedKeyBlock(const Aws::String& value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock = value; }
96 inline void SetWrappedKeyBlock(Aws::String&& value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock = std::move(value); }
97 inline void SetWrappedKeyBlock(const char* value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock.assign(value); }
98 inline ImportTr34KeyBlock& WithWrappedKeyBlock(const Aws::String& value) { SetWrappedKeyBlock(value); return *this;}
99 inline ImportTr34KeyBlock& WithWrappedKeyBlock(Aws::String&& value) { SetWrappedKeyBlock(std::move(value)); return *this;}
100 inline ImportTr34KeyBlock& WithWrappedKeyBlock(const char* value) { SetWrappedKeyBlock(value); return *this;}
102
104
108 inline const Tr34KeyBlockFormat& GetKeyBlockFormat() const{ return m_keyBlockFormat; }
109 inline bool KeyBlockFormatHasBeenSet() const { return m_keyBlockFormatHasBeenSet; }
110 inline void SetKeyBlockFormat(const Tr34KeyBlockFormat& value) { m_keyBlockFormatHasBeenSet = true; m_keyBlockFormat = value; }
111 inline void SetKeyBlockFormat(Tr34KeyBlockFormat&& value) { m_keyBlockFormatHasBeenSet = true; m_keyBlockFormat = std::move(value); }
112 inline ImportTr34KeyBlock& WithKeyBlockFormat(const Tr34KeyBlockFormat& value) { SetKeyBlockFormat(value); return *this;}
113 inline ImportTr34KeyBlock& WithKeyBlockFormat(Tr34KeyBlockFormat&& value) { SetKeyBlockFormat(std::move(value)); return *this;}
115
117
122 inline const Aws::String& GetRandomNonce() const{ return m_randomNonce; }
123 inline bool RandomNonceHasBeenSet() const { return m_randomNonceHasBeenSet; }
124 inline void SetRandomNonce(const Aws::String& value) { m_randomNonceHasBeenSet = true; m_randomNonce = value; }
125 inline void SetRandomNonce(Aws::String&& value) { m_randomNonceHasBeenSet = true; m_randomNonce = std::move(value); }
126 inline void SetRandomNonce(const char* value) { m_randomNonceHasBeenSet = true; m_randomNonce.assign(value); }
127 inline ImportTr34KeyBlock& WithRandomNonce(const Aws::String& value) { SetRandomNonce(value); return *this;}
128 inline ImportTr34KeyBlock& WithRandomNonce(Aws::String&& value) { SetRandomNonce(std::move(value)); return *this;}
129 inline ImportTr34KeyBlock& WithRandomNonce(const char* value) { SetRandomNonce(value); return *this;}
131 private:
132
133 Aws::String m_certificateAuthorityPublicKeyIdentifier;
134 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
135
136 Aws::String m_signingKeyCertificate;
137 bool m_signingKeyCertificateHasBeenSet = false;
138
139 Aws::String m_importToken;
140 bool m_importTokenHasBeenSet = false;
141
142 Aws::String m_wrappedKeyBlock;
143 bool m_wrappedKeyBlockHasBeenSet = false;
144
145 Tr34KeyBlockFormat m_keyBlockFormat;
146 bool m_keyBlockFormatHasBeenSet = false;
147
148 Aws::String m_randomNonce;
149 bool m_randomNonceHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace PaymentCryptography
154} // namespace Aws
ImportTr34KeyBlock & WithRandomNonce(const char *value)
ImportTr34KeyBlock & WithWrappedKeyBlock(const Aws::String &value)
ImportTr34KeyBlock & WithCertificateAuthorityPublicKeyIdentifier(const char *value)
ImportTr34KeyBlock & WithCertificateAuthorityPublicKeyIdentifier(Aws::String &&value)
ImportTr34KeyBlock & WithCertificateAuthorityPublicKeyIdentifier(const Aws::String &value)
ImportTr34KeyBlock & WithSigningKeyCertificate(Aws::String &&value)
ImportTr34KeyBlock & WithRandomNonce(Aws::String &&value)
ImportTr34KeyBlock & WithRandomNonce(const Aws::String &value)
ImportTr34KeyBlock & WithImportToken(Aws::String &&value)
ImportTr34KeyBlock & WithSigningKeyCertificate(const Aws::String &value)
ImportTr34KeyBlock & WithImportToken(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportTr34KeyBlock(Aws::Utils::Json::JsonView jsonValue)
const Tr34KeyBlockFormat & GetKeyBlockFormat() const
ImportTr34KeyBlock & WithKeyBlockFormat(Tr34KeyBlockFormat &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
ImportTr34KeyBlock & WithKeyBlockFormat(const Tr34KeyBlockFormat &value)
ImportTr34KeyBlock & WithWrappedKeyBlock(const char *value)
void SetKeyBlockFormat(const Tr34KeyBlockFormat &value)
ImportTr34KeyBlock & WithSigningKeyCertificate(const char *value)
ImportTr34KeyBlock & WithImportToken(const char *value)
void SetCertificateAuthorityPublicKeyIdentifier(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportTr34KeyBlock()
AWS_PAYMENTCRYPTOGRAPHY_API ImportTr34KeyBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCertificateAuthorityPublicKeyIdentifier(Aws::String &&value)
ImportTr34KeyBlock & WithWrappedKeyBlock(Aws::String &&value)
const Aws::String & GetCertificateAuthorityPublicKeyIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue