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;
87 inline void SetKeyId(
const char* value) { m_keyId.assign(value); }
128 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetKeyPairSpec(const DataKeyPairSpec &value)
void SetKeyId(const char *value)
const Aws::Utils::ByteBuffer & GetPublicKey() const
void SetRequestId(const Aws::String &value)
GenerateDataKeyPairResult & WithPrivateKeyPlaintext(Aws::Utils::CryptoBuffer &&value)
const Aws::String & GetKeyId() const
void SetPrivateKeyPlaintext(const Aws::Utils::CryptoBuffer &value)
void SetCiphertextForRecipient(const Aws::Utils::ByteBuffer &value)
GenerateDataKeyPairResult & WithRequestId(Aws::String &&value)
GenerateDataKeyPairResult & WithPublicKey(Aws::Utils::ByteBuffer &&value)
GenerateDataKeyPairResult & WithKeyId(const Aws::String &value)
void SetKeyId(const Aws::String &value)
GenerateDataKeyPairResult & WithCiphertextForRecipient(const Aws::Utils::ByteBuffer &value)
GenerateDataKeyPairResult & WithKeyPairSpec(DataKeyPairSpec &&value)
void SetPrivateKeyCiphertextBlob(Aws::Utils::ByteBuffer &&value)
void SetPrivateKeyPlaintext(Aws::Utils::CryptoBuffer &&value)
void SetCiphertextForRecipient(Aws::Utils::ByteBuffer &&value)
GenerateDataKeyPairResult & WithCiphertextForRecipient(Aws::Utils::ByteBuffer &&value)
AWS_KMS_API GenerateDataKeyPairResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::ByteBuffer & GetCiphertextForRecipient() const
GenerateDataKeyPairResult & WithKeyPairSpec(const DataKeyPairSpec &value)
void SetRequestId(const char *value)
const Aws::String & GetRequestId() const
GenerateDataKeyPairResult & WithPrivateKeyCiphertextBlob(const Aws::Utils::ByteBuffer &value)
const DataKeyPairSpec & GetKeyPairSpec() const
GenerateDataKeyPairResult & WithPrivateKeyPlaintext(const Aws::Utils::CryptoBuffer &value)
void SetPublicKey(const Aws::Utils::ByteBuffer &value)
GenerateDataKeyPairResult & WithPublicKey(const Aws::Utils::ByteBuffer &value)
void SetKeyId(Aws::String &&value)
GenerateDataKeyPairResult & WithRequestId(const char *value)
GenerateDataKeyPairResult & WithPrivateKeyCiphertextBlob(Aws::Utils::ByteBuffer &&value)
GenerateDataKeyPairResult & WithRequestId(const Aws::String &value)
void SetPrivateKeyCiphertextBlob(const Aws::Utils::ByteBuffer &value)
const Aws::Utils::CryptoBuffer & GetPrivateKeyPlaintext() const
GenerateDataKeyPairResult & WithKeyId(Aws::String &&value)
GenerateDataKeyPairResult & WithKeyId(const char *value)
void SetKeyPairSpec(DataKeyPairSpec &&value)
void SetPublicKey(Aws::Utils::ByteBuffer &&value)
AWS_KMS_API GenerateDataKeyPairResult()
AWS_KMS_API GenerateDataKeyPairResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(Aws::String &&value)
const Aws::Utils::ByteBuffer & GetPrivateKeyCiphertextBlob() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue