ModifyDeviceInfoRequest.cc 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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/cloudauth/model/ModifyDeviceInfoRequest.h>
  17. using AlibabaCloud::Cloudauth::Model::ModifyDeviceInfoRequest;
  18. ModifyDeviceInfoRequest::ModifyDeviceInfoRequest() :
  19. RpcServiceRequest("cloudauth", "2018-09-16", "ModifyDeviceInfo")
  20. {}
  21. ModifyDeviceInfoRequest::~ModifyDeviceInfoRequest()
  22. {}
  23. std::string ModifyDeviceInfoRequest::getUserDeviceId()const
  24. {
  25. return userDeviceId_;
  26. }
  27. void ModifyDeviceInfoRequest::setUserDeviceId(const std::string& userDeviceId)
  28. {
  29. userDeviceId_ = userDeviceId;
  30. setCoreParameter("UserDeviceId", userDeviceId);
  31. }
  32. std::string ModifyDeviceInfoRequest::getDuration()const
  33. {
  34. return duration_;
  35. }
  36. void ModifyDeviceInfoRequest::setDuration(const std::string& duration)
  37. {
  38. duration_ = duration;
  39. setCoreParameter("Duration", duration);
  40. }
  41. std::string ModifyDeviceInfoRequest::getExpiredDay()const
  42. {
  43. return expiredDay_;
  44. }
  45. void ModifyDeviceInfoRequest::setExpiredDay(const std::string& expiredDay)
  46. {
  47. expiredDay_ = expiredDay;
  48. setCoreParameter("ExpiredDay", expiredDay);
  49. }
  50. std::string ModifyDeviceInfoRequest::getSourceIp()const
  51. {
  52. return sourceIp_;
  53. }
  54. void ModifyDeviceInfoRequest::setSourceIp(const std::string& sourceIp)
  55. {
  56. sourceIp_ = sourceIp;
  57. setCoreParameter("SourceIp", sourceIp);
  58. }
  59. std::string ModifyDeviceInfoRequest::getLang()const
  60. {
  61. return lang_;
  62. }
  63. void ModifyDeviceInfoRequest::setLang(const std::string& lang)
  64. {
  65. lang_ = lang;
  66. setCoreParameter("Lang", lang);
  67. }
  68. std::string ModifyDeviceInfoRequest::getDeviceId()const
  69. {
  70. return deviceId_;
  71. }
  72. void ModifyDeviceInfoRequest::setDeviceId(const std::string& deviceId)
  73. {
  74. deviceId_ = deviceId;
  75. setCoreParameter("DeviceId", deviceId);
  76. }
  77. std::string ModifyDeviceInfoRequest::getBizType()const
  78. {
  79. return bizType_;
  80. }
  81. void ModifyDeviceInfoRequest::setBizType(const std::string& bizType)
  82. {
  83. bizType_ = bizType;
  84. setCoreParameter("BizType", bizType);
  85. }