AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CaptchaConfig.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/ImmunityTimeProperty.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WAFV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_WAFV2_API CaptchaConfig() = default;
36 AWS_WAFV2_API CaptchaConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const ImmunityTimeProperty& GetImmunityTimeProperty() const { return m_immunityTimeProperty; }
47 inline bool ImmunityTimePropertyHasBeenSet() const { return m_immunityTimePropertyHasBeenSet; }
48 template<typename ImmunityTimePropertyT = ImmunityTimeProperty>
49 void SetImmunityTimeProperty(ImmunityTimePropertyT&& value) { m_immunityTimePropertyHasBeenSet = true; m_immunityTimeProperty = std::forward<ImmunityTimePropertyT>(value); }
50 template<typename ImmunityTimePropertyT = ImmunityTimeProperty>
51 CaptchaConfig& WithImmunityTimeProperty(ImmunityTimePropertyT&& value) { SetImmunityTimeProperty(std::forward<ImmunityTimePropertyT>(value)); return *this;}
53 private:
54
55 ImmunityTimeProperty m_immunityTimeProperty;
56 bool m_immunityTimePropertyHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace WAFV2
61} // namespace Aws
CaptchaConfig & WithImmunityTimeProperty(ImmunityTimePropertyT &&value)
const ImmunityTimeProperty & GetImmunityTimeProperty() const
AWS_WAFV2_API CaptchaConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API CaptchaConfig()=default
AWS_WAFV2_API CaptchaConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImmunityTimeProperty(ImmunityTimePropertyT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue