AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DukptDerivationAttributes.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/DukptDerivationType.h>
10#include <aws/payment-cryptography-data/model/DukptKeyVariant.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PaymentCryptographyData {
22namespace Model {
23
31 public:
32 AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptDerivationAttributes() = default;
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptDerivationAttributes(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptDerivationAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetKeySerialNumber() const { return m_keySerialNumber; }
44 inline bool KeySerialNumberHasBeenSet() const { return m_keySerialNumberHasBeenSet; }
45 template <typename KeySerialNumberT = Aws::String>
46 void SetKeySerialNumber(KeySerialNumberT&& value) {
47 m_keySerialNumberHasBeenSet = true;
48 m_keySerialNumber = std::forward<KeySerialNumberT>(value);
49 }
50 template <typename KeySerialNumberT = Aws::String>
52 SetKeySerialNumber(std::forward<KeySerialNumberT>(value));
53 return *this;
54 }
56
58
64 inline DukptDerivationType GetDukptKeyDerivationType() const { return m_dukptKeyDerivationType; }
65 inline bool DukptKeyDerivationTypeHasBeenSet() const { return m_dukptKeyDerivationTypeHasBeenSet; }
67 m_dukptKeyDerivationTypeHasBeenSet = true;
68 m_dukptKeyDerivationType = value;
69 }
72 return *this;
73 }
75
77
81 inline DukptKeyVariant GetDukptKeyVariant() const { return m_dukptKeyVariant; }
82 inline bool DukptKeyVariantHasBeenSet() const { return m_dukptKeyVariantHasBeenSet; }
84 m_dukptKeyVariantHasBeenSet = true;
85 m_dukptKeyVariant = value;
86 }
88 SetDukptKeyVariant(value);
89 return *this;
90 }
92 private:
93 Aws::String m_keySerialNumber;
94
95 DukptDerivationType m_dukptKeyDerivationType{DukptDerivationType::NOT_SET};
96
98 bool m_keySerialNumberHasBeenSet = false;
99 bool m_dukptKeyDerivationTypeHasBeenSet = false;
100 bool m_dukptKeyVariantHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace PaymentCryptographyData
105} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptDerivationAttributes(Aws::Utils::Json::JsonView jsonValue)
DukptDerivationAttributes & WithDukptKeyVariant(DukptKeyVariant value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptDerivationAttributes()=default
DukptDerivationAttributes & WithDukptKeyDerivationType(DukptDerivationType value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
DukptDerivationAttributes & WithKeySerialNumber(KeySerialNumberT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptDerivationAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue