7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsWafv2RulesDetails.h>
11#include <aws/securityhub/model/AwsWafv2VisibilityConfigDetails.h>
44 m_capacityHasBeenSet =
true;
59 template <
typename DescriptionT = Aws::String>
61 m_descriptionHasBeenSet =
true;
62 m_description = std::forward<DescriptionT>(value);
64 template <
typename DescriptionT = Aws::String>
77 template <
typename IdT = Aws::String>
79 m_idHasBeenSet =
true;
80 m_id = std::forward<IdT>(value);
82 template <
typename IdT = Aws::String>
84 SetId(std::forward<IdT>(value));
96 template <
typename NameT = Aws::String>
98 m_nameHasBeenSet =
true;
99 m_name = std::forward<NameT>(value);
101 template <
typename NameT = Aws::String>
103 SetName(std::forward<NameT>(value));
114 template <
typename ArnT = Aws::String>
116 m_arnHasBeenSet =
true;
117 m_arn = std::forward<ArnT>(value);
119 template <
typename ArnT = Aws::String>
121 SetArn(std::forward<ArnT>(value));
135 template <
typename RulesT = Aws::Vector<AwsWafv2RulesDetails>>
137 m_rulesHasBeenSet =
true;
138 m_rules = std::forward<RulesT>(value);
140 template <
typename RulesT = Aws::Vector<AwsWafv2RulesDetails>>
142 SetRules(std::forward<RulesT>(value));
145 template <
typename RulesT = AwsWafv2RulesDetails>
147 m_rulesHasBeenSet =
true;
148 m_rules.emplace_back(std::forward<RulesT>(value));
162 template <
typename ScopeT = Aws::String>
164 m_scopeHasBeenSet =
true;
165 m_scope = std::forward<ScopeT>(value);
167 template <
typename ScopeT = Aws::String>
169 SetScope(std::forward<ScopeT>(value));
181 template <
typename VisibilityConfigT = AwsWafv2VisibilityConfigDetails>
183 m_visibilityConfigHasBeenSet =
true;
184 m_visibilityConfig = std::forward<VisibilityConfigT>(value);
186 template <
typename VisibilityConfigT = AwsWafv2VisibilityConfigDetails>
193 long long m_capacity{0};
207 AwsWafv2VisibilityConfigDetails m_visibilityConfig;
208 bool m_capacityHasBeenSet =
false;
209 bool m_descriptionHasBeenSet =
false;
210 bool m_idHasBeenSet =
false;
211 bool m_nameHasBeenSet =
false;
212 bool m_arnHasBeenSet =
false;
213 bool m_rulesHasBeenSet =
false;
214 bool m_scopeHasBeenSet =
false;
215 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