AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListTransactionEventsRequest.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 <utility>
12
13namespace Aws
14{
15namespace ManagedBlockchainQuery
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MANAGEDBLOCKCHAINQUERY_API ListTransactionEventsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListTransactionEvents"; }
32
33 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetTransactionHash() const{ return m_transactionHash; }
41 inline bool TransactionHashHasBeenSet() const { return m_transactionHashHasBeenSet; }
42 inline void SetTransactionHash(const Aws::String& value) { m_transactionHashHasBeenSet = true; m_transactionHash = value; }
43 inline void SetTransactionHash(Aws::String&& value) { m_transactionHashHasBeenSet = true; m_transactionHash = std::move(value); }
44 inline void SetTransactionHash(const char* value) { m_transactionHashHasBeenSet = true; m_transactionHash.assign(value); }
46 inline ListTransactionEventsRequest& WithTransactionHash(Aws::String&& value) { SetTransactionHash(std::move(value)); return *this;}
47 inline ListTransactionEventsRequest& WithTransactionHash(const char* value) { SetTransactionHash(value); return *this;}
49
51
56 inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
57 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
58 inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
59 inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
60 inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
61 inline ListTransactionEventsRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
62 inline ListTransactionEventsRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
63 inline ListTransactionEventsRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
65
67
70 inline const QueryNetwork& GetNetwork() const{ return m_network; }
71 inline bool NetworkHasBeenSet() const { return m_networkHasBeenSet; }
72 inline void SetNetwork(const QueryNetwork& value) { m_networkHasBeenSet = true; m_network = value; }
73 inline void SetNetwork(QueryNetwork&& value) { m_networkHasBeenSet = true; m_network = std::move(value); }
74 inline ListTransactionEventsRequest& WithNetwork(const QueryNetwork& value) { SetNetwork(value); return *this;}
75 inline ListTransactionEventsRequest& WithNetwork(QueryNetwork&& value) { SetNetwork(std::move(value)); return *this;}
77
79
82 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
85 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
86 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
87 inline ListTransactionEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
88 inline ListTransactionEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
89 inline ListTransactionEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
91
93
102 inline int GetMaxResults() const{ return m_maxResults; }
103 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
104 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
105 inline ListTransactionEventsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
107 private:
108
109 Aws::String m_transactionHash;
110 bool m_transactionHashHasBeenSet = false;
111
112 Aws::String m_transactionId;
113 bool m_transactionIdHasBeenSet = false;
114
115 QueryNetwork m_network;
116 bool m_networkHasBeenSet = false;
117
118 Aws::String m_nextToken;
119 bool m_nextTokenHasBeenSet = false;
120
121 int m_maxResults;
122 bool m_maxResultsHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace ManagedBlockchainQuery
127} // namespace Aws
ListTransactionEventsRequest & WithNetwork(QueryNetwork &&value)
ListTransactionEventsRequest & WithTransactionId(const char *value)
ListTransactionEventsRequest & WithTransactionHash(const char *value)
ListTransactionEventsRequest & WithTransactionId(Aws::String &&value)
ListTransactionEventsRequest & WithNextToken(Aws::String &&value)
ListTransactionEventsRequest & WithTransactionHash(Aws::String &&value)
ListTransactionEventsRequest & WithTransactionHash(const Aws::String &value)
ListTransactionEventsRequest & WithNetwork(const QueryNetwork &value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::String SerializePayload() const override
ListTransactionEventsRequest & WithTransactionId(const Aws::String &value)
ListTransactionEventsRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String