/*
* 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 fsx-2018-03-01.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.FSx.Model
{
///
/// This is the response object from the RestoreVolumeFromSnapshot operation.
///
public partial class RestoreVolumeFromSnapshotResponse : AmazonWebServiceResponse
{
private List _administrativeActions = new List();
private VolumeLifecycle _lifecycle;
private string _volumeId;
///
/// Gets and sets the property AdministrativeActions.
///
/// A list of administrative actions for the file system that are in process or waiting
/// to be processed. Administrative actions describe changes to the Amazon FSx system.
///
///
[AWSProperty(Max=50)]
public List AdministrativeActions
{
get { return this._administrativeActions; }
set { this._administrativeActions = value; }
}
// Check to see if AdministrativeActions property is set
internal bool IsSetAdministrativeActions()
{
return this._administrativeActions != null && this._administrativeActions.Count > 0;
}
///
/// Gets and sets the property Lifecycle.
///
/// The lifecycle state of the volume being restored.
///
///
public VolumeLifecycle Lifecycle
{
get { return this._lifecycle; }
set { this._lifecycle = value; }
}
// Check to see if Lifecycle property is set
internal bool IsSetLifecycle()
{
return this._lifecycle != null;
}
///
/// Gets and sets the property VolumeId.
///
/// The ID of the volume that you restored.
///
///
[AWSProperty(Min=23, Max=23)]
public string VolumeId
{
get { return this._volumeId; }
set { this._volumeId = value; }
}
// Check to see if VolumeId property is set
internal bool IsSetVolumeId()
{
return this._volumeId != null;
}
}
}