/*
* 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
{
///
/// Describes a WorkSpace bundle.
///
public partial class WorkspaceBundle
{
private string _bundleId;
private BundleType _bundleType;
private ComputeType _computeType;
private DateTime? _creationTime;
private string _description;
private string _imageId;
private DateTime? _lastUpdatedTime;
private string _name;
private string _owner;
private RootStorage _rootStorage;
private WorkspaceBundleState _state;
private UserStorage _userStorage;
///
/// Gets and sets the property BundleId.
///
/// The identifier of the bundle.
///
///
public string BundleId
{
get { return this._bundleId; }
set { this._bundleId = value; }
}
// Check to see if BundleId property is set
internal bool IsSetBundleId()
{
return this._bundleId != null;
}
///
/// Gets and sets the property BundleType.
///
/// The type of WorkSpace bundle.
///
///
public BundleType BundleType
{
get { return this._bundleType; }
set { this._bundleType = value; }
}
// Check to see if BundleType property is set
internal bool IsSetBundleType()
{
return this._bundleType != null;
}
///
/// Gets and sets the property ComputeType.
///
/// The compute type of the bundle. For more information, see Amazon
/// WorkSpaces Bundles.
///
///
public ComputeType ComputeType
{
get { return this._computeType; }
set { this._computeType = value; }
}
// Check to see if ComputeType property is set
internal bool IsSetComputeType()
{
return this._computeType != null;
}
///
/// Gets and sets the property CreationTime.
///
/// The time when the bundle was created.
///
///
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 Description.
///
/// The description of the bundle.
///
///
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 image that was used to create the bundle.
///
///
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 LastUpdatedTime.
///
/// The last time that the bundle was 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 bundle.
///
///
[AWSProperty(Min=1)]
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 Owner.
///
/// The owner of the bundle. This is the account identifier of the owner, or AMAZON
/// if the bundle is provided by Amazon Web Services.
///
///
public string Owner
{
get { return this._owner; }
set { this._owner = value; }
}
// Check to see if Owner property is set
internal bool IsSetOwner()
{
return this._owner != null;
}
///
/// Gets and sets the property RootStorage.
///
/// The size of the root volume.
///
///
public RootStorage RootStorage
{
get { return this._rootStorage; }
set { this._rootStorage = value; }
}
// Check to see if RootStorage property is set
internal bool IsSetRootStorage()
{
return this._rootStorage != null;
}
///
/// Gets and sets the property State.
///
/// The state of the WorkSpace bundle.
///
///
public WorkspaceBundleState 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 UserStorage.
///
/// The size of the user volume.
///
///
public UserStorage UserStorage
{
get { return this._userStorage; }
set { this._userStorage = value; }
}
// Check to see if UserStorage property is set
internal bool IsSetUserStorage()
{
return this._userStorage != null;
}
}
}