7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Array.h>
10#include <aws/kms/model/KeyAgreementAlgorithmSpec.h>
11#include <aws/kms/model/OriginType.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
45 inline void SetKeyId(
const char* value) { m_keyId.assign(value); }
116 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
AWS_KMS_API DeriveSharedSecretResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(Aws::String &&value)
DeriveSharedSecretResult & WithRequestId(Aws::String &&value)
DeriveSharedSecretResult & WithCiphertextForRecipient(const Aws::Utils::ByteBuffer &value)
void SetKeyAgreementAlgorithm(const KeyAgreementAlgorithmSpec &value)
DeriveSharedSecretResult & WithKeyAgreementAlgorithm(KeyAgreementAlgorithmSpec &&value)
const Aws::String & GetRequestId() const
DeriveSharedSecretResult & WithSharedSecret(const Aws::Utils::CryptoBuffer &value)
DeriveSharedSecretResult & WithRequestId(const Aws::String &value)
void SetCiphertextForRecipient(const Aws::Utils::ByteBuffer &value)
void SetSharedSecret(const Aws::Utils::CryptoBuffer &value)
DeriveSharedSecretResult & WithKeyOrigin(OriginType &&value)
DeriveSharedSecretResult & WithKeyAgreementAlgorithm(const KeyAgreementAlgorithmSpec &value)
void SetKeyOrigin(const OriginType &value)
void SetCiphertextForRecipient(Aws::Utils::ByteBuffer &&value)
void SetRequestId(const char *value)
void SetSharedSecret(Aws::Utils::CryptoBuffer &&value)
DeriveSharedSecretResult & WithKeyId(Aws::String &&value)
AWS_KMS_API DeriveSharedSecretResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KMS_API DeriveSharedSecretResult()
const OriginType & GetKeyOrigin() const
DeriveSharedSecretResult & WithKeyId(const char *value)
void SetKeyAgreementAlgorithm(KeyAgreementAlgorithmSpec &&value)
const Aws::Utils::CryptoBuffer & GetSharedSecret() const
DeriveSharedSecretResult & WithKeyOrigin(const OriginType &value)
const KeyAgreementAlgorithmSpec & GetKeyAgreementAlgorithm() const
void SetRequestId(const Aws::String &value)
void SetKeyId(const char *value)
DeriveSharedSecretResult & WithRequestId(const char *value)
DeriveSharedSecretResult & WithCiphertextForRecipient(Aws::Utils::ByteBuffer &&value)
void SetKeyId(const Aws::String &value)
const Aws::Utils::ByteBuffer & GetCiphertextForRecipient() const
DeriveSharedSecretResult & WithSharedSecret(Aws::Utils::CryptoBuffer &&value)
void SetKeyOrigin(OriginType &&value)
const Aws::String & GetKeyId() const
void SetKeyId(Aws::String &&value)
DeriveSharedSecretResult & WithKeyId(const Aws::String &value)
KeyAgreementAlgorithmSpec
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue