/*
* 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 workspaces-2015-04-08.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.WorkSpaces.Model
{
///
/// Information about the standby WorkSpace.
///
public partial class PendingCreateStandbyWorkspacesRequest
{
private string _directoryId;
private WorkspaceState _state;
private string _userName;
private string _workspaceId;
///
/// Gets and sets the property DirectoryId.
///
/// The identifier of the directory for the standby WorkSpace.
///
///
[AWSProperty(Min=10, Max=65)]
public string DirectoryId
{
get { return this._directoryId; }
set { this._directoryId = value; }
}
// Check to see if DirectoryId property is set
internal bool IsSetDirectoryId()
{
return this._directoryId != null;
}
///
/// Gets and sets the property State.
///
/// The operational state of the standby WorkSpace.
///
///
public WorkspaceState 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 UserName.
///
/// Describes the standby WorkSpace that was created.
///
///
///
/// Because this operation is asynchronous, the identifier returned is not immediately
/// available for use with other operations. For example, if you call
/// DescribeWorkspaces before the WorkSpace is created, the information returned can
/// be incomplete.
///
///
[AWSProperty(Min=1, Max=63)]
public string UserName
{
get { return this._userName; }
set { this._userName = value; }
}
// Check to see if UserName property is set
internal bool IsSetUserName()
{
return this._userName != null;
}
///
/// Gets and sets the property WorkspaceId.
///
/// The identifier of the standby WorkSpace.
///
///
public string WorkspaceId
{
get { return this._workspaceId; }
set { this._workspaceId = value; }
}
// Check to see if WorkspaceId property is set
internal bool IsSetWorkspaceId()
{
return this._workspaceId != null;
}
}
}