AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 MajorKeyDerivationMode GetMajorKeyDerivationMode() const { return m_majorKeyDerivationMode; }
47 inline bool MajorKeyDerivationModeHasBeenSet() const { return m_majorKeyDerivationModeHasBeenSet; }
48 inline void SetMajorKeyDerivationMode(MajorKeyDerivationMode value) { m_majorKeyDerivationModeHasBeenSet = true; m_majorKeyDerivationMode = value; }
51
53
56 inline const Aws::String& GetPrimaryAccountNumber() const { return m_primaryAccountNumber; }
57 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
58 template<typename PrimaryAccountNumberT = Aws::String>
59 void SetPrimaryAccountNumber(PrimaryAccountNumberT&& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = std::forward<PrimaryAccountNumberT>(value); }
60 template<typename PrimaryAccountNumberT = Aws::String>
61 MasterCardAttributes& WithPrimaryAccountNumber(PrimaryAccountNumberT&& value) { SetPrimaryAccountNumber(std::forward<PrimaryAccountNumberT>(value)); return *this;}
63
65
70 inline const Aws::String& GetPanSequenceNumber() const { return m_panSequenceNumber; }
71 inline bool PanSequenceNumberHasBeenSet() const { return m_panSequenceNumberHasBeenSet; }
72 template<typename PanSequenceNumberT = Aws::String>
73 void SetPanSequenceNumber(PanSequenceNumberT&& value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber = std::forward<PanSequenceNumberT>(value); }
74 template<typename PanSequenceNumberT = Aws::String>
75 MasterCardAttributes& WithPanSequenceNumber(PanSequenceNumberT&& value) { SetPanSequenceNumber(std::forward<PanSequenceNumberT>(value)); return *this;}
77
79
83 inline const Aws::String& GetApplicationCryptogram() const { return m_applicationCryptogram; }
84 inline bool ApplicationCryptogramHasBeenSet() const { return m_applicationCryptogramHasBeenSet; }
85 template<typename ApplicationCryptogramT = Aws::String>
86 void SetApplicationCryptogram(ApplicationCryptogramT&& value) { m_applicationCryptogramHasBeenSet = true; m_applicationCryptogram = std::forward<ApplicationCryptogramT>(value); }
87 template<typename ApplicationCryptogramT = Aws::String>
88 MasterCardAttributes& WithApplicationCryptogram(ApplicationCryptogramT&& value) { SetApplicationCryptogram(std::forward<ApplicationCryptogramT>(value)); return *this;}
90 private:
91
93 bool m_majorKeyDerivationModeHasBeenSet = false;
94
95 Aws::String m_primaryAccountNumber;
96 bool m_primaryAccountNumberHasBeenSet = false;
97
98 Aws::String m_panSequenceNumber;
99 bool m_panSequenceNumberHasBeenSet = false;
100
101 Aws::String m_applicationCryptogram;
102 bool m_applicationCryptogramHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace PaymentCryptographyData
107} // namespace Aws
MasterCardAttributes & WithMajorKeyDerivationMode(MajorKeyDerivationMode value)
MasterCardAttributes & WithPanSequenceNumber(PanSequenceNumberT &&value)
MasterCardAttributes & WithPrimaryAccountNumber(PrimaryAccountNumberT &&value)
MasterCardAttributes & WithApplicationCryptogram(ApplicationCryptogramT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetApplicationCryptogram(ApplicationCryptogramT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes()=default
AWS_PAYMENTCRYPTOGRAPHYDATA_API MasterCardAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue