AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeRuleGroupMetadataRequest.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 DescribeRuleGroupMetadataRequest() = 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 "DescribeRuleGroupMetadata"; }
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 DescribeRuleGroupMetadataRequest& WithRuleGroupName(RuleGroupNameT&& value) { SetRuleGroupName(std::forward<RuleGroupNameT>(value)); return *this;}
51
53
58 inline const Aws::String& GetRuleGroupArn() const { return m_ruleGroupArn; }
59 inline bool RuleGroupArnHasBeenSet() const { return m_ruleGroupArnHasBeenSet; }
60 template<typename RuleGroupArnT = Aws::String>
61 void SetRuleGroupArn(RuleGroupArnT&& value) { m_ruleGroupArnHasBeenSet = true; m_ruleGroupArn = std::forward<RuleGroupArnT>(value); }
62 template<typename RuleGroupArnT = Aws::String>
63 DescribeRuleGroupMetadataRequest& WithRuleGroupArn(RuleGroupArnT&& value) { SetRuleGroupArn(std::forward<RuleGroupArnT>(value)); return *this;}
65
67
73 inline RuleGroupType GetType() const { return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 inline void SetType(RuleGroupType value) { m_typeHasBeenSet = true; m_type = value; }
76 inline DescribeRuleGroupMetadataRequest& WithType(RuleGroupType value) { SetType(value); return *this;}
78 private:
79
80 Aws::String m_ruleGroupName;
81 bool m_ruleGroupNameHasBeenSet = false;
82
83 Aws::String m_ruleGroupArn;
84 bool m_ruleGroupArnHasBeenSet = false;
85
87 bool m_typeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace NetworkFirewall
92} // namespace Aws
AWS_NETWORKFIREWALL_API DescribeRuleGroupMetadataRequest()=default
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
DescribeRuleGroupMetadataRequest & WithRuleGroupName(RuleGroupNameT &&value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeRuleGroupMetadataRequest & WithType(RuleGroupType value)
DescribeRuleGroupMetadataRequest & WithRuleGroupArn(RuleGroupArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String