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/waf-regional/WAFRegional_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 WAFRegional
22{
23namespace Model
24{
25
41 {
42 public:
43 AWS_WAFREGIONAL_API RuleGroupSummary();
44 AWS_WAFREGIONAL_API RuleGroupSummary(Aws::Utils::Json::JsonView jsonValue);
45 AWS_WAFREGIONAL_API RuleGroupSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
60 inline const Aws::String& GetRuleGroupId() const{ return m_ruleGroupId; }
61 inline bool RuleGroupIdHasBeenSet() const { return m_ruleGroupIdHasBeenSet; }
62 inline void SetRuleGroupId(const Aws::String& value) { m_ruleGroupIdHasBeenSet = true; m_ruleGroupId = value; }
63 inline void SetRuleGroupId(Aws::String&& value) { m_ruleGroupIdHasBeenSet = true; m_ruleGroupId = std::move(value); }
64 inline void SetRuleGroupId(const char* value) { m_ruleGroupIdHasBeenSet = true; m_ruleGroupId.assign(value); }
65 inline RuleGroupSummary& WithRuleGroupId(const Aws::String& value) { SetRuleGroupId(value); return *this;}
66 inline RuleGroupSummary& WithRuleGroupId(Aws::String&& value) { SetRuleGroupId(std::move(value)); return *this;}
67 inline RuleGroupSummary& WithRuleGroupId(const char* value) { SetRuleGroupId(value); return *this;}
69
71
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline RuleGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline RuleGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline RuleGroupSummary& WithName(const char* value) { SetName(value); return *this;}
84 private:
85
86 Aws::String m_ruleGroupId;
87 bool m_ruleGroupIdHasBeenSet = false;
88
89 Aws::String m_name;
90 bool m_nameHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace WAFRegional
95} // namespace Aws
void SetName(const Aws::String &value)
AWS_WAFREGIONAL_API RuleGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRuleGroupId(const Aws::String &value)
AWS_WAFREGIONAL_API RuleGroupSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
RuleGroupSummary & WithName(Aws::String &&value)
RuleGroupSummary & WithName(const Aws::String &value)
RuleGroupSummary & WithRuleGroupId(Aws::String &&value)
RuleGroupSummary & WithRuleGroupId(const Aws::String &value)
const Aws::String & GetRuleGroupId() const
RuleGroupSummary & WithName(const char *value)
RuleGroupSummary & WithRuleGroupId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue