/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MedicalImaging { namespace Model { /** *

Properties of the import job.

See Also:

AWS * API Reference

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

The import job identifier.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The import job identifier.

*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *

The import job identifier.

*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *

The import job identifier.

*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *

The import job identifier.

*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *

The import job identifier.

*/ inline DICOMImportJobProperties& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The import job identifier.

*/ inline DICOMImportJobProperties& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The import job identifier.

*/ inline DICOMImportJobProperties& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The import job name.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The import job name.

*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *

The import job name.

*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *

The import job name.

*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *

The import job name.

*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *

The import job name.

*/ inline DICOMImportJobProperties& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The import job name.

*/ inline DICOMImportJobProperties& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The import job name.

*/ inline DICOMImportJobProperties& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

The filters for listing import jobs based on status.

*/ inline const JobStatus& GetJobStatus() const{ return m_jobStatus; } /** *

The filters for listing import jobs based on status.

*/ inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; } /** *

The filters for listing import jobs based on status.

*/ inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; } /** *

The filters for listing import jobs based on status.

*/ inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); } /** *

The filters for listing import jobs based on status.

*/ inline DICOMImportJobProperties& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;} /** *

The filters for listing import jobs based on status.

*/ inline DICOMImportJobProperties& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;} /** *

The data store identifier.

*/ inline const Aws::String& GetDatastoreId() const{ return m_datastoreId; } /** *

The data store identifier.

*/ inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; } /** *

The data store identifier.

*/ inline void SetDatastoreId(const Aws::String& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = value; } /** *

The data store identifier.

*/ inline void SetDatastoreId(Aws::String&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::move(value); } /** *

The data store identifier.

*/ inline void SetDatastoreId(const char* value) { m_datastoreIdHasBeenSet = true; m_datastoreId.assign(value); } /** *

The data store identifier.

*/ inline DICOMImportJobProperties& WithDatastoreId(const Aws::String& value) { SetDatastoreId(value); return *this;} /** *

The data store identifier.

*/ inline DICOMImportJobProperties& WithDatastoreId(Aws::String&& value) { SetDatastoreId(std::move(value)); return *this;} /** *

The data store identifier.

*/ inline DICOMImportJobProperties& WithDatastoreId(const char* value) { SetDatastoreId(value); return *this;} /** *

The Amazon Resource Name (ARN) that grants permissions to access medical * imaging resources.

*/ inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; } /** *

The Amazon Resource Name (ARN) that grants permissions to access medical * imaging resources.

*/ inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) that grants permissions to access medical * imaging resources.

*/ inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; } /** *

The Amazon Resource Name (ARN) that grants permissions to access medical * imaging resources.

*/ inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) that grants permissions to access medical * imaging resources.

*/ inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) that grants permissions to access medical * imaging resources.

*/ inline DICOMImportJobProperties& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that grants permissions to access medical * imaging resources.

*/ inline DICOMImportJobProperties& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that grants permissions to access medical * imaging resources.

*/ inline DICOMImportJobProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;} /** *

The timestamp for when the import job was ended.

*/ inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } /** *

The timestamp for when the import job was ended.

*/ inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } /** *

The timestamp for when the import job was ended.

*/ inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } /** *

The timestamp for when the import job was ended.

*/ inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } /** *

The timestamp for when the import job was ended.

*/ inline DICOMImportJobProperties& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} /** *

The timestamp for when the import job was ended.

*/ inline DICOMImportJobProperties& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} /** *

The timestamp for when the import job was submitted.

*/ inline const Aws::Utils::DateTime& GetSubmittedAt() const{ return m_submittedAt; } /** *

The timestamp for when the import job was submitted.

*/ inline bool SubmittedAtHasBeenSet() const { return m_submittedAtHasBeenSet; } /** *

The timestamp for when the import job was submitted.

*/ inline void SetSubmittedAt(const Aws::Utils::DateTime& value) { m_submittedAtHasBeenSet = true; m_submittedAt = value; } /** *

The timestamp for when the import job was submitted.

*/ inline void SetSubmittedAt(Aws::Utils::DateTime&& value) { m_submittedAtHasBeenSet = true; m_submittedAt = std::move(value); } /** *

The timestamp for when the import job was submitted.

*/ inline DICOMImportJobProperties& WithSubmittedAt(const Aws::Utils::DateTime& value) { SetSubmittedAt(value); return *this;} /** *

The timestamp for when the import job was submitted.

*/ inline DICOMImportJobProperties& WithSubmittedAt(Aws::Utils::DateTime&& value) { SetSubmittedAt(std::move(value)); return *this;} /** *

The input prefix path for the S3 bucket that contains the DICOM P10 files to * be imported.

*/ inline const Aws::String& GetInputS3Uri() const{ return m_inputS3Uri; } /** *

The input prefix path for the S3 bucket that contains the DICOM P10 files to * be imported.

*/ inline bool InputS3UriHasBeenSet() const { return m_inputS3UriHasBeenSet; } /** *

The input prefix path for the S3 bucket that contains the DICOM P10 files to * be imported.

*/ inline void SetInputS3Uri(const Aws::String& value) { m_inputS3UriHasBeenSet = true; m_inputS3Uri = value; } /** *

The input prefix path for the S3 bucket that contains the DICOM P10 files to * be imported.

*/ inline void SetInputS3Uri(Aws::String&& value) { m_inputS3UriHasBeenSet = true; m_inputS3Uri = std::move(value); } /** *

The input prefix path for the S3 bucket that contains the DICOM P10 files to * be imported.

*/ inline void SetInputS3Uri(const char* value) { m_inputS3UriHasBeenSet = true; m_inputS3Uri.assign(value); } /** *

The input prefix path for the S3 bucket that contains the DICOM P10 files to * be imported.

*/ inline DICOMImportJobProperties& WithInputS3Uri(const Aws::String& value) { SetInputS3Uri(value); return *this;} /** *

The input prefix path for the S3 bucket that contains the DICOM P10 files to * be imported.

*/ inline DICOMImportJobProperties& WithInputS3Uri(Aws::String&& value) { SetInputS3Uri(std::move(value)); return *this;} /** *

The input prefix path for the S3 bucket that contains the DICOM P10 files to * be imported.

*/ inline DICOMImportJobProperties& WithInputS3Uri(const char* value) { SetInputS3Uri(value); return *this;} /** *

The output prefix of the S3 bucket to upload the results of the DICOM import * job.

*/ inline const Aws::String& GetOutputS3Uri() const{ return m_outputS3Uri; } /** *

The output prefix of the S3 bucket to upload the results of the DICOM import * job.

*/ inline bool OutputS3UriHasBeenSet() const { return m_outputS3UriHasBeenSet; } /** *

The output prefix of the S3 bucket to upload the results of the DICOM import * job.

*/ inline void SetOutputS3Uri(const Aws::String& value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri = value; } /** *

The output prefix of the S3 bucket to upload the results of the DICOM import * job.

*/ inline void SetOutputS3Uri(Aws::String&& value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri = std::move(value); } /** *

The output prefix of the S3 bucket to upload the results of the DICOM import * job.

*/ inline void SetOutputS3Uri(const char* value) { m_outputS3UriHasBeenSet = true; m_outputS3Uri.assign(value); } /** *

The output prefix of the S3 bucket to upload the results of the DICOM import * job.

*/ inline DICOMImportJobProperties& WithOutputS3Uri(const Aws::String& value) { SetOutputS3Uri(value); return *this;} /** *

The output prefix of the S3 bucket to upload the results of the DICOM import * job.

*/ inline DICOMImportJobProperties& WithOutputS3Uri(Aws::String&& value) { SetOutputS3Uri(std::move(value)); return *this;} /** *

The output prefix of the S3 bucket to upload the results of the DICOM import * job.

*/ inline DICOMImportJobProperties& WithOutputS3Uri(const char* value) { SetOutputS3Uri(value); return *this;} /** *

The error message thrown if an import job fails.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

The error message thrown if an import job fails.

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *

The error message thrown if an import job fails.

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *

The error message thrown if an import job fails.

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *

The error message thrown if an import job fails.

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *

The error message thrown if an import job fails.

*/ inline DICOMImportJobProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

The error message thrown if an import job fails.

*/ inline DICOMImportJobProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

The error message thrown if an import job fails.

*/ inline DICOMImportJobProperties& 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::String m_datastoreId; bool m_datastoreIdHasBeenSet = false; Aws::String m_dataAccessRoleArn; bool m_dataAccessRoleArnHasBeenSet = false; Aws::Utils::DateTime m_endedAt; bool m_endedAtHasBeenSet = false; Aws::Utils::DateTime m_submittedAt; bool m_submittedAtHasBeenSet = false; Aws::String m_inputS3Uri; bool m_inputS3UriHasBeenSet = false; Aws::String m_outputS3Uri; bool m_outputS3UriHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace MedicalImaging } // namespace Aws