7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kms/KMS_EXPORTS.h>
10#include <aws/kms/model/EncryptionAlgorithmSpec.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
37 template <
typename CiphertextBlobT = Aws::Utils::ByteBuffer>
39 m_ciphertextBlobHasBeenSet =
true;
40 m_ciphertextBlob = std::forward<CiphertextBlobT>(value);
42 template <
typename CiphertextBlobT = Aws::Utils::ByteBuffer>
56 template <
typename KeyIdT = Aws::String>
58 m_keyIdHasBeenSet =
true;
59 m_keyId = std::forward<KeyIdT>(value);
61 template <
typename KeyIdT = Aws::String>
63 SetKeyId(std::forward<KeyIdT>(value));
74 m_encryptionAlgorithmHasBeenSet =
true;
75 m_encryptionAlgorithm = value;
86 template <
typename RequestIdT = Aws::String>
88 m_requestIdHasBeenSet =
true;
89 m_requestId = std::forward<RequestIdT>(value);
91 template <
typename RequestIdT = Aws::String>
105 bool m_ciphertextBlobHasBeenSet =
false;
106 bool m_keyIdHasBeenSet =
false;
107 bool m_encryptionAlgorithmHasBeenSet =
false;
108 bool m_requestIdHasBeenSet =
false;
void SetKeyId(KeyIdT &&value)
AWS_KMS_API EncryptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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