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

A source for a reference import job.

See Also:

AWS * API Reference

*/ class StartReferenceImportJobSourceItem { public: AWS_OMICS_API StartReferenceImportJobSourceItem(); AWS_OMICS_API StartReferenceImportJobSourceItem(Aws::Utils::Json::JsonView jsonValue); AWS_OMICS_API StartReferenceImportJobSourceItem& 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& GetSourceFile() const{ return m_sourceFile; } /** *

The source file's location in Amazon S3.

*/ inline bool SourceFileHasBeenSet() const { return m_sourceFileHasBeenSet; } /** *

The source file's location in Amazon S3.

*/ inline void SetSourceFile(const Aws::String& value) { m_sourceFileHasBeenSet = true; m_sourceFile = value; } /** *

The source file's location in Amazon S3.

*/ inline void SetSourceFile(Aws::String&& value) { m_sourceFileHasBeenSet = true; m_sourceFile = std::move(value); } /** *

The source file's location in Amazon S3.

*/ inline void SetSourceFile(const char* value) { m_sourceFileHasBeenSet = true; m_sourceFile.assign(value); } /** *

The source file's location in Amazon S3.

*/ inline StartReferenceImportJobSourceItem& WithSourceFile(const Aws::String& value) { SetSourceFile(value); return *this;} /** *

The source file's location in Amazon S3.

*/ inline StartReferenceImportJobSourceItem& WithSourceFile(Aws::String&& value) { SetSourceFile(std::move(value)); return *this;} /** *

The source file's location in Amazon S3.

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

The source's name.

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

The source's name.

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

The source's description.

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

The source's description.

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

The source's tags.

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

The source's tags.

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

The source's tags.

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

The source's tags.

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

The source's tags.

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