/** * 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 read set.

See Also:

AWS * API Reference

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

The read set's ID.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The read set's ID.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The read set's ID.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The read set's ID.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The read set's ID.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The read set's ID.

*/ inline ReadSetListItem& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The read set's ID.

*/ inline ReadSetListItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The read set's ID.

*/ inline ReadSetListItem& WithId(const char* value) { SetId(value); return *this;} /** *

The read set's ARN.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The read set's ARN.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The read set's ARN.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The read set's ARN.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The read set's ARN.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The read set's ARN.

*/ inline ReadSetListItem& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The read set's ARN.

*/ inline ReadSetListItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The read set's ARN.

*/ inline ReadSetListItem& WithArn(const char* value) { SetArn(value); return *this;} /** *

The read set's sequence store ID.

*/ inline const Aws::String& GetSequenceStoreId() const{ return m_sequenceStoreId; } /** *

The read set's sequence store ID.

*/ inline bool SequenceStoreIdHasBeenSet() const { return m_sequenceStoreIdHasBeenSet; } /** *

The read set's sequence store ID.

*/ inline void SetSequenceStoreId(const Aws::String& value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId = value; } /** *

The read set's sequence store ID.

*/ inline void SetSequenceStoreId(Aws::String&& value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId = std::move(value); } /** *

The read set's sequence store ID.

*/ inline void SetSequenceStoreId(const char* value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId.assign(value); } /** *

The read set's sequence store ID.

*/ inline ReadSetListItem& WithSequenceStoreId(const Aws::String& value) { SetSequenceStoreId(value); return *this;} /** *

The read set's sequence store ID.

*/ inline ReadSetListItem& WithSequenceStoreId(Aws::String&& value) { SetSequenceStoreId(std::move(value)); return *this;} /** *

The read set's sequence store ID.

*/ inline ReadSetListItem& WithSequenceStoreId(const char* value) { SetSequenceStoreId(value); return *this;} /** *

The read set's subject ID.

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

The read set's subject ID.

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

The read set's subject ID.

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

The read set's subject ID.

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

The read set's subject ID.

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

The read set's subject ID.

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

The read set's subject ID.

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

The read set's subject ID.

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

The read set's sample ID.

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

The read set's sample ID.

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

The read set's sample ID.

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

The read set's sample ID.

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

The read set's sample ID.

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

The read set's sample ID.

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

The read set's sample ID.

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

The read set's sample ID.

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

The read set's status.

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

The read set's status.

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

The read set's status.

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

The read set's status.

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

The read set's status.

*/ inline ReadSetListItem& WithStatus(const ReadSetStatus& value) { SetStatus(value); return *this;} /** *

The read set's status.

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

The read set's name.

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

The read set's name.

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

The read set's name.

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

The read set's name.

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

The read set's name.

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

The read set's name.

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

The read set's name.

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

The read set's name.

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

The read set's description.

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

The read set's description.

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

The read set's description.

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

The read set's description.

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

The read set's description.

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

The read set's description.

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

The read set's description.

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

The read set's description.

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

The read set's genome reference ARN.

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

The read set's genome reference ARN.

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

The read set's genome reference ARN.

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

The read set's genome reference ARN.

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

The read set's genome reference ARN.

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

The read set's genome reference ARN.

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

The read set's genome reference ARN.

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

The read set's genome reference ARN.

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

The read set's file type.

*/ inline const FileType& GetFileType() const{ return m_fileType; } /** *

The read set's file type.

*/ inline bool FileTypeHasBeenSet() const { return m_fileTypeHasBeenSet; } /** *

The read set's file type.

*/ inline void SetFileType(const FileType& value) { m_fileTypeHasBeenSet = true; m_fileType = value; } /** *

The read set's file type.

*/ inline void SetFileType(FileType&& value) { m_fileTypeHasBeenSet = true; m_fileType = std::move(value); } /** *

The read set's file type.

*/ inline ReadSetListItem& WithFileType(const FileType& value) { SetFileType(value); return *this;} /** *

The read set's file type.

*/ inline ReadSetListItem& WithFileType(FileType&& value) { SetFileType(std::move(value)); return *this;} inline const SequenceInformation& GetSequenceInformation() const{ return m_sequenceInformation; } inline bool SequenceInformationHasBeenSet() const { return m_sequenceInformationHasBeenSet; } inline void SetSequenceInformation(const SequenceInformation& value) { m_sequenceInformationHasBeenSet = true; m_sequenceInformation = value; } inline void SetSequenceInformation(SequenceInformation&& value) { m_sequenceInformationHasBeenSet = true; m_sequenceInformation = std::move(value); } inline ReadSetListItem& WithSequenceInformation(const SequenceInformation& value) { SetSequenceInformation(value); return *this;} inline ReadSetListItem& WithSequenceInformation(SequenceInformation&& value) { SetSequenceInformation(std::move(value)); return *this;} /** *

When the read set was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

When the read set was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

When the read set was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

When the read set was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

When the read set was created.

*/ inline ReadSetListItem& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the read set was created.

*/ inline ReadSetListItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The status for a read set. It provides more detail as to why the read set * has a status.

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

The status for a read set. It provides more detail as to why the read set * has a status.

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

The status for a read set. It provides more detail as to why the read set * has a status.

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

The status for a read set. It provides more detail as to why the read set * has a status.

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

The status for a read set. It provides more detail as to why the read set * has a status.

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

The status for a read set. It provides more detail as to why the read set * has a status.

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

The status for a read set. It provides more detail as to why the read set * has a status.

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

The status for a read set. It provides more detail as to why the read set * has a status.

*/ inline ReadSetListItem& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_sequenceStoreId; bool m_sequenceStoreIdHasBeenSet = false; Aws::String m_subjectId; bool m_subjectIdHasBeenSet = false; Aws::String m_sampleId; bool m_sampleIdHasBeenSet = false; ReadSetStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_referenceArn; bool m_referenceArnHasBeenSet = false; FileType m_fileType; bool m_fileTypeHasBeenSet = false; SequenceInformation m_sequenceInformation; bool m_sequenceInformationHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws