/*
* 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
{
///
/// This is the response object from the CreateWorkspaceImage operation.
///
public partial class CreateWorkspaceImageResponse : AmazonWebServiceResponse
{
private DateTime? _created;
private string _description;
private string _imageId;
private string _name;
private OperatingSystem _operatingSystem;
private string _ownerAccountId;
private WorkspaceImageRequiredTenancy _requiredTenancy;
private WorkspaceImageState _state;
///
/// Gets and sets the property Created.
///
/// The date when the image was created.
///
///
public DateTime Created
{
get { return this._created.GetValueOrDefault(); }
set { this._created = value; }
}
// Check to see if Created property is set
internal bool IsSetCreated()
{
return this._created.HasValue;
}
///
/// Gets and sets the property Description.
///
/// The description of the image.
///
///
[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 ImageId.
///
/// The identifier of the new WorkSpace image.
///
///
public string ImageId
{
get { return this._imageId; }
set { this._imageId = value; }
}
// Check to see if ImageId property is set
internal bool IsSetImageId()
{
return this._imageId != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the image.
///
///
[AWSProperty(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 OperatingSystem.
///
/// The operating system that the image is running.
///
///
public OperatingSystem OperatingSystem
{
get { return this._operatingSystem; }
set { this._operatingSystem = value; }
}
// Check to see if OperatingSystem property is set
internal bool IsSetOperatingSystem()
{
return this._operatingSystem != null;
}
///
/// Gets and sets the property OwnerAccountId.
///
/// The identifier of the Amazon Web Services account that owns the image.
///
///
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 RequiredTenancy.
///
/// Specifies whether the image is running on dedicated hardware. When Bring Your Own
/// License (BYOL) is enabled, this value is set to DEDICATED. For more information, see
///
/// Bring Your Own Windows Desktop Images..
///
///
public WorkspaceImageRequiredTenancy RequiredTenancy
{
get { return this._requiredTenancy; }
set { this._requiredTenancy = value; }
}
// Check to see if RequiredTenancy property is set
internal bool IsSetRequiredTenancy()
{
return this._requiredTenancy != null;
}
///
/// Gets and sets the property State.
///
/// The availability status of the image.
///
///
public WorkspaceImageState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
}
}