AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
WrappedWorkingKey.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/WrappedKeyMaterialFormat.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 WrappedWorkingKey() = default;
32 AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedWorkingKey(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedWorkingKey& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetWrappedKeyMaterial() const { return m_wrappedKeyMaterial; }
41 inline bool WrappedKeyMaterialHasBeenSet() const { return m_wrappedKeyMaterialHasBeenSet; }
42 template <typename WrappedKeyMaterialT = Aws::String>
43 void SetWrappedKeyMaterial(WrappedKeyMaterialT&& value) {
44 m_wrappedKeyMaterialHasBeenSet = true;
45 m_wrappedKeyMaterial = std::forward<WrappedKeyMaterialT>(value);
46 }
47 template <typename WrappedKeyMaterialT = Aws::String>
48 WrappedWorkingKey& WithWrappedKeyMaterial(WrappedKeyMaterialT&& value) {
49 SetWrappedKeyMaterial(std::forward<WrappedKeyMaterialT>(value));
50 return *this;
51 }
53
55
63 inline const Aws::String& GetKeyCheckValue() const { return m_keyCheckValue; }
64 inline bool KeyCheckValueHasBeenSet() const { return m_keyCheckValueHasBeenSet; }
65 template <typename KeyCheckValueT = Aws::String>
66 void SetKeyCheckValue(KeyCheckValueT&& value) {
67 m_keyCheckValueHasBeenSet = true;
68 m_keyCheckValue = std::forward<KeyCheckValueT>(value);
69 }
70 template <typename KeyCheckValueT = Aws::String>
71 WrappedWorkingKey& WithKeyCheckValue(KeyCheckValueT&& value) {
72 SetKeyCheckValue(std::forward<KeyCheckValueT>(value));
73 return *this;
74 }
76
78
81 inline WrappedKeyMaterialFormat GetWrappedKeyMaterialFormat() const { return m_wrappedKeyMaterialFormat; }
82 inline bool WrappedKeyMaterialFormatHasBeenSet() const { return m_wrappedKeyMaterialFormatHasBeenSet; }
84 m_wrappedKeyMaterialFormatHasBeenSet = true;
85 m_wrappedKeyMaterialFormat = value;
86 }
89 return *this;
90 }
92 private:
93 Aws::String m_wrappedKeyMaterial;
94
95 Aws::String m_keyCheckValue;
96
98 bool m_wrappedKeyMaterialHasBeenSet = false;
99 bool m_keyCheckValueHasBeenSet = false;
100 bool m_wrappedKeyMaterialFormatHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace PaymentCryptographyData
105} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedWorkingKey(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedWorkingKey & operator=(Aws::Utils::Json::JsonView jsonValue)
WrappedWorkingKey & WithWrappedKeyMaterialFormat(WrappedKeyMaterialFormat value)
void SetWrappedKeyMaterialFormat(WrappedKeyMaterialFormat value)
WrappedWorkingKey & WithWrappedKeyMaterial(WrappedKeyMaterialT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
WrappedWorkingKey & WithKeyCheckValue(KeyCheckValueT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API WrappedWorkingKey()=default
void SetWrappedKeyMaterial(WrappedKeyMaterialT &&value)
WrappedKeyMaterialFormat GetWrappedKeyMaterialFormat() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue