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

Status information about the simulation clock.

See Also:

AWS * API Reference

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

The current status of the simulation clock.

*/ inline const ClockStatus& GetStatus() const{ return m_status; } /** *

The current status of the simulation clock.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current status of the simulation clock.

*/ inline void SetStatus(const ClockStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current status of the simulation clock.

*/ inline void SetStatus(ClockStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The current status of the simulation clock.

*/ inline SimulationClock& WithStatus(const ClockStatus& value) { SetStatus(value); return *this;} /** *

The current status of the simulation clock.

*/ inline SimulationClock& WithStatus(ClockStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The desired status of the simulation clock.

*/ inline const ClockTargetStatus& GetTargetStatus() const{ return m_targetStatus; } /** *

The desired status of the simulation clock.

*/ inline bool TargetStatusHasBeenSet() const { return m_targetStatusHasBeenSet; } /** *

The desired status of the simulation clock.

*/ inline void SetTargetStatus(const ClockTargetStatus& value) { m_targetStatusHasBeenSet = true; m_targetStatus = value; } /** *

The desired status of the simulation clock.

*/ inline void SetTargetStatus(ClockTargetStatus&& value) { m_targetStatusHasBeenSet = true; m_targetStatus = std::move(value); } /** *

The desired status of the simulation clock.

*/ inline SimulationClock& WithTargetStatus(const ClockTargetStatus& value) { SetTargetStatus(value); return *this;} /** *

The desired status of the simulation clock.

*/ inline SimulationClock& WithTargetStatus(ClockTargetStatus&& value) { SetTargetStatus(std::move(value)); return *this;} private: ClockStatus m_status; bool m_statusHasBeenSet = false; ClockTargetStatus m_targetStatus; bool m_targetStatusHasBeenSet = false; }; } // namespace Model } // namespace SimSpaceWeaver } // namespace Aws