7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/BlockAction.h>
9#include <aws/wafv2/model/AllowAction.h>
49 template<
typename BlockT = BlockAction>
50 void SetBlock(BlockT&& value) { m_blockHasBeenSet =
true; m_block = std::forward<BlockT>(value); }
51 template<
typename BlockT = BlockAction>
61 template<
typename AllowT = AllowAction>
62 void SetAllow(AllowT&& value) { m_allowHasBeenSet =
true; m_allow = std::forward<AllowT>(value); }
63 template<
typename AllowT = AllowAction>
69 bool m_blockHasBeenSet =
false;
72 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