AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ListMembersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/managedblockchain/ManagedBlockchainRequest.h>
9#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
10#include <aws/managedblockchain/model/MemberStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace ManagedBlockchain {
19namespace Model {
20
24 public:
25 AWS_MANAGEDBLOCKCHAIN_API ListMembersRequest() = default;
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 "ListMembers"; }
32
33 AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override;
34
35 AWS_MANAGEDBLOCKCHAIN_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetNetworkId() const { return m_networkId; }
42 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
43 template <typename NetworkIdT = Aws::String>
44 void SetNetworkId(NetworkIdT&& value) {
45 m_networkIdHasBeenSet = true;
46 m_networkId = std::forward<NetworkIdT>(value);
47 }
48 template <typename NetworkIdT = Aws::String>
49 ListMembersRequest& WithNetworkId(NetworkIdT&& value) {
50 SetNetworkId(std::forward<NetworkIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
67 ListMembersRequest& WithName(NameT&& value) {
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
78 inline MemberStatus GetStatus() const { return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(MemberStatus value) {
81 m_statusHasBeenSet = true;
82 m_status = value;
83 }
85 SetStatus(value);
86 return *this;
87 }
89
91
97 inline bool GetIsOwned() const { return m_isOwned; }
98 inline bool IsOwnedHasBeenSet() const { return m_isOwnedHasBeenSet; }
99 inline void SetIsOwned(bool value) {
100 m_isOwnedHasBeenSet = true;
101 m_isOwned = value;
102 }
103 inline ListMembersRequest& WithIsOwned(bool value) {
104 SetIsOwned(value);
105 return *this;
106 }
108
110
113 inline int GetMaxResults() const { return m_maxResults; }
114 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
115 inline void SetMaxResults(int value) {
116 m_maxResultsHasBeenSet = true;
117 m_maxResults = value;
118 }
120 SetMaxResults(value);
121 return *this;
122 }
124
126
129 inline const Aws::String& GetNextToken() const { return m_nextToken; }
130 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
131 template <typename NextTokenT = Aws::String>
132 void SetNextToken(NextTokenT&& value) {
133 m_nextTokenHasBeenSet = true;
134 m_nextToken = std::forward<NextTokenT>(value);
135 }
136 template <typename NextTokenT = Aws::String>
137 ListMembersRequest& WithNextToken(NextTokenT&& value) {
138 SetNextToken(std::forward<NextTokenT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_networkId;
144
145 Aws::String m_name;
146
148
149 bool m_isOwned{false};
150
151 int m_maxResults{0};
152
153 Aws::String m_nextToken;
154 bool m_networkIdHasBeenSet = false;
155 bool m_nameHasBeenSet = false;
156 bool m_statusHasBeenSet = false;
157 bool m_isOwnedHasBeenSet = false;
158 bool m_maxResultsHasBeenSet = false;
159 bool m_nextTokenHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace ManagedBlockchain
164} // namespace Aws
ListMembersRequest & WithStatus(MemberStatus value)
AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override
AWS_MANAGEDBLOCKCHAIN_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_MANAGEDBLOCKCHAIN_API ListMembersRequest()=default
ListMembersRequest & WithName(NameT &&value)
ListMembersRequest & WithNetworkId(NetworkIdT &&value)
virtual const char * GetServiceRequestName() const override
ListMembersRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String