7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/payment-cryptography/model/Key.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
24namespace PaymentCryptography
43 template<
typename KeyT = Key>
44 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
45 template<
typename KeyT = Key>
52 template<
typename RequestIdT = Aws::String>
53 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
54 template<
typename RequestIdT = Aws::String>
60 bool m_keyHasBeenSet =
false;
63 bool m_requestIdHasBeenSet =
false;
RestoreKeyResult & WithRequestId(RequestIdT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API RestoreKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Key & GetKey() const
RestoreKeyResult & WithKey(KeyT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API RestoreKeyResult()=default
const Aws::String & GetRequestId() const
AWS_PAYMENTCRYPTOGRAPHY_API RestoreKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
void SetKey(KeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue