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>
45 template <
typename AllowT = AwsWafv2ActionAllowDetails>
47 m_allowHasBeenSet =
true;
48 m_allow = std::forward<AllowT>(value);
50 template <
typename AllowT = AwsWafv2ActionAllowDetails>
52 SetAllow(std::forward<AllowT>(value));
63 template <
typename BlockT = AwsWafv2ActionBlockDetails>
65 m_blockHasBeenSet =
true;
66 m_block = std::forward<BlockT>(value);
68 template <
typename BlockT = AwsWafv2ActionBlockDetails>
70 SetBlock(std::forward<BlockT>(value));
81 template <
typename CaptchaT = AwsWafv2RulesActionCaptchaDetails>
83 m_captchaHasBeenSet =
true;
84 m_captcha = std::forward<CaptchaT>(value);
86 template <
typename CaptchaT = AwsWafv2RulesActionCaptchaDetails>
100 template <
typename CountT = AwsWafv2RulesActionCountDetails>
102 m_countHasBeenSet =
true;
103 m_count = std::forward<CountT>(value);
105 template <
typename CountT = AwsWafv2RulesActionCountDetails>
107 SetCount(std::forward<CountT>(value));
119 bool m_allowHasBeenSet =
false;
120 bool m_blockHasBeenSet =
false;
121 bool m_captchaHasBeenSet =
false;
122 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