AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
WafAction.h
1
6#pragma once
7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/WafActionType.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
39class WafAction {
40 public:
41 AWS_WAF_API WafAction() = default;
42 AWS_WAF_API WafAction(Aws::Utils::Json::JsonView jsonValue);
45
47
58 inline WafActionType GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(WafActionType value) {
61 m_typeHasBeenSet = true;
62 m_type = value;
63 }
65 SetType(value);
66 return *this;
67 }
69 private:
71 bool m_typeHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace WAF
76} // namespace Aws
bool TypeHasBeenSet() const
Definition WafAction.h:59
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAF_API WafAction()=default
WafAction & WithType(WafActionType value)
Definition WafAction.h:64
AWS_WAF_API WafAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(WafActionType value)
Definition WafAction.h:60
AWS_WAF_API WafAction(Aws::Utils::Json::JsonView jsonValue)
WafActionType GetType() const
Definition WafAction.h:58
Aws::Utils::Json::JsonValue JsonValue