AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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); }
50 inline DescribeRuleGroupMetadataRequest& WithRuleGroupName(Aws::String&& value) { SetRuleGroupName(std::move(value)); return *this;}
51 inline DescribeRuleGroupMetadataRequest& WithRuleGroupName(const char* value) { SetRuleGroupName(value); return *this;}
53
55
60 inline const Aws::String& GetRuleGroupArn() const{ return m_ruleGroupArn; }
61 inline bool RuleGroupArnHasBeenSet() const { return m_ruleGroupArnHasBeenSet; }
62 inline void SetRuleGroupArn(const Aws::String& value) { m_ruleGroupArnHasBeenSet = true; m_ruleGroupArn = value; }
63 inline void SetRuleGroupArn(Aws::String&& value) { m_ruleGroupArnHasBeenSet = true; m_ruleGroupArn = std::move(value); }
64 inline void SetRuleGroupArn(const char* value) { m_ruleGroupArnHasBeenSet = true; m_ruleGroupArn.assign(value); }
66 inline DescribeRuleGroupMetadataRequest& WithRuleGroupArn(Aws::String&& value) { SetRuleGroupArn(std::move(value)); return *this;}
67 inline DescribeRuleGroupMetadataRequest& WithRuleGroupArn(const char* value) { SetRuleGroupArn(value); return *this;}
69
71
77 inline const RuleGroupType& GetType() const{ return m_type; }
78 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
79 inline void SetType(const RuleGroupType& value) { m_typeHasBeenSet = true; m_type = value; }
80 inline void SetType(RuleGroupType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
81 inline DescribeRuleGroupMetadataRequest& WithType(const RuleGroupType& value) { SetType(value); return *this;}
82 inline DescribeRuleGroupMetadataRequest& WithType(RuleGroupType&& value) { SetType(std::move(value)); return *this;}
84 private:
85
86 Aws::String m_ruleGroupName;
87 bool m_ruleGroupNameHasBeenSet = false;
88
89 Aws::String m_ruleGroupArn;
90 bool m_ruleGroupArnHasBeenSet = false;
91
92 RuleGroupType m_type;
93 bool m_typeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace NetworkFirewall
98} // namespace Aws
DescribeRuleGroupMetadataRequest & WithRuleGroupName(const Aws::String &value)
DescribeRuleGroupMetadataRequest & WithRuleGroupArn(const Aws::String &value)
DescribeRuleGroupMetadataRequest & WithType(const RuleGroupType &value)
DescribeRuleGroupMetadataRequest & WithType(RuleGroupType &&value)
DescribeRuleGroupMetadataRequest & WithRuleGroupArn(const char *value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
DescribeRuleGroupMetadataRequest & WithRuleGroupName(const char *value)
DescribeRuleGroupMetadataRequest & WithRuleGroupName(Aws::String &&value)
DescribeRuleGroupMetadataRequest & WithRuleGroupArn(Aws::String &&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