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

Summary information about dataset contents.

See Also:

AWS * API Reference

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

The version of the dataset contents.

*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *

The version of the dataset contents.

*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *

The version of the dataset contents.

*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *

The version of the dataset contents.

*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *

The version of the dataset contents.

*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *

The version of the dataset contents.

*/ inline DatasetContentSummary& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *

The version of the dataset contents.

*/ inline DatasetContentSummary& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *

The version of the dataset contents.

*/ inline DatasetContentSummary& WithVersion(const char* value) { SetVersion(value); return *this;} /** *

The status of the dataset contents.

*/ inline const DatasetContentStatus& GetStatus() const{ return m_status; } /** *

The status of the dataset contents.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the dataset contents.

*/ inline void SetStatus(const DatasetContentStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the dataset contents.

*/ inline void SetStatus(DatasetContentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the dataset contents.

*/ inline DatasetContentSummary& WithStatus(const DatasetContentStatus& value) { SetStatus(value); return *this;} /** *

The status of the dataset contents.

*/ inline DatasetContentSummary& WithStatus(DatasetContentStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The actual time the creation of the dataset contents was started.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The actual time the creation of the dataset contents was started.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The actual time the creation of the dataset contents was started.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The actual time the creation of the dataset contents was started.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The actual time the creation of the dataset contents was started.

*/ inline DatasetContentSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The actual time the creation of the dataset contents was started.

*/ inline DatasetContentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The time the creation of the dataset contents was scheduled to start.

*/ inline const Aws::Utils::DateTime& GetScheduleTime() const{ return m_scheduleTime; } /** *

The time the creation of the dataset contents was scheduled to start.

*/ inline bool ScheduleTimeHasBeenSet() const { return m_scheduleTimeHasBeenSet; } /** *

The time the creation of the dataset contents was scheduled to start.

*/ inline void SetScheduleTime(const Aws::Utils::DateTime& value) { m_scheduleTimeHasBeenSet = true; m_scheduleTime = value; } /** *

The time the creation of the dataset contents was scheduled to start.

*/ inline void SetScheduleTime(Aws::Utils::DateTime&& value) { m_scheduleTimeHasBeenSet = true; m_scheduleTime = std::move(value); } /** *

The time the creation of the dataset contents was scheduled to start.

*/ inline DatasetContentSummary& WithScheduleTime(const Aws::Utils::DateTime& value) { SetScheduleTime(value); return *this;} /** *

The time the creation of the dataset contents was scheduled to start.

*/ inline DatasetContentSummary& WithScheduleTime(Aws::Utils::DateTime&& value) { SetScheduleTime(std::move(value)); return *this;} /** *

The time the dataset content status was updated to SUCCEEDED or FAILED.

*/ inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } /** *

The time the dataset content status was updated to SUCCEEDED or FAILED.

*/ inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; } /** *

The time the dataset content status was updated to SUCCEEDED or FAILED.

*/ inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; } /** *

The time the dataset content status was updated to SUCCEEDED or FAILED.

*/ inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); } /** *

The time the dataset content status was updated to SUCCEEDED or FAILED.

*/ inline DatasetContentSummary& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} /** *

The time the dataset content status was updated to SUCCEEDED or FAILED.

*/ inline DatasetContentSummary& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} private: Aws::String m_version; bool m_versionHasBeenSet = false; DatasetContentStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_scheduleTime; bool m_scheduleTimeHasBeenSet = false; Aws::Utils::DateTime m_completionTime; bool m_completionTimeHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws