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

Provides a summary of the dataset properties used in the ListDatasets * operation. To get the complete set of properties, call the DescribeDataset * operation, and provide the DatasetArn.

See Also:

* AWS * API Reference

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

The Amazon Resource Name (ARN) of the dataset.

*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline DatasetSummary& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline DatasetSummary& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset.

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

The name of the dataset.

*/ inline DatasetSummary& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;} /** *

The name of the dataset.

*/ inline DatasetSummary& WithDatasetName(const char* value) { SetDatasetName(value); return *this;} /** *

The dataset type.

*/ inline const DatasetType& GetDatasetType() const{ return m_datasetType; } /** *

The dataset type.

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

The dataset type.

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

The dataset type.

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

The dataset type.

*/ inline DatasetSummary& WithDatasetType(const DatasetType& value) { SetDatasetType(value); return *this;} /** *

The dataset type.

*/ inline DatasetSummary& WithDatasetType(DatasetType&& value) { SetDatasetType(std::move(value)); return *this;} /** *

The domain associated with the dataset.

*/ inline const Domain& GetDomain() const{ return m_domain; } /** *

The domain associated with the dataset.

*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *

The domain associated with the dataset.

*/ inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; } /** *

The domain associated with the dataset.

*/ inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } /** *

The domain associated with the dataset.

*/ inline DatasetSummary& WithDomain(const Domain& value) { SetDomain(value); return *this;} /** *

The domain associated with the dataset.

*/ inline DatasetSummary& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;} /** *

When the dataset was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

When the dataset was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

When the dataset was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

When the dataset was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

When the dataset was created.

*/ inline DatasetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the dataset was created.

*/ inline DatasetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

When you create a dataset, LastModificationTime is the same as * CreationTime. While data is being imported to the dataset, * LastModificationTime is the current time of the * ListDatasets call. After a CreateDatasetImportJob * operation has finished, LastModificationTime is when the import job * completed or failed.

*/ inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; } /** *

When you create a dataset, LastModificationTime is the same as * CreationTime. While data is being imported to the dataset, * LastModificationTime is the current time of the * ListDatasets call. After a CreateDatasetImportJob * operation has finished, LastModificationTime is when the import job * completed or failed.

*/ inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; } /** *

When you create a dataset, LastModificationTime is the same as * CreationTime. While data is being imported to the dataset, * LastModificationTime is the current time of the * ListDatasets call. After a CreateDatasetImportJob * operation has finished, LastModificationTime is when the import job * completed or failed.

*/ inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; } /** *

When you create a dataset, LastModificationTime is the same as * CreationTime. While data is being imported to the dataset, * LastModificationTime is the current time of the * ListDatasets call. After a CreateDatasetImportJob * operation has finished, LastModificationTime is when the import job * completed or failed.

*/ inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); } /** *

When you create a dataset, LastModificationTime is the same as * CreationTime. While data is being imported to the dataset, * LastModificationTime is the current time of the * ListDatasets call. After a CreateDatasetImportJob * operation has finished, LastModificationTime is when the import job * completed or failed.

*/ inline DatasetSummary& WithLastModificationTime(const Aws::Utils::DateTime& value) { SetLastModificationTime(value); return *this;} /** *

When you create a dataset, LastModificationTime is the same as * CreationTime. While data is being imported to the dataset, * LastModificationTime is the current time of the * ListDatasets call. After a CreateDatasetImportJob * operation has finished, LastModificationTime is when the import job * completed or failed.

*/ inline DatasetSummary& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(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; Domain m_domain; bool m_domainHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModificationTime; bool m_lastModificationTimeHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws