AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeScheduledActionsRequest.h
Go to the documentation of this file.
1
6#pragma once
14#include <utility>
15
16namespace Aws
17{
18namespace Redshift
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 "DescribeScheduledActions"; }
35
37
38 protected:
39 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
46 inline const Aws::String& GetScheduledActionName() const{ return m_scheduledActionName; }
47
51 inline bool ScheduledActionNameHasBeenSet() const { return m_scheduledActionNameHasBeenSet; }
52
56 inline void SetScheduledActionName(const Aws::String& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = value; }
57
61 inline void SetScheduledActionName(Aws::String&& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = std::move(value); }
62
66 inline void SetScheduledActionName(const char* value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName.assign(value); }
67
72
77
81 inline DescribeScheduledActionsRequest& WithScheduledActionName(const char* value) { SetScheduledActionName(value); return *this;}
82
83
87 inline const ScheduledActionTypeValues& GetTargetActionType() const{ return m_targetActionType; }
88
92 inline bool TargetActionTypeHasBeenSet() const { return m_targetActionTypeHasBeenSet; }
93
97 inline void SetTargetActionType(const ScheduledActionTypeValues& value) { m_targetActionTypeHasBeenSet = true; m_targetActionType = value; }
98
102 inline void SetTargetActionType(ScheduledActionTypeValues&& value) { m_targetActionTypeHasBeenSet = true; m_targetActionType = std::move(value); }
103
108
113
114
119 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
120
125 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
126
131 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
132
137 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
138
144
149 inline DescribeScheduledActionsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
150
151
156 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
157
162 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
163
168 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
169
174 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
175
180 inline DescribeScheduledActionsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
181
186 inline DescribeScheduledActionsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
187
188
193 inline bool GetActive() const{ return m_active; }
194
199 inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
200
205 inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
206
211 inline DescribeScheduledActionsRequest& WithActive(bool value) { SetActive(value); return *this;}
212
213
217 inline const Aws::Vector<ScheduledActionFilter>& GetFilters() const{ return m_filters; }
218
222 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
223
227 inline void SetFilters(const Aws::Vector<ScheduledActionFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
228
232 inline void SetFilters(Aws::Vector<ScheduledActionFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
233
238
243
247 inline DescribeScheduledActionsRequest& AddFilters(const ScheduledActionFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
248
252 inline DescribeScheduledActionsRequest& AddFilters(ScheduledActionFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
253
254
263 inline const Aws::String& GetMarker() const{ return m_marker; }
264
273 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
274
283 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
284
293 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
294
303 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
304
313 inline DescribeScheduledActionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
314
323 inline DescribeScheduledActionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
324
333 inline DescribeScheduledActionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
334
335
344 inline int GetMaxRecords() const{ return m_maxRecords; }
345
354 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
355
364 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
365
374 inline DescribeScheduledActionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
375
376 private:
377
378 Aws::String m_scheduledActionName;
379 bool m_scheduledActionNameHasBeenSet = false;
380
381 ScheduledActionTypeValues m_targetActionType;
382 bool m_targetActionTypeHasBeenSet = false;
383
384 Aws::Utils::DateTime m_startTime;
385 bool m_startTimeHasBeenSet = false;
386
387 Aws::Utils::DateTime m_endTime;
388 bool m_endTimeHasBeenSet = false;
389
390 bool m_active;
391 bool m_activeHasBeenSet = false;
392
394 bool m_filtersHasBeenSet = false;
395
396 Aws::String m_marker;
397 bool m_markerHasBeenSet = false;
398
399 int m_maxRecords;
400 bool m_maxRecordsHasBeenSet = false;
401 };
402
403} // namespace Model
404} // namespace Redshift
405} // namespace Aws
#define AWS_REDSHIFT_API
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetFilters(Aws::Vector< ScheduledActionFilter > &&value)
DescribeScheduledActionsRequest & WithEndTime(const Aws::Utils::DateTime &value)
const Aws::Vector< ScheduledActionFilter > & GetFilters() const
DescribeScheduledActionsRequest & WithActive(bool value)
DescribeScheduledActionsRequest & WithStartTime(Aws::Utils::DateTime &&value)
DescribeScheduledActionsRequest & WithTargetActionType(ScheduledActionTypeValues &&value)
DescribeScheduledActionsRequest & AddFilters(ScheduledActionFilter &&value)
DescribeScheduledActionsRequest & WithMarker(const char *value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeScheduledActionsRequest & AddFilters(const ScheduledActionFilter &value)
DescribeScheduledActionsRequest & WithEndTime(Aws::Utils::DateTime &&value)
DescribeScheduledActionsRequest & WithScheduledActionName(Aws::String &&value)
DescribeScheduledActionsRequest & WithTargetActionType(const ScheduledActionTypeValues &value)
DescribeScheduledActionsRequest & WithMarker(const Aws::String &value)
DescribeScheduledActionsRequest & WithStartTime(const Aws::Utils::DateTime &value)
DescribeScheduledActionsRequest & WithScheduledActionName(const char *value)
DescribeScheduledActionsRequest & WithMarker(Aws::String &&value)
void SetTargetActionType(const ScheduledActionTypeValues &value)
DescribeScheduledActionsRequest & WithScheduledActionName(const Aws::String &value)
DescribeScheduledActionsRequest & WithFilters(Aws::Vector< ScheduledActionFilter > &&value)
DescribeScheduledActionsRequest & WithFilters(const Aws::Vector< ScheduledActionFilter > &value)
DescribeScheduledActionsRequest & WithMaxRecords(int value)
void SetFilters(const Aws::Vector< ScheduledActionFilter > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector