AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListFirewallRulesRequest.h
1
6#pragma once
7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/route53resolver/Route53ResolverRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53resolver/model/Action.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Route53Resolver
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ROUTE53RESOLVER_API ListFirewallRulesRequest();
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 "ListFirewallRules"; }
32
33 AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override;
34
35 AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetFirewallRuleGroupId() const{ return m_firewallRuleGroupId; }
44 inline bool FirewallRuleGroupIdHasBeenSet() const { return m_firewallRuleGroupIdHasBeenSet; }
45 inline void SetFirewallRuleGroupId(const Aws::String& value) { m_firewallRuleGroupIdHasBeenSet = true; m_firewallRuleGroupId = value; }
46 inline void SetFirewallRuleGroupId(Aws::String&& value) { m_firewallRuleGroupIdHasBeenSet = true; m_firewallRuleGroupId = std::move(value); }
47 inline void SetFirewallRuleGroupId(const char* value) { m_firewallRuleGroupIdHasBeenSet = true; m_firewallRuleGroupId.assign(value); }
49 inline ListFirewallRulesRequest& WithFirewallRuleGroupId(Aws::String&& value) { SetFirewallRuleGroupId(std::move(value)); return *this;}
50 inline ListFirewallRulesRequest& WithFirewallRuleGroupId(const char* value) { SetFirewallRuleGroupId(value); return *this;}
52
54
60 inline int GetPriority() const{ return m_priority; }
61 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
62 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
63 inline ListFirewallRulesRequest& WithPriority(int value) { SetPriority(value); return *this;}
65
67
77 inline const Action& GetAction() const{ return m_action; }
78 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
79 inline void SetAction(const Action& value) { m_actionHasBeenSet = true; m_action = value; }
80 inline void SetAction(Action&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
81 inline ListFirewallRulesRequest& WithAction(const Action& value) { SetAction(value); return *this;}
82 inline ListFirewallRulesRequest& WithAction(Action&& value) { SetAction(std::move(value)); return *this;}
84
86
93 inline int GetMaxResults() const{ return m_maxResults; }
94 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96 inline ListFirewallRulesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
98
100
108 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
109 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
110 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
111 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
112 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
113 inline ListFirewallRulesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
114 inline ListFirewallRulesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 inline ListFirewallRulesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
117 private:
118
119 Aws::String m_firewallRuleGroupId;
120 bool m_firewallRuleGroupIdHasBeenSet = false;
121
122 int m_priority;
123 bool m_priorityHasBeenSet = false;
124
125 Action m_action;
126 bool m_actionHasBeenSet = false;
127
128 int m_maxResults;
129 bool m_maxResultsHasBeenSet = false;
130
131 Aws::String m_nextToken;
132 bool m_nextTokenHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace Route53Resolver
137} // namespace Aws
ListFirewallRulesRequest & WithNextToken(Aws::String &&value)
ListFirewallRulesRequest & WithFirewallRuleGroupId(Aws::String &&value)
ListFirewallRulesRequest & WithNextToken(const char *value)
ListFirewallRulesRequest & WithAction(const Action &value)
ListFirewallRulesRequest & WithFirewallRuleGroupId(const char *value)
virtual const char * GetServiceRequestName() const override
ListFirewallRulesRequest & WithFirewallRuleGroupId(const Aws::String &value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
ListFirewallRulesRequest & WithAction(Action &&value)
ListFirewallRulesRequest & WithNextToken(const Aws::String &value)
AWS_ROUTE53RESOLVER_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