AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
25 AWS_WAFV2_API DescribeManagedRuleGroupRequest() = default;
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 template<typename VendorNameT = Aws::String>
46 void SetVendorName(VendorNameT&& value) { m_vendorNameHasBeenSet = true; m_vendorName = std::forward<VendorNameT>(value); }
47 template<typename VendorNameT = Aws::String>
48 DescribeManagedRuleGroupRequest& WithVendorName(VendorNameT&& value) { SetVendorName(std::forward<VendorNameT>(value)); return *this;}
50
52
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template<typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
60 template<typename NameT = Aws::String>
61 DescribeManagedRuleGroupRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
63
65
74 inline Scope GetScope() const { return m_scope; }
75 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
76 inline void SetScope(Scope value) { m_scopeHasBeenSet = true; m_scope = value; }
77 inline DescribeManagedRuleGroupRequest& WithScope(Scope value) { SetScope(value); return *this;}
79
81
86 inline const Aws::String& GetVersionName() const { return m_versionName; }
87 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
88 template<typename VersionNameT = Aws::String>
89 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
90 template<typename VersionNameT = Aws::String>
91 DescribeManagedRuleGroupRequest& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
93 private:
94
95 Aws::String m_vendorName;
96 bool m_vendorNameHasBeenSet = false;
97
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 Scope m_scope{Scope::NOT_SET};
102 bool m_scopeHasBeenSet = false;
103
104 Aws::String m_versionName;
105 bool m_versionNameHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace WAFV2
110} // namespace Aws
DescribeManagedRuleGroupRequest & WithName(NameT &&value)
DescribeManagedRuleGroupRequest & WithScope(Scope value)
DescribeManagedRuleGroupRequest & WithVersionName(VersionNameT &&value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WAFV2_API Aws::String SerializePayload() const override
DescribeManagedRuleGroupRequest & WithVendorName(VendorNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String