Add tag API.

This commit is contained in:
sdk-team
2019-12-11 11:39:38 +08:00
parent 3e1cf87389
commit e73100b250
653 changed files with 22331 additions and 21725 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,55 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_ADDMYGROUPINSTANCESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_ADDMYGROUPINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT AddMyGroupInstancesResult : public ServiceResult
{
public:
AddMyGroupInstancesResult();
explicit AddMyGroupInstancesResult(const std::string &payload);
~AddMyGroupInstancesResult();
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_ADDMYGROUPINSTANCESRESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_ADDTAGSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_ADDTAGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT AddTagsRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
std::string key;
};
public:
AddTagsRequest();
~AddTagsRequest();
std::vector<std::string> getGroupIds()const;
void setGroupIds(const std::vector<std::string>& groupIds);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
private:
std::vector<std::string> groupIds_;
std::vector<Tag> tag_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_ADDTAGSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_UPDATEALARMRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_UPDATEALARMRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_ADDTAGSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_ADDTAGSRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT UpdateAlarmResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT AddTagsResult : public ServiceResult
{
public:
UpdateAlarmResult();
explicit UpdateAlarmResult(const std::string &payload);
~UpdateAlarmResult();
AddTagsResult();
explicit AddTagsResult(const std::string &payload);
~AddTagsResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
@@ -52,4 +52,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_UPDATEALARMRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_ADDTAGSRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_APPLYMONITORINGTEMPLATEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_APPLYMONITORINGTEMPLATEREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_APPLYMETRICRULETEMPLATEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_APPLYMETRICRULETEMPLATEREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ApplyMonitoringTemplateRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT ApplyMetricRuleTemplateRequest : public RpcServiceRequest
{
public:
ApplyMonitoringTemplateRequest();
~ApplyMonitoringTemplateRequest();
ApplyMetricRuleTemplateRequest();
~ApplyMetricRuleTemplateRequest();
std::string getApplyMode()const;
void setApplyMode(const std::string& applyMode);
@@ -66,4 +66,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_APPLYMONITORINGTEMPLATEREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_APPLYMETRICRULETEMPLATEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_APPLYMONITORINGTEMPLATERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_APPLYMONITORINGTEMPLATERESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_APPLYMETRICRULETEMPLATERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_APPLYMETRICRULETEMPLATERESULT_H_
#include <string>
#include <vector>
@@ -29,7 +29,7 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ApplyMonitoringTemplateResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT ApplyMetricRuleTemplateResult : public ServiceResult
{
public:
struct Resource
@@ -37,36 +37,35 @@ namespace AlibabaCloud
struct Result
{
std::string message;
std::string displayName;
int code;
std::string ruleId;
std::string code;
std::string ruleName;
bool success;
long groupId;
std::string name;
};
std::vector<Result> eventResults;
std::vector<Result> alertResults;
long groupId;
};
ApplyMonitoringTemplateResult();
explicit ApplyMonitoringTemplateResult(const std::string &payload);
~ApplyMonitoringTemplateResult();
ApplyMetricRuleTemplateResult();
explicit ApplyMetricRuleTemplateResult(const std::string &payload);
~ApplyMetricRuleTemplateResult();
std::string getMessage()const;
Resource getResource()const;
int getErrorCode()const;
std::string getErrorMessage()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Resource resource_;
int errorCode_;
std::string errorMessage_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_APPLYMONITORINGTEMPLATERESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_APPLYMETRICRULETEMPLATERESULT_H_

View File

@@ -1,66 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_APPLYTEMPLATEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_APPLYTEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ApplyTemplateRequest : public RpcServiceRequest
{
public:
ApplyTemplateRequest();
~ApplyTemplateRequest();
std::string getApplyMode()const;
void setApplyMode(const std::string& applyMode);
std::string getTemplateIds()const;
void setTemplateIds(const std::string& templateIds);
long getEnableEndTime()const;
void setEnableEndTime(long enableEndTime);
long getGroupId()const;
void setGroupId(long groupId);
long getNotifyLevel()const;
void setNotifyLevel(long notifyLevel);
long getEnableStartTime()const;
void setEnableStartTime(long enableStartTime);
long getSilenceTime()const;
void setSilenceTime(long silenceTime);
private:
std::string applyMode_;
std::string templateIds_;
long enableEndTime_;
long groupId_;
long notifyLevel_;
long enableStartTime_;
long silenceTime_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_APPLYTEMPLATEREQUEST_H_

View File

@@ -1,70 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_APPLYTEMPLATERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_APPLYTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ApplyTemplateResult : public ServiceResult
{
public:
struct Resource
{
struct AlertResult
{
std::string metricName;
std::string message;
std::string displayName;
std::string metricNamespace;
std::string success;
std::string name;
};
std::vector<AlertResult> createAlertResults;
};
ApplyTemplateResult();
explicit ApplyTemplateResult(const std::string &payload);
~ApplyTemplateResult();
Resource getResource()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Resource resource_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_APPLYTEMPLATERESULT_H_

View File

@@ -1,93 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEALARMREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEALARMREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateAlarmRequest : public RpcServiceRequest
{
public:
CreateAlarmRequest();
~CreateAlarmRequest();
std::string getWebhook()const;
void setWebhook(const std::string& webhook);
std::string getThreshold()const;
void setThreshold(const std::string& threshold);
int getStartTime()const;
void setStartTime(int startTime);
int getEvaluationCount()const;
void setEvaluationCount(int evaluationCount);
int getSilenceTime()const;
void setSilenceTime(int silenceTime);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
int getNotifyType()const;
void setNotifyType(int notifyType);
int getPeriod()const;
void setPeriod(int period);
bool getDryRun()const;
void setDryRun(bool dryRun);
std::string getContactGroups()const;
void setContactGroups(const std::string& contactGroups);
int getEndTime()const;
void setEndTime(int endTime);
std::string getName()const;
void setName(const std::string& name);
std::string get_Namespace()const;
void set_Namespace(const std::string& _namespace);
std::string getComparisonOperator()const;
void setComparisonOperator(const std::string& comparisonOperator);
std::string getDimensions()const;
void setDimensions(const std::string& dimensions);
std::string getStatistics()const;
void setStatistics(const std::string& statistics);
private:
std::string webhook_;
std::string threshold_;
int startTime_;
int evaluationCount_;
int silenceTime_;
std::string metricName_;
int notifyType_;
int period_;
bool dryRun_;
std::string contactGroups_;
int endTime_;
std::string name_;
std::string _namespace_;
std::string comparisonOperator_;
std::string dimensions_;
std::string statistics_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEALARMREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEGROUPMETRICRULESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEGROUPMETRICRULESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateGroupMetricRulesRequest : public RpcServiceRequest
{
struct GroupMetricRules
{
std::string webhook;
std::string escalationsWarnComparisonOperator;
std::string ruleName;
std::string escalationsInfoStatistics;
std::string effectiveInterval;
std::string escalationsInfoComparisonOperator;
std::string noEffectiveInterval;
std::string emailSubject;
int silenceTime;
std::string metricName;
int escalationsWarnTimes;
std::string period;
std::string escalationsWarnThreshold;
std::string escalationsCriticalStatistics;
int escalationsInfoTimes;
int escalationsCriticalTimes;
std::string escalationsWarnStatistics;
std::string escalationsInfoThreshold;
std::string _namespace;
std::string interval;
std::string category;
std::string ruleId;
std::string escalationsCriticalComparisonOperator;
std::string escalationsCriticalThreshold;
std::string dimensions;
};
public:
CreateGroupMetricRulesRequest();
~CreateGroupMetricRulesRequest();
long getGroupId()const;
void setGroupId(long groupId);
std::vector<GroupMetricRules> getGroupMetricRules()const;
void setGroupMetricRules(const std::vector<GroupMetricRules>& groupMetricRules);
private:
long groupId_;
std::vector<GroupMetricRules> groupMetricRules_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEGROUPMETRICRULESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPALERTBATCHRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPALERTBATCHRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEGROUPMETRICRULESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEGROUPMETRICRULESRESULT_H_
#include <string>
#include <vector>
@@ -29,40 +29,37 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateMyGroupAlertBatchResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT CreateGroupMetricRulesResult : public ServiceResult
{
public:
struct AlertResult
{
std::string metricName;
std::string alertName;
std::string message;
std::string displayName;
std::string metricNamespace;
std::string ruleId;
int code;
std::string ruleName;
bool success;
long groupId;
};
CreateMyGroupAlertBatchResult();
explicit CreateMyGroupAlertBatchResult(const std::string &payload);
~CreateMyGroupAlertBatchResult();
CreateGroupMetricRulesResult();
explicit CreateGroupMetricRulesResult(const std::string &payload);
~CreateGroupMetricRulesResult();
std::string getMessage()const;
std::vector<AlertResult> getResources()const;
int getErrorCode()const;
std::string getErrorMessage()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<AlertResult> resources_;
int errorCode_;
std::string errorMessage_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPALERTBATCHRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEGROUPMETRICRULESRESULT_H_

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEGROUPMONITORINGAGENTPROCESSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEGROUPMONITORINGAGENTPROCESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateGroupMonitoringAgentProcessRequest : public RpcServiceRequest
{
struct AlertConfig
{
std::string times;
std::string noEffectiveInterval;
std::string webhook;
std::string silenceTime;
std::string threshold;
std::string effectiveInterval;
std::string comparisonOperator;
std::string escalationsLevel;
std::string statistics;
};
struct MatchExpress
{
std::string function;
std::string name;
std::string value;
};
public:
CreateGroupMonitoringAgentProcessRequest();
~CreateGroupMonitoringAgentProcessRequest();
std::vector<AlertConfig> getAlertConfig()const;
void setAlertConfig(const std::vector<AlertConfig>& alertConfig);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getProcessName()const;
void setProcessName(const std::string& processName);
std::string getMatchExpressFilterRelation()const;
void setMatchExpressFilterRelation(const std::string& matchExpressFilterRelation);
std::vector<MatchExpress> getMatchExpress()const;
void setMatchExpress(const std::vector<MatchExpress>& matchExpress);
private:
std::vector<AlertConfig> alertConfig_;
std::string groupId_;
std::string processName_;
std::string matchExpressFilterRelation_;
std::vector<MatchExpress> matchExpress_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEGROUPMONITORINGAGENTPROCESSREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEGROUPMONITORINGAGENTPROCESSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEGROUPMONITORINGAGENTPROCESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateGroupMonitoringAgentProcessResult : public ServiceResult
{
public:
CreateGroupMonitoringAgentProcessResult();
explicit CreateGroupMonitoringAgentProcessResult(const std::string &payload);
~CreateGroupMonitoringAgentProcessResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEGROUPMONITORINGAGENTPROCESSRESULT_H_

View File

@@ -0,0 +1,104 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEHOSTAVAILABILITYREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEHOSTAVAILABILITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateHostAvailabilityRequest : public RpcServiceRequest
{
struct AlertConfigEscalationList
{
int times;
std::string metricName;
std::string value;
std::string _operator;
std::string aggregate;
};
public:
CreateHostAvailabilityRequest();
~CreateHostAvailabilityRequest();
std::string getTaskOptionHttpMethod()const;
void setTaskOptionHttpMethod(const std::string& taskOptionHttpMethod);
std::vector<AlertConfigEscalationList> getAlertConfigEscalationList()const;
void setAlertConfigEscalationList(const std::vector<AlertConfigEscalationList>& alertConfigEscalationList);
std::string getTaskName()const;
void setTaskName(const std::string& taskName);
int getAlertConfigSilenceTime()const;
void setAlertConfigSilenceTime(int alertConfigSilenceTime);
std::string getTaskOptionHttpResponseCharset()const;
void setTaskOptionHttpResponseCharset(const std::string& taskOptionHttpResponseCharset);
bool getTaskOptionHttpNegative()const;
void setTaskOptionHttpNegative(bool taskOptionHttpNegative);
int getAlertConfigNotifyType()const;
void setAlertConfigNotifyType(int alertConfigNotifyType);
std::string getTaskOptionTelnetOrPingHost()const;
void setTaskOptionTelnetOrPingHost(const std::string& taskOptionTelnetOrPingHost);
std::string getTaskOptionHttpResponseMatchContent()const;
void setTaskOptionHttpResponseMatchContent(const std::string& taskOptionHttpResponseMatchContent);
std::vector<std::string> getInstanceList()const;
void setInstanceList(const std::vector<std::string>& instanceList);
std::string getTaskType()const;
void setTaskType(const std::string& taskType);
long getGroupId()const;
void setGroupId(long groupId);
int getAlertConfigEndTime()const;
void setAlertConfigEndTime(int alertConfigEndTime);
std::string getTaskOptionHttpURI()const;
void setTaskOptionHttpURI(const std::string& taskOptionHttpURI);
std::string getTaskScope()const;
void setTaskScope(const std::string& taskScope);
int getAlertConfigStartTime()const;
void setAlertConfigStartTime(int alertConfigStartTime);
std::string getAlertConfigWebHook()const;
void setAlertConfigWebHook(const std::string& alertConfigWebHook);
private:
std::string taskOptionHttpMethod_;
std::vector<AlertConfigEscalationList> alertConfigEscalationList_;
std::string taskName_;
int alertConfigSilenceTime_;
std::string taskOptionHttpResponseCharset_;
bool taskOptionHttpNegative_;
int alertConfigNotifyType_;
std::string taskOptionTelnetOrPingHost_;
std::string taskOptionHttpResponseMatchContent_;
std::vector<std::string> instanceList_;
std::string taskType_;
long groupId_;
int alertConfigEndTime_;
std::string taskOptionHttpURI_;
std::string taskScope_;
int alertConfigStartTime_;
std::string alertConfigWebHook_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEHOSTAVAILABILITYREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEHOSTAVAILABILITYRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEHOSTAVAILABILITYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateHostAvailabilityResult : public ServiceResult
{
public:
CreateHostAvailabilityResult();
explicit CreateHostAvailabilityResult(const std::string &payload);
~CreateHostAvailabilityResult();
long getTaskId()const;
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
long taskId_;
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEHOSTAVAILABILITYRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_QUERYSYSTEMEVENTHISTOGRAMREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_QUERYSYSTEMEVENTHISTOGRAMREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMETRICRULERESOURCESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMETRICRULERESOURCESREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT QuerySystemEventHistogramRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT CreateMetricRuleResourcesRequest : public RpcServiceRequest
{
public:
QuerySystemEventHistogramRequest();
~QuerySystemEventHistogramRequest();
CreateMetricRuleResourcesRequest();
~CreateMetricRuleResourcesRequest();
std::string getQueryJson()const;
void setQueryJson(const std::string& queryJson);
std::string getResources()const;
void setResources(const std::string& resources);
std::string getRuleId()const;
void setRuleId(const std::string& ruleId);
std::string getOverwrite()const;
void setOverwrite(const std::string& overwrite);
private:
std::string queryJson_;
std::string resources_;
std::string ruleId_;
std::string overwrite_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYSYSTEMEVENTHISTOGRAMREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMETRICRULERESOURCESREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMETRICRULERESOURCESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMETRICRULERESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateMetricRuleResourcesResult : public ServiceResult
{
public:
CreateMetricRuleResourcesResult();
explicit CreateMetricRuleResourcesResult(const std::string &payload);
~CreateMetricRuleResourcesResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMETRICRULERESOURCESRESULT_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMETRICRULETEMPLATEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMETRICRULETEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateMetricRuleTemplateRequest : public RpcServiceRequest
{
struct AlertTemplates
{
int period;
std::string escalationsWarnThreshold;
std::string webhook;
std::string escalationsWarnComparisonOperator;
std::string escalationsCriticalStatistics;
int escalationsInfoTimes;
std::string ruleName;
std::string escalationsInfoStatistics;
int escalationsCriticalTimes;
std::string escalationsInfoComparisonOperator;
std::string escalationsWarnStatistics;
std::string escalationsInfoThreshold;
std::string _namespace;
std::string selector;
std::string metricName;
std::string category;
std::string escalationsCriticalComparisonOperator;
int escalationsWarnTimes;
std::string escalationsCriticalThreshold;
};
public:
CreateMetricRuleTemplateRequest();
~CreateMetricRuleTemplateRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getName()const;
void setName(const std::string& name);
std::vector<AlertTemplates> getAlertTemplates()const;
void setAlertTemplates(const std::vector<AlertTemplates>& alertTemplates);
private:
std::string description_;
std::string name_;
std::vector<AlertTemplates> alertTemplates_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMETRICRULETEMPLATEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_LISTPRODUCTOFACTIVEALERTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_LISTPRODUCTOFACTIVEALERTRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMETRICRULETEMPLATERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMETRICRULETEMPLATERESULT_H_
#include <string>
#include <vector>
@@ -29,16 +29,16 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ListProductOfActiveAlertResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT CreateMetricRuleTemplateResult : public ServiceResult
{
public:
ListProductOfActiveAlertResult();
explicit ListProductOfActiveAlertResult(const std::string &payload);
~ListProductOfActiveAlertResult();
CreateMetricRuleTemplateResult();
explicit CreateMetricRuleTemplateResult(const std::string &payload);
~CreateMetricRuleTemplateResult();
std::string getMessage()const;
std::string getDatapoints()const;
long getId()const;
int getCode()const;
bool getSuccess()const;
@@ -46,7 +46,7 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
std::string message_;
std::string datapoints_;
long id_;
int code_;
bool success_;
@@ -54,4 +54,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTPRODUCTOFACTIVEALERTRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMETRICRULETEMPLATERESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_NODEPROCESSCREATEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_NODEPROCESSCREATEREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORAGENTPROCESSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORAGENTPROCESSREQUEST_H_
#include <string>
#include <vector>
@@ -28,33 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT NodeProcessCreateRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT CreateMonitorAgentProcessRequest : public RpcServiceRequest
{
public:
NodeProcessCreateRequest();
~NodeProcessCreateRequest();
CreateMonitorAgentProcessRequest();
~CreateMonitorAgentProcessRequest();
std::string getProcessName()const;
void setProcessName(const std::string& processName);
std::string getCommand()const;
void setCommand(const std::string& command);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
std::string getProcessUser()const;
void setProcessUser(const std::string& processUser);
private:
std::string processName_;
std::string command_;
std::string instanceId_;
std::string name_;
std::string processUser_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_NODEPROCESSCREATEREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMONITORAGENTPROCESSREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORAGENTPROCESSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORAGENTPROCESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateMonitorAgentProcessResult : public ServiceResult
{
public:
CreateMonitorAgentProcessResult();
explicit CreateMonitorAgentProcessResult(const std::string &payload);
~CreateMonitorAgentProcessResult();
std::string getMessage()const;
long getId()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
long id_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMONITORAGENTPROCESSRESULT_H_

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPINSTANCESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPINSTANCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateMonitorGroupInstancesRequest : public RpcServiceRequest
{
struct Instances
{
std::string instanceId;
std::string instanceName;
std::string regionId;
std::string category;
};
public:
CreateMonitorGroupInstancesRequest();
~CreateMonitorGroupInstancesRequest();
std::vector<Instances> getInstances()const;
void setInstances(const std::vector<Instances>& instances);
long getGroupId()const;
void setGroupId(long groupId);
private:
std::vector<Instances> instances_;
long groupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPINSTANCESREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPINSTANCESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateMonitorGroupInstancesResult : public ServiceResult
{
public:
CreateMonitorGroupInstancesResult();
explicit CreateMonitorGroupInstancesResult(const std::string &payload);
~CreateMonitorGroupInstancesResult();
std::string getMessage()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPINSTANCESRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATENOTIFYPOLICYREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATENOTIFYPOLICYREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPNOTIFYPOLICYREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPNOTIFYPOLICYREQUEST_H_
#include <string>
#include <vector>
@@ -28,39 +28,30 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateNotifyPolicyRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT CreateMonitorGroupNotifyPolicyRequest : public RpcServiceRequest
{
public:
CreateNotifyPolicyRequest();
~CreateNotifyPolicyRequest();
CreateMonitorGroupNotifyPolicyRequest();
~CreateMonitorGroupNotifyPolicyRequest();
std::string getPolicyType()const;
void setPolicyType(const std::string& policyType);
std::string getAlertName()const;
void setAlertName(const std::string& alertName);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getDimensions()const;
void setDimensions(const std::string& dimensions);
private:
std::string policyType_;
std::string alertName_;
std::string groupId_;
long endTime_;
long startTime_;
std::string accessKeyId_;
std::string dimensions_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATENOTIFYPOLICYREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPNOTIFYPOLICYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETENOTIFYPOLICYRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETENOTIFYPOLICYRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPNOTIFYPOLICYRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPNOTIFYPOLICYRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteNotifyPolicyResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT CreateMonitorGroupNotifyPolicyResult : public ServiceResult
{
public:
DeleteNotifyPolicyResult();
explicit DeleteNotifyPolicyResult(const std::string &payload);
~DeleteNotifyPolicyResult();
CreateMonitorGroupNotifyPolicyResult();
explicit CreateMonitorGroupNotifyPolicyResult(const std::string &payload);
~CreateMonitorGroupNotifyPolicyResult();
std::string getMessage()const;
std::string getCode()const;
std::string getSuccess()const;
@@ -54,4 +54,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETENOTIFYPOLICYRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPNOTIFYPOLICYRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPSREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateMyGroupsRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT CreateMonitorGroupRequest : public RpcServiceRequest
{
public:
CreateMyGroupsRequest();
~CreateMyGroupsRequest();
CreateMonitorGroupRequest();
~CreateMonitorGroupRequest();
std::string getContactGroups()const;
void setContactGroups(const std::string& contactGroups);
@@ -60,4 +60,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPSREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateMonitorGroupResult : public ServiceResult
{
public:
CreateMonitorGroupResult();
explicit CreateMonitorGroupResult(const std::string &payload);
~CreateMonitorGroupResult();
std::string getMessage()const;
int getCode()const;
bool getSuccess()const;
long getGroupId()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
bool success_;
long groupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_NODEPROCESSESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_NODEPROCESSESREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORINGAGENTPROCESSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORINGAGENTPROCESSREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT NodeProcessesRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT CreateMonitoringAgentProcessRequest : public RpcServiceRequest
{
public:
NodeProcessesRequest();
~NodeProcessesRequest();
CreateMonitoringAgentProcessRequest();
~CreateMonitoringAgentProcessRequest();
std::string getProcessName()const;
void setProcessName(const std::string& processName);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getProcessUser()const;
void setProcessUser(const std::string& processUser);
private:
std::string processName_;
std::string instanceId_;
std::string processUser_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_NODEPROCESSESREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMONITORINGAGENTPROCESSREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORINGAGENTPROCESSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORINGAGENTPROCESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateMonitoringAgentProcessResult : public ServiceResult
{
public:
CreateMonitoringAgentProcessResult();
explicit CreateMonitoringAgentProcessResult(const std::string &payload);
~CreateMonitoringAgentProcessResult();
std::string getMessage()const;
long getId()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
long id_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMONITORINGAGENTPROCESSRESULT_H_

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORINGTEMPLATEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORINGTEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateMonitoringTemplateRequest : public RpcServiceRequest
{
public:
CreateMonitoringTemplateRequest();
~CreateMonitoringTemplateRequest();
std::string getEventRuleTemplatesJson()const;
void setEventRuleTemplatesJson(const std::string& eventRuleTemplatesJson);
std::string getName()const;
void setName(const std::string& name);
std::string get_Namespace()const;
void set_Namespace(const std::string& _namespace);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getAlertTemplatesJson()const;
void setAlertTemplatesJson(const std::string& alertTemplatesJson);
private:
std::string eventRuleTemplatesJson_;
std::string name_;
std::string _namespace_;
std::string description_;
std::string alertTemplatesJson_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMONITORINGTEMPLATEREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORINGTEMPLATERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORINGTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateMonitoringTemplateResult : public ServiceResult
{
public:
CreateMonitoringTemplateResult();
explicit CreateMonitoringTemplateResult(const std::string &payload);
~CreateMonitoringTemplateResult();
int getErrorCode()const;
long getId()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int errorCode_;
long id_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMONITORINGTEMPLATERESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateMyGroupsResult : public ServiceResult
{
public:
CreateMyGroupsResult();
explicit CreateMyGroupsResult(const std::string &payload);
~CreateMyGroupsResult();
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
long getGroupId()const;
protected:
void parse(const std::string &payload);
private:
int errorCode_;
std::string errorMessage_;
bool success_;
long groupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPSRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATETASKREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATETASKREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_CREATESITEMONITORREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATESITEMONITORREQUEST_H_
#include <string>
#include <vector>
@@ -28,45 +28,39 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateTaskRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT CreateSiteMonitorRequest : public RpcServiceRequest
{
public:
CreateTaskRequest();
~CreateTaskRequest();
CreateSiteMonitorRequest();
~CreateSiteMonitorRequest();
std::string getTaskName()const;
void setTaskName(const std::string& taskName);
std::string getAlertIds()const;
void setAlertIds(const std::string& alertIds);
std::string getOptions()const;
void setOptions(const std::string& options);
std::string getAddress()const;
void setAddress(const std::string& address);
std::string getTaskType()const;
void setTaskType(const std::string& taskType);
std::string getCaller()const;
void setCaller(const std::string& caller);
std::string getIspCity()const;
void setIspCity(const std::string& ispCity);
std::string getTaskName()const;
void setTaskName(const std::string& taskName);
std::string getIspCities()const;
void setIspCities(const std::string& ispCities);
std::string getOptionsJson()const;
void setOptionsJson(const std::string& optionsJson);
std::string getAlertIds()const;
void setAlertIds(const std::string& alertIds);
std::string getInterval()const;
void setInterval(const std::string& interval);
std::string getAlertRule()const;
void setAlertRule(const std::string& alertRule);
private:
std::string taskName_;
std::string alertIds_;
std::string options_;
std::string address_;
std::string taskType_;
std::string caller_;
std::string ispCity_;
std::string taskName_;
std::string ispCities_;
std::string optionsJson_;
std::string alertIds_;
std::string interval_;
std::string alertRule_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATETASKREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_CREATESITEMONITORREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATESITEMONITORRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATESITEMONITORRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateSiteMonitorResult : public ServiceResult
{
public:
struct Data
{
struct Contact
{
std::string message;
std::string requestId;
std::string ruleId;
std::string code;
std::string success;
};
std::vector<Contact> attachAlertResult;
};
CreateSiteMonitorResult();
explicit CreateSiteMonitorResult(const std::string &payload);
~CreateSiteMonitorResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
std::string getSuccess()const;
std::string getAlertRule()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
std::string success_;
std::string alertRule_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATESITEMONITORRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETECONTACTGROUPREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETECONTACTGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteContactGroupRequest : public RpcServiceRequest
{
public:
DeleteContactGroupRequest();
~DeleteContactGroupRequest();
std::string getContactGroupName()const;
void setContactGroupName(const std::string& contactGroupName);
private:
std::string contactGroupName_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETECONTACTGROUPREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEEVENTTARGETSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEEVENTTARGETSRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETECONTACTGROUPRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETECONTACTGROUPRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteEventTargetsResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DeleteContactGroupResult : public ServiceResult
{
public:
DeleteEventTargetsResult();
explicit DeleteEventTargetsResult(const std::string &payload);
~DeleteEventTargetsResult();
DeleteContactGroupResult();
explicit DeleteContactGroupResult(const std::string &payload);
~DeleteContactGroupResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
@@ -52,4 +52,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEEVENTTARGETSRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETECONTACTGROUPRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETECONTACTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETECONTACTREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeContactRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteContactRequest : public RpcServiceRequest
{
public:
DescribeContactRequest();
~DescribeContactRequest();
DeleteContactRequest();
~DeleteContactRequest();
std::string getContactName()const;
void setContactName(const std::string& contactName);
@@ -45,4 +45,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETECONTACTREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DISABLEALARMRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DISABLEALARMRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETECONTACTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETECONTACTRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DisableAlarmResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DeleteContactResult : public ServiceResult
{
public:
DisableAlarmResult();
explicit DisableAlarmResult(const std::string &payload);
~DisableAlarmResult();
DeleteContactResult();
explicit DeleteContactResult(const std::string &payload);
~DeleteContactResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
@@ -52,4 +52,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DISABLEALARMRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETECONTACTRESULT_H_

View File

@@ -39,14 +39,12 @@ namespace AlibabaCloud
~DeleteCustomMetricResult();
std::string getMessage()const;
std::string getCode()const;
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
std::string result_;
};
}

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEEVENTTARGETSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEEVENTTARGETSREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULETARGETSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULETARGETSREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteEventTargetsRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteEventRuleTargetsRequest : public RpcServiceRequest
{
public:
DeleteEventTargetsRequest();
~DeleteEventTargetsRequest();
DeleteEventRuleTargetsRequest();
~DeleteEventRuleTargetsRequest();
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
@@ -48,4 +48,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEEVENTTARGETSREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULETARGETSREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULETARGETSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULETARGETSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteEventRuleTargetsResult : public ServiceResult
{
public:
DeleteEventRuleTargetsResult();
explicit DeleteEventRuleTargetsResult(const std::string &payload);
~DeleteEventRuleTargetsResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULETARGETSRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DISABLEEVENTRULEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DISABLEEVENTRULEREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULESREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DisableEventRuleRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteEventRulesRequest : public RpcServiceRequest
{
public:
DisableEventRuleRequest();
~DisableEventRuleRequest();
DeleteEventRulesRequest();
~DeleteEventRulesRequest();
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
std::vector<std::string> getRuleNames()const;
void setRuleNames(const std::vector<std::string>& ruleNames);
private:
std::string ruleName_;
std::vector<std::string> ruleNames_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DISABLEEVENTRULEREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DISABLEEVENTRULERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DISABLEEVENTRULERESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULESRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DisableEventRuleResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DeleteEventRulesResult : public ServiceResult
{
public:
DisableEventRuleResult();
explicit DisableEventRuleResult(const std::string &payload);
~DisableEventRuleResult();
DeleteEventRulesResult();
explicit DeleteEventRulesResult(const std::string &payload);
~DeleteEventRulesResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
@@ -52,4 +52,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DISABLEEVENTRULERESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULESRESULT_H_

View File

@@ -1,55 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEGROUPDYNAMICRULERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEGROUPDYNAMICRULERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteGroupDynamicRuleResult : public ServiceResult
{
public:
DeleteGroupDynamicRuleResult();
explicit DeleteGroupDynamicRuleResult(const std::string &payload);
~DeleteGroupDynamicRuleResult();
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEGROUPDYNAMICRULERESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_ENABLEALARMREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_ENABLEALARMREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEGROUPMONITORINGAGENTPROCESSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEGROUPMONITORINGAGENTPROCESSREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT EnableAlarmRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteGroupMonitoringAgentProcessRequest : public RpcServiceRequest
{
public:
EnableAlarmRequest();
~EnableAlarmRequest();
DeleteGroupMonitoringAgentProcessRequest();
~DeleteGroupMonitoringAgentProcessRequest();
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getId()const;
void setId(const std::string& id);
private:
std::string groupId_;
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_ENABLEALARMREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEGROUPMONITORINGAGENTPROCESSREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEGROUPMONITORINGAGENTPROCESSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEGROUPMONITORINGAGENTPROCESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteGroupMonitoringAgentProcessResult : public ServiceResult
{
public:
DeleteGroupMonitoringAgentProcessResult();
explicit DeleteGroupMonitoringAgentProcessResult(const std::string &payload);
~DeleteGroupMonitoringAgentProcessResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEGROUPMONITORINGAGENTPROCESSRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTDETAILREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTDETAILREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEHOSTAVAILABILITYREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEHOSTAVAILABILITYREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT QueryCustomEventDetailRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteHostAvailabilityRequest : public RpcServiceRequest
{
public:
QueryCustomEventDetailRequest();
~QueryCustomEventDetailRequest();
DeleteHostAvailabilityRequest();
~DeleteHostAvailabilityRequest();
std::string getQueryJson()const;
void setQueryJson(const std::string& queryJson);
std::vector<long> getId()const;
void setId(const std::vector<long>& id);
private:
std::string queryJson_;
std::vector<long> id_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTDETAILREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEHOSTAVAILABILITYREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEHOSTAVAILABILITYRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEHOSTAVAILABILITYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteHostAvailabilityResult : public ServiceResult
{
public:
DeleteHostAvailabilityResult();
explicit DeleteHostAvailabilityResult(const std::string &payload);
~DeleteHostAvailabilityResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEHOSTAVAILABILITYRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTHISTOGRAMREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTHISTOGRAMREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULERESOURCESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULERESOURCESREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT QueryCustomEventHistogramRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteMetricRuleResourcesRequest : public RpcServiceRequest
{
public:
QueryCustomEventHistogramRequest();
~QueryCustomEventHistogramRequest();
DeleteMetricRuleResourcesRequest();
~DeleteMetricRuleResourcesRequest();
std::string getQueryJson()const;
void setQueryJson(const std::string& queryJson);
std::string getResources()const;
void setResources(const std::string& resources);
std::string getRuleId()const;
void setRuleId(const std::string& ruleId);
private:
std::string queryJson_;
std::string resources_;
std::string ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTHISTOGRAMREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULERESOURCESREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULERESOURCESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULERESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteMetricRuleResourcesResult : public ServiceResult
{
public:
DeleteMetricRuleResourcesResult();
explicit DeleteMetricRuleResourcesResult(const std::string &payload);
~DeleteMetricRuleResourcesResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULERESOURCESRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULETARGETSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULETARGETSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteMetricRuleTargetsRequest : public RpcServiceRequest
{
public:
DeleteMetricRuleTargetsRequest();
~DeleteMetricRuleTargetsRequest();
std::vector<std::string> getTargetIds()const;
void setTargetIds(const std::vector<std::string>& targetIds);
std::string getRuleId()const;
void setRuleId(const std::string& ruleId);
private:
std::vector<std::string> targetIds_;
std::string ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULETARGETSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_REMOVEMETRICRULETARGETSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_REMOVEMETRICRULETARGETSRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULETARGETSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULETARGETSRESULT_H_
#include <string>
#include <vector>
@@ -29,7 +29,7 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT RemoveMetricRuleTargetsResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DeleteMetricRuleTargetsResult : public ServiceResult
{
public:
struct FailIds
@@ -38,9 +38,9 @@ namespace AlibabaCloud
};
RemoveMetricRuleTargetsResult();
explicit RemoveMetricRuleTargetsResult(const std::string &payload);
~RemoveMetricRuleTargetsResult();
DeleteMetricRuleTargetsResult();
explicit DeleteMetricRuleTargetsResult(const std::string &payload);
~DeleteMetricRuleTargetsResult();
std::string getMessage()const;
std::string getCode()const;
FailIds getFailIds()const;
@@ -58,4 +58,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_REMOVEMETRICRULETARGETSRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULETARGETSRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_LISTPRODUCTOFACTIVEALERTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_LISTPRODUCTOFACTIVEALERTREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULETEMPLATEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULETEMPLATEREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ListProductOfActiveAlertRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteMetricRuleTemplateRequest : public RpcServiceRequest
{
public:
ListProductOfActiveAlertRequest();
~ListProductOfActiveAlertRequest();
DeleteMetricRuleTemplateRequest();
~DeleteMetricRuleTemplateRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
private:
std::string userId_;
std::string templateId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTPRODUCTOFACTIVEALERTREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULETEMPLATEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_GETCONTACTSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_GETCONTACTSRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULETEMPLATERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULETEMPLATERESULT_H_
#include <string>
#include <vector>
@@ -29,22 +29,20 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT GetContactsResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DeleteMetricRuleTemplateResult : public ServiceResult
{
public:
struct Datapoints
struct Resource
{
std::vector<std::string> contacts;
std::string name;
std::string templateId;
};
GetContactsResult();
explicit GetContactsResult(const std::string &payload);
~GetContactsResult();
DeleteMetricRuleTemplateResult();
explicit DeleteMetricRuleTemplateResult(const std::string &payload);
~DeleteMetricRuleTemplateResult();
std::string getMessage()const;
int getHttpStatusCode()const;
Datapoints getDatapoints()const;
Resource getResource()const;
int getCode()const;
bool getSuccess()const;
@@ -52,8 +50,7 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
Datapoints datapoints_;
Resource resource_;
int code_;
bool success_;
@@ -61,4 +58,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_GETCONTACTSRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULETEMPLATERESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteMetricRulesRequest : public RpcServiceRequest
{
public:
DeleteMetricRulesRequest();
~DeleteMetricRulesRequest();
std::vector<std::string> getId()const;
void setId(const std::vector<std::string>& id);
private:
std::vector<std::string> id_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_ENABLEACTIVEALERTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_ENABLEACTIVEALERTRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULESRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT EnableActiveAlertResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DeleteMetricRulesResult : public ServiceResult
{
public:
EnableActiveAlertResult();
explicit EnableActiveAlertResult(const std::string &payload);
~EnableActiveAlertResult();
DeleteMetricRulesResult();
explicit DeleteMetricRulesResult(const std::string &payload);
~DeleteMetricRulesResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
@@ -52,4 +52,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_ENABLEACTIVEALERTRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMETRICRULESRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEGROUPDYNAMICRULEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEGROUPDYNAMICRULEREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPDYNAMICRULEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPDYNAMICRULEREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteGroupDynamicRuleRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteMonitorGroupDynamicRuleRequest : public RpcServiceRequest
{
public:
DeleteGroupDynamicRuleRequest();
~DeleteGroupDynamicRuleRequest();
DeleteMonitorGroupDynamicRuleRequest();
~DeleteMonitorGroupDynamicRuleRequest();
long getGroupId()const;
void setGroupId(long groupId);
@@ -48,4 +48,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEGROUPDYNAMICRULEREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPDYNAMICRULEREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPDYNAMICRULERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPDYNAMICRULERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteMonitorGroupDynamicRuleResult : public ServiceResult
{
public:
DeleteMonitorGroupDynamicRuleResult();
explicit DeleteMonitorGroupDynamicRuleResult(const std::string &payload);
~DeleteMonitorGroupDynamicRuleResult();
std::string getMessage()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPDYNAMICRULERESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPINSTANCESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPINSTANCESREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPINSTANCESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPINSTANCESREQUEST_H_
#include <string>
#include <vector>
@@ -28,17 +28,15 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteMyGroupInstancesRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteMonitorGroupInstancesRequest : public RpcServiceRequest
{
public:
DeleteMyGroupInstancesRequest();
~DeleteMyGroupInstancesRequest();
DeleteMonitorGroupInstancesRequest();
~DeleteMonitorGroupInstancesRequest();
long getGroupId()const;
void setGroupId(long groupId);
std::string getInstanceIds()const;
void setInstanceIds(const std::string& instanceIds);
std::string getInstanceIdList()const;
void setInstanceIdList(const std::string& instanceIdList);
std::string getCategory()const;
@@ -46,7 +44,6 @@ namespace AlibabaCloud
private:
long groupId_;
std::string instanceIds_;
std::string instanceIdList_;
std::string category_;
@@ -54,4 +51,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPINSTANCESREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPINSTANCESREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPINSTANCESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteMonitorGroupInstancesResult : public ServiceResult
{
public:
DeleteMonitorGroupInstancesResult();
explicit DeleteMonitorGroupInstancesResult(const std::string &payload);
~DeleteMonitorGroupInstancesResult();
std::string getMessage()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPINSTANCESRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBESITEMONITORISPAREACITYREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBESITEMONITORISPAREACITYREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPNOTIFYPOLICYREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPNOTIFYPOLICYREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeSiteMonitorISPAreaCityRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteMonitorGroupNotifyPolicyRequest : public RpcServiceRequest
{
public:
DescribeSiteMonitorISPAreaCityRequest();
~DescribeSiteMonitorISPAreaCityRequest();
DeleteMonitorGroupNotifyPolicyRequest();
~DeleteMonitorGroupNotifyPolicyRequest();
std::string getCity()const;
void setCity(const std::string& city);
std::string getIsp()const;
void setIsp(const std::string& isp);
std::string getPolicyType()const;
void setPolicyType(const std::string& policyType);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
private:
std::string city_;
std::string isp_;
std::string policyType_;
std::string groupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBESITEMONITORISPAREACITYREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPNOTIFYPOLICYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATENOTIFYPOLICYRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATENOTIFYPOLICYRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPNOTIFYPOLICYRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPNOTIFYPOLICYRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT CreateNotifyPolicyResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DeleteMonitorGroupNotifyPolicyResult : public ServiceResult
{
public:
CreateNotifyPolicyResult();
explicit CreateNotifyPolicyResult(const std::string &payload);
~CreateNotifyPolicyResult();
DeleteMonitorGroupNotifyPolicyResult();
explicit DeleteMonitorGroupNotifyPolicyResult(const std::string &payload);
~DeleteMonitorGroupNotifyPolicyResult();
std::string getMessage()const;
std::string getCode()const;
std::string getSuccess()const;
@@ -54,4 +54,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATENOTIFYPOLICYRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPNOTIFYPOLICYRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPSREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteMyGroupsRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteMonitorGroupRequest : public RpcServiceRequest
{
public:
DeleteMyGroupsRequest();
~DeleteMyGroupsRequest();
DeleteMonitorGroupRequest();
~DeleteMonitorGroupRequest();
long getGroupId()const;
void setGroupId(long groupId);
@@ -45,4 +45,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPSREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_GETMYGROUPSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_GETMYGROUPSRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPRESULT_H_
#include <string>
#include <vector>
@@ -29,7 +29,7 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT GetMyGroupsResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DeleteMonitorGroupResult : public ServiceResult
{
public:
struct Group
@@ -40,31 +40,27 @@ namespace AlibabaCloud
};
std::string groupName;
std::vector<ContactGroup> contactGroups;
std::string type;
std::string bindUrl;
long groupId;
long serviceId;
};
GetMyGroupsResult();
explicit GetMyGroupsResult(const std::string &payload);
~GetMyGroupsResult();
DeleteMonitorGroupResult();
explicit DeleteMonitorGroupResult(const std::string &payload);
~DeleteMonitorGroupResult();
Group getGroup()const;
int getErrorCode()const;
std::string getErrorMessage()const;
std::string getMessage()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Group group_;
int errorCode_;
std::string errorMessage_;
std::string message_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_GETMYGROUPSRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMONITORGROUPRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_NODEPROCESSDELETEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_NODEPROCESSDELETEREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMONITORINGAGENTPROCESSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMONITORINGAGENTPROCESSREQUEST_H_
#include <string>
#include <vector>
@@ -28,27 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT NodeProcessDeleteRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteMonitoringAgentProcessRequest : public RpcServiceRequest
{
public:
NodeProcessDeleteRequest();
~NodeProcessDeleteRequest();
DeleteMonitoringAgentProcessRequest();
~DeleteMonitoringAgentProcessRequest();
std::string getProcessName()const;
void setProcessName(const std::string& processName);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
std::string getId()const;
void setId(const std::string& id);
std::string getProcessId()const;
void setProcessId(const std::string& processId);
private:
std::string processName_;
std::string instanceId_;
std::string name_;
std::string id_;
std::string processId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_NODEPROCESSDELETEREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMONITORINGAGENTPROCESSREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMONITORINGAGENTPROCESSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMONITORINGAGENTPROCESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteMonitoringAgentProcessResult : public ServiceResult
{
public:
DeleteMonitoringAgentProcessResult();
explicit DeleteMonitoringAgentProcessResult(const std::string &payload);
~DeleteMonitoringAgentProcessResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMONITORINGAGENTPROCESSRESULT_H_

View File

@@ -1,67 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMONITORINGTEMPLATERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMONITORINGTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteMonitoringTemplateResult : public ServiceResult
{
public:
struct Resource
{
std::string description;
std::string alertTemplatesJson;
std::string restVersion;
std::string _namespace;
std::string id;
std::string eventRuleTemplatesJson;
std::string name;
};
DeleteMonitoringTemplateResult();
explicit DeleteMonitoringTemplateResult(const std::string &payload);
~DeleteMonitoringTemplateResult();
Resource getResource()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Resource resource_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMONITORINGTEMPLATERESULT_H_

View File

@@ -1,55 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPINSTANCESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteMyGroupInstancesResult : public ServiceResult
{
public:
DeleteMyGroupInstancesResult();
explicit DeleteMyGroupInstancesResult(const std::string &payload);
~DeleteMyGroupInstancesResult();
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPINSTANCESRESULT_H_

View File

@@ -1,70 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteMyGroupsResult : public ServiceResult
{
public:
struct Group
{
struct ContactGroup
{
std::string name;
};
std::string groupName;
std::vector<ContactGroup> contactGroups;
std::string type;
std::string bindUrls;
long groupId;
std::string serviceId;
};
DeleteMyGroupsResult();
explicit DeleteMyGroupsResult(const std::string &payload);
~DeleteMyGroupsResult();
Group getGroup()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Group group_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPSRESULT_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETENOTIFYPOLICYREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETENOTIFYPOLICYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteNotifyPolicyRequest : public RpcServiceRequest
{
public:
DeleteNotifyPolicyRequest();
~DeleteNotifyPolicyRequest();
std::string getPolicyType()const;
void setPolicyType(const std::string& policyType);
std::string getAlertName()const;
void setAlertName(const std::string& alertName);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getId()const;
void setId(const std::string& id);
std::string getDimensions()const;
void setDimensions(const std::string& dimensions);
private:
std::string policyType_;
std::string alertName_;
std::string groupId_;
std::string accessKeyId_;
std::string id_;
std::string dimensions_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETENOTIFYPOLICYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETETASKSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETETASKSREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETESITEMONITORSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETESITEMONITORSREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DeleteTasksRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteSiteMonitorsRequest : public RpcServiceRequest
{
public:
DeleteTasksRequest();
~DeleteTasksRequest();
DeleteSiteMonitorsRequest();
~DeleteSiteMonitorsRequest();
int getIsDeleteAlarms()const;
void setIsDeleteAlarms(int isDeleteAlarms);
bool getIsDeleteAlarms()const;
void setIsDeleteAlarms(bool isDeleteAlarms);
std::string getTaskIds()const;
void setTaskIds(const std::string& taskIds);
private:
int isDeleteAlarms_;
bool isDeleteAlarms_;
std::string taskIds_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETETASKSREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETESITEMONITORSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBETASKDETAILRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBETASKDETAILRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETESITEMONITORSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETESITEMONITORSRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeTaskDetailResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DeleteSiteMonitorsResult : public ServiceResult
{
public:
DescribeTaskDetailResult();
explicit DescribeTaskDetailResult(const std::string &payload);
~DescribeTaskDetailResult();
DeleteSiteMonitorsResult();
explicit DeleteSiteMonitorsResult(const std::string &payload);
~DeleteSiteMonitorsResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
@@ -54,4 +54,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBETASKDETAILRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETESITEMONITORSRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_ENABLEACTIVEALERTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_ENABLEACTIVEALERTREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEACTIVEMETRICRULELISTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEACTIVEMETRICRULELISTREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT EnableActiveAlertRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DescribeActiveMetricRuleListRequest : public RpcServiceRequest
{
public:
EnableActiveAlertRequest();
~EnableActiveAlertRequest();
DescribeActiveMetricRuleListRequest();
~DescribeActiveMetricRuleListRequest();
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string product_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_ENABLEACTIVEALERTREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEACTIVEMETRICRULELISTREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_LISTACTIVEALERTRULERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_LISTACTIVEALERTRULERESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEACTIVEMETRICRULELISTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEACTIVEMETRICRULELISTRESULT_H_
#include <string>
#include <vector>
@@ -29,24 +29,22 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ListActiveAlertRuleResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DescribeActiveMetricRuleListResult : public ServiceResult
{
public:
struct Alarm
{
std::string silenceTime;
std::string notifyType;
std::string contactGroups;
std::string comparisonOperator;
std::string endTime;
std::string ruleId;
std::string startTime;
std::string period;
std::string evaluationCount;
std::string _namespace;
std::string statistics;
std::string name;
std::string metricName;
std::string uuid;
std::string state;
std::string enable;
std::string webhook;
@@ -55,9 +53,9 @@ namespace AlibabaCloud
};
ListActiveAlertRuleResult();
explicit ListActiveAlertRuleResult(const std::string &payload);
~ListActiveAlertRuleResult();
DescribeActiveMetricRuleListResult();
explicit DescribeActiveMetricRuleListResult(const std::string &payload);
~DescribeActiveMetricRuleListResult();
std::string getMessage()const;
std::vector<Alarm> getDatapoints()const;
std::string getCode()const;
@@ -75,4 +73,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTACTIVEALERTRULERESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEACTIVEMETRICRULELISTRESULT_H_

View File

@@ -1,86 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMHISTORYRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMHISTORYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeAlarmHistoryResult : public ServiceResult
{
public:
struct AlarmHistory
{
int status;
std::vector<std::string> contactGroups;
std::string alertName;
std::string dimensions;
int evaluationCount;
std::string _namespace;
std::vector<std::string> contactMails;
std::vector<std::string> contactSmses;
long alertTime;
std::string groupId;
std::string instanceName;
std::string metricName;
std::vector<std::string> contacts;
std::string expression;
std::string state;
std::string userId;
std::string value;
std::string webhooks;
std::string level;
std::string id;
std::string preLevel;
long lastTime;
std::string ruleName;
std::vector<std::string> contactALIIMs;
};
DescribeAlarmHistoryResult();
explicit DescribeAlarmHistoryResult(const std::string &payload);
~DescribeAlarmHistoryResult();
std::vector<AlarmHistory> getAlarmHistoryList()const;
std::string getMessage()const;
std::string getTotal()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<AlarmHistory> alarmHistoryList_;
std::string message_;
std::string total_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMHISTORYRESULT_H_

View File

@@ -1,116 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMSFORRESOURCESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMSFORRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeAlarmsForResourcesResult : public ServiceResult
{
public:
struct Alarm
{
struct Escalations
{
struct Info
{
std::string comparisonOperator;
std::string times;
std::string statistics;
std::string threshold;
};
struct Warn
{
std::string comparisonOperator;
std::string times;
std::string statistics;
std::string threshold;
};
struct Critical
{
std::string comparisonOperator;
std::string times;
std::string statistics;
std::string threshold;
};
Critical critical;
Info info;
Warn warn;
};
std::string groupName;
std::string noEffectiveInterval;
std::string silenceTime;
std::string contactGroups;
std::string comparisonOperator;
std::string period;
std::string evaluationCount;
std::string _namespace;
std::string effectiveInterval;
std::string statistics;
std::string subject;
std::string name;
std::string groupId;
std::string metricName;
std::string uuid;
std::string state;
Escalations escalations;
std::string displayName;
bool enable;
std::string webhook;
std::string level;
std::string resources;
std::string threshold;
};
DescribeAlarmsForResourcesResult();
explicit DescribeAlarmsForResourcesResult(const std::string &payload);
~DescribeAlarmsForResourcesResult();
std::string getMessage()const;
std::string getTotal()const;
std::string getTraceId()const;
std::string getDimensions()const;
std::vector<Alarm> getDatapoints()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string total_;
std::string traceId_;
std::string dimensions_;
std::vector<Alarm> datapoints_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMSFORRESOURCESRESULT_H_

View File

@@ -1,78 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeAlarmsRequest : public RpcServiceRequest
{
public:
DescribeAlarmsRequest();
~DescribeAlarmsRequest();
bool getEnableState()const;
void setEnableState(bool enableState);
std::string getPageSize()const;
void setPageSize(const std::string& pageSize);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getGroupBy()const;
void setGroupBy(const std::string& groupBy);
std::string getNames()const;
void setNames(const std::string& names);
std::string getDisplayName()const;
void setDisplayName(const std::string& displayName);
std::string get_Namespace()const;
void set_Namespace(const std::string& _namespace);
std::string getAlertState()const;
void setAlertState(const std::string& alertState);
std::string getNameKeyword()const;
void setNameKeyword(const std::string& nameKeyword);
std::string getPage()const;
void setPage(const std::string& page);
private:
bool enableState_;
std::string pageSize_;
std::string metricName_;
std::string groupId_;
std::string groupBy_;
std::string names_;
std::string displayName_;
std::string _namespace_;
std::string alertState_;
std::string nameKeyword_;
std::string page_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMSREQUEST_H_

View File

@@ -35,50 +35,44 @@ namespace AlibabaCloud
DescribeAlertHistoryListRequest();
~DescribeAlertHistoryListRequest();
std::string getAlertName()const;
void setAlertName(const std::string& alertName);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
bool getOnlyCount()const;
void setOnlyCount(bool onlyCount);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getState()const;
void setState(const std::string& state);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
bool getAscending()const;
void setAscending(bool ascending);
std::string get_Namespace()const;
void set_Namespace(const std::string& _namespace);
int getPage()const;
void setPage(int page);
std::string getStatus()const;
void setStatus(const std::string& status);
std::string getAlertStatus()const;
void setAlertStatus(const std::string& alertStatus);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getState()const;
void setState(const std::string& state);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
bool getAscending()const;
void setAscending(bool ascending);
std::string get_Namespace()const;
void set_Namespace(const std::string& _namespace);
int getPage()const;
void setPage(int page);
std::string getRuleId()const;
void setRuleId(const std::string& ruleId);
private:
std::string alertName_;
std::string ruleName_;
std::string startTime_;
std::string accessKeyId_;
bool onlyCount_;
int pageSize_;
std::string state_;
std::string metricName_;
std::string groupId_;
std::string endTime_;
bool ascending_;
std::string _namespace_;
int page_;
std::string status_;
std::string alertStatus_;
std::string ruleName_;
std::string startTime_;
int pageSize_;
std::string state_;
std::string metricName_;
std::string groupId_;
std::string endTime_;
bool ascending_;
std::string _namespace_;
int page_;
std::string ruleId_;
};
}

View File

@@ -37,24 +37,22 @@ namespace AlibabaCloud
int status;
std::vector<std::string> contactGroups;
std::string alertName;
std::string ruleId;
std::string dimensions;
int evaluationCount;
std::string _namespace;
std::vector<std::string> contactMails;
std::vector<std::string> contactSmses;
long alertTime;
std::string alertState;
std::string groupId;
std::string instanceName;
std::string metricName;
std::vector<std::string> contacts;
std::string expression;
std::string state;
std::string userId;
std::string value;
std::string webhooks;
std::string level;
std::string id;
std::string preLevel;
long lastTime;
std::string ruleName;
std::vector<std::string> contactALIIMs;

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTINGMETRICRULERESOURCESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTINGMETRICRULERESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeAlertingMetricRuleResourcesRequest : public RpcServiceRequest
{
public:
DescribeAlertingMetricRuleResourcesRequest();
~DescribeAlertingMetricRuleResourcesRequest();
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
int getPageSize()const;
void setPageSize(int pageSize);
int getPage()const;
void setPage(int page);
std::string getRuleId()const;
void setRuleId(const std::string& ruleId);
private:
std::string groupId_;
int pageSize_;
int page_;
std::string ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTINGMETRICRULERESOURCESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_LISTALARMRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_LISTALARMRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTINGMETRICRULERESOURCESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTINGMETRICRULERESOURCESRESULT_H_
#include <string>
#include <vector>
@@ -29,54 +29,45 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ListAlarmResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DescribeAlertingMetricRuleResourcesResult : public ServiceResult
{
public:
struct Alarm
struct Resource
{
int silenceTime;
int notifyType;
std::string contactGroups;
std::string comparisonOperator;
int endTime;
int startTime;
std::string dimensions;
int period;
int evaluationCount;
std::string _namespace;
std::string statistics;
std::string name;
std::string metricName;
std::string state;
bool enable;
std::string webhook;
std::string id;
std::string lastAlertTime;
std::string ruleId;
std::string resource;
std::string startTime;
std::string enable;
std::string metricValues;
std::string lastModifyTime;
std::string ruleName;
std::string retryTimes;
std::string groupId;
std::string threshold;
};
ListAlarmResult();
explicit ListAlarmResult(const std::string &payload);
~ListAlarmResult();
DescribeAlertingMetricRuleResourcesResult();
explicit DescribeAlertingMetricRuleResourcesResult(const std::string &payload);
~DescribeAlertingMetricRuleResourcesResult();
std::string getMessage()const;
int getNextToken()const;
std::vector<Alarm> getAlarmList()const;
int getTotal()const;
std::string getCode()const;
std::vector<Resource> getResources()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int nextToken_;
std::vector<Alarm> alarmList_;
int total_;
std::string code_;
std::vector<Resource> resources_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTALARMRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTINGMETRICRULERESOURCESRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTGROUPLISTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTGROUPLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeContactGroupListRequest : public RpcServiceRequest
{
public:
DescribeContactGroupListRequest();
~DescribeContactGroupListRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTGROUPLISTREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_LISTCONTACTGROUPRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_LISTCONTACTGROUPRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTGROUPLISTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTGROUPLISTRESULT_H_
#include <string>
#include <vector>
@@ -29,17 +29,16 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ListContactGroupResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DescribeContactGroupListResult : public ServiceResult
{
public:
ListContactGroupResult();
explicit ListContactGroupResult(const std::string &payload);
~ListContactGroupResult();
DescribeContactGroupListResult();
explicit DescribeContactGroupListResult(const std::string &payload);
~DescribeContactGroupListResult();
std::vector<std::string> getContactGroups()const;
std::string getMessage()const;
int getNextToken()const;
int getTotal()const;
std::string getCode()const;
bool getSuccess()const;
@@ -49,7 +48,6 @@ namespace AlibabaCloud
private:
std::vector<std::string> contactGroups_;
std::string message_;
int nextToken_;
int total_;
std::string code_;
bool success_;
@@ -58,4 +56,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTCONTACTGROUPRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTGROUPLISTRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_ADDMYGROUPINSTANCESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_ADDMYGROUPINSTANCESREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTLISTBYCONTACTGROUPREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTLISTBYCONTACTGROUPREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT AddMyGroupInstancesRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DescribeContactListByContactGroupRequest : public RpcServiceRequest
{
public:
AddMyGroupInstancesRequest();
~AddMyGroupInstancesRequest();
DescribeContactListByContactGroupRequest();
~DescribeContactListByContactGroupRequest();
std::string getInstances()const;
void setInstances(const std::string& instances);
long getGroupId()const;
void setGroupId(long groupId);
std::string getContactGroupName()const;
void setContactGroupName(const std::string& contactGroupName);
private:
std::string instances_;
long groupId_;
std::string contactGroupName_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_ADDMYGROUPINSTANCESREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTLISTBYCONTACTGROUPREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_LISTALARMHISTORYRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_LISTALARMHISTORYRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTLISTBYCONTACTGROUPRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTLISTBYCONTACTGROUPRESULT_H_
#include <string>
#include <vector>
@@ -29,42 +29,39 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ListAlarmHistoryResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DescribeContactListByContactGroupResult : public ServiceResult
{
public:
struct AlarmHistory
struct Contact
{
int status;
std::string contactGroups;
int evaluationCount;
std::string _namespace;
std::string dimension;
struct Channels
{
std::string mail;
std::string aliIM;
std::string dingWebHook;
std::string sMS;
};
std::string desc;
long createTime;
long updateTime;
Channels channels;
std::string name;
std::string instanceName;
std::string metricName;
long alarmTime;
std::string state;
std::string value;
std::string id;
long lastTime;
};
ListAlarmHistoryResult();
explicit ListAlarmHistoryResult(const std::string &payload);
~ListAlarmHistoryResult();
std::vector<AlarmHistory> getAlarmHistoryList()const;
DescribeContactListByContactGroupResult();
explicit DescribeContactListByContactGroupResult(const std::string &payload);
~DescribeContactListByContactGroupResult();
std::vector<Contact> getContacts()const;
std::string getMessage()const;
std::string getCursor()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<AlarmHistory> alarmHistoryList_;
std::vector<Contact> contacts_;
std::string message_;
std::string cursor_;
std::string code_;
bool success_;
@@ -72,4 +69,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTALARMHISTORYRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTLISTBYCONTACTGROUPRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTLISTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeContactListRequest : public RpcServiceRequest
{
public:
DescribeContactListRequest();
~DescribeContactListRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getContactName()const;
void setContactName(const std::string& contactName);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string contactName_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTLISTREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTLISTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeContactListResult : public ServiceResult
{
public:
struct Contact
{
struct Channels
{
std::string mail;
std::string aliIM;
std::string dingWebHook;
std::string sMS;
};
std::string desc;
long createTime;
long updateTime;
Channels channels;
std::string name;
};
DescribeContactListResult();
explicit DescribeContactListResult(const std::string &payload);
~DescribeContactListResult();
std::vector<Contact> getContacts()const;
std::string getMessage()const;
int getTotal()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Contact> contacts_;
std::string message_;
int total_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTLISTRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_LISTALARMREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_LISTALARMREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTATTRIBUTEREQUEST_H_
#include <string>
#include <vector>
@@ -28,42 +28,45 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ListAlarmRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DescribeCustomEventAttributeRequest : public RpcServiceRequest
{
public:
ListAlarmRequest();
~ListAlarmRequest();
DescribeCustomEventAttributeRequest();
~DescribeCustomEventAttributeRequest();
std::string getEventId()const;
void setEventId(const std::string& eventId);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getSearchKeywords()const;
void setSearchKeywords(const std::string& searchKeywords);
int getPageNumber()const;
void setPageNumber(int pageNumber);
bool getIsEnable()const;
void setIsEnable(bool isEnable);
std::string getName()const;
void setName(const std::string& name);
std::string get_Namespace()const;
void set_Namespace(const std::string& _namespace);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getId()const;
void setId(const std::string& id);
std::string getState()const;
void setState(const std::string& state);
std::string getDimension()const;
void setDimension(const std::string& dimension);
std::string getLevel()const;
void setLevel(const std::string& level);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getName()const;
void setName(const std::string& name);
private:
std::string eventId_;
std::string startTime_;
std::string searchKeywords_;
int pageNumber_;
bool isEnable_;
std::string name_;
std::string _namespace_;
int pageSize_;
std::string id_;
std::string state_;
std::string dimension_;
std::string level_;
std::string groupId_;
std::string endTime_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTALARMREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTATTRIBUTEREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTATTRIBUTERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTATTRIBUTERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeCustomEventAttributeResult : public ServiceResult
{
public:
struct CustomEvent
{
std::string content;
std::string time;
std::string id;
std::string groupId;
std::string name;
};
DescribeCustomEventAttributeResult();
explicit DescribeCustomEventAttributeResult(const std::string &payload);
~DescribeCustomEventAttributeResult();
std::vector<CustomEvent> getCustomEvents()const;
std::string getMessage()const;
std::string getCode()const;
std::string getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<CustomEvent> customEvents_;
std::string message_;
std::string code_;
std::string success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTATTRIBUTERESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_LISTALARMHISTORYREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_LISTALARMHISTORYREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTCOUNTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTCOUNTREQUEST_H_
#include <string>
#include <vector>
@@ -28,36 +28,39 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ListAlarmHistoryRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DescribeCustomEventCountRequest : public RpcServiceRequest
{
public:
ListAlarmHistoryRequest();
~ListAlarmHistoryRequest();
DescribeCustomEventCountRequest();
~DescribeCustomEventCountRequest();
std::string getCursor()const;
void setCursor(const std::string& cursor);
std::string getEventId()const;
void setEventId(const std::string& eventId);
std::string getLevel()const;
void setLevel(const std::string& level);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getSize()const;
void setSize(int size);
std::string getId()const;
void setId(const std::string& id);
std::string getSearchKeywords()const;
void setSearchKeywords(const std::string& searchKeywords);
std::string getName()const;
void setName(const std::string& name);
private:
std::string cursor_;
std::string eventId_;
std::string level_;
std::string groupId_;
std::string endTime_;
std::string startTime_;
std::string accessKeyId_;
int size_;
std::string id_;
std::string searchKeywords_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTALARMHISTORYREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTCOUNTREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTCOUNTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTCOUNTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cms/CmsExport.h>
namespace AlibabaCloud
{
namespace Cms
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeCustomEventCountResult : public ServiceResult
{
public:
struct CustomEventCount
{
int num;
long time;
std::string name;
};
DescribeCustomEventCountResult();
explicit DescribeCustomEventCountResult(const std::string &payload);
~DescribeCustomEventCountResult();
std::vector<CustomEventCount> getCustomEventCounts()const;
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<CustomEventCount> customEventCounts_;
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTCOUNTRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_QUERYMONITORDATAREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_QUERYMONITORDATAREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTHISTOGRAMREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTHISTOGRAMREQUEST_H_
#include <string>
#include <vector>
@@ -28,42 +28,39 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT QueryMonitorDataRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DescribeCustomEventHistogramRequest : public RpcServiceRequest
{
public:
QueryMonitorDataRequest();
~QueryMonitorDataRequest();
DescribeCustomEventHistogramRequest();
~DescribeCustomEventHistogramRequest();
std::string getCursor()const;
void setCursor(const std::string& cursor);
std::string getPeriod()const;
void setPeriod(const std::string& period);
int getLength()const;
void setLength(int length);
std::string getEventId()const;
void setEventId(const std::string& eventId);
std::string getLevel()const;
void setLevel(const std::string& level);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getType()const;
void setType(const std::string& type);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
std::string getSearchKeywords()const;
void setSearchKeywords(const std::string& searchKeywords);
std::string getName()const;
void setName(const std::string& name);
private:
std::string cursor_;
std::string period_;
int length_;
std::string eventId_;
std::string level_;
std::string groupId_;
std::string endTime_;
std::string startTime_;
std::string type_;
std::string metricName_;
std::string taskId_;
std::string searchKeywords_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYMONITORDATAREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTHISTOGRAMREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_GETNOTIFYPOLICYRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_GETNOTIFYPOLICYRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTHISTOGRAMRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTHISTOGRAMRESULT_H_
#include <string>
#include <vector>
@@ -29,39 +29,35 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT GetNotifyPolicyResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DescribeCustomEventHistogramResult : public ServiceResult
{
public:
struct Result
struct EventHistogram
{
std::string type;
std::string alertName;
long endTime;
long startTime;
std::string dimensions;
std::string id;
std::string groupId;
long count;
};
GetNotifyPolicyResult();
explicit GetNotifyPolicyResult(const std::string &payload);
~GetNotifyPolicyResult();
DescribeCustomEventHistogramResult();
explicit DescribeCustomEventHistogramResult(const std::string &payload);
~DescribeCustomEventHistogramResult();
std::string getMessage()const;
std::vector<EventHistogram> getEventHistograms()const;
std::string getCode()const;
std::string getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<EventHistogram> eventHistograms_;
std::string code_;
std::string success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_GETNOTIFYPOLICYRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMEVENTHISTOGRAMRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMMETRICLISTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMMETRICLISTREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMMETRICLISTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMMETRICLISTREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,19 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT QueryCustomMetricListRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DescribeCustomMetricListRequest : public RpcServiceRequest
{
public:
QueryCustomMetricListRequest();
~QueryCustomMetricListRequest();
DescribeCustomMetricListRequest();
~DescribeCustomMetricListRequest();
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSize()const;
void setSize(const std::string& size);
std::string getPage()const;
void setPage(const std::string& page);
std::string getPageNumber()const;
void setPageNumber(const std::string& pageNumber);
std::string getPageSize()const;
void setPageSize(const std::string& pageSize);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
std::string getDimension()const;
@@ -52,9 +50,8 @@ namespace AlibabaCloud
private:
std::string groupId_;
std::string accessKeyId_;
std::string size_;
std::string page_;
std::string pageNumber_;
std::string pageSize_;
std::string metricName_;
std::string dimension_;
std::string md5_;
@@ -63,4 +60,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMMETRICLISTREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMMETRICLISTREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMMETRICLISTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMMETRICLISTRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMMETRICLISTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMMETRICLISTRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT QueryCustomMetricListResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DescribeCustomMetricListResult : public ServiceResult
{
public:
QueryCustomMetricListResult();
explicit QueryCustomMetricListResult(const std::string &payload);
~QueryCustomMetricListResult();
DescribeCustomMetricListResult();
explicit DescribeCustomMetricListResult(const std::string &payload);
~DescribeCustomMetricListResult();
std::string getMessage()const;
std::string getCode()const;
std::string getResult()const;
@@ -52,4 +52,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMMETRICLISTRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECUSTOMMETRICLISTRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULEREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULEATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULEATTRIBUTEREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeEventRuleRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DescribeEventRuleAttributeRequest : public RpcServiceRequest
{
public:
DescribeEventRuleRequest();
~DescribeEventRuleRequest();
DescribeEventRuleAttributeRequest();
~DescribeEventRuleAttributeRequest();
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
@@ -45,4 +45,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULEREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULEATTRIBUTEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULERESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULEATTRIBUTERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULEATTRIBUTERESULT_H_
#include <string>
#include <vector>
@@ -29,7 +29,7 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeEventRuleResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DescribeEventRuleAttributeResult : public ServiceResult
{
public:
struct Result
@@ -50,9 +50,9 @@ namespace AlibabaCloud
};
DescribeEventRuleResult();
explicit DescribeEventRuleResult(const std::string &payload);
~DescribeEventRuleResult();
DescribeEventRuleAttributeResult();
explicit DescribeEventRuleAttributeResult(const std::string &payload);
~DescribeEventRuleAttributeResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
@@ -70,4 +70,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULERESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULEATTRIBUTERESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_LISTEVENTRULESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_LISTEVENTRULESREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULELISTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULELISTREQUEST_H_
#include <string>
#include <vector>
@@ -28,30 +28,30 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ListEventRulesRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DescribeEventRuleListRequest : public RpcServiceRequest
{
public:
ListEventRulesRequest();
~ListEventRulesRequest();
DescribeEventRuleListRequest();
~DescribeEventRuleListRequest();
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getPageNumber()const;
void setPageNumber(const std::string& pageNumber);
std::string getPageSize()const;
void setPageSize(const std::string& pageSize);
std::string getNamePrefix()const;
void setNamePrefix(const std::string& namePrefix);
std::string getPage()const;
void setPage(const std::string& page);
private:
std::string groupId_;
std::string pageNumber_;
std::string pageSize_;
std::string namePrefix_;
std::string page_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTEVENTRULESREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULELISTREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_LISTEVENTRULESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_LISTEVENTRULESRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULELISTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULELISTRESULT_H_
#include <string>
#include <vector>
@@ -29,7 +29,7 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ListEventRulesResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DescribeEventRuleListResult : public ServiceResult
{
public:
struct EventRule
@@ -38,7 +38,6 @@ namespace AlibabaCloud
{
std::vector<std::string> nameList;
std::vector<std::string> levelList;
std::vector<std::string> statusList;
std::vector<std::string> eventTypeList;
std::string product;
};
@@ -51,14 +50,12 @@ namespace AlibabaCloud
};
ListEventRulesResult();
explicit ListEventRulesResult(const std::string &payload);
~ListEventRulesResult();
DescribeEventRuleListResult();
explicit DescribeEventRuleListResult(const std::string &payload);
~DescribeEventRuleListResult();
std::string getMessage()const;
std::string getNextToken()const;
int getCurrentPage()const;
int getTotal()const;
std::vector<EventRule> getDatapoints()const;
std::vector<EventRule> getEventRules()const;
std::string getCode()const;
bool getSuccess()const;
@@ -66,10 +63,8 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
std::string message_;
std::string nextToken_;
int currentPage_;
int total_;
std::vector<EventRule> datapoints_;
std::vector<EventRule> eventRules_;
std::string code_;
bool success_;
@@ -77,4 +72,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTEVENTRULESRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULELISTRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_LISTEVENTTARGETSBYRULEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_LISTEVENTTARGETSBYRULEREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULETARGETLISTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULETARGETLISTREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ListEventTargetsByRuleRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DescribeEventRuleTargetListRequest : public RpcServiceRequest
{
public:
ListEventTargetsByRuleRequest();
~ListEventTargetsByRuleRequest();
DescribeEventRuleTargetListRequest();
~DescribeEventRuleTargetListRequest();
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
@@ -45,4 +45,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTEVENTTARGETSBYRULEREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULETARGETLISTREQUEST_H_

Some files were not shown because too many files have changed in this diff Show More