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

Details about an imported annotation item.

See Also:

AWS * API Reference

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

The source file's location in Amazon S3.

*/ inline const Aws::String& GetSource() const{ return m_source; } /** *

The source file's location in Amazon S3.

*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *

The source file's location in Amazon S3.

*/ inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; } /** *

The source file's location in Amazon S3.

*/ inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *

The source file's location in Amazon S3.

*/ inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); } /** *

The source file's location in Amazon S3.

*/ inline AnnotationImportItemDetail& WithSource(const Aws::String& value) { SetSource(value); return *this;} /** *

The source file's location in Amazon S3.

*/ inline AnnotationImportItemDetail& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;} /** *

The source file's location in Amazon S3.

*/ inline AnnotationImportItemDetail& WithSource(const char* value) { SetSource(value); return *this;} /** *

The item's job status.

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

The item's job status.

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

The item's job status.

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

The item's job status.

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

The item's job status.

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

The item's job status.

*/ inline AnnotationImportItemDetail& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;} private: Aws::String m_source; bool m_sourceHasBeenSet = false; JobStatus m_jobStatus; bool m_jobStatusHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws