AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
48
49
51
54 inline const Aws::String& GetRuleId() const { return m_ruleId; }
55 inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; }
56 template<typename RuleIdT = Aws::String>
57 void SetRuleId(RuleIdT&& value) { m_ruleIdHasBeenSet = true; m_ruleId = std::forward<RuleIdT>(value); }
58 template<typename RuleIdT = Aws::String>
59 ExcludedRule& WithRuleId(RuleIdT&& value) { SetRuleId(std::forward<RuleIdT>(value)); return *this;}
61 private:
62
63 Aws::String m_ruleId;
64 bool m_ruleIdHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace WAF
69} // namespace Aws
AWS_WAF_API ExcludedRule(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRuleId() const
void SetRuleId(RuleIdT &&value)
AWS_WAF_API ExcludedRule()=default
AWS_WAF_API ExcludedRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
ExcludedRule & WithRuleId(RuleIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue