/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A description for a dataset. For more information, see
* DescribeDataset. The status fields Status
,
* StatusMessage
, and StatusMessageCode
reflect the last
* operation on the dataset. See Also:
AWS
* API Reference
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;} /** *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 DatasetDescription& 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 DatasetDescription& WithStatusMessageCode(DatasetStatusMessageCode&& value) { SetStatusMessageCode(std::move(value)); return *this;} /** *The status message code for the dataset.
*/ inline const DatasetStats& GetDatasetStats() const{ return m_datasetStats; } /** *The status message code for the dataset.
*/ inline bool DatasetStatsHasBeenSet() const { return m_datasetStatsHasBeenSet; } /** *The status message code for the dataset.
*/ inline void SetDatasetStats(const DatasetStats& value) { m_datasetStatsHasBeenSet = true; m_datasetStats = value; } /** *The status message code for the dataset.
*/ inline void SetDatasetStats(DatasetStats&& value) { m_datasetStatsHasBeenSet = true; m_datasetStats = std::move(value); } /** *The status message code for the dataset.
*/ inline DatasetDescription& WithDatasetStats(const DatasetStats& value) { SetDatasetStats(value); return *this;} /** *The status message code for the dataset.
*/ inline DatasetDescription& WithDatasetStats(DatasetStats&& value) { SetDatasetStats(std::move(value)); return *this;} private: 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; DatasetStatusMessageCode m_statusMessageCode; bool m_statusMessageCodeHasBeenSet = false; DatasetStats m_datasetStats; bool m_datasetStatsHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws