code: @Override
      public ModifyWorkspaceStateResult modifyWorkspaceState(ModifyWorkspaceStateRequest request) {
          request = beforeClientExecution(request);
          return executeModifyWorkspaceState(request);
      }
docs: <p>
  Sets the state of the specified WorkSpace.
  </p>
  <p>
  To maintain a WorkSpace without being interrupted, set the WorkSpace state to <code>ADMIN_MAINTENANCE</code>.
  WorkSpaces in this state do not respond to requests to reboot, stop, start, or rebuild. An AutoStop WorkSpace in
  this state is not stopped. Users can log into a WorkSpace in the <code>ADMIN_MAINTENANCE</code> state.
  </p>
  
  @param modifyWorkspaceStateRequest
  @return Result of the ModifyWorkspaceState operation returned by the service.
  @throws InvalidParameterValuesException
  One or more parameter values are not valid.
  @throws InvalidResourceStateException
  The state of the resource is not valid for this operation.
  @throws ResourceNotFoundException
  The resource could not be found.
  @sample AmazonWorkspaces.ModifyWorkspaceState
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceState"
  target="_top">AWS API Documentation</a>