UpdateMonitorRequest.cc 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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/cdrs/model/UpdateMonitorRequest.h>
  17. using AlibabaCloud::CDRS::Model::UpdateMonitorRequest;
  18. UpdateMonitorRequest::UpdateMonitorRequest() :
  19. RpcServiceRequest("cdrs", "2020-11-01", "UpdateMonitor")
  20. {
  21. setMethod(HttpRequest::Method::Post);
  22. }
  23. UpdateMonitorRequest::~UpdateMonitorRequest()
  24. {}
  25. std::string UpdateMonitorRequest::getCorpId()const
  26. {
  27. return corpId_;
  28. }
  29. void UpdateMonitorRequest::setCorpId(const std::string& corpId)
  30. {
  31. corpId_ = corpId;
  32. setBodyParameter("CorpId", corpId);
  33. }
  34. std::string UpdateMonitorRequest::getDescription()const
  35. {
  36. return description_;
  37. }
  38. void UpdateMonitorRequest::setDescription(const std::string& description)
  39. {
  40. description_ = description;
  41. setBodyParameter("Description", description);
  42. }
  43. std::string UpdateMonitorRequest::getRuleName()const
  44. {
  45. return ruleName_;
  46. }
  47. void UpdateMonitorRequest::setRuleName(const std::string& ruleName)
  48. {
  49. ruleName_ = ruleName;
  50. setBodyParameter("RuleName", ruleName);
  51. }
  52. std::string UpdateMonitorRequest::getPicOperateType()const
  53. {
  54. return picOperateType_;
  55. }
  56. void UpdateMonitorRequest::setPicOperateType(const std::string& picOperateType)
  57. {
  58. picOperateType_ = picOperateType;
  59. setBodyParameter("PicOperateType", picOperateType);
  60. }
  61. std::string UpdateMonitorRequest::getAttributeName()const
  62. {
  63. return attributeName_;
  64. }
  65. void UpdateMonitorRequest::setAttributeName(const std::string& attributeName)
  66. {
  67. attributeName_ = attributeName;
  68. setBodyParameter("AttributeName", attributeName);
  69. }
  70. std::string UpdateMonitorRequest::getAttributeOperateType()const
  71. {
  72. return attributeOperateType_;
  73. }
  74. void UpdateMonitorRequest::setAttributeOperateType(const std::string& attributeOperateType)
  75. {
  76. attributeOperateType_ = attributeOperateType;
  77. setBodyParameter("AttributeOperateType", attributeOperateType);
  78. }
  79. std::string UpdateMonitorRequest::getRuleExpression()const
  80. {
  81. return ruleExpression_;
  82. }
  83. void UpdateMonitorRequest::setRuleExpression(const std::string& ruleExpression)
  84. {
  85. ruleExpression_ = ruleExpression;
  86. setBodyParameter("RuleExpression", ruleExpression);
  87. }
  88. int UpdateMonitorRequest::getNotifierTimeOut()const
  89. {
  90. return notifierTimeOut_;
  91. }
  92. void UpdateMonitorRequest::setNotifierTimeOut(int notifierTimeOut)
  93. {
  94. notifierTimeOut_ = notifierTimeOut;
  95. setBodyParameter("NotifierTimeOut", std::to_string(notifierTimeOut));
  96. }
  97. std::string UpdateMonitorRequest::getTaskId()const
  98. {
  99. return taskId_;
  100. }
  101. void UpdateMonitorRequest::setTaskId(const std::string& taskId)
  102. {
  103. taskId_ = taskId;
  104. setBodyParameter("TaskId", taskId);
  105. }
  106. std::string UpdateMonitorRequest::getDeviceOperateType()const
  107. {
  108. return deviceOperateType_;
  109. }
  110. void UpdateMonitorRequest::setDeviceOperateType(const std::string& deviceOperateType)
  111. {
  112. deviceOperateType_ = deviceOperateType;
  113. setBodyParameter("DeviceOperateType", deviceOperateType);
  114. }
  115. std::string UpdateMonitorRequest::getPicList()const
  116. {
  117. return picList_;
  118. }
  119. void UpdateMonitorRequest::setPicList(const std::string& picList)
  120. {
  121. picList_ = picList;
  122. setBodyParameter("PicList", picList);
  123. }
  124. std::string UpdateMonitorRequest::getAttributeValueList()const
  125. {
  126. return attributeValueList_;
  127. }
  128. void UpdateMonitorRequest::setAttributeValueList(const std::string& attributeValueList)
  129. {
  130. attributeValueList_ = attributeValueList;
  131. setBodyParameter("AttributeValueList", attributeValueList);
  132. }
  133. std::string UpdateMonitorRequest::getNotifierAppSecret()const
  134. {
  135. return notifierAppSecret_;
  136. }
  137. void UpdateMonitorRequest::setNotifierAppSecret(const std::string& notifierAppSecret)
  138. {
  139. notifierAppSecret_ = notifierAppSecret;
  140. setBodyParameter("NotifierAppSecret", notifierAppSecret);
  141. }
  142. std::string UpdateMonitorRequest::getNotifierExtendValues()const
  143. {
  144. return notifierExtendValues_;
  145. }
  146. void UpdateMonitorRequest::setNotifierExtendValues(const std::string& notifierExtendValues)
  147. {
  148. notifierExtendValues_ = notifierExtendValues;
  149. setBodyParameter("NotifierExtendValues", notifierExtendValues);
  150. }
  151. std::string UpdateMonitorRequest::getDeviceList()const
  152. {
  153. return deviceList_;
  154. }
  155. void UpdateMonitorRequest::setDeviceList(const std::string& deviceList)
  156. {
  157. deviceList_ = deviceList;
  158. setBodyParameter("DeviceList", deviceList);
  159. }
  160. std::string UpdateMonitorRequest::getNotifierUrl()const
  161. {
  162. return notifierUrl_;
  163. }
  164. void UpdateMonitorRequest::setNotifierUrl(const std::string& notifierUrl)
  165. {
  166. notifierUrl_ = notifierUrl;
  167. setBodyParameter("NotifierUrl", notifierUrl);
  168. }
  169. std::string UpdateMonitorRequest::getNotifierType()const
  170. {
  171. return notifierType_;
  172. }
  173. void UpdateMonitorRequest::setNotifierType(const std::string& notifierType)
  174. {
  175. notifierType_ = notifierType;
  176. setBodyParameter("NotifierType", notifierType);
  177. }
  178. std::string UpdateMonitorRequest::getBizId()const
  179. {
  180. return bizId_;
  181. }
  182. void UpdateMonitorRequest::setBizId(const std::string& bizId)
  183. {
  184. bizId_ = bizId;
  185. setBodyParameter("BizId", bizId);
  186. }
  187. std::string UpdateMonitorRequest::getAlgorithmVendor()const
  188. {
  189. return algorithmVendor_;
  190. }
  191. void UpdateMonitorRequest::setAlgorithmVendor(const std::string& algorithmVendor)
  192. {
  193. algorithmVendor_ = algorithmVendor;
  194. setBodyParameter("AlgorithmVendor", algorithmVendor);
  195. }