AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WafOverrideAction.h
1
6#pragma once
7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/WafOverrideActionType.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
41 {
42 public:
43 AWS_WAF_API WafOverrideAction();
47
48
50
55 inline const WafOverrideActionType& GetType() const{ return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(const WafOverrideActionType& value) { m_typeHasBeenSet = true; m_type = value; }
58 inline void SetType(WafOverrideActionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
59 inline WafOverrideAction& WithType(const WafOverrideActionType& value) { SetType(value); return *this;}
60 inline WafOverrideAction& WithType(WafOverrideActionType&& value) { SetType(std::move(value)); return *this;}
62 private:
63
65 bool m_typeHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace WAF
70} // namespace Aws
WafOverrideAction & WithType(const WafOverrideActionType &value)
void SetType(WafOverrideActionType &&value)
const WafOverrideActionType & GetType() const
WafOverrideAction & WithType(WafOverrideActionType &&value)
void SetType(const WafOverrideActionType &value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAF_API WafOverrideAction(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API WafOverrideAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue