AWS SDK for C++  1.9.44
AWS SDK for C++
ListIPSetsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/waf/WAF_EXPORTS.h>
8 #include <aws/waf/WAFRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WAF
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 "ListIPSets"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
44  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
45 
53  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
54 
62  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
63 
71  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
72 
80  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
81 
89  inline ListIPSetsRequest& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
90 
98  inline ListIPSetsRequest& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
99 
107  inline ListIPSetsRequest& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
108 
109 
117  inline int GetLimit() const{ return m_limit; }
118 
126  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
127 
135  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
136 
144  inline ListIPSetsRequest& WithLimit(int value) { SetLimit(value); return *this;}
145 
146  private:
147 
148  Aws::String m_nextMarker;
149  bool m_nextMarkerHasBeenSet;
150 
151  int m_limit;
152  bool m_limitHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace WAF
157 } // namespace Aws
Aws::WAF::Model::ListIPSetsRequest::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: ListIPSetsRequest.h:53
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAF::Model::ListIPSetsRequest::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListIPSetsRequest.h:44
Aws::WAF::Model::ListIPSetsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListIPSetsRequest.h:126
Aws::WAF::Model::ListIPSetsRequest::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListIPSetsRequest.h:71
AWS_WAF_API
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:28
Aws::WAF::Model::ListIPSetsRequest::GetLimit
int GetLimit() const
Definition: ListIPSetsRequest.h:117
Aws::WAF::Model::ListIPSetsRequest::SetLimit
void SetLimit(int value)
Definition: ListIPSetsRequest.h:135
Aws::WAF::Model::ListIPSetsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WAF::Model::ListIPSetsRequest::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListIPSetsRequest.h:62
Aws::WAF::Model::ListIPSetsRequest::ListIPSetsRequest
ListIPSetsRequest()
Aws::WAF::Model::ListIPSetsRequest::WithNextMarker
ListIPSetsRequest & WithNextMarker(Aws::String &&value)
Definition: ListIPSetsRequest.h:98
Aws::WAF::Model::ListIPSetsRequest::WithNextMarker
ListIPSetsRequest & WithNextMarker(const Aws::String &value)
Definition: ListIPSetsRequest.h:89
AWSString.h
Aws::WAF::Model::ListIPSetsRequest::WithNextMarker
ListIPSetsRequest & WithNextMarker(const char *value)
Definition: ListIPSetsRequest.h:107
WAF_EXPORTS.h
Aws::WAF::Model::ListIPSetsRequest::WithLimit
ListIPSetsRequest & WithLimit(int value)
Definition: ListIPSetsRequest.h:144
WAFRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::WAF::Model::ListIPSetsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAF::Model::ListIPSetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListIPSetsRequest.h:30
Aws::WAF::Model::ListIPSetsRequest
Definition: ListIPSetsRequest.h:22
Aws::WAF::WAFRequest
Definition: WAFRequest.h:17
Aws::WAF::Model::ListIPSetsRequest::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListIPSetsRequest.h:80