7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kms/model/DataKeyPairSpec.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
44 template<
typename PrivateKeyCiphertextBlobT = Aws::Utils::ByteBuffer>
45 void SetPrivateKeyCiphertextBlob(PrivateKeyCiphertextBlobT&& value) { m_privateKeyCiphertextBlobHasBeenSet =
true; m_privateKeyCiphertextBlob = std::forward<PrivateKeyCiphertextBlobT>(value); }
46 template<
typename PrivateKeyCiphertextBlobT = Aws::Utils::ByteBuffer>
59 template<
typename PrivateKeyPla
intextT = Aws::Utils::CryptoBuffer>
60 void SetPrivateKeyPlaintext(PrivateKeyPlaintextT&& value) { m_privateKeyPlaintextHasBeenSet =
true; m_privateKeyPlaintext = std::forward<PrivateKeyPlaintextT>(value); }
61 template<
typename PrivateKeyPla
intextT = Aws::Utils::CryptoBuffer>
72 template<
typename PublicKeyT = Aws::Utils::ByteBuffer>
73 void SetPublicKey(PublicKeyT&& value) { m_publicKeyHasBeenSet =
true; m_publicKey = std::forward<PublicKeyT>(value); }
74 template<
typename PublicKeyT = Aws::Utils::ByteBuffer>
85 template<
typename KeyIdT = Aws::String>
86 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
87 template<
typename KeyIdT = Aws::String>
113 template<
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
114 void SetCiphertextForRecipient(CiphertextForRecipientT&& value) { m_ciphertextForRecipientHasBeenSet =
true; m_ciphertextForRecipient = std::forward<CiphertextForRecipientT>(value); }
115 template<
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
124 template<
typename KeyMaterialIdT = Aws::String>
125 void SetKeyMaterialId(KeyMaterialIdT&& value) { m_keyMaterialIdHasBeenSet =
true; m_keyMaterialId = std::forward<KeyMaterialIdT>(value); }
126 template<
typename KeyMaterialIdT = Aws::String>
133 template<
typename RequestIdT = Aws::String>
134 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
135 template<
typename RequestIdT = Aws::String>
141 bool m_privateKeyCiphertextBlobHasBeenSet =
false;
144 bool m_privateKeyPlaintextHasBeenSet =
false;
147 bool m_publicKeyHasBeenSet =
false;
150 bool m_keyIdHasBeenSet =
false;
153 bool m_keyPairSpecHasBeenSet =
false;
156 bool m_ciphertextForRecipientHasBeenSet =
false;
159 bool m_keyMaterialIdHasBeenSet =
false;
162 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