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;
43 template<
typename KeyIdT = Aws::String>
44 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet =
true; m_keyId = std::forward<KeyIdT>(value); }
45 template<
typename KeyIdT = Aws::String>
57 template<
typename SharedSecretT = Aws::Utils::CryptoBuffer>
58 void SetSharedSecret(SharedSecretT&& value) { m_sharedSecretHasBeenSet =
true; m_sharedSecret = std::forward<SharedSecretT>(value); }
59 template<
typename SharedSecretT = Aws::Utils::CryptoBuffer>
75 template<
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
76 void SetCiphertextForRecipient(CiphertextForRecipientT&& value) { m_ciphertextForRecipientHasBeenSet =
true; m_ciphertextForRecipient = std::forward<CiphertextForRecipientT>(value); }
77 template<
typename CiphertextForRecipientT = Aws::Utils::ByteBuffer>
108 template<
typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
110 template<
typename RequestIdT = Aws::String>
116 bool m_keyIdHasBeenSet =
false;
119 bool m_sharedSecretHasBeenSet =
false;
122 bool m_ciphertextForRecipientHasBeenSet =
false;
125 bool m_keyAgreementAlgorithmHasBeenSet =
false;
128 bool m_keyOriginHasBeenSet =
false;
131 bool m_requestIdHasBeenSet =
false;
AWS_KMS_API DeriveSharedSecretResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
OriginType GetKeyOrigin() const
void SetSharedSecret(SharedSecretT &&value)
const Aws::String & GetRequestId() const
DeriveSharedSecretResult & WithKeyId(KeyIdT &&value)
void SetKeyAgreementAlgorithm(KeyAgreementAlgorithmSpec value)
AWS_KMS_API DeriveSharedSecretResult()=default
void SetCiphertextForRecipient(CiphertextForRecipientT &&value)
DeriveSharedSecretResult & WithKeyAgreementAlgorithm(KeyAgreementAlgorithmSpec value)
AWS_KMS_API DeriveSharedSecretResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeriveSharedSecretResult & WithRequestId(RequestIdT &&value)
DeriveSharedSecretResult & WithSharedSecret(SharedSecretT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Utils::CryptoBuffer & GetSharedSecret() const
KeyAgreementAlgorithmSpec GetKeyAgreementAlgorithm() const
void SetKeyId(KeyIdT &&value)
const Aws::Utils::ByteBuffer & GetCiphertextForRecipient() const
void SetKeyOrigin(OriginType value)
DeriveSharedSecretResult & WithKeyOrigin(OriginType value)
const Aws::String & GetKeyId() const
DeriveSharedSecretResult & WithCiphertextForRecipient(CiphertextForRecipientT &&value)
KeyAgreementAlgorithmSpec
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue