/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSMContacts { namespace Model { /** *

Information about on-call rotations that recur monthly.

See * Also:

AWS * API Reference

*/ class MonthlySetting { public: AWS_SSMCONTACTS_API MonthlySetting(); AWS_SSMCONTACTS_API MonthlySetting(Aws::Utils::Json::JsonView jsonValue); AWS_SSMCONTACTS_API MonthlySetting& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The day of the month when monthly recurring on-call rotations begin.

*/ inline int GetDayOfMonth() const{ return m_dayOfMonth; } /** *

The day of the month when monthly recurring on-call rotations begin.

*/ inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; } /** *

The day of the month when monthly recurring on-call rotations begin.

*/ inline void SetDayOfMonth(int value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = value; } /** *

The day of the month when monthly recurring on-call rotations begin.

*/ inline MonthlySetting& WithDayOfMonth(int value) { SetDayOfMonth(value); return *this;} /** *

The time of day when a monthly recurring on-call shift rotation begins.

*/ inline const HandOffTime& GetHandOffTime() const{ return m_handOffTime; } /** *

The time of day when a monthly recurring on-call shift rotation begins.

*/ inline bool HandOffTimeHasBeenSet() const { return m_handOffTimeHasBeenSet; } /** *

The time of day when a monthly recurring on-call shift rotation begins.

*/ inline void SetHandOffTime(const HandOffTime& value) { m_handOffTimeHasBeenSet = true; m_handOffTime = value; } /** *

The time of day when a monthly 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 monthly recurring on-call shift rotation begins.

*/ inline MonthlySetting& WithHandOffTime(const HandOffTime& value) { SetHandOffTime(value); return *this;} /** *

The time of day when a monthly recurring on-call shift rotation begins.

*/ inline MonthlySetting& WithHandOffTime(HandOffTime&& value) { SetHandOffTime(std::move(value)); return *this;} private: int m_dayOfMonth; bool m_dayOfMonthHasBeenSet = false; HandOffTime m_handOffTime; bool m_handOffTimeHasBeenSet = false; }; } // namespace Model } // namespace SSMContacts } // namespace Aws