AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 "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 template<typename NextTokenT = Aws::String>
49 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
50 template<typename NextTokenT = Aws::String>
51 ListFirewallsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
53
55
60 inline const Aws::Vector<Aws::String>& GetVpcIds() const { return m_vpcIds; }
61 inline bool VpcIdsHasBeenSet() const { return m_vpcIdsHasBeenSet; }
62 template<typename VpcIdsT = Aws::Vector<Aws::String>>
63 void SetVpcIds(VpcIdsT&& value) { m_vpcIdsHasBeenSet = true; m_vpcIds = std::forward<VpcIdsT>(value); }
64 template<typename VpcIdsT = Aws::Vector<Aws::String>>
65 ListFirewallsRequest& WithVpcIds(VpcIdsT&& value) { SetVpcIds(std::forward<VpcIdsT>(value)); return *this;}
66 template<typename VpcIdsT = Aws::String>
67 ListFirewallsRequest& AddVpcIds(VpcIdsT&& value) { m_vpcIdsHasBeenSet = true; m_vpcIds.emplace_back(std::forward<VpcIdsT>(value)); return *this; }
69
71
77 inline int GetMaxResults() const { return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline ListFirewallsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82 private:
83
84 Aws::String m_nextToken;
85 bool m_nextTokenHasBeenSet = false;
86
88 bool m_vpcIdsHasBeenSet = false;
89
90 int m_maxResults{0};
91 bool m_maxResultsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace NetworkFirewall
96} // namespace Aws
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListFirewallsRequest & WithNextToken(NextTokenT &&value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListFirewallsRequest & AddVpcIds(VpcIdsT &&value)
const Aws::Vector< Aws::String > & GetVpcIds() const
ListFirewallsRequest & WithVpcIds(VpcIdsT &&value)
AWS_NETWORKFIREWALL_API ListFirewallsRequest()=default
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