AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
WrappedKeyMaterial.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/payment-cryptography-data/model/EcdhDerivationAttributes.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PaymentCryptographyData
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKeyMaterial() = default;
37 AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKeyMaterial(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKeyMaterial& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetTr31KeyBlock() const { return m_tr31KeyBlock; }
47 inline bool Tr31KeyBlockHasBeenSet() const { return m_tr31KeyBlockHasBeenSet; }
48 template<typename Tr31KeyBlockT = Aws::String>
49 void SetTr31KeyBlock(Tr31KeyBlockT&& value) { m_tr31KeyBlockHasBeenSet = true; m_tr31KeyBlock = std::forward<Tr31KeyBlockT>(value); }
50 template<typename Tr31KeyBlockT = Aws::String>
51 WrappedKeyMaterial& WithTr31KeyBlock(Tr31KeyBlockT&& value) { SetTr31KeyBlock(std::forward<Tr31KeyBlockT>(value)); return *this;}
53
55
58 inline const EcdhDerivationAttributes& GetDiffieHellmanSymmetricKey() const { return m_diffieHellmanSymmetricKey; }
59 inline bool DiffieHellmanSymmetricKeyHasBeenSet() const { return m_diffieHellmanSymmetricKeyHasBeenSet; }
60 template<typename DiffieHellmanSymmetricKeyT = EcdhDerivationAttributes>
61 void SetDiffieHellmanSymmetricKey(DiffieHellmanSymmetricKeyT&& value) { m_diffieHellmanSymmetricKeyHasBeenSet = true; m_diffieHellmanSymmetricKey = std::forward<DiffieHellmanSymmetricKeyT>(value); }
62 template<typename DiffieHellmanSymmetricKeyT = EcdhDerivationAttributes>
63 WrappedKeyMaterial& WithDiffieHellmanSymmetricKey(DiffieHellmanSymmetricKeyT&& value) { SetDiffieHellmanSymmetricKey(std::forward<DiffieHellmanSymmetricKeyT>(value)); return *this;}
65 private:
66
67 Aws::String m_tr31KeyBlock;
68 bool m_tr31KeyBlockHasBeenSet = false;
69
70 EcdhDerivationAttributes m_diffieHellmanSymmetricKey;
71 bool m_diffieHellmanSymmetricKeyHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace PaymentCryptographyData
76} // namespace Aws
WrappedKeyMaterial & WithDiffieHellmanSymmetricKey(DiffieHellmanSymmetricKeyT &&value)
const EcdhDerivationAttributes & GetDiffieHellmanSymmetricKey() const
WrappedKeyMaterial & WithTr31KeyBlock(Tr31KeyBlockT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKeyMaterial()=default
void SetDiffieHellmanSymmetricKey(DiffieHellmanSymmetricKeyT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKeyMaterial & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKeyMaterial(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue