AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StatefulRuleGroupOverride.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/model/OverrideAction.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 NetworkFirewall
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_NETWORKFIREWALL_API StatefulRuleGroupOverride();
36 AWS_NETWORKFIREWALL_API StatefulRuleGroupOverride(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const OverrideAction& GetAction() const{ return m_action; }
47 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
48 inline void SetAction(const OverrideAction& value) { m_actionHasBeenSet = true; m_action = value; }
49 inline void SetAction(OverrideAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
50 inline StatefulRuleGroupOverride& WithAction(const OverrideAction& value) { SetAction(value); return *this;}
51 inline StatefulRuleGroupOverride& WithAction(OverrideAction&& value) { SetAction(std::move(value)); return *this;}
53 private:
54
55 OverrideAction m_action;
56 bool m_actionHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace NetworkFirewall
61} // namespace Aws
StatefulRuleGroupOverride & WithAction(const OverrideAction &value)
StatefulRuleGroupOverride & WithAction(OverrideAction &&value)
AWS_NETWORKFIREWALL_API StatefulRuleGroupOverride(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API StatefulRuleGroupOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue