AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VerifyResult.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/SigningAlgorithmSpec.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 VerifyResult() = default;
34
35
37
42 inline const Aws::String& GetKeyId() const { return m_keyId; }
43 template<typename KeyIdT = Aws::String>
44 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet = true; m_keyId = std::forward<KeyIdT>(value); }
45 template<typename KeyIdT = Aws::String>
46 VerifyResult& WithKeyId(KeyIdT&& value) { SetKeyId(std::forward<KeyIdT>(value)); return *this;}
48
50
58 inline bool GetSignatureValid() const { return m_signatureValid; }
59 inline void SetSignatureValid(bool value) { m_signatureValidHasBeenSet = true; m_signatureValid = value; }
60 inline VerifyResult& WithSignatureValid(bool value) { SetSignatureValid(value); return *this;}
62
64
67 inline SigningAlgorithmSpec GetSigningAlgorithm() const { return m_signingAlgorithm; }
68 inline void SetSigningAlgorithm(SigningAlgorithmSpec value) { m_signingAlgorithmHasBeenSet = true; m_signingAlgorithm = value; }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template<typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
77 template<typename RequestIdT = Aws::String>
78 VerifyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
80 private:
81
82 Aws::String m_keyId;
83 bool m_keyIdHasBeenSet = false;
84
85 bool m_signatureValid{false};
86 bool m_signatureValidHasBeenSet = false;
87
89 bool m_signingAlgorithmHasBeenSet = false;
90
91 Aws::String m_requestId;
92 bool m_requestIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace KMS
97} // namespace Aws
AWS_KMS_API VerifyResult()=default
void SetKeyId(KeyIdT &&value)
VerifyResult & WithRequestId(RequestIdT &&value)
void SetSigningAlgorithm(SigningAlgorithmSpec value)
VerifyResult & WithKeyId(KeyIdT &&value)
VerifyResult & WithSigningAlgorithm(SigningAlgorithmSpec value)
const Aws::String & GetKeyId() const
VerifyResult & WithSignatureValid(bool value)
AWS_KMS_API VerifyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSignatureValid(bool value)
AWS_KMS_API VerifyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
SigningAlgorithmSpec GetSigningAlgorithm() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue