/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a summary of the properties of a dataset export job. For a complete
* listing, call the DescribeDatasetExportJob
* API.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the dataset export job.
*/ inline const Aws::String& GetDatasetExportJobArn() const{ return m_datasetExportJobArn; } /** *The Amazon Resource Name (ARN) of the dataset export job.
*/ inline bool DatasetExportJobArnHasBeenSet() const { return m_datasetExportJobArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the dataset export job.
*/ inline void SetDatasetExportJobArn(const Aws::String& value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn = value; } /** *The Amazon Resource Name (ARN) of the dataset export job.
*/ inline void SetDatasetExportJobArn(Aws::String&& value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the dataset export job.
*/ inline void SetDatasetExportJobArn(const char* value) { m_datasetExportJobArnHasBeenSet = true; m_datasetExportJobArn.assign(value); } /** *The Amazon Resource Name (ARN) of the dataset export job.
*/ inline DatasetExportJobSummary& WithDatasetExportJobArn(const Aws::String& value) { SetDatasetExportJobArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset export job.
*/ inline DatasetExportJobSummary& WithDatasetExportJobArn(Aws::String&& value) { SetDatasetExportJobArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the dataset export job.
*/ inline DatasetExportJobSummary& WithDatasetExportJobArn(const char* value) { SetDatasetExportJobArn(value); return *this;} /** *The name of the dataset export job.
*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *The name of the dataset export job.
*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *The name of the dataset export job.
*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *The name of the dataset export job.
*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *The name of the dataset export job.
*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *The name of the dataset export job.
*/ inline DatasetExportJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *The name of the dataset export job.
*/ inline DatasetExportJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *The name of the dataset export job.
*/ inline DatasetExportJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;} /** *The status of the dataset export job.
A dataset export job can be in * one of the following states:
CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED
The status of the dataset export job.
A dataset export job can be in * one of the following states:
CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED
The status of the dataset export job.
A dataset export job can be in * one of the following states:
CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED
The status of the dataset export job.
A dataset export job can be in * one of the following states:
CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED
The status of the dataset export job.
A dataset export job can be in * one of the following states:
CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED
The status of the dataset export job.
A dataset export job can be in * one of the following states:
CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED
The status of the dataset export job.
A dataset export job can be in * one of the following states:
CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED
The status of the dataset export job.
A dataset export job can be in * one of the following states:
CREATE PENDING > CREATE * IN_PROGRESS > ACTIVE -or- CREATE FAILED
The date and time (in Unix time) that the dataset export job was created.
*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *The date and time (in Unix time) that the dataset export job was created.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *The date and time (in Unix time) that the dataset export job was created.
*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *The date and time (in Unix time) that the dataset export job was created.
*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *The date and time (in Unix time) that the dataset export job was created.
*/ inline DatasetExportJobSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *The date and time (in Unix time) that the dataset export job was created.
*/ inline DatasetExportJobSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *The date and time (in Unix time) that the dataset export job status was last * updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *The date and time (in Unix time) that the dataset export job status was last * updated.
*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *The date and time (in Unix time) that the dataset export job status was last * updated.
*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *The date and time (in Unix time) that the dataset export job status was last * updated.
*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); } /** *The date and time (in Unix time) that the dataset export job status was last * updated.
*/ inline DatasetExportJobSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *The date and time (in Unix time) that the dataset export job status was last * updated.
*/ inline DatasetExportJobSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *If a dataset export job fails, the reason behind the failure.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *If a dataset export job fails, the reason behind the failure.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *If a dataset export job fails, the reason behind the failure.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *If a dataset export job fails, the reason behind the failure.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *If a dataset export job fails, the reason behind the failure.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *If a dataset export job fails, the reason behind the failure.
*/ inline DatasetExportJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *If a dataset export job fails, the reason behind the failure.
*/ inline DatasetExportJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *If a dataset export job fails, the reason behind the failure.
*/ inline DatasetExportJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} private: Aws::String m_datasetExportJobArn; bool m_datasetExportJobArnHasBeenSet = false; Aws::String m_jobName; bool m_jobNameHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws