AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
WafBotControlConfig.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/WafInspectionLevelEnum.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lightsail {
20namespace Model {
21
29 public:
30 AWS_LIGHTSAIL_API WafBotControlConfig() = default;
31 AWS_LIGHTSAIL_API WafBotControlConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
45 inline WafInspectionLevelEnum GetInspectionLevel() const { return m_inspectionLevel; }
46 inline bool InspectionLevelHasBeenSet() const { return m_inspectionLevelHasBeenSet; }
48 m_inspectionLevelHasBeenSet = true;
49 m_inspectionLevel = value;
50 }
52 SetInspectionLevel(value);
53 return *this;
54 }
56 private:
58 bool m_inspectionLevelHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace Lightsail
63} // namespace Aws
AWS_LIGHTSAIL_API WafBotControlConfig(Aws::Utils::Json::JsonView jsonValue)
WafBotControlConfig & WithInspectionLevel(WafInspectionLevelEnum value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API WafBotControlConfig()=default
AWS_LIGHTSAIL_API WafBotControlConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
WafInspectionLevelEnum GetInspectionLevel() const
void SetInspectionLevel(WafInspectionLevelEnum value)
Aws::Utils::Json::JsonValue JsonValue