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

A source for a read set import job.

See Also:

AWS * API Reference

*/ class StartReadSetImportJobSourceItem { public: AWS_OMICS_API StartReadSetImportJobSourceItem(); AWS_OMICS_API StartReadSetImportJobSourceItem(Aws::Utils::Json::JsonView jsonValue); AWS_OMICS_API StartReadSetImportJobSourceItem& 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 StartReadSetImportJobSourceItem& WithSourceFiles(const SourceFiles& value) { SetSourceFiles(value); return *this;} /** *

The source files' location in Amazon S3.

*/ inline StartReadSetImportJobSourceItem& 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 StartReadSetImportJobSourceItem& WithSourceFileType(const FileType& value) { SetSourceFileType(value); return *this;} /** *

The source's file type.

*/ inline StartReadSetImportJobSourceItem& WithSourceFileType(FileType&& value) { SetSourceFileType(std::move(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 StartReadSetImportJobSourceItem& WithSubjectId(const Aws::String& value) { SetSubjectId(value); return *this;} /** *

The source's subject ID.

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

The source's subject ID.

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

The source's sample ID.

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

The source's sample ID.

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

Where the source originated.

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

Where the source originated.

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

The source's reference ARN.

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

The source's reference ARN.

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

The source's name.

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

The source's name.

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

The source's description.

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

The source's description.

*/ inline StartReadSetImportJobSourceItem& 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 StartReadSetImportJobSourceItem& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The source's tags.

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

The source's tags.

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

The source's tags.

*/ inline StartReadSetImportJobSourceItem& 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 StartReadSetImportJobSourceItem& 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 StartReadSetImportJobSourceItem& 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 StartReadSetImportJobSourceItem& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The source's tags.

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

The source's tags.

*/ inline StartReadSetImportJobSourceItem& 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; 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