AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
ManagedRuleGroupSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WAFV2 {
20namespace Model {
21
35 public:
36 AWS_WAFV2_API ManagedRuleGroupSummary() = default;
39 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
46 inline const Aws::String& GetVendorName() const { return m_vendorName; }
47 inline bool VendorNameHasBeenSet() const { return m_vendorNameHasBeenSet; }
48 template <typename VendorNameT = Aws::String>
49 void SetVendorName(VendorNameT&& value) {
50 m_vendorNameHasBeenSet = true;
51 m_vendorName = std::forward<VendorNameT>(value);
52 }
53 template <typename VendorNameT = Aws::String>
55 SetVendorName(std::forward<VendorNameT>(value));
56 return *this;
57 }
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) {
69 m_nameHasBeenSet = true;
70 m_name = std::forward<NameT>(value);
71 }
72 template <typename NameT = Aws::String>
74 SetName(std::forward<NameT>(value));
75 return *this;
76 }
78
80
85 inline bool GetVersioningSupported() const { return m_versioningSupported; }
86 inline bool VersioningSupportedHasBeenSet() const { return m_versioningSupportedHasBeenSet; }
87 inline void SetVersioningSupported(bool value) {
88 m_versioningSupportedHasBeenSet = true;
89 m_versioningSupported = value;
90 }
93 return *this;
94 }
96
98
102 inline const Aws::String& GetDescription() const { return m_description; }
103 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
104 template <typename DescriptionT = Aws::String>
105 void SetDescription(DescriptionT&& value) {
106 m_descriptionHasBeenSet = true;
107 m_description = std::forward<DescriptionT>(value);
108 }
109 template <typename DescriptionT = Aws::String>
111 SetDescription(std::forward<DescriptionT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_vendorName;
117
118 Aws::String m_name;
119
120 bool m_versioningSupported{false};
121
122 Aws::String m_description;
123 bool m_vendorNameHasBeenSet = false;
124 bool m_nameHasBeenSet = false;
125 bool m_versioningSupportedHasBeenSet = false;
126 bool m_descriptionHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace WAFV2
131} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue