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
68 template<
typename BlockHashT = Aws::String>
69 void SetBlockHash(BlockHashT&& value) { m_blockHashHasBeenSet =
true; m_blockHash = std::forward<BlockHashT>(value); }
70 template<
typename BlockHashT = Aws::String>
80 template<
typename TransactionHashT = Aws::String>
81 void SetTransactionHash(TransactionHashT&& value) { m_transactionHashHasBeenSet =
true; m_transactionHash = std::forward<TransactionHashT>(value); }
82 template<
typename TransactionHashT = Aws::String>
92 template<
typename BlockNumberT = Aws::String>
93 void SetBlockNumber(BlockNumberT&& value) { m_blockNumberHasBeenSet =
true; m_blockNumber = std::forward<BlockNumberT>(value); }
94 template<
typename BlockNumberT = Aws::String>
104 template<
typename TransactionTimestampT = Aws::Utils::DateTime>
105 void SetTransactionTimestamp(TransactionTimestampT&& value) { m_transactionTimestampHasBeenSet =
true; m_transactionTimestamp = std::forward<TransactionTimestampT>(value); }
106 template<
typename TransactionTimestampT = Aws::Utils::DateTime>
116 inline void SetTransactionIndex(
long long value) { m_transactionIndexHasBeenSet =
true; m_transactionIndex = value; }
126 inline void SetNumberOfTransactions(
long long value) { m_numberOfTransactionsHasBeenSet =
true; m_numberOfTransactions = value; }
137 template<
typename ToT = Aws::String>
138 void SetTo(ToT&& value) { m_toHasBeenSet =
true; m_to = std::forward<ToT>(value); }
139 template<
typename ToT = Aws::String>
150 template<
typename FromT = Aws::String>
151 void SetFrom(FromT&& value) { m_fromHasBeenSet =
true; m_from = std::forward<FromT>(value); }
152 template<
typename FromT = Aws::String>
162 template<
typename ContractAddressT = Aws::String>
163 void SetContractAddress(ContractAddressT&& value) { m_contractAddressHasBeenSet =
true; m_contractAddress = std::forward<ContractAddressT>(value); }
164 template<
typename ContractAddressT = Aws::String>
174 template<
typename GasUsedT = Aws::String>
175 void SetGasUsed(GasUsedT&& value) { m_gasUsedHasBeenSet =
true; m_gasUsed = std::forward<GasUsedT>(value); }
176 template<
typename GasUsedT = Aws::String>
186 template<
typename CumulativeGasUsedT = Aws::String>
187 void SetCumulativeGasUsed(CumulativeGasUsedT&& value) { m_cumulativeGasUsedHasBeenSet =
true; m_cumulativeGasUsed = std::forward<CumulativeGasUsedT>(value); }
188 template<
typename CumulativeGasUsedT = Aws::String>
198 template<
typename EffectiveGasPriceT = Aws::String>
199 void SetEffectiveGasPrice(EffectiveGasPriceT&& value) { m_effectiveGasPriceHasBeenSet =
true; m_effectiveGasPrice = std::forward<EffectiveGasPriceT>(value); }
200 template<
typename EffectiveGasPriceT = Aws::String>
210 inline void SetSignatureV(
int value) { m_signatureVHasBeenSet =
true; m_signatureV = value; }
220 template<
typename SignatureRT = Aws::String>
221 void SetSignatureR(SignatureRT&& value) { m_signatureRHasBeenSet =
true; m_signatureR = std::forward<SignatureRT>(value); }
222 template<
typename SignatureRT = Aws::String>
232 template<
typename SignatureST = Aws::String>
233 void SetSignatureS(SignatureST&& value) { m_signatureSHasBeenSet =
true; m_signatureS = std::forward<SignatureST>(value); }
234 template<
typename SignatureST = Aws::String>
244 template<
typename TransactionFeeT = Aws::String>
245 void SetTransactionFee(TransactionFeeT&& value) { m_transactionFeeHasBeenSet =
true; m_transactionFee = std::forward<TransactionFeeT>(value); }
246 template<
typename TransactionFeeT = Aws::String>
257 template<
typename TransactionIdT = Aws::String>
258 void SetTransactionId(TransactionIdT&& value) { m_transactionIdHasBeenSet =
true; m_transactionId = std::forward<TransactionIdT>(value); }
259 template<
typename TransactionIdT = Aws::String>
285 bool m_networkHasBeenSet =
false;
288 bool m_blockHashHasBeenSet =
false;
291 bool m_transactionHashHasBeenSet =
false;
294 bool m_blockNumberHasBeenSet =
false;
297 bool m_transactionTimestampHasBeenSet =
false;
299 long long m_transactionIndex{0};
300 bool m_transactionIndexHasBeenSet =
false;
302 long long m_numberOfTransactions{0};
303 bool m_numberOfTransactionsHasBeenSet =
false;
306 bool m_toHasBeenSet =
false;
309 bool m_fromHasBeenSet =
false;
312 bool m_contractAddressHasBeenSet =
false;
315 bool m_gasUsedHasBeenSet =
false;
318 bool m_cumulativeGasUsedHasBeenSet =
false;
321 bool m_effectiveGasPriceHasBeenSet =
false;
324 bool m_signatureVHasBeenSet =
false;
327 bool m_signatureRHasBeenSet =
false;
330 bool m_signatureSHasBeenSet =
false;
333 bool m_transactionFeeHasBeenSet =
false;
336 bool m_transactionIdHasBeenSet =
false;
339 bool m_confirmationStatusHasBeenSet =
false;
342 bool m_executionStatusHasBeenSet =
false;
bool NetworkHasBeenSet() const
bool ToHasBeenSet() const
void SetBlockNumber(BlockNumberT &&value)
Transaction & WithCumulativeGasUsed(CumulativeGasUsedT &&value)
bool GasUsedHasBeenSet() const
const Aws::String & GetTransactionFee() const
long long GetNumberOfTransactions() const
bool SignatureRHasBeenSet() const
void SetFrom(FromT &&value)
Transaction & WithSignatureS(SignatureST &&value)
bool EffectiveGasPriceHasBeenSet() const
bool ExecutionStatusHasBeenSet() const
void SetTransactionHash(TransactionHashT &&value)
Transaction & WithSignatureR(SignatureRT &&value)
Transaction & WithTransactionTimestamp(TransactionTimestampT &&value)
void SetSignatureS(SignatureST &&value)
Transaction & WithNumberOfTransactions(long long value)
Transaction & WithContractAddress(ContractAddressT &&value)
Transaction & WithExecutionStatus(ExecutionStatus value)
long long GetTransactionIndex() const
bool TransactionHashHasBeenSet() const
const Aws::String & GetFrom() const
bool ConfirmationStatusHasBeenSet() const
void SetExecutionStatus(ExecutionStatus value)
bool FromHasBeenSet() const
void SetEffectiveGasPrice(EffectiveGasPriceT &&value)
void SetTransactionTimestamp(TransactionTimestampT &&value)
Transaction & WithTransactionIndex(long long value)
const Aws::String & GetTo() const
AWS_MANAGEDBLOCKCHAINQUERY_API Transaction(Aws::Utils::Json::JsonView jsonValue)
void SetNetwork(QueryNetwork value)
Transaction & WithFrom(FromT &&value)
QueryNetwork GetNetwork() const
void SetSignatureR(SignatureRT &&value)
const Aws::String & GetSignatureR() const
int GetSignatureV() const
Transaction & WithTo(ToT &&value)
Transaction & WithTransactionFee(TransactionFeeT &&value)
Transaction & WithGasUsed(GasUsedT &&value)
void SetTransactionFee(TransactionFeeT &&value)
const Aws::String & GetBlockHash() const
bool TransactionTimestampHasBeenSet() const
void SetSignatureV(int value)
bool TransactionFeeHasBeenSet() const
Transaction & WithSignatureV(int value)
bool ContractAddressHasBeenSet() const
void SetContractAddress(ContractAddressT &&value)
Transaction & WithConfirmationStatus(ConfirmationStatus value)
void SetBlockHash(BlockHashT &&value)
bool SignatureSHasBeenSet() const
void SetTransactionId(TransactionIdT &&value)
bool TransactionIndexHasBeenSet() const
const Aws::Utils::DateTime & GetTransactionTimestamp() const
ConfirmationStatus GetConfirmationStatus() const
Transaction & WithBlockHash(BlockHashT &&value)
const Aws::String & GetSignatureS() const
Transaction & WithTransactionId(TransactionIdT &&value)
bool TransactionIdHasBeenSet() const
Transaction & WithTransactionHash(TransactionHashT &&value)
bool SignatureVHasBeenSet() const
void SetCumulativeGasUsed(CumulativeGasUsedT &&value)
ExecutionStatus GetExecutionStatus() const
bool BlockNumberHasBeenSet() const
Transaction & WithBlockNumber(BlockNumberT &&value)
const Aws::String & GetEffectiveGasPrice() const
const Aws::String & GetGasUsed() const
void SetNumberOfTransactions(long long value)
Transaction & WithNetwork(QueryNetwork value)
const Aws::String & GetTransactionId() const
void SetGasUsed(GasUsedT &&value)
bool NumberOfTransactionsHasBeenSet() const
const Aws::String & GetBlockNumber() const
Transaction & WithEffectiveGasPrice(EffectiveGasPriceT &&value)
const Aws::String & GetTransactionHash() const
const Aws::String & GetContractAddress() const
bool CumulativeGasUsedHasBeenSet() const
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConfirmationStatus(ConfirmationStatus value)
bool BlockHashHasBeenSet() const
void SetTransactionIndex(long long value)
AWS_MANAGEDBLOCKCHAINQUERY_API Transaction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAINQUERY_API Transaction()=default
const Aws::String & GetCumulativeGasUsed() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue