AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ModifyScheduledActionResult.h
Go to the documentation of this file.
1
6#pragma once
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Xml
24{
25 class XmlDocument;
26} // namespace Xml
27} // namespace Utils
28namespace Redshift
29{
30namespace Model
31{
41 {
42 public:
46
47
51 inline const Aws::String& GetScheduledActionName() const{ return m_scheduledActionName; }
52
56 inline void SetScheduledActionName(const Aws::String& value) { m_scheduledActionName = value; }
57
61 inline void SetScheduledActionName(Aws::String&& value) { m_scheduledActionName = std::move(value); }
62
66 inline void SetScheduledActionName(const char* value) { m_scheduledActionName.assign(value); }
67
72
77
81 inline ModifyScheduledActionResult& WithScheduledActionName(const char* value) { SetScheduledActionName(value); return *this;}
82
83
90 inline const ScheduledActionType& GetTargetAction() const{ return m_targetAction; }
91
98 inline void SetTargetAction(const ScheduledActionType& value) { m_targetAction = value; }
99
106 inline void SetTargetAction(ScheduledActionType&& value) { m_targetAction = std::move(value); }
107
115
122 inline ModifyScheduledActionResult& WithTargetAction(ScheduledActionType&& value) { SetTargetAction(std::move(value)); return *this;}
123
124
136 inline const Aws::String& GetSchedule() const{ return m_schedule; }
137
149 inline void SetSchedule(const Aws::String& value) { m_schedule = value; }
150
162 inline void SetSchedule(Aws::String&& value) { m_schedule = std::move(value); }
163
175 inline void SetSchedule(const char* value) { m_schedule.assign(value); }
176
188 inline ModifyScheduledActionResult& WithSchedule(const Aws::String& value) { SetSchedule(value); return *this;}
189
201 inline ModifyScheduledActionResult& WithSchedule(Aws::String&& value) { SetSchedule(std::move(value)); return *this;}
202
214 inline ModifyScheduledActionResult& WithSchedule(const char* value) { SetSchedule(value); return *this;}
215
216
227 inline const Aws::String& GetIamRole() const{ return m_iamRole; }
228
239 inline void SetIamRole(const Aws::String& value) { m_iamRole = value; }
240
251 inline void SetIamRole(Aws::String&& value) { m_iamRole = std::move(value); }
252
263 inline void SetIamRole(const char* value) { m_iamRole.assign(value); }
264
275 inline ModifyScheduledActionResult& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
276
287 inline ModifyScheduledActionResult& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
288
299 inline ModifyScheduledActionResult& WithIamRole(const char* value) { SetIamRole(value); return *this;}
300
301
305 inline const Aws::String& GetScheduledActionDescription() const{ return m_scheduledActionDescription; }
306
310 inline void SetScheduledActionDescription(const Aws::String& value) { m_scheduledActionDescription = value; }
311
315 inline void SetScheduledActionDescription(Aws::String&& value) { m_scheduledActionDescription = std::move(value); }
316
320 inline void SetScheduledActionDescription(const char* value) { m_scheduledActionDescription.assign(value); }
321
326
331
336
337
341 inline const ScheduledActionState& GetState() const{ return m_state; }
342
346 inline void SetState(const ScheduledActionState& value) { m_state = value; }
347
351 inline void SetState(ScheduledActionState&& value) { m_state = std::move(value); }
352
356 inline ModifyScheduledActionResult& WithState(const ScheduledActionState& value) { SetState(value); return *this;}
357
361 inline ModifyScheduledActionResult& WithState(ScheduledActionState&& value) { SetState(std::move(value)); return *this;}
362
363
367 inline const Aws::Vector<Aws::Utils::DateTime>& GetNextInvocations() const{ return m_nextInvocations; }
368
372 inline void SetNextInvocations(const Aws::Vector<Aws::Utils::DateTime>& value) { m_nextInvocations = value; }
373
377 inline void SetNextInvocations(Aws::Vector<Aws::Utils::DateTime>&& value) { m_nextInvocations = std::move(value); }
378
383
388
392 inline ModifyScheduledActionResult& AddNextInvocations(const Aws::Utils::DateTime& value) { m_nextInvocations.push_back(value); return *this; }
393
397 inline ModifyScheduledActionResult& AddNextInvocations(Aws::Utils::DateTime&& value) { m_nextInvocations.push_back(std::move(value)); return *this; }
398
399
404 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
405
410 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
411
416 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
417
422 inline ModifyScheduledActionResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
423
428 inline ModifyScheduledActionResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
429
430
435 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
436
441 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
442
447 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
448
453 inline ModifyScheduledActionResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
454
459 inline ModifyScheduledActionResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
460
461
462
463 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
464
465
466 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
467
468
469 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
470
471
473
474
476
477 private:
478
479 Aws::String m_scheduledActionName;
480
481 ScheduledActionType m_targetAction;
482
483 Aws::String m_schedule;
484
485 Aws::String m_iamRole;
486
487 Aws::String m_scheduledActionDescription;
488
489 ScheduledActionState m_state;
490
491 Aws::Vector<Aws::Utils::DateTime> m_nextInvocations;
492
493 Aws::Utils::DateTime m_startTime;
494
495 Aws::Utils::DateTime m_endTime;
496
497 ResponseMetadata m_responseMetadata;
498 };
499
500} // namespace Model
501} // namespace Redshift
502} // namespace Aws
#define AWS_REDSHIFT_API
void SetStartTime(const Aws::Utils::DateTime &value)
ModifyScheduledActionResult & WithIamRole(const char *value)
ModifyScheduledActionResult & WithScheduledActionName(const Aws::String &value)
ModifyScheduledActionResult & WithNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
ModifyScheduledActionResult & WithIamRole(const Aws::String &value)
ModifyScheduledActionResult & WithScheduledActionDescription(Aws::String &&value)
void SetTargetAction(const ScheduledActionType &value)
ModifyScheduledActionResult & WithState(ScheduledActionState &&value)
ModifyScheduledActionResult & WithState(const ScheduledActionState &value)
ModifyScheduledActionResult & AddNextInvocations(Aws::Utils::DateTime &&value)
AWS_REDSHIFT_API ModifyScheduledActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyScheduledActionResult & WithSchedule(Aws::String &&value)
ModifyScheduledActionResult & WithIamRole(Aws::String &&value)
ModifyScheduledActionResult & WithEndTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations() const
ModifyScheduledActionResult & WithScheduledActionDescription(const char *value)
ModifyScheduledActionResult & WithScheduledActionName(const char *value)
ModifyScheduledActionResult & WithTargetAction(const ScheduledActionType &value)
ModifyScheduledActionResult & WithResponseMetadata(ResponseMetadata &&value)
ModifyScheduledActionResult & WithTargetAction(ScheduledActionType &&value)
ModifyScheduledActionResult & WithEndTime(Aws::Utils::DateTime &&value)
ModifyScheduledActionResult & WithNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
ModifyScheduledActionResult & WithResponseMetadata(const ResponseMetadata &value)
ModifyScheduledActionResult & WithScheduledActionName(Aws::String &&value)
ModifyScheduledActionResult & WithSchedule(const char *value)
void SetNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
ModifyScheduledActionResult & WithStartTime(Aws::Utils::DateTime &&value)
AWS_REDSHIFT_API ModifyScheduledActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyScheduledActionResult & AddNextInvocations(const Aws::Utils::DateTime &value)
void SetNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
ModifyScheduledActionResult & WithStartTime(const Aws::Utils::DateTime &value)
ModifyScheduledActionResult & WithSchedule(const Aws::String &value)
ModifyScheduledActionResult & WithScheduledActionDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector