7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kms/KMS_EXPORTS.h>
11#include <aws/kms/model/SigningAlgorithmSpec.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
39 template <
typename KeyIdT = Aws::String>
41 m_keyIdHasBeenSet =
true;
42 m_keyId = std::forward<KeyIdT>(value);
44 template <
typename KeyIdT = Aws::String>
46 SetKeyId(std::forward<KeyIdT>(value));
67 template <
typename SignatureT = Aws::Utils::ByteBuffer>
69 m_signatureHasBeenSet =
true;
70 m_signature = std::forward<SignatureT>(value);
72 template <
typename SignatureT = Aws::Utils::ByteBuffer>
85 m_signingAlgorithmHasBeenSet =
true;
86 m_signingAlgorithm = value;
97 template <
typename RequestIdT = Aws::String>
99 m_requestIdHasBeenSet =
true;
100 m_requestId = std::forward<RequestIdT>(value);
102 template <
typename RequestIdT = Aws::String>
119 bool m_keyIdHasBeenSet =
false;
120 bool m_signatureHasBeenSet =
false;
121 bool m_signingAlgorithmHasBeenSet =
false;
122 bool m_requestIdHasBeenSet =
false;
SignResult & WithSignature(SignatureT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetKeyId() const
AWS_KMS_API SignResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SignResult & WithSigningAlgorithm(SigningAlgorithmSpec value)
const Aws::String & GetRequestId() const
const Aws::Utils::ByteBuffer & GetSignature() const
void SetSigningAlgorithm(SigningAlgorithmSpec value)
SigningAlgorithmSpec GetSigningAlgorithm() const
void SetRequestId(RequestIdT &&value)
void SetSignature(SignatureT &&value)
void SetKeyId(KeyIdT &&value)
SignResult & WithKeyId(KeyIdT &&value)
AWS_KMS_API SignResult()=default
AWS_KMS_API SignResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SignResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue