AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GenerateMacResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace PaymentCryptographyData {
23namespace Model {
25 public:
26 AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateMacResult() = default;
29
31
35 inline const Aws::String& GetKeyArn() const { return m_keyArn; }
36 template <typename KeyArnT = Aws::String>
37 void SetKeyArn(KeyArnT&& value) {
38 m_keyArnHasBeenSet = true;
39 m_keyArn = std::forward<KeyArnT>(value);
40 }
41 template <typename KeyArnT = Aws::String>
42 GenerateMacResult& WithKeyArn(KeyArnT&& value) {
43 SetKeyArn(std::forward<KeyArnT>(value));
44 return *this;
45 }
47
49
55 inline const Aws::String& GetKeyCheckValue() const { return m_keyCheckValue; }
56 template <typename KeyCheckValueT = Aws::String>
57 void SetKeyCheckValue(KeyCheckValueT&& value) {
58 m_keyCheckValueHasBeenSet = true;
59 m_keyCheckValue = std::forward<KeyCheckValueT>(value);
60 }
61 template <typename KeyCheckValueT = Aws::String>
62 GenerateMacResult& WithKeyCheckValue(KeyCheckValueT&& value) {
63 SetKeyCheckValue(std::forward<KeyCheckValueT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetMac() const { return m_mac; }
74 template <typename MacT = Aws::String>
75 void SetMac(MacT&& value) {
76 m_macHasBeenSet = true;
77 m_mac = std::forward<MacT>(value);
78 }
79 template <typename MacT = Aws::String>
80 GenerateMacResult& WithMac(MacT&& value) {
81 SetMac(std::forward<MacT>(value));
82 return *this;
83 }
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template <typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) {
91 m_requestIdHasBeenSet = true;
92 m_requestId = std::forward<RequestIdT>(value);
93 }
94 template <typename RequestIdT = Aws::String>
95 GenerateMacResult& WithRequestId(RequestIdT&& value) {
96 SetRequestId(std::forward<RequestIdT>(value));
97 return *this;
98 }
100 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
101
102 private:
103 Aws::String m_keyArn;
104
105 Aws::String m_keyCheckValue;
106
107 Aws::String m_mac;
108
109 Aws::String m_requestId;
110 Aws::Http::HttpResponseCode m_HttpResponseCode;
111 bool m_keyArnHasBeenSet = false;
112 bool m_keyCheckValueHasBeenSet = false;
113 bool m_macHasBeenSet = false;
114 bool m_requestIdHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace PaymentCryptographyData
119} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateMacResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GenerateMacResult & WithKeyCheckValue(KeyCheckValueT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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