7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/WorkspaceImageErrorDetailCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
63 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
71 bool m_errorCodeHasBeenSet =
false;
74 bool m_errorMessageHasBeenSet =
false;
bool ErrorMessageHasBeenSet() const
ErrorDetails & WithErrorCode(WorkspaceImageErrorDetailCode &&value)
ErrorDetails & WithErrorMessage(const char *value)
void SetErrorMessage(const char *value)
bool ErrorCodeHasBeenSet() const
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
const WorkspaceImageErrorDetailCode & GetErrorCode() const
void SetErrorCode(WorkspaceImageErrorDetailCode &&value)
void SetErrorCode(const WorkspaceImageErrorDetailCode &value)
void SetErrorMessage(const Aws::String &value)
AWS_WORKSPACES_API ErrorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorDetails & WithErrorMessage(Aws::String &&value)
AWS_WORKSPACES_API ErrorDetails(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(Aws::String &&value)
ErrorDetails & WithErrorCode(const WorkspaceImageErrorDetailCode &value)
const Aws::String & GetErrorMessage() const
ErrorDetails & WithErrorMessage(const Aws::String &value)
AWS_WORKSPACES_API ErrorDetails()
WorkspaceImageErrorDetailCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue