SaveBatchTaskForUpdateProhibitionLockRequest.cc 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /*
  2. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #include <alibabacloud/domain/model/SaveBatchTaskForUpdateProhibitionLockRequest.h>
  17. using AlibabaCloud::Domain::Model::SaveBatchTaskForUpdateProhibitionLockRequest;
  18. SaveBatchTaskForUpdateProhibitionLockRequest::SaveBatchTaskForUpdateProhibitionLockRequest() :
  19. RpcServiceRequest("domain", "2018-01-29", "SaveBatchTaskForUpdateProhibitionLock")
  20. {}
  21. SaveBatchTaskForUpdateProhibitionLockRequest::~SaveBatchTaskForUpdateProhibitionLockRequest()
  22. {}
  23. std::string SaveBatchTaskForUpdateProhibitionLockRequest::getUserClientIp()const
  24. {
  25. return userClientIp_;
  26. }
  27. void SaveBatchTaskForUpdateProhibitionLockRequest::setUserClientIp(const std::string& userClientIp)
  28. {
  29. userClientIp_ = userClientIp;
  30. setParameter("UserClientIp", userClientIp);
  31. }
  32. std::vector<std::string> SaveBatchTaskForUpdateProhibitionLockRequest::getDomainName()const
  33. {
  34. return domainName_;
  35. }
  36. void SaveBatchTaskForUpdateProhibitionLockRequest::setDomainName(const std::vector<std::string>& domainName)
  37. {
  38. domainName_ = domainName;
  39. for(int i = 0; i!= domainName.size(); i++)
  40. setParameter("DomainName."+ std::to_string(i), domainName.at(i));
  41. }
  42. std::string SaveBatchTaskForUpdateProhibitionLockRequest::getLang()const
  43. {
  44. return lang_;
  45. }
  46. void SaveBatchTaskForUpdateProhibitionLockRequest::setLang(const std::string& lang)
  47. {
  48. lang_ = lang;
  49. setParameter("Lang", lang);
  50. }
  51. bool SaveBatchTaskForUpdateProhibitionLockRequest::getStatus()const
  52. {
  53. return status_;
  54. }
  55. void SaveBatchTaskForUpdateProhibitionLockRequest::setStatus(bool status)
  56. {
  57. status_ = status;
  58. setParameter("Status", std::to_string(status));
  59. }