AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportTr34KeyBlock.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 <aws/payment-cryptography/model/KeyBlockHeaders.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PaymentCryptography
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PAYMENTCRYPTOGRAPHY_API ExportTr34KeyBlock();
38 AWS_PAYMENTCRYPTOGRAPHY_API ExportTr34KeyBlock(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PAYMENTCRYPTOGRAPHY_API ExportTr34KeyBlock& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetCertificateAuthorityPublicKeyIdentifier() const{ return m_certificateAuthorityPublicKeyIdentifier; }
49 inline bool CertificateAuthorityPublicKeyIdentifierHasBeenSet() const { return m_certificateAuthorityPublicKeyIdentifierHasBeenSet; }
50 inline void SetCertificateAuthorityPublicKeyIdentifier(const Aws::String& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = value; }
51 inline void SetCertificateAuthorityPublicKeyIdentifier(Aws::String&& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = std::move(value); }
52 inline void SetCertificateAuthorityPublicKeyIdentifier(const char* value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier.assign(value); }
57
59
63 inline const Aws::String& GetWrappingKeyCertificate() const{ return m_wrappingKeyCertificate; }
64 inline bool WrappingKeyCertificateHasBeenSet() const { return m_wrappingKeyCertificateHasBeenSet; }
65 inline void SetWrappingKeyCertificate(const Aws::String& value) { m_wrappingKeyCertificateHasBeenSet = true; m_wrappingKeyCertificate = value; }
66 inline void SetWrappingKeyCertificate(Aws::String&& value) { m_wrappingKeyCertificateHasBeenSet = true; m_wrappingKeyCertificate = std::move(value); }
67 inline void SetWrappingKeyCertificate(const char* value) { m_wrappingKeyCertificateHasBeenSet = true; m_wrappingKeyCertificate.assign(value); }
69 inline ExportTr34KeyBlock& WithWrappingKeyCertificate(Aws::String&& value) { SetWrappingKeyCertificate(std::move(value)); return *this;}
70 inline ExportTr34KeyBlock& WithWrappingKeyCertificate(const char* value) { SetWrappingKeyCertificate(value); return *this;}
72
74
82 inline const Aws::String& GetExportToken() const{ return m_exportToken; }
83 inline bool ExportTokenHasBeenSet() const { return m_exportTokenHasBeenSet; }
84 inline void SetExportToken(const Aws::String& value) { m_exportTokenHasBeenSet = true; m_exportToken = value; }
85 inline void SetExportToken(Aws::String&& value) { m_exportTokenHasBeenSet = true; m_exportToken = std::move(value); }
86 inline void SetExportToken(const char* value) { m_exportTokenHasBeenSet = true; m_exportToken.assign(value); }
87 inline ExportTr34KeyBlock& WithExportToken(const Aws::String& value) { SetExportToken(value); return *this;}
88 inline ExportTr34KeyBlock& WithExportToken(Aws::String&& value) { SetExportToken(std::move(value)); return *this;}
89 inline ExportTr34KeyBlock& WithExportToken(const char* value) { SetExportToken(value); return *this;}
91
93
97 inline const Tr34KeyBlockFormat& GetKeyBlockFormat() const{ return m_keyBlockFormat; }
98 inline bool KeyBlockFormatHasBeenSet() const { return m_keyBlockFormatHasBeenSet; }
99 inline void SetKeyBlockFormat(const Tr34KeyBlockFormat& value) { m_keyBlockFormatHasBeenSet = true; m_keyBlockFormat = value; }
100 inline void SetKeyBlockFormat(Tr34KeyBlockFormat&& value) { m_keyBlockFormatHasBeenSet = true; m_keyBlockFormat = std::move(value); }
101 inline ExportTr34KeyBlock& WithKeyBlockFormat(const Tr34KeyBlockFormat& value) { SetKeyBlockFormat(value); return *this;}
102 inline ExportTr34KeyBlock& WithKeyBlockFormat(Tr34KeyBlockFormat&& value) { SetKeyBlockFormat(std::move(value)); return *this;}
104
106
111 inline const Aws::String& GetRandomNonce() const{ return m_randomNonce; }
112 inline bool RandomNonceHasBeenSet() const { return m_randomNonceHasBeenSet; }
113 inline void SetRandomNonce(const Aws::String& value) { m_randomNonceHasBeenSet = true; m_randomNonce = value; }
114 inline void SetRandomNonce(Aws::String&& value) { m_randomNonceHasBeenSet = true; m_randomNonce = std::move(value); }
115 inline void SetRandomNonce(const char* value) { m_randomNonceHasBeenSet = true; m_randomNonce.assign(value); }
116 inline ExportTr34KeyBlock& WithRandomNonce(const Aws::String& value) { SetRandomNonce(value); return *this;}
117 inline ExportTr34KeyBlock& WithRandomNonce(Aws::String&& value) { SetRandomNonce(std::move(value)); return *this;}
118 inline ExportTr34KeyBlock& WithRandomNonce(const char* value) { SetRandomNonce(value); return *this;}
120
122
126 inline const KeyBlockHeaders& GetKeyBlockHeaders() const{ return m_keyBlockHeaders; }
127 inline bool KeyBlockHeadersHasBeenSet() const { return m_keyBlockHeadersHasBeenSet; }
128 inline void SetKeyBlockHeaders(const KeyBlockHeaders& value) { m_keyBlockHeadersHasBeenSet = true; m_keyBlockHeaders = value; }
129 inline void SetKeyBlockHeaders(KeyBlockHeaders&& value) { m_keyBlockHeadersHasBeenSet = true; m_keyBlockHeaders = std::move(value); }
130 inline ExportTr34KeyBlock& WithKeyBlockHeaders(const KeyBlockHeaders& value) { SetKeyBlockHeaders(value); return *this;}
131 inline ExportTr34KeyBlock& WithKeyBlockHeaders(KeyBlockHeaders&& value) { SetKeyBlockHeaders(std::move(value)); return *this;}
133 private:
134
135 Aws::String m_certificateAuthorityPublicKeyIdentifier;
136 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
137
138 Aws::String m_wrappingKeyCertificate;
139 bool m_wrappingKeyCertificateHasBeenSet = false;
140
141 Aws::String m_exportToken;
142 bool m_exportTokenHasBeenSet = false;
143
144 Tr34KeyBlockFormat m_keyBlockFormat;
145 bool m_keyBlockFormatHasBeenSet = false;
146
147 Aws::String m_randomNonce;
148 bool m_randomNonceHasBeenSet = false;
149
150 KeyBlockHeaders m_keyBlockHeaders;
151 bool m_keyBlockHeadersHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace PaymentCryptography
156} // namespace Aws
ExportTr34KeyBlock & WithRandomNonce(Aws::String &&value)
ExportTr34KeyBlock & WithExportToken(const Aws::String &value)
ExportTr34KeyBlock & WithKeyBlockHeaders(const KeyBlockHeaders &value)
ExportTr34KeyBlock & WithWrappingKeyCertificate(const char *value)
ExportTr34KeyBlock & WithWrappingKeyCertificate(Aws::String &&value)
ExportTr34KeyBlock & WithCertificateAuthorityPublicKeyIdentifier(const char *value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportTr34KeyBlock(Aws::Utils::Json::JsonView jsonValue)
ExportTr34KeyBlock & WithRandomNonce(const Aws::String &value)
void SetKeyBlockHeaders(const KeyBlockHeaders &value)
void SetCertificateAuthorityPublicKeyIdentifier(const Aws::String &value)
ExportTr34KeyBlock & WithKeyBlockHeaders(KeyBlockHeaders &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportTr34KeyBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportTr34KeyBlock & WithWrappingKeyCertificate(const Aws::String &value)
ExportTr34KeyBlock & WithCertificateAuthorityPublicKeyIdentifier(Aws::String &&value)
ExportTr34KeyBlock & WithExportToken(Aws::String &&value)
void SetCertificateAuthorityPublicKeyIdentifier(Aws::String &&value)
ExportTr34KeyBlock & WithExportToken(const char *value)
const Aws::String & GetCertificateAuthorityPublicKeyIdentifier() const
void SetKeyBlockFormat(const Tr34KeyBlockFormat &value)
ExportTr34KeyBlock & WithCertificateAuthorityPublicKeyIdentifier(const Aws::String &value)
const Tr34KeyBlockFormat & GetKeyBlockFormat() const
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
ExportTr34KeyBlock & WithKeyBlockFormat(const Tr34KeyBlockFormat &value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportTr34KeyBlock()
ExportTr34KeyBlock & WithRandomNonce(const char *value)
ExportTr34KeyBlock & WithKeyBlockFormat(Tr34KeyBlockFormat &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue