7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
10#include <aws/managedblockchain-query/model/ConfirmationStatus.h>
11#include <aws/managedblockchain-query/model/ExecutionStatus.h>
12#include <aws/managedblockchain-query/model/QueryNetwork.h>
23namespace ManagedBlockchainQuery {
51 m_networkHasBeenSet =
true;
68 template <
typename BlockHashT = Aws::String>
70 m_blockHashHasBeenSet =
true;
71 m_blockHash = std::forward<BlockHashT>(value);
73 template <
typename BlockHashT = Aws::String>
86 template <
typename TransactionHashT = Aws::String>
88 m_transactionHashHasBeenSet =
true;
89 m_transactionHash = std::forward<TransactionHashT>(value);
91 template <
typename TransactionHashT = Aws::String>
104 template <
typename BlockNumberT = Aws::String>
106 m_blockNumberHasBeenSet =
true;
107 m_blockNumber = std::forward<BlockNumberT>(value);
109 template <
typename BlockNumberT = Aws::String>
122 template <
typename TransactionTimestampT = Aws::Utils::DateTime>
124 m_transactionTimestampHasBeenSet =
true;
125 m_transactionTimestamp = std::forward<TransactionTimestampT>(value);
127 template <
typename TransactionTimestampT = Aws::Utils::DateTime>
141 m_transactionIndexHasBeenSet =
true;
142 m_transactionIndex = value;
157 m_numberOfTransactionsHasBeenSet =
true;
158 m_numberOfTransactions = value;
173 template <
typename ToT = Aws::String>
175 m_toHasBeenSet =
true;
176 m_to = std::forward<ToT>(value);
178 template <
typename ToT = Aws::String>
180 SetTo(std::forward<ToT>(value));
192 template <
typename FromT = Aws::String>
194 m_fromHasBeenSet =
true;
195 m_from = std::forward<FromT>(value);
197 template <
typename FromT = Aws::String>
199 SetFrom(std::forward<FromT>(value));
210 template <
typename ContractAddressT = Aws::String>
212 m_contractAddressHasBeenSet =
true;
213 m_contractAddress = std::forward<ContractAddressT>(value);
215 template <
typename ContractAddressT = Aws::String>
228 template <
typename GasUsedT = Aws::String>
230 m_gasUsedHasBeenSet =
true;
231 m_gasUsed = std::forward<GasUsedT>(value);
233 template <
typename GasUsedT = Aws::String>
246 template <
typename CumulativeGasUsedT = Aws::String>
248 m_cumulativeGasUsedHasBeenSet =
true;
249 m_cumulativeGasUsed = std::forward<CumulativeGasUsedT>(value);
251 template <
typename CumulativeGasUsedT = Aws::String>
264 template <
typename EffectiveGasPriceT = Aws::String>
266 m_effectiveGasPriceHasBeenSet =
true;
267 m_effectiveGasPrice = std::forward<EffectiveGasPriceT>(value);
269 template <
typename EffectiveGasPriceT = Aws::String>
283 m_signatureVHasBeenSet =
true;
284 m_signatureV = value;
298 template <
typename SignatureRT = Aws::String>
300 m_signatureRHasBeenSet =
true;
301 m_signatureR = std::forward<SignatureRT>(value);
303 template <
typename SignatureRT = Aws::String>
316 template <
typename SignatureST = Aws::String>
318 m_signatureSHasBeenSet =
true;
319 m_signatureS = std::forward<SignatureST>(value);
321 template <
typename SignatureST = Aws::String>
334 template <
typename TransactionFeeT = Aws::String>
336 m_transactionFeeHasBeenSet =
true;
337 m_transactionFee = std::forward<TransactionFeeT>(value);
339 template <
typename TransactionFeeT = Aws::String>
353 template <
typename TransactionIdT = Aws::String>
355 m_transactionIdHasBeenSet =
true;
356 m_transactionId = std::forward<TransactionIdT>(value);
358 template <
typename TransactionIdT = Aws::String>
372 m_confirmationStatusHasBeenSet =
true;
373 m_confirmationStatus = value;
388 m_executionStatusHasBeenSet =
true;
389 m_executionStatus = value;
407 long long m_transactionIndex{0};
409 long long m_numberOfTransactions{0};
436 bool m_networkHasBeenSet =
false;
437 bool m_blockHashHasBeenSet =
false;
438 bool m_transactionHashHasBeenSet =
false;
439 bool m_blockNumberHasBeenSet =
false;
440 bool m_transactionTimestampHasBeenSet =
false;
441 bool m_transactionIndexHasBeenSet =
false;
442 bool m_numberOfTransactionsHasBeenSet =
false;
443 bool m_toHasBeenSet =
false;
444 bool m_fromHasBeenSet =
false;
445 bool m_contractAddressHasBeenSet =
false;
446 bool m_gasUsedHasBeenSet =
false;
447 bool m_cumulativeGasUsedHasBeenSet =
false;
448 bool m_effectiveGasPriceHasBeenSet =
false;
449 bool m_signatureVHasBeenSet =
false;
450 bool m_signatureRHasBeenSet =
false;
451 bool m_signatureSHasBeenSet =
false;
452 bool m_transactionFeeHasBeenSet =
false;
453 bool m_transactionIdHasBeenSet =
false;
454 bool m_confirmationStatusHasBeenSet =
false;
455 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