AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 NodeCategory GetCategory() const { return m_category; }
47 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
48 inline void SetCategory(NodeCategory value) { m_categoryHasBeenSet = true; m_category = value; }
49 inline ListNodesRequest& WithCategory(NodeCategory value) { SetCategory(value); return *this;}
51
53
56 inline int GetMaxResults() const { return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
59 inline ListNodesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61
63
67 inline const Aws::String& GetNextToken() const { return m_nextToken; }
68 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
69 template<typename NextTokenT = Aws::String>
70 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
71 template<typename NextTokenT = Aws::String>
72 ListNodesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
74
76
79 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
80 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
81 template<typename OwnerAccountT = Aws::String>
82 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
83 template<typename OwnerAccountT = Aws::String>
84 ListNodesRequest& WithOwnerAccount(OwnerAccountT&& value) { SetOwnerAccount(std::forward<OwnerAccountT>(value)); return *this;}
86
88
91 inline const Aws::String& GetPackageName() const { return m_packageName; }
92 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
93 template<typename PackageNameT = Aws::String>
94 void SetPackageName(PackageNameT&& value) { m_packageNameHasBeenSet = true; m_packageName = std::forward<PackageNameT>(value); }
95 template<typename PackageNameT = Aws::String>
96 ListNodesRequest& WithPackageName(PackageNameT&& value) { SetPackageName(std::forward<PackageNameT>(value)); return *this;}
98
100
103 inline const Aws::String& GetPackageVersion() const { return m_packageVersion; }
104 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
105 template<typename PackageVersionT = Aws::String>
106 void SetPackageVersion(PackageVersionT&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::forward<PackageVersionT>(value); }
107 template<typename PackageVersionT = Aws::String>
108 ListNodesRequest& WithPackageVersion(PackageVersionT&& value) { SetPackageVersion(std::forward<PackageVersionT>(value)); return *this;}
110
112
115 inline const Aws::String& GetPatchVersion() const { return m_patchVersion; }
116 inline bool PatchVersionHasBeenSet() const { return m_patchVersionHasBeenSet; }
117 template<typename PatchVersionT = Aws::String>
118 void SetPatchVersion(PatchVersionT&& value) { m_patchVersionHasBeenSet = true; m_patchVersion = std::forward<PatchVersionT>(value); }
119 template<typename PatchVersionT = Aws::String>
120 ListNodesRequest& WithPatchVersion(PatchVersionT&& value) { SetPatchVersion(std::forward<PatchVersionT>(value)); return *this;}
122 private:
123
125 bool m_categoryHasBeenSet = false;
126
127 int m_maxResults{0};
128 bool m_maxResultsHasBeenSet = false;
129
130 Aws::String m_nextToken;
131 bool m_nextTokenHasBeenSet = false;
132
133 Aws::String m_ownerAccount;
134 bool m_ownerAccountHasBeenSet = false;
135
136 Aws::String m_packageName;
137 bool m_packageNameHasBeenSet = false;
138
139 Aws::String m_packageVersion;
140 bool m_packageVersionHasBeenSet = false;
141
142 Aws::String m_patchVersion;
143 bool m_patchVersionHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace Panorama
148} // namespace Aws
ListNodesRequest & WithCategory(NodeCategory value)
ListNodesRequest & WithPackageVersion(PackageVersionT &&value)
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
AWS_PANORAMA_API Aws::String SerializePayload() const override
void SetPackageVersion(PackageVersionT &&value)
void SetPatchVersion(PatchVersionT &&value)
ListNodesRequest & WithPatchVersion(PatchVersionT &&value)
ListNodesRequest & WithMaxResults(int value)
AWS_PANORAMA_API ListNodesRequest()=default
ListNodesRequest & WithNextToken(NextTokenT &&value)
void SetPackageName(PackageNameT &&value)
const Aws::String & GetPatchVersion() const
ListNodesRequest & WithPackageName(PackageNameT &&value)
ListNodesRequest & WithOwnerAccount(OwnerAccountT &&value)
const Aws::String & GetPackageName() const
const Aws::String & GetPackageVersion() const
const Aws::String & GetOwnerAccount() const
AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetOwnerAccount(OwnerAccountT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String