/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary information for an Amazon Rekognition Custom Labels dataset. For
* more information, see ProjectDescription. See Also:
AWS
* API Reference
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 type of the dataset.
*/ inline const DatasetType& 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 DatasetType& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; } /** *The type of the dataset.
*/ inline void SetDatasetType(DatasetType&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); } /** *The type of the dataset.
*/ inline DatasetMetadata& WithDatasetType(const DatasetType& value) { SetDatasetType(value); return *this;} /** *The type of the dataset.
*/ inline DatasetMetadata& WithDatasetType(DatasetType&& value) { SetDatasetType(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) for the dataset.
*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *The Amazon Resource Name (ARN) for the dataset.
*/ inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; } /** *The Amazon Resource Name (ARN) for the dataset.
*/ inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; } /** *The Amazon Resource Name (ARN) for the dataset.
*/ inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); } /** *The Amazon Resource Name (ARN) for the dataset.
*/ inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); } /** *The Amazon Resource Name (ARN) for the dataset.
*/ inline DatasetMetadata& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *The Amazon Resource Name (ARN) for the dataset.
*/ inline DatasetMetadata& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) for the dataset.
*/ inline DatasetMetadata& WithDatasetArn(const char* value) { SetDatasetArn(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;} /** *The status message code for the dataset operation. If a service error * occurs, try the API call again later. If a client error occurs, check the input * parameters to the dataset API call that failed.
*/ inline const DatasetStatusMessageCode& GetStatusMessageCode() const{ return m_statusMessageCode; } /** *The status message code for the dataset operation. If a service error * occurs, try the API call again later. If a client error occurs, check the input * parameters to the dataset API call that failed.
*/ inline bool StatusMessageCodeHasBeenSet() const { return m_statusMessageCodeHasBeenSet; } /** *The status message code for the dataset operation. If a service error * occurs, try the API call again later. If a client error occurs, check the input * parameters to the dataset API call that failed.
*/ inline void SetStatusMessageCode(const DatasetStatusMessageCode& value) { m_statusMessageCodeHasBeenSet = true; m_statusMessageCode = value; } /** *The status message code for the dataset operation. If a service error * occurs, try the API call again later. If a client error occurs, check the input * parameters to the dataset API call that failed.
*/ inline void SetStatusMessageCode(DatasetStatusMessageCode&& value) { m_statusMessageCodeHasBeenSet = true; m_statusMessageCode = std::move(value); } /** *The status message code for the dataset operation. If a service error * occurs, try the API call again later. If a client error occurs, check the input * parameters to the dataset API call that failed.
*/ inline DatasetMetadata& WithStatusMessageCode(const DatasetStatusMessageCode& value) { SetStatusMessageCode(value); return *this;} /** *The status message code for the dataset operation. If a service error * occurs, try the API call again later. If a client error occurs, check the input * parameters to the dataset API call that failed.
*/ inline DatasetMetadata& WithStatusMessageCode(DatasetStatusMessageCode&& value) { SetStatusMessageCode(std::move(value)); return *this;} private: Aws::Utils::DateTime m_creationTimestamp; bool m_creationTimestampHasBeenSet = false; DatasetType m_datasetType; bool m_datasetTypeHasBeenSet = false; Aws::String m_datasetArn; bool m_datasetArnHasBeenSet = false; DatasetStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; DatasetStatusMessageCode m_statusMessageCode; bool m_statusMessageCodeHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws