QueryStreamPushJobListRequest.cc 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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/linkvisual/model/QueryStreamPushJobListRequest.h>
  17. using AlibabaCloud::Linkvisual::Model::QueryStreamPushJobListRequest;
  18. QueryStreamPushJobListRequest::QueryStreamPushJobListRequest()
  19. : RpcServiceRequest("linkvisual", "2018-01-20", "QueryStreamPushJobList") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. QueryStreamPushJobListRequest::~QueryStreamPushJobListRequest() {}
  23. std::string QueryStreamPushJobListRequest::getIotId() const {
  24. return iotId_;
  25. }
  26. void QueryStreamPushJobListRequest::setIotId(const std::string &iotId) {
  27. iotId_ = iotId;
  28. setParameter(std::string("IotId"), iotId);
  29. }
  30. std::string QueryStreamPushJobListRequest::getIotInstanceId() const {
  31. return iotInstanceId_;
  32. }
  33. void QueryStreamPushJobListRequest::setIotInstanceId(const std::string &iotInstanceId) {
  34. iotInstanceId_ = iotInstanceId;
  35. setParameter(std::string("IotInstanceId"), iotInstanceId);
  36. }
  37. int QueryStreamPushJobListRequest::getPageSize() const {
  38. return pageSize_;
  39. }
  40. void QueryStreamPushJobListRequest::setPageSize(int pageSize) {
  41. pageSize_ = pageSize;
  42. setParameter(std::string("PageSize"), std::to_string(pageSize));
  43. }
  44. int QueryStreamPushJobListRequest::getCurrentPage() const {
  45. return currentPage_;
  46. }
  47. void QueryStreamPushJobListRequest::setCurrentPage(int currentPage) {
  48. currentPage_ = currentPage;
  49. setParameter(std::string("CurrentPage"), std::to_string(currentPage));
  50. }
  51. std::string QueryStreamPushJobListRequest::getProductKey() const {
  52. return productKey_;
  53. }
  54. void QueryStreamPushJobListRequest::setProductKey(const std::string &productKey) {
  55. productKey_ = productKey;
  56. setParameter(std::string("ProductKey"), productKey);
  57. }
  58. int QueryStreamPushJobListRequest::getJobType() const {
  59. return jobType_;
  60. }
  61. void QueryStreamPushJobListRequest::setJobType(int jobType) {
  62. jobType_ = jobType;
  63. setParameter(std::string("JobType"), std::to_string(jobType));
  64. }
  65. std::string QueryStreamPushJobListRequest::getApiProduct() const {
  66. return apiProduct_;
  67. }
  68. void QueryStreamPushJobListRequest::setApiProduct(const std::string &apiProduct) {
  69. apiProduct_ = apiProduct;
  70. setBodyParameter(std::string("ApiProduct"), apiProduct);
  71. }
  72. std::string QueryStreamPushJobListRequest::getApiRevision() const {
  73. return apiRevision_;
  74. }
  75. void QueryStreamPushJobListRequest::setApiRevision(const std::string &apiRevision) {
  76. apiRevision_ = apiRevision;
  77. setBodyParameter(std::string("ApiRevision"), apiRevision);
  78. }
  79. std::string QueryStreamPushJobListRequest::getDeviceName() const {
  80. return deviceName_;
  81. }
  82. void QueryStreamPushJobListRequest::setDeviceName(const std::string &deviceName) {
  83. deviceName_ = deviceName;
  84. setParameter(std::string("DeviceName"), deviceName);
  85. }