7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/model/BlockAction.h>
9#include <aws/shield/model/CountAction.h>
55 template<
typename BlockT = BlockAction>
56 void SetBlock(BlockT&& value) { m_blockHasBeenSet =
true; m_block = std::forward<BlockT>(value); }
57 template<
typename BlockT = BlockAction>
69 template<
typename CountT = CountAction>
70 void SetCount(CountT&& value) { m_countHasBeenSet =
true; m_count = std::forward<CountT>(value); }
71 template<
typename CountT = CountAction>
77 bool m_blockHasBeenSet =
false;
80 bool m_countHasBeenSet =
false;
AWS_SHIELD_API ResponseAction(Aws::Utils::Json::JsonView jsonValue)
bool BlockHasBeenSet() const
AWS_SHIELD_API ResponseAction()=default
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
ResponseAction & WithCount(CountT &&value)
void SetBlock(BlockT &&value)
ResponseAction & WithBlock(BlockT &&value)
const CountAction & GetCount() const
AWS_SHIELD_API ResponseAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCount(CountT &&value)
bool CountHasBeenSet() const
const BlockAction & GetBlock() const
Aws::Utils::Json::JsonValue JsonValue