AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVendorName(const Aws::String& value) { m_vendorNameHasBeenSet = true; m_vendorName = value; }
55 inline void SetVendorName(Aws::String&& value) { m_vendorNameHasBeenSet = true; m_vendorName = std::move(value); }
56 inline void SetVendorName(const char* value) { m_vendorNameHasBeenSet = true; m_vendorName.assign(value); }
57 inline ManagedRuleGroupSummary& WithVendorName(const Aws::String& value) { SetVendorName(value); return *this;}
58 inline ManagedRuleGroupSummary& WithVendorName(Aws::String&& value) { SetVendorName(std::move(value)); return *this;}
59 inline ManagedRuleGroupSummary& WithVendorName(const char* value) { SetVendorName(value); return *this;}
61
63
67 inline const Aws::String& GetName() const{ return m_name; }
68 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
69 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
70 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
71 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
72 inline ManagedRuleGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
73 inline ManagedRuleGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 inline ManagedRuleGroupSummary& WithName(const char* value) { SetName(value); return *this;}
76
78
83 inline bool GetVersioningSupported() const{ return m_versioningSupported; }
84 inline bool VersioningSupportedHasBeenSet() const { return m_versioningSupportedHasBeenSet; }
85 inline void SetVersioningSupported(bool value) { m_versioningSupportedHasBeenSet = true; m_versioningSupported = value; }
86 inline ManagedRuleGroupSummary& WithVersioningSupported(bool value) { SetVersioningSupported(value); return *this;}
88
90
94 inline const Aws::String& GetDescription() const{ return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
97 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
98 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
99 inline ManagedRuleGroupSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
100 inline ManagedRuleGroupSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
101 inline ManagedRuleGroupSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
103 private:
104
105 Aws::String m_vendorName;
106 bool m_vendorNameHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 bool m_versioningSupported;
112 bool m_versioningSupportedHasBeenSet = false;
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace WAFV2
120} // namespace Aws
ManagedRuleGroupSummary & WithVendorName(const Aws::String &value)
ManagedRuleGroupSummary & WithName(Aws::String &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedRuleGroupSummary & WithVersioningSupported(bool value)
ManagedRuleGroupSummary & WithName(const char *value)
ManagedRuleGroupSummary & WithDescription(const char *value)
ManagedRuleGroupSummary & WithDescription(Aws::String &&value)
AWS_WAFV2_API ManagedRuleGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API ManagedRuleGroupSummary(Aws::Utils::Json::JsonView jsonValue)
ManagedRuleGroupSummary & WithDescription(const Aws::String &value)
ManagedRuleGroupSummary & WithName(const Aws::String &value)
ManagedRuleGroupSummary & WithVendorName(Aws::String &&value)
ManagedRuleGroupSummary & WithVendorName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue