AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRuleGroupName(const Aws::String& value) { m_ruleGroupNameHasBeenSet = true; m_ruleGroupName = value; }
47 inline void SetRuleGroupName(Aws::String&& value) { m_ruleGroupNameHasBeenSet = true; m_ruleGroupName = std::move(value); }
48 inline void SetRuleGroupName(const char* value) { m_ruleGroupNameHasBeenSet = true; m_ruleGroupName.assign(value); }
49 inline DescribeRuleGroupRequest& WithRuleGroupName(const Aws::String& value) { SetRuleGroupName(value); return *this;}
50 inline DescribeRuleGroupRequest& WithRuleGroupName(Aws::String&& value) { SetRuleGroupName(std::move(value)); return *this;}
51 inline DescribeRuleGroupRequest& WithRuleGroupName(const char* value) { SetRuleGroupName(value); return *this;}
53
55
59 inline const Aws::String& GetRuleGroupArn() const{ return m_ruleGroupArn; }
60 inline bool RuleGroupArnHasBeenSet() const { return m_ruleGroupArnHasBeenSet; }
61 inline void SetRuleGroupArn(const Aws::String& value) { m_ruleGroupArnHasBeenSet = true; m_ruleGroupArn = value; }
62 inline void SetRuleGroupArn(Aws::String&& value) { m_ruleGroupArnHasBeenSet = true; m_ruleGroupArn = std::move(value); }
63 inline void SetRuleGroupArn(const char* value) { m_ruleGroupArnHasBeenSet = true; m_ruleGroupArn.assign(value); }
64 inline DescribeRuleGroupRequest& WithRuleGroupArn(const Aws::String& value) { SetRuleGroupArn(value); return *this;}
65 inline DescribeRuleGroupRequest& WithRuleGroupArn(Aws::String&& value) { SetRuleGroupArn(std::move(value)); return *this;}
66 inline DescribeRuleGroupRequest& WithRuleGroupArn(const char* value) { SetRuleGroupArn(value); return *this;}
68
70
76 inline const RuleGroupType& GetType() const{ return m_type; }
77 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 inline void SetType(const RuleGroupType& value) { m_typeHasBeenSet = true; m_type = value; }
79 inline void SetType(RuleGroupType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
80 inline DescribeRuleGroupRequest& WithType(const RuleGroupType& value) { SetType(value); return *this;}
81 inline DescribeRuleGroupRequest& WithType(RuleGroupType&& value) { SetType(std::move(value)); return *this;}
83
85
90 inline bool GetAnalyzeRuleGroup() const{ return m_analyzeRuleGroup; }
91 inline bool AnalyzeRuleGroupHasBeenSet() const { return m_analyzeRuleGroupHasBeenSet; }
92 inline void SetAnalyzeRuleGroup(bool value) { m_analyzeRuleGroupHasBeenSet = true; m_analyzeRuleGroup = value; }
93 inline DescribeRuleGroupRequest& WithAnalyzeRuleGroup(bool value) { SetAnalyzeRuleGroup(value); return *this;}
95 private:
96
97 Aws::String m_ruleGroupName;
98 bool m_ruleGroupNameHasBeenSet = false;
99
100 Aws::String m_ruleGroupArn;
101 bool m_ruleGroupArnHasBeenSet = false;
102
103 RuleGroupType m_type;
104 bool m_typeHasBeenSet = false;
105
106 bool m_analyzeRuleGroup;
107 bool m_analyzeRuleGroupHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace NetworkFirewall
112} // namespace Aws
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 & WithAnalyzeRuleGroup(bool 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