|
|
@@ -25,15 +25,6 @@ CreateAppGroupRequest::CreateAppGroupRequest()
|
|
|
|
|
|
CreateAppGroupRequest::~CreateAppGroupRequest() {}
|
|
|
|
|
|
-int CreateAppGroupRequest::getMaxJobs() const {
|
|
|
- return maxJobs_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateAppGroupRequest::setMaxJobs(int maxJobs) {
|
|
|
- maxJobs_ = maxJobs;
|
|
|
- setParameter(std::string("MaxJobs"), std::to_string(maxJobs));
|
|
|
-}
|
|
|
-
|
|
|
std::string CreateAppGroupRequest::getNamespaceName() const {
|
|
|
return namespaceName_;
|
|
|
}
|
|
|
@@ -61,24 +52,6 @@ void CreateAppGroupRequest::setScheduleBusyWorkers(bool scheduleBusyWorkers) {
|
|
|
setParameter(std::string("ScheduleBusyWorkers"), scheduleBusyWorkers ? "true" : "false");
|
|
|
}
|
|
|
|
|
|
-std::string CreateAppGroupRequest::getMetricsThresholdJson() const {
|
|
|
- return metricsThresholdJson_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateAppGroupRequest::setMetricsThresholdJson(const std::string &metricsThresholdJson) {
|
|
|
- metricsThresholdJson_ = metricsThresholdJson;
|
|
|
- setParameter(std::string("MetricsThresholdJson"), metricsThresholdJson);
|
|
|
-}
|
|
|
-
|
|
|
-std::string CreateAppGroupRequest::getGroupId() const {
|
|
|
- return groupId_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateAppGroupRequest::setGroupId(const std::string &groupId) {
|
|
|
- groupId_ = groupId;
|
|
|
- setParameter(std::string("GroupId"), groupId);
|
|
|
-}
|
|
|
-
|
|
|
std::string CreateAppGroupRequest::getDescription() const {
|
|
|
return description_;
|
|
|
}
|
|
|
@@ -88,15 +61,6 @@ void CreateAppGroupRequest::setDescription(const std::string &description) {
|
|
|
setParameter(std::string("Description"), description);
|
|
|
}
|
|
|
|
|
|
-std::string CreateAppGroupRequest::getMonitorConfigJson() const {
|
|
|
- return monitorConfigJson_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateAppGroupRequest::setMonitorConfigJson(const std::string &monitorConfigJson) {
|
|
|
- monitorConfigJson_ = monitorConfigJson;
|
|
|
- setParameter(std::string("MonitorConfigJson"), monitorConfigJson);
|
|
|
-}
|
|
|
-
|
|
|
std::string CreateAppGroupRequest::getAppName() const {
|
|
|
return appName_;
|
|
|
}
|
|
|
@@ -115,15 +79,6 @@ void CreateAppGroupRequest::setRegionId(const std::string ®ionId) {
|
|
|
setParameter(std::string("RegionId"), regionId);
|
|
|
}
|
|
|
|
|
|
-std::string CreateAppGroupRequest::get_Namespace() const {
|
|
|
- return _namespace_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateAppGroupRequest::set_Namespace(const std::string &_namespace) {
|
|
|
- _namespace_ = _namespace;
|
|
|
- setParameter(std::string("Namespace"), _namespace);
|
|
|
-}
|
|
|
-
|
|
|
std::string CreateAppGroupRequest::getAlarmJson() const {
|
|
|
return alarmJson_;
|
|
|
}
|
|
|
@@ -133,15 +88,6 @@ void CreateAppGroupRequest::setAlarmJson(const std::string &alarmJson) {
|
|
|
setParameter(std::string("AlarmJson"), alarmJson);
|
|
|
}
|
|
|
|
|
|
-std::string CreateAppGroupRequest::getAppKey() const {
|
|
|
- return appKey_;
|
|
|
-}
|
|
|
-
|
|
|
-void CreateAppGroupRequest::setAppKey(const std::string &appKey) {
|
|
|
- appKey_ = appKey;
|
|
|
- setParameter(std::string("AppKey"), appKey);
|
|
|
-}
|
|
|
-
|
|
|
std::string CreateAppGroupRequest::getMonitorContactsJson() const {
|
|
|
return monitorContactsJson_;
|
|
|
}
|
|
|
@@ -151,3 +97,57 @@ void CreateAppGroupRequest::setMonitorContactsJson(const std::string &monitorCon
|
|
|
setParameter(std::string("MonitorContactsJson"), monitorContactsJson);
|
|
|
}
|
|
|
|
|
|
+int CreateAppGroupRequest::getMaxJobs() const {
|
|
|
+ return maxJobs_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateAppGroupRequest::setMaxJobs(int maxJobs) {
|
|
|
+ maxJobs_ = maxJobs;
|
|
|
+ setParameter(std::string("MaxJobs"), std::to_string(maxJobs));
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateAppGroupRequest::getMetricsThresholdJson() const {
|
|
|
+ return metricsThresholdJson_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateAppGroupRequest::setMetricsThresholdJson(const std::string &metricsThresholdJson) {
|
|
|
+ metricsThresholdJson_ = metricsThresholdJson;
|
|
|
+ setParameter(std::string("MetricsThresholdJson"), metricsThresholdJson);
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateAppGroupRequest::getGroupId() const {
|
|
|
+ return groupId_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateAppGroupRequest::setGroupId(const std::string &groupId) {
|
|
|
+ groupId_ = groupId;
|
|
|
+ setParameter(std::string("GroupId"), groupId);
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateAppGroupRequest::getMonitorConfigJson() const {
|
|
|
+ return monitorConfigJson_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateAppGroupRequest::setMonitorConfigJson(const std::string &monitorConfigJson) {
|
|
|
+ monitorConfigJson_ = monitorConfigJson;
|
|
|
+ setParameter(std::string("MonitorConfigJson"), monitorConfigJson);
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateAppGroupRequest::get_Namespace() const {
|
|
|
+ return _namespace_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateAppGroupRequest::set_Namespace(const std::string &_namespace) {
|
|
|
+ _namespace_ = _namespace;
|
|
|
+ setParameter(std::string("Namespace"), _namespace);
|
|
|
+}
|
|
|
+
|
|
|
+std::string CreateAppGroupRequest::getAppKey() const {
|
|
|
+ return appKey_;
|
|
|
+}
|
|
|
+
|
|
|
+void CreateAppGroupRequest::setAppKey(const std::string &appKey) {
|
|
|
+ appKey_ = appKey;
|
|
|
+ setParameter(std::string("AppKey"), appKey);
|
|
|
+}
|
|
|
+
|