/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Compute information for the simulation jobSee Also:
AWS
* API Reference
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 maximum 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 maximum 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 maximum 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 maximum value provided. The default is 15.
*/ inline ComputeResponse& WithSimulationUnitLimit(int value) { SetSimulationUnitLimit(value); return *this;} /** *Compute type response information for the simulation job.
*/ inline const ComputeType& GetComputeType() const{ return m_computeType; } /** *Compute type response information for the simulation job.
*/ inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; } /** *Compute type response information for the simulation job.
*/ inline void SetComputeType(const ComputeType& value) { m_computeTypeHasBeenSet = true; m_computeType = value; } /** *Compute type response information for the simulation job.
*/ inline void SetComputeType(ComputeType&& value) { m_computeTypeHasBeenSet = true; m_computeType = std::move(value); } /** *Compute type response information for the simulation job.
*/ inline ComputeResponse& WithComputeType(const ComputeType& value) { SetComputeType(value); return *this;} /** *Compute type response information for the simulation job.
*/ inline ComputeResponse& WithComputeType(ComputeType&& value) { SetComputeType(std::move(value)); return *this;} /** *Compute GPU unit limit for the simulation job. It is the same as the number * of GPUs allocated to the SimulationJob.
*/ inline int GetGpuUnitLimit() const{ return m_gpuUnitLimit; } /** *Compute GPU unit limit for the simulation job. It is the same as the number * of GPUs allocated to the SimulationJob.
*/ inline bool GpuUnitLimitHasBeenSet() const { return m_gpuUnitLimitHasBeenSet; } /** *Compute GPU unit limit for the simulation job. It is the same as the number * of GPUs allocated to the SimulationJob.
*/ inline void SetGpuUnitLimit(int value) { m_gpuUnitLimitHasBeenSet = true; m_gpuUnitLimit = value; } /** *Compute GPU unit limit for the simulation job. It is the same as the number * of GPUs allocated to the SimulationJob.
*/ inline ComputeResponse& WithGpuUnitLimit(int value) { SetGpuUnitLimit(value); return *this;} private: int m_simulationUnitLimit; bool m_simulationUnitLimitHasBeenSet = false; ComputeType m_computeType; bool m_computeTypeHasBeenSet = false; int m_gpuUnitLimit; bool m_gpuUnitLimitHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws