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/DataKeyPairSpec.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
38 template <
typename PrivateKeyCiphertextBlobT = Aws::Utils::ByteBuffer>
40 m_privateKeyCiphertextBlobHasBeenSet =
true;
41 m_privateKeyCiphertextBlob = std::forward<PrivateKeyCiphertextBlobT>(value);
43 template <
typename PrivateKeyCiphertextBlobT = Aws::Utils::ByteBuffer>
59 template <
typename PrivateKeyPla
intextT = Aws::Utils::CryptoBuffer>
61 m_privateKeyPlaintextHasBeenSet =
true;
62 m_privateKeyPlaintext = std::forward<PrivateKeyPlaintextT>(value);
64 template <
typename PrivateKeyPla
intextT = Aws::Utils::CryptoBuffer>
78 template <
typename PublicKeyT = Aws::Utils::ByteBuffer>
80 m_publicKeyHasBeenSet =
true;
81 m_publicKey = std::forward<PublicKeyT>(value);
83 template <
typename PublicKeyT = Aws::Utils::ByteBuffer>
97 template <
typename KeyIdT = Aws::String>
99 m_keyIdHasBeenSet =
true;
100 m_keyId = std::forward<KeyIdT>(value);
102 template <
typename KeyIdT = Aws::String>
104 SetKeyId(std::forward<KeyIdT>(value));
115 m_keyPairSpecHasBeenSet =
true;
116 m_keyPairSpec = value;
138 template <
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
140 m_ciphertextForRecipientHasBeenSet =
true;
141 m_ciphertextForRecipient = std::forward<CiphertextForRecipientT>(value);
143 template <
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
155 template <
typename KeyMaterialIdT = Aws::String>
157 m_keyMaterialIdHasBeenSet =
true;
158 m_keyMaterialId = std::forward<KeyMaterialIdT>(value);
160 template <
typename KeyMaterialIdT = Aws::String>
170 template <
typename RequestIdT = Aws::String>
172 m_requestIdHasBeenSet =
true;
173 m_requestId = std::forward<RequestIdT>(value);
175 template <
typename RequestIdT = Aws::String>
197 bool m_privateKeyCiphertextBlobHasBeenSet =
false;
198 bool m_privateKeyPlaintextHasBeenSet =
false;
199 bool m_publicKeyHasBeenSet =
false;
200 bool m_keyIdHasBeenSet =
false;
201 bool m_keyPairSpecHasBeenSet =
false;
202 bool m_ciphertextForRecipientHasBeenSet =
false;
203 bool m_keyMaterialIdHasBeenSet =
false;
204 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)
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