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/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/PanoramaRequest.h>
9#include <aws/panorama/model/NodeCategory.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
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:
29 AWS_PANORAMA_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_PANORAMA_API Aws::String SerializePayload() const override;
38
39 AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const NodeCategory& GetCategory() const{ return m_category; }
47 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
48 inline void SetCategory(const NodeCategory& value) { m_categoryHasBeenSet = true; m_category = value; }
49 inline void SetCategory(NodeCategory&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
50 inline ListNodesRequest& WithCategory(const NodeCategory& value) { SetCategory(value); return *this;}
51 inline ListNodesRequest& WithCategory(NodeCategory&& value) { SetCategory(std::move(value)); return *this;}
53
55
58 inline int GetMaxResults() const{ return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
61 inline ListNodesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
63
65
69 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
70 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
71 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
72 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
73 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
74 inline ListNodesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
75 inline ListNodesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
76 inline ListNodesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78
80
83 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
84 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
85 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
86 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
87 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
88 inline ListNodesRequest& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
89 inline ListNodesRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
90 inline ListNodesRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
92
94
97 inline const Aws::String& GetPackageName() const{ return m_packageName; }
98 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
99 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
100 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
101 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
102 inline ListNodesRequest& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
103 inline ListNodesRequest& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
104 inline ListNodesRequest& WithPackageName(const char* value) { SetPackageName(value); return *this;}
106
108
111 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
112 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
113 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
114 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
115 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
116 inline ListNodesRequest& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
117 inline ListNodesRequest& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
118 inline ListNodesRequest& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
120
122
125 inline const Aws::String& GetPatchVersion() const{ return m_patchVersion; }
126 inline bool PatchVersionHasBeenSet() const { return m_patchVersionHasBeenSet; }
127 inline void SetPatchVersion(const Aws::String& value) { m_patchVersionHasBeenSet = true; m_patchVersion = value; }
128 inline void SetPatchVersion(Aws::String&& value) { m_patchVersionHasBeenSet = true; m_patchVersion = std::move(value); }
129 inline void SetPatchVersion(const char* value) { m_patchVersionHasBeenSet = true; m_patchVersion.assign(value); }
130 inline ListNodesRequest& WithPatchVersion(const Aws::String& value) { SetPatchVersion(value); return *this;}
131 inline ListNodesRequest& WithPatchVersion(Aws::String&& value) { SetPatchVersion(std::move(value)); return *this;}
132 inline ListNodesRequest& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;}
134 private:
135
136 NodeCategory m_category;
137 bool m_categoryHasBeenSet = false;
138
139 int m_maxResults;
140 bool m_maxResultsHasBeenSet = false;
141
142 Aws::String m_nextToken;
143 bool m_nextTokenHasBeenSet = false;
144
145 Aws::String m_ownerAccount;
146 bool m_ownerAccountHasBeenSet = false;
147
148 Aws::String m_packageName;
149 bool m_packageNameHasBeenSet = false;
150
151 Aws::String m_packageVersion;
152 bool m_packageVersionHasBeenSet = false;
153
154 Aws::String m_patchVersion;
155 bool m_patchVersionHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace Panorama
160} // namespace Aws
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)
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