AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
42 inline const Aws::String& GetKeyId() const{ return m_keyId; }
43 inline void SetKeyId(const Aws::String& value) { m_keyId = value; }
44 inline void SetKeyId(Aws::String&& value) { m_keyId = std::move(value); }
45 inline void SetKeyId(const char* value) { m_keyId.assign(value); }
46 inline VerifyResult& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
47 inline VerifyResult& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
48 inline VerifyResult& WithKeyId(const char* value) { SetKeyId(value); return *this;}
50
52
60 inline bool GetSignatureValid() const{ return m_signatureValid; }
61 inline void SetSignatureValid(bool value) { m_signatureValid = value; }
62 inline VerifyResult& WithSignatureValid(bool value) { SetSignatureValid(value); return *this;}
64
66
69 inline const SigningAlgorithmSpec& GetSigningAlgorithm() const{ return m_signingAlgorithm; }
70 inline void SetSigningAlgorithm(const SigningAlgorithmSpec& value) { m_signingAlgorithm = value; }
71 inline void SetSigningAlgorithm(SigningAlgorithmSpec&& value) { m_signingAlgorithm = std::move(value); }
72 inline VerifyResult& WithSigningAlgorithm(const SigningAlgorithmSpec& value) { SetSigningAlgorithm(value); return *this;}
73 inline VerifyResult& WithSigningAlgorithm(SigningAlgorithmSpec&& value) { SetSigningAlgorithm(std::move(value)); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline VerifyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline VerifyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline VerifyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 Aws::String m_keyId;
89
90 bool m_signatureValid;
91
92 SigningAlgorithmSpec m_signingAlgorithm;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace KMS
99} // namespace Aws
void SetKeyId(const Aws::String &value)
VerifyResult & WithKeyId(const char *value)
VerifyResult & WithSigningAlgorithm(SigningAlgorithmSpec &&value)
void SetSigningAlgorithm(const SigningAlgorithmSpec &value)
void SetKeyId(Aws::String &&value)
VerifyResult & WithRequestId(const Aws::String &value)
void SetSigningAlgorithm(SigningAlgorithmSpec &&value)
VerifyResult & WithKeyId(Aws::String &&value)
const Aws::String & GetKeyId() const
VerifyResult & WithSignatureValid(bool value)
void SetRequestId(Aws::String &&value)
void SetRequestId(const char *value)
void SetKeyId(const char *value)
const SigningAlgorithmSpec & GetSigningAlgorithm() const
VerifyResult & WithSigningAlgorithm(const SigningAlgorithmSpec &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)
void SetRequestId(const Aws::String &value)
VerifyResult & WithKeyId(const Aws::String &value)
VerifyResult & WithRequestId(const char *value)
const Aws::String & GetRequestId() const
VerifyResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue