/*
* 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 ecs-2014-11-13.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.ECS.Model
{
///
/// This is the response object from the ExecuteCommand operation.
///
public partial class ExecuteCommandResponse : AmazonWebServiceResponse
{
private string _clusterArn;
private string _containerArn;
private string _containerName;
private bool? _interactive;
private Session _session;
private string _taskArn;
///
/// Gets and sets the property ClusterArn.
///
/// The Amazon Resource Name (ARN) of the cluster.
///
///
public string ClusterArn
{
get { return this._clusterArn; }
set { this._clusterArn = value; }
}
// Check to see if ClusterArn property is set
internal bool IsSetClusterArn()
{
return this._clusterArn != null;
}
///
/// Gets and sets the property ContainerArn.
///
/// The Amazon Resource Name (ARN) of the container.
///
///
public string ContainerArn
{
get { return this._containerArn; }
set { this._containerArn = value; }
}
// Check to see if ContainerArn property is set
internal bool IsSetContainerArn()
{
return this._containerArn != null;
}
///
/// Gets and sets the property ContainerName.
///
/// The name of the container.
///
///
public string ContainerName
{
get { return this._containerName; }
set { this._containerName = value; }
}
// Check to see if ContainerName property is set
internal bool IsSetContainerName()
{
return this._containerName != null;
}
///
/// Gets and sets the property Interactive.
///
/// Determines whether the execute command session is running in interactive mode. Amazon
/// ECS only supports initiating interactive sessions, so you must specify true
/// for this value.
///
///
public bool Interactive
{
get { return this._interactive.GetValueOrDefault(); }
set { this._interactive = value; }
}
// Check to see if Interactive property is set
internal bool IsSetInteractive()
{
return this._interactive.HasValue;
}
///
/// Gets and sets the property Session.
///
/// The details of the SSM session that was created for this instance of execute-command.
///
///
public Session Session
{
get { return this._session; }
set { this._session = value; }
}
// Check to see if Session property is set
internal bool IsSetSession()
{
return this._session != null;
}
///
/// Gets and sets the property TaskArn.
///
/// The Amazon Resource Name (ARN) of the task.
///
///
public string TaskArn
{
get { return this._taskArn; }
set { this._taskArn = value; }
}
// Check to see if TaskArn property is set
internal bool IsSetTaskArn()
{
return this._taskArn != null;
}
}
}