AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
47 AWS_WAF_API WafAction(Aws::Utils::Json::JsonView jsonValue);
50
51
53
64 inline const WafActionType& GetType() const{ return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 inline void SetType(const WafActionType& value) { m_typeHasBeenSet = true; m_type = value; }
67 inline void SetType(WafActionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
68 inline WafAction& WithType(const WafActionType& value) { SetType(value); return *this;}
69 inline WafAction& WithType(WafActionType&& value) { SetType(std::move(value)); return *this;}
71 private:
72
73 WafActionType m_type;
74 bool m_typeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace WAF
79} // namespace Aws
void SetType(const WafActionType &value)
Definition WafAction.h:66
bool TypeHasBeenSet() const
Definition WafAction.h:65
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(WafActionType &&value)
Definition WafAction.h:67
const WafActionType & GetType() const
Definition WafAction.h:64
AWS_WAF_API WafAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API WafAction(Aws::Utils::Json::JsonView jsonValue)
WafAction & WithType(WafActionType &&value)
Definition WafAction.h:69
WafAction & WithType(const WafActionType &value)
Definition WafAction.h:68
Aws::Utils::Json::JsonValue JsonValue