AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace PaymentCryptography
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyMaterial();
41 AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyMaterial(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyMaterial& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const RootCertificatePublicKey& GetRootCertificatePublicKey() const{ return m_rootCertificatePublicKey; }
51 inline bool RootCertificatePublicKeyHasBeenSet() const { return m_rootCertificatePublicKeyHasBeenSet; }
52 inline void SetRootCertificatePublicKey(const RootCertificatePublicKey& value) { m_rootCertificatePublicKeyHasBeenSet = true; m_rootCertificatePublicKey = value; }
53 inline void SetRootCertificatePublicKey(RootCertificatePublicKey&& value) { m_rootCertificatePublicKeyHasBeenSet = true; m_rootCertificatePublicKey = std::move(value); }
57
59
62 inline const TrustedCertificatePublicKey& GetTrustedCertificatePublicKey() const{ return m_trustedCertificatePublicKey; }
63 inline bool TrustedCertificatePublicKeyHasBeenSet() const { return m_trustedCertificatePublicKeyHasBeenSet; }
64 inline void SetTrustedCertificatePublicKey(const TrustedCertificatePublicKey& value) { m_trustedCertificatePublicKeyHasBeenSet = true; m_trustedCertificatePublicKey = value; }
65 inline void SetTrustedCertificatePublicKey(TrustedCertificatePublicKey&& value) { m_trustedCertificatePublicKeyHasBeenSet = true; m_trustedCertificatePublicKey = std::move(value); }
69
71
75 inline const ImportTr31KeyBlock& GetTr31KeyBlock() const{ return m_tr31KeyBlock; }
76 inline bool Tr31KeyBlockHasBeenSet() const { return m_tr31KeyBlockHasBeenSet; }
77 inline void SetTr31KeyBlock(const ImportTr31KeyBlock& value) { m_tr31KeyBlockHasBeenSet = true; m_tr31KeyBlock = value; }
78 inline void SetTr31KeyBlock(ImportTr31KeyBlock&& value) { m_tr31KeyBlockHasBeenSet = true; m_tr31KeyBlock = std::move(value); }
79 inline ImportKeyMaterial& WithTr31KeyBlock(const ImportTr31KeyBlock& value) { SetTr31KeyBlock(value); return *this;}
80 inline ImportKeyMaterial& WithTr31KeyBlock(ImportTr31KeyBlock&& value) { SetTr31KeyBlock(std::move(value)); return *this;}
82
84
88 inline const ImportTr34KeyBlock& GetTr34KeyBlock() const{ return m_tr34KeyBlock; }
89 inline bool Tr34KeyBlockHasBeenSet() const { return m_tr34KeyBlockHasBeenSet; }
90 inline void SetTr34KeyBlock(const ImportTr34KeyBlock& value) { m_tr34KeyBlockHasBeenSet = true; m_tr34KeyBlock = value; }
91 inline void SetTr34KeyBlock(ImportTr34KeyBlock&& value) { m_tr34KeyBlockHasBeenSet = true; m_tr34KeyBlock = std::move(value); }
92 inline ImportKeyMaterial& WithTr34KeyBlock(const ImportTr34KeyBlock& value) { SetTr34KeyBlock(value); return *this;}
93 inline ImportKeyMaterial& WithTr34KeyBlock(ImportTr34KeyBlock&& value) { SetTr34KeyBlock(std::move(value)); return *this;}
95
97
101 inline const ImportKeyCryptogram& GetKeyCryptogram() const{ return m_keyCryptogram; }
102 inline bool KeyCryptogramHasBeenSet() const { return m_keyCryptogramHasBeenSet; }
103 inline void SetKeyCryptogram(const ImportKeyCryptogram& value) { m_keyCryptogramHasBeenSet = true; m_keyCryptogram = value; }
104 inline void SetKeyCryptogram(ImportKeyCryptogram&& value) { m_keyCryptogramHasBeenSet = true; m_keyCryptogram = std::move(value); }
105 inline ImportKeyMaterial& WithKeyCryptogram(const ImportKeyCryptogram& value) { SetKeyCryptogram(value); return *this;}
106 inline ImportKeyMaterial& WithKeyCryptogram(ImportKeyCryptogram&& value) { SetKeyCryptogram(std::move(value)); return *this;}
108 private:
109
110 RootCertificatePublicKey m_rootCertificatePublicKey;
111 bool m_rootCertificatePublicKeyHasBeenSet = false;
112
113 TrustedCertificatePublicKey m_trustedCertificatePublicKey;
114 bool m_trustedCertificatePublicKeyHasBeenSet = false;
115
116 ImportTr31KeyBlock m_tr31KeyBlock;
117 bool m_tr31KeyBlockHasBeenSet = false;
118
119 ImportTr34KeyBlock m_tr34KeyBlock;
120 bool m_tr34KeyBlockHasBeenSet = false;
121
122 ImportKeyCryptogram m_keyCryptogram;
123 bool m_keyCryptogramHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace PaymentCryptography
128} // namespace Aws
ImportKeyMaterial & WithRootCertificatePublicKey(const RootCertificatePublicKey &value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyMaterial(Aws::Utils::Json::JsonView jsonValue)
void SetRootCertificatePublicKey(const RootCertificatePublicKey &value)
ImportKeyMaterial & WithTr31KeyBlock(ImportTr31KeyBlock &&value)
void SetTr34KeyBlock(const ImportTr34KeyBlock &value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyMaterial & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportKeyMaterial & WithTrustedCertificatePublicKey(TrustedCertificatePublicKey &&value)
ImportKeyMaterial & WithTr34KeyBlock(ImportTr34KeyBlock &&value)
ImportKeyMaterial & WithTr34KeyBlock(const ImportTr34KeyBlock &value)
ImportKeyMaterial & WithKeyCryptogram(ImportKeyCryptogram &&value)
const ImportTr34KeyBlock & GetTr34KeyBlock() const
void SetTrustedCertificatePublicKey(const TrustedCertificatePublicKey &value)
void SetTrustedCertificatePublicKey(TrustedCertificatePublicKey &&value)
ImportKeyMaterial & WithTr31KeyBlock(const ImportTr31KeyBlock &value)
const TrustedCertificatePublicKey & GetTrustedCertificatePublicKey() const
void SetKeyCryptogram(ImportKeyCryptogram &&value)
void SetTr31KeyBlock(const ImportTr31KeyBlock &value)
const ImportKeyCryptogram & GetKeyCryptogram() const
const ImportTr31KeyBlock & GetTr31KeyBlock() const
ImportKeyMaterial & WithTrustedCertificatePublicKey(const TrustedCertificatePublicKey &value)
ImportKeyMaterial & WithKeyCryptogram(const ImportKeyCryptogram &value)
void SetRootCertificatePublicKey(RootCertificatePublicKey &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportKeyMaterial()
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
const RootCertificatePublicKey & GetRootCertificatePublicKey() const
void SetKeyCryptogram(const ImportKeyCryptogram &value)
ImportKeyMaterial & WithRootCertificatePublicKey(RootCertificatePublicKey &&value)
Aws::Utils::Json::JsonValue JsonValue