7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
63 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
71 bool m_errorCodeHasBeenSet =
false;
74 bool m_messageHasBeenSet =
false;
const Aws::String & GetMessage() const
EnvironmentError & WithMessage(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
void SetErrorCode(const Aws::String &value)
void SetMessage(const Aws::String &value)
EnvironmentError & WithMessage(const char *value)
EnvironmentError & WithErrorCode(Aws::String &&value)
AWS_LAMBDA_API EnvironmentError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(Aws::String &&value)
EnvironmentError & WithMessage(const Aws::String &value)
EnvironmentError & WithErrorCode(const Aws::String &value)
EnvironmentError & WithErrorCode(const char *value)
bool MessageHasBeenSet() const
void SetErrorCode(Aws::String &&value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDA_API EnvironmentError()
void SetMessage(const char *value)
const Aws::String & GetErrorCode() const
AWS_LAMBDA_API EnvironmentError(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue