AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeRuleGroupRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace NetworkFirewall
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 "DescribeRuleGroup"; }
32
34
36
37
43 inline const Aws::String& GetRuleGroupName() const{ return m_ruleGroupName; }
44
50 inline bool RuleGroupNameHasBeenSet() const { return m_ruleGroupNameHasBeenSet; }
51
57 inline void SetRuleGroupName(const Aws::String& value) { m_ruleGroupNameHasBeenSet = true; m_ruleGroupName = value; }
58
64 inline void SetRuleGroupName(Aws::String&& value) { m_ruleGroupNameHasBeenSet = true; m_ruleGroupName = std::move(value); }
65
71 inline void SetRuleGroupName(const char* value) { m_ruleGroupNameHasBeenSet = true; m_ruleGroupName.assign(value); }
72
78 inline DescribeRuleGroupRequest& WithRuleGroupName(const Aws::String& value) { SetRuleGroupName(value); return *this;}
79
85 inline DescribeRuleGroupRequest& WithRuleGroupName(Aws::String&& value) { SetRuleGroupName(std::move(value)); return *this;}
86
92 inline DescribeRuleGroupRequest& WithRuleGroupName(const char* value) { SetRuleGroupName(value); return *this;}
93
94
99 inline const Aws::String& GetRuleGroupArn() const{ return m_ruleGroupArn; }
100
105 inline bool RuleGroupArnHasBeenSet() const { return m_ruleGroupArnHasBeenSet; }
106
111 inline void SetRuleGroupArn(const Aws::String& value) { m_ruleGroupArnHasBeenSet = true; m_ruleGroupArn = value; }
112
117 inline void SetRuleGroupArn(Aws::String&& value) { m_ruleGroupArnHasBeenSet = true; m_ruleGroupArn = std::move(value); }
118
123 inline void SetRuleGroupArn(const char* value) { m_ruleGroupArnHasBeenSet = true; m_ruleGroupArn.assign(value); }
124
129 inline DescribeRuleGroupRequest& WithRuleGroupArn(const Aws::String& value) { SetRuleGroupArn(value); return *this;}
130
135 inline DescribeRuleGroupRequest& WithRuleGroupArn(Aws::String&& value) { SetRuleGroupArn(std::move(value)); return *this;}
136
141 inline DescribeRuleGroupRequest& WithRuleGroupArn(const char* value) { SetRuleGroupArn(value); return *this;}
142
143
150 inline const RuleGroupType& GetType() const{ return m_type; }
151
158 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
159
166 inline void SetType(const RuleGroupType& value) { m_typeHasBeenSet = true; m_type = value; }
167
174 inline void SetType(RuleGroupType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
175
182 inline DescribeRuleGroupRequest& WithType(const RuleGroupType& value) { SetType(value); return *this;}
183
190 inline DescribeRuleGroupRequest& WithType(RuleGroupType&& value) { SetType(std::move(value)); return *this;}
191
192 private:
193
194 Aws::String m_ruleGroupName;
195 bool m_ruleGroupNameHasBeenSet = false;
196
197 Aws::String m_ruleGroupArn;
198 bool m_ruleGroupArnHasBeenSet = false;
199
200 RuleGroupType m_type;
201 bool m_typeHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace NetworkFirewall
206} // namespace Aws
#define AWS_NETWORKFIREWALL_API
DescribeRuleGroupRequest & WithRuleGroupName(const char *value)
DescribeRuleGroupRequest & WithType(const RuleGroupType &value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeRuleGroupRequest & WithRuleGroupArn(const Aws::String &value)
DescribeRuleGroupRequest & WithRuleGroupArn(Aws::String &&value)
DescribeRuleGroupRequest & WithType(RuleGroupType &&value)
DescribeRuleGroupRequest & WithRuleGroupName(Aws::String &&value)
DescribeRuleGroupRequest & WithRuleGroupName(const Aws::String &value)
DescribeRuleGroupRequest & WithRuleGroupArn(const char *value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String