AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DescribeRuleGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/network-firewall/NetworkFirewallRequest.h>
9#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
10#include <aws/network-firewall/model/RuleGroupType.h>
11#include <aws/network-firewall/model/RuleOutputFormat.h>
12
13#include <utility>
14
15namespace Aws {
16namespace NetworkFirewall {
17namespace Model {
18
22 public:
23 AWS_NETWORKFIREWALL_API DescribeRuleGroupRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeRuleGroup"; }
30
31 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
32
33 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
41 inline const Aws::String& GetRuleGroupName() const { return m_ruleGroupName; }
42 inline bool RuleGroupNameHasBeenSet() const { return m_ruleGroupNameHasBeenSet; }
43 template <typename RuleGroupNameT = Aws::String>
44 void SetRuleGroupName(RuleGroupNameT&& value) {
45 m_ruleGroupNameHasBeenSet = true;
46 m_ruleGroupName = std::forward<RuleGroupNameT>(value);
47 }
48 template <typename RuleGroupNameT = Aws::String>
50 SetRuleGroupName(std::forward<RuleGroupNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetRuleGroupArn() const { return m_ruleGroupArn; }
61 inline bool RuleGroupArnHasBeenSet() const { return m_ruleGroupArnHasBeenSet; }
62 template <typename RuleGroupArnT = Aws::String>
63 void SetRuleGroupArn(RuleGroupArnT&& value) {
64 m_ruleGroupArnHasBeenSet = true;
65 m_ruleGroupArn = std::forward<RuleGroupArnT>(value);
66 }
67 template <typename RuleGroupArnT = Aws::String>
69 SetRuleGroupArn(std::forward<RuleGroupArnT>(value));
70 return *this;
71 }
73
75
85 inline RuleGroupType GetType() const { return m_type; }
86 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
87 inline void SetType(RuleGroupType value) {
88 m_typeHasBeenSet = true;
89 m_type = value;
90 }
92 SetType(value);
93 return *this;
94 }
96
98
103 inline bool GetAnalyzeRuleGroup() const { return m_analyzeRuleGroup; }
104 inline bool AnalyzeRuleGroupHasBeenSet() const { return m_analyzeRuleGroupHasBeenSet; }
105 inline void SetAnalyzeRuleGroup(bool value) {
106 m_analyzeRuleGroupHasBeenSet = true;
107 m_analyzeRuleGroup = value;
108 }
110 SetAnalyzeRuleGroup(value);
111 return *this;
112 }
114
116
127 inline RuleOutputFormat GetRuleOutputFormat() const { return m_ruleOutputFormat; }
128 inline bool RuleOutputFormatHasBeenSet() const { return m_ruleOutputFormatHasBeenSet; }
130 m_ruleOutputFormatHasBeenSet = true;
131 m_ruleOutputFormat = value;
132 }
134 SetRuleOutputFormat(value);
135 return *this;
136 }
138 private:
139 Aws::String m_ruleGroupName;
140
141 Aws::String m_ruleGroupArn;
142
144
145 bool m_analyzeRuleGroup{false};
146
148 bool m_ruleGroupNameHasBeenSet = false;
149 bool m_ruleGroupArnHasBeenSet = false;
150 bool m_typeHasBeenSet = false;
151 bool m_analyzeRuleGroupHasBeenSet = false;
152 bool m_ruleOutputFormatHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace NetworkFirewall
157} // namespace Aws
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeRuleGroupRequest & WithAnalyzeRuleGroup(bool value)
DescribeRuleGroupRequest & WithRuleOutputFormat(RuleOutputFormat value)
DescribeRuleGroupRequest & WithRuleGroupName(RuleGroupNameT &&value)
AWS_NETWORKFIREWALL_API DescribeRuleGroupRequest()=default
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeRuleGroupRequest & WithType(RuleGroupType value)
DescribeRuleGroupRequest & WithRuleGroupArn(RuleGroupArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String