AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListNodesRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Panorama
20{
21namespace Model
22{
23
27 {
28 public:
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
38
40
41
45 inline const NodeCategory& GetCategory() const{ return m_category; }
46
50 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
51
55 inline void SetCategory(const NodeCategory& value) { m_categoryHasBeenSet = true; m_category = value; }
56
60 inline void SetCategory(NodeCategory&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
61
65 inline ListNodesRequest& WithCategory(const NodeCategory& value) { SetCategory(value); return *this;}
66
70 inline ListNodesRequest& WithCategory(NodeCategory&& value) { SetCategory(std::move(value)); return *this;}
71
72
76 inline int GetMaxResults() const{ return m_maxResults; }
77
81 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
82
86 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
87
91 inline ListNodesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92
93
98 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
99
104 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
105
110 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
111
116 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
117
122 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
123
128 inline ListNodesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
129
134 inline ListNodesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
135
140 inline ListNodesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
141
142
146 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
147
151 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
152
156 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
157
161 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
162
166 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
167
171 inline ListNodesRequest& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
172
176 inline ListNodesRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
177
181 inline ListNodesRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
182
183
187 inline const Aws::String& GetPackageName() const{ return m_packageName; }
188
192 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
193
197 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
198
202 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
203
207 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
208
212 inline ListNodesRequest& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
213
217 inline ListNodesRequest& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
218
222 inline ListNodesRequest& WithPackageName(const char* value) { SetPackageName(value); return *this;}
223
224
228 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
229
233 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
234
238 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
239
243 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
244
248 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
249
253 inline ListNodesRequest& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
254
258 inline ListNodesRequest& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
259
263 inline ListNodesRequest& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
264
265
269 inline const Aws::String& GetPatchVersion() const{ return m_patchVersion; }
270
274 inline bool PatchVersionHasBeenSet() const { return m_patchVersionHasBeenSet; }
275
279 inline void SetPatchVersion(const Aws::String& value) { m_patchVersionHasBeenSet = true; m_patchVersion = value; }
280
284 inline void SetPatchVersion(Aws::String&& value) { m_patchVersionHasBeenSet = true; m_patchVersion = std::move(value); }
285
289 inline void SetPatchVersion(const char* value) { m_patchVersionHasBeenSet = true; m_patchVersion.assign(value); }
290
294 inline ListNodesRequest& WithPatchVersion(const Aws::String& value) { SetPatchVersion(value); return *this;}
295
299 inline ListNodesRequest& WithPatchVersion(Aws::String&& value) { SetPatchVersion(std::move(value)); return *this;}
300
304 inline ListNodesRequest& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;}
305
306 private:
307
308 NodeCategory m_category;
309 bool m_categoryHasBeenSet = false;
310
311 int m_maxResults;
312 bool m_maxResultsHasBeenSet = false;
313
314 Aws::String m_nextToken;
315 bool m_nextTokenHasBeenSet = false;
316
317 Aws::String m_ownerAccount;
318 bool m_ownerAccountHasBeenSet = false;
319
320 Aws::String m_packageName;
321 bool m_packageNameHasBeenSet = false;
322
323 Aws::String m_packageVersion;
324 bool m_packageVersionHasBeenSet = false;
325
326 Aws::String m_patchVersion;
327 bool m_patchVersionHasBeenSet = false;
328 };
329
330} // namespace Model
331} // namespace Panorama
332} // namespace Aws
#define AWS_PANORAMA_API
ListNodesRequest & WithCategory(NodeCategory &&value)
ListNodesRequest & WithOwnerAccount(Aws::String &&value)
void SetNextToken(Aws::String &&value)
void SetCategory(const NodeCategory &value)
const Aws::String & GetNextToken() const
ListNodesRequest & WithPatchVersion(const char *value)
virtual const char * GetServiceRequestName() const override
ListNodesRequest & WithCategory(const NodeCategory &value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
void SetPackageName(Aws::String &&value)
ListNodesRequest & WithPackageName(const char *value)
ListNodesRequest & WithPackageName(Aws::String &&value)
ListNodesRequest & WithPackageVersion(Aws::String &&value)
void SetPatchVersion(Aws::String &&value)
void SetPackageVersion(const Aws::String &value)
void SetOwnerAccount(Aws::String &&value)
ListNodesRequest & WithOwnerAccount(const char *value)
ListNodesRequest & WithMaxResults(int value)
ListNodesRequest & WithPackageName(const Aws::String &value)
void SetNextToken(const Aws::String &value)
ListNodesRequest & WithPatchVersion(Aws::String &&value)
void SetPackageVersion(Aws::String &&value)
ListNodesRequest & WithPackageVersion(const Aws::String &value)
void SetPackageName(const Aws::String &value)
void SetCategory(NodeCategory &&value)
void SetPackageVersion(const char *value)
ListNodesRequest & WithNextToken(const char *value)
const Aws::String & GetPatchVersion() const
ListNodesRequest & WithPatchVersion(const Aws::String &value)
const NodeCategory & GetCategory() const
ListNodesRequest & WithNextToken(Aws::String &&value)
ListNodesRequest & WithNextToken(const Aws::String &value)
const Aws::String & GetPackageName() const
void SetPatchVersion(const Aws::String &value)
ListNodesRequest & WithPackageVersion(const char *value)
ListNodesRequest & WithOwnerAccount(const Aws::String &value)
const Aws::String & GetPackageVersion() const
const Aws::String & GetOwnerAccount() const
AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetOwnerAccount(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String