AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VerifyMacResult.h
1
6#pragma once
7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kms/model/MacAlgorithmSpec.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace KMS
25{
26namespace Model
27{
29 {
30 public:
31 AWS_KMS_API VerifyMacResult();
34
35
37
40 inline const Aws::String& GetKeyId() const{ return m_keyId; }
41 inline void SetKeyId(const Aws::String& value) { m_keyId = value; }
42 inline void SetKeyId(Aws::String&& value) { m_keyId = std::move(value); }
43 inline void SetKeyId(const char* value) { m_keyId.assign(value); }
44 inline VerifyMacResult& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
45 inline VerifyMacResult& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
46 inline VerifyMacResult& WithKeyId(const char* value) { SetKeyId(value); return *this;}
48
50
59 inline bool GetMacValid() const{ return m_macValid; }
60 inline void SetMacValid(bool value) { m_macValid = value; }
61 inline VerifyMacResult& WithMacValid(bool value) { SetMacValid(value); return *this;}
63
65
68 inline const MacAlgorithmSpec& GetMacAlgorithm() const{ return m_macAlgorithm; }
69 inline void SetMacAlgorithm(const MacAlgorithmSpec& value) { m_macAlgorithm = value; }
70 inline void SetMacAlgorithm(MacAlgorithmSpec&& value) { m_macAlgorithm = std::move(value); }
71 inline VerifyMacResult& WithMacAlgorithm(const MacAlgorithmSpec& value) { SetMacAlgorithm(value); return *this;}
72 inline VerifyMacResult& WithMacAlgorithm(MacAlgorithmSpec&& value) { SetMacAlgorithm(std::move(value)); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline VerifyMacResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline VerifyMacResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline VerifyMacResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_keyId;
88
89 bool m_macValid;
90
91 MacAlgorithmSpec m_macAlgorithm;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace KMS
98} // namespace Aws
void SetRequestId(const char *value)
void SetKeyId(const Aws::String &value)
VerifyMacResult & WithRequestId(Aws::String &&value)
void SetKeyId(Aws::String &&value)
void SetRequestId(Aws::String &&value)
VerifyMacResult & WithRequestId(const char *value)
VerifyMacResult & WithMacAlgorithm(MacAlgorithmSpec &&value)
const MacAlgorithmSpec & GetMacAlgorithm() const
AWS_KMS_API VerifyMacResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
VerifyMacResult & WithKeyId(Aws::String &&value)
VerifyMacResult & WithMacAlgorithm(const MacAlgorithmSpec &value)
const Aws::String & GetKeyId() const
void SetMacAlgorithm(MacAlgorithmSpec &&value)
VerifyMacResult & WithMacValid(bool value)
const Aws::String & GetRequestId() const
VerifyMacResult & WithKeyId(const Aws::String &value)
VerifyMacResult & WithKeyId(const char *value)
void SetKeyId(const char *value)
void SetMacAlgorithm(const MacAlgorithmSpec &value)
AWS_KMS_API VerifyMacResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
VerifyMacResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue