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

The description for a dataset. For more information, see * DescribeDataset.

See Also:

AWS * API Reference

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

The name of the project that contains the dataset.

*/ inline const Aws::String& GetProjectName() const{ return m_projectName; } /** *

The name of the project that contains the dataset.

*/ inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } /** *

The name of the project that contains the dataset.

*/ inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; } /** *

The name of the project that contains the dataset.

*/ inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); } /** *

The name of the project that contains the dataset.

*/ inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); } /** *

The name of the project that contains the dataset.

*/ inline DatasetDescription& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;} /** *

The name of the project that contains the dataset.

*/ inline DatasetDescription& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;} /** *

The name of the project that contains the dataset.

*/ inline DatasetDescription& WithProjectName(const char* value) { SetProjectName(value); return *this;} /** *

The type of the dataset. The value train represents a training * dataset or single dataset project. The value test represents a test * dataset.

*/ inline const Aws::String& GetDatasetType() const{ return m_datasetType; } /** *

The type of the dataset. The value train represents a training * dataset or single dataset project. The value test represents a test * dataset.

*/ inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; } /** *

The type of the dataset. The value train represents a training * dataset or single dataset project. The value test represents a test * dataset.

*/ inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; } /** *

The type of the dataset. The value train represents a training * dataset or single dataset project. The value test represents a test * dataset.

*/ inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); } /** *

The type of the dataset. The value train represents a training * dataset or single dataset project. The value test represents a test * dataset.

*/ inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); } /** *

The type of the dataset. The value train represents a training * dataset or single dataset project. The value test represents a test * dataset.

*/ inline DatasetDescription& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;} /** *

The type of the dataset. The value train represents a training * dataset or single dataset project. The value test represents a test * dataset.

*/ inline DatasetDescription& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;} /** *

The type of the dataset. The value train represents a training * dataset or single dataset project. The value test represents a test * dataset.

*/ inline DatasetDescription& WithDatasetType(const char* value) { SetDatasetType(value); return *this;} /** *

The Unix timestamp for the time and date that the dataset was created.

*/ inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; } /** *

The Unix timestamp for the time and date that the dataset was created.

*/ inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; } /** *

The Unix timestamp for the time and date that the dataset was created.

*/ inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; } /** *

The Unix timestamp for the time and date that the dataset was created.

*/ inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); } /** *

The Unix timestamp for the time and date that the dataset was created.

*/ inline DatasetDescription& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;} /** *

The Unix timestamp for the time and date that the dataset was created.

*/ inline DatasetDescription& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;} /** *

The Unix timestamp for the date and time that the dataset was last * updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; } /** *

The Unix timestamp for the date and time that the dataset was last * updated.

*/ inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; } /** *

The Unix timestamp for the date and time that the dataset was last * updated.

*/ inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; } /** *

The Unix timestamp for the date and time that the dataset was last * updated.

*/ inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); } /** *

The Unix timestamp for the date and time that the dataset was last * updated.

*/ inline DatasetDescription& WithLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimestamp(value); return *this;} /** *

The Unix timestamp for the date and time that the dataset was last * updated.

*/ inline DatasetDescription& WithLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;} /** *

The status of the dataset.

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

The status of the dataset.

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

The status of the dataset.

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

The status of the dataset.

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

The status of the dataset.

*/ inline DatasetDescription& WithStatus(const DatasetStatus& value) { SetStatus(value); return *this;} /** *

The status of the dataset.

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

The status message for the dataset.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

The status message for the dataset.

*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *

The status message for the dataset.

*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *

The status message for the dataset.

*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *

The status message for the dataset.

*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *

The status message for the dataset.

*/ inline DatasetDescription& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

The status message for the dataset.

*/ inline DatasetDescription& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

The status message for the dataset.

*/ inline DatasetDescription& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *

Statistics about the images in a dataset.

*/ inline const DatasetImageStats& GetImageStats() const{ return m_imageStats; } /** *

Statistics about the images in a dataset.

*/ inline bool ImageStatsHasBeenSet() const { return m_imageStatsHasBeenSet; } /** *

Statistics about the images in a dataset.

*/ inline void SetImageStats(const DatasetImageStats& value) { m_imageStatsHasBeenSet = true; m_imageStats = value; } /** *

Statistics about the images in a dataset.

*/ inline void SetImageStats(DatasetImageStats&& value) { m_imageStatsHasBeenSet = true; m_imageStats = std::move(value); } /** *

Statistics about the images in a dataset.

*/ inline DatasetDescription& WithImageStats(const DatasetImageStats& value) { SetImageStats(value); return *this;} /** *

Statistics about the images in a dataset.

*/ inline DatasetDescription& WithImageStats(DatasetImageStats&& value) { SetImageStats(std::move(value)); return *this;} private: Aws::String m_projectName; bool m_projectNameHasBeenSet = false; Aws::String m_datasetType; bool m_datasetTypeHasBeenSet = false; Aws::Utils::DateTime m_creationTimestamp; bool m_creationTimestampHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTimestamp; bool m_lastUpdatedTimestampHasBeenSet = false; DatasetStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; DatasetImageStats m_imageStats; bool m_imageStatsHasBeenSet = false; }; } // namespace Model } // namespace LookoutforVision } // namespace Aws