7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/CodeErrorLocation.h>
50 inline void SetErrorType(
const char* value) { m_errorTypeHasBeenSet =
true; m_errorType.assign(value); }
65 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
85 bool m_errorTypeHasBeenSet =
false;
88 bool m_valueHasBeenSet =
false;
91 bool m_locationHasBeenSet =
false;
void SetErrorType(const char *value)
void SetLocation(CodeErrorLocation &&value)
AWS_APPSYNC_API CodeError()
bool LocationHasBeenSet() const
bool ValueHasBeenSet() const
void SetValue(const char *value)
CodeError & WithValue(const char *value)
void SetValue(Aws::String &&value)
CodeError & WithValue(const Aws::String &value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
CodeError & WithValue(Aws::String &&value)
void SetLocation(const CodeErrorLocation &value)
const CodeErrorLocation & GetLocation() const
CodeError & WithLocation(CodeErrorLocation &&value)
CodeError & WithErrorType(const char *value)
AWS_APPSYNC_API CodeError(Aws::Utils::Json::JsonView jsonValue)
bool ErrorTypeHasBeenSet() const
AWS_APPSYNC_API CodeError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const Aws::String &value)
const Aws::String & GetErrorType() const
CodeError & WithLocation(const CodeErrorLocation &value)
const Aws::String & GetValue() const
CodeError & WithErrorType(Aws::String &&value)
CodeError & WithErrorType(const Aws::String &value)
void SetErrorType(const Aws::String &value)
void SetErrorType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue