AWS SDK for C++  1.9.107
AWS SDK for C++
ManagedRuleGroupSummary.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace WAFV2
22 {
23 namespace Model
24 {
25 
39  {
40  public:
45 
46 
51  inline const Aws::String& GetVendorName() const{ return m_vendorName; }
52 
57  inline bool VendorNameHasBeenSet() const { return m_vendorNameHasBeenSet; }
58 
63  inline void SetVendorName(const Aws::String& value) { m_vendorNameHasBeenSet = true; m_vendorName = value; }
64 
69  inline void SetVendorName(Aws::String&& value) { m_vendorNameHasBeenSet = true; m_vendorName = std::move(value); }
70 
75  inline void SetVendorName(const char* value) { m_vendorNameHasBeenSet = true; m_vendorName.assign(value); }
76 
81  inline ManagedRuleGroupSummary& WithVendorName(const Aws::String& value) { SetVendorName(value); return *this;}
82 
87  inline ManagedRuleGroupSummary& WithVendorName(Aws::String&& value) { SetVendorName(std::move(value)); return *this;}
88 
93  inline ManagedRuleGroupSummary& WithVendorName(const char* value) { SetVendorName(value); return *this;}
94 
95 
100  inline const Aws::String& GetName() const{ return m_name; }
101 
106  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
107 
112  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
113 
118  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
119 
124  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
125 
130  inline ManagedRuleGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
131 
136  inline ManagedRuleGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
137 
142  inline ManagedRuleGroupSummary& WithName(const char* value) { SetName(value); return *this;}
143 
144 
149  inline const Aws::String& GetDescription() const{ return m_description; }
150 
155  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
156 
161  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
162 
167  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
168 
173  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
174 
179  inline ManagedRuleGroupSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
180 
185  inline ManagedRuleGroupSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
186 
191  inline ManagedRuleGroupSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
192 
193  private:
194 
195  Aws::String m_vendorName;
196  bool m_vendorNameHasBeenSet;
197 
198  Aws::String m_name;
199  bool m_nameHasBeenSet;
200 
201  Aws::String m_description;
202  bool m_descriptionHasBeenSet;
203  };
204 
205 } // namespace Model
206 } // namespace WAFV2
207 } // namespace Aws
Aws::WAFV2::Model::ManagedRuleGroupSummary::ManagedRuleGroupSummary
ManagedRuleGroupSummary()
Aws::WAFV2::Model::ManagedRuleGroupSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ManagedRuleGroupSummary.h:155
Aws::WAFV2::Model::ManagedRuleGroupSummary::SetVendorName
void SetVendorName(const char *value)
Definition: ManagedRuleGroupSummary.h:75
Aws::WAFV2::Model::ManagedRuleGroupSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: ManagedRuleGroupSummary.h:167
Aws::WAFV2::Model::ManagedRuleGroupSummary::WithVendorName
ManagedRuleGroupSummary & WithVendorName(const char *value)
Definition: ManagedRuleGroupSummary.h:93
Aws::WAFV2::Model::ManagedRuleGroupSummary::ManagedRuleGroupSummary
ManagedRuleGroupSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::WAFV2::Model::ManagedRuleGroupSummary::SetVendorName
void SetVendorName(Aws::String &&value)
Definition: ManagedRuleGroupSummary.h:69
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::ManagedRuleGroupSummary::SetName
void SetName(Aws::String &&value)
Definition: ManagedRuleGroupSummary.h:118
WAFV2_EXPORTS.h
Aws::WAFV2::Model::ManagedRuleGroupSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: ManagedRuleGroupSummary.h:161
Aws::WAFV2::Model::ManagedRuleGroupSummary::GetName
const Aws::String & GetName() const
Definition: ManagedRuleGroupSummary.h:100
Aws::WAFV2::Model::ManagedRuleGroupSummary::WithDescription
ManagedRuleGroupSummary & WithDescription(const Aws::String &value)
Definition: ManagedRuleGroupSummary.h:179
Aws::WAFV2::Model::ManagedRuleGroupSummary::SetName
void SetName(const char *value)
Definition: ManagedRuleGroupSummary.h:124
Aws::WAFV2::Model::ManagedRuleGroupSummary::SetName
void SetName(const Aws::String &value)
Definition: ManagedRuleGroupSummary.h:112
Aws::WAFV2::Model::ManagedRuleGroupSummary::WithVendorName
ManagedRuleGroupSummary & WithVendorName(const Aws::String &value)
Definition: ManagedRuleGroupSummary.h:81
Aws::WAFV2::Model::ManagedRuleGroupSummary::GetVendorName
const Aws::String & GetVendorName() const
Definition: ManagedRuleGroupSummary.h:51
Aws::WAFV2::Model::ManagedRuleGroupSummary::WithName
ManagedRuleGroupSummary & WithName(const char *value)
Definition: ManagedRuleGroupSummary.h:142
Aws::WAFV2::Model::ManagedRuleGroupSummary::WithName
ManagedRuleGroupSummary & WithName(const Aws::String &value)
Definition: ManagedRuleGroupSummary.h:130
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WAFV2::Model::ManagedRuleGroupSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ManagedRuleGroupSummary.h:106
Aws::WAFV2::Model::ManagedRuleGroupSummary::SetVendorName
void SetVendorName(const Aws::String &value)
Definition: ManagedRuleGroupSummary.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::ManagedRuleGroupSummary::WithDescription
ManagedRuleGroupSummary & WithDescription(Aws::String &&value)
Definition: ManagedRuleGroupSummary.h:185
Aws::WAFV2::Model::ManagedRuleGroupSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::ManagedRuleGroupSummary::GetDescription
const Aws::String & GetDescription() const
Definition: ManagedRuleGroupSummary.h:149
Aws::WAFV2::Model::ManagedRuleGroupSummary::WithName
ManagedRuleGroupSummary & WithName(Aws::String &&value)
Definition: ManagedRuleGroupSummary.h:136
Aws::WAFV2::Model::ManagedRuleGroupSummary::WithDescription
ManagedRuleGroupSummary & WithDescription(const char *value)
Definition: ManagedRuleGroupSummary.h:191
Aws::WAFV2::Model::ManagedRuleGroupSummary
Definition: ManagedRuleGroupSummary.h:39
Aws::WAFV2::Model::ManagedRuleGroupSummary::VendorNameHasBeenSet
bool VendorNameHasBeenSet() const
Definition: ManagedRuleGroupSummary.h:57
Aws::WAFV2::Model::ManagedRuleGroupSummary::operator=
ManagedRuleGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WAFV2::Model::ManagedRuleGroupSummary::SetDescription
void SetDescription(const char *value)
Definition: ManagedRuleGroupSummary.h:173
Aws::WAFV2::Model::ManagedRuleGroupSummary::WithVendorName
ManagedRuleGroupSummary & WithVendorName(Aws::String &&value)
Definition: ManagedRuleGroupSummary.h:87