7#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
8#include <aws/managedblockchain-query/ManagedBlockchainQueryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/managedblockchain-query/model/QueryNetwork.h>
11#include <aws/managedblockchain-query/model/BlockchainInstant.h>
12#include <aws/managedblockchain-query/model/ListTransactionsSort.h>
13#include <aws/managedblockchain-query/model/ConfirmationStatusFilter.h>
18namespace ManagedBlockchainQuery
46 template<
typename AddressT = Aws::String>
47 void SetAddress(AddressT&& value) { m_addressHasBeenSet =
true; m_address = std::forward<AddressT>(value); }
48 template<
typename AddressT = Aws::String>
66 template<
typename FromBlockchainInstantT = BlockchainInstant>
67 void SetFromBlockchainInstant(FromBlockchainInstantT&& value) { m_fromBlockchainInstantHasBeenSet =
true; m_fromBlockchainInstant = std::forward<FromBlockchainInstantT>(value); }
68 template<
typename FromBlockchainInstantT = BlockchainInstant>
76 template<
typename ToBlockchainInstantT = BlockchainInstant>
77 void SetToBlockchainInstant(ToBlockchainInstantT&& value) { m_toBlockchainInstantHasBeenSet =
true; m_toBlockchainInstant = std::forward<ToBlockchainInstantT>(value); }
78 template<
typename ToBlockchainInstantT = BlockchainInstant>
88 template<
typename SortT = ListTransactionsSort>
89 void SetSort(SortT&& value) { m_sortHasBeenSet =
true; m_sort = std::forward<SortT>(value); }
90 template<
typename SortT = ListTransactionsSort>
100 template<
typename NextTokenT = Aws::String>
101 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
102 template<
typename NextTokenT = Aws::String>
117 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
131 template<
typename ConfirmationStatusFilterT = ConfirmationStatusFilter>
132 void SetConfirmationStatusFilter(ConfirmationStatusFilterT&& value) { m_confirmationStatusFilterHasBeenSet =
true; m_confirmationStatusFilter = std::forward<ConfirmationStatusFilterT>(value); }
133 template<
typename ConfirmationStatusFilterT = ConfirmationStatusFilter>
139 bool m_addressHasBeenSet =
false;
142 bool m_networkHasBeenSet =
false;
144 BlockchainInstant m_fromBlockchainInstant;
145 bool m_fromBlockchainInstantHasBeenSet =
false;
147 BlockchainInstant m_toBlockchainInstant;
148 bool m_toBlockchainInstantHasBeenSet =
false;
150 ListTransactionsSort m_sort;
151 bool m_sortHasBeenSet =
false;
154 bool m_nextTokenHasBeenSet =
false;
157 bool m_maxResultsHasBeenSet =
false;
159 ConfirmationStatusFilter m_confirmationStatusFilter;
160 bool m_confirmationStatusFilterHasBeenSet =
false;
ListTransactionsRequest & WithSort(SortT &&value)
void SetToBlockchainInstant(ToBlockchainInstantT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::String SerializePayload() const override
const Aws::String & GetAddress() const
bool ConfirmationStatusFilterHasBeenSet() const
bool MaxResultsHasBeenSet() const
bool NextTokenHasBeenSet() const
bool AddressHasBeenSet() const
AWS_MANAGEDBLOCKCHAINQUERY_API ListTransactionsRequest()=default
bool NetworkHasBeenSet() const
ListTransactionsRequest & WithAddress(AddressT &&value)
bool SortHasBeenSet() const
void SetNetwork(QueryNetwork value)
ListTransactionsRequest & WithMaxResults(int value)
ListTransactionsRequest & WithToBlockchainInstant(ToBlockchainInstantT &&value)
virtual const char * GetServiceRequestName() const override
ListTransactionsRequest & WithNetwork(QueryNetwork value)
void SetFromBlockchainInstant(FromBlockchainInstantT &&value)
void SetAddress(AddressT &&value)
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
void SetSort(SortT &&value)
ListTransactionsRequest & WithFromBlockchainInstant(FromBlockchainInstantT &&value)
bool ToBlockchainInstantHasBeenSet() const
int GetMaxResults() const
QueryNetwork GetNetwork() const
bool FromBlockchainInstantHasBeenSet() const
const BlockchainInstant & GetFromBlockchainInstant() const
const BlockchainInstant & GetToBlockchainInstant() const
const ListTransactionsSort & GetSort() const
void SetMaxResults(int value)
ListTransactionsRequest & WithConfirmationStatusFilter(ConfirmationStatusFilterT &&value)
void SetConfirmationStatusFilter(ConfirmationStatusFilterT &&value)
const ConfirmationStatusFilter & GetConfirmationStatusFilter() const
ListTransactionsRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String