/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Properties associated with the dataset.See Also:
AWS
* API Reference
The ARN of the dataset.
*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *The ARN of the dataset.
*/ inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; } /** *The ARN of the dataset.
*/ inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; } /** *The ARN of the dataset.
*/ inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); } /** *The ARN of the dataset.
*/ inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); } /** *The ARN of the dataset.
*/ inline DatasetProperties& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *The ARN of the dataset.
*/ inline DatasetProperties& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *The ARN of the dataset.
*/ inline DatasetProperties& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;} /** *The name of the dataset.
*/ inline const Aws::String& GetDatasetName() const{ return m_datasetName; } /** *The name of the dataset.
*/ inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; } /** *The name of the dataset.
*/ inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; } /** *The name of the dataset.
*/ inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); } /** *The name of the dataset.
*/ inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); } /** *The name of the dataset.
*/ inline DatasetProperties& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;} /** *The name of the dataset.
*/ inline DatasetProperties& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;} /** *The name of the dataset.
*/ inline DatasetProperties& WithDatasetName(const char* value) { SetDatasetName(value); return *this;} /** *The dataset type (training data or test data).
*/ inline const DatasetType& GetDatasetType() const{ return m_datasetType; } /** *The dataset type (training data or test data).
*/ inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; } /** *The dataset type (training data or test data).
*/ inline void SetDatasetType(const DatasetType& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; } /** *The dataset type (training data or test data).
*/ inline void SetDatasetType(DatasetType&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); } /** *The dataset type (training data or test data).
*/ inline DatasetProperties& WithDatasetType(const DatasetType& value) { SetDatasetType(value); return *this;} /** *The dataset type (training data or test data).
*/ inline DatasetProperties& WithDatasetType(DatasetType&& value) { SetDatasetType(std::move(value)); return *this;} /** *The S3 URI where the dataset is stored.
*/ inline const Aws::String& GetDatasetS3Uri() const{ return m_datasetS3Uri; } /** *The S3 URI where the dataset is stored.
*/ inline bool DatasetS3UriHasBeenSet() const { return m_datasetS3UriHasBeenSet; } /** *The S3 URI where the dataset is stored.
*/ inline void SetDatasetS3Uri(const Aws::String& value) { m_datasetS3UriHasBeenSet = true; m_datasetS3Uri = value; } /** *The S3 URI where the dataset is stored.
*/ inline void SetDatasetS3Uri(Aws::String&& value) { m_datasetS3UriHasBeenSet = true; m_datasetS3Uri = std::move(value); } /** *The S3 URI where the dataset is stored.
*/ inline void SetDatasetS3Uri(const char* value) { m_datasetS3UriHasBeenSet = true; m_datasetS3Uri.assign(value); } /** *The S3 URI where the dataset is stored.
*/ inline DatasetProperties& WithDatasetS3Uri(const Aws::String& value) { SetDatasetS3Uri(value); return *this;} /** *The S3 URI where the dataset is stored.
*/ inline DatasetProperties& WithDatasetS3Uri(Aws::String&& value) { SetDatasetS3Uri(std::move(value)); return *this;} /** *The S3 URI where the dataset is stored.
*/ inline DatasetProperties& WithDatasetS3Uri(const char* value) { SetDatasetS3Uri(value); return *this;} /** *Description of the dataset.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *Description of the dataset.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *Description of the dataset.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *Description of the dataset.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *Description of the dataset.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *Description of the dataset.
*/ inline DatasetProperties& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *Description of the dataset.
*/ inline DatasetProperties& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *Description of the dataset.
*/ inline DatasetProperties& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The dataset status. While the system creates the dataset, the status is
* CREATING
. When the dataset is ready to use, the status changes to
* COMPLETED
.
The dataset status. While the system creates the dataset, the status is
* CREATING
. When the dataset is ready to use, the status changes to
* COMPLETED
.
The dataset status. While the system creates the dataset, the status is
* CREATING
. When the dataset is ready to use, the status changes to
* COMPLETED
.
The dataset status. While the system creates the dataset, the status is
* CREATING
. When the dataset is ready to use, the status changes to
* COMPLETED
.
The dataset status. While the system creates the dataset, the status is
* CREATING
. When the dataset is ready to use, the status changes to
* COMPLETED
.
The dataset status. While the system creates the dataset, the status is
* CREATING
. When the dataset is ready to use, the status changes to
* COMPLETED
.
A description of the status of the dataset.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A description of the status of the dataset.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A description of the status of the dataset.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A description of the status of the dataset.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A description of the status of the dataset.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A description of the status of the dataset.
*/ inline DatasetProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A description of the status of the dataset.
*/ inline DatasetProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A description of the status of the dataset.
*/ inline DatasetProperties& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The number of documents in the dataset.
*/ inline long long GetNumberOfDocuments() const{ return m_numberOfDocuments; } /** *The number of documents in the dataset.
*/ inline bool NumberOfDocumentsHasBeenSet() const { return m_numberOfDocumentsHasBeenSet; } /** *The number of documents in the dataset.
*/ inline void SetNumberOfDocuments(long long value) { m_numberOfDocumentsHasBeenSet = true; m_numberOfDocuments = value; } /** *The number of documents in the dataset.
*/ inline DatasetProperties& WithNumberOfDocuments(long long value) { SetNumberOfDocuments(value); return *this;} /** *Creation time of the dataset.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *Creation time of the dataset.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *Creation time of the dataset.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *Creation time of the dataset.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *Creation time of the dataset.
*/ inline DatasetProperties& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *Creation time of the dataset.
*/ inline DatasetProperties& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *Time when the data from the dataset becomes available in the data lake.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *Time when the data from the dataset becomes available in the data lake.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *Time when the data from the dataset becomes available in the data lake.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *Time when the data from the dataset becomes available in the data lake.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *Time when the data from the dataset becomes available in the data lake.
*/ inline DatasetProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *Time when the data from the dataset becomes available in the data lake.
*/ inline DatasetProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} private: Aws::String m_datasetArn; bool m_datasetArnHasBeenSet = false; Aws::String m_datasetName; bool m_datasetNameHasBeenSet = false; DatasetType m_datasetType; bool m_datasetTypeHasBeenSet = false; Aws::String m_datasetS3Uri; bool m_datasetS3UriHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; DatasetStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; long long m_numberOfDocuments; bool m_numberOfDocumentsHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; }; } // namespace Model } // namespace Comprehend } // namespace Aws