DescribeAuditContentRequest.cc 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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/green/model/DescribeAuditContentRequest.h>
  17. using AlibabaCloud::Green::Model::DescribeAuditContentRequest;
  18. DescribeAuditContentRequest::DescribeAuditContentRequest() :
  19. RpcServiceRequest("green", "2017-08-23", "DescribeAuditContent")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. DescribeAuditContentRequest::~DescribeAuditContentRequest()
  24. {}
  25. std::string DescribeAuditContentRequest::getImageId()const
  26. {
  27. return imageId_;
  28. }
  29. void DescribeAuditContentRequest::setImageId(const std::string& imageId)
  30. {
  31. imageId_ = imageId;
  32. setParameter("ImageId", imageId);
  33. }
  34. std::string DescribeAuditContentRequest::getStartDate()const
  35. {
  36. return startDate_;
  37. }
  38. void DescribeAuditContentRequest::setStartDate(const std::string& startDate)
  39. {
  40. startDate_ = startDate;
  41. setParameter("StartDate", startDate);
  42. }
  43. std::string DescribeAuditContentRequest::getScene()const
  44. {
  45. return scene_;
  46. }
  47. void DescribeAuditContentRequest::setScene(const std::string& scene)
  48. {
  49. scene_ = scene;
  50. setParameter("Scene", scene);
  51. }
  52. std::string DescribeAuditContentRequest::getSourceIp()const
  53. {
  54. return sourceIp_;
  55. }
  56. void DescribeAuditContentRequest::setSourceIp(const std::string& sourceIp)
  57. {
  58. sourceIp_ = sourceIp;
  59. setParameter("SourceIp", sourceIp);
  60. }
  61. std::string DescribeAuditContentRequest::getLibType()const
  62. {
  63. return libType_;
  64. }
  65. void DescribeAuditContentRequest::setLibType(const std::string& libType)
  66. {
  67. libType_ = libType;
  68. setParameter("LibType", libType);
  69. }
  70. std::string DescribeAuditContentRequest::getAuditResult()const
  71. {
  72. return auditResult_;
  73. }
  74. void DescribeAuditContentRequest::setAuditResult(const std::string& auditResult)
  75. {
  76. auditResult_ = auditResult;
  77. setParameter("AuditResult", auditResult);
  78. }
  79. int DescribeAuditContentRequest::getPageSize()const
  80. {
  81. return pageSize_;
  82. }
  83. void DescribeAuditContentRequest::setPageSize(int pageSize)
  84. {
  85. pageSize_ = pageSize;
  86. setParameter("PageSize", std::to_string(pageSize));
  87. }
  88. std::string DescribeAuditContentRequest::getLang()const
  89. {
  90. return lang_;
  91. }
  92. void DescribeAuditContentRequest::setLang(const std::string& lang)
  93. {
  94. lang_ = lang;
  95. setParameter("Lang", lang);
  96. }
  97. std::string DescribeAuditContentRequest::getTaskId()const
  98. {
  99. return taskId_;
  100. }
  101. void DescribeAuditContentRequest::setTaskId(const std::string& taskId)
  102. {
  103. taskId_ = taskId;
  104. setParameter("TaskId", taskId);
  105. }
  106. int DescribeAuditContentRequest::getTotalCount()const
  107. {
  108. return totalCount_;
  109. }
  110. void DescribeAuditContentRequest::setTotalCount(int totalCount)
  111. {
  112. totalCount_ = totalCount;
  113. setParameter("TotalCount", std::to_string(totalCount));
  114. }
  115. std::string DescribeAuditContentRequest::getKeywordId()const
  116. {
  117. return keywordId_;
  118. }
  119. void DescribeAuditContentRequest::setKeywordId(const std::string& keywordId)
  120. {
  121. keywordId_ = keywordId;
  122. setParameter("KeywordId", keywordId);
  123. }
  124. std::string DescribeAuditContentRequest::getSuggestion()const
  125. {
  126. return suggestion_;
  127. }
  128. void DescribeAuditContentRequest::setSuggestion(const std::string& suggestion)
  129. {
  130. suggestion_ = suggestion;
  131. setParameter("Suggestion", suggestion);
  132. }
  133. int DescribeAuditContentRequest::getCurrentPage()const
  134. {
  135. return currentPage_;
  136. }
  137. void DescribeAuditContentRequest::setCurrentPage(int currentPage)
  138. {
  139. currentPage_ = currentPage;
  140. setParameter("CurrentPage", std::to_string(currentPage));
  141. }
  142. std::string DescribeAuditContentRequest::getLabel()const
  143. {
  144. return label_;
  145. }
  146. void DescribeAuditContentRequest::setLabel(const std::string& label)
  147. {
  148. label_ = label;
  149. setParameter("Label", label);
  150. }
  151. std::string DescribeAuditContentRequest::getResourceType()const
  152. {
  153. return resourceType_;
  154. }
  155. void DescribeAuditContentRequest::setResourceType(const std::string& resourceType)
  156. {
  157. resourceType_ = resourceType;
  158. setParameter("ResourceType", resourceType);
  159. }
  160. std::string DescribeAuditContentRequest::getBizType()const
  161. {
  162. return bizType_;
  163. }
  164. void DescribeAuditContentRequest::setBizType(const std::string& bizType)
  165. {
  166. bizType_ = bizType;
  167. setParameter("BizType", bizType);
  168. }
  169. std::string DescribeAuditContentRequest::getEndDate()const
  170. {
  171. return endDate_;
  172. }
  173. void DescribeAuditContentRequest::setEndDate(const std::string& endDate)
  174. {
  175. endDate_ = endDate;
  176. setParameter("EndDate", endDate);
  177. }
  178. std::string DescribeAuditContentRequest::getDataId()const
  179. {
  180. return dataId_;
  181. }
  182. void DescribeAuditContentRequest::setDataId(const std::string& dataId)
  183. {
  184. dataId_ = dataId;
  185. setParameter("DataId", dataId);
  186. }