AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DeleteRuleGroupRequest.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
12#include <utility>
13
14namespace Aws {
15namespace NetworkFirewall {
16namespace Model {
17
21 public:
22 AWS_NETWORKFIREWALL_API DeleteRuleGroupRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteRuleGroup"; }
29
30 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
31
32 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
40 inline const Aws::String& GetRuleGroupName() const { return m_ruleGroupName; }
41 inline bool RuleGroupNameHasBeenSet() const { return m_ruleGroupNameHasBeenSet; }
42 template <typename RuleGroupNameT = Aws::String>
43 void SetRuleGroupName(RuleGroupNameT&& value) {
44 m_ruleGroupNameHasBeenSet = true;
45 m_ruleGroupName = std::forward<RuleGroupNameT>(value);
46 }
47 template <typename RuleGroupNameT = Aws::String>
48 DeleteRuleGroupRequest& WithRuleGroupName(RuleGroupNameT&& value) {
49 SetRuleGroupName(std::forward<RuleGroupNameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetRuleGroupArn() const { return m_ruleGroupArn; }
60 inline bool RuleGroupArnHasBeenSet() const { return m_ruleGroupArnHasBeenSet; }
61 template <typename RuleGroupArnT = Aws::String>
62 void SetRuleGroupArn(RuleGroupArnT&& value) {
63 m_ruleGroupArnHasBeenSet = true;
64 m_ruleGroupArn = std::forward<RuleGroupArnT>(value);
65 }
66 template <typename RuleGroupArnT = Aws::String>
67 DeleteRuleGroupRequest& WithRuleGroupArn(RuleGroupArnT&& value) {
68 SetRuleGroupArn(std::forward<RuleGroupArnT>(value));
69 return *this;
70 }
72
74
84 inline RuleGroupType GetType() const { return m_type; }
85 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
86 inline void SetType(RuleGroupType value) {
87 m_typeHasBeenSet = true;
88 m_type = value;
89 }
91 SetType(value);
92 return *this;
93 }
95 private:
96 Aws::String m_ruleGroupName;
97
98 Aws::String m_ruleGroupArn;
99
101 bool m_ruleGroupNameHasBeenSet = false;
102 bool m_ruleGroupArnHasBeenSet = false;
103 bool m_typeHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace NetworkFirewall
108} // namespace Aws
DeleteRuleGroupRequest & WithType(RuleGroupType value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
AWS_NETWORKFIREWALL_API DeleteRuleGroupRequest()=default
DeleteRuleGroupRequest & WithRuleGroupName(RuleGroupNameT &&value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
DeleteRuleGroupRequest & WithRuleGroupArn(RuleGroupArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String