/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Displays the properties of the import job, including the ID, Arn, Name, and
* the status of the data store.See Also:
AWS
* API Reference
The AWS-generated id number for the Import job.
*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *The AWS-generated id number for the Import job.
*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *The AWS-generated id number for the Import job.
*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *The AWS-generated id number for the Import job.
*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *The AWS-generated id number for the Import job.
*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *The AWS-generated id number for the Import job.
*/ inline ImportJobProperties& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *The AWS-generated id number for the Import job.
*/ inline ImportJobProperties& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *The AWS-generated id number for the Import job.
*/ inline ImportJobProperties& WithJobId(const char* value) { SetJobId(value); return *this;} /** *The user-generated name for an Import job.
*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *The user-generated name for an Import job.
*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *The user-generated name for an Import job.
*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *The user-generated name for an Import job.
*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *The user-generated name for an Import job.
*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *The user-generated name for an Import job.
*/ inline ImportJobProperties& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *The user-generated name for an Import job.
*/ inline ImportJobProperties& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *The user-generated name for an Import job.
*/ inline ImportJobProperties& WithJobName(const char* value) { SetJobName(value); return *this;} /** *The job status for an Import job. Possible statuses are SUBMITTED, * IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED.
*/ inline const JobStatus& GetJobStatus() const{ return m_jobStatus; } /** *The job status for an Import job. Possible statuses are SUBMITTED, * IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED.
*/ inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; } /** *The job status for an Import job. Possible statuses are SUBMITTED, * IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED.
*/ inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; } /** *The job status for an Import job. Possible statuses are SUBMITTED, * IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED.
*/ inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); } /** *The job status for an Import job. Possible statuses are SUBMITTED, * IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED.
*/ inline ImportJobProperties& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;} /** *The job status for an Import job. Possible statuses are SUBMITTED, * IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED.
*/ inline ImportJobProperties& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;} /** *The time that the Import job was submitted for processing.
*/ inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; } /** *The time that the Import job was submitted for processing.
*/ inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; } /** *The time that the Import job was submitted for processing.
*/ inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; } /** *The time that the Import job was submitted for processing.
*/ inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); } /** *The time that the Import job was submitted for processing.
*/ inline ImportJobProperties& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;} /** *The time that the Import job was submitted for processing.
*/ inline ImportJobProperties& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;} /** *The time that the Import job was completed.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The time that the Import job was completed.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The time that the Import job was completed.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The time that the Import job was completed.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The time that the Import job was completed.
*/ inline ImportJobProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The time that the Import job was completed.
*/ inline ImportJobProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The datastore id used when the Import job was created.
*/ inline const Aws::String& GetDatastoreId() const{ return m_datastoreId; } /** *The datastore id used when the Import job was created.
*/ inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; } /** *The datastore id used when the Import job was created.
*/ inline void SetDatastoreId(const Aws::String& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = value; } /** *The datastore id used when the Import job was created.
*/ inline void SetDatastoreId(Aws::String&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::move(value); } /** *The datastore id used when the Import job was created.
*/ inline void SetDatastoreId(const char* value) { m_datastoreIdHasBeenSet = true; m_datastoreId.assign(value); } /** *The datastore id used when the Import job was created.
*/ inline ImportJobProperties& WithDatastoreId(const Aws::String& value) { SetDatastoreId(value); return *this;} /** *The datastore id used when the Import job was created.
*/ inline ImportJobProperties& WithDatastoreId(Aws::String&& value) { SetDatastoreId(std::move(value)); return *this;} /** *The datastore id used when the Import job was created.
*/ inline ImportJobProperties& WithDatastoreId(const char* value) { SetDatastoreId(value); return *this;} /** *The input data configuration that was supplied when the Import job was * created.
*/ inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; } /** *The input data configuration that was supplied when the Import job was * created.
*/ inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; } /** *The input data configuration that was supplied when the Import job was * created.
*/ inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; } /** *The input data configuration that was supplied when the Import job was * created.
*/ inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); } /** *The input data configuration that was supplied when the Import job was * created.
*/ inline ImportJobProperties& WithInputDataConfig(const InputDataConfig& value) { SetInputDataConfig(value); return *this;} /** *The input data configuration that was supplied when the Import job was * created.
*/ inline ImportJobProperties& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;} inline const OutputDataConfig& GetJobOutputDataConfig() const{ return m_jobOutputDataConfig; } inline bool JobOutputDataConfigHasBeenSet() const { return m_jobOutputDataConfigHasBeenSet; } inline void SetJobOutputDataConfig(const OutputDataConfig& value) { m_jobOutputDataConfigHasBeenSet = true; m_jobOutputDataConfig = value; } inline void SetJobOutputDataConfig(OutputDataConfig&& value) { m_jobOutputDataConfigHasBeenSet = true; m_jobOutputDataConfig = std::move(value); } inline ImportJobProperties& WithJobOutputDataConfig(const OutputDataConfig& value) { SetJobOutputDataConfig(value); return *this;} inline ImportJobProperties& WithJobOutputDataConfig(OutputDataConfig&& value) { SetJobOutputDataConfig(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) that gives AWS HealthLake access to your input * data.
*/ inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; } /** *The Amazon Resource Name (ARN) that gives AWS HealthLake access to your input * data.
*/ inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) that gives AWS HealthLake access to your input * data.
*/ inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; } /** *The Amazon Resource Name (ARN) that gives AWS HealthLake access to your input * data.
*/ inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); } /** *The Amazon Resource Name (ARN) that gives AWS HealthLake access to your input * data.
*/ inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); } /** *The Amazon Resource Name (ARN) that gives AWS HealthLake access to your input * data.
*/ inline ImportJobProperties& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) that gives AWS HealthLake access to your input * data.
*/ inline ImportJobProperties& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) that gives AWS HealthLake access to your input * data.
*/ inline ImportJobProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;} /** *An explanation of any errors that may have occurred during the FHIR import * job.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *An explanation of any errors that may have occurred during the FHIR import * job.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *An explanation of any errors that may have occurred during the FHIR import * job.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *An explanation of any errors that may have occurred during the FHIR import * job.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *An explanation of any errors that may have occurred during the FHIR import * job.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *An explanation of any errors that may have occurred during the FHIR import * job.
*/ inline ImportJobProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *An explanation of any errors that may have occurred during the FHIR import * job.
*/ inline ImportJobProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *An explanation of any errors that may have occurred during the FHIR import * job.
*/ inline ImportJobProperties& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_jobId; bool m_jobIdHasBeenSet = false; Aws::String m_jobName; bool m_jobNameHasBeenSet = false; JobStatus m_jobStatus; bool m_jobStatusHasBeenSet = false; Aws::Utils::DateTime m_submitTime; bool m_submitTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_datastoreId; bool m_datastoreIdHasBeenSet = false; InputDataConfig m_inputDataConfig; bool m_inputDataConfigHasBeenSet = false; OutputDataConfig m_jobOutputDataConfig; bool m_jobOutputDataConfigHasBeenSet = false; Aws::String m_dataAccessRoleArn; bool m_dataAccessRoleArnHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace HealthLake } // namespace Aws