/* * 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 standby WorkSpace. /// public partial class StandbyWorkspace { private string _directoryId; private string _primaryWorkspaceId; private List _tags = new List(); private string _volumeEncryptionKey; /// /// Gets and sets the property DirectoryId. /// /// The identifier of the directory for the standby WorkSpace. /// /// [AWSProperty(Required=true, 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 PrimaryWorkspaceId. /// /// The identifier of the standby WorkSpace. /// /// [AWSProperty(Required=true)] public string PrimaryWorkspaceId { get { return this._primaryWorkspaceId; } set { this._primaryWorkspaceId = value; } } // Check to see if PrimaryWorkspaceId property is set internal bool IsSetPrimaryWorkspaceId() { return this._primaryWorkspaceId != null; } /// /// Gets and sets the property Tags. /// /// The tags associated with the standby WorkSpace. /// /// public List 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; } /// /// Gets and sets the property VolumeEncryptionKey. /// /// The volume encryption key of the standby WorkSpace. /// /// public string VolumeEncryptionKey { get { return this._volumeEncryptionKey; } set { this._volumeEncryptionKey = value; } } // Check to see if VolumeEncryptionKey property is set internal bool IsSetVolumeEncryptionKey() { return this._volumeEncryptionKey != null; } } }