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

The refresh schedule of a dataset.

See Also:

AWS * API Reference

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

An identifier for the refresh schedule.

*/ inline const Aws::String& GetScheduleId() const{ return m_scheduleId; } /** *

An identifier for the refresh schedule.

*/ inline bool ScheduleIdHasBeenSet() const { return m_scheduleIdHasBeenSet; } /** *

An identifier for the refresh schedule.

*/ inline void SetScheduleId(const Aws::String& value) { m_scheduleIdHasBeenSet = true; m_scheduleId = value; } /** *

An identifier for the refresh schedule.

*/ inline void SetScheduleId(Aws::String&& value) { m_scheduleIdHasBeenSet = true; m_scheduleId = std::move(value); } /** *

An identifier for the refresh schedule.

*/ inline void SetScheduleId(const char* value) { m_scheduleIdHasBeenSet = true; m_scheduleId.assign(value); } /** *

An identifier for the refresh schedule.

*/ inline RefreshSchedule& WithScheduleId(const Aws::String& value) { SetScheduleId(value); return *this;} /** *

An identifier for the refresh schedule.

*/ inline RefreshSchedule& WithScheduleId(Aws::String&& value) { SetScheduleId(std::move(value)); return *this;} /** *

An identifier for the refresh schedule.

*/ inline RefreshSchedule& WithScheduleId(const char* value) { SetScheduleId(value); return *this;} /** *

The frequency for the refresh schedule.

*/ inline const RefreshFrequency& GetScheduleFrequency() const{ return m_scheduleFrequency; } /** *

The frequency for the refresh schedule.

*/ inline bool ScheduleFrequencyHasBeenSet() const { return m_scheduleFrequencyHasBeenSet; } /** *

The frequency for the refresh schedule.

*/ inline void SetScheduleFrequency(const RefreshFrequency& value) { m_scheduleFrequencyHasBeenSet = true; m_scheduleFrequency = value; } /** *

The frequency for the refresh schedule.

*/ inline void SetScheduleFrequency(RefreshFrequency&& value) { m_scheduleFrequencyHasBeenSet = true; m_scheduleFrequency = std::move(value); } /** *

The frequency for the refresh schedule.

*/ inline RefreshSchedule& WithScheduleFrequency(const RefreshFrequency& value) { SetScheduleFrequency(value); return *this;} /** *

The frequency for the refresh schedule.

*/ inline RefreshSchedule& WithScheduleFrequency(RefreshFrequency&& value) { SetScheduleFrequency(std::move(value)); return *this;} /** *

Time after which the refresh schedule can be started, expressed in * YYYY-MM-DDTHH:MM:SS format.

*/ inline const Aws::Utils::DateTime& GetStartAfterDateTime() const{ return m_startAfterDateTime; } /** *

Time after which the refresh schedule can be started, expressed in * YYYY-MM-DDTHH:MM:SS format.

*/ inline bool StartAfterDateTimeHasBeenSet() const { return m_startAfterDateTimeHasBeenSet; } /** *

Time after which the refresh schedule can be started, expressed in * YYYY-MM-DDTHH:MM:SS format.

*/ inline void SetStartAfterDateTime(const Aws::Utils::DateTime& value) { m_startAfterDateTimeHasBeenSet = true; m_startAfterDateTime = value; } /** *

Time after which the refresh schedule can be started, expressed in * YYYY-MM-DDTHH:MM:SS format.

*/ inline void SetStartAfterDateTime(Aws::Utils::DateTime&& value) { m_startAfterDateTimeHasBeenSet = true; m_startAfterDateTime = std::move(value); } /** *

Time after which the refresh schedule can be started, expressed in * YYYY-MM-DDTHH:MM:SS format.

*/ inline RefreshSchedule& WithStartAfterDateTime(const Aws::Utils::DateTime& value) { SetStartAfterDateTime(value); return *this;} /** *

Time after which the refresh schedule can be started, expressed in * YYYY-MM-DDTHH:MM:SS format.

*/ inline RefreshSchedule& WithStartAfterDateTime(Aws::Utils::DateTime&& value) { SetStartAfterDateTime(std::move(value)); return *this;} /** *

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.

*/ inline const IngestionType& GetRefreshType() const{ return m_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.

*/ inline bool RefreshTypeHasBeenSet() const { return m_refreshTypeHasBeenSet; } /** *

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.

*/ inline void SetRefreshType(const IngestionType& value) { m_refreshTypeHasBeenSet = true; m_refreshType = value; } /** *

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.

*/ inline void SetRefreshType(IngestionType&& value) { m_refreshTypeHasBeenSet = true; m_refreshType = std::move(value); } /** *

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.

*/ inline RefreshSchedule& WithRefreshType(const IngestionType& value) { SetRefreshType(value); return *this;} /** *

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.

*/ inline RefreshSchedule& WithRefreshType(IngestionType&& value) { SetRefreshType(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the refresh schedule.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) for the refresh schedule.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the refresh schedule.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) for the refresh schedule.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the refresh schedule.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) for the refresh schedule.

*/ inline RefreshSchedule& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the refresh schedule.

*/ inline RefreshSchedule& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the refresh schedule.

*/ inline RefreshSchedule& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_scheduleId; bool m_scheduleIdHasBeenSet = false; RefreshFrequency m_scheduleFrequency; bool m_scheduleFrequencyHasBeenSet = false; Aws::Utils::DateTime m_startAfterDateTime; bool m_startAfterDateTimeHasBeenSet = false; IngestionType m_refreshType; bool m_refreshTypeHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws