AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
DescribeManagedRuleGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/Scope.h>
11
12#include <utility>
13
14namespace Aws {
15namespace WAFV2 {
16namespace Model {
17
21 public:
22 AWS_WAFV2_API DescribeManagedRuleGroupRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeManagedRuleGroup"; }
29
30 AWS_WAFV2_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetVendorName() const { return m_vendorName; }
40 inline bool VendorNameHasBeenSet() const { return m_vendorNameHasBeenSet; }
41 template <typename VendorNameT = Aws::String>
42 void SetVendorName(VendorNameT&& value) {
43 m_vendorNameHasBeenSet = true;
44 m_vendorName = std::forward<VendorNameT>(value);
45 }
46 template <typename VendorNameT = Aws::String>
48 SetVendorName(std::forward<VendorNameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
82 inline Scope GetScope() const { return m_scope; }
83 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
84 inline void SetScope(Scope value) {
85 m_scopeHasBeenSet = true;
86 m_scope = value;
87 }
89 SetScope(value);
90 return *this;
91 }
93
95
100 inline const Aws::String& GetVersionName() const { return m_versionName; }
101 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
102 template <typename VersionNameT = Aws::String>
103 void SetVersionName(VersionNameT&& value) {
104 m_versionNameHasBeenSet = true;
105 m_versionName = std::forward<VersionNameT>(value);
106 }
107 template <typename VersionNameT = Aws::String>
109 SetVersionName(std::forward<VersionNameT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_vendorName;
115
116 Aws::String m_name;
117
118 Scope m_scope{Scope::NOT_SET};
119
120 Aws::String m_versionName;
121 bool m_vendorNameHasBeenSet = false;
122 bool m_nameHasBeenSet = false;
123 bool m_scopeHasBeenSet = false;
124 bool m_versionNameHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace WAFV2
129} // 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