ExportClientEventsRequest.cc 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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/ecd/model/ExportClientEventsRequest.h>
  17. using AlibabaCloud::Ecd::Model::ExportClientEventsRequest;
  18. ExportClientEventsRequest::ExportClientEventsRequest()
  19. : RpcServiceRequest("ecd", "2020-09-30", "ExportClientEvents") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. ExportClientEventsRequest::~ExportClientEventsRequest() {}
  23. std::string ExportClientEventsRequest::getOfficeSiteId() const {
  24. return officeSiteId_;
  25. }
  26. void ExportClientEventsRequest::setOfficeSiteId(const std::string &officeSiteId) {
  27. officeSiteId_ = officeSiteId;
  28. setParameter(std::string("OfficeSiteId"), officeSiteId);
  29. }
  30. std::vector<std::string> ExportClientEventsRequest::getEventTypes() const {
  31. return eventTypes_;
  32. }
  33. void ExportClientEventsRequest::setEventTypes(const std::vector<std::string> &eventTypes) {
  34. eventTypes_ = eventTypes;
  35. }
  36. std::string ExportClientEventsRequest::getStartTime() const {
  37. return startTime_;
  38. }
  39. void ExportClientEventsRequest::setStartTime(const std::string &startTime) {
  40. startTime_ = startTime;
  41. setParameter(std::string("StartTime"), startTime);
  42. }
  43. std::string ExportClientEventsRequest::getRegionId() const {
  44. return regionId_;
  45. }
  46. void ExportClientEventsRequest::setRegionId(const std::string &regionId) {
  47. regionId_ = regionId;
  48. setParameter(std::string("RegionId"), regionId);
  49. }
  50. std::string ExportClientEventsRequest::getEndUserId() const {
  51. return endUserId_;
  52. }
  53. void ExportClientEventsRequest::setEndUserId(const std::string &endUserId) {
  54. endUserId_ = endUserId;
  55. setParameter(std::string("EndUserId"), endUserId);
  56. }
  57. std::string ExportClientEventsRequest::getDesktopId() const {
  58. return desktopId_;
  59. }
  60. void ExportClientEventsRequest::setDesktopId(const std::string &desktopId) {
  61. desktopId_ = desktopId;
  62. setParameter(std::string("DesktopId"), desktopId);
  63. }
  64. std::string ExportClientEventsRequest::getDesktopName() const {
  65. return desktopName_;
  66. }
  67. void ExportClientEventsRequest::setDesktopName(const std::string &desktopName) {
  68. desktopName_ = desktopName;
  69. setParameter(std::string("DesktopName"), desktopName);
  70. }
  71. std::string ExportClientEventsRequest::getEndTime() const {
  72. return endTime_;
  73. }
  74. void ExportClientEventsRequest::setEndTime(const std::string &endTime) {
  75. endTime_ = endTime;
  76. setParameter(std::string("EndTime"), endTime);
  77. }
  78. std::string ExportClientEventsRequest::getOfficeSiteName() const {
  79. return officeSiteName_;
  80. }
  81. void ExportClientEventsRequest::setOfficeSiteName(const std::string &officeSiteName) {
  82. officeSiteName_ = officeSiteName;
  83. setParameter(std::string("OfficeSiteName"), officeSiteName);
  84. }
  85. int ExportClientEventsRequest::getMaxResults() const {
  86. return maxResults_;
  87. }
  88. void ExportClientEventsRequest::setMaxResults(int maxResults) {
  89. maxResults_ = maxResults;
  90. setParameter(std::string("MaxResults"), std::to_string(maxResults));
  91. }
  92. std::string ExportClientEventsRequest::getEventType() const {
  93. return eventType_;
  94. }
  95. void ExportClientEventsRequest::setEventType(const std::string &eventType) {
  96. eventType_ = eventType;
  97. setParameter(std::string("EventType"), eventType);
  98. }