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-regional/WAFRegional_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 WAFRegional
22{
23namespace Model
24{
25
43 {
44 public:
45 AWS_WAFREGIONAL_API ExcludedRule() = default;
46 AWS_WAFREGIONAL_API ExcludedRule(Aws::Utils::Json::JsonView jsonValue);
47 AWS_WAFREGIONAL_API ExcludedRule& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const Aws::String& GetRuleId() const { return m_ruleId; }
56 inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; }
57 template<typename RuleIdT = Aws::String>
58 void SetRuleId(RuleIdT&& value) { m_ruleIdHasBeenSet = true; m_ruleId = std::forward<RuleIdT>(value); }
59 template<typename RuleIdT = Aws::String>
60 ExcludedRule& WithRuleId(RuleIdT&& value) { SetRuleId(std::forward<RuleIdT>(value)); return *this;}
62 private:
63
64 Aws::String m_ruleId;
65 bool m_ruleIdHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace WAFRegional
70} // namespace Aws
AWS_WAFREGIONAL_API ExcludedRule & operator=(Aws::Utils::Json::JsonView jsonValue)
ExcludedRule & WithRuleId(RuleIdT &&value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRuleId() const
AWS_WAFREGIONAL_API ExcludedRule(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFREGIONAL_API ExcludedRule()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue