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/AwsWafWebAclRule.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
63 template <
typename DefaultActionT = Aws::String>
65 m_defaultActionHasBeenSet =
true;
66 m_defaultAction = std::forward<DefaultActionT>(value);
68 template <
typename DefaultActionT = Aws::String>
82 template <
typename RulesT = Aws::Vector<AwsWafWebAclRule>>
84 m_rulesHasBeenSet =
true;
85 m_rules = std::forward<RulesT>(value);
87 template <
typename RulesT = Aws::Vector<AwsWafWebAclRule>>
89 SetRules(std::forward<RulesT>(value));
92 template <
typename RulesT = AwsWafWebAclRule>
94 m_rulesHasBeenSet =
true;
95 m_rules.emplace_back(std::forward<RulesT>(value));
106 template <
typename WebAclIdT = Aws::String>
108 m_webAclIdHasBeenSet =
true;
109 m_webAclId = std::forward<WebAclIdT>(value);
111 template <
typename WebAclIdT = Aws::String>
125 bool m_nameHasBeenSet =
false;
126 bool m_defaultActionHasBeenSet =
false;
127 bool m_rulesHasBeenSet =
false;
128 bool m_webAclIdHasBeenSet =
false;
void SetRules(RulesT &&value)
AwsWafWebAclDetails & WithName(NameT &&value)
bool NameHasBeenSet() const
bool DefaultActionHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetDefaultAction() const
const Aws::String & GetName() const
void SetDefaultAction(DefaultActionT &&value)
AWS_SECURITYHUB_API AwsWafWebAclDetails()=default
const Aws::Vector< AwsWafWebAclRule > & GetRules() const
bool WebAclIdHasBeenSet() const
AwsWafWebAclDetails & WithWebAclId(WebAclIdT &&value)
AwsWafWebAclDetails & AddRules(RulesT &&value)
const Aws::String & GetWebAclId() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsWafWebAclDetails & WithDefaultAction(DefaultActionT &&value)
AWS_SECURITYHUB_API AwsWafWebAclDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsWafWebAclDetails(Aws::Utils::Json::JsonView jsonValue)
bool RulesHasBeenSet() const
AwsWafWebAclDetails & WithRules(RulesT &&value)
void SetWebAclId(WebAclIdT &&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