/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an AppSync error.See Also:
AWS
* API Reference
The type of code error.
Examples include, but aren't limited to:
* LINT_ERROR
, PARSER_ERROR
.
The type of code error.
Examples include, but aren't limited to:
* LINT_ERROR
, PARSER_ERROR
.
The type of code error.
Examples include, but aren't limited to:
* LINT_ERROR
, PARSER_ERROR
.
The type of code error.
Examples include, but aren't limited to:
* LINT_ERROR
, PARSER_ERROR
.
The type of code error.
Examples include, but aren't limited to:
* LINT_ERROR
, PARSER_ERROR
.
The type of code error.
Examples include, but aren't limited to:
* LINT_ERROR
, PARSER_ERROR
.
The type of code error.
Examples include, but aren't limited to:
* LINT_ERROR
, PARSER_ERROR
.
The type of code error.
Examples include, but aren't limited to:
* LINT_ERROR
, PARSER_ERROR
.
A user presentable error.
Examples include, but aren't limited to:
* Parsing error: Unterminated string literal
.
A user presentable error.
Examples include, but aren't limited to:
* Parsing error: Unterminated string literal
.
A user presentable error.
Examples include, but aren't limited to:
* Parsing error: Unterminated string literal
.
A user presentable error.
Examples include, but aren't limited to:
* Parsing error: Unterminated string literal
.
A user presentable error.
Examples include, but aren't limited to:
* Parsing error: Unterminated string literal
.
A user presentable error.
Examples include, but aren't limited to:
* Parsing error: Unterminated string literal
.
A user presentable error.
Examples include, but aren't limited to:
* Parsing error: Unterminated string literal
.
A user presentable error.
Examples include, but aren't limited to:
* Parsing error: Unterminated string literal
.
The line, column, and span location of the error in the code.
*/ inline const CodeErrorLocation& GetLocation() const{ return m_location; } /** *The line, column, and span location of the error in the code.
*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *The line, column, and span location of the error in the code.
*/ inline void SetLocation(const CodeErrorLocation& value) { m_locationHasBeenSet = true; m_location = value; } /** *The line, column, and span location of the error in the code.
*/ inline void SetLocation(CodeErrorLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *The line, column, and span location of the error in the code.
*/ inline CodeError& WithLocation(const CodeErrorLocation& value) { SetLocation(value); return *this;} /** *The line, column, and span location of the error in the code.
*/ inline CodeError& WithLocation(CodeErrorLocation&& value) { SetLocation(std::move(value)); return *this;} private: Aws::String m_errorType; bool m_errorTypeHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; CodeErrorLocation m_location; bool m_locationHasBeenSet = false; }; } // namespace Model } // namespace AppSync } // namespace Aws