ListAppInfoRequest.cc 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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/vod/model/ListAppInfoRequest.h>
  17. using AlibabaCloud::Vod::Model::ListAppInfoRequest;
  18. ListAppInfoRequest::ListAppInfoRequest()
  19. : RpcServiceRequest("vod", "2017-03-21", "ListAppInfo") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. ListAppInfoRequest::~ListAppInfoRequest() {}
  23. long ListAppInfoRequest::getResourceRealOwnerId() const {
  24. return resourceRealOwnerId_;
  25. }
  26. void ListAppInfoRequest::setResourceRealOwnerId(long resourceRealOwnerId) {
  27. resourceRealOwnerId_ = resourceRealOwnerId;
  28. setParameter(std::string("ResourceRealOwnerId"), std::to_string(resourceRealOwnerId));
  29. }
  30. std::string ListAppInfoRequest::getAccessKeyId() const {
  31. return accessKeyId_;
  32. }
  33. void ListAppInfoRequest::setAccessKeyId(const std::string &accessKeyId) {
  34. accessKeyId_ = accessKeyId;
  35. setParameter(std::string("AccessKeyId"), accessKeyId);
  36. }
  37. std::string ListAppInfoRequest::getResourceGroupId() const {
  38. return resourceGroupId_;
  39. }
  40. void ListAppInfoRequest::setResourceGroupId(const std::string &resourceGroupId) {
  41. resourceGroupId_ = resourceGroupId;
  42. setParameter(std::string("ResourceGroupId"), resourceGroupId);
  43. }
  44. int ListAppInfoRequest::getPageSize() const {
  45. return pageSize_;
  46. }
  47. void ListAppInfoRequest::setPageSize(int pageSize) {
  48. pageSize_ = pageSize;
  49. setParameter(std::string("PageSize"), std::to_string(pageSize));
  50. }
  51. ListAppInfoRequest::Tag ListAppInfoRequest::getTag() const {
  52. return tag_;
  53. }
  54. void ListAppInfoRequest::setTag(const ListAppInfoRequest::Tag &tag) {
  55. tag_ = tag;
  56. setParameter(std::string("Tag") + ".Value", tag.value);
  57. setParameter(std::string("Tag") + ".Key", tag.key);
  58. }
  59. int ListAppInfoRequest::getPageNo() const {
  60. return pageNo_;
  61. }
  62. void ListAppInfoRequest::setPageNo(int pageNo) {
  63. pageNo_ = pageNo;
  64. setParameter(std::string("PageNo"), std::to_string(pageNo));
  65. }
  66. std::string ListAppInfoRequest::getStatus() const {
  67. return status_;
  68. }
  69. void ListAppInfoRequest::setStatus(const std::string &status) {
  70. status_ = status;
  71. setParameter(std::string("Status"), status);
  72. }