AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRuleGroupsRequest.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/wafv2/model/Scope.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WAFV2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WAFV2_API ListRuleGroupsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListRuleGroups"; }
32
33 AWS_WAFV2_API Aws::String SerializePayload() const override;
34
36
37
39
50 inline const Scope& GetScope() const{ return m_scope; }
51 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
52 inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; }
53 inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
54 inline ListRuleGroupsRequest& WithScope(const Scope& value) { SetScope(value); return *this;}
55 inline ListRuleGroupsRequest& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;}
57
59
66 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
67 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
68 inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
69 inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
70 inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
71 inline ListRuleGroupsRequest& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
72 inline ListRuleGroupsRequest& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
73 inline ListRuleGroupsRequest& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
75
77
83 inline int GetLimit() const{ return m_limit; }
84 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
85 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
86 inline ListRuleGroupsRequest& WithLimit(int value) { SetLimit(value); return *this;}
88 private:
89
90 Scope m_scope;
91 bool m_scopeHasBeenSet = false;
92
93 Aws::String m_nextMarker;
94 bool m_nextMarkerHasBeenSet = false;
95
96 int m_limit;
97 bool m_limitHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace WAFV2
102} // namespace Aws
void SetNextMarker(const Aws::String &value)
AWS_WAFV2_API Aws::String SerializePayload() const override
ListRuleGroupsRequest & WithNextMarker(const Aws::String &value)
ListRuleGroupsRequest & WithNextMarker(const char *value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRuleGroupsRequest & WithScope(const Scope &value)
ListRuleGroupsRequest & WithNextMarker(Aws::String &&value)
ListRuleGroupsRequest & WithScope(Scope &&value)
virtual const char * GetServiceRequestName() const override
ListRuleGroupsRequest & WithLimit(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String