7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsWafv2ActionAllowDetails.h>
9#include <aws/securityhub/model/AwsWafv2ActionBlockDetails.h>
10#include <aws/securityhub/model/AwsWafv2RulesActionCaptchaDetails.h>
11#include <aws/securityhub/model/AwsWafv2RulesActionCountDetails.h>
51 template<
typename AllowT = AwsWafv2ActionAllowDetails>
52 void SetAllow(AllowT&& value) { m_allowHasBeenSet =
true; m_allow = std::forward<AllowT>(value); }
53 template<
typename AllowT = AwsWafv2ActionAllowDetails>
63 template<
typename BlockT = AwsWafv2ActionBlockDetails>
64 void SetBlock(BlockT&& value) { m_blockHasBeenSet =
true; m_block = std::forward<BlockT>(value); }
65 template<
typename BlockT = AwsWafv2ActionBlockDetails>
75 template<
typename CaptchaT = AwsWafv2RulesActionCaptchaDetails>
76 void SetCaptcha(CaptchaT&& value) { m_captchaHasBeenSet =
true; m_captcha = std::forward<CaptchaT>(value); }
77 template<
typename CaptchaT = AwsWafv2RulesActionCaptchaDetails>
88 template<
typename CountT = AwsWafv2RulesActionCountDetails>
89 void SetCount(CountT&& value) { m_countHasBeenSet =
true; m_count = std::forward<CountT>(value); }
90 template<
typename CountT = AwsWafv2RulesActionCountDetails>
96 bool m_allowHasBeenSet =
false;
99 bool m_blockHasBeenSet =
false;
102 bool m_captchaHasBeenSet =
false;
105 bool m_countHasBeenSet =
false;
bool BlockHasBeenSet() const
bool AllowHasBeenSet() const
const AwsWafv2ActionBlockDetails & GetBlock() const
AWS_SECURITYHUB_API AwsWafv2RulesActionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const AwsWafv2ActionAllowDetails & GetAllow() const
AwsWafv2RulesActionDetails & WithCount(CountT &&value)
AWS_SECURITYHUB_API AwsWafv2RulesActionDetails()=default
void SetCaptcha(CaptchaT &&value)
AwsWafv2RulesActionDetails & WithCaptcha(CaptchaT &&value)
AwsWafv2RulesActionDetails & WithBlock(BlockT &&value)
const AwsWafv2RulesActionCountDetails & GetCount() const
void SetCount(CountT &&value)
void SetAllow(AllowT &&value)
void SetBlock(BlockT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool CountHasBeenSet() const
bool CaptchaHasBeenSet() const
AWS_SECURITYHUB_API AwsWafv2RulesActionDetails(Aws::Utils::Json::JsonView jsonValue)
const AwsWafv2RulesActionCaptchaDetails & GetCaptcha() const
AwsWafv2RulesActionDetails & WithAllow(AllowT &&value)
Aws::Utils::Json::JsonValue JsonValue