AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
33
34
36
40 inline const Aws::String& GetKeyArn() const{ return m_keyArn; }
41 inline void SetKeyArn(const Aws::String& value) { m_keyArn = value; }
42 inline void SetKeyArn(Aws::String&& value) { m_keyArn = std::move(value); }
43 inline void SetKeyArn(const char* value) { m_keyArn.assign(value); }
44 inline GenerateMacResult& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;}
45 inline GenerateMacResult& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;}
46 inline GenerateMacResult& WithKeyArn(const char* value) { SetKeyArn(value); return *this;}
48
50
56 inline const Aws::String& GetKeyCheckValue() const{ return m_keyCheckValue; }
57 inline void SetKeyCheckValue(const Aws::String& value) { m_keyCheckValue = value; }
58 inline void SetKeyCheckValue(Aws::String&& value) { m_keyCheckValue = std::move(value); }
59 inline void SetKeyCheckValue(const char* value) { m_keyCheckValue.assign(value); }
60 inline GenerateMacResult& WithKeyCheckValue(const Aws::String& value) { SetKeyCheckValue(value); return *this;}
61 inline GenerateMacResult& WithKeyCheckValue(Aws::String&& value) { SetKeyCheckValue(std::move(value)); return *this;}
62 inline GenerateMacResult& WithKeyCheckValue(const char* value) { SetKeyCheckValue(value); return *this;}
64
66
70 inline const Aws::String& GetMac() const{ return m_mac; }
71 inline void SetMac(const Aws::String& value) { m_mac = value; }
72 inline void SetMac(Aws::String&& value) { m_mac = std::move(value); }
73 inline void SetMac(const char* value) { m_mac.assign(value); }
74 inline GenerateMacResult& WithMac(const Aws::String& value) { SetMac(value); return *this;}
75 inline GenerateMacResult& WithMac(Aws::String&& value) { SetMac(std::move(value)); return *this;}
76 inline GenerateMacResult& WithMac(const char* value) { SetMac(value); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline GenerateMacResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline GenerateMacResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline GenerateMacResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 Aws::String m_keyArn;
92
93 Aws::String m_keyCheckValue;
94
95 Aws::String m_mac;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace PaymentCryptographyData
102} // namespace Aws
GenerateMacResult & WithRequestId(const Aws::String &value)
GenerateMacResult & WithMac(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateMacResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GenerateMacResult & WithKeyCheckValue(const Aws::String &value)
GenerateMacResult & WithKeyCheckValue(Aws::String &&value)
GenerateMacResult & WithKeyArn(const Aws::String &value)
GenerateMacResult & WithMac(const char *value)
GenerateMacResult & WithKeyCheckValue(const char *value)
GenerateMacResult & WithRequestId(Aws::String &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateMacResult()
AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateMacResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GenerateMacResult & WithRequestId(const char *value)
GenerateMacResult & WithMac(Aws::String &&value)
GenerateMacResult & WithKeyArn(const char *value)
GenerateMacResult & WithKeyArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue