AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeManagedRuleGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/wafv2/model/Scope.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace WAFV2
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribeManagedRuleGroup"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetVendorName() const{ return m_vendorName; }
43 
48  inline bool VendorNameHasBeenSet() const { return m_vendorNameHasBeenSet; }
49 
54  inline void SetVendorName(const Aws::String& value) { m_vendorNameHasBeenSet = true; m_vendorName = value; }
55 
60  inline void SetVendorName(Aws::String&& value) { m_vendorNameHasBeenSet = true; m_vendorName = std::move(value); }
61 
66  inline void SetVendorName(const char* value) { m_vendorNameHasBeenSet = true; m_vendorName.assign(value); }
67 
72  inline DescribeManagedRuleGroupRequest& WithVendorName(const Aws::String& value) { SetVendorName(value); return *this;}
73 
78  inline DescribeManagedRuleGroupRequest& WithVendorName(Aws::String&& value) { SetVendorName(std::move(value)); return *this;}
79 
84  inline DescribeManagedRuleGroupRequest& WithVendorName(const char* value) { SetVendorName(value); return *this;}
85 
86 
91  inline const Aws::String& GetName() const{ return m_name; }
92 
97  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
98 
103  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
104 
109  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
110 
115  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
116 
121  inline DescribeManagedRuleGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
122 
127  inline DescribeManagedRuleGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
128 
133  inline DescribeManagedRuleGroupRequest& WithName(const char* value) { SetName(value); return *this;}
134 
135 
146  inline const Scope& GetScope() const{ return m_scope; }
147 
158  inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
159 
170  inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; }
171 
182  inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
183 
194  inline DescribeManagedRuleGroupRequest& WithScope(const Scope& value) { SetScope(value); return *this;}
195 
206  inline DescribeManagedRuleGroupRequest& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;}
207 
208 
214  inline const Aws::String& GetVersionName() const{ return m_versionName; }
215 
221  inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
222 
228  inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
229 
235  inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
236 
242  inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
243 
249  inline DescribeManagedRuleGroupRequest& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
250 
256  inline DescribeManagedRuleGroupRequest& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
257 
263  inline DescribeManagedRuleGroupRequest& WithVersionName(const char* value) { SetVersionName(value); return *this;}
264 
265  private:
266 
267  Aws::String m_vendorName;
268  bool m_vendorNameHasBeenSet;
269 
270  Aws::String m_name;
271  bool m_nameHasBeenSet;
272 
273  Scope m_scope;
274  bool m_scopeHasBeenSet;
275 
276  Aws::String m_versionName;
277  bool m_versionNameHasBeenSet;
278  };
279 
280 } // namespace Model
281 } // namespace WAFV2
282 } // namespace Aws
WAFV2Request.h
Scope.h
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::WithVersionName
DescribeManagedRuleGroupRequest & WithVersionName(const Aws::String &value)
Definition: DescribeManagedRuleGroupRequest.h:249
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::GetVendorName
const Aws::String & GetVendorName() const
Definition: DescribeManagedRuleGroupRequest.h:42
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeManagedRuleGroupRequest.h:31
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::SetVersionName
void SetVersionName(const Aws::String &value)
Definition: DescribeManagedRuleGroupRequest.h:228
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::SetVendorName
void SetVendorName(const Aws::String &value)
Definition: DescribeManagedRuleGroupRequest.h:54
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::DescribeManagedRuleGroupRequest
DescribeManagedRuleGroupRequest()
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::GetScope
const Scope & GetScope() const
Definition: DescribeManagedRuleGroupRequest.h:146
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::ScopeHasBeenSet
bool ScopeHasBeenSet() const
Definition: DescribeManagedRuleGroupRequest.h:158
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::SetName
void SetName(const char *value)
Definition: DescribeManagedRuleGroupRequest.h:115
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::SetScope
void SetScope(Scope &&value)
Definition: DescribeManagedRuleGroupRequest.h:182
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::WithName
DescribeManagedRuleGroupRequest & WithName(Aws::String &&value)
Definition: DescribeManagedRuleGroupRequest.h:127
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::VersionNameHasBeenSet
bool VersionNameHasBeenSet() const
Definition: DescribeManagedRuleGroupRequest.h:221
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::WithName
DescribeManagedRuleGroupRequest & WithName(const char *value)
Definition: DescribeManagedRuleGroupRequest.h:133
WAFV2_EXPORTS.h
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::VendorNameHasBeenSet
bool VendorNameHasBeenSet() const
Definition: DescribeManagedRuleGroupRequest.h:48
Aws::WAFV2::WAFV2Request
Definition: WAFV2Request.h:17
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::GetVersionName
const Aws::String & GetVersionName() const
Definition: DescribeManagedRuleGroupRequest.h:214
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::WithVendorName
DescribeManagedRuleGroupRequest & WithVendorName(const Aws::String &value)
Definition: DescribeManagedRuleGroupRequest.h:72
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::SetVersionName
void SetVersionName(Aws::String &&value)
Definition: DescribeManagedRuleGroupRequest.h:235
AWSString.h
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::SetVendorName
void SetVendorName(Aws::String &&value)
Definition: DescribeManagedRuleGroupRequest.h:60
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::WithVendorName
DescribeManagedRuleGroupRequest & WithVendorName(Aws::String &&value)
Definition: DescribeManagedRuleGroupRequest.h:78
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::WithName
DescribeManagedRuleGroupRequest & WithName(const Aws::String &value)
Definition: DescribeManagedRuleGroupRequest.h:121
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::SetScope
void SetScope(const Scope &value)
Definition: DescribeManagedRuleGroupRequest.h:170
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::WithVersionName
DescribeManagedRuleGroupRequest & WithVersionName(Aws::String &&value)
Definition: DescribeManagedRuleGroupRequest.h:256
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::WithScope
DescribeManagedRuleGroupRequest & WithScope(const Scope &value)
Definition: DescribeManagedRuleGroupRequest.h:194
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::SetVendorName
void SetVendorName(const char *value)
Definition: DescribeManagedRuleGroupRequest.h:66
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest
Definition: DescribeManagedRuleGroupRequest.h:23
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::WithScope
DescribeManagedRuleGroupRequest & WithScope(Scope &&value)
Definition: DescribeManagedRuleGroupRequest.h:206
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::SetName
void SetName(Aws::String &&value)
Definition: DescribeManagedRuleGroupRequest.h:109
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::GetName
const Aws::String & GetName() const
Definition: DescribeManagedRuleGroupRequest.h:91
Aws::WAFV2::Model::Scope
Scope
Definition: Scope.h:17
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::SetVersionName
void SetVersionName(const char *value)
Definition: DescribeManagedRuleGroupRequest.h:242
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DescribeManagedRuleGroupRequest.h:97
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::WithVersionName
DescribeManagedRuleGroupRequest & WithVersionName(const char *value)
Definition: DescribeManagedRuleGroupRequest.h:263
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::WithVendorName
DescribeManagedRuleGroupRequest & WithVendorName(const char *value)
Definition: DescribeManagedRuleGroupRequest.h:84
Aws::WAFV2::Model::DescribeManagedRuleGroupRequest::SetName
void SetName(const Aws::String &value)
Definition: DescribeManagedRuleGroupRequest.h:103