/*
* 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
{
///
/// This is the response object from the DescribeSnapshotSchedule operation.
///
public partial class DescribeSnapshotScheduleResponse : AmazonWebServiceResponse
{
private string _description;
private int? _recurrenceInHours;
private int? _startAt;
private List _tags = new List();
private string _timezone;
private string _volumeARN;
///
/// Gets and sets the property Description.
///
/// The snapshot description.
///
///
[AWSProperty(Min=1, Max=255)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property RecurrenceInHours.
///
/// The number of hours between snapshots.
///
///
[AWSProperty(Min=1, Max=24)]
public int RecurrenceInHours
{
get { return this._recurrenceInHours.GetValueOrDefault(); }
set { this._recurrenceInHours = value; }
}
// Check to see if RecurrenceInHours property is set
internal bool IsSetRecurrenceInHours()
{
return this._recurrenceInHours.HasValue;
}
///
/// Gets and sets the property StartAt.
///
/// The hour of the day at which the snapshot schedule begins represented as hh,
/// where hh is the hour (0 to 23). The hour of the day is in the time zone of
/// the gateway.
///
///
[AWSProperty(Min=0, Max=23)]
public int StartAt
{
get { return this._startAt.GetValueOrDefault(); }
set { this._startAt = value; }
}
// Check to see if StartAt property is set
internal bool IsSetStartAt()
{
return this._startAt.HasValue;
}
///
/// Gets and sets the property Tags.
///
/// A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by
/// key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned,
/// you can view all tags using the ListTagsForResource
API operation.
///
///
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;
}
///
/// Gets and sets the property Timezone.
///
/// A value that indicates the time zone of the gateway.
///
///
[AWSProperty(Min=3, Max=10)]
public string Timezone
{
get { return this._timezone; }
set { this._timezone = value; }
}
// Check to see if Timezone property is set
internal bool IsSetTimezone()
{
return this._timezone != null;
}
///
/// Gets and sets the property VolumeARN.
///
/// The Amazon Resource Name (ARN) of the volume that was specified in the request.
///
///
[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;
}
}
}