AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListNodesRequest.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/managedblockchain/ManagedBlockchainRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/managedblockchain/model/NodeStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace ManagedBlockchain
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_MANAGEDBLOCKCHAIN_API ListNodesRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListNodes"; }
36
37 AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override;
38
39 AWS_MANAGEDBLOCKCHAIN_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetNetworkId() const{ return m_networkId; }
47 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
48 inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; }
49 inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); }
50 inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); }
51 inline ListNodesRequest& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
52 inline ListNodesRequest& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
53 inline ListNodesRequest& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
55
57
62 inline const Aws::String& GetMemberId() const{ return m_memberId; }
63 inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
64 inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
65 inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
66 inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); }
67 inline ListNodesRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
68 inline ListNodesRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
69 inline ListNodesRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;}
71
73
77 inline const NodeStatus& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const NodeStatus& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(NodeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline ListNodesRequest& WithStatus(const NodeStatus& value) { SetStatus(value); return *this;}
82 inline ListNodesRequest& WithStatus(NodeStatus&& value) { SetStatus(std::move(value)); return *this;}
84
86
89 inline int GetMaxResults() const{ return m_maxResults; }
90 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
92 inline ListNodesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
94
96
99 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
100 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
101 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
102 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
103 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
104 inline ListNodesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
105 inline ListNodesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
106 inline ListNodesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
108 private:
109
110 Aws::String m_networkId;
111 bool m_networkIdHasBeenSet = false;
112
113 Aws::String m_memberId;
114 bool m_memberIdHasBeenSet = false;
115
116 NodeStatus m_status;
117 bool m_statusHasBeenSet = false;
118
119 int m_maxResults;
120 bool m_maxResultsHasBeenSet = false;
121
122 Aws::String m_nextToken;
123 bool m_nextTokenHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace ManagedBlockchain
128} // namespace Aws
ListNodesRequest & WithNetworkId(Aws::String &&value)
ListNodesRequest & WithNextToken(const char *value)
ListNodesRequest & WithStatus(NodeStatus &&value)
ListNodesRequest & WithNextToken(const Aws::String &value)
ListNodesRequest & WithMemberId(Aws::String &&value)
AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override
ListNodesRequest & WithMemberId(const char *value)
AWS_MANAGEDBLOCKCHAIN_API ListNodesRequest()
ListNodesRequest & WithNextToken(Aws::String &&value)
ListNodesRequest & WithNetworkId(const Aws::String &value)
ListNodesRequest & WithNetworkId(const char *value)
ListNodesRequest & WithStatus(const NodeStatus &value)
virtual const char * GetServiceRequestName() const override
AWS_MANAGEDBLOCKCHAIN_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListNodesRequest & WithMemberId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String