code: def state(self, state):
          
          allowed_values = ["draft", "scheduled", "allocatingquota", "allocatedquota", "quotaallocationfailed", "checkingmanifest", "checkedmanifest", "devicefetch", "devicecopy", "devicecheck", "publishing", "deploying", "deployed", "manifestremoved", "expired", "stopping", "autostopped", "userstopped", "conflict"]
          if state not in allowed_values:
              raise ValueError(
                  "Invalid value for `state` ({0}), must be one of {1}"
                  .format(state, allowed_values)
              )
  
          self._state = state
docs: Sets the state of this UpdateCampaignPutRequest.
          The state of the campaign
  
          :param state: The state of this UpdateCampaignPutRequest.
          :type: str