AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeRuleGroupRequest.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/NetworkFirewallRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/network-firewall/model/RuleGroupType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace NetworkFirewall
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NETWORKFIREWALL_API DescribeRuleGroupRequest() = 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 "DescribeRuleGroup"; }
32
33 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
34
35 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
44 inline const Aws::String& GetRuleGroupName() const { return m_ruleGroupName; }
45 inline bool RuleGroupNameHasBeenSet() const { return m_ruleGroupNameHasBeenSet; }
46 template<typename RuleGroupNameT = Aws::String>
47 void SetRuleGroupName(RuleGroupNameT&& value) { m_ruleGroupNameHasBeenSet = true; m_ruleGroupName = std::forward<RuleGroupNameT>(value); }
48 template<typename RuleGroupNameT = Aws::String>
49 DescribeRuleGroupRequest& WithRuleGroupName(RuleGroupNameT&& value) { SetRuleGroupName(std::forward<RuleGroupNameT>(value)); return *this;}
51
53
57 inline const Aws::String& GetRuleGroupArn() const { return m_ruleGroupArn; }
58 inline bool RuleGroupArnHasBeenSet() const { return m_ruleGroupArnHasBeenSet; }
59 template<typename RuleGroupArnT = Aws::String>
60 void SetRuleGroupArn(RuleGroupArnT&& value) { m_ruleGroupArnHasBeenSet = true; m_ruleGroupArn = std::forward<RuleGroupArnT>(value); }
61 template<typename RuleGroupArnT = Aws::String>
62 DescribeRuleGroupRequest& WithRuleGroupArn(RuleGroupArnT&& value) { SetRuleGroupArn(std::forward<RuleGroupArnT>(value)); return *this;}
64
66
72 inline RuleGroupType GetType() const { return m_type; }
73 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
74 inline void SetType(RuleGroupType value) { m_typeHasBeenSet = true; m_type = value; }
75 inline DescribeRuleGroupRequest& WithType(RuleGroupType value) { SetType(value); return *this;}
77
79
84 inline bool GetAnalyzeRuleGroup() const { return m_analyzeRuleGroup; }
85 inline bool AnalyzeRuleGroupHasBeenSet() const { return m_analyzeRuleGroupHasBeenSet; }
86 inline void SetAnalyzeRuleGroup(bool value) { m_analyzeRuleGroupHasBeenSet = true; m_analyzeRuleGroup = value; }
87 inline DescribeRuleGroupRequest& WithAnalyzeRuleGroup(bool value) { SetAnalyzeRuleGroup(value); return *this;}
89 private:
90
91 Aws::String m_ruleGroupName;
92 bool m_ruleGroupNameHasBeenSet = false;
93
94 Aws::String m_ruleGroupArn;
95 bool m_ruleGroupArnHasBeenSet = false;
96
98 bool m_typeHasBeenSet = false;
99
100 bool m_analyzeRuleGroup{false};
101 bool m_analyzeRuleGroupHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace NetworkFirewall
106} // namespace Aws
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeRuleGroupRequest & WithAnalyzeRuleGroup(bool 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