/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the recurring schedule for a Scheduled Instance.See
* Also:
AWS
* API Reference
The frequency (Daily
, Weekly
, or
* Monthly
).
The frequency (Daily
, Weekly
, or
* Monthly
).
The frequency (Daily
, Weekly
, or
* Monthly
).
The frequency (Daily
, Weekly
, or
* Monthly
).
The frequency (Daily
, Weekly
, or
* Monthly
).
The frequency (Daily
, Weekly
, or
* Monthly
).
The frequency (Daily
, Weekly
, or
* Monthly
).
The frequency (Daily
, Weekly
, or
* Monthly
).
The interval quantity. The interval unit depends on the value of
* frequency
. For example, every 2 weeks or every 2 months.
The interval quantity. The interval unit depends on the value of
* frequency
. For example, every 2 weeks or every 2 months.
The interval quantity. The interval unit depends on the value of
* frequency
. For example, every 2 weeks or every 2 months.
The interval quantity. The interval unit depends on the value of
* frequency
. For example, every 2 weeks or every 2 months.
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).
*/ inline const Aws::VectorThe 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).
*/ inline bool OccurrenceDaySetHasBeenSet() const { return m_occurrenceDaySetHasBeenSet; } /** *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).
*/ inline void SetOccurrenceDaySet(const Aws::VectorThe 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).
*/ inline void SetOccurrenceDaySet(Aws::VectorThe 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).
*/ inline ScheduledInstanceRecurrence& WithOccurrenceDaySet(const Aws::VectorThe 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).
*/ inline ScheduledInstanceRecurrence& WithOccurrenceDaySet(Aws::VectorThe 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).
*/ inline ScheduledInstanceRecurrence& AddOccurrenceDaySet(int value) { m_occurrenceDaySetHasBeenSet = true; m_occurrenceDaySet.push_back(value); return *this; } /** *Indicates whether the occurrence is relative to the end of the specified week * or month.
*/ inline bool GetOccurrenceRelativeToEnd() const{ return m_occurrenceRelativeToEnd; } /** *Indicates whether the occurrence is relative to the end of the specified week * or month.
*/ inline bool OccurrenceRelativeToEndHasBeenSet() const { return m_occurrenceRelativeToEndHasBeenSet; } /** *Indicates whether the occurrence is relative to the end of the specified week * or month.
*/ inline void SetOccurrenceRelativeToEnd(bool value) { m_occurrenceRelativeToEndHasBeenSet = true; m_occurrenceRelativeToEnd = value; } /** *Indicates whether the occurrence is relative to the end of the specified week * or month.
*/ inline ScheduledInstanceRecurrence& WithOccurrenceRelativeToEnd(bool value) { SetOccurrenceRelativeToEnd(value); return *this;} /** *The unit for occurrenceDaySet
(DayOfWeek
or
* DayOfMonth
).
The unit for occurrenceDaySet
(DayOfWeek
or
* DayOfMonth
).
The unit for occurrenceDaySet
(DayOfWeek
or
* DayOfMonth
).
The unit for occurrenceDaySet
(DayOfWeek
or
* DayOfMonth
).
The unit for occurrenceDaySet
(DayOfWeek
or
* DayOfMonth
).
The unit for occurrenceDaySet
(DayOfWeek
or
* DayOfMonth
).
The unit for occurrenceDaySet
(DayOfWeek
or
* DayOfMonth
).
The unit for occurrenceDaySet
(DayOfWeek
or
* DayOfMonth
).