7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsWafv2ActionAllowDetails.h>
9#include <aws/securityhub/model/AwsWafv2ActionBlockDetails.h>
48 template<
typename AllowT = AwsWafv2ActionAllowDetails>
49 void SetAllow(AllowT&& value) { m_allowHasBeenSet =
true; m_allow = std::forward<AllowT>(value); }
50 template<
typename AllowT = AwsWafv2ActionAllowDetails>
60 template<
typename BlockT = AwsWafv2ActionBlockDetails>
61 void SetBlock(BlockT&& value) { m_blockHasBeenSet =
true; m_block = std::forward<BlockT>(value); }
62 template<
typename BlockT = AwsWafv2ActionBlockDetails>
68 bool m_allowHasBeenSet =
false;
71 bool m_blockHasBeenSet =
false;
AWS_SECURITYHUB_API AwsWafv2WebAclActionDetails()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const AwsWafv2ActionBlockDetails & GetBlock() const
void SetAllow(AllowT &&value)
void SetBlock(BlockT &&value)
bool AllowHasBeenSet() const
AwsWafv2WebAclActionDetails & WithAllow(AllowT &&value)
AWS_SECURITYHUB_API AwsWafv2WebAclActionDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsWafv2WebAclActionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsWafv2WebAclActionDetails & WithBlock(BlockT &&value)
bool BlockHasBeenSet() const
const AwsWafv2ActionAllowDetails & GetAllow() const
Aws::Utils::Json::JsonValue JsonValue