AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteRuleGroupRequest.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 DeleteRuleGroupRequest() = 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 "DeleteRuleGroup"; }
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 DeleteRuleGroupRequest& 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 DeleteRuleGroupRequest& 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 DeleteRuleGroupRequest& WithType(RuleGroupType value) { SetType(value); return *this;}
77 private:
78
79 Aws::String m_ruleGroupName;
80 bool m_ruleGroupNameHasBeenSet = false;
81
82 Aws::String m_ruleGroupArn;
83 bool m_ruleGroupArnHasBeenSet = false;
84
86 bool m_typeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace NetworkFirewall
91} // 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