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/EncryptionAlgorithmSpec.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename CiphertextBlobT = Aws::Utils::ByteBuffer>
40 m_ciphertextBlobHasBeenSet =
true;
41 m_ciphertextBlob = std::forward<CiphertextBlobT>(value);
43 template <
typename CiphertextBlobT = Aws::Utils::ByteBuffer>
57 template <
typename KeyIdT = Aws::String>
59 m_keyIdHasBeenSet =
true;
60 m_keyId = std::forward<KeyIdT>(value);
62 template <
typename KeyIdT = Aws::String>
64 SetKeyId(std::forward<KeyIdT>(value));
75 m_encryptionAlgorithmHasBeenSet =
true;
76 m_encryptionAlgorithm = value;
87 template <
typename RequestIdT = Aws::String>
89 m_requestIdHasBeenSet =
true;
90 m_requestId = std::forward<RequestIdT>(value);
92 template <
typename RequestIdT = Aws::String>
109 bool m_ciphertextBlobHasBeenSet =
false;
110 bool m_keyIdHasBeenSet =
false;
111 bool m_encryptionAlgorithmHasBeenSet =
false;
112 bool m_requestIdHasBeenSet =
false;
void SetKeyId(KeyIdT &&value)
AWS_KMS_API EncryptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetCiphertextBlob(CiphertextBlobT &&value)
void SetEncryptionAlgorithm(EncryptionAlgorithmSpec value)
EncryptionAlgorithmSpec GetEncryptionAlgorithm() const
EncryptResult & WithKeyId(KeyIdT &&value)
EncryptResult & WithEncryptionAlgorithm(EncryptionAlgorithmSpec value)
const Aws::Utils::ByteBuffer & GetCiphertextBlob() const
const Aws::String & GetRequestId() const
AWS_KMS_API EncryptResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetKeyId() const
EncryptResult & WithCiphertextBlob(CiphertextBlobT &&value)
AWS_KMS_API EncryptResult()=default
EncryptResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue