/*
* 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 simspaceweaver-2022-10-28.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.SimSpaceWeaver.Model
{
///
/// Container for the parameters to the StartApp operation.
/// Starts a custom app with the configuration specified in the simulation schema.
///
public partial class StartAppRequest : AmazonSimSpaceWeaverRequest
{
private string _clientToken;
private string _description;
private string _domain;
private LaunchOverrides _launchOverrides;
private string _name;
private string _simulation;
///
/// Gets and sets the property ClientToken.
///
/// A value that you provide to ensure that repeated calls to this API operation using
/// the same parameters complete only once. A ClientToken
is also known as
/// an idempotency token. A ClientToken
expires after 24 hours.
///
///
[AWSProperty(Sensitive=true, Min=32, Max=128)]
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
///
/// Gets and sets the property Description.
///
/// The description of the app.
///
///
[AWSProperty(Min=0, Max=500)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property Domain.
///
/// The name of the domain of the app.
///
///
[AWSProperty(Required=true, Min=1, Max=64)]
public string Domain
{
get { return this._domain; }
set { this._domain = value; }
}
// Check to see if Domain property is set
internal bool IsSetDomain()
{
return this._domain != null;
}
///
/// Gets and sets the property LaunchOverrides.
///
public LaunchOverrides LaunchOverrides
{
get { return this._launchOverrides; }
set { this._launchOverrides = value; }
}
// Check to see if LaunchOverrides property is set
internal bool IsSetLaunchOverrides()
{
return this._launchOverrides != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the app.
///
///
[AWSProperty(Required=true, Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Simulation.
///
/// The name of the simulation of the app.
///
///
[AWSProperty(Required=true, Min=1, Max=64)]
public string Simulation
{
get { return this._simulation; }
set { this._simulation = value; }
}
// Check to see if Simulation property is set
internal bool IsSetSimulation()
{
return this._simulation != null;
}
}
}