AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ExportKeyMaterial.h
1
6#pragma once
7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/payment-cryptography/model/ExportTr31KeyBlock.h>
9#include <aws/payment-cryptography/model/ExportTr34KeyBlock.h>
10#include <aws/payment-cryptography/model/ExportKeyCryptogram.h>
11#include <aws/payment-cryptography/model/ExportDiffieHellmanTr31KeyBlock.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace PaymentCryptography
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyMaterial() = default;
40 AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyMaterial(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyMaterial& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const ExportTr31KeyBlock& GetTr31KeyBlock() const { return m_tr31KeyBlock; }
51 inline bool Tr31KeyBlockHasBeenSet() const { return m_tr31KeyBlockHasBeenSet; }
52 template<typename Tr31KeyBlockT = ExportTr31KeyBlock>
53 void SetTr31KeyBlock(Tr31KeyBlockT&& value) { m_tr31KeyBlockHasBeenSet = true; m_tr31KeyBlock = std::forward<Tr31KeyBlockT>(value); }
54 template<typename Tr31KeyBlockT = ExportTr31KeyBlock>
55 ExportKeyMaterial& WithTr31KeyBlock(Tr31KeyBlockT&& value) { SetTr31KeyBlock(std::forward<Tr31KeyBlockT>(value)); return *this;}
57
59
63 inline const ExportTr34KeyBlock& GetTr34KeyBlock() const { return m_tr34KeyBlock; }
64 inline bool Tr34KeyBlockHasBeenSet() const { return m_tr34KeyBlockHasBeenSet; }
65 template<typename Tr34KeyBlockT = ExportTr34KeyBlock>
66 void SetTr34KeyBlock(Tr34KeyBlockT&& value) { m_tr34KeyBlockHasBeenSet = true; m_tr34KeyBlock = std::forward<Tr34KeyBlockT>(value); }
67 template<typename Tr34KeyBlockT = ExportTr34KeyBlock>
68 ExportKeyMaterial& WithTr34KeyBlock(Tr34KeyBlockT&& value) { SetTr34KeyBlock(std::forward<Tr34KeyBlockT>(value)); return *this;}
70
72
76 inline const ExportKeyCryptogram& GetKeyCryptogram() const { return m_keyCryptogram; }
77 inline bool KeyCryptogramHasBeenSet() const { return m_keyCryptogramHasBeenSet; }
78 template<typename KeyCryptogramT = ExportKeyCryptogram>
79 void SetKeyCryptogram(KeyCryptogramT&& value) { m_keyCryptogramHasBeenSet = true; m_keyCryptogram = std::forward<KeyCryptogramT>(value); }
80 template<typename KeyCryptogramT = ExportKeyCryptogram>
81 ExportKeyMaterial& WithKeyCryptogram(KeyCryptogramT&& value) { SetKeyCryptogram(std::forward<KeyCryptogramT>(value)); return *this;}
83
85
89 inline const ExportDiffieHellmanTr31KeyBlock& GetDiffieHellmanTr31KeyBlock() const { return m_diffieHellmanTr31KeyBlock; }
90 inline bool DiffieHellmanTr31KeyBlockHasBeenSet() const { return m_diffieHellmanTr31KeyBlockHasBeenSet; }
91 template<typename DiffieHellmanTr31KeyBlockT = ExportDiffieHellmanTr31KeyBlock>
92 void SetDiffieHellmanTr31KeyBlock(DiffieHellmanTr31KeyBlockT&& value) { m_diffieHellmanTr31KeyBlockHasBeenSet = true; m_diffieHellmanTr31KeyBlock = std::forward<DiffieHellmanTr31KeyBlockT>(value); }
93 template<typename DiffieHellmanTr31KeyBlockT = ExportDiffieHellmanTr31KeyBlock>
94 ExportKeyMaterial& WithDiffieHellmanTr31KeyBlock(DiffieHellmanTr31KeyBlockT&& value) { SetDiffieHellmanTr31KeyBlock(std::forward<DiffieHellmanTr31KeyBlockT>(value)); return *this;}
96 private:
97
98 ExportTr31KeyBlock m_tr31KeyBlock;
99 bool m_tr31KeyBlockHasBeenSet = false;
100
101 ExportTr34KeyBlock m_tr34KeyBlock;
102 bool m_tr34KeyBlockHasBeenSet = false;
103
104 ExportKeyCryptogram m_keyCryptogram;
105 bool m_keyCryptogramHasBeenSet = false;
106
107 ExportDiffieHellmanTr31KeyBlock m_diffieHellmanTr31KeyBlock;
108 bool m_diffieHellmanTr31KeyBlockHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace PaymentCryptography
113} // namespace Aws
const ExportDiffieHellmanTr31KeyBlock & GetDiffieHellmanTr31KeyBlock() const
AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyMaterial & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyMaterial()=default
const ExportTr31KeyBlock & GetTr31KeyBlock() const
ExportKeyMaterial & WithTr34KeyBlock(Tr34KeyBlockT &&value)
ExportKeyMaterial & WithDiffieHellmanTr31KeyBlock(DiffieHellmanTr31KeyBlockT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyMaterial(Aws::Utils::Json::JsonView jsonValue)
const ExportTr34KeyBlock & GetTr34KeyBlock() const
ExportKeyMaterial & WithKeyCryptogram(KeyCryptogramT &&value)
ExportKeyMaterial & WithTr31KeyBlock(Tr31KeyBlockT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
const ExportKeyCryptogram & GetKeyCryptogram() const
void SetDiffieHellmanTr31KeyBlock(DiffieHellmanTr31KeyBlockT &&value)
Aws::Utils::Json::JsonValue JsonValue