/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies how WAF should handle CAPTCHA evaluations for rules that don't
* have their own CaptchaConfig
settings. See Also:
* AWS
* API Reference
Determines how long a CAPTCHA timestamp in the token remains valid after the * client successfully solves a CAPTCHA puzzle.
*/ inline const AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails& GetImmunityTimeProperty() const{ return m_immunityTimeProperty; } /** *Determines how long a CAPTCHA timestamp in the token remains valid after the * client successfully solves a CAPTCHA puzzle.
*/ inline bool ImmunityTimePropertyHasBeenSet() const { return m_immunityTimePropertyHasBeenSet; } /** *Determines how long a CAPTCHA timestamp in the token remains valid after the * client successfully solves a CAPTCHA puzzle.
*/ inline void SetImmunityTimeProperty(const AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails& value) { m_immunityTimePropertyHasBeenSet = true; m_immunityTimeProperty = value; } /** *Determines how long a CAPTCHA timestamp in the token remains valid after the * client successfully solves a CAPTCHA puzzle.
*/ inline void SetImmunityTimeProperty(AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails&& value) { m_immunityTimePropertyHasBeenSet = true; m_immunityTimeProperty = std::move(value); } /** *Determines how long a CAPTCHA timestamp in the token remains valid after the * client successfully solves a CAPTCHA puzzle.
*/ inline AwsWafv2WebAclCaptchaConfigDetails& WithImmunityTimeProperty(const AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails& value) { SetImmunityTimeProperty(value); return *this;} /** *Determines how long a CAPTCHA timestamp in the token remains valid after the * client successfully solves a CAPTCHA puzzle.
*/ inline AwsWafv2WebAclCaptchaConfigDetails& WithImmunityTimeProperty(AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails&& value) { SetImmunityTimeProperty(std::move(value)); return *this;} private: AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails m_immunityTimeProperty; bool m_immunityTimePropertyHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws