AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListRuleGroupsRequest.h
Go to the documentation of this file.
1
6#pragma once
13#include <utility>
14
15namespace Aws
16{
17namespace NetworkFirewall
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ListRuleGroups"; }
34
36
38
39
47 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
48
56 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
57
65 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
66
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75
83 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
84
92 inline ListRuleGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
93
101 inline ListRuleGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102
110 inline ListRuleGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
111
112
119 inline int GetMaxResults() const{ return m_maxResults; }
120
127 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
128
135 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
136
143 inline ListRuleGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
144
145
151 inline const ResourceManagedStatus& GetScope() const{ return m_scope; }
152
158 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
159
165 inline void SetScope(const ResourceManagedStatus& value) { m_scopeHasBeenSet = true; m_scope = value; }
166
172 inline void SetScope(ResourceManagedStatus&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
173
179 inline ListRuleGroupsRequest& WithScope(const ResourceManagedStatus& value) { SetScope(value); return *this;}
180
186 inline ListRuleGroupsRequest& WithScope(ResourceManagedStatus&& value) { SetScope(std::move(value)); return *this;}
187
188
193 inline const ResourceManagedType& GetManagedType() const{ return m_managedType; }
194
199 inline bool ManagedTypeHasBeenSet() const { return m_managedTypeHasBeenSet; }
200
205 inline void SetManagedType(const ResourceManagedType& value) { m_managedTypeHasBeenSet = true; m_managedType = value; }
206
211 inline void SetManagedType(ResourceManagedType&& value) { m_managedTypeHasBeenSet = true; m_managedType = std::move(value); }
212
217 inline ListRuleGroupsRequest& WithManagedType(const ResourceManagedType& value) { SetManagedType(value); return *this;}
218
223 inline ListRuleGroupsRequest& WithManagedType(ResourceManagedType&& value) { SetManagedType(std::move(value)); return *this;}
224
225
231 inline const RuleGroupType& GetType() const{ return m_type; }
232
238 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
239
245 inline void SetType(const RuleGroupType& value) { m_typeHasBeenSet = true; m_type = value; }
246
252 inline void SetType(RuleGroupType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
253
259 inline ListRuleGroupsRequest& WithType(const RuleGroupType& value) { SetType(value); return *this;}
260
266 inline ListRuleGroupsRequest& WithType(RuleGroupType&& value) { SetType(std::move(value)); return *this;}
267
268 private:
269
270 Aws::String m_nextToken;
271 bool m_nextTokenHasBeenSet = false;
272
273 int m_maxResults;
274 bool m_maxResultsHasBeenSet = false;
275
276 ResourceManagedStatus m_scope;
277 bool m_scopeHasBeenSet = false;
278
279 ResourceManagedType m_managedType;
280 bool m_managedTypeHasBeenSet = false;
281
282 RuleGroupType m_type;
283 bool m_typeHasBeenSet = false;
284 };
285
286} // namespace Model
287} // namespace NetworkFirewall
288} // namespace Aws
#define AWS_NETWORKFIREWALL_API
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
void SetManagedType(const ResourceManagedType &value)
ListRuleGroupsRequest & WithManagedType(ResourceManagedType &&value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRuleGroupsRequest & WithNextToken(const char *value)
ListRuleGroupsRequest & WithNextToken(const Aws::String &value)
ListRuleGroupsRequest & WithNextToken(Aws::String &&value)
ListRuleGroupsRequest & WithManagedType(const ResourceManagedType &value)
ListRuleGroupsRequest & WithScope(const ResourceManagedStatus &value)
ListRuleGroupsRequest & WithType(RuleGroupType &&value)
virtual const char * GetServiceRequestName() const override
const ResourceManagedType & GetManagedType() const
ListRuleGroupsRequest & WithType(const RuleGroupType &value)
ListRuleGroupsRequest & WithScope(ResourceManagedStatus &&value)
const ResourceManagedStatus & GetScope() const
void SetScope(const ResourceManagedStatus &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String