/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The structure representing the errors in an export EarthObservationJob
* operation.See Also:
AWS
* API Reference
A detailed message describing the error in an export EarthObservationJob * operation.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A detailed message describing the error in an export EarthObservationJob * operation.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A detailed message describing the error in an export EarthObservationJob * operation.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A detailed message describing the error in an export EarthObservationJob * operation.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A detailed message describing the error in an export EarthObservationJob * operation.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A detailed message describing the error in an export EarthObservationJob * operation.
*/ inline ExportErrorDetailsOutput& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A detailed message describing the error in an export EarthObservationJob * operation.
*/ inline ExportErrorDetailsOutput& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A detailed message describing the error in an export EarthObservationJob * operation.
*/ inline ExportErrorDetailsOutput& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The type of error in an export EarthObservationJob operation.
*/ inline const ExportErrorType& GetType() const{ return m_type; } /** *The type of error in an export EarthObservationJob operation.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of error in an export EarthObservationJob operation.
*/ inline void SetType(const ExportErrorType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of error in an export EarthObservationJob operation.
*/ inline void SetType(ExportErrorType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of error in an export EarthObservationJob operation.
*/ inline ExportErrorDetailsOutput& WithType(const ExportErrorType& value) { SetType(value); return *this;} /** *The type of error in an export EarthObservationJob operation.
*/ inline ExportErrorDetailsOutput& WithType(ExportErrorType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; ExportErrorType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws