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

The structure containing the asset properties.

See Also:

AWS * API Reference

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

Link to the asset object.

*/ inline const Aws::String& GetHref() const{ return m_href; } /** *

Link to the asset object.

*/ inline bool HrefHasBeenSet() const { return m_hrefHasBeenSet; } /** *

Link to the asset object.

*/ inline void SetHref(const Aws::String& value) { m_hrefHasBeenSet = true; m_href = value; } /** *

Link to the asset object.

*/ inline void SetHref(Aws::String&& value) { m_hrefHasBeenSet = true; m_href = std::move(value); } /** *

Link to the asset object.

*/ inline void SetHref(const char* value) { m_hrefHasBeenSet = true; m_href.assign(value); } /** *

Link to the asset object.

*/ inline AssetValue& WithHref(const Aws::String& value) { SetHref(value); return *this;} /** *

Link to the asset object.

*/ inline AssetValue& WithHref(Aws::String&& value) { SetHref(std::move(value)); return *this;} /** *

Link to the asset object.

*/ inline AssetValue& WithHref(const char* value) { SetHref(value); return *this;} private: Aws::String m_href; bool m_hrefHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws