/*
* 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
{
///
/// Information about a simulation application configuration.
///
public partial class SimulationApplicationConfig
{
private string _application;
private string _applicationVersion;
private LaunchConfig _launchConfig;
private List _tools = new List();
private List _uploadConfigurations = new List();
private bool? _useDefaultTools;
private bool? _useDefaultUploadConfigurations;
private List _worldConfigs = new List();
///
/// Gets and sets the property Application.
///
/// The application information for the simulation application.
///
///
[AWSProperty(Required=true, Min=1, Max=1224)]
public string Application
{
get { return this._application; }
set { this._application = value; }
}
// Check to see if Application property is set
internal bool IsSetApplication()
{
return this._application != null;
}
///
/// Gets and sets the property ApplicationVersion.
///
/// The version of the simulation application.
///
///
[AWSProperty(Min=1, Max=255)]
public string ApplicationVersion
{
get { return this._applicationVersion; }
set { this._applicationVersion = value; }
}
// Check to see if ApplicationVersion property is set
internal bool IsSetApplicationVersion()
{
return this._applicationVersion != null;
}
///
/// Gets and sets the property LaunchConfig.
///
/// The launch configuration for the simulation application.
///
///
[AWSProperty(Required=true)]
public LaunchConfig LaunchConfig
{
get { return this._launchConfig; }
set { this._launchConfig = value; }
}
// Check to see if LaunchConfig property is set
internal bool IsSetLaunchConfig()
{
return this._launchConfig != null;
}
///
/// Gets and sets the property Tools.
///
/// Information about tools configured for the simulation application.
///
///
[AWSProperty(Min=0, Max=10)]
public List Tools
{
get { return this._tools; }
set { this._tools = value; }
}
// Check to see if Tools property is set
internal bool IsSetTools()
{
return this._tools != null && this._tools.Count > 0;
}
///
/// Gets and sets the property UploadConfigurations.
///
/// Information about upload configurations for the simulation application.
///
///
[AWSProperty(Min=0, Max=10)]
public List UploadConfigurations
{
get { return this._uploadConfigurations; }
set { this._uploadConfigurations = value; }
}
// Check to see if UploadConfigurations property is set
internal bool IsSetUploadConfigurations()
{
return this._uploadConfigurations != null && this._uploadConfigurations.Count > 0;
}
///
/// Gets and sets the property UseDefaultTools.
///
/// A Boolean indicating whether to use default simulation application tools. The default
/// tools are rviz, rqt, terminal and rosbag record. The default is False
.
///
///
///
/// This API is no longer supported and will throw an error if used.
///
///
///
[Obsolete("AWS RoboMaker is ending support for ROS software suite. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/software-support-policy.html.")]
public bool UseDefaultTools
{
get { return this._useDefaultTools.GetValueOrDefault(); }
set { this._useDefaultTools = value; }
}
// Check to see if UseDefaultTools property is set
internal bool IsSetUseDefaultTools()
{
return this._useDefaultTools.HasValue;
}
///
/// Gets and sets the property UseDefaultUploadConfigurations.
///
/// A Boolean indicating whether to use default upload configurations. By default, .ros
/// and .gazebo
files are uploaded when the application terminates and all
/// ROS topics will be recorded.
///
///
///
/// If you set this value, you must specify an outputLocation
.
///
///
///
/// This API is no longer supported and will throw an error if used.
///
///
///
[Obsolete("AWS RoboMaker is ending support for ROS software suite. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/software-support-policy.html.")]
public bool UseDefaultUploadConfigurations
{
get { return this._useDefaultUploadConfigurations.GetValueOrDefault(); }
set { this._useDefaultUploadConfigurations = value; }
}
// Check to see if UseDefaultUploadConfigurations property is set
internal bool IsSetUseDefaultUploadConfigurations()
{
return this._useDefaultUploadConfigurations.HasValue;
}
///
/// Gets and sets the property WorldConfigs.
///
/// A list of world configurations.
///
///
[AWSProperty(Min=0, Max=1)]
public List WorldConfigs
{
get { return this._worldConfigs; }
set { this._worldConfigs = value; }
}
// Check to see if WorldConfigs property is set
internal bool IsSetWorldConfigs()
{
return this._worldConfigs != null && this._worldConfigs.Count > 0;
}
}
}