AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VersionToPublish.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
40 {
41 public:
42 AWS_WAFV2_API VersionToPublish();
45 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::String& GetAssociatedRuleGroupArn() const{ return m_associatedRuleGroupArn; }
54 inline bool AssociatedRuleGroupArnHasBeenSet() const { return m_associatedRuleGroupArnHasBeenSet; }
55 inline void SetAssociatedRuleGroupArn(const Aws::String& value) { m_associatedRuleGroupArnHasBeenSet = true; m_associatedRuleGroupArn = value; }
56 inline void SetAssociatedRuleGroupArn(Aws::String&& value) { m_associatedRuleGroupArnHasBeenSet = true; m_associatedRuleGroupArn = std::move(value); }
57 inline void SetAssociatedRuleGroupArn(const char* value) { m_associatedRuleGroupArnHasBeenSet = true; m_associatedRuleGroupArn.assign(value); }
59 inline VersionToPublish& WithAssociatedRuleGroupArn(Aws::String&& value) { SetAssociatedRuleGroupArn(std::move(value)); return *this;}
60 inline VersionToPublish& WithAssociatedRuleGroupArn(const char* value) { SetAssociatedRuleGroupArn(value); return *this;}
62
64
68 inline int GetForecastedLifetime() const{ return m_forecastedLifetime; }
69 inline bool ForecastedLifetimeHasBeenSet() const { return m_forecastedLifetimeHasBeenSet; }
70 inline void SetForecastedLifetime(int value) { m_forecastedLifetimeHasBeenSet = true; m_forecastedLifetime = value; }
71 inline VersionToPublish& WithForecastedLifetime(int value) { SetForecastedLifetime(value); return *this;}
73 private:
74
75 Aws::String m_associatedRuleGroupArn;
76 bool m_associatedRuleGroupArnHasBeenSet = false;
77
78 int m_forecastedLifetime;
79 bool m_forecastedLifetimeHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace WAFV2
84} // namespace Aws
const Aws::String & GetAssociatedRuleGroupArn() const
void SetAssociatedRuleGroupArn(Aws::String &&value)
AWS_WAFV2_API VersionToPublish(Aws::Utils::Json::JsonView jsonValue)
VersionToPublish & WithAssociatedRuleGroupArn(Aws::String &&value)
VersionToPublish & WithAssociatedRuleGroupArn(const char *value)
VersionToPublish & WithForecastedLifetime(int value)
VersionToPublish & WithAssociatedRuleGroupArn(const Aws::String &value)
void SetAssociatedRuleGroupArn(const Aws::String &value)
AWS_WAFV2_API VersionToPublish & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssociatedRuleGroupArn(const char *value)
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