7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
41 template <
typename ErrorMessageT = Aws::String>
43 m_errorMessageHasBeenSet =
true;
44 m_errorMessage = std::forward<ErrorMessageT>(value);
46 template <
typename ErrorMessageT = Aws::String>
59 template <
typename ErrorTypeT = Aws::String>
61 m_errorTypeHasBeenSet =
true;
62 m_errorType = std::forward<ErrorTypeT>(value);
64 template <
typename ErrorTypeT = Aws::String>
77 template <
typename ErrorDataT = Aws::String>
79 m_errorDataHasBeenSet =
true;
80 m_errorData = std::forward<ErrorDataT>(value);
82 template <
typename ErrorDataT = Aws::String>
95 template <
typename StackTraceT = Aws::Vector<Aws::String>>
97 m_stackTraceHasBeenSet =
true;
98 m_stackTrace = std::forward<StackTraceT>(value);
100 template <
typename StackTraceT = Aws::Vector<Aws::String>>
105 template <
typename StackTraceT = Aws::String>
107 m_stackTraceHasBeenSet =
true;
108 m_stackTrace.emplace_back(std::forward<StackTraceT>(value));
120 bool m_errorMessageHasBeenSet =
false;
121 bool m_errorTypeHasBeenSet =
false;
122 bool m_errorDataHasBeenSet =
false;
123 bool m_stackTraceHasBeenSet =
false;
ErrorObject & WithStackTrace(StackTraceT &&value)
const Aws::String & GetErrorData() const
const Aws::String & GetErrorMessage() const
ErrorObject & WithErrorData(ErrorDataT &&value)
ErrorObject & WithErrorType(ErrorTypeT &&value)
AWS_LAMBDA_API ErrorObject()=default
void SetErrorMessage(ErrorMessageT &&value)
void SetStackTrace(StackTraceT &&value)
bool ErrorTypeHasBeenSet() const
bool ErrorDataHasBeenSet() const
const Aws::String & GetErrorType() const
bool StackTraceHasBeenSet() const
ErrorObject & AddStackTrace(StackTraceT &&value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorData(ErrorDataT &&value)
ErrorObject & WithErrorMessage(ErrorMessageT &&value)
AWS_LAMBDA_API ErrorObject(Aws::Utils::Json::JsonView jsonValue)
void SetErrorType(ErrorTypeT &&value)
bool ErrorMessageHasBeenSet() const
AWS_LAMBDA_API ErrorObject & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetStackTrace() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue