7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9#include <aws/lightsail/model/WafAcfpConfig.h>
10#include <aws/lightsail/model/WafAtpConfig.h>
11#include <aws/lightsail/model/WafBotControlConfig.h>
49 template <
typename NameT = Aws::String>
51 m_nameHasBeenSet =
true;
52 m_name = std::forward<NameT>(value);
54 template <
typename NameT = Aws::String>
56 SetName(std::forward<NameT>(value));
71 template <
typename AtpConfigT = WafAtpConfig>
73 m_atpConfigHasBeenSet =
true;
74 m_atpConfig = std::forward<AtpConfigT>(value);
76 template <
typename AtpConfigT = WafAtpConfig>
94 template <
typename AcfpConfigT = WafAcfpConfig>
96 m_acfpConfigHasBeenSet =
true;
97 m_acfpConfig = std::forward<AcfpConfigT>(value);
99 template <
typename AcfpConfigT = WafAcfpConfig>
116 template <
typename BotControlConfigT = WafBotControlConfig>
118 m_botControlConfigHasBeenSet =
true;
119 m_botControlConfig = std::forward<BotControlConfigT>(value);
121 template <
typename BotControlConfigT = WafBotControlConfig>
135 bool m_nameHasBeenSet =
false;
136 bool m_atpConfigHasBeenSet =
false;
137 bool m_acfpConfigHasBeenSet =
false;
138 bool m_botControlConfigHasBeenSet =
false;
WafRule & WithAcfpConfig(AcfpConfigT &&value)
void SetAcfpConfig(AcfpConfigT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
void SetBotControlConfig(BotControlConfigT &&value)
WafRule & WithBotControlConfig(BotControlConfigT &&value)
WafRule & WithAtpConfig(AtpConfigT &&value)
void SetAtpConfig(AtpConfigT &&value)
bool BotControlConfigHasBeenSet() const
AWS_LIGHTSAIL_API WafRule()=default
AWS_LIGHTSAIL_API WafRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API WafRule(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const WafAcfpConfig & GetAcfpConfig() const
const WafBotControlConfig & GetBotControlConfig() const
bool AcfpConfigHasBeenSet() const
bool NameHasBeenSet() const
WafRule & WithName(NameT &&value)
const WafAtpConfig & GetAtpConfig() const
bool AtpConfigHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue