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

Summary information for an Amazon Lookout for Vision dataset. For more * information, see DescribeDataset and * ProjectDescription.

See Also:

AWS * API Reference

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

The type of the dataset.

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

The type of the dataset.

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

The type of the dataset.

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

The type of the dataset.

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

The type of the dataset.

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

The type of the dataset.

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

The type of the dataset.

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

The type of the dataset.

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

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

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

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

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

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

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

The Unix timestamp for the date and time 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 date and time that the dataset was created.

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

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

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

The status for the dataset.

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

The status for the dataset.

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

The status for the dataset.

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

The status for the dataset.

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

The status for the dataset.

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

The status for the dataset.

*/ inline DatasetMetadata& 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 DatasetMetadata& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

The status message for the dataset.

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

The status message for the dataset.

*/ inline DatasetMetadata& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} private: Aws::String m_datasetType; bool m_datasetTypeHasBeenSet = false; Aws::Utils::DateTime m_creationTimestamp; bool m_creationTimestampHasBeenSet = false; DatasetStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; }; } // namespace Model } // namespace LookoutforVision } // namespace Aws