AWS SDK for C++  1.9.158
AWS SDK for C++
ListFirewallPoliciesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace NetworkFirewall
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListFirewallPolicies"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
44  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
45 
53  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
54 
62  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
63 
71  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
72 
80  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
81 
89  inline ListFirewallPoliciesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
90 
98  inline ListFirewallPoliciesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
99 
107  inline ListFirewallPoliciesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
108 
109 
116  inline int GetMaxResults() const{ return m_maxResults; }
117 
124  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
125 
132  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
133 
140  inline ListFirewallPoliciesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
141 
142  private:
143 
144  Aws::String m_nextToken;
145  bool m_nextTokenHasBeenSet;
146 
147  int m_maxResults;
148  bool m_maxResultsHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace NetworkFirewall
153 } // namespace Aws
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListFirewallPoliciesRequest.h:62
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::WithMaxResults
ListFirewallPoliciesRequest & WithMaxResults(int value)
Definition: ListFirewallPoliciesRequest.h:140
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::NetworkFirewall::NetworkFirewallRequest
Definition: NetworkFirewallRequest.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
NetworkFirewallRequest.h
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListFirewallPoliciesRequest.h:30
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListFirewallPoliciesRequest.h:44
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::WithNextToken
ListFirewallPoliciesRequest & WithNextToken(const Aws::String &value)
Definition: ListFirewallPoliciesRequest.h:89
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest
Definition: ListFirewallPoliciesRequest.h:22
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::WithNextToken
ListFirewallPoliciesRequest & WithNextToken(Aws::String &&value)
Definition: ListFirewallPoliciesRequest.h:98
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListFirewallPoliciesRequest.h:53
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::ListFirewallPoliciesRequest
ListFirewallPoliciesRequest()
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListFirewallPoliciesRequest.h:80
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListFirewallPoliciesRequest.h:124
AWSString.h
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListFirewallPoliciesRequest.h:71
AWS_NETWORKFIREWALL_API
#define AWS_NETWORKFIREWALL_API
Definition: NetworkFirewall_EXPORTS.h:28
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListFirewallPoliciesRequest.h:132
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListFirewallPoliciesRequest.h:116
NetworkFirewall_EXPORTS.h
Aws::NetworkFirewall::Model::ListFirewallPoliciesRequest::WithNextToken
ListFirewallPoliciesRequest & WithNextToken(const char *value)
Definition: ListFirewallPoliciesRequest.h:107