AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DynamicCardVerificationValue.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PaymentCryptographyData {
20namespace Model {
21
29 public:
30 AWS_PAYMENTCRYPTOGRAPHYDATA_API DynamicCardVerificationValue() = default;
31 AWS_PAYMENTCRYPTOGRAPHYDATA_API DynamicCardVerificationValue(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PAYMENTCRYPTOGRAPHYDATA_API DynamicCardVerificationValue& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetPanSequenceNumber() const { return m_panSequenceNumber; }
41 inline bool PanSequenceNumberHasBeenSet() const { return m_panSequenceNumberHasBeenSet; }
42 template <typename PanSequenceNumberT = Aws::String>
43 void SetPanSequenceNumber(PanSequenceNumberT&& value) {
44 m_panSequenceNumberHasBeenSet = true;
45 m_panSequenceNumber = std::forward<PanSequenceNumberT>(value);
46 }
47 template <typename PanSequenceNumberT = Aws::String>
49 SetPanSequenceNumber(std::forward<PanSequenceNumberT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetCardExpiryDate() const { return m_cardExpiryDate; }
59 inline bool CardExpiryDateHasBeenSet() const { return m_cardExpiryDateHasBeenSet; }
60 template <typename CardExpiryDateT = Aws::String>
61 void SetCardExpiryDate(CardExpiryDateT&& value) {
62 m_cardExpiryDateHasBeenSet = true;
63 m_cardExpiryDate = std::forward<CardExpiryDateT>(value);
64 }
65 template <typename CardExpiryDateT = Aws::String>
67 SetCardExpiryDate(std::forward<CardExpiryDateT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
78 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
79 template <typename ServiceCodeT = Aws::String>
80 void SetServiceCode(ServiceCodeT&& value) {
81 m_serviceCodeHasBeenSet = true;
82 m_serviceCode = std::forward<ServiceCodeT>(value);
83 }
84 template <typename ServiceCodeT = Aws::String>
86 SetServiceCode(std::forward<ServiceCodeT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetApplicationTransactionCounter() const { return m_applicationTransactionCounter; }
96 inline bool ApplicationTransactionCounterHasBeenSet() const { return m_applicationTransactionCounterHasBeenSet; }
97 template <typename ApplicationTransactionCounterT = Aws::String>
98 void SetApplicationTransactionCounter(ApplicationTransactionCounterT&& value) {
99 m_applicationTransactionCounterHasBeenSet = true;
100 m_applicationTransactionCounter = std::forward<ApplicationTransactionCounterT>(value);
101 }
102 template <typename ApplicationTransactionCounterT = Aws::String>
103 DynamicCardVerificationValue& WithApplicationTransactionCounter(ApplicationTransactionCounterT&& value) {
104 SetApplicationTransactionCounter(std::forward<ApplicationTransactionCounterT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_panSequenceNumber;
110
111 Aws::String m_cardExpiryDate;
112
113 Aws::String m_serviceCode;
114
115 Aws::String m_applicationTransactionCounter;
116 bool m_panSequenceNumberHasBeenSet = false;
117 bool m_cardExpiryDateHasBeenSet = false;
118 bool m_serviceCodeHasBeenSet = false;
119 bool m_applicationTransactionCounterHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace PaymentCryptographyData
124} // namespace Aws
DynamicCardVerificationValue & WithApplicationTransactionCounter(ApplicationTransactionCounterT &&value)
DynamicCardVerificationValue & WithPanSequenceNumber(PanSequenceNumberT &&value)
void SetApplicationTransactionCounter(ApplicationTransactionCounterT &&value)
DynamicCardVerificationValue & WithServiceCode(ServiceCodeT &&value)
DynamicCardVerificationValue & WithCardExpiryDate(CardExpiryDateT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DynamicCardVerificationValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DynamicCardVerificationValue()=default
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PAYMENTCRYPTOGRAPHYDATA_API DynamicCardVerificationValue(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue