/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about rotations that recur weekly.See Also:
AWS
* API Reference
The day of the week when weekly recurring on-call shift rotations begins.
*/ inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; } /** *The day of the week when weekly recurring on-call shift rotations begins.
*/ inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; } /** *The day of the week when weekly recurring on-call shift rotations begins.
*/ inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; } /** *The day of the week when weekly recurring on-call shift rotations begins.
*/ inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = std::move(value); } /** *The day of the week when weekly recurring on-call shift rotations begins.
*/ inline WeeklySetting& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;} /** *The day of the week when weekly recurring on-call shift rotations begins.
*/ inline WeeklySetting& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;} /** *The time of day when a weekly recurring on-call shift rotation begins.
*/ inline const HandOffTime& GetHandOffTime() const{ return m_handOffTime; } /** *The time of day when a weekly recurring on-call shift rotation begins.
*/ inline bool HandOffTimeHasBeenSet() const { return m_handOffTimeHasBeenSet; } /** *The time of day when a weekly recurring on-call shift rotation begins.
*/ inline void SetHandOffTime(const HandOffTime& value) { m_handOffTimeHasBeenSet = true; m_handOffTime = value; } /** *The time of day when a weekly recurring on-call shift rotation begins.
*/ inline void SetHandOffTime(HandOffTime&& value) { m_handOffTimeHasBeenSet = true; m_handOffTime = std::move(value); } /** *The time of day when a weekly recurring on-call shift rotation begins.
*/ inline WeeklySetting& WithHandOffTime(const HandOffTime& value) { SetHandOffTime(value); return *this;} /** *The time of day when a weekly recurring on-call shift rotation begins.
*/ inline WeeklySetting& WithHandOffTime(HandOffTime&& value) { SetHandOffTime(std::move(value)); return *this;} private: DayOfWeek m_dayOfWeek; bool m_dayOfWeekHasBeenSet = false; HandOffTime m_handOffTime; bool m_handOffTimeHasBeenSet = false; }; } // namespace Model } // namespace SSMContacts } // namespace Aws