AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
MacAlgorithmDukpt.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 MacAlgorithmDukpt() = default;
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmDukpt(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmDukpt& 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>
51 MacAlgorithmDukpt& WithKeySerialNumber(KeySerialNumberT&& value) {
52 SetKeySerialNumber(std::forward<KeySerialNumberT>(value));
53 return *this;
54 }
56
58
62 inline DukptKeyVariant GetDukptKeyVariant() const { return m_dukptKeyVariant; }
63 inline bool DukptKeyVariantHasBeenSet() const { return m_dukptKeyVariantHasBeenSet; }
65 m_dukptKeyVariantHasBeenSet = true;
66 m_dukptKeyVariant = value;
67 }
69 SetDukptKeyVariant(value);
70 return *this;
71 }
73
75
81 inline DukptDerivationType GetDukptDerivationType() const { return m_dukptDerivationType; }
82 inline bool DukptDerivationTypeHasBeenSet() const { return m_dukptDerivationTypeHasBeenSet; }
84 m_dukptDerivationTypeHasBeenSet = true;
85 m_dukptDerivationType = value;
86 }
89 return *this;
90 }
92 private:
93 Aws::String m_keySerialNumber;
94
96
98 bool m_keySerialNumberHasBeenSet = false;
99 bool m_dukptKeyVariantHasBeenSet = false;
100 bool m_dukptDerivationTypeHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace PaymentCryptographyData
105} // namespace Aws
MacAlgorithmDukpt & WithDukptDerivationType(DukptDerivationType value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmDukpt & operator=(Aws::Utils::Json::JsonView jsonValue)
MacAlgorithmDukpt & WithKeySerialNumber(KeySerialNumberT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmDukpt()=default
MacAlgorithmDukpt & WithDukptKeyVariant(DukptKeyVariant value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmDukpt(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