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

VectorEnrichmentJob export error details in response from * GetVectorEnrichmentJob.

See Also:

AWS * API Reference

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

The message providing details about the errors generated during the Vector * Enrichment job.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

The message providing details about the errors generated during the Vector * Enrichment job.

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *

The message providing details about the errors generated during the Vector * Enrichment job.

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *

The message providing details about the errors generated during the Vector * Enrichment job.

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *

The message providing details about the errors generated during the Vector * Enrichment job.

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *

The message providing details about the errors generated during the Vector * Enrichment job.

*/ inline VectorEnrichmentJobExportErrorDetails& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

The message providing details about the errors generated during the Vector * Enrichment job.

*/ inline VectorEnrichmentJobExportErrorDetails& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

The message providing details about the errors generated during the Vector * Enrichment job.

*/ inline VectorEnrichmentJobExportErrorDetails& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

The output error details for an Export operation on a Vector Enrichment * job.

*/ inline const VectorEnrichmentJobExportErrorType& GetType() const{ return m_type; } /** *

The output error details for an Export operation on a Vector Enrichment * job.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The output error details for an Export operation on a Vector Enrichment * job.

*/ inline void SetType(const VectorEnrichmentJobExportErrorType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The output error details for an Export operation on a Vector Enrichment * job.

*/ inline void SetType(VectorEnrichmentJobExportErrorType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The output error details for an Export operation on a Vector Enrichment * job.

*/ inline VectorEnrichmentJobExportErrorDetails& WithType(const VectorEnrichmentJobExportErrorType& value) { SetType(value); return *this;} /** *

The output error details for an Export operation on a Vector Enrichment * job.

*/ inline VectorEnrichmentJobExportErrorDetails& WithType(VectorEnrichmentJobExportErrorType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; VectorEnrichmentJobExportErrorType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws