/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Shield { namespace Model { /** *

Specifies that Shield Advanced should configure its WAF rules with the WAF * Block action.

This is only used in the context of the * ResponseAction setting.

JSON specification: "Block": * {}

See Also:

AWS * API Reference

*/ class BlockAction { public: AWS_SHIELD_API BlockAction(); AWS_SHIELD_API BlockAction(Aws::Utils::Json::JsonView jsonValue); AWS_SHIELD_API BlockAction& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const; }; } // namespace Model } // namespace Shield } // namespace Aws