AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 MacAlgorithm GetAlgorithm() const { return m_algorithm; }
48 inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
49 inline void SetAlgorithm(MacAlgorithm value) { m_algorithmHasBeenSet = true; m_algorithm = value; }
50 inline MacAttributes& WithAlgorithm(MacAlgorithm value) { SetAlgorithm(value); return *this;}
52
54
58 inline const MacAlgorithmEmv& GetEmvMac() const { return m_emvMac; }
59 inline bool EmvMacHasBeenSet() const { return m_emvMacHasBeenSet; }
60 template<typename EmvMacT = MacAlgorithmEmv>
61 void SetEmvMac(EmvMacT&& value) { m_emvMacHasBeenSet = true; m_emvMac = std::forward<EmvMacT>(value); }
62 template<typename EmvMacT = MacAlgorithmEmv>
63 MacAttributes& WithEmvMac(EmvMacT&& value) { SetEmvMac(std::forward<EmvMacT>(value)); return *this;}
65
67
71 inline const MacAlgorithmDukpt& GetDukptIso9797Algorithm1() const { return m_dukptIso9797Algorithm1; }
72 inline bool DukptIso9797Algorithm1HasBeenSet() const { return m_dukptIso9797Algorithm1HasBeenSet; }
73 template<typename DukptIso9797Algorithm1T = MacAlgorithmDukpt>
74 void SetDukptIso9797Algorithm1(DukptIso9797Algorithm1T&& value) { m_dukptIso9797Algorithm1HasBeenSet = true; m_dukptIso9797Algorithm1 = std::forward<DukptIso9797Algorithm1T>(value); }
75 template<typename DukptIso9797Algorithm1T = MacAlgorithmDukpt>
76 MacAttributes& WithDukptIso9797Algorithm1(DukptIso9797Algorithm1T&& value) { SetDukptIso9797Algorithm1(std::forward<DukptIso9797Algorithm1T>(value)); return *this;}
78
80
84 inline const MacAlgorithmDukpt& GetDukptIso9797Algorithm3() const { return m_dukptIso9797Algorithm3; }
85 inline bool DukptIso9797Algorithm3HasBeenSet() const { return m_dukptIso9797Algorithm3HasBeenSet; }
86 template<typename DukptIso9797Algorithm3T = MacAlgorithmDukpt>
87 void SetDukptIso9797Algorithm3(DukptIso9797Algorithm3T&& value) { m_dukptIso9797Algorithm3HasBeenSet = true; m_dukptIso9797Algorithm3 = std::forward<DukptIso9797Algorithm3T>(value); }
88 template<typename DukptIso9797Algorithm3T = MacAlgorithmDukpt>
89 MacAttributes& WithDukptIso9797Algorithm3(DukptIso9797Algorithm3T&& value) { SetDukptIso9797Algorithm3(std::forward<DukptIso9797Algorithm3T>(value)); return *this;}
91
93
97 inline const MacAlgorithmDukpt& GetDukptCmac() const { return m_dukptCmac; }
98 inline bool DukptCmacHasBeenSet() const { return m_dukptCmacHasBeenSet; }
99 template<typename DukptCmacT = MacAlgorithmDukpt>
100 void SetDukptCmac(DukptCmacT&& value) { m_dukptCmacHasBeenSet = true; m_dukptCmac = std::forward<DukptCmacT>(value); }
101 template<typename DukptCmacT = MacAlgorithmDukpt>
102 MacAttributes& WithDukptCmac(DukptCmacT&& value) { SetDukptCmac(std::forward<DukptCmacT>(value)); return *this;}
104 private:
105
107 bool m_algorithmHasBeenSet = false;
108
109 MacAlgorithmEmv m_emvMac;
110 bool m_emvMacHasBeenSet = false;
111
112 MacAlgorithmDukpt m_dukptIso9797Algorithm1;
113 bool m_dukptIso9797Algorithm1HasBeenSet = false;
114
115 MacAlgorithmDukpt m_dukptIso9797Algorithm3;
116 bool m_dukptIso9797Algorithm3HasBeenSet = false;
117
118 MacAlgorithmDukpt m_dukptCmac;
119 bool m_dukptCmacHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace PaymentCryptographyData
124} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
MacAttributes & WithDukptCmac(DukptCmacT &&value)
MacAttributes & WithAlgorithm(MacAlgorithm value)
MacAttributes & WithDukptIso9797Algorithm1(DukptIso9797Algorithm1T &&value)
void SetDukptIso9797Algorithm3(DukptIso9797Algorithm3T &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API MacAttributes()=default
const MacAlgorithmDukpt & GetDukptCmac() const
MacAttributes & WithEmvMac(EmvMacT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
const MacAlgorithmDukpt & GetDukptIso9797Algorithm3() const
MacAttributes & WithDukptIso9797Algorithm3(DukptIso9797Algorithm3T &&value)
const MacAlgorithmDukpt & GetDukptIso9797Algorithm1() const
void SetDukptIso9797Algorithm1(DukptIso9797Algorithm1T &&value)
Aws::Utils::Json::JsonValue JsonValue