AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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 WAF
22{
23namespace Model
24{
25
44 {
45 public:
46 AWS_WAF_API WafAction() = default;
47 AWS_WAF_API WafAction(Aws::Utils::Json::JsonView jsonValue);
50
51
53
64 inline WafActionType GetType() const { return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 inline void SetType(WafActionType value) { m_typeHasBeenSet = true; m_type = value; }
67 inline WafAction& WithType(WafActionType value) { SetType(value); return *this;}
69 private:
70
72 bool m_typeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace WAF
77} // namespace Aws
bool TypeHasBeenSet() const
Definition WafAction.h:65
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAF_API WafAction()=default
WafAction & WithType(WafActionType value)
Definition WafAction.h:67
AWS_WAF_API WafAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(WafActionType value)
Definition WafAction.h:66
AWS_WAF_API WafAction(Aws::Utils::Json::JsonView jsonValue)
WafActionType GetType() const
Definition WafAction.h:64
Aws::Utils::Json::JsonValue JsonValue