/** * 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 MainframeModernization { namespace Model { /** *

The scheduled maintenance for a runtime engine.

See Also:

AWS * API Reference

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

The specific runtime engine that the maintenance schedule applies to.

*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *

The specific runtime engine that the maintenance schedule applies to.

*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *

The specific runtime engine that the maintenance schedule applies to.

*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *

The specific runtime engine that the maintenance schedule applies to.

*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *

The specific runtime engine that the maintenance schedule applies to.

*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *

The specific runtime engine that the maintenance schedule applies to.

*/ inline PendingMaintenance& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *

The specific runtime engine that the maintenance schedule applies to.

*/ inline PendingMaintenance& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *

The specific runtime engine that the maintenance schedule applies to.

*/ inline PendingMaintenance& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *

The maintenance schedule for the runtime engine version.

*/ inline const MaintenanceSchedule& GetSchedule() const{ return m_schedule; } /** *

The maintenance schedule for the runtime engine version.

*/ inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } /** *

The maintenance schedule for the runtime engine version.

*/ inline void SetSchedule(const MaintenanceSchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } /** *

The maintenance schedule for the runtime engine version.

*/ inline void SetSchedule(MaintenanceSchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } /** *

The maintenance schedule for the runtime engine version.

*/ inline PendingMaintenance& WithSchedule(const MaintenanceSchedule& value) { SetSchedule(value); return *this;} /** *

The maintenance schedule for the runtime engine version.

*/ inline PendingMaintenance& WithSchedule(MaintenanceSchedule&& value) { SetSchedule(std::move(value)); return *this;} private: Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; MaintenanceSchedule m_schedule; bool m_scheduleHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws