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