/*
* 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 quicksight-2018-04-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.QuickSight.Model
{
///
/// The refresh schedule of a dataset.
///
public partial class RefreshSchedule
{
private string _arn;
private IngestionType _refreshType;
private RefreshFrequency _scheduleFrequency;
private string _scheduleId;
private DateTime? _startAfterDateTime;
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) for the refresh schedule.
///
///
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property RefreshType.
///
/// The type of refresh that a datset undergoes. Valid values are as follows:
///
/// -
///
///
FULL_REFRESH
: A complete refresh of a dataset.
///
/// -
///
///
INCREMENTAL_REFRESH
: A partial refresh of some rows of a dataset, based
/// on the time window specified.
///
///
///
/// For more information on full and incremental refreshes, see Refreshing
/// SPICE data in the Amazon QuickSight User Guide.
///
///
[AWSProperty(Required=true)]
public IngestionType RefreshType
{
get { return this._refreshType; }
set { this._refreshType = value; }
}
// Check to see if RefreshType property is set
internal bool IsSetRefreshType()
{
return this._refreshType != null;
}
///
/// Gets and sets the property ScheduleFrequency.
///
/// The frequency for the refresh schedule.
///
///
[AWSProperty(Required=true)]
public RefreshFrequency ScheduleFrequency
{
get { return this._scheduleFrequency; }
set { this._scheduleFrequency = value; }
}
// Check to see if ScheduleFrequency property is set
internal bool IsSetScheduleFrequency()
{
return this._scheduleFrequency != null;
}
///
/// Gets and sets the property ScheduleId.
///
/// An identifier for the refresh schedule.
///
///
[AWSProperty(Required=true)]
public string ScheduleId
{
get { return this._scheduleId; }
set { this._scheduleId = value; }
}
// Check to see if ScheduleId property is set
internal bool IsSetScheduleId()
{
return this._scheduleId != null;
}
///
/// Gets and sets the property StartAfterDateTime.
///
/// Time after which the refresh schedule can be started, expressed in YYYY-MM-DDTHH:MM:SS
/// format.
///
///
public DateTime StartAfterDateTime
{
get { return this._startAfterDateTime.GetValueOrDefault(); }
set { this._startAfterDateTime = value; }
}
// Check to see if StartAfterDateTime property is set
internal bool IsSetStartAfterDateTime()
{
return this._startAfterDateTime.HasValue;
}
}
}