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

Details about when an on-call rotation shift begins or ends.

See * Also:

AWS * API Reference

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

The hour when an on-call rotation shift begins or ends.

*/ inline int GetHourOfDay() const{ return m_hourOfDay; } /** *

The hour when an on-call rotation shift begins or ends.

*/ inline bool HourOfDayHasBeenSet() const { return m_hourOfDayHasBeenSet; } /** *

The hour when an on-call rotation shift begins or ends.

*/ inline void SetHourOfDay(int value) { m_hourOfDayHasBeenSet = true; m_hourOfDay = value; } /** *

The hour when an on-call rotation shift begins or ends.

*/ inline HandOffTime& WithHourOfDay(int value) { SetHourOfDay(value); return *this;} /** *

The minute when an on-call rotation shift begins or ends.

*/ inline int GetMinuteOfHour() const{ return m_minuteOfHour; } /** *

The minute when an on-call rotation shift begins or ends.

*/ inline bool MinuteOfHourHasBeenSet() const { return m_minuteOfHourHasBeenSet; } /** *

The minute when an on-call rotation shift begins or ends.

*/ inline void SetMinuteOfHour(int value) { m_minuteOfHourHasBeenSet = true; m_minuteOfHour = value; } /** *

The minute when an on-call rotation shift begins or ends.

*/ inline HandOffTime& WithMinuteOfHour(int value) { SetMinuteOfHour(value); return *this;} private: int m_hourOfDay; bool m_hourOfDayHasBeenSet = false; int m_minuteOfHour; bool m_minuteOfHourHasBeenSet = false; }; } // namespace Model } // namespace SSMContacts } // namespace Aws