/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the robomaker-2018-06-29.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.RoboMaker.Model
{
///
/// Compute information for the simulation job
///
public partial class ComputeResponse
{
private ComputeType _computeType;
private int? _gpuUnitLimit;
private int? _simulationUnitLimit;
///
/// Gets and sets the property ComputeType.
///
/// Compute type response information for the simulation job.
///
///
public ComputeType ComputeType
{
get { return this._computeType; }
set { this._computeType = value; }
}
// Check to see if ComputeType property is set
internal bool IsSetComputeType()
{
return this._computeType != null;
}
///
/// Gets and sets the property GpuUnitLimit.
///
/// Compute GPU unit limit for the simulation job. It is the same as the number of GPUs
/// allocated to the SimulationJob.
///
///
[AWSProperty(Min=0, Max=1)]
public int GpuUnitLimit
{
get { return this._gpuUnitLimit.GetValueOrDefault(); }
set { this._gpuUnitLimit = value; }
}
// Check to see if GpuUnitLimit property is set
internal bool IsSetGpuUnitLimit()
{
return this._gpuUnitLimit.HasValue;
}
///
/// Gets and sets the property 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.
///
///
[AWSProperty(Min=1, Max=15)]
public int SimulationUnitLimit
{
get { return this._simulationUnitLimit.GetValueOrDefault(); }
set { this._simulationUnitLimit = value; }
}
// Check to see if SimulationUnitLimit property is set
internal bool IsSetSimulationUnitLimit()
{
return this._simulationUnitLimit.HasValue;
}
}
}