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
61 template<
typename TransactionHashT = Aws::String>
62 void SetTransactionHash(TransactionHashT&& value) { m_transactionHashHasBeenSet =
true; m_transactionHash = std::forward<TransactionHashT>(value); }
63 template<
typename TransactionHashT = Aws::String>
84 template<
typename FromT = Aws::String>
85 void SetFrom(FromT&& value) { m_fromHasBeenSet =
true; m_from = std::forward<FromT>(value); }
86 template<
typename FromT = Aws::String>
97 template<
typename ToT = Aws::String>
98 void SetTo(ToT&& value) { m_toHasBeenSet =
true; m_to = std::forward<ToT>(value); }
99 template<
typename ToT = Aws::String>
109 template<
typename ValueT = Aws::String>
110 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
111 template<
typename ValueT = Aws::String>
121 template<
typename ContractAddressT = Aws::String>
122 void SetContractAddress(ContractAddressT&& value) { m_contractAddressHasBeenSet =
true; m_contractAddress = std::forward<ContractAddressT>(value); }
123 template<
typename ContractAddressT = Aws::String>
133 template<
typename TokenIdT = Aws::String>
134 void SetTokenId(TokenIdT&& value) { m_tokenIdHasBeenSet =
true; m_tokenId = std::forward<TokenIdT>(value); }
135 template<
typename TokenIdT = Aws::String>
146 template<
typename TransactionIdT = Aws::String>
147 void SetTransactionId(TransactionIdT&& value) { m_transactionIdHasBeenSet =
true; m_transactionId = std::forward<TransactionIdT>(value); }
148 template<
typename TransactionIdT = Aws::String>
158 inline void SetVoutIndex(
int value) { m_voutIndexHasBeenSet =
true; m_voutIndex = value; }
170 inline void SetVoutSpent(
bool value) { m_voutSpentHasBeenSet =
true; m_voutSpent = value; }
182 template<
typename SpentVoutTransactionIdT = Aws::String>
183 void SetSpentVoutTransactionId(SpentVoutTransactionIdT&& value) { m_spentVoutTransactionIdHasBeenSet =
true; m_spentVoutTransactionId = std::forward<SpentVoutTransactionIdT>(value); }
184 template<
typename SpentVoutTransactionIdT = Aws::String>
196 template<
typename SpentVoutTransactionHashT = Aws::String>
197 void SetSpentVoutTransactionHash(SpentVoutTransactionHashT&& value) { m_spentVoutTransactionHashHasBeenSet =
true; m_spentVoutTransactionHash = std::forward<SpentVoutTransactionHashT>(value); }
198 template<
typename SpentVoutTransactionHashT = Aws::String>
210 inline void SetSpentVoutIndex(
int value) { m_spentVoutIndexHasBeenSet =
true; m_spentVoutIndex = value; }
218 template<
typename BlockchainInstantT = BlockchainInstant>
219 void SetBlockchainInstant(BlockchainInstantT&& value) { m_blockchainInstantHasBeenSet =
true; m_blockchainInstant = std::forward<BlockchainInstantT>(value); }
220 template<
typename BlockchainInstantT = BlockchainInstant>
236 bool m_networkHasBeenSet =
false;
239 bool m_transactionHashHasBeenSet =
false;
242 bool m_eventTypeHasBeenSet =
false;
245 bool m_fromHasBeenSet =
false;
248 bool m_toHasBeenSet =
false;
251 bool m_valueHasBeenSet =
false;
254 bool m_contractAddressHasBeenSet =
false;
257 bool m_tokenIdHasBeenSet =
false;
260 bool m_transactionIdHasBeenSet =
false;
263 bool m_voutIndexHasBeenSet =
false;
265 bool m_voutSpent{
false};
266 bool m_voutSpentHasBeenSet =
false;
269 bool m_spentVoutTransactionIdHasBeenSet =
false;
272 bool m_spentVoutTransactionHashHasBeenSet =
false;
274 int m_spentVoutIndex{0};
275 bool m_spentVoutIndexHasBeenSet =
false;
277 BlockchainInstant m_blockchainInstant;
278 bool m_blockchainInstantHasBeenSet =
false;
281 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