CMS SDK Auto Released By shenshi,Version:1.34.55

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2019-03-20 17:40:22 +08:00
parent 815b6202ed
commit 00a377f110
401 changed files with 21507 additions and 4347 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -37,22 +37,22 @@ namespace AlibabaCloud
AccessKeyGetResult();
explicit AccessKeyGetResult(const std::string &payload);
~AccessKeyGetResult();
std::string getSecretKey()const;
long getUserId()const;
int getErrorCode()const;
std::string getAccessKey()const;
std::string getErrorMessage()const;
bool getSuccess()const;
std::string getSecretKey()const;
long getUserId()const;
int getErrorCode()const;
std::string getAccessKey()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string secretKey_;
long userId_;
int errorCode_;
std::string accessKey_;
std::string errorMessage_;
bool success_;
std::string secretKey_;
long userId_;
int errorCode_;
std::string accessKey_;
std::string errorMessage_;
bool success_;
};
}

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
AddMyGroupInstancesResult();
explicit AddMyGroupInstancesResult(const std::string &payload);
~AddMyGroupInstancesResult();
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
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_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}

View File

@@ -0,0 +1,69 @@
/*
* 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_APPLYMONITORINGTEMPLATEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_APPLYMONITORINGTEMPLATEREQUEST_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 ApplyMonitoringTemplateRequest : public RpcServiceRequest
{
public:
ApplyMonitoringTemplateRequest();
~ApplyMonitoringTemplateRequest();
long getEnableStartTime()const;
void setEnableStartTime(long enableStartTime);
std::string getApplyMode()const;
void setApplyMode(const std::string& applyMode);
std::string getWebhook()const;
void setWebhook(const std::string& webhook);
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 getSilenceTime()const;
void setSilenceTime(long silenceTime);
private:
long enableStartTime_;
std::string applyMode_;
std::string webhook_;
std::string templateIds_;
long enableEndTime_;
long groupId_;
long notifyLevel_;
long silenceTime_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_APPLYMONITORINGTEMPLATEREQUEST_H_

View File

@@ -0,0 +1,81 @@
/*
* 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_APPLYMONITORINGTEMPLATERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_APPLYMONITORINGTEMPLATERESULT_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 ApplyMonitoringTemplateResult : public ServiceResult
{
public:
struct Resource
{
struct Result
{
std::string message;
std::string displayName;
int code;
bool success;
long groupId;
std::string name;
};
struct Result
{
std::string message;
std::string displayName;
int code;
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();
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_APPLYMONITORINGTEMPLATERESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* 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();
long getEnableStartTime()const;
void setEnableStartTime(long enableStartTime);
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 getSilenceTime()const;
void setSilenceTime(long silenceTime);
private:
long enableStartTime_;
std::string applyMode_;
std::string templateIds_;
long enableEndTime_;
long groupId_;
long notifyLevel_;
long silenceTime_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_APPLYTEMPLATEREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* 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

@@ -35,12 +35,12 @@ namespace AlibabaCloud
CreateAlarmRequest();
~CreateAlarmRequest();
std::string getCallby_cms_owner()const;
void setCallby_cms_owner(const std::string& callby_cms_owner);
int getPeriod()const;
void setPeriod(int period);
std::string getWebhook()const;
void setWebhook(const std::string& webhook);
bool getDryRun()const;
void setDryRun(bool dryRun);
std::string getContactGroups()const;
void setContactGroups(const std::string& contactGroups);
int getEndTime()const;
@@ -69,9 +69,9 @@ namespace AlibabaCloud
void setStatistics(const std::string& statistics);
private:
std::string callby_cms_owner_;
int period_;
std::string webhook_;
bool dryRun_;
std::string contactGroups_;
int endTime_;
std::string threshold_;

View File

@@ -37,18 +37,18 @@ namespace AlibabaCloud
CreateAlarmResult();
explicit CreateAlarmResult(const std::string &payload);
~CreateAlarmResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
bool getSuccess()const;
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
bool success_;
std::string message_;
std::string data_;
std::string code_;
bool success_;
};
}

View File

@@ -0,0 +1,60 @@
/*
* 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

@@ -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_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

@@ -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_CREATEMYGROUPALERTBATCHREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPALERTBATCHREQUEST_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 CreateMyGroupAlertBatchRequest : public RpcServiceRequest
{
public:
CreateMyGroupAlertBatchRequest();
~CreateMyGroupAlertBatchRequest();
long getGroupId()const;
void setGroupId(long groupId);
std::string getGroupAlertJsonArray()const;
void setGroupAlertJsonArray(const std::string& groupAlertJsonArray);
private:
long groupId_;
std::string groupAlertJsonArray_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPALERTBATCHREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* 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_CREATEMYGROUPALERTBATCHRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPALERTBATCHRESULT_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 CreateMyGroupAlertBatchResult : public ServiceResult
{
public:
struct AlertResult
{
std::string metricName;
std::string alertName;
std::string message;
std::string displayName;
std::string metricNamespace;
int code;
bool success;
long groupId;
};
CreateMyGroupAlertBatchResult();
explicit CreateMyGroupAlertBatchResult(const std::string &payload);
~CreateMyGroupAlertBatchResult();
std::vector<AlertResult> getResources()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<AlertResult> resources_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPALERTBATCHRESULT_H_

View File

@@ -37,10 +37,12 @@ namespace AlibabaCloud
std::string getContactGroups()const;
void setContactGroups(const std::string& contactGroups);
long getServiceId()const;
void setServiceId(long serviceId);
std::string getOptions()const;
void setOptions(const std::string& options);
std::string getType()const;
void setType(const std::string& type);
long getServiceId()const;
void setServiceId(long serviceId);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getBindUrl()const;
@@ -48,8 +50,9 @@ namespace AlibabaCloud
private:
std::string contactGroups_;
long serviceId_;
std::string options_;
std::string type_;
long serviceId_;
std::string groupName_;
std::string bindUrl_;

View File

@@ -37,18 +37,18 @@ namespace AlibabaCloud
CreateMyGroupsResult();
explicit CreateMyGroupsResult(const std::string &payload);
~CreateMyGroupsResult();
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
long getGroupId()const;
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_;
int errorCode_;
std::string errorMessage_;
bool success_;
long groupId_;
};
}

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
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;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
private:
std::string policyType_;
std::string alertName_;
std::string groupId_;
long endTime_;
long startTime_;
std::string dimensions_;

View File

@@ -37,20 +37,18 @@ namespace AlibabaCloud
CreateNotifyPolicyResult();
explicit CreateNotifyPolicyResult(const std::string &payload);
~CreateNotifyPolicyResult();
std::string getMessage()const;
std::string getTraceId()const;
std::string getCode()const;
std::string getSuccess()const;
int getResult()const;
std::string getMessage()const;
std::string getCode()const;
std::string getSuccess()const;
int getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string traceId_;
std::string code_;
std::string success_;
int result_;
std::string message_;
std::string code_;
std::string success_;
int result_;
};
}

View File

@@ -0,0 +1,72 @@
/*
* 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_CREATETASKREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATETASKREQUEST_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 CreateTaskRequest : public RpcServiceRequest
{
public:
CreateTaskRequest();
~CreateTaskRequest();
std::string getCaller()const;
void setCaller(const std::string& caller);
std::string getAddress()const;
void setAddress(const std::string& address);
std::string getTaskType()const;
void setTaskType(const std::string& taskType);
std::string getIspCity()const;
void setIspCity(const std::string& ispCity);
std::string getAlertIds()const;
void setAlertIds(const std::string& alertIds);
std::string getOptions()const;
void setOptions(const std::string& options);
std::string getTaskName()const;
void setTaskName(const std::string& taskName);
std::string getInterval()const;
void setInterval(const std::string& interval);
std::string getAlertRule()const;
void setAlertRule(const std::string& alertRule);
private:
std::string caller_;
std::string address_;
std::string taskType_;
std::string ispCity_;
std::string alertIds_;
std::string options_;
std::string taskName_;
std::string interval_;
std::string alertRule_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATETASKREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_CREATETASKRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATETASKRESULT_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 CreateTaskResult : public ServiceResult
{
public:
CreateTaskResult();
explicit CreateTaskResult(const std::string &payload);
~CreateTaskResult();
std::string getMessage()const;
std::string 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_;
std::string data_;
std::string code_;
std::string success_;
std::string alertRule_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATETASKRESULT_H_

View File

@@ -35,13 +35,10 @@ namespace AlibabaCloud
DeleteAlarmRequest();
~DeleteAlarmRequest();
std::string getCallby_cms_owner()const;
void setCallby_cms_owner(const std::string& callby_cms_owner);
std::string getId()const;
void setId(const std::string& id);
private:
std::string callby_cms_owner_;
std::string id_;
};

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
DeleteAlarmResult();
explicit DeleteAlarmResult(const std::string &payload);
~DeleteAlarmResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
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_;
std::string message_;
std::string code_;
bool success_;
};
}

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
DeleteCustomMetricResult();
explicit DeleteCustomMetricResult(const std::string &payload);
~DeleteCustomMetricResult();
std::string getMessage()const;
std::string getCode()const;
std::string getResult()const;
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_;
std::string message_;
std::string code_;
std::string result_;
};
}

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_DELETEEVENTRULEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULEREQUEST_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 DeleteEventRuleRequest : public RpcServiceRequest
{
public:
DeleteEventRuleRequest();
~DeleteEventRuleRequest();
std::vector<std::string> getRuleNames()const;
void setRuleNames(const std::vector<std::string>& ruleNames);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
private:
std::vector<std::string> ruleNames_;
std::string ruleName_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_PUTMETRICDATARESULT_H_
#define ALIBABACLOUD_CMS_MODEL_PUTMETRICDATARESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULERESULT_H_
#include <string>
#include <vector>
@@ -29,27 +29,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT PutMetricDataResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DeleteEventRuleResult : public ServiceResult
{
public:
PutMetricDataResult();
explicit PutMetricDataResult(const std::string &payload);
~PutMetricDataResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
DeleteEventRuleResult();
explicit DeleteEventRuleResult(const std::string &payload);
~DeleteEventRuleResult();
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_;
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_PUTMETRICDATARESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEEVENTRULERESULT_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_DELETEEVENTTARGETSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEEVENTTARGETSREQUEST_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 DeleteEventTargetsRequest : public RpcServiceRequest
{
public:
DeleteEventTargetsRequest();
~DeleteEventTargetsRequest();
std::vector<std::string> getIds()const;
void setIds(const std::vector<std::string>& ids);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
private:
std::vector<std::string> ids_;
std::string ruleName_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEEVENTTARGETSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DISABLEACTICEALERTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DISABLEACTICEALERTRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEEVENTTARGETSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEEVENTTARGETSRESULT_H_
#include <string>
#include <vector>
@@ -29,27 +29,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DisableActiceAlertResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DeleteEventTargetsResult : public ServiceResult
{
public:
DisableActiceAlertResult();
explicit DisableActiceAlertResult(const std::string &payload);
~DisableActiceAlertResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
DeleteEventTargetsResult();
explicit DeleteEventTargetsResult(const std::string &payload);
~DeleteEventTargetsResult();
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_;
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DISABLEACTICEALERTRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEEVENTTARGETSRESULT_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_DELETEGROUPDYNAMICRULEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEGROUPDYNAMICRULEREQUEST_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 DeleteGroupDynamicRuleRequest : public RpcServiceRequest
{
public:
DeleteGroupDynamicRuleRequest();
~DeleteGroupDynamicRuleRequest();
long getGroupId()const;
void setGroupId(long groupId);
std::string getCategory()const;
void setCategory(const std::string& category);
private:
long groupId_;
std::string category_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEGROUPDYNAMICRULEREQUEST_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_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_LISTPRODUCTOFACTICEALERTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_LISTPRODUCTOFACTICEALERTREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEMONITORINGTEMPLATEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETEMONITORINGTEMPLATEREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT ListProductOfActiceAlertRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteMonitoringTemplateRequest : public RpcServiceRequest
{
public:
ListProductOfActiceAlertRequest();
~ListProductOfActiceAlertRequest();
DeleteMonitoringTemplateRequest();
~DeleteMonitoringTemplateRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getId()const;
void setId(const std::string& id);
private:
std::string userId_;
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTPRODUCTOFACTICEALERTREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMONITORINGTEMPLATEREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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

@@ -37,12 +37,18 @@ namespace AlibabaCloud
std::string getInstanceIds()const;
void setInstanceIds(const std::string& instanceIds);
std::string getInstanceIdList()const;
void setInstanceIdList(const std::string& instanceIdList);
long getGroupId()const;
void setGroupId(long groupId);
std::string getCategory()const;
void setCategory(const std::string& category);
private:
std::string instanceIds_;
std::string instanceIdList_;
long groupId_;
std::string category_;
};
}

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
DeleteMyGroupInstancesResult();
explicit DeleteMyGroupInstancesResult(const std::string &payload);
~DeleteMyGroupInstancesResult();
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
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_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}

View File

@@ -32,36 +32,36 @@ namespace AlibabaCloud
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;
};
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();
std::vector<Group> getGroup()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Group getGroup()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Group> group_;
int errorCode_;
std::string errorMessage_;
bool success_;
Group group_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
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 getId()const;
void setId(const std::string& id);
std::string getDimensions()const;
@@ -49,6 +51,7 @@ namespace AlibabaCloud
private:
std::string policyType_;
std::string alertName_;
std::string groupId_;
std::string id_;
std::string dimensions_;
std::string accessKeyId_;

View File

@@ -37,20 +37,18 @@ namespace AlibabaCloud
DeleteNotifyPolicyResult();
explicit DeleteNotifyPolicyResult(const std::string &payload);
~DeleteNotifyPolicyResult();
std::string getMessage()const;
std::string getTraceId()const;
std::string getCode()const;
std::string getSuccess()const;
int getResult()const;
std::string getMessage()const;
std::string getCode()const;
std::string getSuccess()const;
int getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string traceId_;
std::string code_;
std::string success_;
int result_;
std::string message_;
std::string code_;
std::string success_;
int result_;
};
}

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_PUTMETRICDATAREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_PUTMETRICDATAREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETETASKSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETETASKSREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT PutMetricDataRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteTasksRequest : public RpcServiceRequest
{
public:
PutMetricDataRequest();
~PutMetricDataRequest();
DeleteTasksRequest();
~DeleteTasksRequest();
std::string getCallby_cms_owner()const;
void setCallby_cms_owner(const std::string& callby_cms_owner);
std::string getBody()const;
void setBody(const std::string& body);
int getIsDeleteAlarms()const;
void setIsDeleteAlarms(int isDeleteAlarms);
std::string getTaskIds()const;
void setTaskIds(const std::string& taskIds);
private:
std::string callby_cms_owner_;
std::string body_;
int isDeleteAlarms_;
std::string taskIds_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_PUTMETRICDATAREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETETASKSREQUEST_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_DELETETASKSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETETASKSRESULT_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 DeleteTasksResult : public ServiceResult
{
public:
DeleteTasksResult();
explicit DeleteTasksResult(const std::string &payload);
~DeleteTasksResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
std::string getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
std::string success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DELETETASKSRESULT_H_

View File

@@ -32,51 +32,52 @@ namespace AlibabaCloud
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 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;
};
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;
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_;
std::vector<AlarmHistory> alarmHistoryList_;
std::string message_;
std::string total_;
std::string code_;
bool success_;
};
}

View File

@@ -0,0 +1,69 @@
/*
* 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_DESCRIBEALARMSFORRESOURCESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMSFORRESOURCESREQUEST_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 DescribeAlarmsForResourcesRequest : public RpcServiceRequest
{
public:
DescribeAlarmsForResourcesRequest();
~DescribeAlarmsForResourcesRequest();
bool getEnableState()const;
void setEnableState(bool enableState);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string get_Namespace()const;
void set_Namespace(const std::string& _namespace);
std::string getPageSize()const;
void setPageSize(const std::string& pageSize);
std::string getAlertState()const;
void setAlertState(const std::string& alertState);
std::string getPage()const;
void setPage(const std::string& page);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
std::string getDimensions()const;
void setDimensions(const std::string& dimensions);
private:
bool enableState_;
std::string groupId_;
std::string _namespace_;
std::string pageSize_;
std::string alertState_;
std::string page_;
std::string metricName_;
std::string dimensions_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMSFORRESOURCESREQUEST_H_

View File

@@ -0,0 +1,116 @@
/*
* 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

@@ -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_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 getNames()const;
void setNames(const std::string& names);
std::string getDisplayName()const;
void setDisplayName(const std::string& displayName);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string get_Namespace()const;
void set_Namespace(const std::string& _namespace);
std::string getPageSize()const;
void setPageSize(const std::string& pageSize);
std::string getAlertState()const;
void setAlertState(const std::string& alertState);
std::string getNameKeyword()const;
void setNameKeyword(const std::string& nameKeyword);
std::string getGroupBy()const;
void setGroupBy(const std::string& groupBy);
std::string getPage()const;
void setPage(const std::string& page);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
private:
bool enableState_;
std::string names_;
std::string displayName_;
std::string groupId_;
std::string _namespace_;
std::string pageSize_;
std::string alertState_;
std::string nameKeyword_;
std::string groupBy_;
std::string page_;
std::string metricName_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMSREQUEST_H_

View File

@@ -0,0 +1,116 @@
/*
* 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_DESCRIBEALARMSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMSRESULT_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 DescribeAlarmsResult : 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 comparisonOperator;
std::string evaluationCount;
std::string name;
std::string metricName;
std::string displayName;
bool enable;
std::string ruleName;
std::string threshold;
std::string silenceTime;
std::string contactGroups;
std::string period;
std::string dimensions;
std::string _namespace;
std::string effectiveInterval;
std::string statistics;
std::string subject;
std::string groupId;
std::string uuid;
std::string state;
Escalations escalations;
std::string webhook;
std::string level;
std::string resources;
};
DescribeAlarmsResult();
explicit DescribeAlarmsResult(const std::string &payload);
~DescribeAlarmsResult();
std::string getMessage()const;
std::string getTotal()const;
std::string getTraceId()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::vector<Alarm> datapoints_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMSRESULT_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_DESCRIBECONTACTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTREQUEST_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 DescribeContactRequest : public RpcServiceRequest
{
public:
DescribeContactRequest();
~DescribeContactRequest();
std::string getContactName()const;
void setContactName(const std::string& contactName);
private:
std::string contactName_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_DESCRIBECONTACTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTRESULT_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 DescribeContactResult : public ServiceResult
{
public:
struct Datapoints
{
struct Channel
{
std::string type;
std::string value;
};
std::vector<Channel> channels;
std::string name;
};
DescribeContactResult();
explicit DescribeContactResult(const std::string &payload);
~DescribeContactResult();
std::string getMessage()const;
Datapoints getDatapoints()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Datapoints datapoints_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBECONTACTRESULT_H_

View File

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

View File

@@ -0,0 +1,73 @@
/*
* 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_DESCRIBEEVENTRULERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULERESULT_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 DescribeEventRuleResult : public ServiceResult
{
public:
struct Result
{
struct EventPattern
{
std::vector<std::string> nameList;
std::vector<std::string> levelList;
std::vector<std::string> statusList;
std::string product;
};
EventPattern eventPattern;
std::string description;
std::string eventType;
std::string state;
std::string name;
std::string groupId;
};
DescribeEventRuleResult();
explicit DescribeEventRuleResult(const std::string &payload);
~DescribeEventRuleResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEEVENTRULERESULT_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_DESCRIBEISPAREACITYREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEISPAREACITYREQUEST_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 DescribeISPAreaCityRequest : public RpcServiceRequest
{
public:
DescribeISPAreaCityRequest();
~DescribeISPAreaCityRequest();
std::string getCity()const;
void setCity(const std::string& city);
std::string getIsp()const;
void setIsp(const std::string& isp);
private:
std::string city_;
std::string isp_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEISPAREACITYREQUEST_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_DESCRIBEISPAREACITYRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEISPAREACITYRESULT_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 DescribeISPAreaCityResult : public ServiceResult
{
public:
DescribeISPAreaCityResult();
explicit DescribeISPAreaCityResult(const std::string &payload);
~DescribeISPAreaCityResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
std::string getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
std::string success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEISPAREACITYRESULT_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_DESCRIBETASKDETAILREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBETASKDETAILREQUEST_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 DescribeTaskDetailRequest : public RpcServiceRequest
{
public:
DescribeTaskDetailRequest();
~DescribeTaskDetailRequest();
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBETASKDETAILREQUEST_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_DESCRIBETASKDETAILRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBETASKDETAILRESULT_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 DescribeTaskDetailResult : public ServiceResult
{
public:
DescribeTaskDetailResult();
explicit DescribeTaskDetailResult(const std::string &payload);
~DescribeTaskDetailResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
std::string getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
std::string success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBETASKDETAILRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* 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_DESCRIBETASKSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBETASKSREQUEST_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 DescribeTasksRequest : public RpcServiceRequest
{
public:
DescribeTasksRequest();
~DescribeTasksRequest();
std::string getTaskType()const;
void setTaskType(const std::string& taskType);
int getPageSize()const;
void setPageSize(int pageSize);
int getPage()const;
void setPage(int page);
std::string getKeyword()const;
void setKeyword(const std::string& keyword);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
std::string taskType_;
int pageSize_;
int page_;
std::string keyword_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBETASKSREQUEST_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_DESCRIBETASKSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBETASKSRESULT_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 DescribeTasksResult : public ServiceResult
{
public:
DescribeTasksResult();
explicit DescribeTasksResult(const std::string &payload);
~DescribeTasksResult();
int getTotalCount()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
std::string getData()const;
std::string getCode()const;
std::string getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string message_;
int pageSize_;
int pageNumber_;
std::string data_;
std::string code_;
std::string success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBETASKSRESULT_H_

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
DisableActiveAlertResult();
explicit DisableActiveAlertResult(const std::string &payload);
~DisableActiveAlertResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
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_;
std::string message_;
std::string code_;
bool success_;
};
}

View File

@@ -35,13 +35,10 @@ namespace AlibabaCloud
DisableAlarmRequest();
~DisableAlarmRequest();
std::string getCallby_cms_owner()const;
void setCallby_cms_owner(const std::string& callby_cms_owner);
std::string getId()const;
void setId(const std::string& id);
private:
std::string callby_cms_owner_;
std::string id_;
};

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
DisableAlarmResult();
explicit DisableAlarmResult(const std::string &payload);
~DisableAlarmResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
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_;
std::string message_;
std::string code_;
bool success_;
};
}

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_DISABLEEVENTRULEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DISABLEEVENTRULEREQUEST_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 DisableEventRuleRequest : public RpcServiceRequest
{
public:
DisableEventRuleRequest();
~DisableEventRuleRequest();
std::vector<std::string> getRuleNames()const;
void setRuleNames(const std::vector<std::string>& ruleNames);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
private:
std::vector<std::string> ruleNames_;
std::string ruleName_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DISABLEEVENTRULEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_ENABLEACTICEALERTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_ENABLEACTICEALERTRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DISABLEEVENTRULERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DISABLEEVENTRULERESULT_H_
#include <string>
#include <vector>
@@ -29,27 +29,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT EnableActiceAlertResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT DisableEventRuleResult : public ServiceResult
{
public:
EnableActiceAlertResult();
explicit EnableActiceAlertResult(const std::string &payload);
~EnableActiceAlertResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
DisableEventRuleResult();
explicit DisableEventRuleResult(const std::string &payload);
~DisableEventRuleResult();
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_;
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_ENABLEACTICEALERTRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DISABLEEVENTRULERESULT_H_

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
EnableActiveAlertResult();
explicit EnableActiveAlertResult(const std::string &payload);
~EnableActiveAlertResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
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_;
std::string message_;
std::string code_;
bool success_;
};
}

View File

@@ -35,13 +35,10 @@ namespace AlibabaCloud
EnableAlarmRequest();
~EnableAlarmRequest();
std::string getCallby_cms_owner()const;
void setCallby_cms_owner(const std::string& callby_cms_owner);
std::string getId()const;
void setId(const std::string& id);
private:
std::string callby_cms_owner_;
std::string id_;
};

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
EnableAlarmResult();
explicit EnableAlarmResult(const std::string &payload);
~EnableAlarmResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
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_;
std::string message_;
std::string code_;
bool success_;
};
}

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_ENABLEEVENTRULEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_ENABLEEVENTRULEREQUEST_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 EnableEventRuleRequest : public RpcServiceRequest
{
public:
EnableEventRuleRequest();
~EnableEventRuleRequest();
std::vector<std::string> getRuleNames()const;
void setRuleNames(const std::vector<std::string>& ruleNames);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
private:
std::vector<std::string> ruleNames_;
std::string ruleName_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_ENABLEEVENTRULEREQUEST_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_ENABLEEVENTRULERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_ENABLEEVENTRULERESULT_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 EnableEventRuleResult : public ServiceResult
{
public:
EnableEventRuleResult();
explicit EnableEventRuleResult(const std::string &payload);
~EnableEventRuleResult();
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_ENABLEEVENTRULERESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_PUTSYSTEMEVENTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_PUTSYSTEMEVENTREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_GETCONTACTSREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_GETCONTACTSREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT PutSystemEventRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT GetContactsRequest : public RpcServiceRequest
{
public:
PutSystemEventRequest();
~PutSystemEventRequest();
GetContactsRequest();
~GetContactsRequest();
std::string getEventInfo()const;
void setEventInfo(const std::string& eventInfo);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
private:
std::string eventInfo_;
std::string groupName_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_PUTSYSTEMEVENTREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_GETCONTACTSREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* 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_GETCONTACTSRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_GETCONTACTSRESULT_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 GetContactsResult : public ServiceResult
{
public:
struct Datapoints
{
std::vector<std::string> contacts;
std::string name;
};
GetContactsResult();
explicit GetContactsResult(const std::string &payload);
~GetContactsResult();
std::string getMessage()const;
int getHttpStatusCode()const;
Datapoints getDatapoints()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
Datapoints datapoints_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_GETCONTACTSRESULT_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_GETMONITORINGTEMPLATEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_GETMONITORINGTEMPLATEREQUEST_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 GetMonitoringTemplateRequest : public RpcServiceRequest
{
public:
GetMonitoringTemplateRequest();
~GetMonitoringTemplateRequest();
std::string getName()const;
void setName(const std::string& name);
std::string getId()const;
void setId(const std::string& id);
private:
std::string name_;
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_GETMONITORINGTEMPLATEREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_GETMONITORINGTEMPLATERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_GETMONITORINGTEMPLATERESULT_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 GetMonitoringTemplateResult : 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;
};
GetMonitoringTemplateResult();
explicit GetMonitoringTemplateResult(const std::string &payload);
~GetMonitoringTemplateResult();
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_GETMONITORINGTEMPLATERESULT_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_GETMYGROUPALERTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_GETMYGROUPALERTREQUEST_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 GetMyGroupAlertRequest : public RpcServiceRequest
{
public:
GetMyGroupAlertRequest();
~GetMyGroupAlertRequest();
long getGroupId()const;
void setGroupId(long groupId);
std::string getAlertName()const;
void setAlertName(const std::string& alertName);
private:
long groupId_;
std::string alertName_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_GETMYGROUPALERTREQUEST_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_GETMYGROUPALERTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_GETMYGROUPALERTRESULT_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 GetMyGroupAlertResult : public ServiceResult
{
public:
struct GroupAlert
{
struct Escalations
{
struct Info
{
std::string comparisonOperator;
int times;
std::string statistics;
std::string threshold;
};
struct Warn
{
std::string comparisonOperator;
int times;
std::string statistics;
std::string threshold;
};
struct Critical
{
std::string comparisonOperator;
int times;
std::string statistics;
std::string threshold;
};
Critical critical;
Info info;
Warn warn;
};
int silenceTime;
std::string alertName;
std::string category;
std::string description;
int period;
std::string enableEndTime;
std::string _namespace;
std::string subject;
std::string groupId;
std::string metricName;
std::string state;
Escalations escalations;
std::string displayName;
bool enable;
std::string webhook;
std::string enableStartTime;
std::string selector;
};
GetMyGroupAlertResult();
explicit GetMyGroupAlertResult(const std::string &payload);
~GetMyGroupAlertResult();
GroupAlert getGroupAlert()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
GroupAlert groupAlert_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_GETMYGROUPALERTRESULT_H_

View File

@@ -32,36 +32,36 @@ namespace AlibabaCloud
class ALIBABACLOUD_CMS_EXPORT GetMyGroupsResult : public ServiceResult
{
public:
struct Group
{
struct ContactGroup
{
std::string name;
};
std::string groupName;
std::vector<ContactGroup> contactGroups;
std::string type;
std::string bindUrl;
long groupId;
long serviceId;
};
struct Group
{
struct ContactGroup
{
std::string name;
};
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();
std::vector<Group> getGroup()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Group getGroup()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Group> group_;
int errorCode_;
std::string errorMessage_;
bool success_;
Group group_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
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 getId()const;
void setId(const std::string& id);
std::string getDimensions()const;
@@ -49,6 +51,7 @@ namespace AlibabaCloud
private:
std::string policyType_;
std::string alertName_;
std::string groupId_;
std::string id_;
std::string dimensions_;
std::string accessKeyId_;

View File

@@ -32,34 +32,33 @@ namespace AlibabaCloud
class ALIBABACLOUD_CMS_EXPORT GetNotifyPolicyResult : public ServiceResult
{
public:
struct Result
{
std::string type;
std::string alertName;
long endTime;
long startTime;
std::string dimensions;
std::string id;
};
struct Result
{
std::string type;
std::string alertName;
long endTime;
long startTime;
std::string dimensions;
std::string id;
std::string groupId;
};
GetNotifyPolicyResult();
explicit GetNotifyPolicyResult(const std::string &payload);
~GetNotifyPolicyResult();
std::string getMessage()const;
std::string getTraceId()const;
std::string getCode()const;
std::string getSuccess()const;
std::vector<Result> getResult()const;
std::string getMessage()const;
std::string getCode()const;
std::string getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string traceId_;
std::string code_;
std::string success_;
std::vector<Result> result_;
std::string message_;
std::string code_;
std::string success_;
Result result_;
};
}

View File

@@ -32,44 +32,44 @@ namespace AlibabaCloud
class ALIBABACLOUD_CMS_EXPORT ListActiveAlertRuleResult : public ServiceResult
{
public:
struct Alarm
{
std::string silenceTime;
std::string notifyType;
std::string contactGroups;
std::string comparisonOperator;
std::string endTime;
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;
std::string ruleName;
std::string threshold;
};
struct Alarm
{
std::string silenceTime;
std::string notifyType;
std::string contactGroups;
std::string comparisonOperator;
std::string endTime;
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;
std::string ruleName;
std::string threshold;
};
ListActiveAlertRuleResult();
explicit ListActiveAlertRuleResult(const std::string &payload);
~ListActiveAlertRuleResult();
std::string getMessage()const;
std::vector<Alarm> getDatapoints()const;
std::string getCode()const;
bool getSuccess()const;
std::string getMessage()const;
std::vector<Alarm> getDatapoints()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<Alarm> datapoints_;
std::string code_;
bool success_;
std::string message_;
std::vector<Alarm> datapoints_;
std::string code_;
bool success_;
};
}

View File

@@ -37,8 +37,6 @@ namespace AlibabaCloud
std::string getCursor()const;
void setCursor(const std::string& cursor);
std::string getCallby_cms_owner()const;
void setCallby_cms_owner(const std::string& callby_cms_owner);
int getSize()const;
void setSize(int size);
std::string getEndTime()const;
@@ -52,7 +50,6 @@ namespace AlibabaCloud
private:
std::string cursor_;
std::string callby_cms_owner_;
int size_;
std::string endTime_;
std::string id_;

View File

@@ -32,40 +32,41 @@ namespace AlibabaCloud
class ALIBABACLOUD_CMS_EXPORT ListAlarmHistoryResult : public ServiceResult
{
public:
struct AlarmHistory
{
int status;
std::string metricName;
std::string contactGroups;
long alarmTime;
std::string state;
std::string value;
int evaluationCount;
std::string _namespace;
std::string id;
std::string dimension;
long lastTime;
std::string name;
};
struct AlarmHistory
{
int status;
std::string contactGroups;
int evaluationCount;
std::string _namespace;
std::string dimension;
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;
std::string getMessage()const;
std::string getCursor()const;
std::string getCode()const;
bool getSuccess()const;
std::vector<AlarmHistory> getAlarmHistoryList()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::string message_;
std::string cursor_;
std::string code_;
bool success_;
std::vector<AlarmHistory> alarmHistoryList_;
std::string message_;
std::string cursor_;
std::string code_;
bool success_;
};
}

View File

@@ -37,8 +37,6 @@ namespace AlibabaCloud
bool getIsEnable()const;
void setIsEnable(bool isEnable);
std::string getCallby_cms_owner()const;
void setCallby_cms_owner(const std::string& callby_cms_owner);
std::string getName()const;
void setName(const std::string& name);
std::string get_Namespace()const;
@@ -56,7 +54,6 @@ namespace AlibabaCloud
private:
bool isEnable_;
std::string callby_cms_owner_;
std::string name_;
std::string _namespace_;
int pageSize_;

View File

@@ -32,48 +32,48 @@ namespace AlibabaCloud
class ALIBABACLOUD_CMS_EXPORT ListAlarmResult : public ServiceResult
{
public:
struct Alarm
{
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 threshold;
};
struct Alarm
{
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 threshold;
};
ListAlarmResult();
explicit ListAlarmResult(const std::string &payload);
~ListAlarmResult();
std::string getMessage()const;
int getNextToken()const;
std::vector<Alarm> getAlarmList()const;
int getTotal()const;
std::string getCode()const;
bool getSuccess()const;
std::string getMessage()const;
int getNextToken()const;
std::vector<Alarm> getAlarmList()const;
int getTotal()const;
std::string 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_;
bool success_;
std::string message_;
int nextToken_;
std::vector<Alarm> alarmList_;
int total_;
std::string code_;
bool success_;
};
}

View File

@@ -35,15 +35,12 @@ namespace AlibabaCloud
ListContactGroupRequest();
~ListContactGroupRequest();
std::string getCallby_cms_owner()const;
void setCallby_cms_owner(const std::string& callby_cms_owner);
int getPageSize()const;
void setPageSize(int pageSize);
int getPageNumber()const;
void setPageNumber(int pageNumber);
private:
std::string callby_cms_owner_;
int pageSize_;
int pageNumber_;

View File

@@ -37,22 +37,22 @@ namespace AlibabaCloud
ListContactGroupResult();
explicit ListContactGroupResult(const std::string &payload);
~ListContactGroupResult();
std::vector<std::string> getContactGroups()const;
std::string getMessage()const;
int getNextToken()const;
int getTotal()const;
std::string getCode()const;
bool getSuccess()const;
std::vector<std::string> getContactGroups()const;
std::string getMessage()const;
int getNextToken()const;
int getTotal()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> contactGroups_;
std::string message_;
int nextToken_;
int total_;
std::string code_;
bool success_;
std::vector<std::string> contactGroups_;
std::string message_;
int nextToken_;
int total_;
std::string code_;
bool success_;
};
}

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_LISTEVENTRULESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_LISTEVENTRULESREQUEST_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 ListEventRulesRequest : public RpcServiceRequest
{
public:
ListEventRulesRequest();
~ListEventRulesRequest();
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
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 pageSize_;
std::string namePrefix_;
std::string page_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTEVENTRULESREQUEST_H_

View File

@@ -0,0 +1,80 @@
/*
* 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_LISTEVENTRULESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_LISTEVENTRULESRESULT_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 ListEventRulesResult : public ServiceResult
{
public:
struct EventRule
{
struct EventPatternItem
{
std::vector<std::string> nameList;
std::vector<std::string> levelList;
std::vector<std::string> statusList;
std::vector<std::string> eventTypeList;
std::string product;
};
std::vector<EventRule::EventPatternItem> eventPattern;
std::string description;
std::string eventType;
std::string state;
std::string name;
std::string groupId;
};
ListEventRulesResult();
explicit ListEventRulesResult(const std::string &payload);
~ListEventRulesResult();
std::string getMessage()const;
std::string getNextToken()const;
int getCurrentPage()const;
int getTotal()const;
std::vector<EventRule> getDatapoints()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string nextToken_;
int currentPage_;
int total_;
std::vector<EventRule> datapoints_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTEVENTRULESRESULT_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_LISTEVENTTARGETSBYRULEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_LISTEVENTTARGETSBYRULEREQUEST_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 ListEventTargetsByRuleRequest : public RpcServiceRequest
{
public:
ListEventTargetsByRuleRequest();
~ListEventTargetsByRuleRequest();
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
private:
std::string ruleName_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTEVENTTARGETSBYRULEREQUEST_H_

View File

@@ -0,0 +1,98 @@
/*
* 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_LISTEVENTTARGETSBYRULERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_LISTEVENTTARGETSBYRULERESULT_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 ListEventTargetsByRuleResult : public ServiceResult
{
public:
struct ContactParameter
{
std::string contactGroupName;
std::string level;
std::string id;
};
struct FCParameter
{
std::string functionName;
std::string serviceName;
std::string region;
std::string id;
};
struct MnsParameter
{
std::string region;
std::string id;
std::string queue;
};
struct WebhookParameter
{
std::string id;
std::string method;
std::string protocol;
std::string url;
};
struct SlsParameter
{
std::string project;
std::string logStore;
std::string region;
std::string id;
};
ListEventTargetsByRuleResult();
explicit ListEventTargetsByRuleResult(const std::string &payload);
~ListEventTargetsByRuleResult();
int getParameterCount()const;
std::vector<ContactParameter> getContactParameters()const;
std::string getMessage()const;
std::vector<SlsParameter> getSlsParameters()const;
std::vector<WebhookParameter> getWebhookParameters()const;
std::vector<FCParameter> getFcParameters()const;
std::string getCode()const;
std::vector<MnsParameter> getMnsParameters()const;
protected:
void parse(const std::string &payload);
private:
int parameterCount_;
std::vector<ContactParameter> contactParameters_;
std::string message_;
std::vector<SlsParameter> slsParameters_;
std::vector<WebhookParameter> webhookParameters_;
std::vector<FCParameter> fcParameters_;
std::string code_;
std::vector<MnsParameter> mnsParameters_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTEVENTTARGETSBYRULERESULT_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_LISTGROUPDYNAMICRULEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_LISTGROUPDYNAMICRULEREQUEST_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 ListGroupDynamicRuleRequest : public RpcServiceRequest
{
public:
ListGroupDynamicRuleRequest();
~ListGroupDynamicRuleRequest();
long getGroupId()const;
void setGroupId(long groupId);
private:
long groupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTGROUPDYNAMICRULEREQUEST_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_LISTGROUPDYNAMICRULERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_LISTGROUPDYNAMICRULERESULT_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 ListGroupDynamicRuleResult : public ServiceResult
{
public:
struct ResourceItem
{
struct Filter
{
std::string function;
std::string value;
std::string name;
};
std::vector<ResourceItem::Filter> filters;
std::string filterRelation;
std::string category;
long groupId;
};
ListGroupDynamicRuleResult();
explicit ListGroupDynamicRuleResult(const std::string &payload);
~ListGroupDynamicRuleResult();
int getPageSize()const;
int getPageNumber()const;
int getTotal()const;
std::vector<ResourceItem> getResource()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageNumber_;
int total_;
std::vector<ResourceItem> resource_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTGROUPDYNAMICRULERESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* 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_LISTMONITORINGTEMPLATESREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_LISTMONITORINGTEMPLATESREQUEST_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 ListMonitoringTemplatesRequest : public RpcServiceRequest
{
public:
ListMonitoringTemplatesRequest();
~ListMonitoringTemplatesRequest();
bool getTotal()const;
void setTotal(bool total);
std::string getName()const;
void setName(const std::string& name);
long getPageSize()const;
void setPageSize(long pageSize);
long getId()const;
void setId(long id);
bool getHistory()const;
void setHistory(bool history);
std::string getKeyword()const;
void setKeyword(const std::string& keyword);
long getPageNumber()const;
void setPageNumber(long pageNumber);
private:
bool total_;
std::string name_;
long pageSize_;
long id_;
bool history_;
std::string keyword_;
long pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTMONITORINGTEMPLATESREQUEST_H_

View File

@@ -0,0 +1,82 @@
/*
* 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_LISTMONITORINGTEMPLATESRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_LISTMONITORINGTEMPLATESRESULT_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 ListMonitoringTemplatesResult : public ServiceResult
{
public:
struct Resource
{
struct ApplyHistory
{
std::string groupName;
long applyTime;
long groupId;
};
long gmtCreate;
std::string description;
std::string alertTemplatesJson;
long gmtModified;
std::string _namespace;
long restVersion;
long id;
std::vector<Resource::ApplyHistory> applyHistories;
std::string eventRuleTemplatesJson;
std::string name;
};
ListMonitoringTemplatesResult();
explicit ListMonitoringTemplatesResult(const std::string &payload);
~ListMonitoringTemplatesResult();
long getPageSize()const;
long getPageNumber()const;
long getTotal()const;
std::vector<Resource> getResources()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
long pageSize_;
long pageNumber_;
long total_;
std::vector<Resource> resources_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_LISTMONITORINGTEMPLATESRESULT_H_

View File

@@ -32,33 +32,33 @@ namespace AlibabaCloud
class ALIBABACLOUD_CMS_EXPORT ListMyGroupCategoriesResult : public ServiceResult
{
public:
struct Category
{
struct CategoryItem
{
std::string category;
int count;
};
std::vector<CategoryItem> categoryItems;
long groupId;
};
struct Category
{
struct CategoryItem
{
std::string category;
int count;
};
std::vector<CategoryItem> categoryItems;
long groupId;
};
ListMyGroupCategoriesResult();
explicit ListMyGroupCategoriesResult(const std::string &payload);
~ListMyGroupCategoriesResult();
std::vector<Category> getCategory()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
Category getCategory()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Category> category_;
int errorCode_;
std::string errorMessage_;
bool success_;
Category category_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}

View File

@@ -37,20 +37,26 @@ namespace AlibabaCloud
bool getTotal()const;
void setTotal(bool total);
std::string getInstanceIds()const;
void setInstanceIds(const std::string& instanceIds);
long getGroupId()const;
void setGroupId(long groupId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getCategory()const;
void setCategory(const std::string& category);
std::string getKeyword()const;
void setKeyword(const std::string& keyword);
int getPageNumber()const;
void setPageNumber(int pageNumber);
private:
bool total_;
std::string instanceIds_;
long groupId_;
int pageSize_;
std::string category_;
std::string keyword_;
int pageNumber_;
};

View File

@@ -32,56 +32,57 @@ namespace AlibabaCloud
class ALIBABACLOUD_CMS_EXPORT ListMyGroupInstancesDetailsResult : public ServiceResult
{
public:
struct Resource
{
struct Region
{
std::string availabilityZone;
std::string regionId;
};
struct Vpc
{
std::string vswitchInstanceId;
std::string vpcInstanceId;
};
struct Tag
{
std::string value;
std::string key;
};
std::string instanceName;
std::string desc;
std::string category;
std::string instanceId;
std::string networkType;
std::vector<Vpc> vpc;
std::vector<Region> region;
std::vector<Resource::Tag> tags;
long aliUid;
};
struct Resource
{
struct Region
{
std::string availabilityZone;
std::string regionId;
};
struct Vpc
{
std::string vswitchInstanceId;
std::string vpcInstanceId;
};
struct Tag
{
std::string value;
std::string key;
};
std::string instanceName;
std::string desc;
std::string category;
std::string instanceId;
std::string networkType;
Vpc vpc;
Region region;
std::string dimension;
std::vector<Resource::Tag> tags;
long aliUid;
};
ListMyGroupInstancesDetailsResult();
explicit ListMyGroupInstancesDetailsResult(const std::string &payload);
~ListMyGroupInstancesDetailsResult();
int getPageSize()const;
int getPageNumber()const;
int getTotal()const;
std::vector<Resource> getResources()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
int getPageSize()const;
int getPageNumber()const;
int getTotal()const;
std::vector<Resource> getResources()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageNumber_;
int total_;
std::vector<Resource> resources_;
int errorCode_;
std::string errorMessage_;
bool success_;
int pageSize_;
int pageNumber_;
int total_;
std::vector<Resource> resources_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}

View File

@@ -37,20 +37,26 @@ namespace AlibabaCloud
bool getTotal()const;
void setTotal(bool total);
std::string getInstanceIds()const;
void setInstanceIds(const std::string& instanceIds);
long getGroupId()const;
void setGroupId(long groupId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getCategory()const;
void setCategory(const std::string& category);
std::string getKeyword()const;
void setKeyword(const std::string& keyword);
int getPageNumber()const;
void setPageNumber(int pageNumber);
private:
bool total_;
std::string instanceIds_;
long groupId_;
int pageSize_;
std::string category_;
std::string keyword_;
int pageNumber_;
};

View File

@@ -32,37 +32,38 @@ namespace AlibabaCloud
class ALIBABACLOUD_CMS_EXPORT ListMyGroupInstancesResult : public ServiceResult
{
public:
struct Resource
{
std::string category;
std::string instanceId;
long id;
std::string regionId;
long aliUid;
};
struct Resource
{
std::string instanceName;
std::string category;
std::string instanceId;
long id;
std::string regionId;
long aliUid;
};
ListMyGroupInstancesResult();
explicit ListMyGroupInstancesResult(const std::string &payload);
~ListMyGroupInstancesResult();
int getPageSize()const;
int getPageNumber()const;
int getTotal()const;
std::vector<Resource> getResources()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
int getPageSize()const;
int getPageNumber()const;
int getTotal()const;
std::vector<Resource> getResources()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageNumber_;
int total_;
std::vector<Resource> resources_;
int errorCode_;
std::string errorMessage_;
bool success_;
int pageSize_;
int pageNumber_;
int total_;
std::vector<Resource> resources_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}

View File

@@ -41,10 +41,10 @@ namespace AlibabaCloud
void setInstanceId(const std::string& instanceId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getKeyword()const;
void setKeyword(const std::string& keyword);
std::string getType()const;
void setType(const std::string& type);
std::string getKeyword()const;
void setKeyword(const std::string& keyword);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
int getPageNumber()const;
@@ -56,8 +56,8 @@ namespace AlibabaCloud
bool selectContactGroups_;
std::string instanceId_;
int pageSize_;
std::string keyword_;
std::string type_;
std::string keyword_;
std::string groupName_;
int pageNumber_;
std::string bindUrls_;

View File

@@ -32,42 +32,45 @@ namespace AlibabaCloud
class ALIBABACLOUD_CMS_EXPORT ListMyGroupsResult : public ServiceResult
{
public:
struct Resource
{
struct ContactGroup
{
std::string name;
};
std::string groupName;
std::vector<Resource::ContactGroup> contactGroups;
std::string type;
std::string bindUrls;
long groupId;
std::string serviceId;
};
struct Resource
{
struct ContactGroup
{
std::string name;
};
std::string groupName;
std::vector<Resource::ContactGroup> contactGroups;
std::string type;
long gmtCreate;
std::string bindUrl;
long gmtModified;
std::string bindUrls;
long groupId;
std::string serviceId;
};
ListMyGroupsResult();
explicit ListMyGroupsResult(const std::string &payload);
~ListMyGroupsResult();
int getPageSize()const;
int getPageNumber()const;
int getTotal()const;
std::vector<Resource> getResources()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
int getPageSize()const;
int getPageNumber()const;
int getTotal()const;
std::vector<Resource> getResources()const;
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageNumber_;
int total_;
std::vector<Resource> resources_;
int errorCode_;
std::string errorMessage_;
bool success_;
int pageSize_;
int pageNumber_;
int total_;
std::vector<Resource> resources_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
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);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getId()const;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
private:
std::string policyType_;
std::string alertName_;
std::string groupId_;
int pageSize_;
std::string id_;
std::string dimensions_;

View File

@@ -32,36 +32,35 @@ namespace AlibabaCloud
class ALIBABACLOUD_CMS_EXPORT ListNotifyPolicyResult : public ServiceResult
{
public:
struct NotifyPolicy
{
std::string type;
std::string alertName;
long endTime;
long startTime;
std::string dimensions;
std::string id;
};
struct NotifyPolicy
{
std::string type;
std::string alertName;
long endTime;
long startTime;
std::string dimensions;
std::string id;
std::string groupId;
};
ListNotifyPolicyResult();
explicit ListNotifyPolicyResult(const std::string &payload);
~ListNotifyPolicyResult();
std::vector<NotifyPolicy> getNotifyPolicyList()const;
std::string getMessage()const;
int getTotal()const;
std::string getTraceId()const;
std::string getCode()const;
std::string getSuccess()const;
std::vector<NotifyPolicy> getNotifyPolicyList()const;
std::string getMessage()const;
int getTotal()const;
std::string getCode()const;
std::string getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<NotifyPolicy> notifyPolicyList_;
std::string message_;
int total_;
std::string traceId_;
std::string code_;
std::string success_;
std::vector<NotifyPolicy> notifyPolicyList_;
std::string message_;
int total_;
std::string code_;
std::string success_;
};
}

View File

@@ -37,18 +37,18 @@ namespace AlibabaCloud
ListProductOfActiveAlertResult();
explicit ListProductOfActiveAlertResult(const std::string &payload);
~ListProductOfActiveAlertResult();
std::string getMessage()const;
std::string getDatapoints()const;
int getCode()const;
bool getSuccess()const;
std::string getMessage()const;
std::string getDatapoints()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string datapoints_;
int code_;
bool success_;
std::string message_;
std::string datapoints_;
int code_;
bool success_;
};
}

View File

@@ -0,0 +1,72 @@
/*
* 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_MODIFYTASKREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_MODIFYTASKREQUEST_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 ModifyTaskRequest : public RpcServiceRequest
{
public:
ModifyTaskRequest();
~ModifyTaskRequest();
std::string getCaller()const;
void setCaller(const std::string& caller);
std::string getAddress()const;
void setAddress(const std::string& address);
std::string getIspCity()const;
void setIspCity(const std::string& ispCity);
std::string getAlertIds()const;
void setAlertIds(const std::string& alertIds);
std::string getOptions()const;
void setOptions(const std::string& options);
std::string getTaskName()const;
void setTaskName(const std::string& taskName);
std::string getInterval()const;
void setInterval(const std::string& interval);
std::string getAlertRule()const;
void setAlertRule(const std::string& alertRule);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
std::string caller_;
std::string address_;
std::string ispCity_;
std::string alertIds_;
std::string options_;
std::string taskName_;
std::string interval_;
std::string alertRule_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_MODIFYTASKREQUEST_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_MODIFYTASKRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_MODIFYTASKRESULT_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 ModifyTaskResult : public ServiceResult
{
public:
ModifyTaskResult();
explicit ModifyTaskResult(const std::string &payload);
~ModifyTaskResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
std::string getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
std::string success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_MODIFYTASKRESULT_H_

View File

@@ -37,16 +37,16 @@ namespace AlibabaCloud
NodeInstallResult();
explicit NodeInstallResult(const std::string &payload);
~NodeInstallResult();
int getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
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_;
int errorCode_;
std::string errorMessage_;
bool success_;
};
}

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setHostName(const std::string& hostName);
std::string getInstanceIds()const;
void setInstanceIds(const std::string& instanceIds);
std::string getInstanceRegionId()const;
void setInstanceRegionId(const std::string& instanceRegionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getKeyWord()const;
@@ -55,6 +57,7 @@ namespace AlibabaCloud
private:
std::string hostName_;
std::string instanceIds_;
std::string instanceRegionId_;
int pageSize_;
std::string keyWord_;
long userId_;

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