7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsWafWebAclRule.h>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
67 inline void SetDefaultAction(
const char* value) { m_defaultActionHasBeenSet =
true; m_defaultAction.assign(value); }
96 inline void SetWebAclId(
const char* value) { m_webAclIdHasBeenSet =
true; m_webAclId.assign(value); }
104 bool m_nameHasBeenSet =
false;
107 bool m_defaultActionHasBeenSet =
false;
110 bool m_rulesHasBeenSet =
false;
113 bool m_webAclIdHasBeenSet =
false;
void SetRules(const Aws::Vector< AwsWafWebAclRule > &value)
bool NameHasBeenSet() const
AwsWafWebAclDetails & WithRules(Aws::Vector< AwsWafWebAclRule > &&value)
AwsWafWebAclDetails & WithWebAclId(const Aws::String &value)
AwsWafWebAclDetails & WithDefaultAction(const char *value)
void SetName(const Aws::String &value)
bool DefaultActionHasBeenSet() const
const Aws::String & GetDefaultAction() const
const Aws::String & GetName() const
const Aws::Vector< AwsWafWebAclRule > & GetRules() const
void SetName(Aws::String &&value)
AwsWafWebAclDetails & WithName(const char *value)
AwsWafWebAclDetails & AddRules(AwsWafWebAclRule &&value)
bool WebAclIdHasBeenSet() const
void SetName(const char *value)
AwsWafWebAclDetails & AddRules(const AwsWafWebAclRule &value)
AwsWafWebAclDetails & WithName(const Aws::String &value)
void SetRules(Aws::Vector< AwsWafWebAclRule > &&value)
const Aws::String & GetWebAclId() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsWafWebAclDetails & WithRules(const Aws::Vector< AwsWafWebAclRule > &value)
void SetDefaultAction(const Aws::String &value)
void SetWebAclId(Aws::String &&value)
void SetDefaultAction(const char *value)
AwsWafWebAclDetails & WithDefaultAction(const Aws::String &value)
AWS_SECURITYHUB_API AwsWafWebAclDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultAction(Aws::String &&value)
void SetWebAclId(const Aws::String &value)
AwsWafWebAclDetails & WithWebAclId(const char *value)
AWS_SECURITYHUB_API AwsWafWebAclDetails()
AWS_SECURITYHUB_API AwsWafWebAclDetails(Aws::Utils::Json::JsonView jsonValue)
bool RulesHasBeenSet() const
AwsWafWebAclDetails & WithName(Aws::String &&value)
void SetWebAclId(const char *value)
AwsWafWebAclDetails & WithDefaultAction(Aws::String &&value)
AwsWafWebAclDetails & WithWebAclId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue