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

Compute information for the simulation job.

See Also:

AWS * API Reference

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

The simulation unit limit. Your simulation is allocated CPU and memory * proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu * and 2GB of memory. You are only billed for the SU utilization you consume up to * the maximim value provided. The default is 15.

*/ inline int GetSimulationUnitLimit() const{ return m_simulationUnitLimit; } /** *

The simulation unit limit. Your simulation is allocated CPU and memory * proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu * and 2GB of memory. You are only billed for the SU utilization you consume up to * the maximim value provided. The default is 15.

*/ inline bool SimulationUnitLimitHasBeenSet() const { return m_simulationUnitLimitHasBeenSet; } /** *

The simulation unit limit. Your simulation is allocated CPU and memory * proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu * and 2GB of memory. You are only billed for the SU utilization you consume up to * the maximim value provided. The default is 15.

*/ inline void SetSimulationUnitLimit(int value) { m_simulationUnitLimitHasBeenSet = true; m_simulationUnitLimit = value; } /** *

The simulation unit limit. Your simulation is allocated CPU and memory * proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu * and 2GB of memory. You are only billed for the SU utilization you consume up to * the maximim value provided. The default is 15.

*/ inline Compute& WithSimulationUnitLimit(int value) { SetSimulationUnitLimit(value); return *this;} private: int m_simulationUnitLimit; bool m_simulationUnitLimitHasBeenSet; }; } // namespace Model } // namespace RoboMaker } // namespace Aws