AWS SDK for C++  1.9.109
AWS SDK for C++
GetRateBasedStatementManagedKeysRequest.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 "GetRateBasedStatementManagedKeys"; }
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 GetRateBasedStatementManagedKeysRequest& WithScope(const Scope& value) { SetScope(value); return *this;}
97 
108  inline GetRateBasedStatementManagedKeysRequest& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;}
109 
110 
115  inline const Aws::String& GetWebACLName() const{ return m_webACLName; }
116 
121  inline bool WebACLNameHasBeenSet() const { return m_webACLNameHasBeenSet; }
122 
127  inline void SetWebACLName(const Aws::String& value) { m_webACLNameHasBeenSet = true; m_webACLName = value; }
128 
133  inline void SetWebACLName(Aws::String&& value) { m_webACLNameHasBeenSet = true; m_webACLName = std::move(value); }
134 
139  inline void SetWebACLName(const char* value) { m_webACLNameHasBeenSet = true; m_webACLName.assign(value); }
140 
145  inline GetRateBasedStatementManagedKeysRequest& WithWebACLName(const Aws::String& value) { SetWebACLName(value); return *this;}
146 
151  inline GetRateBasedStatementManagedKeysRequest& WithWebACLName(Aws::String&& value) { SetWebACLName(std::move(value)); return *this;}
152 
157  inline GetRateBasedStatementManagedKeysRequest& WithWebACLName(const char* value) { SetWebACLName(value); return *this;}
158 
159 
165  inline const Aws::String& GetWebACLId() const{ return m_webACLId; }
166 
172  inline bool WebACLIdHasBeenSet() const { return m_webACLIdHasBeenSet; }
173 
179  inline void SetWebACLId(const Aws::String& value) { m_webACLIdHasBeenSet = true; m_webACLId = value; }
180 
186  inline void SetWebACLId(Aws::String&& value) { m_webACLIdHasBeenSet = true; m_webACLId = std::move(value); }
187 
193  inline void SetWebACLId(const char* value) { m_webACLIdHasBeenSet = true; m_webACLId.assign(value); }
194 
200  inline GetRateBasedStatementManagedKeysRequest& WithWebACLId(const Aws::String& value) { SetWebACLId(value); return *this;}
201 
207  inline GetRateBasedStatementManagedKeysRequest& WithWebACLId(Aws::String&& value) { SetWebACLId(std::move(value)); return *this;}
208 
214  inline GetRateBasedStatementManagedKeysRequest& WithWebACLId(const char* value) { SetWebACLId(value); return *this;}
215 
216 
221  inline const Aws::String& GetRuleGroupRuleName() const{ return m_ruleGroupRuleName; }
222 
227  inline bool RuleGroupRuleNameHasBeenSet() const { return m_ruleGroupRuleNameHasBeenSet; }
228 
233  inline void SetRuleGroupRuleName(const Aws::String& value) { m_ruleGroupRuleNameHasBeenSet = true; m_ruleGroupRuleName = value; }
234 
239  inline void SetRuleGroupRuleName(Aws::String&& value) { m_ruleGroupRuleNameHasBeenSet = true; m_ruleGroupRuleName = std::move(value); }
240 
245  inline void SetRuleGroupRuleName(const char* value) { m_ruleGroupRuleNameHasBeenSet = true; m_ruleGroupRuleName.assign(value); }
246 
251  inline GetRateBasedStatementManagedKeysRequest& WithRuleGroupRuleName(const Aws::String& value) { SetRuleGroupRuleName(value); return *this;}
252 
257  inline GetRateBasedStatementManagedKeysRequest& WithRuleGroupRuleName(Aws::String&& value) { SetRuleGroupRuleName(std::move(value)); return *this;}
258 
263  inline GetRateBasedStatementManagedKeysRequest& WithRuleGroupRuleName(const char* value) { SetRuleGroupRuleName(value); return *this;}
264 
265 
272  inline const Aws::String& GetRuleName() const{ return m_ruleName; }
273 
280  inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
281 
288  inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; }
289 
296  inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); }
297 
304  inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); }
305 
312  inline GetRateBasedStatementManagedKeysRequest& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;}
313 
320  inline GetRateBasedStatementManagedKeysRequest& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;}
321 
328  inline GetRateBasedStatementManagedKeysRequest& WithRuleName(const char* value) { SetRuleName(value); return *this;}
329 
330  private:
331 
332  Scope m_scope;
333  bool m_scopeHasBeenSet;
334 
335  Aws::String m_webACLName;
336  bool m_webACLNameHasBeenSet;
337 
338  Aws::String m_webACLId;
339  bool m_webACLIdHasBeenSet;
340 
341  Aws::String m_ruleGroupRuleName;
342  bool m_ruleGroupRuleNameHasBeenSet;
343 
344  Aws::String m_ruleName;
345  bool m_ruleNameHasBeenSet;
346  };
347 
348 } // namespace Model
349 } // namespace WAFV2
350 } // namespace Aws
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetWebACLId
void SetWebACLId(Aws::String &&value)
Definition: GetRateBasedStatementManagedKeysRequest.h:186
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WithRuleGroupRuleName
GetRateBasedStatementManagedKeysRequest & WithRuleGroupRuleName(Aws::String &&value)
Definition: GetRateBasedStatementManagedKeysRequest.h:257
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
WAFV2Request.h
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetScope
void SetScope(const Scope &value)
Definition: GetRateBasedStatementManagedKeysRequest.h:72
Scope.h
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::GetRateBasedStatementManagedKeysRequest
GetRateBasedStatementManagedKeysRequest()
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WithWebACLName
GetRateBasedStatementManagedKeysRequest & WithWebACLName(const char *value)
Definition: GetRateBasedStatementManagedKeysRequest.h:157
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::GetWebACLName
const Aws::String & GetWebACLName() const
Definition: GetRateBasedStatementManagedKeysRequest.h:115
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::GetRuleName
const Aws::String & GetRuleName() const
Definition: GetRateBasedStatementManagedKeysRequest.h:272
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WithWebACLName
GetRateBasedStatementManagedKeysRequest & WithWebACLName(const Aws::String &value)
Definition: GetRateBasedStatementManagedKeysRequest.h:145
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetScope
void SetScope(Scope &&value)
Definition: GetRateBasedStatementManagedKeysRequest.h:84
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WithRuleName
GetRateBasedStatementManagedKeysRequest & WithRuleName(const char *value)
Definition: GetRateBasedStatementManagedKeysRequest.h:328
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WebACLIdHasBeenSet
bool WebACLIdHasBeenSet() const
Definition: GetRateBasedStatementManagedKeysRequest.h:172
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetRuleGroupRuleName
void SetRuleGroupRuleName(const char *value)
Definition: GetRateBasedStatementManagedKeysRequest.h:245
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetWebACLId
void SetWebACLId(const Aws::String &value)
Definition: GetRateBasedStatementManagedKeysRequest.h:179
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WebACLNameHasBeenSet
bool WebACLNameHasBeenSet() const
Definition: GetRateBasedStatementManagedKeysRequest.h:121
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WithRuleName
GetRateBasedStatementManagedKeysRequest & WithRuleName(Aws::String &&value)
Definition: GetRateBasedStatementManagedKeysRequest.h:320
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetWebACLName
void SetWebACLName(const char *value)
Definition: GetRateBasedStatementManagedKeysRequest.h:139
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WithRuleGroupRuleName
GetRateBasedStatementManagedKeysRequest & WithRuleGroupRuleName(const Aws::String &value)
Definition: GetRateBasedStatementManagedKeysRequest.h:251
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest
Definition: GetRateBasedStatementManagedKeysRequest.h:23
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WithRuleName
GetRateBasedStatementManagedKeysRequest & WithRuleName(const Aws::String &value)
Definition: GetRateBasedStatementManagedKeysRequest.h:312
WAFV2_EXPORTS.h
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetRateBasedStatementManagedKeysRequest.h:31
Aws::WAFV2::WAFV2Request
Definition: WAFV2Request.h:17
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WithRuleGroupRuleName
GetRateBasedStatementManagedKeysRequest & WithRuleGroupRuleName(const char *value)
Definition: GetRateBasedStatementManagedKeysRequest.h:263
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetWebACLId
void SetWebACLId(const char *value)
Definition: GetRateBasedStatementManagedKeysRequest.h:193
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetRuleName
void SetRuleName(Aws::String &&value)
Definition: GetRateBasedStatementManagedKeysRequest.h:296
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::GetRuleGroupRuleName
const Aws::String & GetRuleGroupRuleName() const
Definition: GetRateBasedStatementManagedKeysRequest.h:221
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetWebACLName
void SetWebACLName(Aws::String &&value)
Definition: GetRateBasedStatementManagedKeysRequest.h:133
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetRuleName
void SetRuleName(const Aws::String &value)
Definition: GetRateBasedStatementManagedKeysRequest.h:288
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WithScope
GetRateBasedStatementManagedKeysRequest & WithScope(Scope &&value)
Definition: GetRateBasedStatementManagedKeysRequest.h:108
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::GetWebACLId
const Aws::String & GetWebACLId() const
Definition: GetRateBasedStatementManagedKeysRequest.h:165
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::RuleNameHasBeenSet
bool RuleNameHasBeenSet() const
Definition: GetRateBasedStatementManagedKeysRequest.h:280
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WithWebACLName
GetRateBasedStatementManagedKeysRequest & WithWebACLName(Aws::String &&value)
Definition: GetRateBasedStatementManagedKeysRequest.h:151
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::RuleGroupRuleNameHasBeenSet
bool RuleGroupRuleNameHasBeenSet() const
Definition: GetRateBasedStatementManagedKeysRequest.h:227
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WithWebACLId
GetRateBasedStatementManagedKeysRequest & WithWebACLId(const char *value)
Definition: GetRateBasedStatementManagedKeysRequest.h:214
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::ScopeHasBeenSet
bool ScopeHasBeenSet() const
Definition: GetRateBasedStatementManagedKeysRequest.h:60
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetWebACLName
void SetWebACLName(const Aws::String &value)
Definition: GetRateBasedStatementManagedKeysRequest.h:127
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::GetRateBasedStatementManagedKeysRequest::WithScope
GetRateBasedStatementManagedKeysRequest & WithScope(const Scope &value)
Definition: GetRateBasedStatementManagedKeysRequest.h:96
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WithWebACLId
GetRateBasedStatementManagedKeysRequest & WithWebACLId(Aws::String &&value)
Definition: GetRateBasedStatementManagedKeysRequest.h:207
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetRuleGroupRuleName
void SetRuleGroupRuleName(Aws::String &&value)
Definition: GetRateBasedStatementManagedKeysRequest.h:239
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetRuleGroupRuleName
void SetRuleGroupRuleName(const Aws::String &value)
Definition: GetRateBasedStatementManagedKeysRequest.h:233
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::WithWebACLId
GetRateBasedStatementManagedKeysRequest & WithWebACLId(const Aws::String &value)
Definition: GetRateBasedStatementManagedKeysRequest.h:200
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::GetScope
const Scope & GetScope() const
Definition: GetRateBasedStatementManagedKeysRequest.h:48
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysRequest::SetRuleName
void SetRuleName(const char *value)
Definition: GetRateBasedStatementManagedKeysRequest.h:304