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