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-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();
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 inline void SetRuleId(const Aws::String& value) { m_ruleIdHasBeenSet = true; m_ruleId = value; }
58 inline void SetRuleId(Aws::String&& value) { m_ruleIdHasBeenSet = true; m_ruleId = std::move(value); }
59 inline void SetRuleId(const char* value) { m_ruleIdHasBeenSet = true; m_ruleId.assign(value); }
60 inline ExcludedRule& WithRuleId(const Aws::String& value) { SetRuleId(value); return *this;}
61 inline ExcludedRule& WithRuleId(Aws::String&& value) { SetRuleId(std::move(value)); return *this;}
62 inline ExcludedRule& WithRuleId(const char* value) { SetRuleId(value); return *this;}
64 private:
65
66 Aws::String m_ruleId;
67 bool m_ruleIdHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace WAFRegional
72} // namespace Aws
AWS_WAFREGIONAL_API ExcludedRule & operator=(Aws::Utils::Json::JsonView jsonValue)
ExcludedRule & WithRuleId(const Aws::String &value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFREGIONAL_API ExcludedRule()
const Aws::String & GetRuleId() const
void SetRuleId(const char *value)
void SetRuleId(const Aws::String &value)
void SetRuleId(Aws::String &&value)
AWS_WAFREGIONAL_API ExcludedRule(Aws::Utils::Json::JsonView jsonValue)
ExcludedRule & WithRuleId(const char *value)
ExcludedRule & WithRuleId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue