7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetWorkspaceId(
const char* value) { m_workspaceIdHasBeenSet =
true; m_workspaceId.assign(value); }
65 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
80 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
88 bool m_workspaceIdHasBeenSet =
false;
91 bool m_errorCodeHasBeenSet =
false;
94 bool m_errorMessageHasBeenSet =
false;
FailedWorkspaceChangeRequest & WithErrorMessage(const Aws::String &value)
AWS_WORKSPACES_API FailedWorkspaceChangeRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(Aws::String &&value)
FailedWorkspaceChangeRequest & WithWorkspaceId(const char *value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
FailedWorkspaceChangeRequest & WithErrorMessage(const char *value)
FailedWorkspaceChangeRequest & WithErrorCode(Aws::String &&value)
void SetWorkspaceId(Aws::String &&value)
void SetWorkspaceId(const Aws::String &value)
const Aws::String & GetWorkspaceId() const
bool ErrorCodeHasBeenSet() const
void SetErrorMessage(Aws::String &&value)
const Aws::String & GetErrorMessage() const
bool ErrorMessageHasBeenSet() const
void SetErrorCode(const Aws::String &value)
FailedWorkspaceChangeRequest & WithErrorCode(const char *value)
void SetErrorMessage(const char *value)
AWS_WORKSPACES_API FailedWorkspaceChangeRequest(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(const char *value)
FailedWorkspaceChangeRequest & WithErrorCode(const Aws::String &value)
AWS_WORKSPACES_API FailedWorkspaceChangeRequest()
const Aws::String & GetErrorCode() const
FailedWorkspaceChangeRequest & WithErrorMessage(Aws::String &&value)
FailedWorkspaceChangeRequest & WithWorkspaceId(Aws::String &&value)
FailedWorkspaceChangeRequest & WithWorkspaceId(const Aws::String &value)
void SetErrorMessage(const Aws::String &value)
void SetWorkspaceId(const char *value)
bool WorkspaceIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue