/** * 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 { /** *

Summary of import job.

See Also:

AWS * API Reference

*/ class DICOMImportJobSummary { public: AWS_MEDICALIMAGING_API DICOMImportJobSummary(); AWS_MEDICALIMAGING_API DICOMImportJobSummary(Aws::Utils::Json::JsonView jsonValue); AWS_MEDICALIMAGING_API DICOMImportJobSummary& 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 DICOMImportJobSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The import job identifier.

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

The import job identifier.

*/ inline DICOMImportJobSummary& 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 DICOMImportJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The import job name.

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

The import job name.

*/ inline DICOMImportJobSummary& 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 DICOMImportJobSummary& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;} /** *

The filters for listing import jobs based on status.

*/ inline DICOMImportJobSummary& 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 DICOMImportJobSummary& WithDatastoreId(const Aws::String& value) { SetDatastoreId(value); return *this;} /** *

The data store identifier.

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

The data store identifier.

*/ inline DICOMImportJobSummary& 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 DICOMImportJobSummary& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;} /** *

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

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

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

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

The timestamp when an import job ended.

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

The timestamp when an import job ended.

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

The timestamp when an import job ended.

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

The timestamp when an import job ended.

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

The timestamp when an import job ended.

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

The timestamp when an import job ended.

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

The timestamp when an import job was submitted.

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

The timestamp when an import job was submitted.

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

The timestamp when an import job was submitted.

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

The timestamp when an import job was submitted.

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

The timestamp when an import job was submitted.

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

The timestamp when an import job was submitted.

*/ inline DICOMImportJobSummary& WithSubmittedAt(Aws::Utils::DateTime&& value) { SetSubmittedAt(std::move(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 DICOMImportJobSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

The error message thrown if an import job fails.

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

The error message thrown if an import job fails.

*/ inline DICOMImportJobSummary& 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_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace MedicalImaging } // namespace Aws