/*
* 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
{
///
/// Configuration information for a deployment launch.
///
public partial class DeploymentLaunchConfig
{
private Dictionary _environmentVariables = new Dictionary();
private string _launchFile;
private string _packageName;
private string _postLaunchFile;
private string _preLaunchFile;
///
/// Gets and sets the property EnvironmentVariables.
///
/// An array of key/value pairs specifying environment variables for the robot application
///
///
[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(Required=true, 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(Required=true, 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 PostLaunchFile.
///
/// The deployment post-launch file. This file will be executed after the launch file.
///
///
[AWSProperty(Min=1, Max=1024)]
public string PostLaunchFile
{
get { return this._postLaunchFile; }
set { this._postLaunchFile = value; }
}
// Check to see if PostLaunchFile property is set
internal bool IsSetPostLaunchFile()
{
return this._postLaunchFile != null;
}
///
/// Gets and sets the property PreLaunchFile.
///
/// The deployment pre-launch file. This file will be executed prior to the launch file.
///
///
[AWSProperty(Min=1, Max=1024)]
public string PreLaunchFile
{
get { return this._preLaunchFile; }
set { this._preLaunchFile = value; }
}
// Check to see if PreLaunchFile property is set
internal bool IsSetPreLaunchFile()
{
return this._preLaunchFile != null;
}
}
}