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/EncapsulationAlgorithmSpec.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename KeyIdT = Aws::String>
40 m_keyIdHasBeenSet =
true;
41 m_keyId = std::forward<KeyIdT>(value);
43 template <
typename KeyIdT = Aws::String>
45 SetKeyId(std::forward<KeyIdT>(value));
59 template <
typename SharedSecretT = Aws::Utils::CryptoBuffer>
61 m_sharedSecretHasBeenSet =
true;
62 m_sharedSecret = std::forward<SharedSecretT>(value);
64 template <
typename SharedSecretT = Aws::Utils::CryptoBuffer>
82 template <
typename SharedSecretCiphertextBlobT = Aws::Utils::ByteBuffer>
84 m_sharedSecretCiphertextBlobHasBeenSet =
true;
85 m_sharedSecretCiphertextBlob = std::forward<SharedSecretCiphertextBlobT>(value);
87 template <
typename SharedSecretCiphertextBlobT = Aws::Utils::ByteBuffer>
100 m_encapsulationAlgorithmHasBeenSet =
true;
101 m_encapsulationAlgorithm = value;
112 template <
typename RequestIdT = Aws::String>
114 m_requestIdHasBeenSet =
true;
115 m_requestId = std::forward<RequestIdT>(value);
117 template <
typename RequestIdT = Aws::String>
136 bool m_keyIdHasBeenSet =
false;
137 bool m_sharedSecretHasBeenSet =
false;
138 bool m_sharedSecretCiphertextBlobHasBeenSet =
false;
139 bool m_encapsulationAlgorithmHasBeenSet =
false;
140 bool m_requestIdHasBeenSet =
false;
void SetKeyId(KeyIdT &&value)
const Aws::String & GetRequestId() const
AWS_KMS_API EncapsulateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EncapsulateResult & WithRequestId(RequestIdT &&value)
EncapsulateResult & WithKeyId(KeyIdT &&value)
const Aws::Utils::CryptoBuffer & GetSharedSecret() const
const Aws::String & GetKeyId() const
EncapsulateResult & WithEncapsulationAlgorithm(EncapsulationAlgorithmSpec value)
void SetSharedSecretCiphertextBlob(SharedSecretCiphertextBlobT &&value)
EncapsulateResult & WithSharedSecret(SharedSecretT &&value)
void SetSharedSecret(SharedSecretT &&value)
const Aws::Utils::ByteBuffer & GetSharedSecretCiphertextBlob() const
void SetEncapsulationAlgorithm(EncapsulationAlgorithmSpec value)
EncapsulateResult & WithSharedSecretCiphertextBlob(SharedSecretCiphertextBlobT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_KMS_API EncapsulateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KMS_API EncapsulateResult()=default
void SetRequestId(RequestIdT &&value)
EncapsulationAlgorithmSpec GetEncapsulationAlgorithm() const
EncapsulationAlgorithmSpec
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue