/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Used for CAPTCHA and challenge token settings. Determines how long a
* CAPTCHA
or challenge timestamp remains valid after WAF updates it
* for a successful CAPTCHA
or challenge response. See
* Also:
AWS
* API Reference
The amount of time, in seconds, that a CAPTCHA
or challenge
* timestamp is considered valid by WAF. The default setting is 300.
For * the Challenge action, the minimum setting is 300.
*/ inline long long GetImmunityTime() const{ return m_immunityTime; } /** *The amount of time, in seconds, that a CAPTCHA
or challenge
* timestamp is considered valid by WAF. The default setting is 300.
For * the Challenge action, the minimum setting is 300.
*/ inline bool ImmunityTimeHasBeenSet() const { return m_immunityTimeHasBeenSet; } /** *The amount of time, in seconds, that a CAPTCHA
or challenge
* timestamp is considered valid by WAF. The default setting is 300.
For * the Challenge action, the minimum setting is 300.
*/ inline void SetImmunityTime(long long value) { m_immunityTimeHasBeenSet = true; m_immunityTime = value; } /** *The amount of time, in seconds, that a CAPTCHA
or challenge
* timestamp is considered valid by WAF. The default setting is 300.
For * the Challenge action, the minimum setting is 300.
*/ inline ImmunityTimeProperty& WithImmunityTime(long long value) { SetImmunityTime(value); return *this;} private: long long m_immunityTime; bool m_immunityTimeHasBeenSet = false; }; } // namespace Model } // namespace WAFV2 } // namespace Aws