AWS SDK for C++  1.9.131
AWS SDK for C++
ListActivatedRulesInRuleGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WAFRegional
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListActivatedRulesInRuleGroup"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetRuleGroupId() const{ return m_ruleGroupId; }
42 
47  inline bool RuleGroupIdHasBeenSet() const { return m_ruleGroupIdHasBeenSet; }
48 
53  inline void SetRuleGroupId(const Aws::String& value) { m_ruleGroupIdHasBeenSet = true; m_ruleGroupId = value; }
54 
59  inline void SetRuleGroupId(Aws::String&& value) { m_ruleGroupIdHasBeenSet = true; m_ruleGroupId = std::move(value); }
60 
65  inline void SetRuleGroupId(const char* value) { m_ruleGroupIdHasBeenSet = true; m_ruleGroupId.assign(value); }
66 
71  inline ListActivatedRulesInRuleGroupRequest& WithRuleGroupId(const Aws::String& value) { SetRuleGroupId(value); return *this;}
72 
77  inline ListActivatedRulesInRuleGroupRequest& WithRuleGroupId(Aws::String&& value) { SetRuleGroupId(std::move(value)); return *this;}
78 
83  inline ListActivatedRulesInRuleGroupRequest& WithRuleGroupId(const char* value) { SetRuleGroupId(value); return *this;}
84 
85 
95  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
96 
106  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
107 
117  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
118 
128  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
129 
139  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
140 
150  inline ListActivatedRulesInRuleGroupRequest& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
151 
161  inline ListActivatedRulesInRuleGroupRequest& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
162 
172  inline ListActivatedRulesInRuleGroupRequest& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
173 
174 
182  inline int GetLimit() const{ return m_limit; }
183 
191  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
192 
200  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
201 
209  inline ListActivatedRulesInRuleGroupRequest& WithLimit(int value) { SetLimit(value); return *this;}
210 
211  private:
212 
213  Aws::String m_ruleGroupId;
214  bool m_ruleGroupIdHasBeenSet;
215 
216  Aws::String m_nextMarker;
217  bool m_nextMarkerHasBeenSet;
218 
219  int m_limit;
220  bool m_limitHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace WAFRegional
225 } // namespace Aws
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::GetLimit
int GetLimit() const
Definition: ListActivatedRulesInRuleGroupRequest.h:182
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::WithRuleGroupId
ListActivatedRulesInRuleGroupRequest & WithRuleGroupId(const char *value)
Definition: ListActivatedRulesInRuleGroupRequest.h:83
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::RuleGroupIdHasBeenSet
bool RuleGroupIdHasBeenSet() const
Definition: ListActivatedRulesInRuleGroupRequest.h:47
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::WithRuleGroupId
ListActivatedRulesInRuleGroupRequest & WithRuleGroupId(Aws::String &&value)
Definition: ListActivatedRulesInRuleGroupRequest.h:77
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::GetRuleGroupId
const Aws::String & GetRuleGroupId() const
Definition: ListActivatedRulesInRuleGroupRequest.h:41
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest
Definition: ListActivatedRulesInRuleGroupRequest.h:22
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListActivatedRulesInRuleGroupRequest.h:117
Aws::WAFRegional::WAFRegionalRequest
Definition: WAFRegionalRequest.h:17
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::WithLimit
ListActivatedRulesInRuleGroupRequest & WithLimit(int value)
Definition: ListActivatedRulesInRuleGroupRequest.h:209
AWS_WAFREGIONAL_API
#define AWS_WAFREGIONAL_API
Definition: WAFRegional_EXPORTS.h:28
WAFRegionalRequest.h
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::WithNextMarker
ListActivatedRulesInRuleGroupRequest & WithNextMarker(Aws::String &&value)
Definition: ListActivatedRulesInRuleGroupRequest.h:161
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListActivatedRulesInRuleGroupRequest.h:139
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::SetRuleGroupId
void SetRuleGroupId(Aws::String &&value)
Definition: ListActivatedRulesInRuleGroupRequest.h:59
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::SetRuleGroupId
void SetRuleGroupId(const char *value)
Definition: ListActivatedRulesInRuleGroupRequest.h:65
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::WithRuleGroupId
ListActivatedRulesInRuleGroupRequest & WithRuleGroupId(const Aws::String &value)
Definition: ListActivatedRulesInRuleGroupRequest.h:71
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::SetLimit
void SetLimit(int value)
Definition: ListActivatedRulesInRuleGroupRequest.h:200
AWSString.h
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::WithNextMarker
ListActivatedRulesInRuleGroupRequest & WithNextMarker(const Aws::String &value)
Definition: ListActivatedRulesInRuleGroupRequest.h:150
WAFRegional_EXPORTS.h
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::ListActivatedRulesInRuleGroupRequest
ListActivatedRulesInRuleGroupRequest()
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListActivatedRulesInRuleGroupRequest.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListActivatedRulesInRuleGroupRequest.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::WithNextMarker
ListActivatedRulesInRuleGroupRequest & WithNextMarker(const char *value)
Definition: ListActivatedRulesInRuleGroupRequest.h:172
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::SetRuleGroupId
void SetRuleGroupId(const Aws::String &value)
Definition: ListActivatedRulesInRuleGroupRequest.h:53
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListActivatedRulesInRuleGroupRequest.h:191
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: ListActivatedRulesInRuleGroupRequest.h:106
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListActivatedRulesInRuleGroupRequest.h:128
Aws::WAFRegional::Model::ListActivatedRulesInRuleGroupRequest::SerializePayload
Aws::String SerializePayload() const override