/** * 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 AWS_APPSYNC_API DeltaSyncConfig { public: DeltaSyncConfig(); DeltaSyncConfig(Aws::Utils::Json::JsonView jsonValue); DeltaSyncConfig& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The number of minutes an Item is stored in the datasource.

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

The number of minutes an Item is stored in the datasource.

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

The number of minutes an Item is stored in the datasource.

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

The number of minutes an Item is stored in the datasource.

*/ 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 a Delta Sync log entry is stored in the Delta Sync * table.

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

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

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

The number of minutes 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 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; Aws::String m_deltaSyncTableName; bool m_deltaSyncTableNameHasBeenSet; long long m_deltaSyncTableTTL; bool m_deltaSyncTableTTLHasBeenSet; }; } // namespace Model } // namespace AppSync } // namespace Aws