/** * 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 for returning the export error details in a * GetEarthObservationJob.

See Also:

AWS * API Reference

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

The structure for returning the export error details while exporting results * of an Earth Observation job.

*/ inline const ExportErrorDetailsOutput& GetExportResults() const{ return m_exportResults; } /** *

The structure for returning the export error details while exporting results * of an Earth Observation job.

*/ inline bool ExportResultsHasBeenSet() const { return m_exportResultsHasBeenSet; } /** *

The structure for returning the export error details while exporting results * of an Earth Observation job.

*/ inline void SetExportResults(const ExportErrorDetailsOutput& value) { m_exportResultsHasBeenSet = true; m_exportResults = value; } /** *

The structure for returning the export error details while exporting results * of an Earth Observation job.

*/ inline void SetExportResults(ExportErrorDetailsOutput&& value) { m_exportResultsHasBeenSet = true; m_exportResults = std::move(value); } /** *

The structure for returning the export error details while exporting results * of an Earth Observation job.

*/ inline ExportErrorDetails& WithExportResults(const ExportErrorDetailsOutput& value) { SetExportResults(value); return *this;} /** *

The structure for returning the export error details while exporting results * of an Earth Observation job.

*/ inline ExportErrorDetails& WithExportResults(ExportErrorDetailsOutput&& value) { SetExportResults(std::move(value)); return *this;} /** *

The structure for returning the export error details while exporting the * source images of an Earth Observation job.

*/ inline const ExportErrorDetailsOutput& GetExportSourceImages() const{ return m_exportSourceImages; } /** *

The structure for returning the export error details while exporting the * source images of an Earth Observation job.

*/ inline bool ExportSourceImagesHasBeenSet() const { return m_exportSourceImagesHasBeenSet; } /** *

The structure for returning the export error details while exporting the * source images of an Earth Observation job.

*/ inline void SetExportSourceImages(const ExportErrorDetailsOutput& value) { m_exportSourceImagesHasBeenSet = true; m_exportSourceImages = value; } /** *

The structure for returning the export error details while exporting the * source images of an Earth Observation job.

*/ inline void SetExportSourceImages(ExportErrorDetailsOutput&& value) { m_exportSourceImagesHasBeenSet = true; m_exportSourceImages = std::move(value); } /** *

The structure for returning the export error details while exporting the * source images of an Earth Observation job.

*/ inline ExportErrorDetails& WithExportSourceImages(const ExportErrorDetailsOutput& value) { SetExportSourceImages(value); return *this;} /** *

The structure for returning the export error details while exporting the * source images of an Earth Observation job.

*/ inline ExportErrorDetails& WithExportSourceImages(ExportErrorDetailsOutput&& value) { SetExportSourceImages(std::move(value)); return *this;} private: ExportErrorDetailsOutput m_exportResults; bool m_exportResultsHasBeenSet = false; ExportErrorDetailsOutput m_exportSourceImages; bool m_exportSourceImagesHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws