7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsWafv2WebAclCaptchaConfigDetails.h>
10#include <aws/securityhub/model/AwsWafv2WebAclActionDetails.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/securityhub/model/AwsWafv2VisibilityConfigDetails.h>
13#include <aws/securityhub/model/AwsWafv2RulesDetails.h>
52 template<
typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
54 template<
typename NameT = Aws::String>
65 template<
typename ArnT = Aws::String>
66 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
67 template<
typename ArnT = Aws::String>
87 template<
typename IdT = Aws::String>
88 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
89 template<
typename IdT = Aws::String>
99 inline void SetCapacity(
long long value) { m_capacityHasBeenSet =
true; m_capacity = value; }
110 template<
typename CaptchaConfigT = AwsWafv2WebAclCaptchaConfigDetails>
111 void SetCaptchaConfig(CaptchaConfigT&& value) { m_captchaConfigHasBeenSet =
true; m_captchaConfig = std::forward<CaptchaConfigT>(value); }
112 template<
typename CaptchaConfigT = AwsWafv2WebAclCaptchaConfigDetails>
123 template<
typename DefaultActionT = AwsWafv2WebAclActionDetails>
124 void SetDefaultAction(DefaultActionT&& value) { m_defaultActionHasBeenSet =
true; m_defaultAction = std::forward<DefaultActionT>(value); }
125 template<
typename DefaultActionT = AwsWafv2WebAclActionDetails>
135 template<
typename DescriptionT = Aws::String>
136 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
137 template<
typename DescriptionT = Aws::String>
150 template<
typename RulesT = Aws::Vector<AwsWafv2RulesDetails>>
151 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
152 template<
typename RulesT = Aws::Vector<AwsWafv2RulesDetails>>
154 template<
typename RulesT = AwsWafv2RulesDetails>
165 template<
typename VisibilityConfigT = AwsWafv2VisibilityConfigDetails>
166 void SetVisibilityConfig(VisibilityConfigT&& value) { m_visibilityConfigHasBeenSet =
true; m_visibilityConfig = std::forward<VisibilityConfigT>(value); }
167 template<
typename VisibilityConfigT = AwsWafv2VisibilityConfigDetails>
173 bool m_nameHasBeenSet =
false;
176 bool m_arnHasBeenSet =
false;
178 bool m_managedbyFirewallManager{
false};
179 bool m_managedbyFirewallManagerHasBeenSet =
false;
182 bool m_idHasBeenSet =
false;
184 long long m_capacity{0};
185 bool m_capacityHasBeenSet =
false;
187 AwsWafv2WebAclCaptchaConfigDetails m_captchaConfig;
188 bool m_captchaConfigHasBeenSet =
false;
190 AwsWafv2WebAclActionDetails m_defaultAction;
191 bool m_defaultActionHasBeenSet =
false;
194 bool m_descriptionHasBeenSet =
false;
197 bool m_rulesHasBeenSet =
false;
199 AwsWafv2VisibilityConfigDetails m_visibilityConfig;
200 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