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/DataKeyPairSpec.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
39 template <
typename PrivateKeyCiphertextBlobT = Aws::Utils::ByteBuffer>
41 m_privateKeyCiphertextBlobHasBeenSet =
true;
42 m_privateKeyCiphertextBlob = std::forward<PrivateKeyCiphertextBlobT>(value);
44 template <
typename PrivateKeyCiphertextBlobT = Aws::Utils::ByteBuffer>
60 template <
typename PrivateKeyPla
intextT = Aws::Utils::CryptoBuffer>
62 m_privateKeyPlaintextHasBeenSet =
true;
63 m_privateKeyPlaintext = std::forward<PrivateKeyPlaintextT>(value);
65 template <
typename PrivateKeyPla
intextT = Aws::Utils::CryptoBuffer>
79 template <
typename PublicKeyT = Aws::Utils::ByteBuffer>
81 m_publicKeyHasBeenSet =
true;
82 m_publicKey = std::forward<PublicKeyT>(value);
84 template <
typename PublicKeyT = Aws::Utils::ByteBuffer>
98 template <
typename KeyIdT = Aws::String>
100 m_keyIdHasBeenSet =
true;
101 m_keyId = std::forward<KeyIdT>(value);
103 template <
typename KeyIdT = Aws::String>
105 SetKeyId(std::forward<KeyIdT>(value));
116 m_keyPairSpecHasBeenSet =
true;
117 m_keyPairSpec = value;
139 template <
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
141 m_ciphertextForRecipientHasBeenSet =
true;
142 m_ciphertextForRecipient = std::forward<CiphertextForRecipientT>(value);
144 template <
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
156 template <
typename KeyMaterialIdT = Aws::String>
158 m_keyMaterialIdHasBeenSet =
true;
159 m_keyMaterialId = std::forward<KeyMaterialIdT>(value);
161 template <
typename KeyMaterialIdT = Aws::String>
171 template <
typename RequestIdT = Aws::String>
173 m_requestIdHasBeenSet =
true;
174 m_requestId = std::forward<RequestIdT>(value);
176 template <
typename RequestIdT = Aws::String>
201 bool m_privateKeyCiphertextBlobHasBeenSet =
false;
202 bool m_privateKeyPlaintextHasBeenSet =
false;
203 bool m_publicKeyHasBeenSet =
false;
204 bool m_keyIdHasBeenSet =
false;
205 bool m_keyPairSpecHasBeenSet =
false;
206 bool m_ciphertextForRecipientHasBeenSet =
false;
207 bool m_keyMaterialIdHasBeenSet =
false;
208 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::ByteBuffer & GetPublicKey() const
void SetCiphertextForRecipient(CiphertextForRecipientT &&value)
const Aws::String & GetKeyMaterialId() const
void SetPublicKey(PublicKeyT &&value)
const Aws::String & GetKeyId() const
GenerateDataKeyPairResult & WithKeyMaterialId(KeyMaterialIdT &&value)
GenerateDataKeyPairResult & WithPublicKey(PublicKeyT &&value)
GenerateDataKeyPairResult & WithCiphertextForRecipient(CiphertextForRecipientT &&value)
GenerateDataKeyPairResult & WithPrivateKeyPlaintext(PrivateKeyPlaintextT &&value)
DataKeyPairSpec GetKeyPairSpec() const
void SetKeyPairSpec(DataKeyPairSpec value)
void SetRequestId(RequestIdT &&value)
GenerateDataKeyPairResult & WithKeyPairSpec(DataKeyPairSpec value)
AWS_KMS_API GenerateDataKeyPairResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPrivateKeyCiphertextBlob(PrivateKeyCiphertextBlobT &&value)
void SetKeyId(KeyIdT &&value)
const Aws::Utils::ByteBuffer & GetCiphertextForRecipient() const
const Aws::String & GetRequestId() const
void SetPrivateKeyPlaintext(PrivateKeyPlaintextT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetKeyMaterialId(KeyMaterialIdT &&value)
const Aws::Utils::CryptoBuffer & GetPrivateKeyPlaintext() const
GenerateDataKeyPairResult & WithPrivateKeyCiphertextBlob(PrivateKeyCiphertextBlobT &&value)
AWS_KMS_API GenerateDataKeyPairResult()=default
AWS_KMS_API GenerateDataKeyPairResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GenerateDataKeyPairResult & WithRequestId(RequestIdT &&value)
GenerateDataKeyPairResult & WithKeyId(KeyIdT &&value)
const Aws::Utils::ByteBuffer & GetPrivateKeyCiphertextBlob() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue