7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsWafv2RulesDetails.h>
11#include <aws/securityhub/model/AwsWafv2VisibilityConfigDetails.h>
12#include <aws/securityhub/model/AwsWafv2WebAclActionDetails.h>
13#include <aws/securityhub/model/AwsWafv2WebAclCaptchaConfigDetails.h>
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
65 template <
typename ArnT = Aws::String>
67 m_arnHasBeenSet =
true;
68 m_arn = std::forward<ArnT>(value);
70 template <
typename ArnT = Aws::String>
72 SetArn(std::forward<ArnT>(value));
84 m_managedbyFirewallManagerHasBeenSet =
true;
85 m_managedbyFirewallManager = value;
99 template <
typename IdT = Aws::String>
101 m_idHasBeenSet =
true;
102 m_id = std::forward<IdT>(value);
104 template <
typename IdT = Aws::String>
106 SetId(std::forward<IdT>(value));
118 m_capacityHasBeenSet =
true;
134 template <
typename CaptchaConfigT = AwsWafv2WebAclCaptchaConfigDetails>
136 m_captchaConfigHasBeenSet =
true;
137 m_captchaConfig = std::forward<CaptchaConfigT>(value);
139 template <
typename CaptchaConfigT = AwsWafv2WebAclCaptchaConfigDetails>
153 template <
typename DefaultActionT = AwsWafv2WebAclActionDetails>
155 m_defaultActionHasBeenSet =
true;
156 m_defaultAction = std::forward<DefaultActionT>(value);
158 template <
typename DefaultActionT = AwsWafv2WebAclActionDetails>
171 template <
typename DescriptionT = Aws::String>
173 m_descriptionHasBeenSet =
true;
174 m_description = std::forward<DescriptionT>(value);
176 template <
typename DescriptionT = Aws::String>
192 template <
typename RulesT = Aws::Vector<AwsWafv2RulesDetails>>
194 m_rulesHasBeenSet =
true;
195 m_rules = std::forward<RulesT>(value);
197 template <
typename RulesT = Aws::Vector<AwsWafv2RulesDetails>>
199 SetRules(std::forward<RulesT>(value));
202 template <
typename RulesT = AwsWafv2RulesDetails>
204 m_rulesHasBeenSet =
true;
205 m_rules.emplace_back(std::forward<RulesT>(value));
217 template <
typename VisibilityConfigT = AwsWafv2VisibilityConfigDetails>
219 m_visibilityConfigHasBeenSet =
true;
220 m_visibilityConfig = std::forward<VisibilityConfigT>(value);
222 template <
typename VisibilityConfigT = AwsWafv2VisibilityConfigDetails>
233 bool m_managedbyFirewallManager{
false};
237 long long m_capacity{0};
239 AwsWafv2WebAclCaptchaConfigDetails m_captchaConfig;
241 AwsWafv2WebAclActionDetails m_defaultAction;
247 AwsWafv2VisibilityConfigDetails m_visibilityConfig;
248 bool m_nameHasBeenSet =
false;
249 bool m_arnHasBeenSet =
false;
250 bool m_managedbyFirewallManagerHasBeenSet =
false;
251 bool m_idHasBeenSet =
false;
252 bool m_capacityHasBeenSet =
false;
253 bool m_captchaConfigHasBeenSet =
false;
254 bool m_defaultActionHasBeenSet =
false;
255 bool m_descriptionHasBeenSet =
false;
256 bool m_rulesHasBeenSet =
false;
257 bool m_visibilityConfigHasBeenSet =
false;
bool IdHasBeenSet() const
void SetArn(ArnT &&value)
void SetName(NameT &&value)
const AwsWafv2VisibilityConfigDetails & GetVisibilityConfig() const
bool VisibilityConfigHasBeenSet() const
const Aws::Vector< AwsWafv2RulesDetails > & GetRules() const
AwsWafv2WebAclDetails & WithCaptchaConfig(CaptchaConfigT &&value)
void SetCapacity(long long value)
AWS_SECURITYHUB_API AwsWafv2WebAclDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
AwsWafv2WebAclDetails & WithDescription(DescriptionT &&value)
AwsWafv2WebAclDetails & AddRules(RulesT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const AwsWafv2WebAclActionDetails & GetDefaultAction() const
bool ManagedbyFirewallManagerHasBeenSet() const
bool ArnHasBeenSet() const
void SetDefaultAction(DefaultActionT &&value)
void SetManagedbyFirewallManager(bool value)
AwsWafv2WebAclDetails & WithRules(RulesT &&value)
bool DescriptionHasBeenSet() const
void SetRules(RulesT &&value)
AWS_SECURITYHUB_API AwsWafv2WebAclDetails(Aws::Utils::Json::JsonView jsonValue)
bool RulesHasBeenSet() const
bool GetManagedbyFirewallManager() const
AwsWafv2WebAclDetails & WithCapacity(long long value)
const Aws::String & GetId() const
bool NameHasBeenSet() const
const AwsWafv2WebAclCaptchaConfigDetails & GetCaptchaConfig() const
AwsWafv2WebAclDetails & WithManagedbyFirewallManager(bool value)
bool DefaultActionHasBeenSet() const
bool CaptchaConfigHasBeenSet() const
AwsWafv2WebAclDetails & WithId(IdT &&value)
AWS_SECURITYHUB_API AwsWafv2WebAclDetails()=default
const Aws::String & GetDescription() const
void SetCaptchaConfig(CaptchaConfigT &&value)
bool CapacityHasBeenSet() const
AwsWafv2WebAclDetails & WithDefaultAction(DefaultActionT &&value)
AwsWafv2WebAclDetails & WithName(NameT &&value)
void SetVisibilityConfig(VisibilityConfigT &&value)
long long GetCapacity() const
void SetDescription(DescriptionT &&value)
AwsWafv2WebAclDetails & WithVisibilityConfig(VisibilityConfigT &&value)
AwsWafv2WebAclDetails & WithArn(ArnT &&value)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue