AWS SDK for C++  1.8.74
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::ScheduledInstanceRecurrenceRequest Class Reference

#include <ScheduledInstanceRecurrenceRequest.h>

Public Member Functions

 ScheduledInstanceRecurrenceRequest ()
 
 ScheduledInstanceRecurrenceRequest (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ScheduledInstanceRecurrenceRequestoperator= (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::StringGetFrequency () const
 
bool FrequencyHasBeenSet () const
 
void SetFrequency (const Aws::String &value)
 
void SetFrequency (Aws::String &&value)
 
void SetFrequency (const char *value)
 
ScheduledInstanceRecurrenceRequestWithFrequency (const Aws::String &value)
 
ScheduledInstanceRecurrenceRequestWithFrequency (Aws::String &&value)
 
ScheduledInstanceRecurrenceRequestWithFrequency (const char *value)
 
int GetInterval () const
 
bool IntervalHasBeenSet () const
 
void SetInterval (int value)
 
ScheduledInstanceRecurrenceRequestWithInterval (int value)
 
const Aws::Vector< int > & GetOccurrenceDays () const
 
bool OccurrenceDaysHasBeenSet () const
 
void SetOccurrenceDays (const Aws::Vector< int > &value)
 
void SetOccurrenceDays (Aws::Vector< int > &&value)
 
ScheduledInstanceRecurrenceRequestWithOccurrenceDays (const Aws::Vector< int > &value)
 
ScheduledInstanceRecurrenceRequestWithOccurrenceDays (Aws::Vector< int > &&value)
 
ScheduledInstanceRecurrenceRequestAddOccurrenceDays (int value)
 
bool GetOccurrenceRelativeToEnd () const
 
bool OccurrenceRelativeToEndHasBeenSet () const
 
void SetOccurrenceRelativeToEnd (bool value)
 
ScheduledInstanceRecurrenceRequestWithOccurrenceRelativeToEnd (bool value)
 
const Aws::StringGetOccurrenceUnit () const
 
bool OccurrenceUnitHasBeenSet () const
 
void SetOccurrenceUnit (const Aws::String &value)
 
void SetOccurrenceUnit (Aws::String &&value)
 
void SetOccurrenceUnit (const char *value)
 
ScheduledInstanceRecurrenceRequestWithOccurrenceUnit (const Aws::String &value)
 
ScheduledInstanceRecurrenceRequestWithOccurrenceUnit (Aws::String &&value)
 
ScheduledInstanceRecurrenceRequestWithOccurrenceUnit (const char *value)
 

Detailed Description

Describes the recurring schedule for a Scheduled Instance.

See Also:

AWS API Reference

Definition at line 33 of file ScheduledInstanceRecurrenceRequest.h.

Constructor & Destructor Documentation

◆ ScheduledInstanceRecurrenceRequest() [1/2]

Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::ScheduledInstanceRecurrenceRequest ( )

◆ ScheduledInstanceRecurrenceRequest() [2/2]

Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::ScheduledInstanceRecurrenceRequest ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddOccurrenceDays()

ScheduledInstanceRecurrenceRequest& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::AddOccurrenceDays ( int  value)
inline

The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.

Definition at line 179 of file ScheduledInstanceRecurrenceRequest.h.

◆ FrequencyHasBeenSet()

bool Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::FrequencyHasBeenSet ( ) const
inline

The frequency (Daily, Weekly, or Monthly).

Definition at line 54 of file ScheduledInstanceRecurrenceRequest.h.

◆ GetFrequency()

const Aws::String& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::GetFrequency ( ) const
inline

The frequency (Daily, Weekly, or Monthly).

Definition at line 48 of file ScheduledInstanceRecurrenceRequest.h.

◆ GetInterval()

int Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::GetInterval ( ) const
inline

The interval quantity. The interval unit depends on the value of Frequency. For example, every 2 weeks or every 2 months.

Definition at line 97 of file ScheduledInstanceRecurrenceRequest.h.

◆ GetOccurrenceDays()

const Aws::Vector<int>& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::GetOccurrenceDays ( ) const
inline

The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.

Definition at line 125 of file ScheduledInstanceRecurrenceRequest.h.

◆ GetOccurrenceRelativeToEnd()

bool Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::GetOccurrenceRelativeToEnd ( ) const
inline

Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.

Definition at line 186 of file ScheduledInstanceRecurrenceRequest.h.

◆ GetOccurrenceUnit()

const Aws::String& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::GetOccurrenceUnit ( ) const
inline

The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This value is required for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. You can't specify this value with a daily schedule.

Definition at line 213 of file ScheduledInstanceRecurrenceRequest.h.

◆ IntervalHasBeenSet()

bool Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::IntervalHasBeenSet ( ) const
inline

The interval quantity. The interval unit depends on the value of Frequency. For example, every 2 weeks or every 2 months.

Definition at line 103 of file ScheduledInstanceRecurrenceRequest.h.

◆ OccurrenceDaysHasBeenSet()

bool Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::OccurrenceDaysHasBeenSet ( ) const
inline

The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.

Definition at line 134 of file ScheduledInstanceRecurrenceRequest.h.

◆ OccurrenceRelativeToEndHasBeenSet()

bool Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::OccurrenceRelativeToEndHasBeenSet ( ) const
inline

Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.

Definition at line 192 of file ScheduledInstanceRecurrenceRequest.h.

◆ OccurrenceUnitHasBeenSet()

bool Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::OccurrenceUnitHasBeenSet ( ) const
inline

The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This value is required for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. You can't specify this value with a daily schedule.

Definition at line 221 of file ScheduledInstanceRecurrenceRequest.h.

◆ operator=()

ScheduledInstanceRecurrenceRequest& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

void Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ SetFrequency() [1/3]

void Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::SetFrequency ( const Aws::String value)
inline

The frequency (Daily, Weekly, or Monthly).

Definition at line 60 of file ScheduledInstanceRecurrenceRequest.h.

◆ SetFrequency() [2/3]

void Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::SetFrequency ( Aws::String &&  value)
inline

The frequency (Daily, Weekly, or Monthly).

Definition at line 66 of file ScheduledInstanceRecurrenceRequest.h.

◆ SetFrequency() [3/3]

void Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::SetFrequency ( const char *  value)
inline

The frequency (Daily, Weekly, or Monthly).

Definition at line 72 of file ScheduledInstanceRecurrenceRequest.h.

◆ SetInterval()

void Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::SetInterval ( int  value)
inline

The interval quantity. The interval unit depends on the value of Frequency. For example, every 2 weeks or every 2 months.

Definition at line 109 of file ScheduledInstanceRecurrenceRequest.h.

◆ SetOccurrenceDays() [1/2]

void Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::SetOccurrenceDays ( const Aws::Vector< int > &  value)
inline

The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.

Definition at line 143 of file ScheduledInstanceRecurrenceRequest.h.

◆ SetOccurrenceDays() [2/2]

void Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::SetOccurrenceDays ( Aws::Vector< int > &&  value)
inline

The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.

Definition at line 152 of file ScheduledInstanceRecurrenceRequest.h.

◆ SetOccurrenceRelativeToEnd()

void Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::SetOccurrenceRelativeToEnd ( bool  value)
inline

Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.

Definition at line 198 of file ScheduledInstanceRecurrenceRequest.h.

◆ SetOccurrenceUnit() [1/3]

void Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::SetOccurrenceUnit ( const Aws::String value)
inline

The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This value is required for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. You can't specify this value with a daily schedule.

Definition at line 229 of file ScheduledInstanceRecurrenceRequest.h.

◆ SetOccurrenceUnit() [2/3]

void Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::SetOccurrenceUnit ( Aws::String &&  value)
inline

The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This value is required for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. You can't specify this value with a daily schedule.

Definition at line 237 of file ScheduledInstanceRecurrenceRequest.h.

◆ SetOccurrenceUnit() [3/3]

void Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::SetOccurrenceUnit ( const char *  value)
inline

The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This value is required for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. You can't specify this value with a daily schedule.

Definition at line 245 of file ScheduledInstanceRecurrenceRequest.h.

◆ WithFrequency() [1/3]

ScheduledInstanceRecurrenceRequest& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::WithFrequency ( const Aws::String value)
inline

The frequency (Daily, Weekly, or Monthly).

Definition at line 78 of file ScheduledInstanceRecurrenceRequest.h.

◆ WithFrequency() [2/3]

ScheduledInstanceRecurrenceRequest& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::WithFrequency ( Aws::String &&  value)
inline

The frequency (Daily, Weekly, or Monthly).

Definition at line 84 of file ScheduledInstanceRecurrenceRequest.h.

◆ WithFrequency() [3/3]

ScheduledInstanceRecurrenceRequest& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::WithFrequency ( const char *  value)
inline

The frequency (Daily, Weekly, or Monthly).

Definition at line 90 of file ScheduledInstanceRecurrenceRequest.h.

◆ WithInterval()

ScheduledInstanceRecurrenceRequest& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::WithInterval ( int  value)
inline

The interval quantity. The interval unit depends on the value of Frequency. For example, every 2 weeks or every 2 months.

Definition at line 115 of file ScheduledInstanceRecurrenceRequest.h.

◆ WithOccurrenceDays() [1/2]

ScheduledInstanceRecurrenceRequest& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::WithOccurrenceDays ( const Aws::Vector< int > &  value)
inline

The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.

Definition at line 161 of file ScheduledInstanceRecurrenceRequest.h.

◆ WithOccurrenceDays() [2/2]

ScheduledInstanceRecurrenceRequest& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::WithOccurrenceDays ( Aws::Vector< int > &&  value)
inline

The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.

Definition at line 170 of file ScheduledInstanceRecurrenceRequest.h.

◆ WithOccurrenceRelativeToEnd()

ScheduledInstanceRecurrenceRequest& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::WithOccurrenceRelativeToEnd ( bool  value)
inline

Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.

Definition at line 204 of file ScheduledInstanceRecurrenceRequest.h.

◆ WithOccurrenceUnit() [1/3]

ScheduledInstanceRecurrenceRequest& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::WithOccurrenceUnit ( const Aws::String value)
inline

The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This value is required for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. You can't specify this value with a daily schedule.

Definition at line 253 of file ScheduledInstanceRecurrenceRequest.h.

◆ WithOccurrenceUnit() [2/3]

ScheduledInstanceRecurrenceRequest& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::WithOccurrenceUnit ( Aws::String &&  value)
inline

The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This value is required for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. You can't specify this value with a daily schedule.

Definition at line 261 of file ScheduledInstanceRecurrenceRequest.h.

◆ WithOccurrenceUnit() [3/3]

ScheduledInstanceRecurrenceRequest& Aws::EC2::Model::ScheduledInstanceRecurrenceRequest::WithOccurrenceUnit ( const char *  value)
inline

The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This value is required for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. You can't specify this value with a daily schedule.

Definition at line 269 of file ScheduledInstanceRecurrenceRequest.h.


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