AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
ImmunityTimeProperty.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace WAFV2 {
17namespace Model {
18
28 public:
29 AWS_WAFV2_API ImmunityTimeProperty() = default;
32 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
40 inline long long GetImmunityTime() const { return m_immunityTime; }
41 inline bool ImmunityTimeHasBeenSet() const { return m_immunityTimeHasBeenSet; }
42 inline void SetImmunityTime(long long value) {
43 m_immunityTimeHasBeenSet = true;
44 m_immunityTime = value;
45 }
46 inline ImmunityTimeProperty& WithImmunityTime(long long value) {
47 SetImmunityTime(value);
48 return *this;
49 }
51 private:
52 long long m_immunityTime{0};
53 bool m_immunityTimeHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace WAFV2
58} // namespace Aws
AWS_WAFV2_API ImmunityTimeProperty(Aws::Utils::Json::JsonView jsonValue)
ImmunityTimeProperty & WithImmunityTime(long long value)
AWS_WAFV2_API ImmunityTimeProperty()=default
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API ImmunityTimeProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue