AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListMembersRequest.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/MemberStatus.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 ListMembersRequest();
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 "ListMembers"; }
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 ListMembersRequest& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
52 inline ListMembersRequest& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
53 inline ListMembersRequest& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline ListMembersRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline ListMembersRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline ListMembersRequest& WithName(const char* value) { SetName(value); return *this;}
69
71
75 inline const MemberStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const MemberStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(MemberStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline ListMembersRequest& WithStatus(const MemberStatus& value) { SetStatus(value); return *this;}
80 inline ListMembersRequest& WithStatus(MemberStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
90 inline bool GetIsOwned() const{ return m_isOwned; }
91 inline bool IsOwnedHasBeenSet() const { return m_isOwnedHasBeenSet; }
92 inline void SetIsOwned(bool value) { m_isOwnedHasBeenSet = true; m_isOwned = value; }
93 inline ListMembersRequest& WithIsOwned(bool value) { SetIsOwned(value); return *this;}
95
97
100 inline int GetMaxResults() const{ return m_maxResults; }
101 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
102 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
103 inline ListMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
105
107
110 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
111 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
112 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
113 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
114 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
115 inline ListMembersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
116 inline ListMembersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
117 inline ListMembersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119 private:
120
121 Aws::String m_networkId;
122 bool m_networkIdHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 MemberStatus m_status;
128 bool m_statusHasBeenSet = false;
129
130 bool m_isOwned;
131 bool m_isOwnedHasBeenSet = false;
132
133 int m_maxResults;
134 bool m_maxResultsHasBeenSet = false;
135
136 Aws::String m_nextToken;
137 bool m_nextTokenHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace ManagedBlockchain
142} // namespace Aws
ListMembersRequest & WithNetworkId(const char *value)
ListMembersRequest & WithNextToken(Aws::String &&value)
ListMembersRequest & WithNetworkId(Aws::String &&value)
ListMembersRequest & WithName(const Aws::String &value)
ListMembersRequest & WithNextToken(const Aws::String &value)
AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override
ListMembersRequest & WithNextToken(const char *value)
ListMembersRequest & WithName(const char *value)
AWS_MANAGEDBLOCKCHAIN_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListMembersRequest & WithNetworkId(const Aws::String &value)
ListMembersRequest & WithStatus(MemberStatus &&value)
AWS_MANAGEDBLOCKCHAIN_API ListMembersRequest()
virtual const char * GetServiceRequestName() const override
ListMembersRequest & WithStatus(const MemberStatus &value)
ListMembersRequest & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String