AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SessionKeyMastercard.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 <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PaymentCryptographyData
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PAYMENTCRYPTOGRAPHYDATA_API SessionKeyMastercard();
36 AWS_PAYMENTCRYPTOGRAPHYDATA_API SessionKeyMastercard(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PAYMENTCRYPTOGRAPHYDATA_API SessionKeyMastercard& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetPrimaryAccountNumber() const{ return m_primaryAccountNumber; }
48 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
49 inline void SetPrimaryAccountNumber(const Aws::String& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = value; }
50 inline void SetPrimaryAccountNumber(Aws::String&& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = std::move(value); }
51 inline void SetPrimaryAccountNumber(const char* value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber.assign(value); }
53 inline SessionKeyMastercard& WithPrimaryAccountNumber(Aws::String&& value) { SetPrimaryAccountNumber(std::move(value)); return *this;}
54 inline SessionKeyMastercard& WithPrimaryAccountNumber(const char* value) { SetPrimaryAccountNumber(value); return *this;}
56
58
62 inline const Aws::String& GetPanSequenceNumber() const{ return m_panSequenceNumber; }
63 inline bool PanSequenceNumberHasBeenSet() const { return m_panSequenceNumberHasBeenSet; }
64 inline void SetPanSequenceNumber(const Aws::String& value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber = value; }
65 inline void SetPanSequenceNumber(Aws::String&& value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber = std::move(value); }
66 inline void SetPanSequenceNumber(const char* value) { m_panSequenceNumberHasBeenSet = true; m_panSequenceNumber.assign(value); }
67 inline SessionKeyMastercard& WithPanSequenceNumber(const Aws::String& value) { SetPanSequenceNumber(value); return *this;}
68 inline SessionKeyMastercard& WithPanSequenceNumber(Aws::String&& value) { SetPanSequenceNumber(std::move(value)); return *this;}
69 inline SessionKeyMastercard& WithPanSequenceNumber(const char* value) { SetPanSequenceNumber(value); return *this;}
71
73
77 inline const Aws::String& GetApplicationTransactionCounter() const{ return m_applicationTransactionCounter; }
78 inline bool ApplicationTransactionCounterHasBeenSet() const { return m_applicationTransactionCounterHasBeenSet; }
79 inline void SetApplicationTransactionCounter(const Aws::String& value) { m_applicationTransactionCounterHasBeenSet = true; m_applicationTransactionCounter = value; }
80 inline void SetApplicationTransactionCounter(Aws::String&& value) { m_applicationTransactionCounterHasBeenSet = true; m_applicationTransactionCounter = std::move(value); }
81 inline void SetApplicationTransactionCounter(const char* value) { m_applicationTransactionCounterHasBeenSet = true; m_applicationTransactionCounter.assign(value); }
86
88
91 inline const Aws::String& GetUnpredictableNumber() const{ return m_unpredictableNumber; }
92 inline bool UnpredictableNumberHasBeenSet() const { return m_unpredictableNumberHasBeenSet; }
93 inline void SetUnpredictableNumber(const Aws::String& value) { m_unpredictableNumberHasBeenSet = true; m_unpredictableNumber = value; }
94 inline void SetUnpredictableNumber(Aws::String&& value) { m_unpredictableNumberHasBeenSet = true; m_unpredictableNumber = std::move(value); }
95 inline void SetUnpredictableNumber(const char* value) { m_unpredictableNumberHasBeenSet = true; m_unpredictableNumber.assign(value); }
97 inline SessionKeyMastercard& WithUnpredictableNumber(Aws::String&& value) { SetUnpredictableNumber(std::move(value)); return *this;}
98 inline SessionKeyMastercard& WithUnpredictableNumber(const char* value) { SetUnpredictableNumber(value); return *this;}
100 private:
101
102 Aws::String m_primaryAccountNumber;
103 bool m_primaryAccountNumberHasBeenSet = false;
104
105 Aws::String m_panSequenceNumber;
106 bool m_panSequenceNumberHasBeenSet = false;
107
108 Aws::String m_applicationTransactionCounter;
109 bool m_applicationTransactionCounterHasBeenSet = false;
110
111 Aws::String m_unpredictableNumber;
112 bool m_unpredictableNumberHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace PaymentCryptographyData
117} // namespace Aws
SessionKeyMastercard & WithUnpredictableNumber(Aws::String &&value)
SessionKeyMastercard & WithApplicationTransactionCounter(const char *value)
SessionKeyMastercard & WithUnpredictableNumber(const Aws::String &value)
SessionKeyMastercard & WithPanSequenceNumber(const char *value)
SessionKeyMastercard & WithPrimaryAccountNumber(const Aws::String &value)
SessionKeyMastercard & WithPanSequenceNumber(Aws::String &&value)
SessionKeyMastercard & WithPrimaryAccountNumber(Aws::String &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PAYMENTCRYPTOGRAPHYDATA_API SessionKeyMastercard()
SessionKeyMastercard & WithApplicationTransactionCounter(const Aws::String &value)
SessionKeyMastercard & WithApplicationTransactionCounter(Aws::String &&value)
SessionKeyMastercard & WithUnpredictableNumber(const char *value)
SessionKeyMastercard & WithPanSequenceNumber(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API SessionKeyMastercard(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API SessionKeyMastercard & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionKeyMastercard & WithPrimaryAccountNumber(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue