DescribeDeviceInfoRequest.cc 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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/DescribeDeviceInfoRequest.h>
  17. using AlibabaCloud::Cloudauth::Model::DescribeDeviceInfoRequest;
  18. DescribeDeviceInfoRequest::DescribeDeviceInfoRequest() :
  19. RpcServiceRequest("cloudauth", "2018-09-16", "DescribeDeviceInfo")
  20. {}
  21. DescribeDeviceInfoRequest::~DescribeDeviceInfoRequest()
  22. {}
  23. std::string DescribeDeviceInfoRequest::getBizType()const
  24. {
  25. return bizType_;
  26. }
  27. void DescribeDeviceInfoRequest::setBizType(const std::string& bizType)
  28. {
  29. bizType_ = bizType;
  30. setCoreParameter("BizType", bizType);
  31. }
  32. std::string DescribeDeviceInfoRequest::getUserDeviceId()const
  33. {
  34. return userDeviceId_;
  35. }
  36. void DescribeDeviceInfoRequest::setUserDeviceId(const std::string& userDeviceId)
  37. {
  38. userDeviceId_ = userDeviceId;
  39. setCoreParameter("UserDeviceId", userDeviceId);
  40. }
  41. int DescribeDeviceInfoRequest::getTotalCount()const
  42. {
  43. return totalCount_;
  44. }
  45. void DescribeDeviceInfoRequest::setTotalCount(int totalCount)
  46. {
  47. totalCount_ = totalCount;
  48. setCoreParameter("TotalCount", std::to_string(totalCount));
  49. }
  50. std::string DescribeDeviceInfoRequest::getSourceIp()const
  51. {
  52. return sourceIp_;
  53. }
  54. void DescribeDeviceInfoRequest::setSourceIp(const std::string& sourceIp)
  55. {
  56. sourceIp_ = sourceIp;
  57. setCoreParameter("SourceIp", sourceIp);
  58. }
  59. int DescribeDeviceInfoRequest::getPageSize()const
  60. {
  61. return pageSize_;
  62. }
  63. void DescribeDeviceInfoRequest::setPageSize(int pageSize)
  64. {
  65. pageSize_ = pageSize;
  66. setCoreParameter("PageSize", std::to_string(pageSize));
  67. }
  68. int DescribeDeviceInfoRequest::getCurrentPage()const
  69. {
  70. return currentPage_;
  71. }
  72. void DescribeDeviceInfoRequest::setCurrentPage(int currentPage)
  73. {
  74. currentPage_ = currentPage;
  75. setCoreParameter("CurrentPage", std::to_string(currentPage));
  76. }
  77. std::string DescribeDeviceInfoRequest::getLang()const
  78. {
  79. return lang_;
  80. }
  81. void DescribeDeviceInfoRequest::setLang(const std::string& lang)
  82. {
  83. lang_ = lang;
  84. setCoreParameter("Lang", lang);
  85. }
  86. std::string DescribeDeviceInfoRequest::getExpiredEndDay()const
  87. {
  88. return expiredEndDay_;
  89. }
  90. void DescribeDeviceInfoRequest::setExpiredEndDay(const std::string& expiredEndDay)
  91. {
  92. expiredEndDay_ = expiredEndDay;
  93. setCoreParameter("ExpiredEndDay", expiredEndDay);
  94. }
  95. std::string DescribeDeviceInfoRequest::getDeviceId()const
  96. {
  97. return deviceId_;
  98. }
  99. void DescribeDeviceInfoRequest::setDeviceId(const std::string& deviceId)
  100. {
  101. deviceId_ = deviceId;
  102. setCoreParameter("DeviceId", deviceId);
  103. }
  104. std::string DescribeDeviceInfoRequest::getExpiredStartDay()const
  105. {
  106. return expiredStartDay_;
  107. }
  108. void DescribeDeviceInfoRequest::setExpiredStartDay(const std::string& expiredStartDay)
  109. {
  110. expiredStartDay_ = expiredStartDay;
  111. setCoreParameter("ExpiredStartDay", expiredStartDay);
  112. }