AWS SDK for C++  1.9.129
AWS SDK for C++
ListNetworksRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace ManagedBlockchain
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "ListNetworks"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
46  inline const Aws::String& GetName() const{ return m_name; }
47 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
56  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 
61  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 
66  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 
71  inline ListNetworksRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
76  inline ListNetworksRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 
81  inline ListNetworksRequest& WithName(const char* value) { SetName(value); return *this;}
82 
83 
88  inline const Framework& GetFramework() const{ return m_framework; }
89 
94  inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
95 
100  inline void SetFramework(const Framework& value) { m_frameworkHasBeenSet = true; m_framework = value; }
101 
106  inline void SetFramework(Framework&& value) { m_frameworkHasBeenSet = true; m_framework = std::move(value); }
107 
112  inline ListNetworksRequest& WithFramework(const Framework& value) { SetFramework(value); return *this;}
113 
118  inline ListNetworksRequest& WithFramework(Framework&& value) { SetFramework(std::move(value)); return *this;}
119 
120 
125  inline const NetworkStatus& GetStatus() const{ return m_status; }
126 
131  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
132 
137  inline void SetStatus(const NetworkStatus& value) { m_statusHasBeenSet = true; m_status = value; }
138 
143  inline void SetStatus(NetworkStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
144 
149  inline ListNetworksRequest& WithStatus(const NetworkStatus& value) { SetStatus(value); return *this;}
150 
155  inline ListNetworksRequest& WithStatus(NetworkStatus&& value) { SetStatus(std::move(value)); return *this;}
156 
157 
161  inline int GetMaxResults() const{ return m_maxResults; }
162 
166  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
167 
171  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
172 
176  inline ListNetworksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
177 
178 
182  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
183 
187  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
188 
192  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
193 
197  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
198 
202  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
203 
207  inline ListNetworksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
208 
212  inline ListNetworksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
213 
217  inline ListNetworksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
218 
219  private:
220 
221  Aws::String m_name;
222  bool m_nameHasBeenSet;
223 
224  Framework m_framework;
225  bool m_frameworkHasBeenSet;
226 
227  NetworkStatus m_status;
228  bool m_statusHasBeenSet;
229 
230  int m_maxResults;
231  bool m_maxResultsHasBeenSet;
232 
233  Aws::String m_nextToken;
234  bool m_nextTokenHasBeenSet;
235  };
236 
237 } // namespace Model
238 } // namespace ManagedBlockchain
239 } // namespace Aws
Aws::ManagedBlockchain::Model::ListNetworksRequest::WithNextToken
ListNetworksRequest & WithNextToken(const Aws::String &value)
Definition: ListNetworksRequest.h:207
Aws::ManagedBlockchain::Model::ListNetworksRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListNetworksRequest.h:197
Aws::Http::URI
Definition: URI.h:32
Aws::ManagedBlockchain::Model::ListNetworksRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ManagedBlockchain::Model::ListNetworksRequest::WithName
ListNetworksRequest & WithName(const Aws::String &value)
Definition: ListNetworksRequest.h:71
NetworkStatus.h
Aws::ManagedBlockchain::Model::ListNetworksRequest::WithName
ListNetworksRequest & WithName(Aws::String &&value)
Definition: ListNetworksRequest.h:76
Aws::ManagedBlockchain::Model::ListNetworksRequest::SetStatus
void SetStatus(const NetworkStatus &value)
Definition: ListNetworksRequest.h:137
Aws::ManagedBlockchain::Model::ListNetworksRequest::ListNetworksRequest
ListNetworksRequest()
Aws::ManagedBlockchain::Model::ListNetworksRequest::WithFramework
ListNetworksRequest & WithFramework(const Framework &value)
Definition: ListNetworksRequest.h:112
Aws::ManagedBlockchain::Model::ListNetworksRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListNetworksRequest.h:187
Aws::ManagedBlockchain::Model::ListNetworksRequest::WithNextToken
ListNetworksRequest & WithNextToken(const char *value)
Definition: ListNetworksRequest.h:217
Aws::ManagedBlockchain::Model::ListNetworksRequest::SetFramework
void SetFramework(const Framework &value)
Definition: ListNetworksRequest.h:100
Aws::ManagedBlockchain::Model::ListNetworksRequest::WithMaxResults
ListNetworksRequest & WithMaxResults(int value)
Definition: ListNetworksRequest.h:176
Aws::ManagedBlockchain::Model::ListNetworksRequest::GetStatus
const NetworkStatus & GetStatus() const
Definition: ListNetworksRequest.h:125
Aws::ManagedBlockchain::Model::ListNetworksRequest::SetName
void SetName(const char *value)
Definition: ListNetworksRequest.h:66
Aws::ManagedBlockchain::Model::ListNetworksRequest::WithStatus
ListNetworksRequest & WithStatus(NetworkStatus &&value)
Definition: ListNetworksRequest.h:155
Aws::ManagedBlockchain::Model::ListNetworksRequest::WithNextToken
ListNetworksRequest & WithNextToken(Aws::String &&value)
Definition: ListNetworksRequest.h:212
Aws::ManagedBlockchain::Model::ListNetworksRequest::SetName
void SetName(Aws::String &&value)
Definition: ListNetworksRequest.h:61
Aws::ManagedBlockchain::Model::ListNetworksRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ListNetworksRequest.h:131
Aws::ManagedBlockchain::Model::ListNetworksRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListNetworksRequest.h:166
Aws::ManagedBlockchain::Model::ListNetworksRequest::GetMaxResults
int GetMaxResults() const
Definition: ListNetworksRequest.h:161
Aws::ManagedBlockchain::Model::ListNetworksRequest::WithName
ListNetworksRequest & WithName(const char *value)
Definition: ListNetworksRequest.h:81
Aws::ManagedBlockchain::Model::ListNetworksRequest::SetFramework
void SetFramework(Framework &&value)
Definition: ListNetworksRequest.h:106
Aws::ManagedBlockchain::Model::ListNetworksRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListNetworksRequest.h:36
Aws::ManagedBlockchain::Model::ListNetworksRequest::GetName
const Aws::String & GetName() const
Definition: ListNetworksRequest.h:46
Aws::ManagedBlockchain::Model::ListNetworksRequest::SetName
void SetName(const Aws::String &value)
Definition: ListNetworksRequest.h:56
Aws::ManagedBlockchain::Model::ListNetworksRequest::GetFramework
const Framework & GetFramework() const
Definition: ListNetworksRequest.h:88
Aws::ManagedBlockchain::Model::ListNetworksRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListNetworksRequest.h:192
Framework.h
Aws::ManagedBlockchain::Model::ListNetworksRequest::WithFramework
ListNetworksRequest & WithFramework(Framework &&value)
Definition: ListNetworksRequest.h:118
AWSString.h
Aws::ManagedBlockchain::ManagedBlockchainRequest
Definition: ManagedBlockchainRequest.h:17
Aws::ManagedBlockchain::Model::ListNetworksRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListNetworksRequest.h:202
Aws::ManagedBlockchain::Model::ListNetworksRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListNetworksRequest.h:171
Aws::ManagedBlockchain::Model::ListNetworksRequest::FrameworkHasBeenSet
bool FrameworkHasBeenSet() const
Definition: ListNetworksRequest.h:94
ManagedBlockchainRequest.h
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws::ManagedBlockchain::Model::ListNetworksRequest::WithStatus
ListNetworksRequest & WithStatus(const NetworkStatus &value)
Definition: ListNetworksRequest.h:149
Aws
Definition: AccessManagementClient.h:15
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::Framework
Framework
Definition: Framework.h:17
Aws::ManagedBlockchain::Model::NetworkStatus
NetworkStatus
Definition: NetworkStatus.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ManagedBlockchain::Model::ListNetworksRequest
Definition: ListNetworksRequest.h:28
Aws::ManagedBlockchain::Model::ListNetworksRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::ManagedBlockchain::Model::ListNetworksRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListNetworksRequest.h:182
Aws::ManagedBlockchain::Model::ListNetworksRequest::SetStatus
void SetStatus(NetworkStatus &&value)
Definition: ListNetworksRequest.h:143
Aws::ManagedBlockchain::Model::ListNetworksRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ListNetworksRequest.h:51