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

Information about the job error.

See Also:

AWS * API Reference

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

Information about the job error.

*/ inline const ImportAssetFromSignedUrlJobErrorDetails& GetImportAssetFromSignedUrlJobErrorDetails() const{ return m_importAssetFromSignedUrlJobErrorDetails; } /** *

Information about the job error.

*/ inline bool ImportAssetFromSignedUrlJobErrorDetailsHasBeenSet() const { return m_importAssetFromSignedUrlJobErrorDetailsHasBeenSet; } /** *

Information about the job error.

*/ inline void SetImportAssetFromSignedUrlJobErrorDetails(const ImportAssetFromSignedUrlJobErrorDetails& value) { m_importAssetFromSignedUrlJobErrorDetailsHasBeenSet = true; m_importAssetFromSignedUrlJobErrorDetails = value; } /** *

Information about the job error.

*/ inline void SetImportAssetFromSignedUrlJobErrorDetails(ImportAssetFromSignedUrlJobErrorDetails&& value) { m_importAssetFromSignedUrlJobErrorDetailsHasBeenSet = true; m_importAssetFromSignedUrlJobErrorDetails = std::move(value); } /** *

Information about the job error.

*/ inline Details& WithImportAssetFromSignedUrlJobErrorDetails(const ImportAssetFromSignedUrlJobErrorDetails& value) { SetImportAssetFromSignedUrlJobErrorDetails(value); return *this;} /** *

Information about the job error.

*/ inline Details& WithImportAssetFromSignedUrlJobErrorDetails(ImportAssetFromSignedUrlJobErrorDetails&& value) { SetImportAssetFromSignedUrlJobErrorDetails(std::move(value)); return *this;} /** *

Details about the job error.

*/ inline const Aws::Vector& GetImportAssetsFromS3JobErrorDetails() const{ return m_importAssetsFromS3JobErrorDetails; } /** *

Details about the job error.

*/ inline bool ImportAssetsFromS3JobErrorDetailsHasBeenSet() const { return m_importAssetsFromS3JobErrorDetailsHasBeenSet; } /** *

Details about the job error.

*/ inline void SetImportAssetsFromS3JobErrorDetails(const Aws::Vector& value) { m_importAssetsFromS3JobErrorDetailsHasBeenSet = true; m_importAssetsFromS3JobErrorDetails = value; } /** *

Details about the job error.

*/ inline void SetImportAssetsFromS3JobErrorDetails(Aws::Vector&& value) { m_importAssetsFromS3JobErrorDetailsHasBeenSet = true; m_importAssetsFromS3JobErrorDetails = std::move(value); } /** *

Details about the job error.

*/ inline Details& WithImportAssetsFromS3JobErrorDetails(const Aws::Vector& value) { SetImportAssetsFromS3JobErrorDetails(value); return *this;} /** *

Details about the job error.

*/ inline Details& WithImportAssetsFromS3JobErrorDetails(Aws::Vector&& value) { SetImportAssetsFromS3JobErrorDetails(std::move(value)); return *this;} /** *

Details about the job error.

*/ inline Details& AddImportAssetsFromS3JobErrorDetails(const AssetSourceEntry& value) { m_importAssetsFromS3JobErrorDetailsHasBeenSet = true; m_importAssetsFromS3JobErrorDetails.push_back(value); return *this; } /** *

Details about the job error.

*/ inline Details& AddImportAssetsFromS3JobErrorDetails(AssetSourceEntry&& value) { m_importAssetsFromS3JobErrorDetailsHasBeenSet = true; m_importAssetsFromS3JobErrorDetails.push_back(std::move(value)); return *this; } private: ImportAssetFromSignedUrlJobErrorDetails m_importAssetFromSignedUrlJobErrorDetails; bool m_importAssetFromSignedUrlJobErrorDetailsHasBeenSet = false; Aws::Vector m_importAssetsFromS3JobErrorDetails; bool m_importAssetsFromS3JobErrorDetailsHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws