/*
* 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 storagegateway-2013-06-30.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.StorageGateway.Model
{
///
/// Describes a storage volume recovery point object.
///
public partial class VolumeRecoveryPointInfo
{
private string _volumeARN;
private string _volumeRecoveryPointTime;
private long? _volumeSizeInBytes;
private long? _volumeUsageInBytes;
///
/// Gets and sets the property VolumeARN.
///
/// The Amazon Resource Name (ARN) of the volume target.
///
///
[AWSProperty(Min=50, Max=500)]
public string VolumeARN
{
get { return this._volumeARN; }
set { this._volumeARN = value; }
}
// Check to see if VolumeARN property is set
internal bool IsSetVolumeARN()
{
return this._volumeARN != null;
}
///
/// Gets and sets the property VolumeRecoveryPointTime.
///
/// The time the recovery point was taken.
///
///
public string VolumeRecoveryPointTime
{
get { return this._volumeRecoveryPointTime; }
set { this._volumeRecoveryPointTime = value; }
}
// Check to see if VolumeRecoveryPointTime property is set
internal bool IsSetVolumeRecoveryPointTime()
{
return this._volumeRecoveryPointTime != null;
}
///
/// Gets and sets the property VolumeSizeInBytes.
///
/// The size of the volume in bytes.
///
///
public long VolumeSizeInBytes
{
get { return this._volumeSizeInBytes.GetValueOrDefault(); }
set { this._volumeSizeInBytes = value; }
}
// Check to see if VolumeSizeInBytes property is set
internal bool IsSetVolumeSizeInBytes()
{
return this._volumeSizeInBytes.HasValue;
}
///
/// Gets and sets the property VolumeUsageInBytes.
///
/// The size of the data stored on the volume in bytes.
///
///
///
/// This value is not available for volumes created prior to May 13, 2015, until you store
/// data on the volume.
///
///
///
public long VolumeUsageInBytes
{
get { return this._volumeUsageInBytes.GetValueOrDefault(); }
set { this._volumeUsageInBytes = value; }
}
// Check to see if VolumeUsageInBytes property is set
internal bool IsSetVolumeUsageInBytes()
{
return this._volumeUsageInBytes.HasValue;
}
}
}