AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GenerateMacResult.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{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace PaymentCryptographyData
24{
25namespace Model
26{
28 {
29 public:
30 AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateMacResult() = default;
33
34
36
40 inline const Aws::String& GetKeyArn() const { return m_keyArn; }
41 template<typename KeyArnT = Aws::String>
42 void SetKeyArn(KeyArnT&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::forward<KeyArnT>(value); }
43 template<typename KeyArnT = Aws::String>
44 GenerateMacResult& WithKeyArn(KeyArnT&& value) { SetKeyArn(std::forward<KeyArnT>(value)); return *this;}
46
48
54 inline const Aws::String& GetKeyCheckValue() const { return m_keyCheckValue; }
55 template<typename KeyCheckValueT = Aws::String>
56 void SetKeyCheckValue(KeyCheckValueT&& value) { m_keyCheckValueHasBeenSet = true; m_keyCheckValue = std::forward<KeyCheckValueT>(value); }
57 template<typename KeyCheckValueT = Aws::String>
58 GenerateMacResult& WithKeyCheckValue(KeyCheckValueT&& value) { SetKeyCheckValue(std::forward<KeyCheckValueT>(value)); return *this;}
60
62
66 inline const Aws::String& GetMac() const { return m_mac; }
67 template<typename MacT = Aws::String>
68 void SetMac(MacT&& value) { m_macHasBeenSet = true; m_mac = std::forward<MacT>(value); }
69 template<typename MacT = Aws::String>
70 GenerateMacResult& WithMac(MacT&& value) { SetMac(std::forward<MacT>(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template<typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
78 template<typename RequestIdT = Aws::String>
79 GenerateMacResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
81 private:
82
83 Aws::String m_keyArn;
84 bool m_keyArnHasBeenSet = false;
85
86 Aws::String m_keyCheckValue;
87 bool m_keyCheckValueHasBeenSet = false;
88
89 Aws::String m_mac;
90 bool m_macHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace PaymentCryptographyData
98} // 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