AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListTransactionsRequest.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18namespace ManagedBlockchainQuery
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_MANAGEDBLOCKCHAINQUERY_API ListTransactionsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListTransactions"; }
35
36 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetAddress() const{ return m_address; }
45 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
46 inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
47 inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
48 inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
49 inline ListTransactionsRequest& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
50 inline ListTransactionsRequest& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
51 inline ListTransactionsRequest& WithAddress(const char* value) { SetAddress(value); return *this;}
53
55
58 inline const QueryNetwork& GetNetwork() const{ return m_network; }
59 inline bool NetworkHasBeenSet() const { return m_networkHasBeenSet; }
60 inline void SetNetwork(const QueryNetwork& value) { m_networkHasBeenSet = true; m_network = value; }
61 inline void SetNetwork(QueryNetwork&& value) { m_networkHasBeenSet = true; m_network = std::move(value); }
62 inline ListTransactionsRequest& WithNetwork(const QueryNetwork& value) { SetNetwork(value); return *this;}
63 inline ListTransactionsRequest& WithNetwork(QueryNetwork&& value) { SetNetwork(std::move(value)); return *this;}
65
67
68 inline const BlockchainInstant& GetFromBlockchainInstant() const{ return m_fromBlockchainInstant; }
69 inline bool FromBlockchainInstantHasBeenSet() const { return m_fromBlockchainInstantHasBeenSet; }
70 inline void SetFromBlockchainInstant(const BlockchainInstant& value) { m_fromBlockchainInstantHasBeenSet = true; m_fromBlockchainInstant = value; }
71 inline void SetFromBlockchainInstant(BlockchainInstant&& value) { m_fromBlockchainInstantHasBeenSet = true; m_fromBlockchainInstant = std::move(value); }
75
77
78 inline const BlockchainInstant& GetToBlockchainInstant() const{ return m_toBlockchainInstant; }
79 inline bool ToBlockchainInstantHasBeenSet() const { return m_toBlockchainInstantHasBeenSet; }
80 inline void SetToBlockchainInstant(const BlockchainInstant& value) { m_toBlockchainInstantHasBeenSet = true; m_toBlockchainInstant = value; }
81 inline void SetToBlockchainInstant(BlockchainInstant&& value) { m_toBlockchainInstantHasBeenSet = true; m_toBlockchainInstant = std::move(value); }
85
87
90 inline const ListTransactionsSort& GetSort() const{ return m_sort; }
91 inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
92 inline void SetSort(const ListTransactionsSort& value) { m_sortHasBeenSet = true; m_sort = value; }
93 inline void SetSort(ListTransactionsSort&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); }
94 inline ListTransactionsRequest& WithSort(const ListTransactionsSort& value) { SetSort(value); return *this;}
95 inline ListTransactionsRequest& WithSort(ListTransactionsSort&& value) { SetSort(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
103 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
104 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
105 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
106 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
107 inline ListTransactionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 inline ListTransactionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 inline ListTransactionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
111
113
121 inline int GetMaxResults() const{ return m_maxResults; }
122 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
123 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
124 inline ListTransactionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
126
128
135 inline const ConfirmationStatusFilter& GetConfirmationStatusFilter() const{ return m_confirmationStatusFilter; }
136 inline bool ConfirmationStatusFilterHasBeenSet() const { return m_confirmationStatusFilterHasBeenSet; }
137 inline void SetConfirmationStatusFilter(const ConfirmationStatusFilter& value) { m_confirmationStatusFilterHasBeenSet = true; m_confirmationStatusFilter = value; }
138 inline void SetConfirmationStatusFilter(ConfirmationStatusFilter&& value) { m_confirmationStatusFilterHasBeenSet = true; m_confirmationStatusFilter = std::move(value); }
142 private:
143
144 Aws::String m_address;
145 bool m_addressHasBeenSet = false;
146
147 QueryNetwork m_network;
148 bool m_networkHasBeenSet = false;
149
150 BlockchainInstant m_fromBlockchainInstant;
151 bool m_fromBlockchainInstantHasBeenSet = false;
152
153 BlockchainInstant m_toBlockchainInstant;
154 bool m_toBlockchainInstantHasBeenSet = false;
155
157 bool m_sortHasBeenSet = false;
158
159 Aws::String m_nextToken;
160 bool m_nextTokenHasBeenSet = false;
161
162 int m_maxResults;
163 bool m_maxResultsHasBeenSet = false;
164
165 ConfirmationStatusFilter m_confirmationStatusFilter;
166 bool m_confirmationStatusFilterHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace ManagedBlockchainQuery
171} // namespace Aws
ListTransactionsRequest & WithNextToken(const Aws::String &value)
ListTransactionsRequest & WithNetwork(const QueryNetwork &value)
ListTransactionsRequest & WithAddress(Aws::String &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API ListTransactionsRequest()
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::String SerializePayload() const override
ListTransactionsRequest & WithFromBlockchainInstant(BlockchainInstant &&value)
ListTransactionsRequest & WithConfirmationStatusFilter(const ConfirmationStatusFilter &value)
ListTransactionsRequest & WithSort(ListTransactionsSort &&value)
ListTransactionsRequest & WithNextToken(const char *value)
ListTransactionsRequest & WithNetwork(QueryNetwork &&value)
ListTransactionsRequest & WithConfirmationStatusFilter(ConfirmationStatusFilter &&value)
ListTransactionsRequest & WithAddress(const Aws::String &value)
ListTransactionsRequest & WithNextToken(Aws::String &&value)
ListTransactionsRequest & WithToBlockchainInstant(BlockchainInstant &&value)
void SetConfirmationStatusFilter(const ConfirmationStatusFilter &value)
ListTransactionsRequest & WithToBlockchainInstant(const BlockchainInstant &value)
ListTransactionsRequest & WithFromBlockchainInstant(const BlockchainInstant &value)
const ConfirmationStatusFilter & GetConfirmationStatusFilter() const
ListTransactionsRequest & WithAddress(const char *value)
ListTransactionsRequest & WithSort(const ListTransactionsSort &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String