/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a summary of the dataset import job properties used in the ListDatasetImportJobs
* operation. To get the complete set of properties, call the DescribeDatasetImportJob
* operation, and provide the DatasetImportJobArn
.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the dataset import job.
*/ inline const Aws::String& GetDatasetImportJobArn() const{ return m_datasetImportJobArn; } /** *The Amazon Resource Name (ARN) of the dataset import job.
*/ inline bool DatasetImportJobArnHasBeenSet() const { return m_datasetImportJobArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the dataset import job.
*/ inline void SetDatasetImportJobArn(const Aws::String& value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn = value; } /** *The Amazon Resource Name (ARN) of the dataset import job.
*/ inline void SetDatasetImportJobArn(Aws::String&& value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the dataset import job.
*/ inline void SetDatasetImportJobArn(const char* value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn.assign(value); } /** *The Amazon Resource Name (ARN) of the dataset import job.
*/ inline DatasetImportJobSummary& WithDatasetImportJobArn(const Aws::String& value) { SetDatasetImportJobArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset import job.
*/ inline DatasetImportJobSummary& WithDatasetImportJobArn(Aws::String&& value) { SetDatasetImportJobArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the dataset import job.
*/ inline DatasetImportJobSummary& WithDatasetImportJobArn(const char* value) { SetDatasetImportJobArn(value); return *this;} /** *The name of the dataset import job.
*/ inline const Aws::String& GetDatasetImportJobName() const{ return m_datasetImportJobName; } /** *The name of the dataset import job.
*/ inline bool DatasetImportJobNameHasBeenSet() const { return m_datasetImportJobNameHasBeenSet; } /** *The name of the dataset import job.
*/ inline void SetDatasetImportJobName(const Aws::String& value) { m_datasetImportJobNameHasBeenSet = true; m_datasetImportJobName = value; } /** *The name of the dataset import job.
*/ inline void SetDatasetImportJobName(Aws::String&& value) { m_datasetImportJobNameHasBeenSet = true; m_datasetImportJobName = std::move(value); } /** *The name of the dataset import job.
*/ inline void SetDatasetImportJobName(const char* value) { m_datasetImportJobNameHasBeenSet = true; m_datasetImportJobName.assign(value); } /** *The name of the dataset import job.
*/ inline DatasetImportJobSummary& WithDatasetImportJobName(const Aws::String& value) { SetDatasetImportJobName(value); return *this;} /** *The name of the dataset import job.
*/ inline DatasetImportJobSummary& WithDatasetImportJobName(Aws::String&& value) { SetDatasetImportJobName(std::move(value)); return *this;} /** *The name of the dataset import job.
*/ inline DatasetImportJobSummary& WithDatasetImportJobName(const char* value) { SetDatasetImportJobName(value); return *this;} /** *The location of the training data to import and an Identity and Access * Management (IAM) role that Amazon Forecast can assume to access the data. The * training data must be stored in an Amazon S3 bucket.
If encryption is
* used, DataSource
includes an Key Management Service (KMS) key.
The location of the training data to import and an Identity and Access * Management (IAM) role that Amazon Forecast can assume to access the data. The * training data must be stored in an Amazon S3 bucket.
If encryption is
* used, DataSource
includes an Key Management Service (KMS) key.
The location of the training data to import and an Identity and Access * Management (IAM) role that Amazon Forecast can assume to access the data. The * training data must be stored in an Amazon S3 bucket.
If encryption is
* used, DataSource
includes an Key Management Service (KMS) key.
The location of the training data to import and an Identity and Access * Management (IAM) role that Amazon Forecast can assume to access the data. The * training data must be stored in an Amazon S3 bucket.
If encryption is
* used, DataSource
includes an Key Management Service (KMS) key.
The location of the training data to import and an Identity and Access * Management (IAM) role that Amazon Forecast can assume to access the data. The * training data must be stored in an Amazon S3 bucket.
If encryption is
* used, DataSource
includes an Key Management Service (KMS) key.
The location of the training data to import and an Identity and Access * Management (IAM) role that Amazon Forecast can assume to access the data. The * training data must be stored in an Amazon S3 bucket.
If encryption is
* used, DataSource
includes an Key Management Service (KMS) key.
The status of the dataset import job. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The status of the dataset import job. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The status of the dataset import job. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The status of the dataset import job. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The status of the dataset import job. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The status of the dataset import job. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The status of the dataset import job. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
The status of the dataset import job. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
CREATE_STOPPING
,
* CREATE_STOPPED
If an error occurred, an informational message about the error.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *If an error occurred, an informational message about the error.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *If an error occurred, an informational message about the error.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *If an error occurred, an informational message about the error.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *If an error occurred, an informational message about the error.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *If an error occurred, an informational message about the error.
*/ inline DatasetImportJobSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *If an error occurred, an informational message about the error.
*/ inline DatasetImportJobSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *If an error occurred, an informational message about the error.
*/ inline DatasetImportJobSummary& WithMessage(const char* value) { SetMessage(value); return *this;} /** *When the dataset import job was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *When the dataset import job was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *When the dataset import job was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *When the dataset import job was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *When the dataset import job was created.
*/ inline DatasetImportJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *When the dataset import job was created.
*/ inline DatasetImportJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The import mode of the dataset import job, FULL or INCREMENTAL.
*/ inline const ImportMode& GetImportMode() const{ return m_importMode; } /** *The import mode of the dataset import job, FULL or INCREMENTAL.
*/ inline bool ImportModeHasBeenSet() const { return m_importModeHasBeenSet; } /** *The import mode of the dataset import job, FULL or INCREMENTAL.
*/ inline void SetImportMode(const ImportMode& value) { m_importModeHasBeenSet = true; m_importMode = value; } /** *The import mode of the dataset import job, FULL or INCREMENTAL.
*/ inline void SetImportMode(ImportMode&& value) { m_importModeHasBeenSet = true; m_importMode = std::move(value); } /** *The import mode of the dataset import job, FULL or INCREMENTAL.
*/ inline DatasetImportJobSummary& WithImportMode(const ImportMode& value) { SetImportMode(value); return *this;} /** *The import mode of the dataset import job, FULL or INCREMENTAL.
*/ inline DatasetImportJobSummary& WithImportMode(ImportMode&& value) { SetImportMode(std::move(value)); return *this;} private: Aws::String m_datasetImportJobArn; bool m_datasetImportJobArnHasBeenSet = false; Aws::String m_datasetImportJobName; bool m_datasetImportJobNameHasBeenSet = false; DataSource m_dataSource; bool m_dataSourceHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModificationTime; bool m_lastModificationTimeHasBeenSet = false; ImportMode m_importMode; bool m_importModeHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws