7#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
8#include <aws/managedblockchain-query/model/QueryNetwork.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/managedblockchain-query/model/ConfirmationStatus.h>
12#include <aws/managedblockchain-query/model/ExecutionStatus.h>
25namespace ManagedBlockchainQuery
72 inline void SetBlockHash(
const char* value) { m_blockHashHasBeenSet =
true; m_blockHash.assign(value); }
86 inline void SetTransactionHash(
const char* value) { m_transactionHashHasBeenSet =
true; m_transactionHash.assign(value); }
100 inline void SetBlockNumber(
const char* value) { m_blockNumberHasBeenSet =
true; m_blockNumber.assign(value); }
124 inline void SetTransactionIndex(
long long value) { m_transactionIndexHasBeenSet =
true; m_transactionIndex = value; }
134 inline void SetNumberOfTransactions(
long long value) { m_numberOfTransactionsHasBeenSet =
true; m_numberOfTransactions = value; }
147 inline void SetTo(
const char* value) { m_toHasBeenSet =
true; m_to.assign(value); }
162 inline void SetFrom(
const char* value) { m_fromHasBeenSet =
true; m_from.assign(value); }
176 inline void SetContractAddress(
const char* value) { m_contractAddressHasBeenSet =
true; m_contractAddress.assign(value); }
190 inline void SetGasUsed(
const char* value) { m_gasUsedHasBeenSet =
true; m_gasUsed.assign(value); }
204 inline void SetCumulativeGasUsed(
const char* value) { m_cumulativeGasUsedHasBeenSet =
true; m_cumulativeGasUsed.assign(value); }
218 inline void SetEffectiveGasPrice(
const char* value) { m_effectiveGasPriceHasBeenSet =
true; m_effectiveGasPrice.assign(value); }
230 inline void SetSignatureV(
int value) { m_signatureVHasBeenSet =
true; m_signatureV = value; }
242 inline void SetSignatureR(
const char* value) { m_signatureRHasBeenSet =
true; m_signatureR.assign(value); }
256 inline void SetSignatureS(
const char* value) { m_signatureSHasBeenSet =
true; m_signatureS.assign(value); }
270 inline void SetTransactionFee(
const char* value) { m_transactionFeeHasBeenSet =
true; m_transactionFee.assign(value); }
285 inline void SetTransactionId(
const char* value) { m_transactionIdHasBeenSet =
true; m_transactionId.assign(value); }
317 bool m_networkHasBeenSet =
false;
320 bool m_blockHashHasBeenSet =
false;
323 bool m_transactionHashHasBeenSet =
false;
326 bool m_blockNumberHasBeenSet =
false;
329 bool m_transactionTimestampHasBeenSet =
false;
331 long long m_transactionIndex;
332 bool m_transactionIndexHasBeenSet =
false;
334 long long m_numberOfTransactions;
335 bool m_numberOfTransactionsHasBeenSet =
false;
338 bool m_toHasBeenSet =
false;
341 bool m_fromHasBeenSet =
false;
344 bool m_contractAddressHasBeenSet =
false;
347 bool m_gasUsedHasBeenSet =
false;
350 bool m_cumulativeGasUsedHasBeenSet =
false;
353 bool m_effectiveGasPriceHasBeenSet =
false;
356 bool m_signatureVHasBeenSet =
false;
359 bool m_signatureRHasBeenSet =
false;
362 bool m_signatureSHasBeenSet =
false;
365 bool m_transactionFeeHasBeenSet =
false;
368 bool m_transactionIdHasBeenSet =
false;
371 bool m_confirmationStatusHasBeenSet =
false;
374 bool m_executionStatusHasBeenSet =
false;
void SetSignatureR(const char *value)
Transaction & WithNetwork(QueryNetwork &&value)
bool NetworkHasBeenSet() const
bool ToHasBeenSet() const
void SetSignatureR(Aws::String &&value)
Transaction & WithSignatureS(const Aws::String &value)
Transaction & WithTransactionTimestamp(Aws::Utils::DateTime &&value)
void SetConfirmationStatus(const ConfirmationStatus &value)
bool GasUsedHasBeenSet() const
const Aws::String & GetTransactionFee() const
void SetBlockNumber(const char *value)
long long GetNumberOfTransactions() const
void SetExecutionStatus(ExecutionStatus &&value)
void SetContractAddress(const Aws::String &value)
bool SignatureRHasBeenSet() const
void SetContractAddress(Aws::String &&value)
Transaction & WithSignatureS(Aws::String &&value)
void SetEffectiveGasPrice(const char *value)
bool EffectiveGasPriceHasBeenSet() const
bool ExecutionStatusHasBeenSet() const
Transaction & WithTransactionHash(const char *value)
void SetSignatureS(const char *value)
Transaction & WithTransactionFee(const Aws::String &value)
Transaction & WithNumberOfTransactions(long long value)
Transaction & WithTransactionTimestamp(const Aws::Utils::DateTime &value)
Transaction & WithFrom(Aws::String &&value)
Transaction & WithTransactionHash(const Aws::String &value)
void SetBlockHash(Aws::String &&value)
Transaction & WithTransactionFee(Aws::String &&value)
long long GetTransactionIndex() const
bool TransactionHashHasBeenSet() const
const Aws::String & GetFrom() const
bool ConfirmationStatusHasBeenSet() const
void SetCumulativeGasUsed(const char *value)
bool FromHasBeenSet() const
Transaction & WithTransactionIndex(long long value)
Transaction & WithTransactionHash(Aws::String &&value)
const Aws::String & GetTo() const
Transaction & WithTo(const Aws::String &value)
AWS_MANAGEDBLOCKCHAINQUERY_API Transaction(Aws::Utils::Json::JsonView jsonValue)
Transaction & WithContractAddress(const Aws::String &value)
void SetBlockHash(const char *value)
void SetTransactionId(const Aws::String &value)
void SetGasUsed(Aws::String &&value)
void SetConfirmationStatus(ConfirmationStatus &&value)
Transaction & WithEffectiveGasPrice(const char *value)
void SetTransactionTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetSignatureR() const
int GetSignatureV() const
const QueryNetwork & GetNetwork() const
Transaction & WithTo(const char *value)
Transaction & WithContractAddress(const char *value)
const ExecutionStatus & GetExecutionStatus() const
const Aws::String & GetBlockHash() const
Transaction & WithGasUsed(const Aws::String &value)
Transaction & WithBlockHash(Aws::String &&value)
void SetFrom(Aws::String &&value)
Transaction & WithTransactionId(const char *value)
void SetTransactionTimestamp(const Aws::Utils::DateTime &value)
Transaction & WithFrom(const char *value)
void SetCumulativeGasUsed(const Aws::String &value)
bool TransactionTimestampHasBeenSet() const
void SetSignatureV(int value)
void SetTransactionFee(const char *value)
bool TransactionFeeHasBeenSet() const
AWS_MANAGEDBLOCKCHAINQUERY_API Transaction()
void SetTransactionFee(const Aws::String &value)
Transaction & WithExecutionStatus(ExecutionStatus &&value)
Transaction & WithSignatureV(int value)
void SetBlockHash(const Aws::String &value)
bool ContractAddressHasBeenSet() const
Transaction & WithEffectiveGasPrice(const Aws::String &value)
Transaction & WithTo(Aws::String &&value)
Transaction & WithSignatureR(Aws::String &&value)
void SetEffectiveGasPrice(const Aws::String &value)
void SetTransactionHash(Aws::String &&value)
Transaction & WithTransactionFee(const char *value)
void SetEffectiveGasPrice(Aws::String &&value)
void SetExecutionStatus(const ExecutionStatus &value)
Transaction & WithGasUsed(Aws::String &&value)
Transaction & WithBlockHash(const Aws::String &value)
void SetTo(const char *value)
void SetBlockNumber(const Aws::String &value)
Transaction & WithCumulativeGasUsed(Aws::String &&value)
bool SignatureSHasBeenSet() const
Transaction & WithTransactionId(Aws::String &&value)
bool TransactionIndexHasBeenSet() const
Transaction & WithTransactionId(const Aws::String &value)
void SetTransactionId(const char *value)
void SetContractAddress(const char *value)
const Aws::Utils::DateTime & GetTransactionTimestamp() const
void SetSignatureS(Aws::String &&value)
Transaction & WithConfirmationStatus(const ConfirmationStatus &value)
const ConfirmationStatus & GetConfirmationStatus() const
Transaction & WithSignatureR(const Aws::String &value)
Transaction & WithConfirmationStatus(ConfirmationStatus &&value)
Transaction & WithGasUsed(const char *value)
Transaction & WithNetwork(const QueryNetwork &value)
const Aws::String & GetSignatureS() const
Transaction & WithExecutionStatus(const ExecutionStatus &value)
void SetCumulativeGasUsed(Aws::String &&value)
bool TransactionIdHasBeenSet() const
void SetTransactionHash(const char *value)
bool SignatureVHasBeenSet() const
Transaction & WithCumulativeGasUsed(const char *value)
Transaction & WithBlockNumber(const Aws::String &value)
Transaction & WithBlockNumber(const char *value)
void SetNetwork(QueryNetwork &&value)
void SetSignatureR(const Aws::String &value)
Transaction & WithBlockNumber(Aws::String &&value)
void SetTransactionId(Aws::String &&value)
bool BlockNumberHasBeenSet() const
void SetFrom(const Aws::String &value)
const Aws::String & GetEffectiveGasPrice() const
void SetBlockNumber(Aws::String &&value)
void SetTransactionFee(Aws::String &&value)
const Aws::String & GetGasUsed() const
void SetNumberOfTransactions(long long value)
void SetGasUsed(const Aws::String &value)
const Aws::String & GetTransactionId() const
Transaction & WithSignatureR(const char *value)
void SetTo(Aws::String &&value)
bool NumberOfTransactionsHasBeenSet() const
const Aws::String & GetBlockNumber() const
Transaction & WithBlockHash(const char *value)
void SetTo(const Aws::String &value)
Transaction & WithFrom(const Aws::String &value)
const Aws::String & GetTransactionHash() const
Transaction & WithEffectiveGasPrice(Aws::String &&value)
const Aws::String & GetContractAddress() const
bool CumulativeGasUsedHasBeenSet() const
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
bool BlockHashHasBeenSet() const
void SetTransactionIndex(long long value)
void SetNetwork(const QueryNetwork &value)
Transaction & WithContractAddress(Aws::String &&value)
void SetFrom(const char *value)
AWS_MANAGEDBLOCKCHAINQUERY_API Transaction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSignatureS(const Aws::String &value)
Transaction & WithSignatureS(const char *value)
Transaction & WithCumulativeGasUsed(const Aws::String &value)
void SetGasUsed(const char *value)
void SetTransactionHash(const Aws::String &value)
const Aws::String & GetCumulativeGasUsed() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue