7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/CodeErrorLocation.h>
48 template<
typename ErrorTypeT = Aws::String>
49 void SetErrorType(ErrorTypeT&& value) { m_errorTypeHasBeenSet =
true; m_errorType = std::forward<ErrorTypeT>(value); }
50 template<
typename ErrorTypeT = Aws::String>
61 template<
typename ValueT = Aws::String>
62 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
63 template<
typename ValueT = Aws::String>
73 template<
typename LocationT = CodeErrorLocation>
74 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
75 template<
typename LocationT = CodeErrorLocation>
81 bool m_errorTypeHasBeenSet =
false;
84 bool m_valueHasBeenSet =
false;
87 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