AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ManagedRuleGroupSummary.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
39 {
40 public:
41 AWS_WAFV2_API ManagedRuleGroupSummary() = default;
44 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetVendorName() const { return m_vendorName; }
53 inline bool VendorNameHasBeenSet() const { return m_vendorNameHasBeenSet; }
54 template<typename VendorNameT = Aws::String>
55 void SetVendorName(VendorNameT&& value) { m_vendorNameHasBeenSet = true; m_vendorName = std::forward<VendorNameT>(value); }
56 template<typename VendorNameT = Aws::String>
57 ManagedRuleGroupSummary& WithVendorName(VendorNameT&& value) { SetVendorName(std::forward<VendorNameT>(value)); return *this;}
59
61
65 inline const Aws::String& GetName() const { return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 template<typename NameT = Aws::String>
68 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
69 template<typename NameT = Aws::String>
70 ManagedRuleGroupSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
72
74
79 inline bool GetVersioningSupported() const { return m_versioningSupported; }
80 inline bool VersioningSupportedHasBeenSet() const { return m_versioningSupportedHasBeenSet; }
81 inline void SetVersioningSupported(bool value) { m_versioningSupportedHasBeenSet = true; m_versioningSupported = value; }
82 inline ManagedRuleGroupSummary& WithVersioningSupported(bool value) { SetVersioningSupported(value); return *this;}
84
86
90 inline const Aws::String& GetDescription() const { return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 template<typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
94 template<typename DescriptionT = Aws::String>
95 ManagedRuleGroupSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
97 private:
98
99 Aws::String m_vendorName;
100 bool m_vendorNameHasBeenSet = false;
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
105 bool m_versioningSupported{false};
106 bool m_versioningSupportedHasBeenSet = false;
107
108 Aws::String m_description;
109 bool m_descriptionHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace WAFV2
114} // namespace Aws
ManagedRuleGroupSummary & WithName(NameT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedRuleGroupSummary & WithVersioningSupported(bool value)
AWS_WAFV2_API ManagedRuleGroupSummary()=default
AWS_WAFV2_API ManagedRuleGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedRuleGroupSummary & WithDescription(DescriptionT &&value)
ManagedRuleGroupSummary & WithVendorName(VendorNameT &&value)
AWS_WAFV2_API ManagedRuleGroupSummary(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue