/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An genome reference source.See Also:
AWS
* API Reference
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 ImportReferenceSourceItem& WithSourceFile(const Aws::String& value) { SetSourceFile(value); return *this;} /** *The source file's location in Amazon S3.
*/ inline ImportReferenceSourceItem& WithSourceFile(Aws::String&& value) { SetSourceFile(std::move(value)); return *this;} /** *The source file's location in Amazon S3.
*/ inline ImportReferenceSourceItem& WithSourceFile(const char* value) { SetSourceFile(value); return *this;} /** *The source's status.
*/ inline const ReferenceImportJobItemStatus& GetStatus() const{ return m_status; } /** *The source's status.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The source's status.
*/ inline void SetStatus(const ReferenceImportJobItemStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The source's status.
*/ inline void SetStatus(ReferenceImportJobItemStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The source's status.
*/ inline ImportReferenceSourceItem& WithStatus(const ReferenceImportJobItemStatus& value) { SetStatus(value); return *this;} /** *The source's status.
*/ inline ImportReferenceSourceItem& WithStatus(ReferenceImportJobItemStatus&& 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 ImportReferenceSourceItem& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *The source's status message.
*/ inline ImportReferenceSourceItem& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *The source's status message.
*/ inline ImportReferenceSourceItem& WithStatusMessage(const char* value) { SetStatusMessage(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 ImportReferenceSourceItem& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The source's name.
*/ inline ImportReferenceSourceItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The source's name.
*/ inline ImportReferenceSourceItem& 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 ImportReferenceSourceItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The source's description.
*/ inline ImportReferenceSourceItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The source's description.
*/ inline ImportReferenceSourceItem& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The source's tags.
*/ inline const Aws::MapThe source's tags.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The source's tags.
*/ inline void SetTags(const Aws::MapThe source's tags.
*/ inline void SetTags(Aws::MapThe source's tags.
*/ inline ImportReferenceSourceItem& WithTags(const Aws::MapThe source's tags.
*/ inline ImportReferenceSourceItem& WithTags(Aws::MapThe source's tags.
*/ inline ImportReferenceSourceItem& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The source's tags.
*/ inline ImportReferenceSourceItem& 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 ImportReferenceSourceItem& 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 ImportReferenceSourceItem& 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 ImportReferenceSourceItem& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The source's tags.
*/ inline ImportReferenceSourceItem& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The source's tags.
*/ inline ImportReferenceSourceItem& 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; ReferenceImportJobItemStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Map