/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about when an on-call rotation is in effect and how long the
* rotation period lasts.See Also:
AWS
* API Reference
Information about on-call rotations that recur monthly.
*/ inline const Aws::VectorInformation about on-call rotations that recur monthly.
*/ inline bool MonthlySettingsHasBeenSet() const { return m_monthlySettingsHasBeenSet; } /** *Information about on-call rotations that recur monthly.
*/ inline void SetMonthlySettings(const Aws::VectorInformation about on-call rotations that recur monthly.
*/ inline void SetMonthlySettings(Aws::VectorInformation about on-call rotations that recur monthly.
*/ inline RecurrenceSettings& WithMonthlySettings(const Aws::VectorInformation about on-call rotations that recur monthly.
*/ inline RecurrenceSettings& WithMonthlySettings(Aws::VectorInformation about on-call rotations that recur monthly.
*/ inline RecurrenceSettings& AddMonthlySettings(const MonthlySetting& value) { m_monthlySettingsHasBeenSet = true; m_monthlySettings.push_back(value); return *this; } /** *Information about on-call rotations that recur monthly.
*/ inline RecurrenceSettings& AddMonthlySettings(MonthlySetting&& value) { m_monthlySettingsHasBeenSet = true; m_monthlySettings.push_back(std::move(value)); return *this; } /** *Information about on-call rotations that recur weekly.
*/ inline const Aws::VectorInformation about on-call rotations that recur weekly.
*/ inline bool WeeklySettingsHasBeenSet() const { return m_weeklySettingsHasBeenSet; } /** *Information about on-call rotations that recur weekly.
*/ inline void SetWeeklySettings(const Aws::VectorInformation about on-call rotations that recur weekly.
*/ inline void SetWeeklySettings(Aws::VectorInformation about on-call rotations that recur weekly.
*/ inline RecurrenceSettings& WithWeeklySettings(const Aws::VectorInformation about on-call rotations that recur weekly.
*/ inline RecurrenceSettings& WithWeeklySettings(Aws::VectorInformation about on-call rotations that recur weekly.
*/ inline RecurrenceSettings& AddWeeklySettings(const WeeklySetting& value) { m_weeklySettingsHasBeenSet = true; m_weeklySettings.push_back(value); return *this; } /** *Information about on-call rotations that recur weekly.
*/ inline RecurrenceSettings& AddWeeklySettings(WeeklySetting&& value) { m_weeklySettingsHasBeenSet = true; m_weeklySettings.push_back(std::move(value)); return *this; } /** *Information about on-call rotations that recur daily.
*/ inline const Aws::VectorInformation about on-call rotations that recur daily.
*/ inline bool DailySettingsHasBeenSet() const { return m_dailySettingsHasBeenSet; } /** *Information about on-call rotations that recur daily.
*/ inline void SetDailySettings(const Aws::VectorInformation about on-call rotations that recur daily.
*/ inline void SetDailySettings(Aws::VectorInformation about on-call rotations that recur daily.
*/ inline RecurrenceSettings& WithDailySettings(const Aws::VectorInformation about on-call rotations that recur daily.
*/ inline RecurrenceSettings& WithDailySettings(Aws::VectorInformation about on-call rotations that recur daily.
*/ inline RecurrenceSettings& AddDailySettings(const HandOffTime& value) { m_dailySettingsHasBeenSet = true; m_dailySettings.push_back(value); return *this; } /** *Information about on-call rotations that recur daily.
*/ inline RecurrenceSettings& AddDailySettings(HandOffTime&& value) { m_dailySettingsHasBeenSet = true; m_dailySettings.push_back(std::move(value)); return *this; } /** *The number of contacts, or shift team members designated to be on call
* concurrently during a shift. For example, in an on-call schedule containing ten
* contacts, a value of 2
designates that two of them are on call at
* any given time.
The number of contacts, or shift team members designated to be on call
* concurrently during a shift. For example, in an on-call schedule containing ten
* contacts, a value of 2
designates that two of them are on call at
* any given time.
The number of contacts, or shift team members designated to be on call
* concurrently during a shift. For example, in an on-call schedule containing ten
* contacts, a value of 2
designates that two of them are on call at
* any given time.
The number of contacts, or shift team members designated to be on call
* concurrently during a shift. For example, in an on-call schedule containing ten
* contacts, a value of 2
designates that two of them are on call at
* any given time.
Information about the days of the week included in on-call rotation * coverage.
*/ inline const Aws::MapInformation about the days of the week included in on-call rotation * coverage.
*/ inline bool ShiftCoveragesHasBeenSet() const { return m_shiftCoveragesHasBeenSet; } /** *Information about the days of the week included in on-call rotation * coverage.
*/ inline void SetShiftCoverages(const Aws::MapInformation about the days of the week included in on-call rotation * coverage.
*/ inline void SetShiftCoverages(Aws::MapInformation about the days of the week included in on-call rotation * coverage.
*/ inline RecurrenceSettings& WithShiftCoverages(const Aws::MapInformation about the days of the week included in on-call rotation * coverage.
*/ inline RecurrenceSettings& WithShiftCoverages(Aws::MapInformation about the days of the week included in on-call rotation * coverage.
*/ inline RecurrenceSettings& AddShiftCoverages(const DayOfWeek& key, const Aws::VectorInformation about the days of the week included in on-call rotation * coverage.
*/ inline RecurrenceSettings& AddShiftCoverages(DayOfWeek&& key, const Aws::VectorInformation about the days of the week included in on-call rotation * coverage.
*/ inline RecurrenceSettings& AddShiftCoverages(const DayOfWeek& key, Aws::VectorInformation about the days of the week included in on-call rotation * coverage.
*/ inline RecurrenceSettings& AddShiftCoverages(DayOfWeek&& key, Aws::VectorThe number of days, weeks, or months a single rotation lasts.
*/ inline int GetRecurrenceMultiplier() const{ return m_recurrenceMultiplier; } /** *The number of days, weeks, or months a single rotation lasts.
*/ inline bool RecurrenceMultiplierHasBeenSet() const { return m_recurrenceMultiplierHasBeenSet; } /** *The number of days, weeks, or months a single rotation lasts.
*/ inline void SetRecurrenceMultiplier(int value) { m_recurrenceMultiplierHasBeenSet = true; m_recurrenceMultiplier = value; } /** *The number of days, weeks, or months a single rotation lasts.
*/ inline RecurrenceSettings& WithRecurrenceMultiplier(int value) { SetRecurrenceMultiplier(value); return *this;} private: Aws::Vector