/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AppSync { namespace Model { /** *

Describes a Delta Sync configuration.

See Also:

AWS * API Reference

*/ class DeltaSyncConfig { public: AWS_APPSYNC_API DeltaSyncConfig(); AWS_APPSYNC_API DeltaSyncConfig(Aws::Utils::Json::JsonView jsonValue); AWS_APPSYNC_API DeltaSyncConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The number of minutes that an Item is stored in the data source.

*/ inline long long GetBaseTableTTL() const{ return m_baseTableTTL; } /** *

The number of minutes that an Item is stored in the data source.

*/ inline bool BaseTableTTLHasBeenSet() const { return m_baseTableTTLHasBeenSet; } /** *

The number of minutes that an Item is stored in the data source.

*/ inline void SetBaseTableTTL(long long value) { m_baseTableTTLHasBeenSet = true; m_baseTableTTL = value; } /** *

The number of minutes that an Item is stored in the data source.

*/ inline DeltaSyncConfig& WithBaseTableTTL(long long value) { SetBaseTableTTL(value); return *this;} /** *

The Delta Sync table name.

*/ inline const Aws::String& GetDeltaSyncTableName() const{ return m_deltaSyncTableName; } /** *

The Delta Sync table name.

*/ inline bool DeltaSyncTableNameHasBeenSet() const { return m_deltaSyncTableNameHasBeenSet; } /** *

The Delta Sync table name.

*/ inline void SetDeltaSyncTableName(const Aws::String& value) { m_deltaSyncTableNameHasBeenSet = true; m_deltaSyncTableName = value; } /** *

The Delta Sync table name.

*/ inline void SetDeltaSyncTableName(Aws::String&& value) { m_deltaSyncTableNameHasBeenSet = true; m_deltaSyncTableName = std::move(value); } /** *

The Delta Sync table name.

*/ inline void SetDeltaSyncTableName(const char* value) { m_deltaSyncTableNameHasBeenSet = true; m_deltaSyncTableName.assign(value); } /** *

The Delta Sync table name.

*/ inline DeltaSyncConfig& WithDeltaSyncTableName(const Aws::String& value) { SetDeltaSyncTableName(value); return *this;} /** *

The Delta Sync table name.

*/ inline DeltaSyncConfig& WithDeltaSyncTableName(Aws::String&& value) { SetDeltaSyncTableName(std::move(value)); return *this;} /** *

The Delta Sync table name.

*/ inline DeltaSyncConfig& WithDeltaSyncTableName(const char* value) { SetDeltaSyncTableName(value); return *this;} /** *

The number of minutes that a Delta Sync log entry is stored in the Delta Sync * table.

*/ inline long long GetDeltaSyncTableTTL() const{ return m_deltaSyncTableTTL; } /** *

The number of minutes that a Delta Sync log entry is stored in the Delta Sync * table.

*/ inline bool DeltaSyncTableTTLHasBeenSet() const { return m_deltaSyncTableTTLHasBeenSet; } /** *

The number of minutes that a Delta Sync log entry is stored in the Delta Sync * table.

*/ inline void SetDeltaSyncTableTTL(long long value) { m_deltaSyncTableTTLHasBeenSet = true; m_deltaSyncTableTTL = value; } /** *

The number of minutes that a Delta Sync log entry is stored in the Delta Sync * table.

*/ inline DeltaSyncConfig& WithDeltaSyncTableTTL(long long value) { SetDeltaSyncTableTTL(value); return *this;} private: long long m_baseTableTTL; bool m_baseTableTTLHasBeenSet = false; Aws::String m_deltaSyncTableName; bool m_deltaSyncTableNameHasBeenSet = false; long long m_deltaSyncTableTTL; bool m_deltaSyncTableTTLHasBeenSet = false; }; } // namespace Model } // namespace AppSync } // namespace Aws