Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4c6fc0aeb | ||
|
|
ea81585f2e | ||
|
|
c98efebbad | ||
|
|
50463a22aa | ||
|
|
00a377f110 | ||
|
|
815b6202ed |
15
CHANGELOG
15
CHANGELOG
@@ -1,3 +1,18 @@
|
||||
2019-03-25 Version: 1.34.59
|
||||
1, jarvis-pulic fix product code with dash
|
||||
|
||||
2019-03-25 Version: 1.34.58
|
||||
1, sas-api, fix product code with dash
|
||||
|
||||
2019-03-21 Version: 1.34.57
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-21 Version: 1.34.56
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-20 Version: 1.34.55
|
||||
1, Update the Dependency
|
||||
|
||||
2019-03-20 Version: 1.34.54
|
||||
1, Update the Dependency
|
||||
|
||||
|
||||
@@ -80,7 +80,6 @@ add_subdirectory(rtc)
|
||||
add_subdirectory(chatbot)
|
||||
add_subdirectory(teslastream)
|
||||
add_subdirectory(mopen)
|
||||
add_subdirectory(mts)
|
||||
add_subdirectory(iot)
|
||||
add_subdirectory(linkface)
|
||||
add_subdirectory(ots)
|
||||
@@ -92,25 +91,24 @@ add_subdirectory(arms)
|
||||
add_subdirectory(lubancloud)
|
||||
add_subdirectory(alimt)
|
||||
add_subdirectory(xspace)
|
||||
add_subdirectory(jarvis-public)
|
||||
add_subdirectory(cbn)
|
||||
add_subdirectory(emr)
|
||||
add_subdirectory(ram)
|
||||
add_subdirectory(sts)
|
||||
add_subdirectory(gpdb)
|
||||
add_subdirectory(sas-api)
|
||||
add_subdirectory(cr)
|
||||
add_subdirectory(finmall)
|
||||
add_subdirectory(openanalytics)
|
||||
add_subdirectory(snsuapi)
|
||||
add_subdirectory(ubsms)
|
||||
|
||||
|
||||
add_subdirectory(yundun)
|
||||
add_subdirectory(arms4finance)
|
||||
add_subdirectory(imagesearch)
|
||||
add_subdirectory(cas)
|
||||
add_subdirectory(bssopenapi)
|
||||
add_subdirectory(cloudwf)
|
||||
add_subdirectory(alidns)
|
||||
add_subdirectory(httpdns)
|
||||
add_subdirectory(httpdns)
|
||||
|
||||
add_subdirectory(crm)
|
||||
add_subdirectory(kms)
|
||||
add_subdirectory(sas-api)
|
||||
add_subdirectory(jarvis-public)
|
||||
@@ -23,24 +23,136 @@ set(cms_public_header
|
||||
set(cms_public_header_model
|
||||
include/alibabacloud/cms/model/ProfileSetRequest.h
|
||||
include/alibabacloud/cms/model/ProfileSetResult.h
|
||||
include/alibabacloud/cms/model/ListProductOfActiceAlertRequest.h
|
||||
include/alibabacloud/cms/model/ListProductOfActiceAlertResult.h
|
||||
include/alibabacloud/cms/model/DeleteCustomMetricRequest.h
|
||||
include/alibabacloud/cms/model/DeleteCustomMetricResult.h
|
||||
include/alibabacloud/cms/model/GetNotifyPolicyRequest.h
|
||||
include/alibabacloud/cms/model/GetNotifyPolicyResult.h
|
||||
include/alibabacloud/cms/model/NodeUninstallRequest.h
|
||||
include/alibabacloud/cms/model/NodeUninstallResult.h
|
||||
include/alibabacloud/cms/model/DisableEventRuleRequest.h
|
||||
include/alibabacloud/cms/model/DisableEventRuleResult.h
|
||||
include/alibabacloud/cms/model/DescribeEventRuleRequest.h
|
||||
include/alibabacloud/cms/model/DescribeEventRuleResult.h
|
||||
include/alibabacloud/cms/model/StartTasksRequest.h
|
||||
include/alibabacloud/cms/model/StartTasksResult.h
|
||||
include/alibabacloud/cms/model/DescribeISPAreaCityRequest.h
|
||||
include/alibabacloud/cms/model/DescribeISPAreaCityResult.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventCountRequest.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventCountResult.h
|
||||
include/alibabacloud/cms/model/ListEventRulesRequest.h
|
||||
include/alibabacloud/cms/model/ListEventRulesResult.h
|
||||
include/alibabacloud/cms/model/UpdateMyGroupInstancesRequest.h
|
||||
include/alibabacloud/cms/model/UpdateMyGroupInstancesResult.h
|
||||
include/alibabacloud/cms/model/ProfileGetRequest.h
|
||||
include/alibabacloud/cms/model/ProfileGetResult.h
|
||||
include/alibabacloud/cms/model/PutSystemEventRequest.h
|
||||
include/alibabacloud/cms/model/PutSystemEventResult.h
|
||||
include/alibabacloud/cms/model/PutEventTargetsRequest.h
|
||||
include/alibabacloud/cms/model/PutEventTargetsResult.h
|
||||
include/alibabacloud/cms/model/PutGroupDynamicRuleRequest.h
|
||||
include/alibabacloud/cms/model/PutGroupDynamicRuleResult.h
|
||||
include/alibabacloud/cms/model/UpdateMonitoringTemplateRequest.h
|
||||
include/alibabacloud/cms/model/UpdateMonitoringTemplateResult.h
|
||||
include/alibabacloud/cms/model/PutEventRuleRequest.h
|
||||
include/alibabacloud/cms/model/PutEventRuleResult.h
|
||||
include/alibabacloud/cms/model/NodeListRequest.h
|
||||
include/alibabacloud/cms/model/NodeListResult.h
|
||||
include/alibabacloud/cms/model/QueryStaticsAvailabilityRequest.h
|
||||
include/alibabacloud/cms/model/QueryStaticsAvailabilityResult.h
|
||||
include/alibabacloud/cms/model/NodeProcessesRequest.h
|
||||
include/alibabacloud/cms/model/NodeProcessesResult.h
|
||||
include/alibabacloud/cms/model/ListMonitoringTemplatesRequest.h
|
||||
include/alibabacloud/cms/model/ListMonitoringTemplatesResult.h
|
||||
include/alibabacloud/cms/model/QueryMetricListRequest.h
|
||||
include/alibabacloud/cms/model/QueryMetricListResult.h
|
||||
include/alibabacloud/cms/model/QuerySystemEventDemoRequest.h
|
||||
include/alibabacloud/cms/model/QuerySystemEventDemoResult.h
|
||||
include/alibabacloud/cms/model/DisableAlarmRequest.h
|
||||
include/alibabacloud/cms/model/DisableAlarmResult.h
|
||||
include/alibabacloud/cms/model/PutCustomMetricRequest.h
|
||||
include/alibabacloud/cms/model/PutCustomMetricResult.h
|
||||
include/alibabacloud/cms/model/QueryMetricLastRequest.h
|
||||
include/alibabacloud/cms/model/QueryMetricLastResult.h
|
||||
include/alibabacloud/cms/model/QuerySystemEventHistogramRequest.h
|
||||
include/alibabacloud/cms/model/QuerySystemEventHistogramResult.h
|
||||
include/alibabacloud/cms/model/DeleteEventRuleRequest.h
|
||||
include/alibabacloud/cms/model/DeleteEventRuleResult.h
|
||||
include/alibabacloud/cms/model/TaskConfigUnhealthyRequest.h
|
||||
include/alibabacloud/cms/model/TaskConfigUnhealthyResult.h
|
||||
include/alibabacloud/cms/model/DeleteEventTargetsRequest.h
|
||||
include/alibabacloud/cms/model/DeleteEventTargetsResult.h
|
||||
include/alibabacloud/cms/model/ListProductOfActiveAlertRequest.h
|
||||
include/alibabacloud/cms/model/ListProductOfActiveAlertResult.h
|
||||
include/alibabacloud/cms/model/UpdateMyGroupAlertRequest.h
|
||||
include/alibabacloud/cms/model/UpdateMyGroupAlertResult.h
|
||||
include/alibabacloud/cms/model/CreateMonitoringTemplateRequest.h
|
||||
include/alibabacloud/cms/model/CreateMonitoringTemplateResult.h
|
||||
include/alibabacloud/cms/model/CreateMyGroupsRequest.h
|
||||
include/alibabacloud/cms/model/CreateMyGroupsResult.h
|
||||
include/alibabacloud/cms/model/CreateMyGroupAlertBatchRequest.h
|
||||
include/alibabacloud/cms/model/CreateMyGroupAlertBatchResult.h
|
||||
include/alibabacloud/cms/model/DescribeTasksRequest.h
|
||||
include/alibabacloud/cms/model/DescribeTasksResult.h
|
||||
include/alibabacloud/cms/model/ListActiveAlertRuleRequest.h
|
||||
include/alibabacloud/cms/model/ListActiveAlertRuleResult.h
|
||||
include/alibabacloud/cms/model/DeleteNotifyPolicyRequest.h
|
||||
include/alibabacloud/cms/model/DeleteNotifyPolicyResult.h
|
||||
include/alibabacloud/cms/model/QueryMetricTopRequest.h
|
||||
include/alibabacloud/cms/model/QueryMetricTopResult.h
|
||||
include/alibabacloud/cms/model/AccessKeyGetRequest.h
|
||||
include/alibabacloud/cms/model/AccessKeyGetResult.h
|
||||
include/alibabacloud/cms/model/QueryTaskConfigRequest.h
|
||||
include/alibabacloud/cms/model/QueryTaskConfigResult.h
|
||||
include/alibabacloud/cms/model/QueryProjectMetaRequest.h
|
||||
include/alibabacloud/cms/model/QueryProjectMetaResult.h
|
||||
include/alibabacloud/cms/model/QueryMetricDataRequest.h
|
||||
include/alibabacloud/cms/model/QueryMetricDataResult.h
|
||||
include/alibabacloud/cms/model/DisableActiveAlertRequest.h
|
||||
include/alibabacloud/cms/model/DisableActiveAlertResult.h
|
||||
include/alibabacloud/cms/model/PutEventRequest.h
|
||||
include/alibabacloud/cms/model/PutEventResult.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventHistogramRequest.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventHistogramResult.h
|
||||
include/alibabacloud/cms/model/ListAlarmHistoryRequest.h
|
||||
include/alibabacloud/cms/model/ListAlarmHistoryResult.h
|
||||
include/alibabacloud/cms/model/DeleteTasksRequest.h
|
||||
include/alibabacloud/cms/model/DeleteTasksResult.h
|
||||
include/alibabacloud/cms/model/TaskConfigModifyRequest.h
|
||||
include/alibabacloud/cms/model/TaskConfigModifyResult.h
|
||||
include/alibabacloud/cms/model/GetMyGroupsRequest.h
|
||||
include/alibabacloud/cms/model/GetMyGroupsResult.h
|
||||
include/alibabacloud/cms/model/QueryTaskMonitorDataRequest.h
|
||||
include/alibabacloud/cms/model/QueryTaskMonitorDataResult.h
|
||||
include/alibabacloud/cms/model/StopTasksRequest.h
|
||||
include/alibabacloud/cms/model/StopTasksResult.h
|
||||
include/alibabacloud/cms/model/UpdateAlarmRequest.h
|
||||
include/alibabacloud/cms/model/UpdateAlarmResult.h
|
||||
include/alibabacloud/cms/model/ModifyTaskRequest.h
|
||||
include/alibabacloud/cms/model/ModifyTaskResult.h
|
||||
include/alibabacloud/cms/model/TaskConfigDeleteRequest.h
|
||||
include/alibabacloud/cms/model/TaskConfigDeleteResult.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventDetailRequest.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventDetailResult.h
|
||||
include/alibabacloud/cms/model/NodeProcessCreateRequest.h
|
||||
include/alibabacloud/cms/model/NodeProcessCreateResult.h
|
||||
include/alibabacloud/cms/model/TaskConfigEnableRequest.h
|
||||
include/alibabacloud/cms/model/TaskConfigEnableResult.h
|
||||
include/alibabacloud/cms/model/QueryMetricMetaRequest.h
|
||||
include/alibabacloud/cms/model/QueryMetricMetaResult.h
|
||||
include/alibabacloud/cms/model/TaskConfigCreateRequest.h
|
||||
include/alibabacloud/cms/model/TaskConfigCreateResult.h
|
||||
include/alibabacloud/cms/model/GetNotifyPolicyRequest.h
|
||||
include/alibabacloud/cms/model/GetNotifyPolicyResult.h
|
||||
include/alibabacloud/cms/model/NodeUninstallRequest.h
|
||||
include/alibabacloud/cms/model/NodeUninstallResult.h
|
||||
include/alibabacloud/cms/model/QueryErrorDistributionRequest.h
|
||||
include/alibabacloud/cms/model/QueryErrorDistributionResult.h
|
||||
include/alibabacloud/cms/model/EnableEventRuleRequest.h
|
||||
include/alibabacloud/cms/model/EnableEventRuleResult.h
|
||||
include/alibabacloud/cms/model/ListEventTargetsByRuleRequest.h
|
||||
include/alibabacloud/cms/model/ListEventTargetsByRuleResult.h
|
||||
include/alibabacloud/cms/model/DescribeTaskDetailRequest.h
|
||||
include/alibabacloud/cms/model/DescribeTaskDetailResult.h
|
||||
include/alibabacloud/cms/model/QueryMonitorDataRequest.h
|
||||
include/alibabacloud/cms/model/QueryMonitorDataResult.h
|
||||
include/alibabacloud/cms/model/QueryCustomMetricListRequest.h
|
||||
include/alibabacloud/cms/model/QueryCustomMetricListResult.h
|
||||
include/alibabacloud/cms/model/ApplyTemplateRequest.h
|
||||
include/alibabacloud/cms/model/ApplyTemplateResult.h
|
||||
include/alibabacloud/cms/model/EnableActiveAlertRequest.h
|
||||
include/alibabacloud/cms/model/EnableActiveAlertResult.h
|
||||
include/alibabacloud/cms/model/QuerySystemEventDetailRequest.h
|
||||
@@ -49,46 +161,42 @@ set(cms_public_header_model
|
||||
include/alibabacloud/cms/model/CreateNotifyPolicyResult.h
|
||||
include/alibabacloud/cms/model/DeleteAlarmRequest.h
|
||||
include/alibabacloud/cms/model/DeleteAlarmResult.h
|
||||
include/alibabacloud/cms/model/NodeListRequest.h
|
||||
include/alibabacloud/cms/model/NodeListResult.h
|
||||
include/alibabacloud/cms/model/NodeProcessesRequest.h
|
||||
include/alibabacloud/cms/model/NodeProcessesResult.h
|
||||
include/alibabacloud/cms/model/TaskConfigListRequest.h
|
||||
include/alibabacloud/cms/model/TaskConfigListResult.h
|
||||
include/alibabacloud/cms/model/GetMonitoringTemplateRequest.h
|
||||
include/alibabacloud/cms/model/GetMonitoringTemplateResult.h
|
||||
include/alibabacloud/cms/model/ListMyGroupCategoriesRequest.h
|
||||
include/alibabacloud/cms/model/ListMyGroupCategoriesResult.h
|
||||
include/alibabacloud/cms/model/QueryMetricListRequest.h
|
||||
include/alibabacloud/cms/model/QueryMetricListResult.h
|
||||
include/alibabacloud/cms/model/DeleteGroupDynamicRuleRequest.h
|
||||
include/alibabacloud/cms/model/DeleteGroupDynamicRuleResult.h
|
||||
include/alibabacloud/cms/model/CreateTaskRequest.h
|
||||
include/alibabacloud/cms/model/CreateTaskResult.h
|
||||
include/alibabacloud/cms/model/ListMyGroupInstancesDetailsRequest.h
|
||||
include/alibabacloud/cms/model/ListMyGroupInstancesDetailsResult.h
|
||||
include/alibabacloud/cms/model/DisableAlarmRequest.h
|
||||
include/alibabacloud/cms/model/DisableAlarmResult.h
|
||||
include/alibabacloud/cms/model/PutCustomMetricRequest.h
|
||||
include/alibabacloud/cms/model/PutCustomMetricResult.h
|
||||
include/alibabacloud/cms/model/DeleteMyGroupsRequest.h
|
||||
include/alibabacloud/cms/model/DeleteMyGroupsResult.h
|
||||
include/alibabacloud/cms/model/QueryMetricLastRequest.h
|
||||
include/alibabacloud/cms/model/QueryMetricLastResult.h
|
||||
include/alibabacloud/cms/model/QuerySystemEventHistogramRequest.h
|
||||
include/alibabacloud/cms/model/QuerySystemEventHistogramResult.h
|
||||
include/alibabacloud/cms/model/DescribeAlarmHistoryRequest.h
|
||||
include/alibabacloud/cms/model/DescribeAlarmHistoryResult.h
|
||||
include/alibabacloud/cms/model/ApplyMonitoringTemplateRequest.h
|
||||
include/alibabacloud/cms/model/ApplyMonitoringTemplateResult.h
|
||||
include/alibabacloud/cms/model/NodeStatusRequest.h
|
||||
include/alibabacloud/cms/model/NodeStatusResult.h
|
||||
include/alibabacloud/cms/model/DescribeAlarmsRequest.h
|
||||
include/alibabacloud/cms/model/DescribeAlarmsResult.h
|
||||
include/alibabacloud/cms/model/DeleteMyGroupInstancesRequest.h
|
||||
include/alibabacloud/cms/model/DeleteMyGroupInstancesResult.h
|
||||
include/alibabacloud/cms/model/ListProductOfActiveAlertRequest.h
|
||||
include/alibabacloud/cms/model/ListProductOfActiveAlertResult.h
|
||||
include/alibabacloud/cms/model/CreateMyGroupsRequest.h
|
||||
include/alibabacloud/cms/model/CreateMyGroupsResult.h
|
||||
include/alibabacloud/cms/model/DescribeAlarmsForResourcesRequest.h
|
||||
include/alibabacloud/cms/model/DescribeAlarmsForResourcesResult.h
|
||||
include/alibabacloud/cms/model/QueryStaticsResponseTimeRequest.h
|
||||
include/alibabacloud/cms/model/QueryStaticsResponseTimeResult.h
|
||||
include/alibabacloud/cms/model/CreateAlarmRequest.h
|
||||
include/alibabacloud/cms/model/CreateAlarmResult.h
|
||||
include/alibabacloud/cms/model/ListActiveAlertRuleRequest.h
|
||||
include/alibabacloud/cms/model/ListActiveAlertRuleResult.h
|
||||
include/alibabacloud/cms/model/ListMyGroupsRequest.h
|
||||
include/alibabacloud/cms/model/ListMyGroupsResult.h
|
||||
include/alibabacloud/cms/model/DeleteNotifyPolicyRequest.h
|
||||
include/alibabacloud/cms/model/DeleteNotifyPolicyResult.h
|
||||
include/alibabacloud/cms/model/AddMyGroupInstancesRequest.h
|
||||
include/alibabacloud/cms/model/AddMyGroupInstancesResult.h
|
||||
include/alibabacloud/cms/model/SendDryRunSystemEventRequest.h
|
||||
include/alibabacloud/cms/model/SendDryRunSystemEventResult.h
|
||||
include/alibabacloud/cms/model/NodeProcessDeleteRequest.h
|
||||
include/alibabacloud/cms/model/NodeProcessDeleteResult.h
|
||||
include/alibabacloud/cms/model/UpdateMyGroupsRequest.h
|
||||
@@ -97,65 +205,169 @@ set(cms_public_header_model
|
||||
include/alibabacloud/cms/model/QuerySystemEventCountResult.h
|
||||
include/alibabacloud/cms/model/ListMyGroupInstancesRequest.h
|
||||
include/alibabacloud/cms/model/ListMyGroupInstancesResult.h
|
||||
include/alibabacloud/cms/model/AccessKeyGetRequest.h
|
||||
include/alibabacloud/cms/model/AccessKeyGetResult.h
|
||||
include/alibabacloud/cms/model/EnableActiceAlertRequest.h
|
||||
include/alibabacloud/cms/model/EnableActiceAlertResult.h
|
||||
include/alibabacloud/cms/model/PutMetricDataRequest.h
|
||||
include/alibabacloud/cms/model/PutMetricDataResult.h
|
||||
include/alibabacloud/cms/model/DisableActiveAlertRequest.h
|
||||
include/alibabacloud/cms/model/DisableActiveAlertResult.h
|
||||
include/alibabacloud/cms/model/DisableActiceAlertRequest.h
|
||||
include/alibabacloud/cms/model/DisableActiceAlertResult.h
|
||||
include/alibabacloud/cms/model/GetContactsRequest.h
|
||||
include/alibabacloud/cms/model/GetContactsResult.h
|
||||
include/alibabacloud/cms/model/UpdateMyGroupMembersRequest.h
|
||||
include/alibabacloud/cms/model/UpdateMyGroupMembersResult.h
|
||||
include/alibabacloud/cms/model/QueryStaticsErrorRateRequest.h
|
||||
include/alibabacloud/cms/model/QueryStaticsErrorRateResult.h
|
||||
include/alibabacloud/cms/model/ListGroupDynamicRuleRequest.h
|
||||
include/alibabacloud/cms/model/ListGroupDynamicRuleResult.h
|
||||
include/alibabacloud/cms/model/ListAlarmRequest.h
|
||||
include/alibabacloud/cms/model/ListAlarmResult.h
|
||||
include/alibabacloud/cms/model/NodeInstallRequest.h
|
||||
include/alibabacloud/cms/model/NodeInstallResult.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventHistogramRequest.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventHistogramResult.h
|
||||
include/alibabacloud/cms/model/PutEventRequest.h
|
||||
include/alibabacloud/cms/model/PutEventResult.h
|
||||
include/alibabacloud/cms/model/ListAlarmHistoryRequest.h
|
||||
include/alibabacloud/cms/model/ListAlarmHistoryResult.h
|
||||
include/alibabacloud/cms/model/GetMyGroupAlertRequest.h
|
||||
include/alibabacloud/cms/model/GetMyGroupAlertResult.h
|
||||
include/alibabacloud/cms/model/DeleteMonitoringTemplateRequest.h
|
||||
include/alibabacloud/cms/model/DeleteMonitoringTemplateResult.h
|
||||
include/alibabacloud/cms/model/NodeStatusListRequest.h
|
||||
include/alibabacloud/cms/model/NodeStatusListResult.h
|
||||
include/alibabacloud/cms/model/ListContactGroupRequest.h
|
||||
include/alibabacloud/cms/model/ListContactGroupResult.h
|
||||
include/alibabacloud/cms/model/GetMyGroupsRequest.h
|
||||
include/alibabacloud/cms/model/GetMyGroupsResult.h
|
||||
include/alibabacloud/cms/model/DescribeContactRequest.h
|
||||
include/alibabacloud/cms/model/DescribeContactResult.h
|
||||
include/alibabacloud/cms/model/PutMetricAlarmRequest.h
|
||||
include/alibabacloud/cms/model/PutMetricAlarmResult.h
|
||||
include/alibabacloud/cms/model/ListNotifyPolicyRequest.h
|
||||
include/alibabacloud/cms/model/ListNotifyPolicyResult.h
|
||||
include/alibabacloud/cms/model/UpdateAlarmRequest.h
|
||||
include/alibabacloud/cms/model/UpdateAlarmResult.h
|
||||
include/alibabacloud/cms/model/NodeProcessCreateRequest.h
|
||||
include/alibabacloud/cms/model/NodeProcessCreateResult.h
|
||||
include/alibabacloud/cms/model/EnableAlarmRequest.h
|
||||
include/alibabacloud/cms/model/EnableAlarmResult.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventDetailRequest.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventDetailResult.h )
|
||||
include/alibabacloud/cms/model/EnableAlarmResult.h )
|
||||
|
||||
set(cms_src
|
||||
src/CmsClient.cc
|
||||
src/model/ProfileSetRequest.cc
|
||||
src/model/ProfileSetResult.cc
|
||||
src/model/ListProductOfActiceAlertRequest.cc
|
||||
src/model/ListProductOfActiceAlertResult.cc
|
||||
src/model/DeleteCustomMetricRequest.cc
|
||||
src/model/DeleteCustomMetricResult.cc
|
||||
src/model/GetNotifyPolicyRequest.cc
|
||||
src/model/GetNotifyPolicyResult.cc
|
||||
src/model/NodeUninstallRequest.cc
|
||||
src/model/NodeUninstallResult.cc
|
||||
src/model/DisableEventRuleRequest.cc
|
||||
src/model/DisableEventRuleResult.cc
|
||||
src/model/DescribeEventRuleRequest.cc
|
||||
src/model/DescribeEventRuleResult.cc
|
||||
src/model/StartTasksRequest.cc
|
||||
src/model/StartTasksResult.cc
|
||||
src/model/DescribeISPAreaCityRequest.cc
|
||||
src/model/DescribeISPAreaCityResult.cc
|
||||
src/model/QueryCustomEventCountRequest.cc
|
||||
src/model/QueryCustomEventCountResult.cc
|
||||
src/model/ListEventRulesRequest.cc
|
||||
src/model/ListEventRulesResult.cc
|
||||
src/model/UpdateMyGroupInstancesRequest.cc
|
||||
src/model/UpdateMyGroupInstancesResult.cc
|
||||
src/model/ProfileGetRequest.cc
|
||||
src/model/ProfileGetResult.cc
|
||||
src/model/PutSystemEventRequest.cc
|
||||
src/model/PutSystemEventResult.cc
|
||||
src/model/PutEventTargetsRequest.cc
|
||||
src/model/PutEventTargetsResult.cc
|
||||
src/model/PutGroupDynamicRuleRequest.cc
|
||||
src/model/PutGroupDynamicRuleResult.cc
|
||||
src/model/UpdateMonitoringTemplateRequest.cc
|
||||
src/model/UpdateMonitoringTemplateResult.cc
|
||||
src/model/PutEventRuleRequest.cc
|
||||
src/model/PutEventRuleResult.cc
|
||||
src/model/NodeListRequest.cc
|
||||
src/model/NodeListResult.cc
|
||||
src/model/QueryStaticsAvailabilityRequest.cc
|
||||
src/model/QueryStaticsAvailabilityResult.cc
|
||||
src/model/NodeProcessesRequest.cc
|
||||
src/model/NodeProcessesResult.cc
|
||||
src/model/ListMonitoringTemplatesRequest.cc
|
||||
src/model/ListMonitoringTemplatesResult.cc
|
||||
src/model/QueryMetricListRequest.cc
|
||||
src/model/QueryMetricListResult.cc
|
||||
src/model/QuerySystemEventDemoRequest.cc
|
||||
src/model/QuerySystemEventDemoResult.cc
|
||||
src/model/DisableAlarmRequest.cc
|
||||
src/model/DisableAlarmResult.cc
|
||||
src/model/PutCustomMetricRequest.cc
|
||||
src/model/PutCustomMetricResult.cc
|
||||
src/model/QueryMetricLastRequest.cc
|
||||
src/model/QueryMetricLastResult.cc
|
||||
src/model/QuerySystemEventHistogramRequest.cc
|
||||
src/model/QuerySystemEventHistogramResult.cc
|
||||
src/model/DeleteEventRuleRequest.cc
|
||||
src/model/DeleteEventRuleResult.cc
|
||||
src/model/TaskConfigUnhealthyRequest.cc
|
||||
src/model/TaskConfigUnhealthyResult.cc
|
||||
src/model/DeleteEventTargetsRequest.cc
|
||||
src/model/DeleteEventTargetsResult.cc
|
||||
src/model/ListProductOfActiveAlertRequest.cc
|
||||
src/model/ListProductOfActiveAlertResult.cc
|
||||
src/model/UpdateMyGroupAlertRequest.cc
|
||||
src/model/UpdateMyGroupAlertResult.cc
|
||||
src/model/CreateMonitoringTemplateRequest.cc
|
||||
src/model/CreateMonitoringTemplateResult.cc
|
||||
src/model/CreateMyGroupsRequest.cc
|
||||
src/model/CreateMyGroupsResult.cc
|
||||
src/model/CreateMyGroupAlertBatchRequest.cc
|
||||
src/model/CreateMyGroupAlertBatchResult.cc
|
||||
src/model/DescribeTasksRequest.cc
|
||||
src/model/DescribeTasksResult.cc
|
||||
src/model/ListActiveAlertRuleRequest.cc
|
||||
src/model/ListActiveAlertRuleResult.cc
|
||||
src/model/DeleteNotifyPolicyRequest.cc
|
||||
src/model/DeleteNotifyPolicyResult.cc
|
||||
src/model/QueryMetricTopRequest.cc
|
||||
src/model/QueryMetricTopResult.cc
|
||||
src/model/AccessKeyGetRequest.cc
|
||||
src/model/AccessKeyGetResult.cc
|
||||
src/model/QueryTaskConfigRequest.cc
|
||||
src/model/QueryTaskConfigResult.cc
|
||||
src/model/QueryProjectMetaRequest.cc
|
||||
src/model/QueryProjectMetaResult.cc
|
||||
src/model/QueryMetricDataRequest.cc
|
||||
src/model/QueryMetricDataResult.cc
|
||||
src/model/DisableActiveAlertRequest.cc
|
||||
src/model/DisableActiveAlertResult.cc
|
||||
src/model/PutEventRequest.cc
|
||||
src/model/PutEventResult.cc
|
||||
src/model/QueryCustomEventHistogramRequest.cc
|
||||
src/model/QueryCustomEventHistogramResult.cc
|
||||
src/model/ListAlarmHistoryRequest.cc
|
||||
src/model/ListAlarmHistoryResult.cc
|
||||
src/model/DeleteTasksRequest.cc
|
||||
src/model/DeleteTasksResult.cc
|
||||
src/model/TaskConfigModifyRequest.cc
|
||||
src/model/TaskConfigModifyResult.cc
|
||||
src/model/GetMyGroupsRequest.cc
|
||||
src/model/GetMyGroupsResult.cc
|
||||
src/model/QueryTaskMonitorDataRequest.cc
|
||||
src/model/QueryTaskMonitorDataResult.cc
|
||||
src/model/StopTasksRequest.cc
|
||||
src/model/StopTasksResult.cc
|
||||
src/model/UpdateAlarmRequest.cc
|
||||
src/model/UpdateAlarmResult.cc
|
||||
src/model/ModifyTaskRequest.cc
|
||||
src/model/ModifyTaskResult.cc
|
||||
src/model/TaskConfigDeleteRequest.cc
|
||||
src/model/TaskConfigDeleteResult.cc
|
||||
src/model/QueryCustomEventDetailRequest.cc
|
||||
src/model/QueryCustomEventDetailResult.cc
|
||||
src/model/NodeProcessCreateRequest.cc
|
||||
src/model/NodeProcessCreateResult.cc
|
||||
src/model/TaskConfigEnableRequest.cc
|
||||
src/model/TaskConfigEnableResult.cc
|
||||
src/model/QueryMetricMetaRequest.cc
|
||||
src/model/QueryMetricMetaResult.cc
|
||||
src/model/TaskConfigCreateRequest.cc
|
||||
src/model/TaskConfigCreateResult.cc
|
||||
src/model/GetNotifyPolicyRequest.cc
|
||||
src/model/GetNotifyPolicyResult.cc
|
||||
src/model/NodeUninstallRequest.cc
|
||||
src/model/NodeUninstallResult.cc
|
||||
src/model/QueryErrorDistributionRequest.cc
|
||||
src/model/QueryErrorDistributionResult.cc
|
||||
src/model/EnableEventRuleRequest.cc
|
||||
src/model/EnableEventRuleResult.cc
|
||||
src/model/ListEventTargetsByRuleRequest.cc
|
||||
src/model/ListEventTargetsByRuleResult.cc
|
||||
src/model/DescribeTaskDetailRequest.cc
|
||||
src/model/DescribeTaskDetailResult.cc
|
||||
src/model/QueryMonitorDataRequest.cc
|
||||
src/model/QueryMonitorDataResult.cc
|
||||
src/model/QueryCustomMetricListRequest.cc
|
||||
src/model/QueryCustomMetricListResult.cc
|
||||
src/model/ApplyTemplateRequest.cc
|
||||
src/model/ApplyTemplateResult.cc
|
||||
src/model/EnableActiveAlertRequest.cc
|
||||
src/model/EnableActiveAlertResult.cc
|
||||
src/model/QuerySystemEventDetailRequest.cc
|
||||
@@ -164,46 +376,42 @@ set(cms_src
|
||||
src/model/CreateNotifyPolicyResult.cc
|
||||
src/model/DeleteAlarmRequest.cc
|
||||
src/model/DeleteAlarmResult.cc
|
||||
src/model/NodeListRequest.cc
|
||||
src/model/NodeListResult.cc
|
||||
src/model/NodeProcessesRequest.cc
|
||||
src/model/NodeProcessesResult.cc
|
||||
src/model/TaskConfigListRequest.cc
|
||||
src/model/TaskConfigListResult.cc
|
||||
src/model/GetMonitoringTemplateRequest.cc
|
||||
src/model/GetMonitoringTemplateResult.cc
|
||||
src/model/ListMyGroupCategoriesRequest.cc
|
||||
src/model/ListMyGroupCategoriesResult.cc
|
||||
src/model/QueryMetricListRequest.cc
|
||||
src/model/QueryMetricListResult.cc
|
||||
src/model/DeleteGroupDynamicRuleRequest.cc
|
||||
src/model/DeleteGroupDynamicRuleResult.cc
|
||||
src/model/CreateTaskRequest.cc
|
||||
src/model/CreateTaskResult.cc
|
||||
src/model/ListMyGroupInstancesDetailsRequest.cc
|
||||
src/model/ListMyGroupInstancesDetailsResult.cc
|
||||
src/model/DisableAlarmRequest.cc
|
||||
src/model/DisableAlarmResult.cc
|
||||
src/model/PutCustomMetricRequest.cc
|
||||
src/model/PutCustomMetricResult.cc
|
||||
src/model/DeleteMyGroupsRequest.cc
|
||||
src/model/DeleteMyGroupsResult.cc
|
||||
src/model/QueryMetricLastRequest.cc
|
||||
src/model/QueryMetricLastResult.cc
|
||||
src/model/QuerySystemEventHistogramRequest.cc
|
||||
src/model/QuerySystemEventHistogramResult.cc
|
||||
src/model/DescribeAlarmHistoryRequest.cc
|
||||
src/model/DescribeAlarmHistoryResult.cc
|
||||
src/model/ApplyMonitoringTemplateRequest.cc
|
||||
src/model/ApplyMonitoringTemplateResult.cc
|
||||
src/model/NodeStatusRequest.cc
|
||||
src/model/NodeStatusResult.cc
|
||||
src/model/DescribeAlarmsRequest.cc
|
||||
src/model/DescribeAlarmsResult.cc
|
||||
src/model/DeleteMyGroupInstancesRequest.cc
|
||||
src/model/DeleteMyGroupInstancesResult.cc
|
||||
src/model/ListProductOfActiveAlertRequest.cc
|
||||
src/model/ListProductOfActiveAlertResult.cc
|
||||
src/model/CreateMyGroupsRequest.cc
|
||||
src/model/CreateMyGroupsResult.cc
|
||||
src/model/DescribeAlarmsForResourcesRequest.cc
|
||||
src/model/DescribeAlarmsForResourcesResult.cc
|
||||
src/model/QueryStaticsResponseTimeRequest.cc
|
||||
src/model/QueryStaticsResponseTimeResult.cc
|
||||
src/model/CreateAlarmRequest.cc
|
||||
src/model/CreateAlarmResult.cc
|
||||
src/model/ListActiveAlertRuleRequest.cc
|
||||
src/model/ListActiveAlertRuleResult.cc
|
||||
src/model/ListMyGroupsRequest.cc
|
||||
src/model/ListMyGroupsResult.cc
|
||||
src/model/DeleteNotifyPolicyRequest.cc
|
||||
src/model/DeleteNotifyPolicyResult.cc
|
||||
src/model/AddMyGroupInstancesRequest.cc
|
||||
src/model/AddMyGroupInstancesResult.cc
|
||||
src/model/SendDryRunSystemEventRequest.cc
|
||||
src/model/SendDryRunSystemEventResult.cc
|
||||
src/model/NodeProcessDeleteRequest.cc
|
||||
src/model/NodeProcessDeleteResult.cc
|
||||
src/model/UpdateMyGroupsRequest.cc
|
||||
@@ -212,42 +420,34 @@ set(cms_src
|
||||
src/model/QuerySystemEventCountResult.cc
|
||||
src/model/ListMyGroupInstancesRequest.cc
|
||||
src/model/ListMyGroupInstancesResult.cc
|
||||
src/model/AccessKeyGetRequest.cc
|
||||
src/model/AccessKeyGetResult.cc
|
||||
src/model/EnableActiceAlertRequest.cc
|
||||
src/model/EnableActiceAlertResult.cc
|
||||
src/model/PutMetricDataRequest.cc
|
||||
src/model/PutMetricDataResult.cc
|
||||
src/model/DisableActiveAlertRequest.cc
|
||||
src/model/DisableActiveAlertResult.cc
|
||||
src/model/DisableActiceAlertRequest.cc
|
||||
src/model/DisableActiceAlertResult.cc
|
||||
src/model/GetContactsRequest.cc
|
||||
src/model/GetContactsResult.cc
|
||||
src/model/UpdateMyGroupMembersRequest.cc
|
||||
src/model/UpdateMyGroupMembersResult.cc
|
||||
src/model/QueryStaticsErrorRateRequest.cc
|
||||
src/model/QueryStaticsErrorRateResult.cc
|
||||
src/model/ListGroupDynamicRuleRequest.cc
|
||||
src/model/ListGroupDynamicRuleResult.cc
|
||||
src/model/ListAlarmRequest.cc
|
||||
src/model/ListAlarmResult.cc
|
||||
src/model/NodeInstallRequest.cc
|
||||
src/model/NodeInstallResult.cc
|
||||
src/model/QueryCustomEventHistogramRequest.cc
|
||||
src/model/QueryCustomEventHistogramResult.cc
|
||||
src/model/PutEventRequest.cc
|
||||
src/model/PutEventResult.cc
|
||||
src/model/ListAlarmHistoryRequest.cc
|
||||
src/model/ListAlarmHistoryResult.cc
|
||||
src/model/GetMyGroupAlertRequest.cc
|
||||
src/model/GetMyGroupAlertResult.cc
|
||||
src/model/DeleteMonitoringTemplateRequest.cc
|
||||
src/model/DeleteMonitoringTemplateResult.cc
|
||||
src/model/NodeStatusListRequest.cc
|
||||
src/model/NodeStatusListResult.cc
|
||||
src/model/ListContactGroupRequest.cc
|
||||
src/model/ListContactGroupResult.cc
|
||||
src/model/GetMyGroupsRequest.cc
|
||||
src/model/GetMyGroupsResult.cc
|
||||
src/model/DescribeContactRequest.cc
|
||||
src/model/DescribeContactResult.cc
|
||||
src/model/PutMetricAlarmRequest.cc
|
||||
src/model/PutMetricAlarmResult.cc
|
||||
src/model/ListNotifyPolicyRequest.cc
|
||||
src/model/ListNotifyPolicyResult.cc
|
||||
src/model/UpdateAlarmRequest.cc
|
||||
src/model/UpdateAlarmResult.cc
|
||||
src/model/NodeProcessCreateRequest.cc
|
||||
src/model/NodeProcessCreateResult.cc
|
||||
src/model/EnableAlarmRequest.cc
|
||||
src/model/EnableAlarmResult.cc
|
||||
src/model/QueryCustomEventDetailRequest.cc
|
||||
src/model/QueryCustomEventDetailResult.cc )
|
||||
src/model/EnableAlarmResult.cc )
|
||||
|
||||
add_library(cms ${LIB_TYPE}
|
||||
${cms_public_header}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
66
cms/include/alibabacloud/cms/model/ApplyTemplateRequest.h
Normal file
66
cms/include/alibabacloud/cms/model/ApplyTemplateRequest.h
Normal 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_
|
||||
70
cms/include/alibabacloud/cms/model/ApplyTemplateResult.h
Normal file
70
cms/include/alibabacloud/cms/model/ApplyTemplateResult.h
Normal 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_
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_;
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
72
cms/include/alibabacloud/cms/model/CreateTaskRequest.h
Normal file
72
cms/include/alibabacloud/cms/model/CreateTaskRequest.h
Normal 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_
|
||||
59
cms/include/alibabacloud/cms/model/CreateTaskResult.h
Normal file
59
cms/include/alibabacloud/cms/model/CreateTaskResult.h
Normal 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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
51
cms/include/alibabacloud/cms/model/DeleteEventRuleRequest.h
Normal file
51
cms/include/alibabacloud/cms/model/DeleteEventRuleRequest.h
Normal 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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_
|
||||
57
cms/include/alibabacloud/cms/model/DeleteTasksResult.h
Normal file
57
cms/include/alibabacloud/cms/model/DeleteTasksResult.h
Normal 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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
78
cms/include/alibabacloud/cms/model/DescribeAlarmsRequest.h
Normal file
78
cms/include/alibabacloud/cms/model/DescribeAlarmsRequest.h
Normal 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_
|
||||
116
cms/include/alibabacloud/cms/model/DescribeAlarmsResult.h
Normal file
116
cms/include/alibabacloud/cms/model/DescribeAlarmsResult.h
Normal 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_
|
||||
48
cms/include/alibabacloud/cms/model/DescribeContactRequest.h
Normal file
48
cms/include/alibabacloud/cms/model/DescribeContactRequest.h
Normal 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_
|
||||
67
cms/include/alibabacloud/cms/model/DescribeContactResult.h
Normal file
67
cms/include/alibabacloud/cms/model/DescribeContactResult.h
Normal 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_
|
||||
@@ -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_
|
||||
73
cms/include/alibabacloud/cms/model/DescribeEventRuleResult.h
Normal file
73
cms/include/alibabacloud/cms/model/DescribeEventRuleResult.h
Normal 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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
60
cms/include/alibabacloud/cms/model/DescribeTasksRequest.h
Normal file
60
cms/include/alibabacloud/cms/model/DescribeTasksRequest.h
Normal 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_
|
||||
63
cms/include/alibabacloud/cms/model/DescribeTasksResult.h
Normal file
63
cms/include/alibabacloud/cms/model/DescribeTasksResult.h
Normal 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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
51
cms/include/alibabacloud/cms/model/DisableEventRuleRequest.h
Normal file
51
cms/include/alibabacloud/cms/model/DisableEventRuleRequest.h
Normal 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_
|
||||
@@ -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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
51
cms/include/alibabacloud/cms/model/EnableEventRuleRequest.h
Normal file
51
cms/include/alibabacloud/cms/model/EnableEventRuleRequest.h
Normal 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_
|
||||
55
cms/include/alibabacloud/cms/model/EnableEventRuleResult.h
Normal file
55
cms/include/alibabacloud/cms/model/EnableEventRuleResult.h
Normal 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_
|
||||
@@ -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_
|
||||
64
cms/include/alibabacloud/cms/model/GetContactsResult.h
Normal file
64
cms/include/alibabacloud/cms/model/GetContactsResult.h
Normal 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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
51
cms/include/alibabacloud/cms/model/GetMyGroupAlertRequest.h
Normal file
51
cms/include/alibabacloud/cms/model/GetMyGroupAlertRequest.h
Normal 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_
|
||||
104
cms/include/alibabacloud/cms/model/GetMyGroupAlertResult.h
Normal file
104
cms/include/alibabacloud/cms/model/GetMyGroupAlertResult.h
Normal 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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
57
cms/include/alibabacloud/cms/model/ListEventRulesRequest.h
Normal file
57
cms/include/alibabacloud/cms/model/ListEventRulesRequest.h
Normal 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_
|
||||
80
cms/include/alibabacloud/cms/model/ListEventRulesResult.h
Normal file
80
cms/include/alibabacloud/cms/model/ListEventRulesResult.h
Normal 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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user