/*
* 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 ec2-2016-11-15.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.EC2.Model
{
///
/// Container for the parameters to the EnableFastSnapshotRestores operation.
/// Enables fast snapshot restores for the specified snapshots in the specified Availability
/// Zones.
///
///
///
/// You get the full benefit of fast snapshot restores after they enter the enabled
/// state. To get the current state of fast snapshot restores, use DescribeFastSnapshotRestores.
/// To disable fast snapshot restores, use DisableFastSnapshotRestores.
///
///
///
/// For more information, see Amazon
/// EBS fast snapshot restore in the Amazon Elastic Compute Cloud User Guide.
///
///
public partial class EnableFastSnapshotRestoresRequest : AmazonEC2Request
{
private List _availabilityZones = new List();
private List _sourceSnapshotIds = new List();
///
/// Gets and sets the property AvailabilityZones.
///
/// One or more Availability Zones. For example, us-east-2a
.
///
///
[AWSProperty(Required=true)]
public List AvailabilityZones
{
get { return this._availabilityZones; }
set { this._availabilityZones = value; }
}
// Check to see if AvailabilityZones property is set
internal bool IsSetAvailabilityZones()
{
return this._availabilityZones != null && this._availabilityZones.Count > 0;
}
///
/// Gets and sets the property SourceSnapshotIds.
///
/// The IDs of one or more snapshots. For example, snap-1234567890abcdef0
.
/// You can specify a snapshot that was shared with you from another Amazon Web Services
/// account.
///
///
[AWSProperty(Required=true)]
public List SourceSnapshotIds
{
get { return this._sourceSnapshotIds; }
set { this._sourceSnapshotIds = value; }
}
// Check to see if SourceSnapshotIds property is set
internal bool IsSetSourceSnapshotIds()
{
return this._sourceSnapshotIds != null && this._sourceSnapshotIds.Count > 0;
}
}
}