/*
* 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
{
///
/// Container for the parameters to the ImportWorkspaceImage operation.
/// Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon
/// WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your
/// Amazon Web Services account, and you must own the image. For more information about
/// creating BYOL images, see
/// Bring Your Own Windows Desktop Licenses.
///
public partial class ImportWorkspaceImageRequest : AmazonWorkSpacesRequest
{
private List _applications = new List();
private string _ec2ImageId;
private string _imageDescription;
private string _imageName;
private WorkspaceImageIngestionProcess _ingestionProcess;
private List _tags = new List();
///
/// Gets and sets the property Applications.
///
/// If specified, the version of Microsoft Office to subscribe to. Valid only for Windows
/// 10 and 11 BYOL images. For more information about subscribing to Office for BYOL images,
/// see
/// Bring Your Own Windows Desktop Licenses.
///
/// -
///
/// Although this parameter is an array, only one item is allowed at this time.
///
///
-
///
/// Windows 11 only supports
Microsoft_Office_2019
.
///
///
///
[AWSProperty(Min=1, Max=5)]
public List Applications
{
get { return this._applications; }
set { this._applications = value; }
}
// Check to see if Applications property is set
internal bool IsSetApplications()
{
return this._applications != null && this._applications.Count > 0;
}
///
/// Gets and sets the property Ec2ImageId.
///
/// The identifier of the EC2 image.
///
///
[AWSProperty(Required=true)]
public string Ec2ImageId
{
get { return this._ec2ImageId; }
set { this._ec2ImageId = value; }
}
// Check to see if Ec2ImageId property is set
internal bool IsSetEc2ImageId()
{
return this._ec2ImageId != null;
}
///
/// Gets and sets the property ImageDescription.
///
/// The description of the WorkSpace image.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string ImageDescription
{
get { return this._imageDescription; }
set { this._imageDescription = value; }
}
// Check to see if ImageDescription property is set
internal bool IsSetImageDescription()
{
return this._imageDescription != null;
}
///
/// Gets and sets the property ImageName.
///
/// The name of the WorkSpace image.
///
///
[AWSProperty(Required=true, Min=1, Max=64)]
public string ImageName
{
get { return this._imageName; }
set { this._imageName = value; }
}
// Check to see if ImageName property is set
internal bool IsSetImageName()
{
return this._imageName != null;
}
///
/// Gets and sets the property IngestionProcess.
///
/// The ingestion process to be used when importing the image, depending on which protocol
/// you want to use for your BYOL Workspace image, either PCoIP, WorkSpaces Streaming
/// Protocol (WSP), or bring your own protocol (BYOP). To use WSP, specify a value that
/// ends in _WSP
. To use PCoIP, specify a value that does not end in _WSP
.
/// To use BYOP, specify a value that ends in _BYOP
.
///
///
///
/// For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), specify
/// BYOL_REGULAR
, BYOL_REGULAR_WSP
, or BYOL_REGULAR_BYOP
,
/// depending on the protocol.
///
///
///
/// The BYOL_REGULAR_BYOP
and BYOL_GRAPHICS_G4DN_BYOP
values
/// are only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed
/// to use these values. For more information, see Amazon
/// WorkSpaces Core.
///
///
///
[AWSProperty(Required=true)]
public WorkspaceImageIngestionProcess IngestionProcess
{
get { return this._ingestionProcess; }
set { this._ingestionProcess = value; }
}
// Check to see if IngestionProcess property is set
internal bool IsSetIngestionProcess()
{
return this._ingestionProcess != null;
}
///
/// Gets and sets the property Tags.
///
/// The tags. Each WorkSpaces resource can have a maximum of 50 tags.
///
///
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;
}
}
}