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

Contains information about the hours of operation.

See Also:

* AWS * API Reference

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

The day that the hours of operation applies to.

*/ inline const HoursOfOperationDays& GetDay() const{ return m_day; } /** *

The day that the hours of operation applies to.

*/ inline bool DayHasBeenSet() const { return m_dayHasBeenSet; } /** *

The day that the hours of operation applies to.

*/ inline void SetDay(const HoursOfOperationDays& value) { m_dayHasBeenSet = true; m_day = value; } /** *

The day that the hours of operation applies to.

*/ inline void SetDay(HoursOfOperationDays&& value) { m_dayHasBeenSet = true; m_day = std::move(value); } /** *

The day that the hours of operation applies to.

*/ inline HoursOfOperationConfig& WithDay(const HoursOfOperationDays& value) { SetDay(value); return *this;} /** *

The day that the hours of operation applies to.

*/ inline HoursOfOperationConfig& WithDay(HoursOfOperationDays&& value) { SetDay(std::move(value)); return *this;} /** *

The start time that your contact center opens.

*/ inline const HoursOfOperationTimeSlice& GetStartTime() const{ return m_startTime; } /** *

The start time that your contact center opens.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The start time that your contact center opens.

*/ inline void SetStartTime(const HoursOfOperationTimeSlice& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The start time that your contact center opens.

*/ inline void SetStartTime(HoursOfOperationTimeSlice&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The start time that your contact center opens.

*/ inline HoursOfOperationConfig& WithStartTime(const HoursOfOperationTimeSlice& value) { SetStartTime(value); return *this;} /** *

The start time that your contact center opens.

*/ inline HoursOfOperationConfig& WithStartTime(HoursOfOperationTimeSlice&& value) { SetStartTime(std::move(value)); return *this;} /** *

The end time that your contact center closes.

*/ inline const HoursOfOperationTimeSlice& GetEndTime() const{ return m_endTime; } /** *

The end time that your contact center closes.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The end time that your contact center closes.

*/ inline void SetEndTime(const HoursOfOperationTimeSlice& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The end time that your contact center closes.

*/ inline void SetEndTime(HoursOfOperationTimeSlice&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The end time that your contact center closes.

*/ inline HoursOfOperationConfig& WithEndTime(const HoursOfOperationTimeSlice& value) { SetEndTime(value); return *this;} /** *

The end time that your contact center closes.

*/ inline HoursOfOperationConfig& WithEndTime(HoursOfOperationTimeSlice&& value) { SetEndTime(std::move(value)); return *this;} private: HoursOfOperationDays m_day; bool m_dayHasBeenSet = false; HoursOfOperationTimeSlice m_startTime; bool m_startTimeHasBeenSet = false; HoursOfOperationTimeSlice m_endTime; bool m_endTimeHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws