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

A source for an import read set job.

See Also:

AWS * API Reference

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

The source files' location in Amazon S3.

*/ inline const SourceFiles& GetSourceFiles() const{ return m_sourceFiles; } /** *

The source files' location in Amazon S3.

*/ inline bool SourceFilesHasBeenSet() const { return m_sourceFilesHasBeenSet; } /** *

The source files' location in Amazon S3.

*/ inline void SetSourceFiles(const SourceFiles& value) { m_sourceFilesHasBeenSet = true; m_sourceFiles = value; } /** *

The source files' location in Amazon S3.

*/ inline void SetSourceFiles(SourceFiles&& value) { m_sourceFilesHasBeenSet = true; m_sourceFiles = std::move(value); } /** *

The source files' location in Amazon S3.

*/ inline ImportReadSetSourceItem& WithSourceFiles(const SourceFiles& value) { SetSourceFiles(value); return *this;} /** *

The source files' location in Amazon S3.

*/ inline ImportReadSetSourceItem& WithSourceFiles(SourceFiles&& value) { SetSourceFiles(std::move(value)); return *this;} /** *

The source's file type.

*/ inline const FileType& GetSourceFileType() const{ return m_sourceFileType; } /** *

The source's file type.

*/ inline bool SourceFileTypeHasBeenSet() const { return m_sourceFileTypeHasBeenSet; } /** *

The source's file type.

*/ inline void SetSourceFileType(const FileType& value) { m_sourceFileTypeHasBeenSet = true; m_sourceFileType = value; } /** *

The source's file type.

*/ inline void SetSourceFileType(FileType&& value) { m_sourceFileTypeHasBeenSet = true; m_sourceFileType = std::move(value); } /** *

The source's file type.

*/ inline ImportReadSetSourceItem& WithSourceFileType(const FileType& value) { SetSourceFileType(value); return *this;} /** *

The source's file type.

*/ inline ImportReadSetSourceItem& WithSourceFileType(FileType&& value) { SetSourceFileType(std::move(value)); return *this;} /** *

The source's status.

*/ inline const ReadSetImportJobItemStatus& GetStatus() const{ return m_status; } /** *

The source's status.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The source's status.

*/ inline void SetStatus(const ReadSetImportJobItemStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The source's status.

*/ inline void SetStatus(ReadSetImportJobItemStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The source's status.

*/ inline ImportReadSetSourceItem& WithStatus(const ReadSetImportJobItemStatus& value) { SetStatus(value); return *this;} /** *

The source's status.

*/ inline ImportReadSetSourceItem& WithStatus(ReadSetImportJobItemStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The source's status message.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

The source's status message.

*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *

The source's status message.

*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *

The source's status message.

*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *

The source's status message.

*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *

The source's status message.

*/ inline ImportReadSetSourceItem& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

The source's status message.

*/ inline ImportReadSetSourceItem& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

The source's status message.

*/ inline ImportReadSetSourceItem& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *

The source's subject ID.

*/ inline const Aws::String& GetSubjectId() const{ return m_subjectId; } /** *

The source's subject ID.

*/ inline bool SubjectIdHasBeenSet() const { return m_subjectIdHasBeenSet; } /** *

The source's subject ID.

*/ inline void SetSubjectId(const Aws::String& value) { m_subjectIdHasBeenSet = true; m_subjectId = value; } /** *

The source's subject ID.

*/ inline void SetSubjectId(Aws::String&& value) { m_subjectIdHasBeenSet = true; m_subjectId = std::move(value); } /** *

The source's subject ID.

*/ inline void SetSubjectId(const char* value) { m_subjectIdHasBeenSet = true; m_subjectId.assign(value); } /** *

The source's subject ID.

*/ inline ImportReadSetSourceItem& WithSubjectId(const Aws::String& value) { SetSubjectId(value); return *this;} /** *

The source's subject ID.

*/ inline ImportReadSetSourceItem& WithSubjectId(Aws::String&& value) { SetSubjectId(std::move(value)); return *this;} /** *

The source's subject ID.

*/ inline ImportReadSetSourceItem& WithSubjectId(const char* value) { SetSubjectId(value); return *this;} /** *

The source's sample ID.

*/ inline const Aws::String& GetSampleId() const{ return m_sampleId; } /** *

The source's sample ID.

*/ inline bool SampleIdHasBeenSet() const { return m_sampleIdHasBeenSet; } /** *

The source's sample ID.

*/ inline void SetSampleId(const Aws::String& value) { m_sampleIdHasBeenSet = true; m_sampleId = value; } /** *

The source's sample ID.

*/ inline void SetSampleId(Aws::String&& value) { m_sampleIdHasBeenSet = true; m_sampleId = std::move(value); } /** *

The source's sample ID.

*/ inline void SetSampleId(const char* value) { m_sampleIdHasBeenSet = true; m_sampleId.assign(value); } /** *

The source's sample ID.

*/ inline ImportReadSetSourceItem& WithSampleId(const Aws::String& value) { SetSampleId(value); return *this;} /** *

The source's sample ID.

*/ inline ImportReadSetSourceItem& WithSampleId(Aws::String&& value) { SetSampleId(std::move(value)); return *this;} /** *

The source's sample ID.

*/ inline ImportReadSetSourceItem& WithSampleId(const char* value) { SetSampleId(value); return *this;} /** *

Where the source originated.

*/ inline const Aws::String& GetGeneratedFrom() const{ return m_generatedFrom; } /** *

Where the source originated.

*/ inline bool GeneratedFromHasBeenSet() const { return m_generatedFromHasBeenSet; } /** *

Where the source originated.

*/ inline void SetGeneratedFrom(const Aws::String& value) { m_generatedFromHasBeenSet = true; m_generatedFrom = value; } /** *

Where the source originated.

*/ inline void SetGeneratedFrom(Aws::String&& value) { m_generatedFromHasBeenSet = true; m_generatedFrom = std::move(value); } /** *

Where the source originated.

*/ inline void SetGeneratedFrom(const char* value) { m_generatedFromHasBeenSet = true; m_generatedFrom.assign(value); } /** *

Where the source originated.

*/ inline ImportReadSetSourceItem& WithGeneratedFrom(const Aws::String& value) { SetGeneratedFrom(value); return *this;} /** *

Where the source originated.

*/ inline ImportReadSetSourceItem& WithGeneratedFrom(Aws::String&& value) { SetGeneratedFrom(std::move(value)); return *this;} /** *

Where the source originated.

*/ inline ImportReadSetSourceItem& WithGeneratedFrom(const char* value) { SetGeneratedFrom(value); return *this;} /** *

The source's genome reference ARN.

*/ inline const Aws::String& GetReferenceArn() const{ return m_referenceArn; } /** *

The source's genome reference ARN.

*/ inline bool ReferenceArnHasBeenSet() const { return m_referenceArnHasBeenSet; } /** *

The source's genome reference ARN.

*/ inline void SetReferenceArn(const Aws::String& value) { m_referenceArnHasBeenSet = true; m_referenceArn = value; } /** *

The source's genome reference ARN.

*/ inline void SetReferenceArn(Aws::String&& value) { m_referenceArnHasBeenSet = true; m_referenceArn = std::move(value); } /** *

The source's genome reference ARN.

*/ inline void SetReferenceArn(const char* value) { m_referenceArnHasBeenSet = true; m_referenceArn.assign(value); } /** *

The source's genome reference ARN.

*/ inline ImportReadSetSourceItem& WithReferenceArn(const Aws::String& value) { SetReferenceArn(value); return *this;} /** *

The source's genome reference ARN.

*/ inline ImportReadSetSourceItem& WithReferenceArn(Aws::String&& value) { SetReferenceArn(std::move(value)); return *this;} /** *

The source's genome reference ARN.

*/ inline ImportReadSetSourceItem& WithReferenceArn(const char* value) { SetReferenceArn(value); return *this;} /** *

The source's name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The source's name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The source's name.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The source's name.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The source's name.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The source's name.

*/ inline ImportReadSetSourceItem& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The source's name.

*/ inline ImportReadSetSourceItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The source's name.

*/ inline ImportReadSetSourceItem& WithName(const char* value) { SetName(value); return *this;} /** *

The source's description.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The source's description.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The source's description.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The source's description.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The source's description.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The source's description.

*/ inline ImportReadSetSourceItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The source's description.

*/ inline ImportReadSetSourceItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The source's description.

*/ inline ImportReadSetSourceItem& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The source's tags.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The source's tags.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The source's tags.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The source's tags.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The source's tags.

*/ inline ImportReadSetSourceItem& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The source's tags.

*/ inline ImportReadSetSourceItem& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The source's tags.

*/ inline ImportReadSetSourceItem& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The source's tags.

*/ inline ImportReadSetSourceItem& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The source's tags.

*/ inline ImportReadSetSourceItem& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The source's tags.

*/ inline ImportReadSetSourceItem& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The source's tags.

*/ inline ImportReadSetSourceItem& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The source's tags.

*/ inline ImportReadSetSourceItem& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The source's tags.

*/ inline ImportReadSetSourceItem& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: SourceFiles m_sourceFiles; bool m_sourceFilesHasBeenSet = false; FileType m_sourceFileType; bool m_sourceFileTypeHasBeenSet = false; ReadSetImportJobItemStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::String m_subjectId; bool m_subjectIdHasBeenSet = false; Aws::String m_sampleId; bool m_sampleIdHasBeenSet = false; Aws::String m_generatedFrom; bool m_generatedFromHasBeenSet = false; Aws::String m_referenceArn; bool m_referenceArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws