AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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
48 inline Scope GetScope() const { return m_scope; }
49 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
50 inline void SetScope(Scope value) { m_scopeHasBeenSet = true; m_scope = value; }
51 inline ListRuleGroupsRequest& WithScope(Scope value) { SetScope(value); return *this;}
53
55
62 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
63 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
64 template<typename NextMarkerT = Aws::String>
65 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::forward<NextMarkerT>(value); }
66 template<typename NextMarkerT = Aws::String>
67 ListRuleGroupsRequest& WithNextMarker(NextMarkerT&& value) { SetNextMarker(std::forward<NextMarkerT>(value)); return *this;}
69
71
77 inline int GetLimit() const { return m_limit; }
78 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
79 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
80 inline ListRuleGroupsRequest& WithLimit(int value) { SetLimit(value); return *this;}
82 private:
83
84 Scope m_scope{Scope::NOT_SET};
85 bool m_scopeHasBeenSet = false;
86
87 Aws::String m_nextMarker;
88 bool m_nextMarkerHasBeenSet = false;
89
90 int m_limit{0};
91 bool m_limitHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace WAFV2
96} // namespace Aws
AWS_WAFV2_API Aws::String SerializePayload() const override
ListRuleGroupsRequest & WithScope(Scope value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WAFV2_API ListRuleGroupsRequest()=default
virtual const char * GetServiceRequestName() const override
ListRuleGroupsRequest & WithNextMarker(NextMarkerT &&value)
ListRuleGroupsRequest & WithLimit(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String