AWS SDK for C++

AWS SDK for C++ Version 1.11.932

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