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>
54 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
68 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
69 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
92 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
93 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
105 inline void SetCapacity(
long long value) { m_capacityHasBeenSet =
true; m_capacity = value; }
143 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
181 bool m_nameHasBeenSet =
false;
184 bool m_arnHasBeenSet =
false;
186 bool m_managedbyFirewallManager;
187 bool m_managedbyFirewallManagerHasBeenSet =
false;
190 bool m_idHasBeenSet =
false;
192 long long m_capacity;
193 bool m_capacityHasBeenSet =
false;
196 bool m_captchaConfigHasBeenSet =
false;
199 bool m_defaultActionHasBeenSet =
false;
202 bool m_descriptionHasBeenSet =
false;
205 bool m_rulesHasBeenSet =
false;
208 bool m_visibilityConfigHasBeenSet =
false;
bool IdHasBeenSet() const
AwsWafv2WebAclDetails & WithArn(Aws::String &&value)
const AwsWafv2VisibilityConfigDetails & GetVisibilityConfig() const
bool VisibilityConfigHasBeenSet() const
AwsWafv2WebAclDetails & WithDescription(const Aws::String &value)
void SetName(const char *value)
void SetRules(Aws::Vector< AwsWafv2RulesDetails > &&value)
AwsWafv2WebAclDetails & WithDescription(const char *value)
AwsWafv2WebAclDetails & AddRules(const AwsWafv2RulesDetails &value)
const Aws::Vector< AwsWafv2RulesDetails > & GetRules() const
void SetDefaultAction(AwsWafv2WebAclActionDetails &&value)
void SetRules(const Aws::Vector< AwsWafv2RulesDetails > &value)
void SetVisibilityConfig(AwsWafv2VisibilityConfigDetails &&value)
void SetCapacity(long long value)
AWS_SECURITYHUB_API AwsWafv2WebAclDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
AwsWafv2WebAclDetails & WithDefaultAction(AwsWafv2WebAclActionDetails &&value)
AwsWafv2WebAclDetails & WithVisibilityConfig(const AwsWafv2VisibilityConfigDetails &value)
AwsWafv2WebAclDetails & WithDescription(Aws::String &&value)
AwsWafv2WebAclDetails & WithArn(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const AwsWafv2WebAclActionDetails & GetDefaultAction() const
bool ManagedbyFirewallManagerHasBeenSet() const
void SetArn(const Aws::String &value)
bool ArnHasBeenSet() const
void SetManagedbyFirewallManager(bool value)
bool DescriptionHasBeenSet() const
AWS_SECURITYHUB_API AwsWafv2WebAclDetails(Aws::Utils::Json::JsonView jsonValue)
bool RulesHasBeenSet() const
void SetCaptchaConfig(AwsWafv2WebAclCaptchaConfigDetails &&value)
void SetId(const Aws::String &value)
AwsWafv2WebAclDetails & WithVisibilityConfig(AwsWafv2VisibilityConfigDetails &&value)
AwsWafv2WebAclDetails & WithCaptchaConfig(const AwsWafv2WebAclCaptchaConfigDetails &value)
bool GetManagedbyFirewallManager() const
void SetName(const Aws::String &value)
AwsWafv2WebAclDetails & WithCapacity(long long value)
const Aws::String & GetId() const
AwsWafv2WebAclDetails & WithName(Aws::String &&value)
bool NameHasBeenSet() const
const AwsWafv2WebAclCaptchaConfigDetails & GetCaptchaConfig() const
void SetId(const char *value)
void SetDescription(const Aws::String &value)
AwsWafv2WebAclDetails & WithManagedbyFirewallManager(bool value)
AWS_SECURITYHUB_API AwsWafv2WebAclDetails()
bool DefaultActionHasBeenSet() const
bool CaptchaConfigHasBeenSet() const
void SetCaptchaConfig(const AwsWafv2WebAclCaptchaConfigDetails &value)
AwsWafv2WebAclDetails & WithName(const Aws::String &value)
void SetDefaultAction(const AwsWafv2WebAclActionDetails &value)
AwsWafv2WebAclDetails & WithDefaultAction(const AwsWafv2WebAclActionDetails &value)
AwsWafv2WebAclDetails & WithRules(const Aws::Vector< AwsWafv2RulesDetails > &value)
AwsWafv2WebAclDetails & WithCaptchaConfig(AwsWafv2WebAclCaptchaConfigDetails &&value)
const Aws::String & GetDescription() const
void SetId(Aws::String &&value)
void SetVisibilityConfig(const AwsWafv2VisibilityConfigDetails &value)
AwsWafv2WebAclDetails & WithName(const char *value)
void SetArn(const char *value)
bool CapacityHasBeenSet() const
void SetArn(Aws::String &&value)
AwsWafv2WebAclDetails & WithId(const Aws::String &value)
AwsWafv2WebAclDetails & WithRules(Aws::Vector< AwsWafv2RulesDetails > &&value)
AwsWafv2WebAclDetails & WithArn(const char *value)
void SetDescription(Aws::String &&value)
long long GetCapacity() const
void SetName(Aws::String &&value)
void SetDescription(const char *value)
AwsWafv2WebAclDetails & WithId(const char *value)
AwsWafv2WebAclDetails & AddRules(AwsWafv2RulesDetails &&value)
AwsWafv2WebAclDetails & WithId(Aws::String &&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