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

A summary of the refresh schedule details for a dataset.

See * Also:

AWS * API Reference

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

The ID of the dataset.

*/ inline const Aws::String& GetDatasetId() const{ return m_datasetId; } /** *

The ID of the dataset.

*/ inline bool DatasetIdHasBeenSet() const { return m_datasetIdHasBeenSet; } /** *

The ID of the dataset.

*/ inline void SetDatasetId(const Aws::String& value) { m_datasetIdHasBeenSet = true; m_datasetId = value; } /** *

The ID of the dataset.

*/ inline void SetDatasetId(Aws::String&& value) { m_datasetIdHasBeenSet = true; m_datasetId = std::move(value); } /** *

The ID of the dataset.

*/ inline void SetDatasetId(const char* value) { m_datasetIdHasBeenSet = true; m_datasetId.assign(value); } /** *

The ID of the dataset.

*/ inline TopicRefreshScheduleSummary& WithDatasetId(const Aws::String& value) { SetDatasetId(value); return *this;} /** *

The ID of the dataset.

*/ inline TopicRefreshScheduleSummary& WithDatasetId(Aws::String&& value) { SetDatasetId(std::move(value)); return *this;} /** *

The ID of the dataset.

*/ inline TopicRefreshScheduleSummary& WithDatasetId(const char* value) { SetDatasetId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline TopicRefreshScheduleSummary& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline TopicRefreshScheduleSummary& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline TopicRefreshScheduleSummary& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;} /** *

The name of the dataset.

*/ inline const Aws::String& GetDatasetName() const{ return m_datasetName; } /** *

The name of the dataset.

*/ inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; } /** *

The name of the dataset.

*/ inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; } /** *

The name of the dataset.

*/ inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); } /** *

The name of the dataset.

*/ inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); } /** *

The name of the dataset.

*/ inline TopicRefreshScheduleSummary& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;} /** *

The name of the dataset.

*/ inline TopicRefreshScheduleSummary& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;} /** *

The name of the dataset.

*/ inline TopicRefreshScheduleSummary& WithDatasetName(const char* value) { SetDatasetName(value); return *this;} /** *

The definition of a refresh schedule.

*/ inline const TopicRefreshSchedule& GetRefreshSchedule() const{ return m_refreshSchedule; } /** *

The definition of a refresh schedule.

*/ inline bool RefreshScheduleHasBeenSet() const { return m_refreshScheduleHasBeenSet; } /** *

The definition of a refresh schedule.

*/ inline void SetRefreshSchedule(const TopicRefreshSchedule& value) { m_refreshScheduleHasBeenSet = true; m_refreshSchedule = value; } /** *

The definition of a refresh schedule.

*/ inline void SetRefreshSchedule(TopicRefreshSchedule&& value) { m_refreshScheduleHasBeenSet = true; m_refreshSchedule = std::move(value); } /** *

The definition of a refresh schedule.

*/ inline TopicRefreshScheduleSummary& WithRefreshSchedule(const TopicRefreshSchedule& value) { SetRefreshSchedule(value); return *this;} /** *

The definition of a refresh schedule.

*/ inline TopicRefreshScheduleSummary& WithRefreshSchedule(TopicRefreshSchedule&& value) { SetRefreshSchedule(std::move(value)); return *this;} private: Aws::String m_datasetId; bool m_datasetIdHasBeenSet = false; Aws::String m_datasetArn; bool m_datasetArnHasBeenSet = false; Aws::String m_datasetName; bool m_datasetNameHasBeenSet = false; TopicRefreshSchedule m_refreshSchedule; bool m_refreshScheduleHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws