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

A imported variant item's source.

See Also:

AWS * API Reference

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

The source file's location in Amazon S3.

*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *

The source file's location in Amazon S3.

*/ inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; } /** *

The source file's location in Amazon S3.

*/ inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *

The source file's location in Amazon S3.

*/ inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); } /** *

The source file's location in Amazon S3.

*/ inline VariantImportItemSource& WithSource(const Aws::String& value) { SetSource(value); return *this;} /** *

The source file's location in Amazon S3.

*/ inline VariantImportItemSource& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;} /** *

The source file's location in Amazon S3.

*/ inline VariantImportItemSource& WithSource(const char* value) { SetSource(value); return *this;} private: Aws::String m_source; bool m_sourceHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws