AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DukptAttributes.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/DukptDerivationType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PaymentCryptographyData
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptAttributes();
37 AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptAttributes(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetKeySerialNumber() const{ return m_keySerialNumber; }
49 inline bool KeySerialNumberHasBeenSet() const { return m_keySerialNumberHasBeenSet; }
50 inline void SetKeySerialNumber(const Aws::String& value) { m_keySerialNumberHasBeenSet = true; m_keySerialNumber = value; }
51 inline void SetKeySerialNumber(Aws::String&& value) { m_keySerialNumberHasBeenSet = true; m_keySerialNumber = std::move(value); }
52 inline void SetKeySerialNumber(const char* value) { m_keySerialNumberHasBeenSet = true; m_keySerialNumber.assign(value); }
53 inline DukptAttributes& WithKeySerialNumber(const Aws::String& value) { SetKeySerialNumber(value); return *this;}
54 inline DukptAttributes& WithKeySerialNumber(Aws::String&& value) { SetKeySerialNumber(std::move(value)); return *this;}
55 inline DukptAttributes& WithKeySerialNumber(const char* value) { SetKeySerialNumber(value); return *this;}
57
59
65 inline const DukptDerivationType& GetDukptDerivationType() const{ return m_dukptDerivationType; }
66 inline bool DukptDerivationTypeHasBeenSet() const { return m_dukptDerivationTypeHasBeenSet; }
67 inline void SetDukptDerivationType(const DukptDerivationType& value) { m_dukptDerivationTypeHasBeenSet = true; m_dukptDerivationType = value; }
68 inline void SetDukptDerivationType(DukptDerivationType&& value) { m_dukptDerivationTypeHasBeenSet = true; m_dukptDerivationType = std::move(value); }
70 inline DukptAttributes& WithDukptDerivationType(DukptDerivationType&& value) { SetDukptDerivationType(std::move(value)); return *this;}
72 private:
73
74 Aws::String m_keySerialNumber;
75 bool m_keySerialNumberHasBeenSet = false;
76
77 DukptDerivationType m_dukptDerivationType;
78 bool m_dukptDerivationTypeHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace PaymentCryptographyData
83} // namespace Aws
DukptAttributes & WithKeySerialNumber(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
const DukptDerivationType & GetDukptDerivationType() const
void SetDukptDerivationType(const DukptDerivationType &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptAttributes(Aws::Utils::Json::JsonView jsonValue)
DukptAttributes & WithDukptDerivationType(const DukptDerivationType &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
DukptAttributes & WithKeySerialNumber(Aws::String &&value)
void SetDukptDerivationType(DukptDerivationType &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DukptAttributes()
DukptAttributes & WithDukptDerivationType(DukptDerivationType &&value)
DukptAttributes & WithKeySerialNumber(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue