AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
VersionToPublish.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.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
36 public:
37 AWS_WAFV2_API VersionToPublish() = default;
40 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
47 inline const Aws::String& GetAssociatedRuleGroupArn() const { return m_associatedRuleGroupArn; }
48 inline bool AssociatedRuleGroupArnHasBeenSet() const { return m_associatedRuleGroupArnHasBeenSet; }
49 template <typename AssociatedRuleGroupArnT = Aws::String>
50 void SetAssociatedRuleGroupArn(AssociatedRuleGroupArnT&& value) {
51 m_associatedRuleGroupArnHasBeenSet = true;
52 m_associatedRuleGroupArn = std::forward<AssociatedRuleGroupArnT>(value);
53 }
54 template <typename AssociatedRuleGroupArnT = Aws::String>
55 VersionToPublish& WithAssociatedRuleGroupArn(AssociatedRuleGroupArnT&& value) {
56 SetAssociatedRuleGroupArn(std::forward<AssociatedRuleGroupArnT>(value));
57 return *this;
58 }
60
62
66 inline int GetForecastedLifetime() const { return m_forecastedLifetime; }
67 inline bool ForecastedLifetimeHasBeenSet() const { return m_forecastedLifetimeHasBeenSet; }
68 inline void SetForecastedLifetime(int value) {
69 m_forecastedLifetimeHasBeenSet = true;
70 m_forecastedLifetime = value;
71 }
74 return *this;
75 }
77 private:
78 Aws::String m_associatedRuleGroupArn;
79
80 int m_forecastedLifetime{0};
81 bool m_associatedRuleGroupArnHasBeenSet = false;
82 bool m_forecastedLifetimeHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace WAFV2
87} // namespace Aws
VersionToPublish & WithAssociatedRuleGroupArn(AssociatedRuleGroupArnT &&value)
const Aws::String & GetAssociatedRuleGroupArn() const
AWS_WAFV2_API VersionToPublish(Aws::Utils::Json::JsonView jsonValue)
VersionToPublish & WithForecastedLifetime(int value)
void SetAssociatedRuleGroupArn(AssociatedRuleGroupArnT &&value)
AWS_WAFV2_API VersionToPublish()=default
AWS_WAFV2_API VersionToPublish & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue