AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
WrappedKey.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/payment-cryptography-data/model/WrappedKeyMaterial.h>
9#include <aws/payment-cryptography-data/model/KeyCheckValueAlgorithm.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 WrappedKey() = default;
37 AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKey(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKey& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const WrappedKeyMaterial& GetWrappedKeyMaterial() const { return m_wrappedKeyMaterial; }
47 inline bool WrappedKeyMaterialHasBeenSet() const { return m_wrappedKeyMaterialHasBeenSet; }
48 template<typename WrappedKeyMaterialT = WrappedKeyMaterial>
49 void SetWrappedKeyMaterial(WrappedKeyMaterialT&& value) { m_wrappedKeyMaterialHasBeenSet = true; m_wrappedKeyMaterial = std::forward<WrappedKeyMaterialT>(value); }
50 template<typename WrappedKeyMaterialT = WrappedKeyMaterial>
51 WrappedKey& WithWrappedKeyMaterial(WrappedKeyMaterialT&& value) { SetWrappedKeyMaterial(std::forward<WrappedKeyMaterialT>(value)); return *this;}
53
55
64 inline KeyCheckValueAlgorithm GetKeyCheckValueAlgorithm() const { return m_keyCheckValueAlgorithm; }
65 inline bool KeyCheckValueAlgorithmHasBeenSet() const { return m_keyCheckValueAlgorithmHasBeenSet; }
66 inline void SetKeyCheckValueAlgorithm(KeyCheckValueAlgorithm value) { m_keyCheckValueAlgorithmHasBeenSet = true; m_keyCheckValueAlgorithm = value; }
69 private:
70
71 WrappedKeyMaterial m_wrappedKeyMaterial;
72 bool m_wrappedKeyMaterialHasBeenSet = false;
73
75 bool m_keyCheckValueAlgorithmHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace PaymentCryptographyData
80} // namespace Aws
void SetKeyCheckValueAlgorithm(KeyCheckValueAlgorithm value)
Definition WrappedKey.h:66
WrappedKey & WithWrappedKeyMaterial(WrappedKeyMaterialT &&value)
Definition WrappedKey.h:51
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
WrappedKey & WithKeyCheckValueAlgorithm(KeyCheckValueAlgorithm value)
Definition WrappedKey.h:67
AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKey(Aws::Utils::Json::JsonView jsonValue)
const WrappedKeyMaterial & GetWrappedKeyMaterial() const
Definition WrappedKey.h:46
AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKey & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWrappedKeyMaterial(WrappedKeyMaterialT &&value)
Definition WrappedKey.h:49
KeyCheckValueAlgorithm GetKeyCheckValueAlgorithm() const
Definition WrappedKey.h:64
AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKey()=default
Aws::Utils::Json::JsonValue JsonValue