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

Details about the job error.

See Also:

AWS * API Reference

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

Details about the job error.

*/ inline const Aws::String& GetAssetName() const{ return m_assetName; } /** *

Details about the job error.

*/ inline bool AssetNameHasBeenSet() const { return m_assetNameHasBeenSet; } /** *

Details about the job error.

*/ inline void SetAssetName(const Aws::String& value) { m_assetNameHasBeenSet = true; m_assetName = value; } /** *

Details about the job error.

*/ inline void SetAssetName(Aws::String&& value) { m_assetNameHasBeenSet = true; m_assetName = std::move(value); } /** *

Details about the job error.

*/ inline void SetAssetName(const char* value) { m_assetNameHasBeenSet = true; m_assetName.assign(value); } /** *

Details about the job error.

*/ inline ImportAssetFromSignedUrlJobErrorDetails& WithAssetName(const Aws::String& value) { SetAssetName(value); return *this;} /** *

Details about the job error.

*/ inline ImportAssetFromSignedUrlJobErrorDetails& WithAssetName(Aws::String&& value) { SetAssetName(std::move(value)); return *this;} /** *

Details about the job error.

*/ inline ImportAssetFromSignedUrlJobErrorDetails& WithAssetName(const char* value) { SetAssetName(value); return *this;} private: Aws::String m_assetName; bool m_assetNameHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws