SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest.cc 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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/SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest.h>
  17. using AlibabaCloud::Domain::Model::SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest;
  18. SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest::SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest() :
  19. RpcServiceRequest("domain", "2018-01-29", "SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID")
  20. {}
  21. SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest::~SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest()
  22. {}
  23. std::string SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest::getUserClientIp()const
  24. {
  25. return userClientIp_;
  26. }
  27. void SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest::setUserClientIp(const std::string& userClientIp)
  28. {
  29. userClientIp_ = userClientIp;
  30. setParameter("UserClientIp", userClientIp);
  31. }
  32. long SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest::getRegistrantProfileId()const
  33. {
  34. return registrantProfileId_;
  35. }
  36. void SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest::setRegistrantProfileId(long registrantProfileId)
  37. {
  38. registrantProfileId_ = registrantProfileId;
  39. setParameter("RegistrantProfileId", std::to_string(registrantProfileId));
  40. }
  41. std::vector<std::string> SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest::getDomainName()const
  42. {
  43. return domainName_;
  44. }
  45. void SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest::setDomainName(const std::vector<std::string>& domainName)
  46. {
  47. domainName_ = domainName;
  48. for(int i = 0; i!= domainName.size(); i++)
  49. setParameter("DomainName."+ std::to_string(i), domainName.at(i));
  50. }
  51. bool SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest::getTransferOutProhibited()const
  52. {
  53. return transferOutProhibited_;
  54. }
  55. void SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest::setTransferOutProhibited(bool transferOutProhibited)
  56. {
  57. transferOutProhibited_ = transferOutProhibited;
  58. setParameter("TransferOutProhibited", std::to_string(transferOutProhibited));
  59. }
  60. std::string SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest::getLang()const
  61. {
  62. return lang_;
  63. }
  64. void SaveTaskForUpdatingRegistrantInfoByRegistrantProfileIDRequest::setLang(const std::string& lang)
  65. {
  66. lang_ = lang;
  67. setParameter("Lang", lang);
  68. }