AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetWrappedKeyMaterial(const WrappedKeyMaterial& value) { m_wrappedKeyMaterialHasBeenSet = true; m_wrappedKeyMaterial = value; }
49 inline void SetWrappedKeyMaterial(WrappedKeyMaterial&& value) { m_wrappedKeyMaterialHasBeenSet = true; m_wrappedKeyMaterial = std::move(value); }
50 inline WrappedKey& WithWrappedKeyMaterial(const WrappedKeyMaterial& value) { SetWrappedKeyMaterial(value); return *this;}
51 inline WrappedKey& WithWrappedKeyMaterial(WrappedKeyMaterial&& value) { SetWrappedKeyMaterial(std::move(value)); return *this;}
53
55
64 inline const KeyCheckValueAlgorithm& GetKeyCheckValueAlgorithm() const{ return m_keyCheckValueAlgorithm; }
65 inline bool KeyCheckValueAlgorithmHasBeenSet() const { return m_keyCheckValueAlgorithmHasBeenSet; }
66 inline void SetKeyCheckValueAlgorithm(const KeyCheckValueAlgorithm& value) { m_keyCheckValueAlgorithmHasBeenSet = true; m_keyCheckValueAlgorithm = value; }
67 inline void SetKeyCheckValueAlgorithm(KeyCheckValueAlgorithm&& value) { m_keyCheckValueAlgorithmHasBeenSet = true; m_keyCheckValueAlgorithm = std::move(value); }
71 private:
72
73 WrappedKeyMaterial m_wrappedKeyMaterial;
74 bool m_wrappedKeyMaterialHasBeenSet = false;
75
76 KeyCheckValueAlgorithm m_keyCheckValueAlgorithm;
77 bool m_keyCheckValueAlgorithmHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace PaymentCryptographyData
82} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedKey()
WrappedKey & WithKeyCheckValueAlgorithm(KeyCheckValueAlgorithm &&value)
Definition WrappedKey.h:69
void SetKeyCheckValueAlgorithm(KeyCheckValueAlgorithm &&value)
Definition WrappedKey.h:67
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKeyCheckValueAlgorithm(const KeyCheckValueAlgorithm &value)
Definition WrappedKey.h:66
WrappedKey & WithWrappedKeyMaterial(const WrappedKeyMaterial &value)
Definition WrappedKey.h:50
void SetWrappedKeyMaterial(const WrappedKeyMaterial &value)
Definition WrappedKey.h:48
WrappedKey & WithKeyCheckValueAlgorithm(const KeyCheckValueAlgorithm &value)
Definition WrappedKey.h:68
WrappedKey & WithWrappedKeyMaterial(WrappedKeyMaterial &&value)
Definition WrappedKey.h:51
const KeyCheckValueAlgorithm & GetKeyCheckValueAlgorithm() const
Definition WrappedKey.h:64
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(WrappedKeyMaterial &&value)
Definition WrappedKey.h:49
Aws::Utils::Json::JsonValue JsonValue