AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 DeleteRuleGroupRequest& WithRuleGroupName(const Aws::String& value) { SetRuleGroupName(value); return *this;}
50 inline DeleteRuleGroupRequest& WithRuleGroupName(Aws::String&& value) { SetRuleGroupName(std::move(value)); return *this;}
51 inline DeleteRuleGroupRequest& 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 DeleteRuleGroupRequest& WithRuleGroupArn(const Aws::String& value) { SetRuleGroupArn(value); return *this;}
65 inline DeleteRuleGroupRequest& WithRuleGroupArn(Aws::String&& value) { SetRuleGroupArn(std::move(value)); return *this;}
66 inline DeleteRuleGroupRequest& 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 DeleteRuleGroupRequest& WithType(const RuleGroupType& value) { SetType(value); return *this;}
81 inline DeleteRuleGroupRequest& WithType(RuleGroupType&& value) { SetType(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_ruleGroupName;
86 bool m_ruleGroupNameHasBeenSet = false;
87
88 Aws::String m_ruleGroupArn;
89 bool m_ruleGroupArnHasBeenSet = false;
90
91 RuleGroupType m_type;
92 bool m_typeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace NetworkFirewall
97} // namespace Aws
DeleteRuleGroupRequest & WithType(RuleGroupType &&value)
DeleteRuleGroupRequest & WithRuleGroupName(Aws::String &&value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
DeleteRuleGroupRequest & WithRuleGroupArn(const char *value)
DeleteRuleGroupRequest & WithType(const RuleGroupType &value)
DeleteRuleGroupRequest & WithRuleGroupName(const Aws::String &value)
DeleteRuleGroupRequest & WithRuleGroupArn(const Aws::String &value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteRuleGroupRequest & WithRuleGroupName(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteRuleGroupRequest & WithRuleGroupArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String