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/managedblockchain-query/model/QueryTransactionEventType.h>
11#include <aws/managedblockchain-query/model/BlockchainInstant.h>
12#include <aws/managedblockchain-query/model/ConfirmationStatus.h>
25namespace ManagedBlockchainQuery
65 inline void SetTransactionHash(
const char* value) { m_transactionHashHasBeenSet =
true; m_transactionHash.assign(value); }
92 inline void SetFrom(
const char* value) { m_fromHasBeenSet =
true; m_from.assign(value); }
107 inline void SetTo(
const char* value) { m_toHasBeenSet =
true; m_to.assign(value); }
121 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
135 inline void SetContractAddress(
const char* value) { m_contractAddressHasBeenSet =
true; m_contractAddress.assign(value); }
149 inline void SetTokenId(
const char* value) { m_tokenIdHasBeenSet =
true; m_tokenId.assign(value); }
164 inline void SetTransactionId(
const char* value) { m_transactionIdHasBeenSet =
true; m_transactionId.assign(value); }
176 inline void SetVoutIndex(
int value) { m_voutIndexHasBeenSet =
true; m_voutIndex = value; }
188 inline void SetVoutSpent(
bool value) { m_voutSpentHasBeenSet =
true; m_voutSpent = value; }
202 inline void SetSpentVoutTransactionId(
const char* value) { m_spentVoutTransactionIdHasBeenSet =
true; m_spentVoutTransactionId.assign(value); }
218 inline void SetSpentVoutTransactionHash(
const char* value) { m_spentVoutTransactionHashHasBeenSet =
true; m_spentVoutTransactionHash.assign(value); }
232 inline void SetSpentVoutIndex(
int value) { m_spentVoutIndexHasBeenSet =
true; m_spentVoutIndex = value; }
260 bool m_networkHasBeenSet =
false;
263 bool m_transactionHashHasBeenSet =
false;
266 bool m_eventTypeHasBeenSet =
false;
269 bool m_fromHasBeenSet =
false;
272 bool m_toHasBeenSet =
false;
275 bool m_valueHasBeenSet =
false;
278 bool m_contractAddressHasBeenSet =
false;
281 bool m_tokenIdHasBeenSet =
false;
284 bool m_transactionIdHasBeenSet =
false;
287 bool m_voutIndexHasBeenSet =
false;
290 bool m_voutSpentHasBeenSet =
false;
293 bool m_spentVoutTransactionIdHasBeenSet =
false;
296 bool m_spentVoutTransactionHashHasBeenSet =
false;
298 int m_spentVoutIndex;
299 bool m_spentVoutIndexHasBeenSet =
false;
302 bool m_blockchainInstantHasBeenSet =
false;
305 bool m_confirmationStatusHasBeenSet =
false;
void SetSpentVoutTransactionHash(Aws::String &&value)
bool ValueHasBeenSet() const
TransactionEvent & WithVoutIndex(int value)
TransactionEvent & WithTokenId(Aws::String &&value)
void SetSpentVoutTransactionHash(const char *value)
TransactionEvent & WithTransactionHash(Aws::String &&value)
TransactionEvent & WithSpentVoutTransactionHash(const Aws::String &value)
void SetEventType(QueryTransactionEventType &&value)
void SetTo(const Aws::String &value)
void SetTokenId(const char *value)
const QueryNetwork & GetNetwork() const
const Aws::String & GetTransactionId() const
const Aws::String & GetSpentVoutTransactionId() const
void SetBlockchainInstant(BlockchainInstant &&value)
TransactionEvent & WithSpentVoutTransactionId(Aws::String &&value)
const ConfirmationStatus & GetConfirmationStatus() const
bool EventTypeHasBeenSet() const
bool SpentVoutIndexHasBeenSet() const
const Aws::String & GetFrom() const
bool NetworkHasBeenSet() const
void SetTransactionHash(const Aws::String &value)
void SetTo(Aws::String &&value)
void SetTokenId(const Aws::String &value)
TransactionEvent & WithFrom(const char *value)
void SetConfirmationStatus(ConfirmationStatus &&value)
TransactionEvent & WithSpentVoutIndex(int value)
bool SpentVoutTransactionHashHasBeenSet() const
void SetEventType(const QueryTransactionEventType &value)
bool VoutIndexHasBeenSet() const
void SetConfirmationStatus(const ConfirmationStatus &value)
void SetValue(const Aws::String &value)
void SetTransactionHash(const char *value)
TransactionEvent & WithTokenId(const char *value)
bool VoutSpentHasBeenSet() const
void SetTokenId(Aws::String &&value)
TransactionEvent & WithEventType(const QueryTransactionEventType &value)
void SetTransactionId(const Aws::String &value)
const Aws::String & GetContractAddress() const
void SetTransactionId(const char *value)
TransactionEvent & WithContractAddress(const Aws::String &value)
TransactionEvent & WithBlockchainInstant(const BlockchainInstant &value)
const Aws::String & GetTokenId() const
const QueryTransactionEventType & GetEventType() const
TransactionEvent & WithTransactionHash(const Aws::String &value)
TransactionEvent & WithSpentVoutTransactionHash(const char *value)
void SetTransactionId(Aws::String &&value)
TransactionEvent & WithSpentVoutTransactionHash(Aws::String &&value)
void SetValue(Aws::String &&value)
bool TokenIdHasBeenSet() const
bool GetVoutSpent() const
TransactionEvent & WithNetwork(QueryNetwork &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API TransactionEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ToHasBeenSet() const
AWS_MANAGEDBLOCKCHAINQUERY_API TransactionEvent()
bool BlockchainInstantHasBeenSet() const
const Aws::String & GetTo() const
TransactionEvent & WithConfirmationStatus(const ConfirmationStatus &value)
int GetSpentVoutIndex() const
void SetNetwork(QueryNetwork &&value)
const Aws::String & GetTransactionHash() const
bool TransactionHashHasBeenSet() const
void SetTransactionHash(Aws::String &&value)
bool ContractAddressHasBeenSet() const
void SetSpentVoutTransactionId(Aws::String &&value)
TransactionEvent & WithContractAddress(const char *value)
void SetNetwork(const QueryNetwork &value)
void SetContractAddress(const Aws::String &value)
void SetVoutSpent(bool value)
bool SpentVoutTransactionIdHasBeenSet() const
void SetFrom(const char *value)
void SetSpentVoutTransactionId(const Aws::String &value)
TransactionEvent & WithSpentVoutTransactionId(const char *value)
bool TransactionIdHasBeenSet() const
void SetSpentVoutIndex(int value)
TransactionEvent & WithNetwork(const QueryNetwork &value)
const Aws::String & GetSpentVoutTransactionHash() const
TransactionEvent & WithFrom(Aws::String &&value)
void SetSpentVoutTransactionHash(const Aws::String &value)
TransactionEvent & WithContractAddress(Aws::String &&value)
TransactionEvent & WithTransactionId(const Aws::String &value)
void SetFrom(const Aws::String &value)
void SetVoutIndex(int value)
TransactionEvent & WithBlockchainInstant(BlockchainInstant &&value)
TransactionEvent & WithValue(const char *value)
void SetValue(const char *value)
TransactionEvent & WithTransactionHash(const char *value)
const BlockchainInstant & GetBlockchainInstant() const
TransactionEvent & WithSpentVoutTransactionId(const Aws::String &value)
AWS_MANAGEDBLOCKCHAINQUERY_API TransactionEvent(Aws::Utils::Json::JsonView jsonValue)
TransactionEvent & WithTo(const char *value)
void SetContractAddress(Aws::String &&value)
bool ConfirmationStatusHasBeenSet() const
TransactionEvent & WithEventType(QueryTransactionEventType &&value)
TransactionEvent & WithTransactionId(Aws::String &&value)
bool FromHasBeenSet() const
void SetSpentVoutTransactionId(const char *value)
void SetTo(const char *value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContractAddress(const char *value)
TransactionEvent & WithConfirmationStatus(ConfirmationStatus &&value)
TransactionEvent & WithVoutSpent(bool value)
TransactionEvent & WithTokenId(const Aws::String &value)
void SetBlockchainInstant(const BlockchainInstant &value)
TransactionEvent & WithValue(const Aws::String &value)
TransactionEvent & WithValue(Aws::String &&value)
TransactionEvent & WithFrom(const Aws::String &value)
void SetFrom(Aws::String &&value)
TransactionEvent & WithTo(const Aws::String &value)
TransactionEvent & WithTransactionId(const char *value)
const Aws::String & GetValue() const
TransactionEvent & WithTo(Aws::String &&value)
QueryTransactionEventType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue