AWS SDK for C++  1.9.106
AWS SDK for C++
ListRuleGroupsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace WAFV2
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
36 
37 
48  inline const Scope& GetScope() const{ return m_scope; }
49 
60  inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
61 
72  inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; }
73 
84  inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
85 
96  inline ListRuleGroupsRequest& WithScope(const Scope& value) { SetScope(value); return *this;}
97 
108  inline ListRuleGroupsRequest& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;}
109 
110 
118  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
119 
127  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
128 
136  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
137 
145  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
146 
154  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
155 
163  inline ListRuleGroupsRequest& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
164 
172  inline ListRuleGroupsRequest& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
173 
181  inline ListRuleGroupsRequest& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
182 
183 
190  inline int GetLimit() const{ return m_limit; }
191 
198  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
199 
206  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
207 
214  inline ListRuleGroupsRequest& WithLimit(int value) { SetLimit(value); return *this;}
215 
216  private:
217 
218  Scope m_scope;
219  bool m_scopeHasBeenSet;
220 
221  Aws::String m_nextMarker;
222  bool m_nextMarkerHasBeenSet;
223 
224  int m_limit;
225  bool m_limitHasBeenSet;
226  };
227 
228 } // namespace Model
229 } // namespace WAFV2
230 } // namespace Aws
WAFV2Request.h
Scope.h
Aws::WAFV2::Model::ListRuleGroupsRequest::WithScope
ListRuleGroupsRequest & WithScope(const Scope &value)
Definition: ListRuleGroupsRequest.h:96
Aws::WAFV2::Model::ListRuleGroupsRequest::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListRuleGroupsRequest.h:118
Aws::WAFV2::Model::ListRuleGroupsRequest::GetScope
const Scope & GetScope() const
Definition: ListRuleGroupsRequest.h:48
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAFV2::Model::ListRuleGroupsRequest::SetScope
void SetScope(Scope &&value)
Definition: ListRuleGroupsRequest.h:84
Aws::WAFV2::Model::ListRuleGroupsRequest::WithNextMarker
ListRuleGroupsRequest & WithNextMarker(const char *value)
Definition: ListRuleGroupsRequest.h:181
Aws::WAFV2::Model::ListRuleGroupsRequest::ListRuleGroupsRequest
ListRuleGroupsRequest()
Aws::WAFV2::Model::ListRuleGroupsRequest::WithLimit
ListRuleGroupsRequest & WithLimit(int value)
Definition: ListRuleGroupsRequest.h:214
Aws::WAFV2::Model::ListRuleGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListRuleGroupsRequest.h:31
Aws::WAFV2::Model::ListRuleGroupsRequest::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListRuleGroupsRequest.h:145
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::ListRuleGroupsRequest::WithNextMarker
ListRuleGroupsRequest & WithNextMarker(const Aws::String &value)
Definition: ListRuleGroupsRequest.h:163
Aws::WAFV2::Model::ListRuleGroupsRequest
Definition: ListRuleGroupsRequest.h:23
Aws::WAFV2::Model::ListRuleGroupsRequest::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListRuleGroupsRequest.h:136
WAFV2_EXPORTS.h
Aws::WAFV2::Model::ListRuleGroupsRequest::WithNextMarker
ListRuleGroupsRequest & WithNextMarker(Aws::String &&value)
Definition: ListRuleGroupsRequest.h:172
Aws::WAFV2::WAFV2Request
Definition: WAFV2Request.h:17
Aws::WAFV2::Model::ListRuleGroupsRequest::WithScope
ListRuleGroupsRequest & WithScope(Scope &&value)
Definition: ListRuleGroupsRequest.h:108
Aws::WAFV2::Model::ListRuleGroupsRequest::SetScope
void SetScope(const Scope &value)
Definition: ListRuleGroupsRequest.h:72
AWSString.h
Aws::WAFV2::Model::ListRuleGroupsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WAFV2::Model::ListRuleGroupsRequest::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListRuleGroupsRequest.h:154
Aws::WAFV2::Model::ListRuleGroupsRequest::ScopeHasBeenSet
bool ScopeHasBeenSet() const
Definition: ListRuleGroupsRequest.h:60
Aws::WAFV2::Model::ListRuleGroupsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListRuleGroupsRequest.h:198
Aws::WAFV2::Model::ListRuleGroupsRequest::GetLimit
int GetLimit() const
Definition: ListRuleGroupsRequest.h:190
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::Scope
Scope
Definition: Scope.h:17
Aws::WAFV2::Model::ListRuleGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WAFV2::Model::ListRuleGroupsRequest::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: ListRuleGroupsRequest.h:127
Aws::WAFV2::Model::ListRuleGroupsRequest::SetLimit
void SetLimit(int value)
Definition: ListRuleGroupsRequest.h:206