7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/qldb/model/ValueHolder.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template<
typename BlockT = ValueHolder>
42 void SetBlock(BlockT&& value) { m_blockHasBeenSet =
true; m_block = std::forward<BlockT>(value); }
43 template<
typename BlockT = ValueHolder>
54 template<
typename ProofT = ValueHolder>
55 void SetProof(ProofT&& value) { m_proofHasBeenSet =
true; m_proof = std::forward<ProofT>(value); }
56 template<
typename ProofT = ValueHolder>
63 template<
typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
65 template<
typename RequestIdT = Aws::String>
71 bool m_blockHasBeenSet =
false;
74 bool m_proofHasBeenSet =
false;
77 bool m_requestIdHasBeenSet =
false;
const ValueHolder & GetBlock() const
AWS_QLDB_API GetBlockResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QLDB_API GetBlockResult()=default
void SetRequestId(RequestIdT &&value)
AWS_QLDB_API GetBlockResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBlockResult & WithRequestId(RequestIdT &&value)
GetBlockResult & WithBlock(BlockT &&value)
const Aws::String & GetRequestId() const
void SetBlock(BlockT &&value)
GetBlockResult & WithProof(ProofT &&value)
const ValueHolder & GetProof() const
void SetProof(ProofT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue