7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/managedblockchain-query/ManagedBlockchainQueryRequest.h>
9#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
10#include <aws/managedblockchain-query/model/BlockchainInstant.h>
11#include <aws/managedblockchain-query/model/ConfirmationStatusFilter.h>
12#include <aws/managedblockchain-query/model/ListTransactionsSort.h>
13#include <aws/managedblockchain-query/model/QueryNetwork.h>
18namespace ManagedBlockchainQuery {
42 template <
typename AddressT = Aws::String>
44 m_addressHasBeenSet =
true;
45 m_address = std::forward<AddressT>(value);
47 template <
typename AddressT = Aws::String>
61 m_networkHasBeenSet =
true;
74 template <
typename FromBlockchainInstantT = BlockchainInstant>
76 m_fromBlockchainInstantHasBeenSet =
true;
77 m_fromBlockchainInstant = std::forward<FromBlockchainInstantT>(value);
79 template <
typename FromBlockchainInstantT = BlockchainInstant>
90 template <
typename ToBlockchainInstantT = BlockchainInstant>
92 m_toBlockchainInstantHasBeenSet =
true;
93 m_toBlockchainInstant = std::forward<ToBlockchainInstantT>(value);
95 template <
typename ToBlockchainInstantT = BlockchainInstant>
108 template <
typename SortT = ListTransactionsSort>
110 m_sortHasBeenSet =
true;
111 m_sort = std::forward<SortT>(value);
113 template <
typename SortT = ListTransactionsSort>
115 SetSort(std::forward<SortT>(value));
126 template <
typename NextTokenT = Aws::String>
128 m_nextTokenHasBeenSet =
true;
129 m_nextToken = std::forward<NextTokenT>(value);
131 template <
typename NextTokenT = Aws::String>
150 m_maxResultsHasBeenSet =
true;
151 m_maxResults = value;
169 template <
typename ConfirmationStatusFilterT = ConfirmationStatusFilter>
171 m_confirmationStatusFilterHasBeenSet =
true;
172 m_confirmationStatusFilter = std::forward<ConfirmationStatusFilterT>(value);
174 template <
typename ConfirmationStatusFilterT = ConfirmationStatusFilter>
185 BlockchainInstant m_fromBlockchainInstant;
187 BlockchainInstant m_toBlockchainInstant;
189 ListTransactionsSort m_sort;
195 ConfirmationStatusFilter m_confirmationStatusFilter;
196 bool m_addressHasBeenSet =
false;
197 bool m_networkHasBeenSet =
false;
198 bool m_fromBlockchainInstantHasBeenSet =
false;
199 bool m_toBlockchainInstantHasBeenSet =
false;
200 bool m_sortHasBeenSet =
false;
201 bool m_nextTokenHasBeenSet =
false;
202 bool m_maxResultsHasBeenSet =
false;
203 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