AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
34
35
37
40 inline const Aws::String& GetKeyId() const { return m_keyId; }
41 template<typename KeyIdT = Aws::String>
42 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet = true; m_keyId = std::forward<KeyIdT>(value); }
43 template<typename KeyIdT = Aws::String>
44 VerifyMacResult& WithKeyId(KeyIdT&& value) { SetKeyId(std::forward<KeyIdT>(value)); return *this;}
46
48
57 inline bool GetMacValid() const { return m_macValid; }
58 inline void SetMacValid(bool value) { m_macValidHasBeenSet = true; m_macValid = value; }
59 inline VerifyMacResult& WithMacValid(bool value) { SetMacValid(value); return *this;}
61
63
66 inline MacAlgorithmSpec GetMacAlgorithm() const { return m_macAlgorithm; }
67 inline void SetMacAlgorithm(MacAlgorithmSpec value) { m_macAlgorithmHasBeenSet = true; m_macAlgorithm = value; }
68 inline VerifyMacResult& WithMacAlgorithm(MacAlgorithmSpec value) { SetMacAlgorithm(value); return *this;}
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template<typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
76 template<typename RequestIdT = Aws::String>
77 VerifyMacResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
79 private:
80
81 Aws::String m_keyId;
82 bool m_keyIdHasBeenSet = false;
83
84 bool m_macValid{false};
85 bool m_macValidHasBeenSet = false;
86
88 bool m_macAlgorithmHasBeenSet = false;
89
90 Aws::String m_requestId;
91 bool m_requestIdHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace KMS
96} // namespace Aws
AWS_KMS_API VerifyMacResult()=default
void SetRequestId(RequestIdT &&value)
MacAlgorithmSpec GetMacAlgorithm() const
AWS_KMS_API VerifyMacResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
VerifyMacResult & WithKeyId(KeyIdT &&value)
const Aws::String & GetKeyId() const
VerifyMacResult & WithMacValid(bool value)
VerifyMacResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
VerifyMacResult & WithMacAlgorithm(MacAlgorithmSpec value)
AWS_KMS_API VerifyMacResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetMacAlgorithm(MacAlgorithmSpec value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue