7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/model/BlockAction.h>
9#include <aws/shield/model/CountAction.h>
49 template <
typename BlockT = BlockAction>
51 m_blockHasBeenSet =
true;
52 m_block = std::forward<BlockT>(value);
54 template <
typename BlockT = BlockAction>
56 SetBlock(std::forward<BlockT>(value));
69 template <
typename CountT = CountAction>
71 m_countHasBeenSet =
true;
72 m_count = std::forward<CountT>(value);
74 template <
typename CountT = CountAction>
76 SetCount(std::forward<CountT>(value));
84 bool m_blockHasBeenSet =
false;
85 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