AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ExcludedRule.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/waf/WAF_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WAF {
20namespace Model {
21
38 public:
39 AWS_WAF_API ExcludedRule() = default;
43
45
48 inline const Aws::String& GetRuleId() const { return m_ruleId; }
49 inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; }
50 template <typename RuleIdT = Aws::String>
51 void SetRuleId(RuleIdT&& value) {
52 m_ruleIdHasBeenSet = true;
53 m_ruleId = std::forward<RuleIdT>(value);
54 }
55 template <typename RuleIdT = Aws::String>
56 ExcludedRule& WithRuleId(RuleIdT&& value) {
57 SetRuleId(std::forward<RuleIdT>(value));
58 return *this;
59 }
61 private:
62 Aws::String m_ruleId;
63 bool m_ruleIdHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace WAF
68} // 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