AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ManagedRuleGroupVersion.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WAFV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_WAFV2_API ManagedRuleGroupVersion();
39 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline ManagedRuleGroupVersion& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline ManagedRuleGroupVersion& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline ManagedRuleGroupVersion& WithName(const char* value) { SetName(value); return *this;}
55
57
61 inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const{ return m_lastUpdateTimestamp; }
62 inline bool LastUpdateTimestampHasBeenSet() const { return m_lastUpdateTimestampHasBeenSet; }
63 inline void SetLastUpdateTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = value; }
64 inline void SetLastUpdateTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = std::move(value); }
68 private:
69
70 Aws::String m_name;
71 bool m_nameHasBeenSet = false;
72
73 Aws::Utils::DateTime m_lastUpdateTimestamp;
74 bool m_lastUpdateTimestampHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace WAFV2
79} // namespace Aws
void SetLastUpdateTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdateTimestamp() const
ManagedRuleGroupVersion & WithLastUpdateTimestamp(const Aws::Utils::DateTime &value)
ManagedRuleGroupVersion & WithName(const Aws::String &value)
void SetLastUpdateTimestamp(const Aws::Utils::DateTime &value)
AWS_WAFV2_API ManagedRuleGroupVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API ManagedRuleGroupVersion(Aws::Utils::Json::JsonView jsonValue)
ManagedRuleGroupVersion & WithName(Aws::String &&value)
ManagedRuleGroupVersion & WithName(const char *value)
ManagedRuleGroupVersion & WithLastUpdateTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue