AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MacAttributes.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/payment-cryptography-data/model/MacAlgorithm.h>
9#include <aws/payment-cryptography-data/model/MacAlgorithmEmv.h>
10#include <aws/payment-cryptography-data/model/MacAlgorithmDukpt.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PaymentCryptographyData
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAttributes();
38 AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAttributes(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const MacAlgorithm& GetAlgorithm() const{ return m_algorithm; }
48 inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
49 inline void SetAlgorithm(const MacAlgorithm& value) { m_algorithmHasBeenSet = true; m_algorithm = value; }
50 inline void SetAlgorithm(MacAlgorithm&& value) { m_algorithmHasBeenSet = true; m_algorithm = std::move(value); }
51 inline MacAttributes& WithAlgorithm(const MacAlgorithm& value) { SetAlgorithm(value); return *this;}
52 inline MacAttributes& WithAlgorithm(MacAlgorithm&& value) { SetAlgorithm(std::move(value)); return *this;}
54
56
60 inline const MacAlgorithmEmv& GetEmvMac() const{ return m_emvMac; }
61 inline bool EmvMacHasBeenSet() const { return m_emvMacHasBeenSet; }
62 inline void SetEmvMac(const MacAlgorithmEmv& value) { m_emvMacHasBeenSet = true; m_emvMac = value; }
63 inline void SetEmvMac(MacAlgorithmEmv&& value) { m_emvMacHasBeenSet = true; m_emvMac = std::move(value); }
64 inline MacAttributes& WithEmvMac(const MacAlgorithmEmv& value) { SetEmvMac(value); return *this;}
65 inline MacAttributes& WithEmvMac(MacAlgorithmEmv&& value) { SetEmvMac(std::move(value)); return *this;}
67
69
73 inline const MacAlgorithmDukpt& GetDukptIso9797Algorithm1() const{ return m_dukptIso9797Algorithm1; }
74 inline bool DukptIso9797Algorithm1HasBeenSet() const { return m_dukptIso9797Algorithm1HasBeenSet; }
75 inline void SetDukptIso9797Algorithm1(const MacAlgorithmDukpt& value) { m_dukptIso9797Algorithm1HasBeenSet = true; m_dukptIso9797Algorithm1 = value; }
76 inline void SetDukptIso9797Algorithm1(MacAlgorithmDukpt&& value) { m_dukptIso9797Algorithm1HasBeenSet = true; m_dukptIso9797Algorithm1 = std::move(value); }
78 inline MacAttributes& WithDukptIso9797Algorithm1(MacAlgorithmDukpt&& value) { SetDukptIso9797Algorithm1(std::move(value)); return *this;}
80
82
86 inline const MacAlgorithmDukpt& GetDukptIso9797Algorithm3() const{ return m_dukptIso9797Algorithm3; }
87 inline bool DukptIso9797Algorithm3HasBeenSet() const { return m_dukptIso9797Algorithm3HasBeenSet; }
88 inline void SetDukptIso9797Algorithm3(const MacAlgorithmDukpt& value) { m_dukptIso9797Algorithm3HasBeenSet = true; m_dukptIso9797Algorithm3 = value; }
89 inline void SetDukptIso9797Algorithm3(MacAlgorithmDukpt&& value) { m_dukptIso9797Algorithm3HasBeenSet = true; m_dukptIso9797Algorithm3 = std::move(value); }
91 inline MacAttributes& WithDukptIso9797Algorithm3(MacAlgorithmDukpt&& value) { SetDukptIso9797Algorithm3(std::move(value)); return *this;}
93
95
99 inline const MacAlgorithmDukpt& GetDukptCmac() const{ return m_dukptCmac; }
100 inline bool DukptCmacHasBeenSet() const { return m_dukptCmacHasBeenSet; }
101 inline void SetDukptCmac(const MacAlgorithmDukpt& value) { m_dukptCmacHasBeenSet = true; m_dukptCmac = value; }
102 inline void SetDukptCmac(MacAlgorithmDukpt&& value) { m_dukptCmacHasBeenSet = true; m_dukptCmac = std::move(value); }
103 inline MacAttributes& WithDukptCmac(const MacAlgorithmDukpt& value) { SetDukptCmac(value); return *this;}
104 inline MacAttributes& WithDukptCmac(MacAlgorithmDukpt&& value) { SetDukptCmac(std::move(value)); return *this;}
106 private:
107
108 MacAlgorithm m_algorithm;
109 bool m_algorithmHasBeenSet = false;
110
111 MacAlgorithmEmv m_emvMac;
112 bool m_emvMacHasBeenSet = false;
113
114 MacAlgorithmDukpt m_dukptIso9797Algorithm1;
115 bool m_dukptIso9797Algorithm1HasBeenSet = false;
116
117 MacAlgorithmDukpt m_dukptIso9797Algorithm3;
118 bool m_dukptIso9797Algorithm3HasBeenSet = false;
119
120 MacAlgorithmDukpt m_dukptCmac;
121 bool m_dukptCmacHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace PaymentCryptographyData
126} // namespace Aws
MacAttributes & WithDukptIso9797Algorithm3(const MacAlgorithmDukpt &value)
MacAttributes & WithDukptIso9797Algorithm1(const MacAlgorithmDukpt &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
MacAttributes & WithEmvMac(MacAlgorithmEmv &&value)
void SetDukptIso9797Algorithm1(const MacAlgorithmDukpt &value)
MacAttributes & WithDukptCmac(const MacAlgorithmDukpt &value)
MacAttributes & WithDukptIso9797Algorithm1(MacAlgorithmDukpt &&value)
void SetAlgorithm(const MacAlgorithm &value)
void SetDukptIso9797Algorithm1(MacAlgorithmDukpt &&value)
MacAttributes & WithAlgorithm(const MacAlgorithm &value)
void SetDukptCmac(const MacAlgorithmDukpt &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAttributes()
void SetEmvMac(const MacAlgorithmEmv &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAttributes(Aws::Utils::Json::JsonView jsonValue)
MacAttributes & WithDukptIso9797Algorithm3(MacAlgorithmDukpt &&value)
const MacAlgorithmDukpt & GetDukptCmac() const
void SetDukptIso9797Algorithm3(MacAlgorithmDukpt &&value)
MacAttributes & WithEmvMac(const MacAlgorithmEmv &value)
MacAttributes & WithDukptCmac(MacAlgorithmDukpt &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
const MacAlgorithmDukpt & GetDukptIso9797Algorithm3() const
const MacAlgorithmDukpt & GetDukptIso9797Algorithm1() const
MacAttributes & WithAlgorithm(MacAlgorithm &&value)
void SetDukptIso9797Algorithm3(const MacAlgorithmDukpt &value)
Aws::Utils::Json::JsonValue JsonValue