AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
GenerateMacResult.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 {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace PaymentCryptographyData {
22namespace Model {
24 public:
25 AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateMacResult() = default;
28
30
34 inline const Aws::String& GetKeyArn() const { return m_keyArn; }
35 template <typename KeyArnT = Aws::String>
36 void SetKeyArn(KeyArnT&& value) {
37 m_keyArnHasBeenSet = true;
38 m_keyArn = std::forward<KeyArnT>(value);
39 }
40 template <typename KeyArnT = Aws::String>
41 GenerateMacResult& WithKeyArn(KeyArnT&& value) {
42 SetKeyArn(std::forward<KeyArnT>(value));
43 return *this;
44 }
46
48
54 inline const Aws::String& GetKeyCheckValue() const { return m_keyCheckValue; }
55 template <typename KeyCheckValueT = Aws::String>
56 void SetKeyCheckValue(KeyCheckValueT&& value) {
57 m_keyCheckValueHasBeenSet = true;
58 m_keyCheckValue = std::forward<KeyCheckValueT>(value);
59 }
60 template <typename KeyCheckValueT = Aws::String>
61 GenerateMacResult& WithKeyCheckValue(KeyCheckValueT&& value) {
62 SetKeyCheckValue(std::forward<KeyCheckValueT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetMac() const { return m_mac; }
73 template <typename MacT = Aws::String>
74 void SetMac(MacT&& value) {
75 m_macHasBeenSet = true;
76 m_mac = std::forward<MacT>(value);
77 }
78 template <typename MacT = Aws::String>
79 GenerateMacResult& WithMac(MacT&& value) {
80 SetMac(std::forward<MacT>(value));
81 return *this;
82 }
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template <typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) {
90 m_requestIdHasBeenSet = true;
91 m_requestId = std::forward<RequestIdT>(value);
92 }
93 template <typename RequestIdT = Aws::String>
94 GenerateMacResult& WithRequestId(RequestIdT&& value) {
95 SetRequestId(std::forward<RequestIdT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_keyArn;
101
102 Aws::String m_keyCheckValue;
103
104 Aws::String m_mac;
105
106 Aws::String m_requestId;
107 bool m_keyArnHasBeenSet = false;
108 bool m_keyCheckValueHasBeenSet = false;
109 bool m_macHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace PaymentCryptographyData
115} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateMacResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GenerateMacResult & WithKeyCheckValue(KeyCheckValueT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateMacResult()=default
AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateMacResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GenerateMacResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue