7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsWafv2RulesActionDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsWafv2VisibilityConfigDetails.h>
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 inline void SetOverrideAction(
const char* value) { m_overrideActionHasBeenSet =
true; m_overrideAction.assign(value); }
97 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
116 bool m_actionHasBeenSet =
false;
119 bool m_nameHasBeenSet =
false;
122 bool m_overrideActionHasBeenSet =
false;
125 bool m_priorityHasBeenSet =
false;
128 bool m_visibilityConfigHasBeenSet =
false;
AwsWafv2RulesDetails & WithName(const Aws::String &value)
bool PriorityHasBeenSet() const
void SetPriority(int value)
AwsWafv2RulesDetails & WithOverrideAction(const char *value)
AWS_SECURITYHUB_API AwsWafv2RulesDetails()
AwsWafv2RulesDetails & WithPriority(int value)
bool VisibilityConfigHasBeenSet() const
const AwsWafv2RulesActionDetails & GetAction() const
bool ActionHasBeenSet() const
AwsWafv2RulesDetails & WithAction(AwsWafv2RulesActionDetails &&value)
bool OverrideActionHasBeenSet() const
void SetOverrideAction(const Aws::String &value)
const AwsWafv2VisibilityConfigDetails & GetVisibilityConfig() const
void SetName(const Aws::String &value)
void SetAction(AwsWafv2RulesActionDetails &&value)
bool NameHasBeenSet() const
AwsWafv2RulesDetails & WithName(Aws::String &&value)
AWS_SECURITYHUB_API AwsWafv2RulesDetails(Aws::Utils::Json::JsonView jsonValue)
AwsWafv2RulesDetails & WithName(const char *value)
AwsWafv2RulesDetails & WithOverrideAction(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
void SetVisibilityConfig(const AwsWafv2VisibilityConfigDetails &value)
void SetName(const char *value)
const Aws::String & GetName() const
const Aws::String & GetOverrideAction() const
void SetOverrideAction(Aws::String &&value)
void SetOverrideAction(const char *value)
AwsWafv2RulesDetails & WithVisibilityConfig(AwsWafv2VisibilityConfigDetails &&value)
AwsWafv2RulesDetails & WithVisibilityConfig(const AwsWafv2VisibilityConfigDetails &value)
AwsWafv2RulesDetails & WithOverrideAction(Aws::String &&value)
void SetVisibilityConfig(AwsWafv2VisibilityConfigDetails &&value)
AWS_SECURITYHUB_API AwsWafv2RulesDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAction(const AwsWafv2RulesActionDetails &value)
AwsWafv2RulesDetails & WithAction(const AwsWafv2RulesActionDetails &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue