QueryVideoTaskInfoRequest.cc 3.0 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/avatar/model/QueryVideoTaskInfoRequest.h>
  17. using AlibabaCloud::Avatar::Model::QueryVideoTaskInfoRequest;
  18. QueryVideoTaskInfoRequest::QueryVideoTaskInfoRequest()
  19. : RpcServiceRequest("avatar", "2022-01-30", "QueryVideoTaskInfo") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. QueryVideoTaskInfoRequest::~QueryVideoTaskInfoRequest() {}
  23. QueryVideoTaskInfoRequest::App QueryVideoTaskInfoRequest::getApp() const {
  24. return app_;
  25. }
  26. void QueryVideoTaskInfoRequest::setApp(const QueryVideoTaskInfoRequest::App &app) {
  27. app_ = app;
  28. setParameter(std::string("App") + ".AppId", app.appId);
  29. }
  30. std::string QueryVideoTaskInfoRequest::getTitle() const {
  31. return title_;
  32. }
  33. void QueryVideoTaskInfoRequest::setTitle(const std::string &title) {
  34. title_ = title;
  35. setParameter(std::string("Title"), title);
  36. }
  37. int QueryVideoTaskInfoRequest::getType() const {
  38. return type_;
  39. }
  40. void QueryVideoTaskInfoRequest::setType(int type) {
  41. type_ = type;
  42. setParameter(std::string("Type"), std::to_string(type));
  43. }
  44. std::string QueryVideoTaskInfoRequest::getOrderById() const {
  45. return orderById_;
  46. }
  47. void QueryVideoTaskInfoRequest::setOrderById(const std::string &orderById) {
  48. orderById_ = orderById;
  49. setParameter(std::string("OrderById"), orderById);
  50. }
  51. int QueryVideoTaskInfoRequest::getPageNo() const {
  52. return pageNo_;
  53. }
  54. void QueryVideoTaskInfoRequest::setPageNo(int pageNo) {
  55. pageNo_ = pageNo;
  56. setParameter(std::string("PageNo"), std::to_string(pageNo));
  57. }
  58. long QueryVideoTaskInfoRequest::getTenantId() const {
  59. return tenantId_;
  60. }
  61. void QueryVideoTaskInfoRequest::setTenantId(long tenantId) {
  62. tenantId_ = tenantId;
  63. setParameter(std::string("TenantId"), std::to_string(tenantId));
  64. }
  65. int QueryVideoTaskInfoRequest::getPageSize() const {
  66. return pageSize_;
  67. }
  68. void QueryVideoTaskInfoRequest::setPageSize(int pageSize) {
  69. pageSize_ = pageSize;
  70. setParameter(std::string("PageSize"), std::to_string(pageSize));
  71. }
  72. std::string QueryVideoTaskInfoRequest::getTaskUuid() const {
  73. return taskUuid_;
  74. }
  75. void QueryVideoTaskInfoRequest::setTaskUuid(const std::string &taskUuid) {
  76. taskUuid_ = taskUuid;
  77. setParameter(std::string("TaskUuid"), taskUuid);
  78. }
  79. int QueryVideoTaskInfoRequest::getStatus() const {
  80. return status_;
  81. }
  82. void QueryVideoTaskInfoRequest::setStatus(int status) {
  83. status_ = status;
  84. setParameter(std::string("Status"), std::to_string(status));
  85. }