AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SignResult.h
1
6#pragma once
7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Array.h>
10#include <aws/kms/model/SigningAlgorithmSpec.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace KMS
26{
27namespace Model
28{
30 {
31 public:
32 AWS_KMS_API SignResult();
35
36
38
43 inline const Aws::String& GetKeyId() const{ return m_keyId; }
44 inline void SetKeyId(const Aws::String& value) { m_keyId = value; }
45 inline void SetKeyId(Aws::String&& value) { m_keyId = std::move(value); }
46 inline void SetKeyId(const char* value) { m_keyId.assign(value); }
47 inline SignResult& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
48 inline SignResult& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
49 inline SignResult& WithKeyId(const char* value) { SetKeyId(value); return *this;}
51
53
67 inline const Aws::Utils::ByteBuffer& GetSignature() const{ return m_signature; }
68 inline void SetSignature(const Aws::Utils::ByteBuffer& value) { m_signature = value; }
69 inline void SetSignature(Aws::Utils::ByteBuffer&& value) { m_signature = std::move(value); }
70 inline SignResult& WithSignature(const Aws::Utils::ByteBuffer& value) { SetSignature(value); return *this;}
71 inline SignResult& WithSignature(Aws::Utils::ByteBuffer&& value) { SetSignature(std::move(value)); return *this;}
73
75
78 inline const SigningAlgorithmSpec& GetSigningAlgorithm() const{ return m_signingAlgorithm; }
79 inline void SetSigningAlgorithm(const SigningAlgorithmSpec& value) { m_signingAlgorithm = value; }
80 inline void SetSigningAlgorithm(SigningAlgorithmSpec&& value) { m_signingAlgorithm = std::move(value); }
81 inline SignResult& WithSigningAlgorithm(const SigningAlgorithmSpec& value) { SetSigningAlgorithm(value); return *this;}
82 inline SignResult& WithSigningAlgorithm(SigningAlgorithmSpec&& value) { SetSigningAlgorithm(std::move(value)); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline SignResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline SignResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline SignResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 Aws::String m_keyId;
98
99 Aws::Utils::ByteBuffer m_signature;
100
101 SigningAlgorithmSpec m_signingAlgorithm;
102
103 Aws::String m_requestId;
104 };
105
106} // namespace Model
107} // namespace KMS
108} // namespace Aws
SignResult & WithRequestId(const char *value)
Definition SignResult.h:93
void SetRequestId(Aws::String &&value)
Definition SignResult.h:89
void SetSigningAlgorithm(SigningAlgorithmSpec &&value)
Definition SignResult.h:80
SignResult & WithSignature(const Aws::Utils::ByteBuffer &value)
Definition SignResult.h:70
SignResult & WithKeyId(Aws::String &&value)
Definition SignResult.h:48
SignResult & WithRequestId(Aws::String &&value)
Definition SignResult.h:92
const Aws::String & GetKeyId() const
Definition SignResult.h:43
SignResult & WithKeyId(const char *value)
Definition SignResult.h:49
SignResult & WithSignature(Aws::Utils::ByteBuffer &&value)
Definition SignResult.h:71
SignResult & WithSigningAlgorithm(SigningAlgorithmSpec &&value)
Definition SignResult.h:82
void SetRequestId(const char *value)
Definition SignResult.h:90
SignResult & WithKeyId(const Aws::String &value)
Definition SignResult.h:47
AWS_KMS_API SignResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SignResult & WithRequestId(const Aws::String &value)
Definition SignResult.h:91
const SigningAlgorithmSpec & GetSigningAlgorithm() const
Definition SignResult.h:78
void SetKeyId(const char *value)
Definition SignResult.h:46
const Aws::String & GetRequestId() const
Definition SignResult.h:87
void SetKeyId(Aws::String &&value)
Definition SignResult.h:45
const Aws::Utils::ByteBuffer & GetSignature() const
Definition SignResult.h:67
void SetSigningAlgorithm(const SigningAlgorithmSpec &value)
Definition SignResult.h:79
SignResult & WithSigningAlgorithm(const SigningAlgorithmSpec &value)
Definition SignResult.h:81
void SetSignature(Aws::Utils::ByteBuffer &&value)
Definition SignResult.h:69
void SetKeyId(const Aws::String &value)
Definition SignResult.h:44
void SetRequestId(const Aws::String &value)
Definition SignResult.h:88
AWS_KMS_API SignResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSignature(const Aws::Utils::ByteBuffer &value)
Definition SignResult.h:68
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue