7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/CodeErrorLocation.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
42 template <
typename ErrorTypeT = Aws::String>
44 m_errorTypeHasBeenSet =
true;
45 m_errorType = std::forward<ErrorTypeT>(value);
47 template <
typename ErrorTypeT = Aws::String>
61 template <
typename ValueT = Aws::String>
63 m_valueHasBeenSet =
true;
64 m_value = std::forward<ValueT>(value);
66 template <
typename ValueT = Aws::String>
68 SetValue(std::forward<ValueT>(value));
79 template <
typename LocationT = CodeErrorLocation>
81 m_locationHasBeenSet =
true;
82 m_location = std::forward<LocationT>(value);
84 template <
typename LocationT = CodeErrorLocation>
96 bool m_errorTypeHasBeenSet =
false;
97 bool m_valueHasBeenSet =
false;
98 bool m_locationHasBeenSet =
false;
void SetErrorType(ErrorTypeT &&value)
bool LocationHasBeenSet() const
bool ValueHasBeenSet() const
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLocation(LocationT &&value)
AWS_APPSYNC_API CodeError()=default
CodeError & WithValue(ValueT &&value)
const CodeErrorLocation & GetLocation() const
AWS_APPSYNC_API CodeError(Aws::Utils::Json::JsonView jsonValue)
bool ErrorTypeHasBeenSet() const
AWS_APPSYNC_API CodeError & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeError & WithLocation(LocationT &&value)
const Aws::String & GetErrorType() const
void SetValue(ValueT &&value)
const Aws::String & GetValue() const
CodeError & WithErrorType(ErrorTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue