CreateAlarmRequest.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. #ifndef ALIBABACLOUD_CMS_MODEL_CREATEALARMREQUEST_H_
  17. #define ALIBABACLOUD_CMS_MODEL_CREATEALARMREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/cms/CmsExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace Cms
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_CMS_EXPORT CreateAlarmRequest : public RpcServiceRequest
  29. {
  30. public:
  31. CreateAlarmRequest();
  32. ~CreateAlarmRequest();
  33. std::string getCallby_cms_owner()const;
  34. void setCallby_cms_owner(const std::string& callby_cms_owner);
  35. int getPeriod()const;
  36. void setPeriod(int period);
  37. std::string getWebhook()const;
  38. void setWebhook(const std::string& webhook);
  39. std::string getContactGroups()const;
  40. void setContactGroups(const std::string& contactGroups);
  41. int getEndTime()const;
  42. void setEndTime(int endTime);
  43. std::string getThreshold()const;
  44. void setThreshold(const std::string& threshold);
  45. int getStartTime()const;
  46. void setStartTime(int startTime);
  47. std::string getName()const;
  48. void setName(const std::string& name);
  49. std::string get_Namespace()const;
  50. void set_Namespace(const std::string& _namespace);
  51. int getEvaluationCount()const;
  52. void setEvaluationCount(int evaluationCount);
  53. int getSilenceTime()const;
  54. void setSilenceTime(int silenceTime);
  55. std::string getMetricName()const;
  56. void setMetricName(const std::string& metricName);
  57. int getNotifyType()const;
  58. void setNotifyType(int notifyType);
  59. std::string getComparisonOperator()const;
  60. void setComparisonOperator(const std::string& comparisonOperator);
  61. std::string getDimensions()const;
  62. void setDimensions(const std::string& dimensions);
  63. std::string getStatistics()const;
  64. void setStatistics(const std::string& statistics);
  65. private:
  66. std::string callby_cms_owner_;
  67. int period_;
  68. std::string webhook_;
  69. std::string contactGroups_;
  70. int endTime_;
  71. std::string threshold_;
  72. int startTime_;
  73. std::string name_;
  74. std::string _namespace_;
  75. int evaluationCount_;
  76. int silenceTime_;
  77. std::string metricName_;
  78. int notifyType_;
  79. std::string comparisonOperator_;
  80. std::string dimensions_;
  81. std::string statistics_;
  82. };
  83. }
  84. }
  85. }
  86. #endif // !ALIBABACLOUD_CMS_MODEL_CREATEALARMREQUEST_H_