/** * 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 MediaLive { namespace Model { /** * Placeholder documentation for MaintenanceCreateSettings

See Also:

* AWS * API Reference

*/ class MaintenanceCreateSettings { public: AWS_MEDIALIVE_API MaintenanceCreateSettings(); AWS_MEDIALIVE_API MaintenanceCreateSettings(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API MaintenanceCreateSettings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * Choose one day of the week for maintenance. The chosen day is used for all * future maintenance windows. */ inline const MaintenanceDay& GetMaintenanceDay() const{ return m_maintenanceDay; } /** * Choose one day of the week for maintenance. The chosen day is used for all * future maintenance windows. */ inline bool MaintenanceDayHasBeenSet() const { return m_maintenanceDayHasBeenSet; } /** * Choose one day of the week for maintenance. The chosen day is used for all * future maintenance windows. */ inline void SetMaintenanceDay(const MaintenanceDay& value) { m_maintenanceDayHasBeenSet = true; m_maintenanceDay = value; } /** * Choose one day of the week for maintenance. The chosen day is used for all * future maintenance windows. */ inline void SetMaintenanceDay(MaintenanceDay&& value) { m_maintenanceDayHasBeenSet = true; m_maintenanceDay = std::move(value); } /** * Choose one day of the week for maintenance. The chosen day is used for all * future maintenance windows. */ inline MaintenanceCreateSettings& WithMaintenanceDay(const MaintenanceDay& value) { SetMaintenanceDay(value); return *this;} /** * Choose one day of the week for maintenance. The chosen day is used for all * future maintenance windows. */ inline MaintenanceCreateSettings& WithMaintenanceDay(MaintenanceDay&& value) { SetMaintenanceDay(std::move(value)); return *this;} /** * Choose the hour that maintenance will start. The chosen time is used for all * future maintenance windows. */ inline const Aws::String& GetMaintenanceStartTime() const{ return m_maintenanceStartTime; } /** * Choose the hour that maintenance will start. The chosen time is used for all * future maintenance windows. */ inline bool MaintenanceStartTimeHasBeenSet() const { return m_maintenanceStartTimeHasBeenSet; } /** * Choose the hour that maintenance will start. The chosen time is used for all * future maintenance windows. */ inline void SetMaintenanceStartTime(const Aws::String& value) { m_maintenanceStartTimeHasBeenSet = true; m_maintenanceStartTime = value; } /** * Choose the hour that maintenance will start. The chosen time is used for all * future maintenance windows. */ inline void SetMaintenanceStartTime(Aws::String&& value) { m_maintenanceStartTimeHasBeenSet = true; m_maintenanceStartTime = std::move(value); } /** * Choose the hour that maintenance will start. The chosen time is used for all * future maintenance windows. */ inline void SetMaintenanceStartTime(const char* value) { m_maintenanceStartTimeHasBeenSet = true; m_maintenanceStartTime.assign(value); } /** * Choose the hour that maintenance will start. The chosen time is used for all * future maintenance windows. */ inline MaintenanceCreateSettings& WithMaintenanceStartTime(const Aws::String& value) { SetMaintenanceStartTime(value); return *this;} /** * Choose the hour that maintenance will start. The chosen time is used for all * future maintenance windows. */ inline MaintenanceCreateSettings& WithMaintenanceStartTime(Aws::String&& value) { SetMaintenanceStartTime(std::move(value)); return *this;} /** * Choose the hour that maintenance will start. The chosen time is used for all * future maintenance windows. */ inline MaintenanceCreateSettings& WithMaintenanceStartTime(const char* value) { SetMaintenanceStartTime(value); return *this;} private: MaintenanceDay m_maintenanceDay; bool m_maintenanceDayHasBeenSet = false; Aws::String m_maintenanceStartTime; bool m_maintenanceStartTimeHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws