AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeManagedRuleGroupRequest.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wafv2/model/Scope.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WAFV2
16{
17namespace 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_WAFV2_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetVendorName() const{ return m_vendorName; }
44 inline bool VendorNameHasBeenSet() const { return m_vendorNameHasBeenSet; }
45 inline void SetVendorName(const Aws::String& value) { m_vendorNameHasBeenSet = true; m_vendorName = value; }
46 inline void SetVendorName(Aws::String&& value) { m_vendorNameHasBeenSet = true; m_vendorName = std::move(value); }
47 inline void SetVendorName(const char* value) { m_vendorNameHasBeenSet = true; m_vendorName.assign(value); }
48 inline DescribeManagedRuleGroupRequest& WithVendorName(const Aws::String& value) { SetVendorName(value); return *this;}
49 inline DescribeManagedRuleGroupRequest& WithVendorName(Aws::String&& value) { SetVendorName(std::move(value)); return *this;}
50 inline DescribeManagedRuleGroupRequest& WithVendorName(const char* value) { SetVendorName(value); return *this;}
52
54
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline DescribeManagedRuleGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline DescribeManagedRuleGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline DescribeManagedRuleGroupRequest& WithName(const char* value) { SetName(value); return *this;}
67
69
80 inline const Scope& GetScope() const{ return m_scope; }
81 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
82 inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; }
83 inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
84 inline DescribeManagedRuleGroupRequest& WithScope(const Scope& value) { SetScope(value); return *this;}
85 inline DescribeManagedRuleGroupRequest& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;}
87
89
94 inline const Aws::String& GetVersionName() const{ return m_versionName; }
95 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
96 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
97 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
98 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
99 inline DescribeManagedRuleGroupRequest& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
100 inline DescribeManagedRuleGroupRequest& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
101 inline DescribeManagedRuleGroupRequest& WithVersionName(const char* value) { SetVersionName(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 Scope m_scope;
112 bool m_scopeHasBeenSet = false;
113
114 Aws::String m_versionName;
115 bool m_versionNameHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace WAFV2
120} // namespace Aws
DescribeManagedRuleGroupRequest & WithVersionName(const Aws::String &value)
DescribeManagedRuleGroupRequest & WithVendorName(Aws::String &&value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WAFV2_API Aws::String SerializePayload() const override
DescribeManagedRuleGroupRequest & WithName(const Aws::String &value)
DescribeManagedRuleGroupRequest & WithVendorName(const char *value)
DescribeManagedRuleGroupRequest & WithVersionName(const char *value)
DescribeManagedRuleGroupRequest & WithScope(const Scope &value)
DescribeManagedRuleGroupRequest & WithScope(Scope &&value)
DescribeManagedRuleGroupRequest & WithVersionName(Aws::String &&value)
DescribeManagedRuleGroupRequest & WithVendorName(const Aws::String &value)
DescribeManagedRuleGroupRequest & WithName(const char *value)
DescribeManagedRuleGroupRequest & WithName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String