7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
10#include <aws/managedblockchain-query/model/Transaction.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace ManagedBlockchainQuery {
36 template <
typename TransactionT = Transaction>
38 m_transactionHasBeenSet =
true;
39 m_transaction = std::forward<TransactionT>(value);
41 template <
typename TransactionT = Transaction>
51 template <
typename RequestIdT = Aws::String>
53 m_requestIdHasBeenSet =
true;
54 m_requestId = std::forward<RequestIdT>(value);
56 template <
typename RequestIdT = Aws::String>
69 bool m_transactionHasBeenSet =
false;
70 bool m_requestIdHasBeenSet =
false;
GetTransactionResult & WithTransaction(TransactionT &&value)
void SetTransaction(TransactionT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API GetTransactionResult()=default
const Transaction & GetTransaction() const
AWS_MANAGEDBLOCKCHAINQUERY_API GetTransactionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_MANAGEDBLOCKCHAINQUERY_API GetTransactionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTransactionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue