7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/AllowAction.h>
9#include <aws/wafv2/model/BlockAction.h>
43 template <
typename BlockT = BlockAction>
45 m_blockHasBeenSet =
true;
46 m_block = std::forward<BlockT>(value);
48 template <
typename BlockT = BlockAction>
50 SetBlock(std::forward<BlockT>(value));
61 template <
typename AllowT = AllowAction>
63 m_allowHasBeenSet =
true;
64 m_allow = std::forward<AllowT>(value);
66 template <
typename AllowT = AllowAction>
68 SetAllow(std::forward<AllowT>(value));
76 bool m_blockHasBeenSet =
false;
77 bool m_allowHasBeenSet =
false;
void SetBlock(BlockT &&value)
const AllowAction & GetAllow() const
AWS_WAFV2_API DefaultAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAllow(AllowT &&value)
bool AllowHasBeenSet() const
DefaultAction & WithBlock(BlockT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
DefaultAction & WithAllow(AllowT &&value)
const BlockAction & GetBlock() const
AWS_WAFV2_API DefaultAction()=default
AWS_WAFV2_API DefaultAction(Aws::Utils::Json::JsonView jsonValue)
bool BlockHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue