/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents any errors encountered when attempting to delete multiple recipe
* versions.See Also:
AWS
* API Reference
The HTTP status code for the error.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *The HTTP status code for the error.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *The HTTP status code for the error.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *The HTTP status code for the error.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *The HTTP status code for the error.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *The HTTP status code for the error.
*/ inline RecipeVersionErrorDetail& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *The HTTP status code for the error.
*/ inline RecipeVersionErrorDetail& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *The HTTP status code for the error.
*/ inline RecipeVersionErrorDetail& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} /** *The text of the error message.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *The text of the error message.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *The text of the error message.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *The text of the error message.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *The text of the error message.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *The text of the error message.
*/ inline RecipeVersionErrorDetail& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *The text of the error message.
*/ inline RecipeVersionErrorDetail& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *The text of the error message.
*/ inline RecipeVersionErrorDetail& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *The identifier for the recipe version associated with this error.
*/ inline const Aws::String& GetRecipeVersion() const{ return m_recipeVersion; } /** *The identifier for the recipe version associated with this error.
*/ inline bool RecipeVersionHasBeenSet() const { return m_recipeVersionHasBeenSet; } /** *The identifier for the recipe version associated with this error.
*/ inline void SetRecipeVersion(const Aws::String& value) { m_recipeVersionHasBeenSet = true; m_recipeVersion = value; } /** *The identifier for the recipe version associated with this error.
*/ inline void SetRecipeVersion(Aws::String&& value) { m_recipeVersionHasBeenSet = true; m_recipeVersion = std::move(value); } /** *The identifier for the recipe version associated with this error.
*/ inline void SetRecipeVersion(const char* value) { m_recipeVersionHasBeenSet = true; m_recipeVersion.assign(value); } /** *The identifier for the recipe version associated with this error.
*/ inline RecipeVersionErrorDetail& WithRecipeVersion(const Aws::String& value) { SetRecipeVersion(value); return *this;} /** *The identifier for the recipe version associated with this error.
*/ inline RecipeVersionErrorDetail& WithRecipeVersion(Aws::String&& value) { SetRecipeVersion(std::move(value)); return *this;} /** *The identifier for the recipe version associated with this error.
*/ inline RecipeVersionErrorDetail& WithRecipeVersion(const char* value) { SetRecipeVersion(value); return *this;} private: Aws::String m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; Aws::String m_recipeVersion; bool m_recipeVersionHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws