AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListSchedulesRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Scheduler
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListSchedules"; }
36
38
40
41
46 inline const Aws::String& GetGroupName() const{ return m_groupName; }
47
52 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
53
58 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
59
64 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
65
70 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
71
76 inline ListSchedulesRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
77
82 inline ListSchedulesRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
83
88 inline ListSchedulesRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
89
90
96 inline int GetMaxResults() const{ return m_maxResults; }
97
103 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
104
110 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
111
117 inline ListSchedulesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
118
119
123 inline const Aws::String& GetNamePrefix() const{ return m_namePrefix; }
124
128 inline bool NamePrefixHasBeenSet() const { return m_namePrefixHasBeenSet; }
129
133 inline void SetNamePrefix(const Aws::String& value) { m_namePrefixHasBeenSet = true; m_namePrefix = value; }
134
138 inline void SetNamePrefix(Aws::String&& value) { m_namePrefixHasBeenSet = true; m_namePrefix = std::move(value); }
139
143 inline void SetNamePrefix(const char* value) { m_namePrefixHasBeenSet = true; m_namePrefix.assign(value); }
144
148 inline ListSchedulesRequest& WithNamePrefix(const Aws::String& value) { SetNamePrefix(value); return *this;}
149
153 inline ListSchedulesRequest& WithNamePrefix(Aws::String&& value) { SetNamePrefix(std::move(value)); return *this;}
154
158 inline ListSchedulesRequest& WithNamePrefix(const char* value) { SetNamePrefix(value); return *this;}
159
160
165 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
166
171 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
172
177 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
178
183 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
184
189 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
190
195 inline ListSchedulesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
196
201 inline ListSchedulesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
202
207 inline ListSchedulesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
208
209
214 inline const ScheduleState& GetState() const{ return m_state; }
215
220 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
221
226 inline void SetState(const ScheduleState& value) { m_stateHasBeenSet = true; m_state = value; }
227
232 inline void SetState(ScheduleState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
233
238 inline ListSchedulesRequest& WithState(const ScheduleState& value) { SetState(value); return *this;}
239
244 inline ListSchedulesRequest& WithState(ScheduleState&& value) { SetState(std::move(value)); return *this;}
245
246 private:
247
248 Aws::String m_groupName;
249 bool m_groupNameHasBeenSet = false;
250
251 int m_maxResults;
252 bool m_maxResultsHasBeenSet = false;
253
254 Aws::String m_namePrefix;
255 bool m_namePrefixHasBeenSet = false;
256
257 Aws::String m_nextToken;
258 bool m_nextTokenHasBeenSet = false;
259
260 ScheduleState m_state;
261 bool m_stateHasBeenSet = false;
262 };
263
264} // namespace Model
265} // namespace Scheduler
266} // namespace Aws
#define AWS_SCHEDULER_API
ListSchedulesRequest & WithNamePrefix(const char *value)
ListSchedulesRequest & WithMaxResults(int value)
ListSchedulesRequest & WithNamePrefix(Aws::String &&value)
void SetGroupName(const Aws::String &value)
ListSchedulesRequest & WithNextToken(Aws::String &&value)
ListSchedulesRequest & WithGroupName(const Aws::String &value)
ListSchedulesRequest & WithNextToken(const char *value)
void SetState(const ScheduleState &value)
ListSchedulesRequest & WithState(ScheduleState &&value)
AWS_SCHEDULER_API Aws::String SerializePayload() const override
AWS_SCHEDULER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSchedulesRequest & WithNamePrefix(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListSchedulesRequest & WithGroupName(const char *value)
ListSchedulesRequest & WithGroupName(Aws::String &&value)
ListSchedulesRequest & WithNextToken(const Aws::String &value)
void SetNamePrefix(const Aws::String &value)
ListSchedulesRequest & WithState(const ScheduleState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String