AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRulesRequest.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/WAFRegionalRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace WAFRegional
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_WAFREGIONAL_API ListRulesRequest();
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 "ListRules"; }
31
32 AWS_WAFREGIONAL_API Aws::String SerializePayload() const override;
33
34 AWS_WAFREGIONAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
47 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
48 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
49 inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
50 inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
51 inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
52 inline ListRulesRequest& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
53 inline ListRulesRequest& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
54 inline ListRulesRequest& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
56
58
64 inline int GetLimit() const{ return m_limit; }
65 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
66 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
67 inline ListRulesRequest& WithLimit(int value) { SetLimit(value); return *this;}
69 private:
70
71 Aws::String m_nextMarker;
72 bool m_nextMarkerHasBeenSet = false;
73
74 int m_limit;
75 bool m_limitHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace WAFRegional
80} // namespace Aws
ListRulesRequest & WithNextMarker(Aws::String &&value)
ListRulesRequest & WithLimit(int value)
AWS_WAFREGIONAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetNextMarker() const
AWS_WAFREGIONAL_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListRulesRequest & WithNextMarker(const char *value)
ListRulesRequest & WithNextMarker(const Aws::String &value)
void SetNextMarker(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String