/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The properties of a FHIR export job, including the ID, ARN, name, and the
* status of the job.See Also:
AWS
* API Reference
The AWS generated ID for an export job.
*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *The AWS generated ID for an export job.
*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *The AWS generated ID for an export job.
*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *The AWS generated ID for an export job.
*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *The AWS generated ID for an export job.
*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *The AWS generated ID for an export job.
*/ inline ExportJobProperties& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *The AWS generated ID for an export job.
*/ inline ExportJobProperties& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *The AWS generated ID for an export job.
*/ inline ExportJobProperties& WithJobId(const char* value) { SetJobId(value); return *this;} /** *The user generated name for an export job.
*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *The user generated name for an export job.
*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *The user generated name for an export job.
*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *The user generated name for an export job.
*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *The user generated name for an export job.
*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *The user generated name for an export job.
*/ inline ExportJobProperties& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *The user generated name for an export job.
*/ inline ExportJobProperties& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *The user generated name for an export job.
*/ inline ExportJobProperties& WithJobName(const char* value) { SetJobName(value); return *this;} /** *The status of a FHIR export job. Possible statuses are SUBMITTED, * IN_PROGRESS, COMPLETED, or FAILED.
*/ inline const JobStatus& GetJobStatus() const{ return m_jobStatus; } /** *The status of a FHIR export job. Possible statuses are SUBMITTED, * IN_PROGRESS, COMPLETED, or FAILED.
*/ inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; } /** *The status of a FHIR export job. Possible statuses are SUBMITTED, * IN_PROGRESS, COMPLETED, or FAILED.
*/ inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; } /** *The status of a FHIR export job. Possible statuses are SUBMITTED, * IN_PROGRESS, COMPLETED, or FAILED.
*/ inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); } /** *The status of a FHIR export job. Possible statuses are SUBMITTED, * IN_PROGRESS, COMPLETED, or FAILED.
*/ inline ExportJobProperties& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;} /** *The status of a FHIR export job. Possible statuses are SUBMITTED, * IN_PROGRESS, COMPLETED, or FAILED.
*/ inline ExportJobProperties& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;} /** *The time an export job was initiated.
*/ inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; } /** *The time an export job was initiated.
*/ inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; } /** *The time an export job was initiated.
*/ inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; } /** *The time an export job was initiated.
*/ inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); } /** *The time an export job was initiated.
*/ inline ExportJobProperties& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;} /** *The time an export job was initiated.
*/ inline ExportJobProperties& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;} /** *The time an export job completed.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The time an export job completed.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The time an export job completed.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The time an export job completed.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The time an export job completed.
*/ inline ExportJobProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The time an export job completed.
*/ inline ExportJobProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The AWS generated ID for the data store from which files are being exported * for an export job.
*/ inline const Aws::String& GetDatastoreId() const{ return m_datastoreId; } /** *The AWS generated ID for the data store from which files are being exported * for an export job.
*/ inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; } /** *The AWS generated ID for the data store from which files are being exported * for an export job.
*/ inline void SetDatastoreId(const Aws::String& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = value; } /** *The AWS generated ID for the data store from which files are being exported * for an export job.
*/ inline void SetDatastoreId(Aws::String&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::move(value); } /** *The AWS generated ID for the data store from which files are being exported * for an export job.
*/ inline void SetDatastoreId(const char* value) { m_datastoreIdHasBeenSet = true; m_datastoreId.assign(value); } /** *The AWS generated ID for the data store from which files are being exported * for an export job.
*/ inline ExportJobProperties& WithDatastoreId(const Aws::String& value) { SetDatastoreId(value); return *this;} /** *The AWS generated ID for the data store from which files are being exported * for an export job.
*/ inline ExportJobProperties& WithDatastoreId(Aws::String&& value) { SetDatastoreId(std::move(value)); return *this;} /** *The AWS generated ID for the data store from which files are being exported * for an export job.
*/ inline ExportJobProperties& WithDatastoreId(const char* value) { SetDatastoreId(value); return *this;} /** *The output data configuration that was supplied when the export job was * created.
*/ inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; } /** *The output data configuration that was supplied when the export job was * created.
*/ inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; } /** *The output data configuration that was supplied when the export job was * created.
*/ inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; } /** *The output data configuration that was supplied when the export job was * created.
*/ inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); } /** *The output data configuration that was supplied when the export job was * created.
*/ inline ExportJobProperties& WithOutputDataConfig(const OutputDataConfig& value) { SetOutputDataConfig(value); return *this;} /** *The output data configuration that was supplied when the export job was * created.
*/ inline ExportJobProperties& WithOutputDataConfig(OutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} /** *The Amazon Resource Name used during the initiation of the job.
*/ inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; } /** *The Amazon Resource Name used during the initiation of the job.
*/ inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; } /** *The Amazon Resource Name used during the initiation of the job.
*/ inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; } /** *The Amazon Resource Name used during the initiation of the job.
*/ inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); } /** *The Amazon Resource Name used during the initiation of the job.
*/ inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); } /** *The Amazon Resource Name used during the initiation of the job.
*/ inline ExportJobProperties& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;} /** *The Amazon Resource Name used during the initiation of the job.
*/ inline ExportJobProperties& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name used during the initiation of the job.
*/ inline ExportJobProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;} /** *An explanation of any errors that may have occurred during the export * job.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *An explanation of any errors that may have occurred during the export * job.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *An explanation of any errors that may have occurred during the export * 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 export * 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 export * 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 export * job.
*/ inline ExportJobProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *An explanation of any errors that may have occurred during the export * job.
*/ inline ExportJobProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *An explanation of any errors that may have occurred during the export * job.
*/ inline ExportJobProperties& 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; OutputDataConfig m_outputDataConfig; bool m_outputDataConfigHasBeenSet = false; Aws::String m_dataAccessRoleArn; bool m_dataAccessRoleArnHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace HealthLake } // namespace Aws