AWS SDK for C++  1.9.40
AWS SDK for C++
ListRegexPatternSetsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace WAFV2
16 {
17 namespace 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 "ListRegexPatternSets"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
47  inline const Scope& GetScope() const{ return m_scope; }
48 
58  inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
59 
69  inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; }
70 
80  inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
81 
91  inline ListRegexPatternSetsRequest& WithScope(const Scope& value) { SetScope(value); return *this;}
92 
102  inline ListRegexPatternSetsRequest& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;}
103 
104 
112  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
113 
121  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
122 
130  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
131 
139  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
140 
148  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
149 
157  inline ListRegexPatternSetsRequest& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
158 
166  inline ListRegexPatternSetsRequest& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
167 
175  inline ListRegexPatternSetsRequest& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
176 
177 
184  inline int GetLimit() const{ return m_limit; }
185 
192  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
193 
200  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
201 
208  inline ListRegexPatternSetsRequest& WithLimit(int value) { SetLimit(value); return *this;}
209 
210  private:
211 
212  Scope m_scope;
213  bool m_scopeHasBeenSet;
214 
215  Aws::String m_nextMarker;
216  bool m_nextMarkerHasBeenSet;
217 
218  int m_limit;
219  bool m_limitHasBeenSet;
220  };
221 
222 } // namespace Model
223 } // namespace WAFV2
224 } // namespace Aws
Aws::WAFV2::Model::ListRegexPatternSetsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
WAFV2Request.h
Aws::WAFV2::Model::ListRegexPatternSetsRequest::WithNextMarker
ListRegexPatternSetsRequest & WithNextMarker(const char *value)
Definition: ListRegexPatternSetsRequest.h:175
Scope.h
Aws::WAFV2::Model::ListRegexPatternSetsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListRegexPatternSetsRequest.h:192
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAFV2::Model::ListRegexPatternSetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListRegexPatternSetsRequest.h:31
Aws::WAFV2::Model::ListRegexPatternSetsRequest
Definition: ListRegexPatternSetsRequest.h:23
Aws::WAFV2::Model::ListRegexPatternSetsRequest::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListRegexPatternSetsRequest.h:148
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::ListRegexPatternSetsRequest::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: ListRegexPatternSetsRequest.h:121
Aws::WAFV2::Model::ListRegexPatternSetsRequest::SerializePayload
Aws::String SerializePayload() const override
WAFV2_EXPORTS.h
Aws::WAFV2::Model::ListRegexPatternSetsRequest::SetScope
void SetScope(const Scope &value)
Definition: ListRegexPatternSetsRequest.h:69
Aws::WAFV2::WAFV2Request
Definition: WAFV2Request.h:17
Aws::WAFV2::Model::ListRegexPatternSetsRequest::WithScope
ListRegexPatternSetsRequest & WithScope(const Scope &value)
Definition: ListRegexPatternSetsRequest.h:91
Aws::WAFV2::Model::ListRegexPatternSetsRequest::WithScope
ListRegexPatternSetsRequest & WithScope(Scope &&value)
Definition: ListRegexPatternSetsRequest.h:102
AWSString.h
Aws::WAFV2::Model::ListRegexPatternSetsRequest::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListRegexPatternSetsRequest.h:130
Aws::WAFV2::Model::ListRegexPatternSetsRequest::WithLimit
ListRegexPatternSetsRequest & WithLimit(int value)
Definition: ListRegexPatternSetsRequest.h:208
Aws::WAFV2::Model::ListRegexPatternSetsRequest::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListRegexPatternSetsRequest.h:139
Aws::WAFV2::Model::ListRegexPatternSetsRequest::SetLimit
void SetLimit(int value)
Definition: ListRegexPatternSetsRequest.h:200
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::ListRegexPatternSetsRequest::GetLimit
int GetLimit() const
Definition: ListRegexPatternSetsRequest.h:184
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::ListRegexPatternSetsRequest::SetScope
void SetScope(Scope &&value)
Definition: ListRegexPatternSetsRequest.h:80
Aws::WAFV2::Model::Scope
Scope
Definition: Scope.h:17
Aws::WAFV2::Model::ListRegexPatternSetsRequest::ScopeHasBeenSet
bool ScopeHasBeenSet() const
Definition: ListRegexPatternSetsRequest.h:58
Aws::WAFV2::Model::ListRegexPatternSetsRequest::GetScope
const Scope & GetScope() const
Definition: ListRegexPatternSetsRequest.h:47
Aws::WAFV2::Model::ListRegexPatternSetsRequest::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListRegexPatternSetsRequest.h:112
Aws::WAFV2::Model::ListRegexPatternSetsRequest::ListRegexPatternSetsRequest
ListRegexPatternSetsRequest()
Aws::WAFV2::Model::ListRegexPatternSetsRequest::WithNextMarker
ListRegexPatternSetsRequest & WithNextMarker(const Aws::String &value)
Definition: ListRegexPatternSetsRequest.h:157
Aws::WAFV2::Model::ListRegexPatternSetsRequest::WithNextMarker
ListRegexPatternSetsRequest & WithNextMarker(Aws::String &&value)
Definition: ListRegexPatternSetsRequest.h:166