AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DukptEncryptionAttributes.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/DukptEncryptionMode.h>
10#include <aws/payment-cryptography-data/model/DukptDerivationType.h>
11#include <aws/payment-cryptography-data/model/DukptKeyVariant.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace PaymentCryptographyData
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptEncryptionAttributes();
39 AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptEncryptionAttributes(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptEncryptionAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetKeySerialNumber() const{ return m_keySerialNumber; }
51 inline bool KeySerialNumberHasBeenSet() const { return m_keySerialNumberHasBeenSet; }
52 inline void SetKeySerialNumber(const Aws::String& value) { m_keySerialNumberHasBeenSet = true; m_keySerialNumber = value; }
53 inline void SetKeySerialNumber(Aws::String&& value) { m_keySerialNumberHasBeenSet = true; m_keySerialNumber = std::move(value); }
54 inline void SetKeySerialNumber(const char* value) { m_keySerialNumberHasBeenSet = true; m_keySerialNumber.assign(value); }
55 inline DukptEncryptionAttributes& WithKeySerialNumber(const Aws::String& value) { SetKeySerialNumber(value); return *this;}
56 inline DukptEncryptionAttributes& WithKeySerialNumber(Aws::String&& value) { SetKeySerialNumber(std::move(value)); return *this;}
57 inline DukptEncryptionAttributes& WithKeySerialNumber(const char* value) { SetKeySerialNumber(value); return *this;}
59
61
64 inline const DukptEncryptionMode& GetMode() const{ return m_mode; }
65 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
66 inline void SetMode(const DukptEncryptionMode& value) { m_modeHasBeenSet = true; m_mode = value; }
67 inline void SetMode(DukptEncryptionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
68 inline DukptEncryptionAttributes& WithMode(const DukptEncryptionMode& value) { SetMode(value); return *this;}
69 inline DukptEncryptionAttributes& WithMode(DukptEncryptionMode&& value) { SetMode(std::move(value)); return *this;}
71
73
79 inline const DukptDerivationType& GetDukptKeyDerivationType() const{ return m_dukptKeyDerivationType; }
80 inline bool DukptKeyDerivationTypeHasBeenSet() const { return m_dukptKeyDerivationTypeHasBeenSet; }
81 inline void SetDukptKeyDerivationType(const DukptDerivationType& value) { m_dukptKeyDerivationTypeHasBeenSet = true; m_dukptKeyDerivationType = value; }
82 inline void SetDukptKeyDerivationType(DukptDerivationType&& value) { m_dukptKeyDerivationTypeHasBeenSet = true; m_dukptKeyDerivationType = std::move(value); }
86
88
92 inline const DukptKeyVariant& GetDukptKeyVariant() const{ return m_dukptKeyVariant; }
93 inline bool DukptKeyVariantHasBeenSet() const { return m_dukptKeyVariantHasBeenSet; }
94 inline void SetDukptKeyVariant(const DukptKeyVariant& value) { m_dukptKeyVariantHasBeenSet = true; m_dukptKeyVariant = value; }
95 inline void SetDukptKeyVariant(DukptKeyVariant&& value) { m_dukptKeyVariantHasBeenSet = true; m_dukptKeyVariant = std::move(value); }
97 inline DukptEncryptionAttributes& WithDukptKeyVariant(DukptKeyVariant&& value) { SetDukptKeyVariant(std::move(value)); return *this;}
99
101
105 inline const Aws::String& GetInitializationVector() const{ return m_initializationVector; }
106 inline bool InitializationVectorHasBeenSet() const { return m_initializationVectorHasBeenSet; }
107 inline void SetInitializationVector(const Aws::String& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = value; }
108 inline void SetInitializationVector(Aws::String&& value) { m_initializationVectorHasBeenSet = true; m_initializationVector = std::move(value); }
109 inline void SetInitializationVector(const char* value) { m_initializationVectorHasBeenSet = true; m_initializationVector.assign(value); }
112 inline DukptEncryptionAttributes& WithInitializationVector(const char* value) { SetInitializationVector(value); return *this;}
114 private:
115
116 Aws::String m_keySerialNumber;
117 bool m_keySerialNumberHasBeenSet = false;
118
119 DukptEncryptionMode m_mode;
120 bool m_modeHasBeenSet = false;
121
122 DukptDerivationType m_dukptKeyDerivationType;
123 bool m_dukptKeyDerivationTypeHasBeenSet = false;
124
125 DukptKeyVariant m_dukptKeyVariant;
126 bool m_dukptKeyVariantHasBeenSet = false;
127
128 Aws::String m_initializationVector;
129 bool m_initializationVectorHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace PaymentCryptographyData
134} // namespace Aws
DukptEncryptionAttributes & WithInitializationVector(const Aws::String &value)
DukptEncryptionAttributes & WithMode(const DukptEncryptionMode &value)
DukptEncryptionAttributes & WithKeySerialNumber(const Aws::String &value)
DukptEncryptionAttributes & WithKeySerialNumber(Aws::String &&value)
DukptEncryptionAttributes & WithDukptKeyVariant(const DukptKeyVariant &value)
DukptEncryptionAttributes & WithInitializationVector(Aws::String &&value)
DukptEncryptionAttributes & WithKeySerialNumber(const char *value)
DukptEncryptionAttributes & WithDukptKeyVariant(DukptKeyVariant &&value)
DukptEncryptionAttributes & WithDukptKeyDerivationType(DukptDerivationType &&value)
DukptEncryptionAttributes & WithInitializationVector(const char *value)
DukptEncryptionAttributes & WithMode(DukptEncryptionMode &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
DukptEncryptionAttributes & WithDukptKeyDerivationType(const DukptDerivationType &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptEncryptionAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptEncryptionAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue