AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ListPoliciesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fms/FMSRequest.h>
9#include <aws/fms/FMS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace FMS {
15namespace Model {
16
20 public:
21 AWS_FMS_API ListPoliciesRequest() = 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 "ListPolicies"; }
28
29 AWS_FMS_API Aws::String SerializePayload() const override;
30
32
34
44 inline const Aws::String& GetNextToken() const { return m_nextToken; }
45 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
46 template <typename NextTokenT = Aws::String>
47 void SetNextToken(NextTokenT&& value) {
48 m_nextTokenHasBeenSet = true;
49 m_nextToken = std::forward<NextTokenT>(value);
50 }
51 template <typename NextTokenT = Aws::String>
52 ListPoliciesRequest& WithNextToken(NextTokenT&& value) {
53 SetNextToken(std::forward<NextTokenT>(value));
54 return *this;
55 }
57
59
66 inline int GetMaxResults() const { return m_maxResults; }
67 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
68 inline void SetMaxResults(int value) {
69 m_maxResultsHasBeenSet = true;
70 m_maxResults = value;
71 }
73 SetMaxResults(value);
74 return *this;
75 }
77 private:
78 Aws::String m_nextToken;
79
80 int m_maxResults{0};
81 bool m_nextTokenHasBeenSet = false;
82 bool m_maxResultsHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace FMS
87} // namespace Aws
AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_FMS_API Aws::String SerializePayload() const override
ListPoliciesRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
ListPoliciesRequest & WithMaxResults(int value)
AWS_FMS_API ListPoliciesRequest()=default
const Aws::String & GetNextToken() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String