AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleGroupSummary.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
36 {
37 public:
38 AWS_WAFV2_API RuleGroupSummary();
41 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline RuleGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline RuleGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline RuleGroupSummary& WithName(const char* value) { SetName(value); return *this;}
58
60
65 inline const Aws::String& GetId() const{ return m_id; }
66 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
67 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
68 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
69 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
70 inline RuleGroupSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
71 inline RuleGroupSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
72 inline RuleGroupSummary& WithId(const char* value) { SetId(value); return *this;}
74
76
79 inline const Aws::String& GetDescription() const{ return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
82 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
83 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
84 inline RuleGroupSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
85 inline RuleGroupSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
86 inline RuleGroupSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
88
90
100 inline const Aws::String& GetLockToken() const{ return m_lockToken; }
101 inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
102 inline void SetLockToken(const Aws::String& value) { m_lockTokenHasBeenSet = true; m_lockToken = value; }
103 inline void SetLockToken(Aws::String&& value) { m_lockTokenHasBeenSet = true; m_lockToken = std::move(value); }
104 inline void SetLockToken(const char* value) { m_lockTokenHasBeenSet = true; m_lockToken.assign(value); }
105 inline RuleGroupSummary& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
106 inline RuleGroupSummary& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
107 inline RuleGroupSummary& WithLockToken(const char* value) { SetLockToken(value); return *this;}
109
111
114 inline const Aws::String& GetARN() const{ return m_aRN; }
115 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
116 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
117 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
118 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
119 inline RuleGroupSummary& WithARN(const Aws::String& value) { SetARN(value); return *this;}
120 inline RuleGroupSummary& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
121 inline RuleGroupSummary& WithARN(const char* value) { SetARN(value); return *this;}
123 private:
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_id;
129 bool m_idHasBeenSet = false;
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
134 Aws::String m_lockToken;
135 bool m_lockTokenHasBeenSet = false;
136
137 Aws::String m_aRN;
138 bool m_aRNHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace WAFV2
143} // namespace Aws
void SetLockToken(Aws::String &&value)
RuleGroupSummary & WithId(const char *value)
void SetDescription(Aws::String &&value)
AWS_WAFV2_API RuleGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetARN() const
RuleGroupSummary & WithName(const char *value)
RuleGroupSummary & WithLockToken(const char *value)
RuleGroupSummary & WithARN(const Aws::String &value)
const Aws::String & GetId() const
void SetARN(const Aws::String &value)
void SetName(const Aws::String &value)
void SetDescription(const Aws::String &value)
RuleGroupSummary & WithDescription(const char *value)
RuleGroupSummary & WithId(Aws::String &&value)
AWS_WAFV2_API RuleGroupSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
void SetId(Aws::String &&value)
RuleGroupSummary & WithName(Aws::String &&value)
RuleGroupSummary & WithDescription(Aws::String &&value)
void SetLockToken(const Aws::String &value)
void SetId(const Aws::String &value)
const Aws::String & GetName() const
void SetName(Aws::String &&value)
RuleGroupSummary & WithId(const Aws::String &value)
RuleGroupSummary & WithARN(const char *value)
RuleGroupSummary & WithARN(Aws::String &&value)
const Aws::String & GetLockToken() const
RuleGroupSummary & WithName(const Aws::String &value)
RuleGroupSummary & WithLockToken(Aws::String &&value)
RuleGroupSummary & WithLockToken(const Aws::String &value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const char *value)
RuleGroupSummary & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue