AWS SDK for C++  1.9.132
AWS SDK for C++
Public Member Functions | List of all members
Aws::Redshift::Model::ScheduledAction Class Reference

#include <ScheduledAction.h>

Public Member Functions

 ScheduledAction ()
 
 ScheduledAction (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ScheduledActionoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const Aws::StringGetScheduledActionName () const
 
bool ScheduledActionNameHasBeenSet () const
 
void SetScheduledActionName (const Aws::String &value)
 
void SetScheduledActionName (Aws::String &&value)
 
void SetScheduledActionName (const char *value)
 
ScheduledActionWithScheduledActionName (const Aws::String &value)
 
ScheduledActionWithScheduledActionName (Aws::String &&value)
 
ScheduledActionWithScheduledActionName (const char *value)
 
const ScheduledActionTypeGetTargetAction () const
 
bool TargetActionHasBeenSet () const
 
void SetTargetAction (const ScheduledActionType &value)
 
void SetTargetAction (ScheduledActionType &&value)
 
ScheduledActionWithTargetAction (const ScheduledActionType &value)
 
ScheduledActionWithTargetAction (ScheduledActionType &&value)
 
const Aws::StringGetSchedule () const
 
bool ScheduleHasBeenSet () const
 
void SetSchedule (const Aws::String &value)
 
void SetSchedule (Aws::String &&value)
 
void SetSchedule (const char *value)
 
ScheduledActionWithSchedule (const Aws::String &value)
 
ScheduledActionWithSchedule (Aws::String &&value)
 
ScheduledActionWithSchedule (const char *value)
 
const Aws::StringGetIamRole () const
 
bool IamRoleHasBeenSet () const
 
void SetIamRole (const Aws::String &value)
 
void SetIamRole (Aws::String &&value)
 
void SetIamRole (const char *value)
 
ScheduledActionWithIamRole (const Aws::String &value)
 
ScheduledActionWithIamRole (Aws::String &&value)
 
ScheduledActionWithIamRole (const char *value)
 
const Aws::StringGetScheduledActionDescription () const
 
bool ScheduledActionDescriptionHasBeenSet () const
 
void SetScheduledActionDescription (const Aws::String &value)
 
void SetScheduledActionDescription (Aws::String &&value)
 
void SetScheduledActionDescription (const char *value)
 
ScheduledActionWithScheduledActionDescription (const Aws::String &value)
 
ScheduledActionWithScheduledActionDescription (Aws::String &&value)
 
ScheduledActionWithScheduledActionDescription (const char *value)
 
const ScheduledActionStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const ScheduledActionState &value)
 
void SetState (ScheduledActionState &&value)
 
ScheduledActionWithState (const ScheduledActionState &value)
 
ScheduledActionWithState (ScheduledActionState &&value)
 
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations () const
 
bool NextInvocationsHasBeenSet () const
 
void SetNextInvocations (const Aws::Vector< Aws::Utils::DateTime > &value)
 
void SetNextInvocations (Aws::Vector< Aws::Utils::DateTime > &&value)
 
ScheduledActionWithNextInvocations (const Aws::Vector< Aws::Utils::DateTime > &value)
 
ScheduledActionWithNextInvocations (Aws::Vector< Aws::Utils::DateTime > &&value)
 
ScheduledActionAddNextInvocations (const Aws::Utils::DateTime &value)
 
ScheduledActionAddNextInvocations (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetStartTime () const
 
bool StartTimeHasBeenSet () const
 
void SetStartTime (const Aws::Utils::DateTime &value)
 
void SetStartTime (Aws::Utils::DateTime &&value)
 
ScheduledActionWithStartTime (const Aws::Utils::DateTime &value)
 
ScheduledActionWithStartTime (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetEndTime () const
 
bool EndTimeHasBeenSet () const
 
void SetEndTime (const Aws::Utils::DateTime &value)
 
void SetEndTime (Aws::Utils::DateTime &&value)
 
ScheduledActionWithEndTime (const Aws::Utils::DateTime &value)
 
ScheduledActionWithEndTime (Aws::Utils::DateTime &&value)
 
const ResponseMetadataGetResponseMetadata () const
 
bool ResponseMetadataHasBeenSet () const
 
void SetResponseMetadata (const ResponseMetadata &value)
 
void SetResponseMetadata (ResponseMetadata &&value)
 
ScheduledActionWithResponseMetadata (const ResponseMetadata &value)
 
ScheduledActionWithResponseMetadata (ResponseMetadata &&value)
 

Detailed Description

Describes a scheduled action. You can use a scheduled action to trigger some Amazon Redshift API operations on a schedule. For information about which API operations can be scheduled, see ScheduledActionType.

See Also:

AWS API Reference

Definition at line 39 of file ScheduledAction.h.

Constructor & Destructor Documentation

◆ ScheduledAction() [1/2]

Aws::Redshift::Model::ScheduledAction::ScheduledAction ( )

◆ ScheduledAction() [2/2]

Aws::Redshift::Model::ScheduledAction::ScheduledAction ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddNextInvocations() [1/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::AddNextInvocations ( Aws::Utils::DateTime &&  value)
inline

List of times when the scheduled action will run.

Definition at line 452 of file ScheduledAction.h.

◆ AddNextInvocations() [2/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::AddNextInvocations ( const Aws::Utils::DateTime value)
inline

List of times when the scheduled action will run.

Definition at line 447 of file ScheduledAction.h.

◆ EndTimeHasBeenSet()

bool Aws::Redshift::Model::ScheduledAction::EndTimeHasBeenSet ( ) const
inline

The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.

Definition at line 502 of file ScheduledAction.h.

◆ GetEndTime()

const Aws::Utils::DateTime& Aws::Redshift::Model::ScheduledAction::GetEndTime ( ) const
inline

The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.

Definition at line 496 of file ScheduledAction.h.

◆ GetIamRole()

const Aws::String& Aws::Redshift::Model::ScheduledAction::GetIamRole ( ) const
inline

The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.

Definition at line 255 of file ScheduledAction.h.

◆ GetNextInvocations()

const Aws::Vector<Aws::Utils::DateTime>& Aws::Redshift::Model::ScheduledAction::GetNextInvocations ( ) const
inline

List of times when the scheduled action will run.

Definition at line 417 of file ScheduledAction.h.

◆ GetResponseMetadata()

const ResponseMetadata& Aws::Redshift::Model::ScheduledAction::GetResponseMetadata ( ) const
inline

Definition at line 530 of file ScheduledAction.h.

◆ GetSchedule()

const Aws::String& Aws::Redshift::Model::ScheduledAction::GetSchedule ( ) const
inline

The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

Format of at expressions is "<code>at(yyyy-mm-ddThh:mm:ss)</code>". For example, "<code>at(2016-03-04T17:27:00)</code>".

Format of cron expressions is "<code>cron(Minutes Hours Day-of-month Month Day-of-week Year)</code>". For example, "<code>cron(0 10 ? * MON *)</code>". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

Definition at line 151 of file ScheduledAction.h.

◆ GetScheduledActionDescription()

const Aws::String& Aws::Redshift::Model::ScheduledAction::GetScheduledActionDescription ( ) const
inline

The description of the scheduled action.

Definition at line 345 of file ScheduledAction.h.

◆ GetScheduledActionName()

const Aws::String& Aws::Redshift::Model::ScheduledAction::GetScheduledActionName ( ) const
inline

The name of the scheduled action.

Definition at line 53 of file ScheduledAction.h.

◆ GetStartTime()

const Aws::Utils::DateTime& Aws::Redshift::Model::ScheduledAction::GetStartTime ( ) const
inline

The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.

Definition at line 459 of file ScheduledAction.h.

◆ GetState()

const ScheduledActionState& Aws::Redshift::Model::ScheduledAction::GetState ( ) const
inline

The state of the scheduled action. For example, DISABLED.

Definition at line 386 of file ScheduledAction.h.

◆ GetTargetAction()

const ScheduledActionType& Aws::Redshift::Model::ScheduledAction::GetTargetAction ( ) const
inline

A JSON format string of the Amazon Redshift API operation with input parameters.

"<code>{\"ResizeCluster":{"NodeType":"ds2.8xlarge","ClusterIdentifier":"my-test-cluster","NumberOfNodes":3}}".

Definition at line 97 of file ScheduledAction.h.

◆ IamRoleHasBeenSet()

bool Aws::Redshift::Model::ScheduledAction::IamRoleHasBeenSet ( ) const
inline

The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.

Definition at line 267 of file ScheduledAction.h.

◆ NextInvocationsHasBeenSet()

bool Aws::Redshift::Model::ScheduledAction::NextInvocationsHasBeenSet ( ) const
inline

List of times when the scheduled action will run.

Definition at line 422 of file ScheduledAction.h.

◆ operator=()

ScheduledAction& Aws::Redshift::Model::ScheduledAction::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::Redshift::Model::ScheduledAction::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::Redshift::Model::ScheduledAction::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ ResponseMetadataHasBeenSet()

bool Aws::Redshift::Model::ScheduledAction::ResponseMetadataHasBeenSet ( ) const
inline

Definition at line 533 of file ScheduledAction.h.

◆ ScheduledActionDescriptionHasBeenSet()

bool Aws::Redshift::Model::ScheduledAction::ScheduledActionDescriptionHasBeenSet ( ) const
inline

The description of the scheduled action.

Definition at line 350 of file ScheduledAction.h.

◆ ScheduledActionNameHasBeenSet()

bool Aws::Redshift::Model::ScheduledAction::ScheduledActionNameHasBeenSet ( ) const
inline

The name of the scheduled action.

Definition at line 58 of file ScheduledAction.h.

◆ ScheduleHasBeenSet()

bool Aws::Redshift::Model::ScheduledAction::ScheduleHasBeenSet ( ) const
inline

The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

Format of at expressions is "<code>at(yyyy-mm-ddThh:mm:ss)</code>". For example, "<code>at(2016-03-04T17:27:00)</code>".

Format of cron expressions is "<code>cron(Minutes Hours Day-of-month Month Day-of-week Year)</code>". For example, "<code>cron(0 10 ? * MON *)</code>". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

Definition at line 164 of file ScheduledAction.h.

◆ SetEndTime() [1/2]

void Aws::Redshift::Model::ScheduledAction::SetEndTime ( Aws::Utils::DateTime &&  value)
inline

The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.

Definition at line 514 of file ScheduledAction.h.

◆ SetEndTime() [2/2]

void Aws::Redshift::Model::ScheduledAction::SetEndTime ( const Aws::Utils::DateTime value)
inline

The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.

Definition at line 508 of file ScheduledAction.h.

◆ SetIamRole() [1/3]

void Aws::Redshift::Model::ScheduledAction::SetIamRole ( Aws::String &&  value)
inline

The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.

Definition at line 291 of file ScheduledAction.h.

◆ SetIamRole() [2/3]

void Aws::Redshift::Model::ScheduledAction::SetIamRole ( const Aws::String value)
inline

The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.

Definition at line 279 of file ScheduledAction.h.

◆ SetIamRole() [3/3]

void Aws::Redshift::Model::ScheduledAction::SetIamRole ( const char *  value)
inline

The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.

Definition at line 303 of file ScheduledAction.h.

◆ SetNextInvocations() [1/2]

void Aws::Redshift::Model::ScheduledAction::SetNextInvocations ( Aws::Vector< Aws::Utils::DateTime > &&  value)
inline

List of times when the scheduled action will run.

Definition at line 432 of file ScheduledAction.h.

◆ SetNextInvocations() [2/2]

void Aws::Redshift::Model::ScheduledAction::SetNextInvocations ( const Aws::Vector< Aws::Utils::DateTime > &  value)
inline

List of times when the scheduled action will run.

Definition at line 427 of file ScheduledAction.h.

◆ SetResponseMetadata() [1/2]

void Aws::Redshift::Model::ScheduledAction::SetResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 536 of file ScheduledAction.h.

◆ SetResponseMetadata() [2/2]

void Aws::Redshift::Model::ScheduledAction::SetResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 539 of file ScheduledAction.h.

◆ SetSchedule() [1/3]

void Aws::Redshift::Model::ScheduledAction::SetSchedule ( Aws::String &&  value)
inline

The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

Format of at expressions is "<code>at(yyyy-mm-ddThh:mm:ss)</code>". For example, "<code>at(2016-03-04T17:27:00)</code>".

Format of cron expressions is "<code>cron(Minutes Hours Day-of-month Month Day-of-week Year)</code>". For example, "<code>cron(0 10 ? * MON *)</code>". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

Definition at line 190 of file ScheduledAction.h.

◆ SetSchedule() [2/3]

void Aws::Redshift::Model::ScheduledAction::SetSchedule ( const Aws::String value)
inline

The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

Format of at expressions is "<code>at(yyyy-mm-ddThh:mm:ss)</code>". For example, "<code>at(2016-03-04T17:27:00)</code>".

Format of cron expressions is "<code>cron(Minutes Hours Day-of-month Month Day-of-week Year)</code>". For example, "<code>cron(0 10 ? * MON *)</code>". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

Definition at line 177 of file ScheduledAction.h.

◆ SetSchedule() [3/3]

void Aws::Redshift::Model::ScheduledAction::SetSchedule ( const char *  value)
inline

The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

Format of at expressions is "<code>at(yyyy-mm-ddThh:mm:ss)</code>". For example, "<code>at(2016-03-04T17:27:00)</code>".

Format of cron expressions is "<code>cron(Minutes Hours Day-of-month Month Day-of-week Year)</code>". For example, "<code>cron(0 10 ? * MON *)</code>". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

Definition at line 203 of file ScheduledAction.h.

◆ SetScheduledActionDescription() [1/3]

void Aws::Redshift::Model::ScheduledAction::SetScheduledActionDescription ( Aws::String &&  value)
inline

The description of the scheduled action.

Definition at line 360 of file ScheduledAction.h.

◆ SetScheduledActionDescription() [2/3]

void Aws::Redshift::Model::ScheduledAction::SetScheduledActionDescription ( const Aws::String value)
inline

The description of the scheduled action.

Definition at line 355 of file ScheduledAction.h.

◆ SetScheduledActionDescription() [3/3]

void Aws::Redshift::Model::ScheduledAction::SetScheduledActionDescription ( const char *  value)
inline

The description of the scheduled action.

Definition at line 365 of file ScheduledAction.h.

◆ SetScheduledActionName() [1/3]

void Aws::Redshift::Model::ScheduledAction::SetScheduledActionName ( Aws::String &&  value)
inline

The name of the scheduled action.

Definition at line 68 of file ScheduledAction.h.

◆ SetScheduledActionName() [2/3]

void Aws::Redshift::Model::ScheduledAction::SetScheduledActionName ( const Aws::String value)
inline

The name of the scheduled action.

Definition at line 63 of file ScheduledAction.h.

◆ SetScheduledActionName() [3/3]

void Aws::Redshift::Model::ScheduledAction::SetScheduledActionName ( const char *  value)
inline

The name of the scheduled action.

Definition at line 73 of file ScheduledAction.h.

◆ SetStartTime() [1/2]

void Aws::Redshift::Model::ScheduledAction::SetStartTime ( Aws::Utils::DateTime &&  value)
inline

The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.

Definition at line 477 of file ScheduledAction.h.

◆ SetStartTime() [2/2]

void Aws::Redshift::Model::ScheduledAction::SetStartTime ( const Aws::Utils::DateTime value)
inline

The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.

Definition at line 471 of file ScheduledAction.h.

◆ SetState() [1/2]

void Aws::Redshift::Model::ScheduledAction::SetState ( const ScheduledActionState value)
inline

The state of the scheduled action. For example, DISABLED.

Definition at line 396 of file ScheduledAction.h.

◆ SetState() [2/2]

void Aws::Redshift::Model::ScheduledAction::SetState ( ScheduledActionState &&  value)
inline

The state of the scheduled action. For example, DISABLED.

Definition at line 401 of file ScheduledAction.h.

◆ SetTargetAction() [1/2]

void Aws::Redshift::Model::ScheduledAction::SetTargetAction ( const ScheduledActionType value)
inline

A JSON format string of the Amazon Redshift API operation with input parameters.

"<code>{\"ResizeCluster":{"NodeType":"ds2.8xlarge","ClusterIdentifier":"my-test-cluster","NumberOfNodes":3}}".

Definition at line 113 of file ScheduledAction.h.

◆ SetTargetAction() [2/2]

void Aws::Redshift::Model::ScheduledAction::SetTargetAction ( ScheduledActionType &&  value)
inline

A JSON format string of the Amazon Redshift API operation with input parameters.

"<code>{\"ResizeCluster":{"NodeType":"ds2.8xlarge","ClusterIdentifier":"my-test-cluster","NumberOfNodes":3}}".

Definition at line 121 of file ScheduledAction.h.

◆ StartTimeHasBeenSet()

bool Aws::Redshift::Model::ScheduledAction::StartTimeHasBeenSet ( ) const
inline

The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.

Definition at line 465 of file ScheduledAction.h.

◆ StateHasBeenSet()

bool Aws::Redshift::Model::ScheduledAction::StateHasBeenSet ( ) const
inline

The state of the scheduled action. For example, DISABLED.

Definition at line 391 of file ScheduledAction.h.

◆ TargetActionHasBeenSet()

bool Aws::Redshift::Model::ScheduledAction::TargetActionHasBeenSet ( ) const
inline

A JSON format string of the Amazon Redshift API operation with input parameters.

"<code>{\"ResizeCluster":{"NodeType":"ds2.8xlarge","ClusterIdentifier":"my-test-cluster","NumberOfNodes":3}}".

Definition at line 105 of file ScheduledAction.h.

◆ WithEndTime() [1/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithEndTime ( Aws::Utils::DateTime &&  value)
inline

The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.

Definition at line 526 of file ScheduledAction.h.

◆ WithEndTime() [2/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithEndTime ( const Aws::Utils::DateTime value)
inline

The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.

Definition at line 520 of file ScheduledAction.h.

◆ WithIamRole() [1/3]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithIamRole ( Aws::String &&  value)
inline

The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.

Definition at line 327 of file ScheduledAction.h.

◆ WithIamRole() [2/3]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithIamRole ( const Aws::String value)
inline

The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.

Definition at line 315 of file ScheduledAction.h.

◆ WithIamRole() [3/3]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithIamRole ( const char *  value)
inline

The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.

Definition at line 339 of file ScheduledAction.h.

◆ WithNextInvocations() [1/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithNextInvocations ( Aws::Vector< Aws::Utils::DateTime > &&  value)
inline

List of times when the scheduled action will run.

Definition at line 442 of file ScheduledAction.h.

◆ WithNextInvocations() [2/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithNextInvocations ( const Aws::Vector< Aws::Utils::DateTime > &  value)
inline

List of times when the scheduled action will run.

Definition at line 437 of file ScheduledAction.h.

◆ WithResponseMetadata() [1/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 542 of file ScheduledAction.h.

◆ WithResponseMetadata() [2/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 545 of file ScheduledAction.h.

◆ WithSchedule() [1/3]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithSchedule ( Aws::String &&  value)
inline

The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

Format of at expressions is "<code>at(yyyy-mm-ddThh:mm:ss)</code>". For example, "<code>at(2016-03-04T17:27:00)</code>".

Format of cron expressions is "<code>cron(Minutes Hours Day-of-month Month Day-of-week Year)</code>". For example, "<code>cron(0 10 ? * MON *)</code>". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

Definition at line 229 of file ScheduledAction.h.

◆ WithSchedule() [2/3]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithSchedule ( const Aws::String value)
inline

The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

Format of at expressions is "<code>at(yyyy-mm-ddThh:mm:ss)</code>". For example, "<code>at(2016-03-04T17:27:00)</code>".

Format of cron expressions is "<code>cron(Minutes Hours Day-of-month Month Day-of-week Year)</code>". For example, "<code>cron(0 10 ? * MON *)</code>". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

Definition at line 216 of file ScheduledAction.h.

◆ WithSchedule() [3/3]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithSchedule ( const char *  value)
inline

The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

Format of at expressions is "<code>at(yyyy-mm-ddThh:mm:ss)</code>". For example, "<code>at(2016-03-04T17:27:00)</code>".

Format of cron expressions is "<code>cron(Minutes Hours Day-of-month Month Day-of-week Year)</code>". For example, "<code>cron(0 10 ? * MON *)</code>". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

Definition at line 242 of file ScheduledAction.h.

◆ WithScheduledActionDescription() [1/3]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithScheduledActionDescription ( Aws::String &&  value)
inline

The description of the scheduled action.

Definition at line 375 of file ScheduledAction.h.

◆ WithScheduledActionDescription() [2/3]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithScheduledActionDescription ( const Aws::String value)
inline

The description of the scheduled action.

Definition at line 370 of file ScheduledAction.h.

◆ WithScheduledActionDescription() [3/3]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithScheduledActionDescription ( const char *  value)
inline

The description of the scheduled action.

Definition at line 380 of file ScheduledAction.h.

◆ WithScheduledActionName() [1/3]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithScheduledActionName ( Aws::String &&  value)
inline

The name of the scheduled action.

Definition at line 83 of file ScheduledAction.h.

◆ WithScheduledActionName() [2/3]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithScheduledActionName ( const Aws::String value)
inline

The name of the scheduled action.

Definition at line 78 of file ScheduledAction.h.

◆ WithScheduledActionName() [3/3]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithScheduledActionName ( const char *  value)
inline

The name of the scheduled action.

Definition at line 88 of file ScheduledAction.h.

◆ WithStartTime() [1/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithStartTime ( Aws::Utils::DateTime &&  value)
inline

The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.

Definition at line 489 of file ScheduledAction.h.

◆ WithStartTime() [2/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithStartTime ( const Aws::Utils::DateTime value)
inline

The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.

Definition at line 483 of file ScheduledAction.h.

◆ WithState() [1/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithState ( const ScheduledActionState value)
inline

The state of the scheduled action. For example, DISABLED.

Definition at line 406 of file ScheduledAction.h.

◆ WithState() [2/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithState ( ScheduledActionState &&  value)
inline

The state of the scheduled action. For example, DISABLED.

Definition at line 411 of file ScheduledAction.h.

◆ WithTargetAction() [1/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithTargetAction ( const ScheduledActionType value)
inline

A JSON format string of the Amazon Redshift API operation with input parameters.

"<code>{\"ResizeCluster":{"NodeType":"ds2.8xlarge","ClusterIdentifier":"my-test-cluster","NumberOfNodes":3}}".

Definition at line 129 of file ScheduledAction.h.

◆ WithTargetAction() [2/2]

ScheduledAction& Aws::Redshift::Model::ScheduledAction::WithTargetAction ( ScheduledActionType &&  value)
inline

A JSON format string of the Amazon Redshift API operation with input parameters.

"<code>{\"ResizeCluster":{"NodeType":"ds2.8xlarge","ClusterIdentifier":"my-test-cluster","NumberOfNodes":3}}".

Definition at line 137 of file ScheduledAction.h.


The documentation for this class was generated from the following file: