/*
* 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 appsync-2017-07-25.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.AppSync.Model
{
///
/// Describes a Delta Sync configuration.
///
public partial class DeltaSyncConfig
{
private long? _baseTableTTL;
private string _deltaSyncTableName;
private long? _deltaSyncTableTTL;
///
/// Gets and sets the property BaseTableTTL.
///
/// The number of minutes that an Item is stored in the data source.
///
///
public long BaseTableTTL
{
get { return this._baseTableTTL.GetValueOrDefault(); }
set { this._baseTableTTL = value; }
}
// Check to see if BaseTableTTL property is set
internal bool IsSetBaseTableTTL()
{
return this._baseTableTTL.HasValue;
}
///
/// Gets and sets the property DeltaSyncTableName.
///
/// The Delta Sync table name.
///
///
public string DeltaSyncTableName
{
get { return this._deltaSyncTableName; }
set { this._deltaSyncTableName = value; }
}
// Check to see if DeltaSyncTableName property is set
internal bool IsSetDeltaSyncTableName()
{
return this._deltaSyncTableName != null;
}
///
/// Gets and sets the property DeltaSyncTableTTL.
///
/// The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.
///
///
public long DeltaSyncTableTTL
{
get { return this._deltaSyncTableTTL.GetValueOrDefault(); }
set { this._deltaSyncTableTTL = value; }
}
// Check to see if DeltaSyncTableTTL property is set
internal bool IsSetDeltaSyncTableTTL()
{
return this._deltaSyncTableTTL.HasValue;
}
}
}