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

Part of the response to ListMultipartReadSetUploads, excluding completed and * aborted multipart uploads.

See Also:

AWS * API Reference

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

The sequence store ID used for the multipart upload.

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

The sequence store ID used for the multipart upload.

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

The sequence store ID used for the multipart upload.

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

The sequence store ID used for the multipart upload.

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

The sequence store ID used for the multipart upload.

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

The sequence store ID used for the multipart upload.

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

The sequence store ID used for the multipart upload.

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

The sequence store ID used for the multipart upload.

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

The ID for the initiated multipart upload.

*/ inline const Aws::String& GetUploadId() const{ return m_uploadId; } /** *

The ID for the initiated multipart upload.

*/ inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } /** *

The ID for the initiated multipart upload.

*/ inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; } /** *

The ID for the initiated multipart upload.

*/ inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); } /** *

The ID for the initiated multipart upload.

*/ inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); } /** *

The ID for the initiated multipart upload.

*/ inline MultipartReadSetUploadListItem& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;} /** *

The ID for the initiated multipart upload.

*/ inline MultipartReadSetUploadListItem& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;} /** *

The ID for the initiated multipart upload.

*/ inline MultipartReadSetUploadListItem& WithUploadId(const char* value) { SetUploadId(value); return *this;} /** *

The type of file the read set originated from.

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

The type of file the read set originated from.

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

The type of file the read set originated from.

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

The type of file the read set originated from.

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

The type of file the read set originated from.

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

The type of file the read set originated from.

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

The read set source's subject ID.

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

The read set source's subject ID.

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

The read set source's subject ID.

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

The read set source's subject ID.

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

The read set source's subject ID.

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

The read set source's subject ID.

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

The read set source's subject ID.

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

The read set source's subject ID.

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

The read set source's sample ID.

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

The read set source's sample ID.

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

The read set source's sample ID.

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

The read set source's sample ID.

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

The read set source's sample ID.

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

The read set source's sample ID.

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

The read set source's sample ID.

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

The read set source's sample ID.

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

The source of an uploaded part.

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

The source of an uploaded part.

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

The source of an uploaded part.

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

The source of an uploaded part.

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

The source of an uploaded part.

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

The source of an uploaded part.

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

The source of an uploaded part.

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

The source of an uploaded part.

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

The source's reference ARN.

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

The source's reference ARN.

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

The source's reference ARN.

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

The source's reference ARN.

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

The source's reference ARN.

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

The source's reference ARN.

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

The source's reference ARN.

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

The source's reference ARN.

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

The name of a read set.

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

The name of a read set.

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

The name of a read set.

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

The name of a read set.

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

The name of a read set.

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

The name of a read set.

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

The name of a read set.

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

The name of a read set.

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

The description of a read set.

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

The description of a read set.

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

The description of a read set.

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

The description of a read set.

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

The description of a read set.

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

The description of a read set.

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

The description of a read set.

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

The description of a read set.

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

Any tags you wish to add to a read set.

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

Any tags you wish to add to a read set.

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

Any tags you wish to add to a read set.

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

Any tags you wish to add to a read set.

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

Any tags you wish to add to a read set.

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

Any tags you wish to add to a read set.

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

Any tags you wish to add to a read set.

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

Any tags you wish to add to a read set.

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

Any tags you wish to add to a read set.

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

Any tags you wish to add to a read set.

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

Any tags you wish to add to a read set.

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

Any tags you wish to add to a read set.

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

Any tags you wish to add to a read set.

*/ inline MultipartReadSetUploadListItem& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The time stamp for when a direct upload was created.

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

The time stamp for when a direct upload was created.

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

The time stamp for when a direct upload was created.

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

The time stamp for when a direct upload was created.

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

The time stamp for when a direct upload was created.

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

The time stamp for when a direct upload was created.

*/ inline MultipartReadSetUploadListItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} private: Aws::String m_sequenceStoreId; bool m_sequenceStoreIdHasBeenSet = false; Aws::String m_uploadId; bool m_uploadIdHasBeenSet = false; FileType m_sourceFileType; bool m_sourceFileTypeHasBeenSet = 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; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws