AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename RuleGroupIdT = Aws::String>
63 void SetRuleGroupId(RuleGroupIdT&& value) { m_ruleGroupIdHasBeenSet = true; m_ruleGroupId = std::forward<RuleGroupIdT>(value); }
64 template<typename RuleGroupIdT = Aws::String>
65 RuleGroupSummary& WithRuleGroupId(RuleGroupIdT&& value) { SetRuleGroupId(std::forward<RuleGroupIdT>(value)); return *this;}
67
69
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template<typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
77 template<typename NameT = Aws::String>
78 RuleGroupSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
80 private:
81
82 Aws::String m_ruleGroupId;
83 bool m_ruleGroupIdHasBeenSet = false;
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace WAFRegional
91} // namespace Aws
AWS_WAFREGIONAL_API RuleGroupSummary()=default
void SetRuleGroupId(RuleGroupIdT &&value)
AWS_WAFREGIONAL_API RuleGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFREGIONAL_API RuleGroupSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRuleGroupId() const
RuleGroupSummary & WithRuleGroupId(RuleGroupIdT &&value)
RuleGroupSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue