7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/CountAction.h>
9#include <aws/wafv2/model/NoneAction.h>
62 template<
typename CountT = CountAction>
63 void SetCount(
CountT&& value) { m_countHasBeenSet =
true; m_count = std::forward<CountT>(value); }
64 template<
typename CountT = CountAction>
75 template<
typename NoneT = NoneAction>
76 void SetNone(
NoneT&& value) { m_noneHasBeenSet =
true; m_none = std::forward<NoneT>(value); }
77 template<
typename NoneT = NoneAction>
83 bool m_countHasBeenSet =
false;
86 bool m_noneHasBeenSet =
false;
void SetNone(NoneT &&value)
bool CountHasBeenSet() const
AWS_WAFV2_API OverrideAction(Aws::Utils::Json::JsonView jsonValue)
const CountAction & GetCount() const
bool NoneHasBeenSet() const
OverrideAction & WithCount(CountT &&value)
const NoneAction & GetNone() const
AWS_WAFV2_API OverrideAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCount(CountT &&value)
OverrideAction & WithNone(NoneT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API OverrideAction()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue