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/AwsWafv2VisibilityConfigDetails.h>
11#include <aws/securityhub/model/AwsWafv2RulesDetails.h>
49 inline void SetCapacity(
long long value) { m_capacityHasBeenSet =
true; m_capacity = value; }
59 template<
typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
61 template<
typename DescriptionT = Aws::String>
71 template<
typename IdT = Aws::String>
72 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
73 template<
typename IdT = Aws::String>
84 template<
typename NameT = Aws::String>
85 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
86 template<
typename NameT = Aws::String>
96 template<
typename ArnT = Aws::String>
97 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
98 template<
typename ArnT = Aws::String>
111 template<
typename RulesT = Aws::Vector<AwsWafv2RulesDetails>>
112 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
113 template<
typename RulesT = Aws::Vector<AwsWafv2RulesDetails>>
115 template<
typename RulesT = AwsWafv2RulesDetails>
128 template<
typename ScopeT = Aws::String>
129 void SetScope(ScopeT&& value) { m_scopeHasBeenSet =
true; m_scope = std::forward<ScopeT>(value); }
130 template<
typename ScopeT = Aws::String>
141 template<
typename VisibilityConfigT = AwsWafv2VisibilityConfigDetails>
142 void SetVisibilityConfig(VisibilityConfigT&& value) { m_visibilityConfigHasBeenSet =
true; m_visibilityConfig = std::forward<VisibilityConfigT>(value); }
143 template<
typename VisibilityConfigT = AwsWafv2VisibilityConfigDetails>
148 long long m_capacity{0};
149 bool m_capacityHasBeenSet =
false;
152 bool m_descriptionHasBeenSet =
false;
155 bool m_idHasBeenSet =
false;
158 bool m_nameHasBeenSet =
false;
161 bool m_arnHasBeenSet =
false;
164 bool m_rulesHasBeenSet =
false;
167 bool m_scopeHasBeenSet =
false;
169 AwsWafv2VisibilityConfigDetails m_visibilityConfig;
170 bool m_visibilityConfigHasBeenSet =
false;
AWS_SECURITYHUB_API AwsWafv2RuleGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
AwsWafv2RuleGroupDetails & WithName(NameT &&value)
AwsWafv2RuleGroupDetails & WithDescription(DescriptionT &&value)
const Aws::Vector< AwsWafv2RulesDetails > & GetRules() const
long long GetCapacity() const
AwsWafv2RuleGroupDetails & WithId(IdT &&value)
bool VisibilityConfigHasBeenSet() const
bool ScopeHasBeenSet() const
void SetScope(ScopeT &&value)
bool DescriptionHasBeenSet() const
const AwsWafv2VisibilityConfigDetails & GetVisibilityConfig() const
AwsWafv2RuleGroupDetails & WithArn(ArnT &&value)
const Aws::String & GetId() const
const Aws::String & GetArn() const
bool RulesHasBeenSet() const
bool IdHasBeenSet() const
const Aws::String & GetDescription() const
AwsWafv2RuleGroupDetails & WithScope(ScopeT &&value)
bool NameHasBeenSet() const
void SetCapacity(long long value)
AWS_SECURITYHUB_API AwsWafv2RuleGroupDetails()=default
const Aws::String & GetScope() const
void SetName(NameT &&value)
AwsWafv2RuleGroupDetails & WithRules(RulesT &&value)
AWS_SECURITYHUB_API AwsWafv2RuleGroupDetails(Aws::Utils::Json::JsonView jsonValue)
void SetRules(RulesT &&value)
void SetDescription(DescriptionT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsWafv2RuleGroupDetails & WithVisibilityConfig(VisibilityConfigT &&value)
void SetVisibilityConfig(VisibilityConfigT &&value)
bool CapacityHasBeenSet() const
AwsWafv2RuleGroupDetails & WithCapacity(long long value)
void SetArn(ArnT &&value)
AwsWafv2RuleGroupDetails & AddRules(RulesT &&value)
bool ArnHasBeenSet() 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