AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MasterCardAttributes.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/payment-cryptography-data/model/MajorKeyDerivationMode.h>
9#include <aws/core/utils/memory/stl/AWSString.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 MasterCardAttributes();
37 AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const MajorKeyDerivationMode& GetMajorKeyDerivationMode() const{ return m_majorKeyDerivationMode; }
47 inline bool MajorKeyDerivationModeHasBeenSet() const { return m_majorKeyDerivationModeHasBeenSet; }
48 inline void SetMajorKeyDerivationMode(const MajorKeyDerivationMode& value) { m_majorKeyDerivationModeHasBeenSet = true; m_majorKeyDerivationMode = value; }
49 inline void SetMajorKeyDerivationMode(MajorKeyDerivationMode&& value) { m_majorKeyDerivationModeHasBeenSet = true; m_majorKeyDerivationMode = std::move(value); }
53
55
58 inline const Aws::String& GetPrimaryAccountNumber() const{ return m_primaryAccountNumber; }
59 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
60 inline void SetPrimaryAccountNumber(const Aws::String& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = value; }
61 inline void SetPrimaryAccountNumber(Aws::String&& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = std::move(value); }
62 inline void SetPrimaryAccountNumber(const char* value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber.assign(value); }
64 inline MasterCardAttributes& WithPrimaryAccountNumber(Aws::String&& value) { SetPrimaryAccountNumber(std::move(value)); return *this;}
65 inline MasterCardAttributes& WithPrimaryAccountNumber(const char* value) { SetPrimaryAccountNumber(value); return *this;}
67
69
74 inline const Aws::String& GetPanSequenceNumber() const{ return m_panSequenceNumber; }
75 inline bool PanSequenceNumberHasBeenSet() const { return m_panSequenceNumberHasBeenSet; }
76 inline void SetPanSequenceNumber(const Aws::String& value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber = value; }
77 inline void SetPanSequenceNumber(Aws::String&& value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber = std::move(value); }
78 inline void SetPanSequenceNumber(const char* value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber.assign(value); }
79 inline MasterCardAttributes& WithPanSequenceNumber(const Aws::String& value) { SetPanSequenceNumber(value); return *this;}
80 inline MasterCardAttributes& WithPanSequenceNumber(Aws::String&& value) { SetPanSequenceNumber(std::move(value)); return *this;}
81 inline MasterCardAttributes& WithPanSequenceNumber(const char* value) { SetPanSequenceNumber(value); return *this;}
83
85
89 inline const Aws::String& GetApplicationCryptogram() const{ return m_applicationCryptogram; }
90 inline bool ApplicationCryptogramHasBeenSet() const { return m_applicationCryptogramHasBeenSet; }
91 inline void SetApplicationCryptogram(const Aws::String& value) { m_applicationCryptogramHasBeenSet = true; m_applicationCryptogram = value; }
92 inline void SetApplicationCryptogram(Aws::String&& value) { m_applicationCryptogramHasBeenSet = true; m_applicationCryptogram = std::move(value); }
93 inline void SetApplicationCryptogram(const char* value) { m_applicationCryptogramHasBeenSet = true; m_applicationCryptogram.assign(value); }
95 inline MasterCardAttributes& WithApplicationCryptogram(Aws::String&& value) { SetApplicationCryptogram(std::move(value)); return *this;}
96 inline MasterCardAttributes& WithApplicationCryptogram(const char* value) { SetApplicationCryptogram(value); return *this;}
98 private:
99
100 MajorKeyDerivationMode m_majorKeyDerivationMode;
101 bool m_majorKeyDerivationModeHasBeenSet = false;
102
103 Aws::String m_primaryAccountNumber;
104 bool m_primaryAccountNumberHasBeenSet = false;
105
106 Aws::String m_panSequenceNumber;
107 bool m_panSequenceNumberHasBeenSet = false;
108
109 Aws::String m_applicationCryptogram;
110 bool m_applicationCryptogramHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace PaymentCryptographyData
115} // namespace Aws
MasterCardAttributes & WithMajorKeyDerivationMode(MajorKeyDerivationMode &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes()
MasterCardAttributes & WithMajorKeyDerivationMode(const MajorKeyDerivationMode &value)
MasterCardAttributes & WithPrimaryAccountNumber(const char *value)
void SetMajorKeyDerivationMode(const MajorKeyDerivationMode &value)
MasterCardAttributes & WithPanSequenceNumber(const char *value)
MasterCardAttributes & WithApplicationCryptogram(Aws::String &&value)
MasterCardAttributes & WithPrimaryAccountNumber(const Aws::String &value)
const MajorKeyDerivationMode & GetMajorKeyDerivationMode() const
MasterCardAttributes & WithApplicationCryptogram(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
MasterCardAttributes & WithPanSequenceNumber(const Aws::String &value)
void SetMajorKeyDerivationMode(MajorKeyDerivationMode &&value)
MasterCardAttributes & WithApplicationCryptogram(const char *value)
MasterCardAttributes & WithPrimaryAccountNumber(Aws::String &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes(Aws::Utils::Json::JsonView jsonValue)
MasterCardAttributes & WithPanSequenceNumber(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue