AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
ActionCondition.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/ActionValue.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WAFV2 {
20namespace Model {
21
29 public:
30 AWS_WAFV2_API ActionCondition() = default;
33 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
44 inline ActionValue GetAction() const { return m_action; }
45 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
46 inline void SetAction(ActionValue value) {
47 m_actionHasBeenSet = true;
48 m_action = value;
49 }
51 SetAction(value);
52 return *this;
53 }
55 private:
57 bool m_actionHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace WAFV2
62} // namespace Aws
AWS_WAFV2_API ActionCondition(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
ActionCondition & WithAction(ActionValue value)
AWS_WAFV2_API ActionCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAction(ActionValue value)
AWS_WAFV2_API ActionCondition()=default
Aws::Utils::Json::JsonValue JsonValue