/** * 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 Appflow { namespace Model { /** *

Specifies the configuration used when importing incremental records from the * source.

See Also:

AWS * API Reference

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

A field that specifies the date time or timestamp field as the criteria to * use when importing incremental records from the source.

*/ inline const Aws::String& GetDatetimeTypeFieldName() const{ return m_datetimeTypeFieldName; } /** *

A field that specifies the date time or timestamp field as the criteria to * use when importing incremental records from the source.

*/ inline bool DatetimeTypeFieldNameHasBeenSet() const { return m_datetimeTypeFieldNameHasBeenSet; } /** *

A field that specifies the date time or timestamp field as the criteria to * use when importing incremental records from the source.

*/ inline void SetDatetimeTypeFieldName(const Aws::String& value) { m_datetimeTypeFieldNameHasBeenSet = true; m_datetimeTypeFieldName = value; } /** *

A field that specifies the date time or timestamp field as the criteria to * use when importing incremental records from the source.

*/ inline void SetDatetimeTypeFieldName(Aws::String&& value) { m_datetimeTypeFieldNameHasBeenSet = true; m_datetimeTypeFieldName = std::move(value); } /** *

A field that specifies the date time or timestamp field as the criteria to * use when importing incremental records from the source.

*/ inline void SetDatetimeTypeFieldName(const char* value) { m_datetimeTypeFieldNameHasBeenSet = true; m_datetimeTypeFieldName.assign(value); } /** *

A field that specifies the date time or timestamp field as the criteria to * use when importing incremental records from the source.

*/ inline IncrementalPullConfig& WithDatetimeTypeFieldName(const Aws::String& value) { SetDatetimeTypeFieldName(value); return *this;} /** *

A field that specifies the date time or timestamp field as the criteria to * use when importing incremental records from the source.

*/ inline IncrementalPullConfig& WithDatetimeTypeFieldName(Aws::String&& value) { SetDatetimeTypeFieldName(std::move(value)); return *this;} /** *

A field that specifies the date time or timestamp field as the criteria to * use when importing incremental records from the source.

*/ inline IncrementalPullConfig& WithDatetimeTypeFieldName(const char* value) { SetDatetimeTypeFieldName(value); return *this;} private: Aws::String m_datetimeTypeFieldName; bool m_datetimeTypeFieldNameHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws