AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListScheduleGroupsRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Scheduler
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListScheduleGroups"; }
35
37
39
40
46 inline int GetMaxResults() const{ return m_maxResults; }
47
53 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
54
60 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
61
67 inline ListScheduleGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
68
69
74 inline const Aws::String& GetNamePrefix() const{ return m_namePrefix; }
75
80 inline bool NamePrefixHasBeenSet() const { return m_namePrefixHasBeenSet; }
81
86 inline void SetNamePrefix(const Aws::String& value) { m_namePrefixHasBeenSet = true; m_namePrefix = value; }
87
92 inline void SetNamePrefix(Aws::String&& value) { m_namePrefixHasBeenSet = true; m_namePrefix = std::move(value); }
93
98 inline void SetNamePrefix(const char* value) { m_namePrefixHasBeenSet = true; m_namePrefix.assign(value); }
99
104 inline ListScheduleGroupsRequest& WithNamePrefix(const Aws::String& value) { SetNamePrefix(value); return *this;}
105
110 inline ListScheduleGroupsRequest& WithNamePrefix(Aws::String&& value) { SetNamePrefix(std::move(value)); return *this;}
111
116 inline ListScheduleGroupsRequest& WithNamePrefix(const char* value) { SetNamePrefix(value); return *this;}
117
118
123 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
124
129 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
130
135 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
136
141 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
142
147 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
148
153 inline ListScheduleGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
154
159 inline ListScheduleGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
160
165 inline ListScheduleGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
166
167 private:
168
169 int m_maxResults;
170 bool m_maxResultsHasBeenSet = false;
171
172 Aws::String m_namePrefix;
173 bool m_namePrefixHasBeenSet = false;
174
175 Aws::String m_nextToken;
176 bool m_nextTokenHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace Scheduler
181} // namespace Aws
#define AWS_SCHEDULER_API
ListScheduleGroupsRequest & WithNamePrefix(Aws::String &&value)
ListScheduleGroupsRequest & WithNamePrefix(const char *value)
ListScheduleGroupsRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_SCHEDULER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListScheduleGroupsRequest & WithMaxResults(int value)
ListScheduleGroupsRequest & WithNextToken(Aws::String &&value)
AWS_SCHEDULER_API Aws::String SerializePayload() const override
ListScheduleGroupsRequest & WithNextToken(const Aws::String &value)
ListScheduleGroupsRequest & WithNamePrefix(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String