/* * 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 launch configuration. /// public partial class LaunchConfig { private List _command = new List(); private Dictionary _environmentVariables = new Dictionary(); private string _launchFile; private string _packageName; private PortForwardingConfig _portForwardingConfig; private bool? _streamui; /// /// Gets and sets the property Command. /// /// If you've specified General as the value for your RobotSoftwareSuite, /// you can use this field to specify a list of commands for your container image. /// /// /// /// If you've specified SimulationRuntime as the value for your SimulationSoftwareSuite, /// you can use this field to specify a list of commands for your container image. /// /// public List Command { get { return this._command; } set { this._command = value; } } // Check to see if Command property is set internal bool IsSetCommand() { return this._command != null && this._command.Count > 0; } /// /// Gets and sets the property EnvironmentVariables. /// /// The environment variables for the application launch. /// /// [AWSProperty(Min=0, Max=20)] public Dictionary EnvironmentVariables { get { return this._environmentVariables; } set { this._environmentVariables = value; } } // Check to see if EnvironmentVariables property is set internal bool IsSetEnvironmentVariables() { return this._environmentVariables != null && this._environmentVariables.Count > 0; } /// /// Gets and sets the property LaunchFile. /// /// The launch file name. /// /// [AWSProperty(Min=1, Max=1024)] public string LaunchFile { get { return this._launchFile; } set { this._launchFile = value; } } // Check to see if LaunchFile property is set internal bool IsSetLaunchFile() { return this._launchFile != null; } /// /// Gets and sets the property PackageName. /// /// The package name. /// /// [AWSProperty(Min=1, Max=1024)] public string PackageName { get { return this._packageName; } set { this._packageName = value; } } // Check to see if PackageName property is set internal bool IsSetPackageName() { return this._packageName != null; } /// /// Gets and sets the property PortForwardingConfig. /// /// The port forwarding configuration. /// /// public PortForwardingConfig PortForwardingConfig { get { return this._portForwardingConfig; } set { this._portForwardingConfig = value; } } // Check to see if PortForwardingConfig property is set internal bool IsSetPortForwardingConfig() { return this._portForwardingConfig != null; } /// /// Gets and sets the property StreamUI. /// /// Boolean indicating whether a streaming session will be configured for the application. /// If True, AWS RoboMaker will configure a connection so you can interact /// with your application as it is running in the simulation. You must configure and launch /// the component. It must have a graphical user interface. /// /// public bool StreamUI { get { return this._streamui.GetValueOrDefault(); } set { this._streamui = value; } } // Check to see if StreamUI property is set internal bool IsSetStreamUI() { return this._streamui.HasValue; } } }