/*
* 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 migration-hub-refactor-spaces-2021-10-26.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.MigrationHubRefactorSpaces.Model
{
///
/// This is the response object from the CreateEnvironment operation.
///
public partial class CreateEnvironmentResponse : AmazonWebServiceResponse
{
private string _arn;
private DateTime? _createdTime;
private string _description;
private string _environmentId;
private DateTime? _lastUpdatedTime;
private string _name;
private NetworkFabricType _networkFabricType;
private string _ownerAccountId;
private EnvironmentState _state;
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) of the environment.
///
///
[AWSProperty(Min=20, Max=2048)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property CreatedTime.
///
/// A timestamp that indicates when the environment is created.
///
///
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
///
/// Gets and sets the property Description.
///
/// A description of the environment.
///
///
[AWSProperty(Min=1, Max=256)]
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 EnvironmentId.
///
/// The unique identifier of the environment.
///
///
[AWSProperty(Min=14, Max=14)]
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 LastUpdatedTime.
///
/// A timestamp that indicates when the environment was last updated.
///
///
public DateTime LastUpdatedTime
{
get { return this._lastUpdatedTime.GetValueOrDefault(); }
set { this._lastUpdatedTime = value; }
}
// Check to see if LastUpdatedTime property is set
internal bool IsSetLastUpdatedTime()
{
return this._lastUpdatedTime.HasValue;
}
///
/// Gets and sets the property Name.
///
/// The name of the environment.
///
///
[AWSProperty(Min=3, Max=63)]
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 NetworkFabricType.
///
/// The network fabric type of the environment.
///
///
public NetworkFabricType NetworkFabricType
{
get { return this._networkFabricType; }
set { this._networkFabricType = value; }
}
// Check to see if NetworkFabricType property is set
internal bool IsSetNetworkFabricType()
{
return this._networkFabricType != null;
}
///
/// Gets and sets the property OwnerAccountId.
///
/// The Amazon Web Services account ID of environment owner.
///
///
[AWSProperty(Min=12, Max=12)]
public string OwnerAccountId
{
get { return this._ownerAccountId; }
set { this._ownerAccountId = value; }
}
// Check to see if OwnerAccountId property is set
internal bool IsSetOwnerAccountId()
{
return this._ownerAccountId != null;
}
///
/// Gets and sets the property State.
///
/// The current state of the environment.
///
///
public EnvironmentState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
///
/// Gets and sets the property Tags.
///
/// The tags assigned to the created environment. A tag is a label that you assign to
/// an Amazon Web Services resource. Each tag consists of a key-value pair..
///
///
[AWSProperty(Sensitive=true, Min=0, Max=50)]
public Dictionary Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}