/*
* 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 drs-2020-02-26.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.Drs.Model
{
///
/// Properties of a conversion job
///
public partial class ConversionProperties
{
private string _dataTimestamp;
private bool? _forceUefi;
private string _rootVolumeName;
private Dictionary> _volumeToConversionMap = new Dictionary>();
private Dictionary _volumeToVolumeSize = new Dictionary();
///
/// Gets and sets the property DataTimestamp.
///
/// The timestamp of when the snapshot being converted was taken
///
///
[AWSProperty(Min=0, Max=65536)]
public string DataTimestamp
{
get { return this._dataTimestamp; }
set { this._dataTimestamp = value; }
}
// Check to see if DataTimestamp property is set
internal bool IsSetDataTimestamp()
{
return this._dataTimestamp != null;
}
///
/// Gets and sets the property ForceUefi.
///
/// Whether the volume being converted uses UEFI or not
///
///
public bool ForceUefi
{
get { return this._forceUefi.GetValueOrDefault(); }
set { this._forceUefi = value; }
}
// Check to see if ForceUefi property is set
internal bool IsSetForceUefi()
{
return this._forceUefi.HasValue;
}
///
/// Gets and sets the property RootVolumeName.
///
/// The root volume name of a conversion job
///
///
[AWSProperty(Min=0, Max=65536)]
public string RootVolumeName
{
get { return this._rootVolumeName; }
set { this._rootVolumeName = value; }
}
// Check to see if RootVolumeName property is set
internal bool IsSetRootVolumeName()
{
return this._rootVolumeName != null;
}
///
/// Gets and sets the property VolumeToConversionMap.
///
/// A mapping between the volumes being converted and the converted snapshot ids
///
///
public Dictionary> VolumeToConversionMap
{
get { return this._volumeToConversionMap; }
set { this._volumeToConversionMap = value; }
}
// Check to see if VolumeToConversionMap property is set
internal bool IsSetVolumeToConversionMap()
{
return this._volumeToConversionMap != null && this._volumeToConversionMap.Count > 0;
}
///
/// Gets and sets the property VolumeToVolumeSize.
///
/// A mapping between the volumes and their sizes
///
///
public Dictionary VolumeToVolumeSize
{
get { return this._volumeToVolumeSize; }
set { this._volumeToVolumeSize = value; }
}
// Check to see if VolumeToVolumeSize property is set
internal bool IsSetVolumeToVolumeSize()
{
return this._volumeToVolumeSize != null && this._volumeToVolumeSize.Count > 0;
}
}
}