AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ListRulesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/waf/WAFRequest.h>
9#include <aws/waf/WAF_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace WAF {
15namespace Model {
16
20 public:
21 AWS_WAF_API ListRulesRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListRules"; }
28
29 AWS_WAF_API Aws::String SerializePayload() const override;
30
32
34
43 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
44 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
45 template <typename NextMarkerT = Aws::String>
46 void SetNextMarker(NextMarkerT&& value) {
47 m_nextMarkerHasBeenSet = true;
48 m_nextMarker = std::forward<NextMarkerT>(value);
49 }
50 template <typename NextMarkerT = Aws::String>
51 ListRulesRequest& WithNextMarker(NextMarkerT&& value) {
52 SetNextMarker(std::forward<NextMarkerT>(value));
53 return *this;
54 }
56
58
64 inline int GetLimit() const { return m_limit; }
65 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
66 inline void SetLimit(int value) {
67 m_limitHasBeenSet = true;
68 m_limit = value;
69 }
70 inline ListRulesRequest& WithLimit(int value) {
71 SetLimit(value);
72 return *this;
73 }
75 private:
76 Aws::String m_nextMarker;
77
78 int m_limit{0};
79 bool m_nextMarkerHasBeenSet = false;
80 bool m_limitHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace WAF
85} // namespace Aws
const Aws::String & GetNextMarker() const
AWS_WAF_API Aws::String SerializePayload() const override
AWS_WAF_API ListRulesRequest()=default
void SetNextMarker(NextMarkerT &&value)
virtual const char * GetServiceRequestName() const override
ListRulesRequest & WithNextMarker(NextMarkerT &&value)
AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRulesRequest & WithLimit(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String