AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExcludedRule.h
1
6#pragma once
7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WAF
22{
23namespace Model
24{
25
42 {
43 public:
44 AWS_WAF_API ExcludedRule();
48
49
51
54 inline const Aws::String& GetRuleId() const{ return m_ruleId; }
55 inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; }
56 inline void SetRuleId(const Aws::String& value) { m_ruleIdHasBeenSet = true; m_ruleId = value; }
57 inline void SetRuleId(Aws::String&& value) { m_ruleIdHasBeenSet = true; m_ruleId = std::move(value); }
58 inline void SetRuleId(const char* value) { m_ruleIdHasBeenSet = true; m_ruleId.assign(value); }
59 inline ExcludedRule& WithRuleId(const Aws::String& value) { SetRuleId(value); return *this;}
60 inline ExcludedRule& WithRuleId(Aws::String&& value) { SetRuleId(std::move(value)); return *this;}
61 inline ExcludedRule& WithRuleId(const char* value) { SetRuleId(value); return *this;}
63 private:
64
65 Aws::String m_ruleId;
66 bool m_ruleIdHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace WAF
71} // namespace Aws
void SetRuleId(const char *value)
AWS_WAF_API ExcludedRule(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRuleId() const
void SetRuleId(Aws::String &&value)
AWS_WAF_API ExcludedRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
ExcludedRule & WithRuleId(const Aws::String &value)
ExcludedRule & WithRuleId(Aws::String &&value)
ExcludedRule & WithRuleId(const char *value)
void SetRuleId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue