AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MacAlgorithmDukpt.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/payment-cryptography-data/model/DukptKeyVariant.h>
10#include <aws/payment-cryptography-data/model/DukptDerivationType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PaymentCryptographyData
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmDukpt();
38 AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmDukpt(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmDukpt& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetKeySerialNumber() const{ return m_keySerialNumber; }
50 inline bool KeySerialNumberHasBeenSet() const { return m_keySerialNumberHasBeenSet; }
51 inline void SetKeySerialNumber(const Aws::String& value) { m_keySerialNumberHasBeenSet = true; m_keySerialNumber = value; }
52 inline void SetKeySerialNumber(Aws::String&& value) { m_keySerialNumberHasBeenSet = true; m_keySerialNumber = std::move(value); }
53 inline void SetKeySerialNumber(const char* value) { m_keySerialNumberHasBeenSet = true; m_keySerialNumber.assign(value); }
54 inline MacAlgorithmDukpt& WithKeySerialNumber(const Aws::String& value) { SetKeySerialNumber(value); return *this;}
55 inline MacAlgorithmDukpt& WithKeySerialNumber(Aws::String&& value) { SetKeySerialNumber(std::move(value)); return *this;}
56 inline MacAlgorithmDukpt& WithKeySerialNumber(const char* value) { SetKeySerialNumber(value); return *this;}
58
60
64 inline const DukptKeyVariant& GetDukptKeyVariant() const{ return m_dukptKeyVariant; }
65 inline bool DukptKeyVariantHasBeenSet() const { return m_dukptKeyVariantHasBeenSet; }
66 inline void SetDukptKeyVariant(const DukptKeyVariant& value) { m_dukptKeyVariantHasBeenSet = true; m_dukptKeyVariant = value; }
67 inline void SetDukptKeyVariant(DukptKeyVariant&& value) { m_dukptKeyVariantHasBeenSet = true; m_dukptKeyVariant = std::move(value); }
68 inline MacAlgorithmDukpt& WithDukptKeyVariant(const DukptKeyVariant& value) { SetDukptKeyVariant(value); return *this;}
69 inline MacAlgorithmDukpt& WithDukptKeyVariant(DukptKeyVariant&& value) { SetDukptKeyVariant(std::move(value)); return *this;}
71
73
79 inline const DukptDerivationType& GetDukptDerivationType() const{ return m_dukptDerivationType; }
80 inline bool DukptDerivationTypeHasBeenSet() const { return m_dukptDerivationTypeHasBeenSet; }
81 inline void SetDukptDerivationType(const DukptDerivationType& value) { m_dukptDerivationTypeHasBeenSet = true; m_dukptDerivationType = value; }
82 inline void SetDukptDerivationType(DukptDerivationType&& value) { m_dukptDerivationTypeHasBeenSet = true; m_dukptDerivationType = std::move(value); }
84 inline MacAlgorithmDukpt& WithDukptDerivationType(DukptDerivationType&& value) { SetDukptDerivationType(std::move(value)); return *this;}
86 private:
87
88 Aws::String m_keySerialNumber;
89 bool m_keySerialNumberHasBeenSet = false;
90
91 DukptKeyVariant m_dukptKeyVariant;
92 bool m_dukptKeyVariantHasBeenSet = false;
93
94 DukptDerivationType m_dukptDerivationType;
95 bool m_dukptDerivationTypeHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace PaymentCryptographyData
100} // namespace Aws
MacAlgorithmDukpt & WithKeySerialNumber(const char *value)
MacAlgorithmDukpt & WithKeySerialNumber(Aws::String &&value)
void SetDukptKeyVariant(const DukptKeyVariant &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmDukpt & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmDukpt()
MacAlgorithmDukpt & WithDukptDerivationType(const DukptDerivationType &value)
void SetDukptDerivationType(const DukptDerivationType &value)
const DukptDerivationType & GetDukptDerivationType() const
MacAlgorithmDukpt & WithKeySerialNumber(const Aws::String &value)
MacAlgorithmDukpt & WithDukptKeyVariant(const DukptKeyVariant &value)
MacAlgorithmDukpt & WithDukptDerivationType(DukptDerivationType &&value)
MacAlgorithmDukpt & WithDukptKeyVariant(DukptKeyVariant &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAlgorithmDukpt(Aws::Utils::Json::JsonView jsonValue)
void SetDukptDerivationType(DukptDerivationType &&value)
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