/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies how WAF should handle Challenge
evaluations. This is
* available at the web ACL level and in each rule. See Also:
AWS
* API Reference
Determines how long a challenge timestamp in the token remains valid after * the client successfully responds to a challenge.
*/ inline const ImmunityTimeProperty& GetImmunityTimeProperty() const{ return m_immunityTimeProperty; } /** *Determines how long a challenge timestamp in the token remains valid after * the client successfully responds to a challenge.
*/ inline bool ImmunityTimePropertyHasBeenSet() const { return m_immunityTimePropertyHasBeenSet; } /** *Determines how long a challenge timestamp in the token remains valid after * the client successfully responds to a challenge.
*/ inline void SetImmunityTimeProperty(const ImmunityTimeProperty& value) { m_immunityTimePropertyHasBeenSet = true; m_immunityTimeProperty = value; } /** *Determines how long a challenge timestamp in the token remains valid after * the client successfully responds to a challenge.
*/ inline void SetImmunityTimeProperty(ImmunityTimeProperty&& value) { m_immunityTimePropertyHasBeenSet = true; m_immunityTimeProperty = std::move(value); } /** *Determines how long a challenge timestamp in the token remains valid after * the client successfully responds to a challenge.
*/ inline ChallengeConfig& WithImmunityTimeProperty(const ImmunityTimeProperty& value) { SetImmunityTimeProperty(value); return *this;} /** *Determines how long a challenge timestamp in the token remains valid after * the client successfully responds to a challenge.
*/ inline ChallengeConfig& WithImmunityTimeProperty(ImmunityTimeProperty&& value) { SetImmunityTimeProperty(std::move(value)); return *this;} private: ImmunityTimeProperty m_immunityTimeProperty; bool m_immunityTimePropertyHasBeenSet = false; }; } // namespace Model } // namespace WAFV2 } // namespace Aws