/**
* 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.
*/ 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.
*/ inline bool ImmunityTimeHasBeenSet() const { return m_immunityTimeHasBeenSet; } /** *The amount of time, in seconds, that a CAPTCHA or challenge timestamp is * considered valid by WAF.
*/ 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.
*/ inline AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails& WithImmunityTime(long long value) { SetImmunityTime(value); return *this;} private: long long m_immunityTime; bool m_immunityTimeHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws