/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about what action WAF should take on a web request when
* it matches the criteria defined in the rule. See Also:
AWS
* API Reference
The action that WAF should take on a web request when it matches the rule's * statement.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The action that WAF should take on a web request when it matches the rule's * statement.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The action that WAF should take on a web request when it matches the rule's * statement.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The action that WAF should take on a web request when it matches the rule's * statement.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The action that WAF should take on a web request when it matches the rule's * statement.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The action that WAF should take on a web request when it matches the rule's * statement.
*/ inline AwsWafRuleGroupRulesActionDetails& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The action that WAF should take on a web request when it matches the rule's * statement.
*/ inline AwsWafRuleGroupRulesActionDetails& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The action that WAF should take on a web request when it matches the rule's * statement.
*/ inline AwsWafRuleGroupRulesActionDetails& WithType(const char* value) { SetType(value); return *this;} private: Aws::String m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws