/** * 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 AmplifyUIBuilder { namespace Model { /** *

Describes an asset for a code generation job.

See Also:

AWS * API Reference

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

The URL to use to access the asset.

*/ inline const Aws::String& GetDownloadUrl() const{ return m_downloadUrl; } /** *

The URL to use to access the asset.

*/ inline bool DownloadUrlHasBeenSet() const { return m_downloadUrlHasBeenSet; } /** *

The URL to use to access the asset.

*/ inline void SetDownloadUrl(const Aws::String& value) { m_downloadUrlHasBeenSet = true; m_downloadUrl = value; } /** *

The URL to use to access the asset.

*/ inline void SetDownloadUrl(Aws::String&& value) { m_downloadUrlHasBeenSet = true; m_downloadUrl = std::move(value); } /** *

The URL to use to access the asset.

*/ inline void SetDownloadUrl(const char* value) { m_downloadUrlHasBeenSet = true; m_downloadUrl.assign(value); } /** *

The URL to use to access the asset.

*/ inline CodegenJobAsset& WithDownloadUrl(const Aws::String& value) { SetDownloadUrl(value); return *this;} /** *

The URL to use to access the asset.

*/ inline CodegenJobAsset& WithDownloadUrl(Aws::String&& value) { SetDownloadUrl(std::move(value)); return *this;} /** *

The URL to use to access the asset.

*/ inline CodegenJobAsset& WithDownloadUrl(const char* value) { SetDownloadUrl(value); return *this;} private: Aws::String m_downloadUrl; bool m_downloadUrlHasBeenSet = false; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws