AWS SDK for C++  1.9.104
AWS SDK for C++
ModifyScheduledActionResult.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 template<typename RESULT_TYPE>
19 class AmazonWebServiceResult;
20 
21 namespace Utils
22 {
23 namespace Xml
24 {
25  class XmlDocument;
26 } // namespace Xml
27 } // namespace Utils
28 namespace Redshift
29 {
30 namespace 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 
71  inline ModifyScheduledActionResult& WithScheduledActionName(const Aws::String& value) { SetScheduledActionName(value); return *this;}
72 
76  inline ModifyScheduledActionResult& WithScheduledActionName(Aws::String&& value) { SetScheduledActionName(std::move(value)); return *this;}
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 
114  inline ModifyScheduledActionResult& WithTargetAction(const ScheduledActionType& value) { SetTargetAction(value); return *this;}
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 
325  inline ModifyScheduledActionResult& WithScheduledActionDescription(const Aws::String& value) { SetScheduledActionDescription(value); return *this;}
326 
330  inline ModifyScheduledActionResult& WithScheduledActionDescription(Aws::String&& value) { SetScheduledActionDescription(std::move(value)); return *this;}
331 
335  inline ModifyScheduledActionResult& WithScheduledActionDescription(const char* value) { SetScheduledActionDescription(value); return *this;}
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 
382  inline ModifyScheduledActionResult& WithNextInvocations(const Aws::Vector<Aws::Utils::DateTime>& value) { SetNextInvocations(value); return *this;}
383 
387  inline ModifyScheduledActionResult& WithNextInvocations(Aws::Vector<Aws::Utils::DateTime>&& value) { SetNextInvocations(std::move(value)); return *this;}
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 
472  inline ModifyScheduledActionResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
473 
474 
475  inline ModifyScheduledActionResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
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
Aws::Redshift::Model::ModifyScheduledActionResult::WithStartTime
ModifyScheduledActionResult & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ModifyScheduledActionResult.h:428
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Redshift::Model::ModifyScheduledActionResult::SetScheduledActionDescription
void SetScheduledActionDescription(const char *value)
Definition: ModifyScheduledActionResult.h:320
Aws::Redshift::Model::ModifyScheduledActionResult::GetScheduledActionDescription
const Aws::String & GetScheduledActionDescription() const
Definition: ModifyScheduledActionResult.h:305
ScheduledActionState.h
Aws::Redshift::Model::ModifyScheduledActionResult::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ModifyScheduledActionResult.h:410
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::ModifyScheduledActionResult::SetState
void SetState(const ScheduledActionState &value)
Definition: ModifyScheduledActionResult.h:346
Aws::Redshift::Model::ModifyScheduledActionResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ModifyScheduledActionResult.h:463
Aws::Redshift::Model::ModifyScheduledActionResult::ModifyScheduledActionResult
ModifyScheduledActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::ModifyScheduledActionResult::operator=
ModifyScheduledActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::ModifyScheduledActionResult::WithEndTime
ModifyScheduledActionResult & WithEndTime(const Aws::Utils::DateTime &value)
Definition: ModifyScheduledActionResult.h:453
Aws::Redshift::Model::ModifyScheduledActionResult::GetTargetAction
const ScheduledActionType & GetTargetAction() const
Definition: ModifyScheduledActionResult.h:90
Aws::Redshift::Model::ModifyScheduledActionResult::SetState
void SetState(ScheduledActionState &&value)
Definition: ModifyScheduledActionResult.h:351
Aws::Redshift::Model::ModifyScheduledActionResult::SetScheduledActionName
void SetScheduledActionName(Aws::String &&value)
Definition: ModifyScheduledActionResult.h:61
Aws::Redshift::Model::ModifyScheduledActionResult::SetTargetAction
void SetTargetAction(ScheduledActionType &&value)
Definition: ModifyScheduledActionResult.h:106
Aws::Redshift::Model::ModifyScheduledActionResult::SetSchedule
void SetSchedule(Aws::String &&value)
Definition: ModifyScheduledActionResult.h:162
DateTime.h
Aws::Redshift::Model::ModifyScheduledActionResult::GetNextInvocations
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations() const
Definition: ModifyScheduledActionResult.h:367
Aws::Redshift::Model::ModifyScheduledActionResult::WithScheduledActionName
ModifyScheduledActionResult & WithScheduledActionName(Aws::String &&value)
Definition: ModifyScheduledActionResult.h:76
Aws::Redshift::Model::ModifyScheduledActionResult::SetSchedule
void SetSchedule(const Aws::String &value)
Definition: ModifyScheduledActionResult.h:149
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::ModifyScheduledActionResult::WithNextInvocations
ModifyScheduledActionResult & WithNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
Definition: ModifyScheduledActionResult.h:387
AWSVector.h
Aws::Redshift::Model::ModifyScheduledActionResult::WithScheduledActionDescription
ModifyScheduledActionResult & WithScheduledActionDescription(const Aws::String &value)
Definition: ModifyScheduledActionResult.h:325
Aws::Redshift::Model::ModifyScheduledActionResult::WithSchedule
ModifyScheduledActionResult & WithSchedule(const Aws::String &value)
Definition: ModifyScheduledActionResult.h:188
Aws::Redshift::Model::ModifyScheduledActionResult::WithIamRole
ModifyScheduledActionResult & WithIamRole(Aws::String &&value)
Definition: ModifyScheduledActionResult.h:287
Aws::Redshift::Model::ModifyScheduledActionResult::WithTargetAction
ModifyScheduledActionResult & WithTargetAction(ScheduledActionType &&value)
Definition: ModifyScheduledActionResult.h:122
Aws::Redshift::Model::ModifyScheduledActionResult::AddNextInvocations
ModifyScheduledActionResult & AddNextInvocations(Aws::Utils::DateTime &&value)
Definition: ModifyScheduledActionResult.h:397
Aws::Redshift::Model::ModifyScheduledActionResult::WithScheduledActionName
ModifyScheduledActionResult & WithScheduledActionName(const char *value)
Definition: ModifyScheduledActionResult.h:81
Aws::Redshift::Model::ModifyScheduledActionResult::SetTargetAction
void SetTargetAction(const ScheduledActionType &value)
Definition: ModifyScheduledActionResult.h:98
Aws::Redshift::Model::ModifyScheduledActionResult::SetSchedule
void SetSchedule(const char *value)
Definition: ModifyScheduledActionResult.h:175
Aws::Redshift::Model::ModifyScheduledActionResult::SetNextInvocations
void SetNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
Definition: ModifyScheduledActionResult.h:372
Aws::Redshift::Model::ModifyScheduledActionResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ModifyScheduledActionResult.h:466
Aws::Redshift::Model::ModifyScheduledActionResult::WithIamRole
ModifyScheduledActionResult & WithIamRole(const Aws::String &value)
Definition: ModifyScheduledActionResult.h:275
Aws::Redshift::Model::ModifyScheduledActionResult::WithScheduledActionName
ModifyScheduledActionResult & WithScheduledActionName(const Aws::String &value)
Definition: ModifyScheduledActionResult.h:71
Aws::Redshift::Model::ModifyScheduledActionResult::SetScheduledActionDescription
void SetScheduledActionDescription(Aws::String &&value)
Definition: ModifyScheduledActionResult.h:315
ScheduledActionType.h
Aws::Redshift::Model::ModifyScheduledActionResult::GetIamRole
const Aws::String & GetIamRole() const
Definition: ModifyScheduledActionResult.h:227
Aws::Redshift::Model::ModifyScheduledActionResult::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: ModifyScheduledActionResult.h:447
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::ModifyScheduledActionResult::WithState
ModifyScheduledActionResult & WithState(const ScheduledActionState &value)
Definition: ModifyScheduledActionResult.h:356
Aws::Redshift::Model::ModifyScheduledActionResult::SetScheduledActionName
void SetScheduledActionName(const Aws::String &value)
Definition: ModifyScheduledActionResult.h:56
Aws::Redshift::Model::ModifyScheduledActionResult::WithScheduledActionDescription
ModifyScheduledActionResult & WithScheduledActionDescription(const char *value)
Definition: ModifyScheduledActionResult.h:335
AWSString.h
Aws::Redshift::Model::ModifyScheduledActionResult::SetIamRole
void SetIamRole(Aws::String &&value)
Definition: ModifyScheduledActionResult.h:251
Aws::Redshift::Model::ModifyScheduledActionResult::WithSchedule
ModifyScheduledActionResult & WithSchedule(Aws::String &&value)
Definition: ModifyScheduledActionResult.h:201
Aws::Redshift::Model::ModifyScheduledActionResult::WithSchedule
ModifyScheduledActionResult & WithSchedule(const char *value)
Definition: ModifyScheduledActionResult.h:214
Aws::Redshift::Model::ModifyScheduledActionResult::GetScheduledActionName
const Aws::String & GetScheduledActionName() const
Definition: ModifyScheduledActionResult.h:51
Aws::Redshift::Model::ModifyScheduledActionResult::WithResponseMetadata
ModifyScheduledActionResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ModifyScheduledActionResult.h:475
Aws::Redshift::Model::ModifyScheduledActionResult::ModifyScheduledActionResult
ModifyScheduledActionResult()
Aws::Redshift::Model::ModifyScheduledActionResult
Definition: ModifyScheduledActionResult.h:41
Aws::Redshift::Model::ModifyScheduledActionResult::SetIamRole
void SetIamRole(const char *value)
Definition: ModifyScheduledActionResult.h:263
Aws::Redshift::Model::ModifyScheduledActionResult::GetSchedule
const Aws::String & GetSchedule() const
Definition: ModifyScheduledActionResult.h:136
Aws::Redshift::Model::ModifyScheduledActionResult::WithState
ModifyScheduledActionResult & WithState(ScheduledActionState &&value)
Definition: ModifyScheduledActionResult.h:361
Aws::Redshift::Model::ModifyScheduledActionResult::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ModifyScheduledActionResult.h:404
Aws::Redshift::Model::ModifyScheduledActionResult::WithNextInvocations
ModifyScheduledActionResult & WithNextInvocations(const Aws::Vector< Aws::Utils::DateTime > &value)
Definition: ModifyScheduledActionResult.h:382
Aws::Redshift::Model::ModifyScheduledActionResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ModifyScheduledActionResult.h:469
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::ModifyScheduledActionResult::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ModifyScheduledActionResult.h:416
Aws::Redshift::Model::ModifyScheduledActionResult::SetScheduledActionName
void SetScheduledActionName(const char *value)
Definition: ModifyScheduledActionResult.h:66
Redshift_EXPORTS.h
Aws::Redshift::Model::ModifyScheduledActionResult::WithEndTime
ModifyScheduledActionResult & WithEndTime(Aws::Utils::DateTime &&value)
Definition: ModifyScheduledActionResult.h:459
Aws::Redshift::Model::ScheduledActionState
ScheduledActionState
Definition: ScheduledActionState.h:17
Aws::Redshift::Model::ModifyScheduledActionResult::AddNextInvocations
ModifyScheduledActionResult & AddNextInvocations(const Aws::Utils::DateTime &value)
Definition: ModifyScheduledActionResult.h:392
Aws::Redshift::Model::ModifyScheduledActionResult::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: ModifyScheduledActionResult.h:435
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::ModifyScheduledActionResult::WithTargetAction
ModifyScheduledActionResult & WithTargetAction(const ScheduledActionType &value)
Definition: ModifyScheduledActionResult.h:114
Aws::Redshift::Model::ModifyScheduledActionResult::WithScheduledActionDescription
ModifyScheduledActionResult & WithScheduledActionDescription(Aws::String &&value)
Definition: ModifyScheduledActionResult.h:330
ResponseMetadata.h
Aws::Redshift::Model::ModifyScheduledActionResult::WithIamRole
ModifyScheduledActionResult & WithIamRole(const char *value)
Definition: ModifyScheduledActionResult.h:299
Aws::Redshift::Model::ScheduledActionType
Definition: ScheduledActionType.h:35
Aws::Redshift::Model::ModifyScheduledActionResult::SetScheduledActionDescription
void SetScheduledActionDescription(const Aws::String &value)
Definition: ModifyScheduledActionResult.h:310
Aws::Redshift::Model::ModifyScheduledActionResult::GetState
const ScheduledActionState & GetState() const
Definition: ModifyScheduledActionResult.h:341
Aws::Redshift::Model::ModifyScheduledActionResult::SetIamRole
void SetIamRole(const Aws::String &value)
Definition: ModifyScheduledActionResult.h:239
Aws::Redshift::Model::ModifyScheduledActionResult::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: ModifyScheduledActionResult.h:441
Aws::Redshift::Model::ModifyScheduledActionResult::SetNextInvocations
void SetNextInvocations(Aws::Vector< Aws::Utils::DateTime > &&value)
Definition: ModifyScheduledActionResult.h:377
Aws::Redshift::Model::ModifyScheduledActionResult::WithStartTime
ModifyScheduledActionResult & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ModifyScheduledActionResult.h:422
Aws::Redshift::Model::ModifyScheduledActionResult::WithResponseMetadata
ModifyScheduledActionResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ModifyScheduledActionResult.h:472