AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
WrappedKeyMaterial.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
9#include <aws/payment-cryptography-data/model/EcdhDerivationAttributes.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PaymentCryptographyData {
21namespace Model {
22
30 public:
31 AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKeyMaterial() = default;
32 AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKeyMaterial(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKeyMaterial& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetTr31KeyBlock() const { return m_tr31KeyBlock; }
41 inline bool Tr31KeyBlockHasBeenSet() const { return m_tr31KeyBlockHasBeenSet; }
42 template <typename Tr31KeyBlockT = Aws::String>
43 void SetTr31KeyBlock(Tr31KeyBlockT&& value) {
44 m_tr31KeyBlockHasBeenSet = true;
45 m_tr31KeyBlock = std::forward<Tr31KeyBlockT>(value);
46 }
47 template <typename Tr31KeyBlockT = Aws::String>
48 WrappedKeyMaterial& WithTr31KeyBlock(Tr31KeyBlockT&& value) {
49 SetTr31KeyBlock(std::forward<Tr31KeyBlockT>(value));
50 return *this;
51 }
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) {
62 m_diffieHellmanSymmetricKeyHasBeenSet = true;
63 m_diffieHellmanSymmetricKey = std::forward<DiffieHellmanSymmetricKeyT>(value);
64 }
65 template <typename DiffieHellmanSymmetricKeyT = EcdhDerivationAttributes>
66 WrappedKeyMaterial& WithDiffieHellmanSymmetricKey(DiffieHellmanSymmetricKeyT&& value) {
67 SetDiffieHellmanSymmetricKey(std::forward<DiffieHellmanSymmetricKeyT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_tr31KeyBlock;
73
74 EcdhDerivationAttributes m_diffieHellmanSymmetricKey;
75 bool m_tr31KeyBlockHasBeenSet = false;
76 bool m_diffieHellmanSymmetricKeyHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace PaymentCryptographyData
81} // 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