AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
51 void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) { m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; m_certificateAuthorityPublicKeyIdentifier = std::forward<CertificateAuthorityPublicKeyIdentifierT>(value); }
52 template<typename CertificateAuthorityPublicKeyIdentifierT = Aws::String>
53 ExportTr34KeyBlock& WithCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT&& value) { SetCertificateAuthorityPublicKeyIdentifier(std::forward<CertificateAuthorityPublicKeyIdentifierT>(value)); return *this;}
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) { m_wrappingKeyCertificateHasBeenSet = true; m_wrappingKeyCertificate = std::forward<WrappingKeyCertificateT>(value); }
65 template<typename WrappingKeyCertificateT = Aws::String>
66 ExportTr34KeyBlock& WithWrappingKeyCertificate(WrappingKeyCertificateT&& value) { SetWrappingKeyCertificate(std::forward<WrappingKeyCertificateT>(value)); return *this;}
68
70
78 inline const Aws::String& GetExportToken() const { return m_exportToken; }
79 inline bool ExportTokenHasBeenSet() const { return m_exportTokenHasBeenSet; }
80 template<typename ExportTokenT = Aws::String>
81 void SetExportToken(ExportTokenT&& value) { m_exportTokenHasBeenSet = true; m_exportToken = std::forward<ExportTokenT>(value); }
82 template<typename ExportTokenT = Aws::String>
83 ExportTr34KeyBlock& WithExportToken(ExportTokenT&& value) { SetExportToken(std::forward<ExportTokenT>(value)); return *this;}
85
87
91 inline Tr34KeyBlockFormat GetKeyBlockFormat() const { return m_keyBlockFormat; }
92 inline bool KeyBlockFormatHasBeenSet() const { return m_keyBlockFormatHasBeenSet; }
93 inline void SetKeyBlockFormat(Tr34KeyBlockFormat value) { m_keyBlockFormatHasBeenSet = true; m_keyBlockFormat = value; }
96
98
103 inline const Aws::String& GetRandomNonce() const { return m_randomNonce; }
104 inline bool RandomNonceHasBeenSet() const { return m_randomNonceHasBeenSet; }
105 template<typename RandomNonceT = Aws::String>
106 void SetRandomNonce(RandomNonceT&& value) { m_randomNonceHasBeenSet = true; m_randomNonce = std::forward<RandomNonceT>(value); }
107 template<typename RandomNonceT = Aws::String>
108 ExportTr34KeyBlock& WithRandomNonce(RandomNonceT&& value) { SetRandomNonce(std::forward<RandomNonceT>(value)); return *this;}
110
112
116 inline const KeyBlockHeaders& GetKeyBlockHeaders() const { return m_keyBlockHeaders; }
117 inline bool KeyBlockHeadersHasBeenSet() const { return m_keyBlockHeadersHasBeenSet; }
118 template<typename KeyBlockHeadersT = KeyBlockHeaders>
119 void SetKeyBlockHeaders(KeyBlockHeadersT&& value) { m_keyBlockHeadersHasBeenSet = true; m_keyBlockHeaders = std::forward<KeyBlockHeadersT>(value); }
120 template<typename KeyBlockHeadersT = KeyBlockHeaders>
121 ExportTr34KeyBlock& WithKeyBlockHeaders(KeyBlockHeadersT&& value) { SetKeyBlockHeaders(std::forward<KeyBlockHeadersT>(value)); return *this;}
123 private:
124
125 Aws::String m_certificateAuthorityPublicKeyIdentifier;
126 bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false;
127
128 Aws::String m_wrappingKeyCertificate;
129 bool m_wrappingKeyCertificateHasBeenSet = false;
130
131 Aws::String m_exportToken;
132 bool m_exportTokenHasBeenSet = false;
133
135 bool m_keyBlockFormatHasBeenSet = false;
136
137 Aws::String m_randomNonce;
138 bool m_randomNonceHasBeenSet = false;
139
140 KeyBlockHeaders m_keyBlockHeaders;
141 bool m_keyBlockHeadersHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace PaymentCryptography
146} // namespace Aws
ExportTr34KeyBlock & WithKeyBlockHeaders(KeyBlockHeadersT &&value)
void SetWrappingKeyCertificate(WrappingKeyCertificateT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportTr34KeyBlock(Aws::Utils::Json::JsonView jsonValue)
ExportTr34KeyBlock & WithExportToken(ExportTokenT &&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
void SetCertificateAuthorityPublicKeyIdentifier(CertificateAuthorityPublicKeyIdentifierT &&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