AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ImportKeyMaterial.h
1
6#pragma once
7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/payment-cryptography/model/RootCertificatePublicKey.h>
9#include <aws/payment-cryptography/model/TrustedCertificatePublicKey.h>
10#include <aws/payment-cryptography/model/ImportTr31KeyBlock.h>
11#include <aws/payment-cryptography/model/ImportTr34KeyBlock.h>
12#include <aws/payment-cryptography/model/ImportKeyCryptogram.h>
13#include <aws/payment-cryptography/model/ImportDiffieHellmanTr31KeyBlock.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace PaymentCryptography
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyMaterial() = default;
42 AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyMaterial(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyMaterial& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const RootCertificatePublicKey& GetRootCertificatePublicKey() const { return m_rootCertificatePublicKey; }
52 inline bool RootCertificatePublicKeyHasBeenSet() const { return m_rootCertificatePublicKeyHasBeenSet; }
53 template<typename RootCertificatePublicKeyT = RootCertificatePublicKey>
54 void SetRootCertificatePublicKey(RootCertificatePublicKeyT&& value) { m_rootCertificatePublicKeyHasBeenSet = true; m_rootCertificatePublicKey = std::forward<RootCertificatePublicKeyT>(value); }
55 template<typename RootCertificatePublicKeyT = RootCertificatePublicKey>
56 ImportKeyMaterial& WithRootCertificatePublicKey(RootCertificatePublicKeyT&& value) { SetRootCertificatePublicKey(std::forward<RootCertificatePublicKeyT>(value)); return *this;}
58
60
63 inline const TrustedCertificatePublicKey& GetTrustedCertificatePublicKey() const { return m_trustedCertificatePublicKey; }
64 inline bool TrustedCertificatePublicKeyHasBeenSet() const { return m_trustedCertificatePublicKeyHasBeenSet; }
65 template<typename TrustedCertificatePublicKeyT = TrustedCertificatePublicKey>
66 void SetTrustedCertificatePublicKey(TrustedCertificatePublicKeyT&& value) { m_trustedCertificatePublicKeyHasBeenSet = true; m_trustedCertificatePublicKey = std::forward<TrustedCertificatePublicKeyT>(value); }
67 template<typename TrustedCertificatePublicKeyT = TrustedCertificatePublicKey>
68 ImportKeyMaterial& WithTrustedCertificatePublicKey(TrustedCertificatePublicKeyT&& value) { SetTrustedCertificatePublicKey(std::forward<TrustedCertificatePublicKeyT>(value)); return *this;}
70
72
76 inline const ImportTr31KeyBlock& GetTr31KeyBlock() const { return m_tr31KeyBlock; }
77 inline bool Tr31KeyBlockHasBeenSet() const { return m_tr31KeyBlockHasBeenSet; }
78 template<typename Tr31KeyBlockT = ImportTr31KeyBlock>
79 void SetTr31KeyBlock(Tr31KeyBlockT&& value) { m_tr31KeyBlockHasBeenSet = true; m_tr31KeyBlock = std::forward<Tr31KeyBlockT>(value); }
80 template<typename Tr31KeyBlockT = ImportTr31KeyBlock>
81 ImportKeyMaterial& WithTr31KeyBlock(Tr31KeyBlockT&& value) { SetTr31KeyBlock(std::forward<Tr31KeyBlockT>(value)); return *this;}
83
85
89 inline const ImportTr34KeyBlock& GetTr34KeyBlock() const { return m_tr34KeyBlock; }
90 inline bool Tr34KeyBlockHasBeenSet() const { return m_tr34KeyBlockHasBeenSet; }
91 template<typename Tr34KeyBlockT = ImportTr34KeyBlock>
92 void SetTr34KeyBlock(Tr34KeyBlockT&& value) { m_tr34KeyBlockHasBeenSet = true; m_tr34KeyBlock = std::forward<Tr34KeyBlockT>(value); }
93 template<typename Tr34KeyBlockT = ImportTr34KeyBlock>
94 ImportKeyMaterial& WithTr34KeyBlock(Tr34KeyBlockT&& value) { SetTr34KeyBlock(std::forward<Tr34KeyBlockT>(value)); return *this;}
96
98
102 inline const ImportKeyCryptogram& GetKeyCryptogram() const { return m_keyCryptogram; }
103 inline bool KeyCryptogramHasBeenSet() const { return m_keyCryptogramHasBeenSet; }
104 template<typename KeyCryptogramT = ImportKeyCryptogram>
105 void SetKeyCryptogram(KeyCryptogramT&& value) { m_keyCryptogramHasBeenSet = true; m_keyCryptogram = std::forward<KeyCryptogramT>(value); }
106 template<typename KeyCryptogramT = ImportKeyCryptogram>
107 ImportKeyMaterial& WithKeyCryptogram(KeyCryptogramT&& value) { SetKeyCryptogram(std::forward<KeyCryptogramT>(value)); return *this;}
109
111
115 inline const ImportDiffieHellmanTr31KeyBlock& GetDiffieHellmanTr31KeyBlock() const { return m_diffieHellmanTr31KeyBlock; }
116 inline bool DiffieHellmanTr31KeyBlockHasBeenSet() const { return m_diffieHellmanTr31KeyBlockHasBeenSet; }
117 template<typename DiffieHellmanTr31KeyBlockT = ImportDiffieHellmanTr31KeyBlock>
118 void SetDiffieHellmanTr31KeyBlock(DiffieHellmanTr31KeyBlockT&& value) { m_diffieHellmanTr31KeyBlockHasBeenSet = true; m_diffieHellmanTr31KeyBlock = std::forward<DiffieHellmanTr31KeyBlockT>(value); }
119 template<typename DiffieHellmanTr31KeyBlockT = ImportDiffieHellmanTr31KeyBlock>
120 ImportKeyMaterial& WithDiffieHellmanTr31KeyBlock(DiffieHellmanTr31KeyBlockT&& value) { SetDiffieHellmanTr31KeyBlock(std::forward<DiffieHellmanTr31KeyBlockT>(value)); return *this;}
122 private:
123
124 RootCertificatePublicKey m_rootCertificatePublicKey;
125 bool m_rootCertificatePublicKeyHasBeenSet = false;
126
127 TrustedCertificatePublicKey m_trustedCertificatePublicKey;
128 bool m_trustedCertificatePublicKeyHasBeenSet = false;
129
130 ImportTr31KeyBlock m_tr31KeyBlock;
131 bool m_tr31KeyBlockHasBeenSet = false;
132
133 ImportTr34KeyBlock m_tr34KeyBlock;
134 bool m_tr34KeyBlockHasBeenSet = false;
135
136 ImportKeyCryptogram m_keyCryptogram;
137 bool m_keyCryptogramHasBeenSet = false;
138
139 ImportDiffieHellmanTr31KeyBlock m_diffieHellmanTr31KeyBlock;
140 bool m_diffieHellmanTr31KeyBlockHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace PaymentCryptography
145} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyMaterial(Aws::Utils::Json::JsonView jsonValue)
ImportKeyMaterial & WithRootCertificatePublicKey(RootCertificatePublicKeyT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyMaterial & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDiffieHellmanTr31KeyBlock(DiffieHellmanTr31KeyBlockT &&value)
void SetTrustedCertificatePublicKey(TrustedCertificatePublicKeyT &&value)
ImportKeyMaterial & WithKeyCryptogram(KeyCryptogramT &&value)
const ImportTr34KeyBlock & GetTr34KeyBlock() const
const ImportDiffieHellmanTr31KeyBlock & GetDiffieHellmanTr31KeyBlock() const
const TrustedCertificatePublicKey & GetTrustedCertificatePublicKey() const
ImportKeyMaterial & WithTrustedCertificatePublicKey(TrustedCertificatePublicKeyT &&value)
const ImportKeyCryptogram & GetKeyCryptogram() const
const ImportTr31KeyBlock & GetTr31KeyBlock() const
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
const RootCertificatePublicKey & GetRootCertificatePublicKey() const
ImportKeyMaterial & WithTr34KeyBlock(Tr34KeyBlockT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyMaterial()=default
ImportKeyMaterial & WithTr31KeyBlock(Tr31KeyBlockT &&value)
void SetRootCertificatePublicKey(RootCertificatePublicKeyT &&value)
ImportKeyMaterial & WithDiffieHellmanTr31KeyBlock(DiffieHellmanTr31KeyBlockT &&value)
Aws::Utils::Json::JsonValue JsonValue