AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListFirewallsRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace NetworkFirewall
16{
17namespace Model
18{
19
23 {
24 public:
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 "ListFirewalls"; }
32
34
36
37
45 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
46
54 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
55
63 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
64
72 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
73
81 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
82
90 inline ListFirewallsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
91
99 inline ListFirewallsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
100
108 inline ListFirewallsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
109
110
116 inline const Aws::Vector<Aws::String>& GetVpcIds() const{ return m_vpcIds; }
117
123 inline bool VpcIdsHasBeenSet() const { return m_vpcIdsHasBeenSet; }
124
130 inline void SetVpcIds(const Aws::Vector<Aws::String>& value) { m_vpcIdsHasBeenSet = true; m_vpcIds = value; }
131
137 inline void SetVpcIds(Aws::Vector<Aws::String>&& value) { m_vpcIdsHasBeenSet = true; m_vpcIds = std::move(value); }
138
144 inline ListFirewallsRequest& WithVpcIds(const Aws::Vector<Aws::String>& value) { SetVpcIds(value); return *this;}
145
151 inline ListFirewallsRequest& WithVpcIds(Aws::Vector<Aws::String>&& value) { SetVpcIds(std::move(value)); return *this;}
152
158 inline ListFirewallsRequest& AddVpcIds(const Aws::String& value) { m_vpcIdsHasBeenSet = true; m_vpcIds.push_back(value); return *this; }
159
165 inline ListFirewallsRequest& AddVpcIds(Aws::String&& value) { m_vpcIdsHasBeenSet = true; m_vpcIds.push_back(std::move(value)); return *this; }
166
172 inline ListFirewallsRequest& AddVpcIds(const char* value) { m_vpcIdsHasBeenSet = true; m_vpcIds.push_back(value); return *this; }
173
174
181 inline int GetMaxResults() const{ return m_maxResults; }
182
189 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
190
197 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
198
205 inline ListFirewallsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
206
207 private:
208
209 Aws::String m_nextToken;
210 bool m_nextTokenHasBeenSet = false;
211
213 bool m_vpcIdsHasBeenSet = false;
214
215 int m_maxResults;
216 bool m_maxResultsHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace NetworkFirewall
221} // namespace Aws
#define AWS_NETWORKFIREWALL_API
ListFirewallsRequest & WithNextToken(const char *value)
ListFirewallsRequest & WithNextToken(Aws::String &&value)
ListFirewallsRequest & AddVpcIds(const Aws::String &value)
ListFirewallsRequest & WithVpcIds(Aws::Vector< Aws::String > &&value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
void SetVpcIds(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
ListFirewallsRequest & WithVpcIds(const Aws::Vector< Aws::String > &value)
ListFirewallsRequest & WithNextToken(const Aws::String &value)
ListFirewallsRequest & AddVpcIds(Aws::String &&value)
ListFirewallsRequest & AddVpcIds(const char *value)
void SetVpcIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetVpcIds() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector