/**
* 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). 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.
*/ 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). 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.
*/ inline bool OccurrenceDaysHasBeenSet() const { return m_occurrenceDaysHasBeenSet; } /** *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.
*/ inline void SetOccurrenceDays(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). 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.
*/ inline void SetOccurrenceDays(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). 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.
*/ inline ScheduledInstanceRecurrenceRequest& WithOccurrenceDays(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). 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.
*/ inline ScheduledInstanceRecurrenceRequest& WithOccurrenceDays(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). 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.
*/ inline ScheduledInstanceRecurrenceRequest& AddOccurrenceDays(int value) { m_occurrenceDaysHasBeenSet = true; m_occurrenceDays.push_back(value); return *this; } /** *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.
*/ inline bool GetOccurrenceRelativeToEnd() const{ return m_occurrenceRelativeToEnd; } /** *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.
*/ inline bool OccurrenceRelativeToEndHasBeenSet() const { return m_occurrenceRelativeToEndHasBeenSet; } /** *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.
*/ 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. You can't specify this value with a daily schedule.
*/ inline ScheduledInstanceRecurrenceRequest& WithOccurrenceRelativeToEnd(bool value) { SetOccurrenceRelativeToEnd(value); return *this;} /** *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.
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.
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.
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.
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.
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.
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.
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.