/*
* 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 m2-2021-04-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.MainframeModernization.Model
{
///
/// Contains a subset of the possible runtime environment attributes. Used in the environment
/// list.
///
public partial class EnvironmentSummary
{
private DateTime? _creationTime;
private EngineType _engineType;
private string _engineVersion;
private string _environmentArn;
private string _environmentId;
private string _instanceType;
private string _name;
private EnvironmentLifecycle _status;
///
/// Gets and sets the property CreationTime.
///
/// The timestamp when the runtime environment was created.
///
///
[AWSProperty(Required=true)]
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property EngineType.
///
/// The target platform for the runtime environment.
///
///
[AWSProperty(Required=true)]
public EngineType EngineType
{
get { return this._engineType; }
set { this._engineType = value; }
}
// Check to see if EngineType property is set
internal bool IsSetEngineType()
{
return this._engineType != null;
}
///
/// Gets and sets the property EngineVersion.
///
/// The version of the runtime engine.
///
///
[AWSProperty(Required=true)]
public string EngineVersion
{
get { return this._engineVersion; }
set { this._engineVersion = value; }
}
// Check to see if EngineVersion property is set
internal bool IsSetEngineVersion()
{
return this._engineVersion != null;
}
///
/// Gets and sets the property EnvironmentArn.
///
/// The Amazon Resource Name (ARN) of a particular runtime environment.
///
///
[AWSProperty(Required=true)]
public string EnvironmentArn
{
get { return this._environmentArn; }
set { this._environmentArn = value; }
}
// Check to see if EnvironmentArn property is set
internal bool IsSetEnvironmentArn()
{
return this._environmentArn != null;
}
///
/// Gets and sets the property EnvironmentId.
///
/// The unique identifier of a particular runtime environment.
///
///
[AWSProperty(Required=true)]
public string EnvironmentId
{
get { return this._environmentId; }
set { this._environmentId = value; }
}
// Check to see if EnvironmentId property is set
internal bool IsSetEnvironmentId()
{
return this._environmentId != null;
}
///
/// Gets and sets the property InstanceType.
///
/// The instance type of the runtime environment.
///
///
[AWSProperty(Required=true)]
public string InstanceType
{
get { return this._instanceType; }
set { this._instanceType = value; }
}
// Check to see if InstanceType property is set
internal bool IsSetInstanceType()
{
return this._instanceType != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the runtime environment.
///
///
[AWSProperty(Required=true)]
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 Status.
///
/// The status of the runtime environment
///
///
[AWSProperty(Required=true)]
public EnvironmentLifecycle Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}