7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
9#include <aws/managedblockchain-query/model/BlockchainInstant.h>
10#include <aws/managedblockchain-query/model/ConfirmationStatus.h>
11#include <aws/managedblockchain-query/model/QueryNetwork.h>
12#include <aws/managedblockchain-query/model/QueryTransactionEventType.h>
23namespace ManagedBlockchainQuery {
46 m_networkHasBeenSet =
true;
61 template <
typename TransactionHashT = Aws::String>
63 m_transactionHashHasBeenSet =
true;
64 m_transactionHash = std::forward<TransactionHashT>(value);
66 template <
typename TransactionHashT = Aws::String>
80 m_eventTypeHasBeenSet =
true;
96 template <
typename FromT = Aws::String>
98 m_fromHasBeenSet =
true;
99 m_from = std::forward<FromT>(value);
101 template <
typename FromT = Aws::String>
103 SetFrom(std::forward<FromT>(value));
115 template <
typename ToT = Aws::String>
117 m_toHasBeenSet =
true;
118 m_to = std::forward<ToT>(value);
120 template <
typename ToT = Aws::String>
122 SetTo(std::forward<ToT>(value));
133 template <
typename ValueT = Aws::String>
135 m_valueHasBeenSet =
true;
136 m_value = std::forward<ValueT>(value);
138 template <
typename ValueT = Aws::String>
140 SetValue(std::forward<ValueT>(value));
151 template <
typename ContractAddressT = Aws::String>
153 m_contractAddressHasBeenSet =
true;
154 m_contractAddress = std::forward<ContractAddressT>(value);
156 template <
typename ContractAddressT = Aws::String>
169 template <
typename TokenIdT = Aws::String>
171 m_tokenIdHasBeenSet =
true;
172 m_tokenId = std::forward<TokenIdT>(value);
174 template <
typename TokenIdT = Aws::String>
188 template <
typename TransactionIdT = Aws::String>
190 m_transactionIdHasBeenSet =
true;
191 m_transactionId = std::forward<TransactionIdT>(value);
193 template <
typename TransactionIdT = Aws::String>
207 m_voutIndexHasBeenSet =
true;
225 m_voutSpentHasBeenSet =
true;
242 template <
typename SpentVoutTransactionIdT = Aws::String>
244 m_spentVoutTransactionIdHasBeenSet =
true;
245 m_spentVoutTransactionId = std::forward<SpentVoutTransactionIdT>(value);
247 template <
typename SpentVoutTransactionIdT = Aws::String>
262 template <
typename SpentVoutTransactionHashT = Aws::String>
264 m_spentVoutTransactionHashHasBeenSet =
true;
265 m_spentVoutTransactionHash = std::forward<SpentVoutTransactionHashT>(value);
267 template <
typename SpentVoutTransactionHashT = Aws::String>
283 m_spentVoutIndexHasBeenSet =
true;
284 m_spentVoutIndex = value;
296 template <
typename BlockchainInstantT = BlockchainInstant>
298 m_blockchainInstantHasBeenSet =
true;
299 m_blockchainInstant = std::forward<BlockchainInstantT>(value);
301 template <
typename BlockchainInstantT = BlockchainInstant>
315 m_confirmationStatusHasBeenSet =
true;
316 m_confirmationStatus = value;
344 bool m_voutSpent{
false};
350 int m_spentVoutIndex{0};
352 BlockchainInstant m_blockchainInstant;
355 bool m_networkHasBeenSet =
false;
356 bool m_transactionHashHasBeenSet =
false;
357 bool m_eventTypeHasBeenSet =
false;
358 bool m_fromHasBeenSet =
false;
359 bool m_toHasBeenSet =
false;
360 bool m_valueHasBeenSet =
false;
361 bool m_contractAddressHasBeenSet =
false;
362 bool m_tokenIdHasBeenSet =
false;
363 bool m_transactionIdHasBeenSet =
false;
364 bool m_voutIndexHasBeenSet =
false;
365 bool m_voutSpentHasBeenSet =
false;
366 bool m_spentVoutTransactionIdHasBeenSet =
false;
367 bool m_spentVoutTransactionHashHasBeenSet =
false;
368 bool m_spentVoutIndexHasBeenSet =
false;
369 bool m_blockchainInstantHasBeenSet =
false;
370 bool m_confirmationStatusHasBeenSet =
false;
TransactionEvent & WithContractAddress(ContractAddressT &&value)
TransactionEvent & WithSpentVoutTransactionId(SpentVoutTransactionIdT &&value)
TransactionEvent & WithFrom(FromT &&value)
bool ValueHasBeenSet() const
TransactionEvent & WithVoutIndex(int value)
TransactionEvent & WithTo(ToT &&value)
void SetBlockchainInstant(BlockchainInstantT &&value)
TransactionEvent & WithConfirmationStatus(ConfirmationStatus value)
void SetEventType(QueryTransactionEventType value)
const Aws::String & GetTransactionId() const
const Aws::String & GetSpentVoutTransactionId() const
void SetTransactionHash(TransactionHashT &&value)
bool EventTypeHasBeenSet() const
bool SpentVoutIndexHasBeenSet() const
const Aws::String & GetFrom() const
bool NetworkHasBeenSet() const
void SetTokenId(TokenIdT &&value)
TransactionEvent & WithSpentVoutTransactionHash(SpentVoutTransactionHashT &&value)
TransactionEvent & WithEventType(QueryTransactionEventType value)
TransactionEvent & WithSpentVoutIndex(int value)
TransactionEvent & WithBlockchainInstant(BlockchainInstantT &&value)
bool SpentVoutTransactionHashHasBeenSet() const
bool VoutIndexHasBeenSet() const
bool VoutSpentHasBeenSet() const
void SetContractAddress(ContractAddressT &&value)
TransactionEvent & WithTransactionId(TransactionIdT &&value)
void SetNetwork(QueryNetwork value)
const Aws::String & GetContractAddress() const
void SetFrom(FromT &&value)
TransactionEvent & WithValue(ValueT &&value)
const Aws::String & GetTokenId() const
AWS_MANAGEDBLOCKCHAINQUERY_API TransactionEvent()=default
bool TokenIdHasBeenSet() const
bool GetVoutSpent() const
void SetSpentVoutTransactionHash(SpentVoutTransactionHashT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API TransactionEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ToHasBeenSet() const
bool BlockchainInstantHasBeenSet() const
const Aws::String & GetTo() const
void SetValue(ValueT &&value)
int GetSpentVoutIndex() const
const Aws::String & GetTransactionHash() const
bool TransactionHashHasBeenSet() const
bool ContractAddressHasBeenSet() const
void SetConfirmationStatus(ConfirmationStatus value)
void SetVoutSpent(bool value)
TransactionEvent & WithNetwork(QueryNetwork value)
bool SpentVoutTransactionIdHasBeenSet() const
bool TransactionIdHasBeenSet() const
TransactionEvent & WithTokenId(TokenIdT &&value)
void SetSpentVoutIndex(int value)
const Aws::String & GetSpentVoutTransactionHash() const
void SetSpentVoutTransactionId(SpentVoutTransactionIdT &&value)
void SetVoutIndex(int value)
TransactionEvent & WithTransactionHash(TransactionHashT &&value)
const BlockchainInstant & GetBlockchainInstant() const
AWS_MANAGEDBLOCKCHAINQUERY_API TransactionEvent(Aws::Utils::Json::JsonView jsonValue)
bool ConfirmationStatusHasBeenSet() const
bool FromHasBeenSet() const
void SetTransactionId(TransactionIdT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
TransactionEvent & WithVoutSpent(bool value)
ConfirmationStatus GetConfirmationStatus() const
const Aws::String & GetValue() const
QueryTransactionEventType GetEventType() const
QueryNetwork GetNetwork() const
QueryTransactionEventType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue