AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListFirewallsRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace NetworkFirewall
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NETWORKFIREWALL_API ListFirewallsRequest();
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
33 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
34
35 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
46 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
47 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
48 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
49 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
50 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
51 inline ListFirewallsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
52 inline ListFirewallsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
53 inline ListFirewallsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
55
57
62 inline const Aws::Vector<Aws::String>& GetVpcIds() const{ return m_vpcIds; }
63 inline bool VpcIdsHasBeenSet() const { return m_vpcIdsHasBeenSet; }
64 inline void SetVpcIds(const Aws::Vector<Aws::String>& value) { m_vpcIdsHasBeenSet = true; m_vpcIds = value; }
65 inline void SetVpcIds(Aws::Vector<Aws::String>&& value) { m_vpcIdsHasBeenSet = true; m_vpcIds = std::move(value); }
66 inline ListFirewallsRequest& WithVpcIds(const Aws::Vector<Aws::String>& value) { SetVpcIds(value); return *this;}
67 inline ListFirewallsRequest& WithVpcIds(Aws::Vector<Aws::String>&& value) { SetVpcIds(std::move(value)); return *this;}
68 inline ListFirewallsRequest& AddVpcIds(const Aws::String& value) { m_vpcIdsHasBeenSet = true; m_vpcIds.push_back(value); return *this; }
69 inline ListFirewallsRequest& AddVpcIds(Aws::String&& value) { m_vpcIdsHasBeenSet = true; m_vpcIds.push_back(std::move(value)); return *this; }
70 inline ListFirewallsRequest& AddVpcIds(const char* value) { m_vpcIdsHasBeenSet = true; m_vpcIds.push_back(value); return *this; }
72
74
80 inline int GetMaxResults() const{ return m_maxResults; }
81 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
82 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
83 inline ListFirewallsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
85 private:
86
87 Aws::String m_nextToken;
88 bool m_nextTokenHasBeenSet = false;
89
91 bool m_vpcIdsHasBeenSet = false;
92
93 int m_maxResults;
94 bool m_maxResultsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace NetworkFirewall
99} // namespace Aws
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