/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The container for the metadata for Fail step.See Also:
AWS
* API Reference
A message that you define and then is processed and rendered by the Fail step * when the error occurs.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *A message that you define and then is processed and rendered by the Fail step * when the error occurs.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *A message that you define and then is processed and rendered by the Fail step * when the error occurs.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *A message that you define and then is processed and rendered by the Fail step * when the error occurs.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *A message that you define and then is processed and rendered by the Fail step * when the error occurs.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *A message that you define and then is processed and rendered by the Fail step * when the error occurs.
*/ inline FailStepMetadata& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *A message that you define and then is processed and rendered by the Fail step * when the error occurs.
*/ inline FailStepMetadata& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *A message that you define and then is processed and rendered by the Fail step * when the error occurs.
*/ inline FailStepMetadata& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} private: Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws