AWS SDK for C++  1.9.72
AWS SDK for C++
ListSubscribedRuleGroupsRequest.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 "ListSubscribedRuleGroups"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
46  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
47 
57  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
58 
68  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
69 
79  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
80 
90  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
91 
101  inline ListSubscribedRuleGroupsRequest& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
102 
112  inline ListSubscribedRuleGroupsRequest& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
113 
123  inline ListSubscribedRuleGroupsRequest& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
124 
125 
132  inline int GetLimit() const{ return m_limit; }
133 
140  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
141 
148  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
149 
156  inline ListSubscribedRuleGroupsRequest& WithLimit(int value) { SetLimit(value); return *this;}
157 
158  private:
159 
160  Aws::String m_nextMarker;
161  bool m_nextMarkerHasBeenSet;
162 
163  int m_limit;
164  bool m_limitHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace WAF
169 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::SetLimit
void SetLimit(int value)
Definition: ListSubscribedRuleGroupsRequest.h:148
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListSubscribedRuleGroupsRequest.h:140
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListSubscribedRuleGroupsRequest.h:46
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WAF_API
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:28
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::GetLimit
int GetLimit() const
Definition: ListSubscribedRuleGroupsRequest.h:132
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::ListSubscribedRuleGroupsRequest
ListSubscribedRuleGroupsRequest()
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListSubscribedRuleGroupsRequest.h:30
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::WithNextMarker
ListSubscribedRuleGroupsRequest & WithNextMarker(Aws::String &&value)
Definition: ListSubscribedRuleGroupsRequest.h:112
AWSString.h
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: ListSubscribedRuleGroupsRequest.h:57
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::WithLimit
ListSubscribedRuleGroupsRequest & WithLimit(int value)
Definition: ListSubscribedRuleGroupsRequest.h:156
WAF_EXPORTS.h
WAFRequest.h
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListSubscribedRuleGroupsRequest.h:79
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::WithNextMarker
ListSubscribedRuleGroupsRequest & WithNextMarker(const char *value)
Definition: ListSubscribedRuleGroupsRequest.h:123
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::WithNextMarker
ListSubscribedRuleGroupsRequest & WithNextMarker(const Aws::String &value)
Definition: ListSubscribedRuleGroupsRequest.h:101
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListSubscribedRuleGroupsRequest.h:90
Aws::WAF::Model::ListSubscribedRuleGroupsRequest
Definition: ListSubscribedRuleGroupsRequest.h:22
Aws::WAF::Model::ListSubscribedRuleGroupsRequest::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListSubscribedRuleGroupsRequest.h:68
Aws::WAF::WAFRequest
Definition: WAFRequest.h:17