LookupEventsRequest.cc 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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/actiontrail/model/LookupEventsRequest.h>
  17. using AlibabaCloud::Actiontrail::Model::LookupEventsRequest;
  18. LookupEventsRequest::LookupEventsRequest() :
  19. RpcServiceRequest("actiontrail", "2017-12-04", "LookupEvents")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. LookupEventsRequest::~LookupEventsRequest()
  24. {}
  25. std::string LookupEventsRequest::getRequest()const
  26. {
  27. return request_;
  28. }
  29. void LookupEventsRequest::setRequest(const std::string& request)
  30. {
  31. request_ = request;
  32. setParameter("Request", request);
  33. }
  34. std::string LookupEventsRequest::getStartTime()const
  35. {
  36. return startTime_;
  37. }
  38. void LookupEventsRequest::setStartTime(const std::string& startTime)
  39. {
  40. startTime_ = startTime;
  41. setParameter("StartTime", startTime);
  42. }
  43. std::string LookupEventsRequest::getEventName()const
  44. {
  45. return eventName_;
  46. }
  47. void LookupEventsRequest::setEventName(const std::string& eventName)
  48. {
  49. eventName_ = eventName;
  50. setParameter("EventName", eventName);
  51. }
  52. std::string LookupEventsRequest::getAccessKeyId()const
  53. {
  54. return accessKeyId_;
  55. }
  56. void LookupEventsRequest::setAccessKeyId(const std::string& accessKeyId)
  57. {
  58. accessKeyId_ = accessKeyId;
  59. setParameter("AccessKeyId", accessKeyId);
  60. }
  61. std::string LookupEventsRequest::getNextToken()const
  62. {
  63. return nextToken_;
  64. }
  65. void LookupEventsRequest::setNextToken(const std::string& nextToken)
  66. {
  67. nextToken_ = nextToken;
  68. setParameter("NextToken", nextToken);
  69. }
  70. std::string LookupEventsRequest::getServiceName()const
  71. {
  72. return serviceName_;
  73. }
  74. void LookupEventsRequest::setServiceName(const std::string& serviceName)
  75. {
  76. serviceName_ = serviceName;
  77. setParameter("ServiceName", serviceName);
  78. }
  79. std::string LookupEventsRequest::getEvent()const
  80. {
  81. return event_;
  82. }
  83. void LookupEventsRequest::setEvent(const std::string& event)
  84. {
  85. event_ = event;
  86. setParameter("Event", event);
  87. }
  88. std::string LookupEventsRequest::getEventAccessKeyId()const
  89. {
  90. return eventAccessKeyId_;
  91. }
  92. void LookupEventsRequest::setEventAccessKeyId(const std::string& eventAccessKeyId)
  93. {
  94. eventAccessKeyId_ = eventAccessKeyId;
  95. setParameter("EventAccessKeyId", eventAccessKeyId);
  96. }
  97. std::string LookupEventsRequest::getEndTime()const
  98. {
  99. return endTime_;
  100. }
  101. void LookupEventsRequest::setEndTime(const std::string& endTime)
  102. {
  103. endTime_ = endTime;
  104. setParameter("EndTime", endTime);
  105. }
  106. std::string LookupEventsRequest::getEventRW()const
  107. {
  108. return eventRW_;
  109. }
  110. void LookupEventsRequest::setEventRW(const std::string& eventRW)
  111. {
  112. eventRW_ = eventRW;
  113. setParameter("EventRW", eventRW);
  114. }
  115. std::string LookupEventsRequest::getResourceType()const
  116. {
  117. return resourceType_;
  118. }
  119. void LookupEventsRequest::setResourceType(const std::string& resourceType)
  120. {
  121. resourceType_ = resourceType;
  122. setParameter("ResourceType", resourceType);
  123. }
  124. std::string LookupEventsRequest::getMaxResults()const
  125. {
  126. return maxResults_;
  127. }
  128. void LookupEventsRequest::setMaxResults(const std::string& maxResults)
  129. {
  130. maxResults_ = maxResults;
  131. setParameter("MaxResults", maxResults);
  132. }
  133. std::string LookupEventsRequest::getEventType()const
  134. {
  135. return eventType_;
  136. }
  137. void LookupEventsRequest::setEventType(const std::string& eventType)
  138. {
  139. eventType_ = eventType;
  140. setParameter("EventType", eventType);
  141. }
  142. std::string LookupEventsRequest::getResourceName()const
  143. {
  144. return resourceName_;
  145. }
  146. void LookupEventsRequest::setResourceName(const std::string& resourceName)
  147. {
  148. resourceName_ = resourceName;
  149. setParameter("ResourceName", resourceName);
  150. }
  151. std::string LookupEventsRequest::getUser()const
  152. {
  153. return user_;
  154. }
  155. void LookupEventsRequest::setUser(const std::string& user)
  156. {
  157. user_ = user;
  158. setParameter("User", user);
  159. }