AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 template<typename FirewallRuleGroupIdT = Aws::String>
46 void SetFirewallRuleGroupId(FirewallRuleGroupIdT&& value) { m_firewallRuleGroupIdHasBeenSet = true; m_firewallRuleGroupId = std::forward<FirewallRuleGroupIdT>(value); }
47 template<typename FirewallRuleGroupIdT = Aws::String>
48 ListFirewallRulesRequest& WithFirewallRuleGroupId(FirewallRuleGroupIdT&& value) { SetFirewallRuleGroupId(std::forward<FirewallRuleGroupIdT>(value)); return *this;}
50
52
58 inline int GetPriority() const { return m_priority; }
59 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
60 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
61 inline ListFirewallRulesRequest& WithPriority(int value) { SetPriority(value); return *this;}
63
65
76 inline Action GetAction() const { return m_action; }
77 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
78 inline void SetAction(Action value) { m_actionHasBeenSet = true; m_action = value; }
79 inline ListFirewallRulesRequest& WithAction(Action value) { SetAction(value); return *this;}
81
83
90 inline int GetMaxResults() const { return m_maxResults; }
91 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
92 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
93 inline ListFirewallRulesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
95
97
105 inline const Aws::String& GetNextToken() const { return m_nextToken; }
106 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
107 template<typename NextTokenT = Aws::String>
108 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
109 template<typename NextTokenT = Aws::String>
110 ListFirewallRulesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
112 private:
113
114 Aws::String m_firewallRuleGroupId;
115 bool m_firewallRuleGroupIdHasBeenSet = false;
116
117 int m_priority{0};
118 bool m_priorityHasBeenSet = false;
119
120 Action m_action{Action::NOT_SET};
121 bool m_actionHasBeenSet = false;
122
123 int m_maxResults{0};
124 bool m_maxResultsHasBeenSet = false;
125
126 Aws::String m_nextToken;
127 bool m_nextTokenHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Route53Resolver
132} // namespace Aws
ListFirewallRulesRequest & WithFirewallRuleGroupId(FirewallRuleGroupIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_ROUTE53RESOLVER_API ListFirewallRulesRequest()=default
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListFirewallRulesRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String