Increase availability monitoring increase HTP header.

This commit is contained in:
sdk-team
2021-03-15 11:49:22 +00:00
parent 084004a767
commit c955ba458b
144 changed files with 6828 additions and 444 deletions

View File

@@ -26,6 +26,12 @@
#include "model/AddTagsResult.h"
#include "model/ApplyMetricRuleTemplateRequest.h"
#include "model/ApplyMetricRuleTemplateResult.h"
#include "model/CreateCmsCallNumOrderRequest.h"
#include "model/CreateCmsCallNumOrderResult.h"
#include "model/CreateCmsOrderRequest.h"
#include "model/CreateCmsOrderResult.h"
#include "model/CreateCmsSmspackageOrderRequest.h"
#include "model/CreateCmsSmspackageOrderResult.h"
#include "model/CreateDynamicTagGroupRequest.h"
#include "model/CreateDynamicTagGroupResult.h"
#include "model/CreateGroupMetricRulesRequest.h"
@@ -42,6 +48,8 @@
#include "model/CreateMonitorAgentProcessResult.h"
#include "model/CreateMonitorGroupRequest.h"
#include "model/CreateMonitorGroupResult.h"
#include "model/CreateMonitorGroupByResourceGroupIdRequest.h"
#include "model/CreateMonitorGroupByResourceGroupIdResult.h"
#include "model/CreateMonitorGroupInstancesRequest.h"
#include "model/CreateMonitorGroupInstancesResult.h"
#include "model/CreateMonitorGroupNotifyPolicyRequest.h"
@@ -70,6 +78,8 @@
#include "model/DeleteGroupMonitoringAgentProcessResult.h"
#include "model/DeleteHostAvailabilityRequest.h"
#include "model/DeleteHostAvailabilityResult.h"
#include "model/DeleteLogMonitorRequest.h"
#include "model/DeleteLogMonitorResult.h"
#include "model/DeleteMetricRuleResourcesRequest.h"
#include "model/DeleteMetricRuleResourcesResult.h"
#include "model/DeleteMetricRuleTargetsRequest.h"
@@ -94,6 +104,12 @@
#include "model/DescribeActiveMetricRuleListResult.h"
#include "model/DescribeAlertHistoryListRequest.h"
#include "model/DescribeAlertHistoryListResult.h"
#include "model/DescribeAlertLogCountRequest.h"
#include "model/DescribeAlertLogCountResult.h"
#include "model/DescribeAlertLogHistogramRequest.h"
#include "model/DescribeAlertLogHistogramResult.h"
#include "model/DescribeAlertLogListRequest.h"
#include "model/DescribeAlertLogListResult.h"
#include "model/DescribeAlertingMetricRuleResourcesRequest.h"
#include "model/DescribeAlertingMetricRuleResourcesResult.h"
#include "model/DescribeContactGroupListRequest.h"
@@ -122,12 +138,14 @@
#include "model/DescribeExporterOutputListResult.h"
#include "model/DescribeExporterRuleListRequest.h"
#include "model/DescribeExporterRuleListResult.h"
#include "model/DescribeFolderListRequest.h"
#include "model/DescribeFolderListResult.h"
#include "model/DescribeGroupMonitoringAgentProcessRequest.h"
#include "model/DescribeGroupMonitoringAgentProcessResult.h"
#include "model/DescribeHostAvailabilityListRequest.h"
#include "model/DescribeHostAvailabilityListResult.h"
#include "model/DescribeLogMonitorAttributeRequest.h"
#include "model/DescribeLogMonitorAttributeResult.h"
#include "model/DescribeLogMonitorListRequest.h"
#include "model/DescribeLogMonitorListResult.h"
#include "model/DescribeMetricDataRequest.h"
#include "model/DescribeMetricDataResult.h"
#include "model/DescribeMetricLastRequest.h"
@@ -160,6 +178,8 @@
#include "model/DescribeMonitorGroupNotifyPolicyListResult.h"
#include "model/DescribeMonitorGroupsRequest.h"
#include "model/DescribeMonitorGroupsResult.h"
#include "model/DescribeMonitorResourceQuotaAttributeRequest.h"
#include "model/DescribeMonitorResourceQuotaAttributeResult.h"
#include "model/DescribeMonitoringAgentAccessKeyRequest.h"
#include "model/DescribeMonitoringAgentAccessKeyResult.h"
#include "model/DescribeMonitoringAgentConfigRequest.h"
@@ -230,6 +250,8 @@
#include "model/ModifyGroupMonitoringAgentProcessResult.h"
#include "model/ModifyHostAvailabilityRequest.h"
#include "model/ModifyHostAvailabilityResult.h"
#include "model/ModifyHostInfoRequest.h"
#include "model/ModifyHostInfoResult.h"
#include "model/ModifyMetricRuleTemplateRequest.h"
#include "model/ModifyMetricRuleTemplateResult.h"
#include "model/ModifyMonitorGroupRequest.h"
@@ -238,14 +260,20 @@
#include "model/ModifyMonitorGroupInstancesResult.h"
#include "model/ModifySiteMonitorRequest.h"
#include "model/ModifySiteMonitorResult.h"
#include "model/OpenCmsServiceRequest.h"
#include "model/OpenCmsServiceResult.h"
#include "model/PutContactRequest.h"
#include "model/PutContactResult.h"
#include "model/PutContactGroupRequest.h"
#include "model/PutContactGroupResult.h"
#include "model/PutCustomEventRequest.h"
#include "model/PutCustomEventResult.h"
#include "model/PutCustomEventRuleRequest.h"
#include "model/PutCustomEventRuleResult.h"
#include "model/PutCustomMetricRequest.h"
#include "model/PutCustomMetricResult.h"
#include "model/PutCustomMetricRuleRequest.h"
#include "model/PutCustomMetricRuleResult.h"
#include "model/PutEventRuleRequest.h"
#include "model/PutEventRuleResult.h"
#include "model/PutEventRuleTargetsRequest.h"
@@ -256,6 +284,8 @@
#include "model/PutExporterRuleResult.h"
#include "model/PutGroupMetricRuleRequest.h"
#include "model/PutGroupMetricRuleResult.h"
#include "model/PutLogMonitorRequest.h"
#include "model/PutLogMonitorResult.h"
#include "model/PutMetricRuleTargetsRequest.h"
#include "model/PutMetricRuleTargetsResult.h"
#include "model/PutMonitorGroupDynamicRuleRequest.h"
@@ -287,6 +317,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ApplyMetricRuleTemplateResult> ApplyMetricRuleTemplateOutcome;
typedef std::future<ApplyMetricRuleTemplateOutcome> ApplyMetricRuleTemplateOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::ApplyMetricRuleTemplateRequest&, const ApplyMetricRuleTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyMetricRuleTemplateAsyncHandler;
typedef Outcome<Error, Model::CreateCmsCallNumOrderResult> CreateCmsCallNumOrderOutcome;
typedef std::future<CreateCmsCallNumOrderOutcome> CreateCmsCallNumOrderOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::CreateCmsCallNumOrderRequest&, const CreateCmsCallNumOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCmsCallNumOrderAsyncHandler;
typedef Outcome<Error, Model::CreateCmsOrderResult> CreateCmsOrderOutcome;
typedef std::future<CreateCmsOrderOutcome> CreateCmsOrderOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::CreateCmsOrderRequest&, const CreateCmsOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCmsOrderAsyncHandler;
typedef Outcome<Error, Model::CreateCmsSmspackageOrderResult> CreateCmsSmspackageOrderOutcome;
typedef std::future<CreateCmsSmspackageOrderOutcome> CreateCmsSmspackageOrderOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::CreateCmsSmspackageOrderRequest&, const CreateCmsSmspackageOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCmsSmspackageOrderAsyncHandler;
typedef Outcome<Error, Model::CreateDynamicTagGroupResult> CreateDynamicTagGroupOutcome;
typedef std::future<CreateDynamicTagGroupOutcome> CreateDynamicTagGroupOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::CreateDynamicTagGroupRequest&, const CreateDynamicTagGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDynamicTagGroupAsyncHandler;
@@ -311,6 +350,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateMonitorGroupResult> CreateMonitorGroupOutcome;
typedef std::future<CreateMonitorGroupOutcome> CreateMonitorGroupOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::CreateMonitorGroupRequest&, const CreateMonitorGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMonitorGroupAsyncHandler;
typedef Outcome<Error, Model::CreateMonitorGroupByResourceGroupIdResult> CreateMonitorGroupByResourceGroupIdOutcome;
typedef std::future<CreateMonitorGroupByResourceGroupIdOutcome> CreateMonitorGroupByResourceGroupIdOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::CreateMonitorGroupByResourceGroupIdRequest&, const CreateMonitorGroupByResourceGroupIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMonitorGroupByResourceGroupIdAsyncHandler;
typedef Outcome<Error, Model::CreateMonitorGroupInstancesResult> CreateMonitorGroupInstancesOutcome;
typedef std::future<CreateMonitorGroupInstancesOutcome> CreateMonitorGroupInstancesOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::CreateMonitorGroupInstancesRequest&, const CreateMonitorGroupInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMonitorGroupInstancesAsyncHandler;
@@ -353,6 +395,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteHostAvailabilityResult> DeleteHostAvailabilityOutcome;
typedef std::future<DeleteHostAvailabilityOutcome> DeleteHostAvailabilityOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DeleteHostAvailabilityRequest&, const DeleteHostAvailabilityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteHostAvailabilityAsyncHandler;
typedef Outcome<Error, Model::DeleteLogMonitorResult> DeleteLogMonitorOutcome;
typedef std::future<DeleteLogMonitorOutcome> DeleteLogMonitorOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DeleteLogMonitorRequest&, const DeleteLogMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLogMonitorAsyncHandler;
typedef Outcome<Error, Model::DeleteMetricRuleResourcesResult> DeleteMetricRuleResourcesOutcome;
typedef std::future<DeleteMetricRuleResourcesOutcome> DeleteMetricRuleResourcesOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DeleteMetricRuleResourcesRequest&, const DeleteMetricRuleResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMetricRuleResourcesAsyncHandler;
@@ -389,6 +434,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeAlertHistoryListResult> DescribeAlertHistoryListOutcome;
typedef std::future<DescribeAlertHistoryListOutcome> DescribeAlertHistoryListOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeAlertHistoryListRequest&, const DescribeAlertHistoryListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAlertHistoryListAsyncHandler;
typedef Outcome<Error, Model::DescribeAlertLogCountResult> DescribeAlertLogCountOutcome;
typedef std::future<DescribeAlertLogCountOutcome> DescribeAlertLogCountOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeAlertLogCountRequest&, const DescribeAlertLogCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAlertLogCountAsyncHandler;
typedef Outcome<Error, Model::DescribeAlertLogHistogramResult> DescribeAlertLogHistogramOutcome;
typedef std::future<DescribeAlertLogHistogramOutcome> DescribeAlertLogHistogramOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeAlertLogHistogramRequest&, const DescribeAlertLogHistogramOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAlertLogHistogramAsyncHandler;
typedef Outcome<Error, Model::DescribeAlertLogListResult> DescribeAlertLogListOutcome;
typedef std::future<DescribeAlertLogListOutcome> DescribeAlertLogListOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeAlertLogListRequest&, const DescribeAlertLogListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAlertLogListAsyncHandler;
typedef Outcome<Error, Model::DescribeAlertingMetricRuleResourcesResult> DescribeAlertingMetricRuleResourcesOutcome;
typedef std::future<DescribeAlertingMetricRuleResourcesOutcome> DescribeAlertingMetricRuleResourcesOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeAlertingMetricRuleResourcesRequest&, const DescribeAlertingMetricRuleResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAlertingMetricRuleResourcesAsyncHandler;
@@ -431,15 +485,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeExporterRuleListResult> DescribeExporterRuleListOutcome;
typedef std::future<DescribeExporterRuleListOutcome> DescribeExporterRuleListOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeExporterRuleListRequest&, const DescribeExporterRuleListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeExporterRuleListAsyncHandler;
typedef Outcome<Error, Model::DescribeFolderListResult> DescribeFolderListOutcome;
typedef std::future<DescribeFolderListOutcome> DescribeFolderListOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeFolderListRequest&, const DescribeFolderListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFolderListAsyncHandler;
typedef Outcome<Error, Model::DescribeGroupMonitoringAgentProcessResult> DescribeGroupMonitoringAgentProcessOutcome;
typedef std::future<DescribeGroupMonitoringAgentProcessOutcome> DescribeGroupMonitoringAgentProcessOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeGroupMonitoringAgentProcessRequest&, const DescribeGroupMonitoringAgentProcessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGroupMonitoringAgentProcessAsyncHandler;
typedef Outcome<Error, Model::DescribeHostAvailabilityListResult> DescribeHostAvailabilityListOutcome;
typedef std::future<DescribeHostAvailabilityListOutcome> DescribeHostAvailabilityListOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeHostAvailabilityListRequest&, const DescribeHostAvailabilityListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHostAvailabilityListAsyncHandler;
typedef Outcome<Error, Model::DescribeLogMonitorAttributeResult> DescribeLogMonitorAttributeOutcome;
typedef std::future<DescribeLogMonitorAttributeOutcome> DescribeLogMonitorAttributeOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeLogMonitorAttributeRequest&, const DescribeLogMonitorAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogMonitorAttributeAsyncHandler;
typedef Outcome<Error, Model::DescribeLogMonitorListResult> DescribeLogMonitorListOutcome;
typedef std::future<DescribeLogMonitorListOutcome> DescribeLogMonitorListOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeLogMonitorListRequest&, const DescribeLogMonitorListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogMonitorListAsyncHandler;
typedef Outcome<Error, Model::DescribeMetricDataResult> DescribeMetricDataOutcome;
typedef std::future<DescribeMetricDataOutcome> DescribeMetricDataOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeMetricDataRequest&, const DescribeMetricDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMetricDataAsyncHandler;
@@ -488,6 +545,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeMonitorGroupsResult> DescribeMonitorGroupsOutcome;
typedef std::future<DescribeMonitorGroupsOutcome> DescribeMonitorGroupsOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeMonitorGroupsRequest&, const DescribeMonitorGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMonitorGroupsAsyncHandler;
typedef Outcome<Error, Model::DescribeMonitorResourceQuotaAttributeResult> DescribeMonitorResourceQuotaAttributeOutcome;
typedef std::future<DescribeMonitorResourceQuotaAttributeOutcome> DescribeMonitorResourceQuotaAttributeOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeMonitorResourceQuotaAttributeRequest&, const DescribeMonitorResourceQuotaAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMonitorResourceQuotaAttributeAsyncHandler;
typedef Outcome<Error, Model::DescribeMonitoringAgentAccessKeyResult> DescribeMonitoringAgentAccessKeyOutcome;
typedef std::future<DescribeMonitoringAgentAccessKeyOutcome> DescribeMonitoringAgentAccessKeyOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::DescribeMonitoringAgentAccessKeyRequest&, const DescribeMonitoringAgentAccessKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMonitoringAgentAccessKeyAsyncHandler;
@@ -593,6 +653,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyHostAvailabilityResult> ModifyHostAvailabilityOutcome;
typedef std::future<ModifyHostAvailabilityOutcome> ModifyHostAvailabilityOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::ModifyHostAvailabilityRequest&, const ModifyHostAvailabilityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHostAvailabilityAsyncHandler;
typedef Outcome<Error, Model::ModifyHostInfoResult> ModifyHostInfoOutcome;
typedef std::future<ModifyHostInfoOutcome> ModifyHostInfoOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::ModifyHostInfoRequest&, const ModifyHostInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHostInfoAsyncHandler;
typedef Outcome<Error, Model::ModifyMetricRuleTemplateResult> ModifyMetricRuleTemplateOutcome;
typedef std::future<ModifyMetricRuleTemplateOutcome> ModifyMetricRuleTemplateOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::ModifyMetricRuleTemplateRequest&, const ModifyMetricRuleTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMetricRuleTemplateAsyncHandler;
@@ -605,6 +668,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifySiteMonitorResult> ModifySiteMonitorOutcome;
typedef std::future<ModifySiteMonitorOutcome> ModifySiteMonitorOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::ModifySiteMonitorRequest&, const ModifySiteMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySiteMonitorAsyncHandler;
typedef Outcome<Error, Model::OpenCmsServiceResult> OpenCmsServiceOutcome;
typedef std::future<OpenCmsServiceOutcome> OpenCmsServiceOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::OpenCmsServiceRequest&, const OpenCmsServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenCmsServiceAsyncHandler;
typedef Outcome<Error, Model::PutContactResult> PutContactOutcome;
typedef std::future<PutContactOutcome> PutContactOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::PutContactRequest&, const PutContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutContactAsyncHandler;
@@ -614,9 +680,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::PutCustomEventResult> PutCustomEventOutcome;
typedef std::future<PutCustomEventOutcome> PutCustomEventOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::PutCustomEventRequest&, const PutCustomEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutCustomEventAsyncHandler;
typedef Outcome<Error, Model::PutCustomEventRuleResult> PutCustomEventRuleOutcome;
typedef std::future<PutCustomEventRuleOutcome> PutCustomEventRuleOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::PutCustomEventRuleRequest&, const PutCustomEventRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutCustomEventRuleAsyncHandler;
typedef Outcome<Error, Model::PutCustomMetricResult> PutCustomMetricOutcome;
typedef std::future<PutCustomMetricOutcome> PutCustomMetricOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::PutCustomMetricRequest&, const PutCustomMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutCustomMetricAsyncHandler;
typedef Outcome<Error, Model::PutCustomMetricRuleResult> PutCustomMetricRuleOutcome;
typedef std::future<PutCustomMetricRuleOutcome> PutCustomMetricRuleOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::PutCustomMetricRuleRequest&, const PutCustomMetricRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutCustomMetricRuleAsyncHandler;
typedef Outcome<Error, Model::PutEventRuleResult> PutEventRuleOutcome;
typedef std::future<PutEventRuleOutcome> PutEventRuleOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::PutEventRuleRequest&, const PutEventRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutEventRuleAsyncHandler;
@@ -632,6 +704,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::PutGroupMetricRuleResult> PutGroupMetricRuleOutcome;
typedef std::future<PutGroupMetricRuleOutcome> PutGroupMetricRuleOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::PutGroupMetricRuleRequest&, const PutGroupMetricRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutGroupMetricRuleAsyncHandler;
typedef Outcome<Error, Model::PutLogMonitorResult> PutLogMonitorOutcome;
typedef std::future<PutLogMonitorOutcome> PutLogMonitorOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::PutLogMonitorRequest&, const PutLogMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutLogMonitorAsyncHandler;
typedef Outcome<Error, Model::PutMetricRuleTargetsResult> PutMetricRuleTargetsOutcome;
typedef std::future<PutMetricRuleTargetsOutcome> PutMetricRuleTargetsOutcomeCallable;
typedef std::function<void(const CmsClient*, const Model::PutMetricRuleTargetsRequest&, const PutMetricRuleTargetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutMetricRuleTargetsAsyncHandler;
@@ -667,6 +742,15 @@ namespace AlibabaCloud
ApplyMetricRuleTemplateOutcome applyMetricRuleTemplate(const Model::ApplyMetricRuleTemplateRequest &request)const;
void applyMetricRuleTemplateAsync(const Model::ApplyMetricRuleTemplateRequest& request, const ApplyMetricRuleTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ApplyMetricRuleTemplateOutcomeCallable applyMetricRuleTemplateCallable(const Model::ApplyMetricRuleTemplateRequest& request) const;
CreateCmsCallNumOrderOutcome createCmsCallNumOrder(const Model::CreateCmsCallNumOrderRequest &request)const;
void createCmsCallNumOrderAsync(const Model::CreateCmsCallNumOrderRequest& request, const CreateCmsCallNumOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCmsCallNumOrderOutcomeCallable createCmsCallNumOrderCallable(const Model::CreateCmsCallNumOrderRequest& request) const;
CreateCmsOrderOutcome createCmsOrder(const Model::CreateCmsOrderRequest &request)const;
void createCmsOrderAsync(const Model::CreateCmsOrderRequest& request, const CreateCmsOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCmsOrderOutcomeCallable createCmsOrderCallable(const Model::CreateCmsOrderRequest& request) const;
CreateCmsSmspackageOrderOutcome createCmsSmspackageOrder(const Model::CreateCmsSmspackageOrderRequest &request)const;
void createCmsSmspackageOrderAsync(const Model::CreateCmsSmspackageOrderRequest& request, const CreateCmsSmspackageOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCmsSmspackageOrderOutcomeCallable createCmsSmspackageOrderCallable(const Model::CreateCmsSmspackageOrderRequest& request) const;
CreateDynamicTagGroupOutcome createDynamicTagGroup(const Model::CreateDynamicTagGroupRequest &request)const;
void createDynamicTagGroupAsync(const Model::CreateDynamicTagGroupRequest& request, const CreateDynamicTagGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDynamicTagGroupOutcomeCallable createDynamicTagGroupCallable(const Model::CreateDynamicTagGroupRequest& request) const;
@@ -691,6 +775,9 @@ namespace AlibabaCloud
CreateMonitorGroupOutcome createMonitorGroup(const Model::CreateMonitorGroupRequest &request)const;
void createMonitorGroupAsync(const Model::CreateMonitorGroupRequest& request, const CreateMonitorGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMonitorGroupOutcomeCallable createMonitorGroupCallable(const Model::CreateMonitorGroupRequest& request) const;
CreateMonitorGroupByResourceGroupIdOutcome createMonitorGroupByResourceGroupId(const Model::CreateMonitorGroupByResourceGroupIdRequest &request)const;
void createMonitorGroupByResourceGroupIdAsync(const Model::CreateMonitorGroupByResourceGroupIdRequest& request, const CreateMonitorGroupByResourceGroupIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMonitorGroupByResourceGroupIdOutcomeCallable createMonitorGroupByResourceGroupIdCallable(const Model::CreateMonitorGroupByResourceGroupIdRequest& request) const;
CreateMonitorGroupInstancesOutcome createMonitorGroupInstances(const Model::CreateMonitorGroupInstancesRequest &request)const;
void createMonitorGroupInstancesAsync(const Model::CreateMonitorGroupInstancesRequest& request, const CreateMonitorGroupInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMonitorGroupInstancesOutcomeCallable createMonitorGroupInstancesCallable(const Model::CreateMonitorGroupInstancesRequest& request) const;
@@ -733,6 +820,9 @@ namespace AlibabaCloud
DeleteHostAvailabilityOutcome deleteHostAvailability(const Model::DeleteHostAvailabilityRequest &request)const;
void deleteHostAvailabilityAsync(const Model::DeleteHostAvailabilityRequest& request, const DeleteHostAvailabilityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteHostAvailabilityOutcomeCallable deleteHostAvailabilityCallable(const Model::DeleteHostAvailabilityRequest& request) const;
DeleteLogMonitorOutcome deleteLogMonitor(const Model::DeleteLogMonitorRequest &request)const;
void deleteLogMonitorAsync(const Model::DeleteLogMonitorRequest& request, const DeleteLogMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteLogMonitorOutcomeCallable deleteLogMonitorCallable(const Model::DeleteLogMonitorRequest& request) const;
DeleteMetricRuleResourcesOutcome deleteMetricRuleResources(const Model::DeleteMetricRuleResourcesRequest &request)const;
void deleteMetricRuleResourcesAsync(const Model::DeleteMetricRuleResourcesRequest& request, const DeleteMetricRuleResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteMetricRuleResourcesOutcomeCallable deleteMetricRuleResourcesCallable(const Model::DeleteMetricRuleResourcesRequest& request) const;
@@ -769,6 +859,15 @@ namespace AlibabaCloud
DescribeAlertHistoryListOutcome describeAlertHistoryList(const Model::DescribeAlertHistoryListRequest &request)const;
void describeAlertHistoryListAsync(const Model::DescribeAlertHistoryListRequest& request, const DescribeAlertHistoryListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAlertHistoryListOutcomeCallable describeAlertHistoryListCallable(const Model::DescribeAlertHistoryListRequest& request) const;
DescribeAlertLogCountOutcome describeAlertLogCount(const Model::DescribeAlertLogCountRequest &request)const;
void describeAlertLogCountAsync(const Model::DescribeAlertLogCountRequest& request, const DescribeAlertLogCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAlertLogCountOutcomeCallable describeAlertLogCountCallable(const Model::DescribeAlertLogCountRequest& request) const;
DescribeAlertLogHistogramOutcome describeAlertLogHistogram(const Model::DescribeAlertLogHistogramRequest &request)const;
void describeAlertLogHistogramAsync(const Model::DescribeAlertLogHistogramRequest& request, const DescribeAlertLogHistogramAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAlertLogHistogramOutcomeCallable describeAlertLogHistogramCallable(const Model::DescribeAlertLogHistogramRequest& request) const;
DescribeAlertLogListOutcome describeAlertLogList(const Model::DescribeAlertLogListRequest &request)const;
void describeAlertLogListAsync(const Model::DescribeAlertLogListRequest& request, const DescribeAlertLogListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAlertLogListOutcomeCallable describeAlertLogListCallable(const Model::DescribeAlertLogListRequest& request) const;
DescribeAlertingMetricRuleResourcesOutcome describeAlertingMetricRuleResources(const Model::DescribeAlertingMetricRuleResourcesRequest &request)const;
void describeAlertingMetricRuleResourcesAsync(const Model::DescribeAlertingMetricRuleResourcesRequest& request, const DescribeAlertingMetricRuleResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAlertingMetricRuleResourcesOutcomeCallable describeAlertingMetricRuleResourcesCallable(const Model::DescribeAlertingMetricRuleResourcesRequest& request) const;
@@ -811,15 +910,18 @@ namespace AlibabaCloud
DescribeExporterRuleListOutcome describeExporterRuleList(const Model::DescribeExporterRuleListRequest &request)const;
void describeExporterRuleListAsync(const Model::DescribeExporterRuleListRequest& request, const DescribeExporterRuleListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeExporterRuleListOutcomeCallable describeExporterRuleListCallable(const Model::DescribeExporterRuleListRequest& request) const;
DescribeFolderListOutcome describeFolderList(const Model::DescribeFolderListRequest &request)const;
void describeFolderListAsync(const Model::DescribeFolderListRequest& request, const DescribeFolderListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFolderListOutcomeCallable describeFolderListCallable(const Model::DescribeFolderListRequest& request) const;
DescribeGroupMonitoringAgentProcessOutcome describeGroupMonitoringAgentProcess(const Model::DescribeGroupMonitoringAgentProcessRequest &request)const;
void describeGroupMonitoringAgentProcessAsync(const Model::DescribeGroupMonitoringAgentProcessRequest& request, const DescribeGroupMonitoringAgentProcessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGroupMonitoringAgentProcessOutcomeCallable describeGroupMonitoringAgentProcessCallable(const Model::DescribeGroupMonitoringAgentProcessRequest& request) const;
DescribeHostAvailabilityListOutcome describeHostAvailabilityList(const Model::DescribeHostAvailabilityListRequest &request)const;
void describeHostAvailabilityListAsync(const Model::DescribeHostAvailabilityListRequest& request, const DescribeHostAvailabilityListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeHostAvailabilityListOutcomeCallable describeHostAvailabilityListCallable(const Model::DescribeHostAvailabilityListRequest& request) const;
DescribeLogMonitorAttributeOutcome describeLogMonitorAttribute(const Model::DescribeLogMonitorAttributeRequest &request)const;
void describeLogMonitorAttributeAsync(const Model::DescribeLogMonitorAttributeRequest& request, const DescribeLogMonitorAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLogMonitorAttributeOutcomeCallable describeLogMonitorAttributeCallable(const Model::DescribeLogMonitorAttributeRequest& request) const;
DescribeLogMonitorListOutcome describeLogMonitorList(const Model::DescribeLogMonitorListRequest &request)const;
void describeLogMonitorListAsync(const Model::DescribeLogMonitorListRequest& request, const DescribeLogMonitorListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLogMonitorListOutcomeCallable describeLogMonitorListCallable(const Model::DescribeLogMonitorListRequest& request) const;
DescribeMetricDataOutcome describeMetricData(const Model::DescribeMetricDataRequest &request)const;
void describeMetricDataAsync(const Model::DescribeMetricDataRequest& request, const DescribeMetricDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMetricDataOutcomeCallable describeMetricDataCallable(const Model::DescribeMetricDataRequest& request) const;
@@ -868,6 +970,9 @@ namespace AlibabaCloud
DescribeMonitorGroupsOutcome describeMonitorGroups(const Model::DescribeMonitorGroupsRequest &request)const;
void describeMonitorGroupsAsync(const Model::DescribeMonitorGroupsRequest& request, const DescribeMonitorGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMonitorGroupsOutcomeCallable describeMonitorGroupsCallable(const Model::DescribeMonitorGroupsRequest& request) const;
DescribeMonitorResourceQuotaAttributeOutcome describeMonitorResourceQuotaAttribute(const Model::DescribeMonitorResourceQuotaAttributeRequest &request)const;
void describeMonitorResourceQuotaAttributeAsync(const Model::DescribeMonitorResourceQuotaAttributeRequest& request, const DescribeMonitorResourceQuotaAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMonitorResourceQuotaAttributeOutcomeCallable describeMonitorResourceQuotaAttributeCallable(const Model::DescribeMonitorResourceQuotaAttributeRequest& request) const;
DescribeMonitoringAgentAccessKeyOutcome describeMonitoringAgentAccessKey(const Model::DescribeMonitoringAgentAccessKeyRequest &request)const;
void describeMonitoringAgentAccessKeyAsync(const Model::DescribeMonitoringAgentAccessKeyRequest& request, const DescribeMonitoringAgentAccessKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMonitoringAgentAccessKeyOutcomeCallable describeMonitoringAgentAccessKeyCallable(const Model::DescribeMonitoringAgentAccessKeyRequest& request) const;
@@ -973,6 +1078,9 @@ namespace AlibabaCloud
ModifyHostAvailabilityOutcome modifyHostAvailability(const Model::ModifyHostAvailabilityRequest &request)const;
void modifyHostAvailabilityAsync(const Model::ModifyHostAvailabilityRequest& request, const ModifyHostAvailabilityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyHostAvailabilityOutcomeCallable modifyHostAvailabilityCallable(const Model::ModifyHostAvailabilityRequest& request) const;
ModifyHostInfoOutcome modifyHostInfo(const Model::ModifyHostInfoRequest &request)const;
void modifyHostInfoAsync(const Model::ModifyHostInfoRequest& request, const ModifyHostInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyHostInfoOutcomeCallable modifyHostInfoCallable(const Model::ModifyHostInfoRequest& request) const;
ModifyMetricRuleTemplateOutcome modifyMetricRuleTemplate(const Model::ModifyMetricRuleTemplateRequest &request)const;
void modifyMetricRuleTemplateAsync(const Model::ModifyMetricRuleTemplateRequest& request, const ModifyMetricRuleTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyMetricRuleTemplateOutcomeCallable modifyMetricRuleTemplateCallable(const Model::ModifyMetricRuleTemplateRequest& request) const;
@@ -985,6 +1093,9 @@ namespace AlibabaCloud
ModifySiteMonitorOutcome modifySiteMonitor(const Model::ModifySiteMonitorRequest &request)const;
void modifySiteMonitorAsync(const Model::ModifySiteMonitorRequest& request, const ModifySiteMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySiteMonitorOutcomeCallable modifySiteMonitorCallable(const Model::ModifySiteMonitorRequest& request) const;
OpenCmsServiceOutcome openCmsService(const Model::OpenCmsServiceRequest &request)const;
void openCmsServiceAsync(const Model::OpenCmsServiceRequest& request, const OpenCmsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OpenCmsServiceOutcomeCallable openCmsServiceCallable(const Model::OpenCmsServiceRequest& request) const;
PutContactOutcome putContact(const Model::PutContactRequest &request)const;
void putContactAsync(const Model::PutContactRequest& request, const PutContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutContactOutcomeCallable putContactCallable(const Model::PutContactRequest& request) const;
@@ -994,9 +1105,15 @@ namespace AlibabaCloud
PutCustomEventOutcome putCustomEvent(const Model::PutCustomEventRequest &request)const;
void putCustomEventAsync(const Model::PutCustomEventRequest& request, const PutCustomEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutCustomEventOutcomeCallable putCustomEventCallable(const Model::PutCustomEventRequest& request) const;
PutCustomEventRuleOutcome putCustomEventRule(const Model::PutCustomEventRuleRequest &request)const;
void putCustomEventRuleAsync(const Model::PutCustomEventRuleRequest& request, const PutCustomEventRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutCustomEventRuleOutcomeCallable putCustomEventRuleCallable(const Model::PutCustomEventRuleRequest& request) const;
PutCustomMetricOutcome putCustomMetric(const Model::PutCustomMetricRequest &request)const;
void putCustomMetricAsync(const Model::PutCustomMetricRequest& request, const PutCustomMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutCustomMetricOutcomeCallable putCustomMetricCallable(const Model::PutCustomMetricRequest& request) const;
PutCustomMetricRuleOutcome putCustomMetricRule(const Model::PutCustomMetricRuleRequest &request)const;
void putCustomMetricRuleAsync(const Model::PutCustomMetricRuleRequest& request, const PutCustomMetricRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutCustomMetricRuleOutcomeCallable putCustomMetricRuleCallable(const Model::PutCustomMetricRuleRequest& request) const;
PutEventRuleOutcome putEventRule(const Model::PutEventRuleRequest &request)const;
void putEventRuleAsync(const Model::PutEventRuleRequest& request, const PutEventRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutEventRuleOutcomeCallable putEventRuleCallable(const Model::PutEventRuleRequest& request) const;
@@ -1012,6 +1129,9 @@ namespace AlibabaCloud
PutGroupMetricRuleOutcome putGroupMetricRule(const Model::PutGroupMetricRuleRequest &request)const;
void putGroupMetricRuleAsync(const Model::PutGroupMetricRuleRequest& request, const PutGroupMetricRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutGroupMetricRuleOutcomeCallable putGroupMetricRuleCallable(const Model::PutGroupMetricRuleRequest& request) const;
PutLogMonitorOutcome putLogMonitor(const Model::PutLogMonitorRequest &request)const;
void putLogMonitorAsync(const Model::PutLogMonitorRequest& request, const PutLogMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutLogMonitorOutcomeCallable putLogMonitorCallable(const Model::PutLogMonitorRequest& request) const;
PutMetricRuleTargetsOutcome putMetricRuleTargets(const Model::PutMetricRuleTargetsRequest &request)const;
void putMetricRuleTargetsAsync(const Model::PutMetricRuleTargetsRequest& request, const PutMetricRuleTargetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutMetricRuleTargetsOutcomeCallable putMetricRuleTargetsCallable(const Model::PutMetricRuleTargetsRequest& request) const;

View File

@@ -41,7 +41,6 @@ namespace AlibabaCloud
std::string code;
std::string ruleName;
bool success;
long groupId;
};
std::vector<Result> alertResults;
long groupId;

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATECMSCALLNUMORDERREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATECMSCALLNUMORDERREQUEST_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 CreateCmsCallNumOrderRequest : public RpcServiceRequest
{
public:
CreateCmsCallNumOrderRequest();
~CreateCmsCallNumOrderRequest();
int getAutoRenewPeriod()const;
void setAutoRenewPeriod(int autoRenewPeriod);
int getPeriod()const;
void setPeriod(int period);
bool getAutoPay()const;
void setAutoPay(bool autoPay);
bool getAutoUseCoupon()const;
void setAutoUseCoupon(bool autoUseCoupon);
std::string getPeriodUnit()const;
void setPeriodUnit(const std::string& periodUnit);
std::string getPhoneCount()const;
void setPhoneCount(const std::string& phoneCount);
private:
int autoRenewPeriod_;
int period_;
bool autoPay_;
bool autoUseCoupon_;
std::string periodUnit_;
std::string phoneCount_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATECMSCALLNUMORDERREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATECMSCALLNUMORDERRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATECMSCALLNUMORDERRESULT_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 CreateCmsCallNumOrderResult : public ServiceResult
{
public:
CreateCmsCallNumOrderResult();
explicit CreateCmsCallNumOrderResult(const std::string &payload);
~CreateCmsCallNumOrderResult();
std::string getOrderId()const;
protected:
void parse(const std::string &payload);
private:
std::string orderId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATECMSCALLNUMORDERRESULT_H_

View File

@@ -0,0 +1,96 @@
/*
* 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_CREATECMSORDERREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATECMSORDERREQUEST_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 CreateCmsOrderRequest : public RpcServiceRequest
{
public:
CreateCmsOrderRequest();
~CreateCmsOrderRequest();
std::string getSmsCount()const;
void setSmsCount(const std::string& smsCount);
bool getAutoUseCoupon()const;
void setAutoUseCoupon(bool autoUseCoupon);
std::string getLogMonitorStream()const;
void setLogMonitorStream(const std::string& logMonitorStream);
std::string getCustomTimeSeries()const;
void setCustomTimeSeries(const std::string& customTimeSeries);
std::string getApiCount()const;
void setApiCount(const std::string& apiCount);
std::string getPhoneCount()const;
void setPhoneCount(const std::string& phoneCount);
int getAutoRenewPeriod()const;
void setAutoRenewPeriod(int autoRenewPeriod);
int getPeriod()const;
void setPeriod(int period);
bool getAutoPay()const;
void setAutoPay(bool autoPay);
std::string getSuggestType()const;
void setSuggestType(const std::string& suggestType);
std::string getEventStoreNum()const;
void setEventStoreNum(const std::string& eventStoreNum);
std::string getSiteTaskNum()const;
void setSiteTaskNum(const std::string& siteTaskNum);
std::string getPeriodUnit()const;
void setPeriodUnit(const std::string& periodUnit);
std::string getSiteOperatorNum()const;
void setSiteOperatorNum(const std::string& siteOperatorNum);
std::string getSiteEcsNum()const;
void setSiteEcsNum(const std::string& siteEcsNum);
std::string getEventStoreTime()const;
void setEventStoreTime(const std::string& eventStoreTime);
std::string getPayType()const;
void setPayType(const std::string& payType);
private:
std::string smsCount_;
bool autoUseCoupon_;
std::string logMonitorStream_;
std::string customTimeSeries_;
std::string apiCount_;
std::string phoneCount_;
int autoRenewPeriod_;
int period_;
bool autoPay_;
std::string suggestType_;
std::string eventStoreNum_;
std::string siteTaskNum_;
std::string periodUnit_;
std::string siteOperatorNum_;
std::string siteEcsNum_;
std::string eventStoreTime_;
std::string payType_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATECMSORDERREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATECMSORDERRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATECMSORDERRESULT_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 CreateCmsOrderResult : public ServiceResult
{
public:
CreateCmsOrderResult();
explicit CreateCmsOrderResult(const std::string &payload);
~CreateCmsOrderResult();
std::string getOrderId()const;
protected:
void parse(const std::string &payload);
private:
std::string orderId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATECMSORDERRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATECMSSMSPACKAGEORDERREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATECMSSMSPACKAGEORDERREQUEST_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 CreateCmsSmspackageOrderRequest : public RpcServiceRequest
{
public:
CreateCmsSmspackageOrderRequest();
~CreateCmsSmspackageOrderRequest();
int getAutoRenewPeriod()const;
void setAutoRenewPeriod(int autoRenewPeriod);
int getPeriod()const;
void setPeriod(int period);
bool getAutoPay()const;
void setAutoPay(bool autoPay);
std::string getSmsCount()const;
void setSmsCount(const std::string& smsCount);
bool getAutoUseCoupon()const;
void setAutoUseCoupon(bool autoUseCoupon);
std::string getPeriodUnit()const;
void setPeriodUnit(const std::string& periodUnit);
private:
int autoRenewPeriod_;
int period_;
bool autoPay_;
std::string smsCount_;
bool autoUseCoupon_;
std::string periodUnit_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATECMSSMSPACKAGEORDERREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATECMSSMSPACKAGEORDERRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATECMSSMSPACKAGEORDERRESULT_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 CreateCmsSmspackageOrderResult : public ServiceResult
{
public:
CreateCmsSmspackageOrderResult();
explicit CreateCmsSmspackageOrderResult(const std::string &payload);
~CreateCmsSmspackageOrderResult();
std::string getOrderId()const;
protected:
void parse(const std::string &payload);
private:
std::string orderId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATECMSSMSPACKAGEORDERRESULT_H_

View File

@@ -47,8 +47,6 @@ namespace AlibabaCloud
void setMatchExpressFilterRelation(const std::string& matchExpressFilterRelation);
bool getEnableInstallAgent()const;
void setEnableInstallAgent(bool enableInstallAgent);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<MatchExpress> getMatchExpress()const;
void setMatchExpress(const std::vector<MatchExpress>& matchExpress);
std::vector<std::string> getContactGroupList()const;
@@ -62,7 +60,6 @@ namespace AlibabaCloud
bool enableSubscribeEvent_;
std::string matchExpressFilterRelation_;
bool enableInstallAgent_;
std::string regionId_;
std::vector<MatchExpress> matchExpress_;
std::vector<std::string> contactGroupList_;
std::vector<std::string> templateIdList_;

View File

@@ -46,6 +46,8 @@ namespace AlibabaCloud
std::string getTaskOptionHttpMethod()const;
void setTaskOptionHttpMethod(const std::string& taskOptionHttpMethod);
std::string getTaskOptionHttpHeader()const;
void setTaskOptionHttpHeader(const std::string& taskOptionHttpHeader);
std::vector<AlertConfigEscalationList> getAlertConfigEscalationList()const;
void setAlertConfigEscalationList(const std::vector<AlertConfigEscalationList>& alertConfigEscalationList);
std::string getTaskName()const;
@@ -74,6 +76,8 @@ namespace AlibabaCloud
void setTaskOptionHttpURI(const std::string& taskOptionHttpURI);
std::string getTaskScope()const;
void setTaskScope(const std::string& taskScope);
std::string getTaskOptionHttpPostContent()const;
void setTaskOptionHttpPostContent(const std::string& taskOptionHttpPostContent);
int getAlertConfigStartTime()const;
void setAlertConfigStartTime(int alertConfigStartTime);
std::string getAlertConfigWebHook()const;
@@ -81,6 +85,7 @@ namespace AlibabaCloud
private:
std::string taskOptionHttpMethod_;
std::string taskOptionHttpHeader_;
std::vector<AlertConfigEscalationList> alertConfigEscalationList_;
std::string taskName_;
int alertConfigSilenceTime_;
@@ -95,6 +100,7 @@ namespace AlibabaCloud
int alertConfigEndTime_;
std::string taskOptionHttpURI_;
std::string taskScope_;
std::string taskOptionHttpPostContent_;
int alertConfigStartTime_;
std::string alertConfigWebHook_;

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPBYRESOURCEGROUPIDREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPBYRESOURCEGROUPIDREQUEST_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 CreateMonitorGroupByResourceGroupIdRequest : public RpcServiceRequest
{
public:
CreateMonitorGroupByResourceGroupIdRequest();
~CreateMonitorGroupByResourceGroupIdRequest();
std::string getResourceGroupName()const;
void setResourceGroupName(const std::string& resourceGroupName);
bool getEnableSubscribeEvent()const;
void setEnableSubscribeEvent(bool enableSubscribeEvent);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
bool getEnableInstallAgent()const;
void setEnableInstallAgent(bool enableInstallAgent);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<std::string> getContactGroupList()const;
void setContactGroupList(const std::vector<std::string>& contactGroupList);
private:
std::string resourceGroupName_;
bool enableSubscribeEvent_;
std::string resourceGroupId_;
bool enableInstallAgent_;
std::string regionId_;
std::vector<std::string> contactGroupList_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPBYRESOURCEGROUPIDREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPBYRESOURCEGROUPIDRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_CREATEMONITORGROUPBYRESOURCEGROUPIDRESULT_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 CreateMonitorGroupByResourceGroupIdResult : public ServiceResult
{
public:
CreateMonitorGroupByResourceGroupIdResult();
explicit CreateMonitorGroupByResourceGroupIdResult(const std::string &payload);
~CreateMonitorGroupByResourceGroupIdResult();
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_CREATEMONITORGROUPBYRESOURCEGROUPIDRESULT_H_

View File

@@ -45,12 +45,12 @@ namespace AlibabaCloud
std::vector<Instances> getInstances()const;
void setInstances(const std::vector<Instances>& instances);
long getGroupId()const;
void setGroupId(long groupId);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
private:
std::vector<Instances> instances_;
long groupId_;
std::string groupId_;
};
}

View File

@@ -44,6 +44,11 @@ namespace AlibabaCloud
};
std::vector<Contact> attachAlertResult;
};
struct CreateResultListItem
{
std::string taskId;
std::string taskName;
};
CreateSiteMonitorResult();
@@ -51,18 +56,18 @@ namespace AlibabaCloud
~CreateSiteMonitorResult();
std::string getMessage()const;
Data getData()const;
std::vector<CreateResultListItem> getCreateResultList()const;
std::string getCode()const;
std::string getSuccess()const;
std::string getAlertRule()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::vector<CreateResultListItem> createResultList_;
std::string code_;
std::string success_;
std::string alertRule_;
};
}

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEFOLDERLISTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEFOLDERLISTREQUEST_H_
#ifndef ALIBABACLOUD_CMS_MODEL_DELETELOGMONITORREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DELETELOGMONITORREQUEST_H_
#include <string>
#include <vector>
@@ -28,21 +28,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeFolderListRequest : public RpcServiceRequest
class ALIBABACLOUD_CMS_EXPORT DeleteLogMonitorRequest : public RpcServiceRequest
{
public:
DescribeFolderListRequest();
~DescribeFolderListRequest();
DeleteLogMonitorRequest();
~DeleteLogMonitorRequest();
std::string getAppName()const;
void setAppName(const std::string& appName);
long getLogId()const;
void setLogId(long logId);
private:
std::string appName_;
long logId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEFOLDERLISTREQUEST_H_
#endif // !ALIBABACLOUD_CMS_MODEL_DELETELOGMONITORREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DELETELOGMONITORRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DELETELOGMONITORRESULT_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 DeleteLogMonitorResult : public ServiceResult
{
public:
DeleteLogMonitorResult();
explicit DeleteLogMonitorResult(const std::string &payload);
~DeleteLogMonitorResult();
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_DELETELOGMONITORRESULT_H_

View File

@@ -51,12 +51,59 @@ namespace AlibabaCloud
std::string ruleName;
std::string threshold;
};
struct Alert
{
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 noEffectiveInterval;
std::string silenceTime;
std::string contactGroups;
std::string mailSubject;
std::string ruleId;
std::string period;
std::string dimensions;
std::string _namespace;
std::string effectiveInterval;
std::string alertState;
std::string metricName;
Escalations escalations;
bool enableState;
std::string webhook;
std::string resources;
std::string ruleName;
};
DescribeActiveMetricRuleListResult();
explicit DescribeActiveMetricRuleListResult(const std::string &payload);
~DescribeActiveMetricRuleListResult();
std::string getMessage()const;
std::vector<Alert> getAlertList()const;
std::vector<Alarm> getDatapoints()const;
std::string getCode()const;
bool getSuccess()const;
@@ -65,6 +112,7 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
std::string message_;
std::vector<Alert> alertList_;
std::vector<Alarm> datapoints_;
std::string code_;
bool success_;

View File

@@ -0,0 +1,90 @@
/*
* 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_DESCRIBEALERTLOGCOUNTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGCOUNTREQUEST_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 DescribeAlertLogCountRequest : public RpcServiceRequest
{
public:
DescribeAlertLogCountRequest();
~DescribeAlertLogCountRequest();
std::string getSendStatus()const;
void setSendStatus(const std::string& sendStatus);
std::string getContactGroup()const;
void setContactGroup(const std::string& contactGroup);
std::string getSearchKey()const;
void setSearchKey(const std::string& searchKey);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
long getStartTime()const;
void setStartTime(long startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getLastMin()const;
void setLastMin(const std::string& lastMin);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getLevel()const;
void setLevel(const std::string& level);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
long getEndTime()const;
void setEndTime(long endTime);
std::string getGroupBy()const;
void setGroupBy(const std::string& groupBy);
std::string get_Namespace()const;
void set_Namespace(const std::string& _namespace);
private:
std::string sendStatus_;
std::string contactGroup_;
std::string searchKey_;
std::string ruleName_;
long startTime_;
int pageNumber_;
std::string lastMin_;
int pageSize_;
std::string metricName_;
std::string product_;
std::string level_;
std::string groupId_;
long endTime_;
std::string groupBy_;
std::string _namespace_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGCOUNTREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGCOUNTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGCOUNTRESULT_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 DescribeAlertLogCountResult : public ServiceResult
{
public:
struct AlertLogCountItem
{
struct LogsItem
{
std::string value;
std::string name;
};
std::vector<AlertLogCountItem::LogsItem> logs;
int count;
};
DescribeAlertLogCountResult();
explicit DescribeAlertLogCountResult(const std::string &payload);
~DescribeAlertLogCountResult();
std::string getMessage()const;
std::vector<AlertLogCountItem> getAlertLogCount()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<AlertLogCountItem> alertLogCount_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGCOUNTRESULT_H_

View File

@@ -0,0 +1,90 @@
/*
* 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_DESCRIBEALERTLOGHISTOGRAMREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGHISTOGRAMREQUEST_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 DescribeAlertLogHistogramRequest : public RpcServiceRequest
{
public:
DescribeAlertLogHistogramRequest();
~DescribeAlertLogHistogramRequest();
std::string getSendStatus()const;
void setSendStatus(const std::string& sendStatus);
std::string getContactGroup()const;
void setContactGroup(const std::string& contactGroup);
std::string getSearchKey()const;
void setSearchKey(const std::string& searchKey);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
long getStartTime()const;
void setStartTime(long startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getLastMin()const;
void setLastMin(const std::string& lastMin);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getLevel()const;
void setLevel(const std::string& level);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
long getEndTime()const;
void setEndTime(long endTime);
std::string getGroupBy()const;
void setGroupBy(const std::string& groupBy);
std::string get_Namespace()const;
void set_Namespace(const std::string& _namespace);
private:
std::string sendStatus_;
std::string contactGroup_;
std::string searchKey_;
std::string ruleName_;
long startTime_;
int pageNumber_;
std::string lastMin_;
int pageSize_;
std::string metricName_;
std::string product_;
std::string level_;
std::string groupId_;
long endTime_;
std::string groupBy_;
std::string _namespace_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGHISTOGRAMREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGHISTOGRAMRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGHISTOGRAMRESULT_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 DescribeAlertLogHistogramResult : public ServiceResult
{
public:
struct AlertLogHistogramListItem
{
int count;
long from;
long to;
};
DescribeAlertLogHistogramResult();
explicit DescribeAlertLogHistogramResult(const std::string &payload);
~DescribeAlertLogHistogramResult();
std::string getMessage()const;
std::vector<AlertLogHistogramListItem> getAlertLogHistogramList()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<AlertLogHistogramListItem> alertLogHistogramList_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGHISTOGRAMRESULT_H_

View File

@@ -0,0 +1,90 @@
/*
* 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_DESCRIBEALERTLOGLISTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGLISTREQUEST_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 DescribeAlertLogListRequest : public RpcServiceRequest
{
public:
DescribeAlertLogListRequest();
~DescribeAlertLogListRequest();
std::string getSendStatus()const;
void setSendStatus(const std::string& sendStatus);
std::string getContactGroup()const;
void setContactGroup(const std::string& contactGroup);
std::string getSearchKey()const;
void setSearchKey(const std::string& searchKey);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
long getStartTime()const;
void setStartTime(long startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getLastMin()const;
void setLastMin(const std::string& lastMin);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getLevel()const;
void setLevel(const std::string& level);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
long getEndTime()const;
void setEndTime(long endTime);
std::string getGroupBy()const;
void setGroupBy(const std::string& groupBy);
std::string get_Namespace()const;
void set_Namespace(const std::string& _namespace);
private:
std::string sendStatus_;
std::string contactGroup_;
std::string searchKey_;
std::string ruleName_;
long startTime_;
int pageNumber_;
std::string lastMin_;
int pageSize_;
std::string metricName_;
std::string product_;
std::string level_;
std::string groupId_;
long endTime_;
std::string groupBy_;
std::string _namespace_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGLISTREQUEST_H_

View File

@@ -0,0 +1,108 @@
/*
* 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_DESCRIBEALERTLOGLISTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGLISTRESULT_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 DescribeAlertLogListResult : public ServiceResult
{
public:
struct Alarm
{
struct Escalation
{
std::string expression;
int times;
std::string level;
};
struct ExtInfo
{
std::string value;
std::string name;
};
struct DimensionsItem
{
std::string value;
std::string key;
};
std::string groupName;
std::vector<std::string> contactALIIWWList;
std::string message;
Escalation escalation;
std::string ruleId;
std::string sendStatus;
std::string product;
std::string metricName;
std::vector<std::string> contactSMSList;
std::string ruleName;
std::vector<std::string> contactGroups;
std::vector<std::string> dingdingWebhookList;
std::string instanceId;
std::vector<Alarm::DimensionsItem> dimensions;
std::string levelChange;
std::vector<std::string> contactOnCallList;
std::string _namespace;
std::vector<std::string> contactDingList;
std::string eventName;
std::vector<Alarm::ExtInfo> extendedInfo;
std::string alertTime;
std::string groupId;
std::string instanceName;
std::vector<std::string> webhookList;
std::vector<std::string> contactMailList;
std::string level;
};
DescribeAlertLogListResult();
explicit DescribeAlertLogListResult(const std::string &payload);
~DescribeAlertLogListResult();
std::vector<Alarm> getAlertLogList()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
int getTotal()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Alarm> alertLogList_;
std::string message_;
int pageSize_;
int pageNumber_;
int total_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALERTLOGLISTRESULT_H_

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setGroupId(const std::string& groupId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string get_Namespace()const;
void set_Namespace(const std::string& _namespace);
int getPage()const;
void setPage(int page);
std::string getRuleId()const;
@@ -47,6 +49,7 @@ namespace AlibabaCloud
private:
std::string groupId_;
int pageSize_;
std::string _namespace_;
int page_;
std::string ruleId_;

View File

@@ -34,16 +34,33 @@ namespace AlibabaCloud
public:
struct Resource
{
std::string lastAlertTime;
struct Resource1
{
std::string comparisonOperator;
std::string expression;
int times;
std::string preCondition;
int level;
std::string tag;
std::string threshold;
};
std::vector<Resource::Resource1> escalation;
std::string ruleId;
std::string resource;
std::string startTime;
std::string enable;
std::string dimensions;
std::string _namespace;
std::string metricValues;
std::string lastModifyTime;
std::string statistics;
std::string groupId;
std::string metricName;
std::string lastAlertTime;
std::string productCategory;
std::string enable;
int level;
std::string ruleName;
std::string retryTimes;
std::string groupId;
std::string threshold;
};

View File

@@ -32,11 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_CMS_EXPORT DescribeContactGroupListResult : public ServiceResult
{
public:
struct ContactGroup
{
std::string describe;
std::vector<std::string> contacts;
long createTime;
long updateTime;
bool enabledWeeklyReport;
bool enableSubscribed;
std::string name;
};
DescribeContactGroupListResult();
explicit DescribeContactGroupListResult(const std::string &payload);
~DescribeContactGroupListResult();
std::vector<ContactGroup> getContactGroupList()const;
std::vector<std::string> getContactGroups()const;
std::string getMessage()const;
int getTotal()const;
@@ -46,6 +57,7 @@ namespace AlibabaCloud
protected:
void parse(const std::string &payload);
private:
std::vector<ContactGroup> contactGroupList_;
std::vector<std::string> contactGroups_;
std::string message_;
int total_;

View File

@@ -35,17 +35,23 @@ namespace AlibabaCloud
DescribeContactListRequest();
~DescribeContactListRequest();
std::string getChanelType()const;
void setChanelType(const std::string& chanelType);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getContactName()const;
void setContactName(const std::string& contactName);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getChanelValue()const;
void setChanelValue(const std::string& chanelValue);
private:
std::string chanelType_;
int pageNumber_;
std::string contactName_;
int pageSize_;
std::string chanelValue_;
};
}

View File

@@ -41,9 +41,19 @@ namespace AlibabaCloud
std::string dingWebHook;
std::string sMS;
};
struct ChannelsState
{
std::string mail;
std::string aliIM;
std::string dingWebHook;
std::string sMS;
};
ChannelsState channelsState;
std::string desc;
std::vector<std::string> contactGroups;
long createTime;
long updateTime;
std::string lang;
Channels channels;
std::string name;
};

View File

@@ -45,8 +45,6 @@ namespace AlibabaCloud
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getLevel()const;
void setLevel(const std::string& level);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getEndTime()const;
@@ -60,7 +58,6 @@ namespace AlibabaCloud
std::string searchKeywords_;
int pageNumber_;
int pageSize_;
std::string level_;
std::string groupId_;
std::string endTime_;
std::string name_;

View File

@@ -37,8 +37,6 @@ namespace AlibabaCloud
std::string getEventId()const;
void setEventId(const std::string& eventId);
std::string getLevel()const;
void setLevel(const std::string& level);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getEndTime()const;
@@ -52,7 +50,6 @@ namespace AlibabaCloud
private:
std::string eventId_;
std::string level_;
std::string groupId_;
std::string endTime_;
std::string startTime_;

View File

@@ -65,6 +65,9 @@ namespace AlibabaCloud
explicit DescribeGroupMonitoringAgentProcessResult(const std::string &payload);
~DescribeGroupMonitoringAgentProcessResult();
std::string getMessage()const;
std::string getPageSize()const;
std::string getPageNumber()const;
std::string getTotal()const;
std::vector<Process> getProcesses()const;
std::string getCode()const;
bool getSuccess()const;
@@ -73,6 +76,9 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
std::string message_;
std::string pageSize_;
std::string pageNumber_;
std::string total_;
std::vector<Process> processes_;
std::string code_;
bool success_;

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{
struct TaskOption
{
std::string httpPostContent;
std::string telnetOrPingHost;
std::string httpResponseCharset;
std::string httpKeyword;

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBELOGMONITORATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBELOGMONITORATTRIBUTEREQUEST_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 DescribeLogMonitorAttributeRequest : public RpcServiceRequest
{
public:
DescribeLogMonitorAttributeRequest();
~DescribeLogMonitorAttributeRequest();
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
private:
std::string metricName_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBELOGMONITORATTRIBUTEREQUEST_H_

View File

@@ -0,0 +1,87 @@
/*
* 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_DESCRIBELOGMONITORATTRIBUTERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBELOGMONITORATTRIBUTERESULT_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 DescribeLogMonitorAttributeResult : public ServiceResult
{
public:
struct LogMonitor
{
struct Aggregate
{
std::string function;
std::string min;
std::string max;
std::string alias;
std::string fieldName;
};
struct ValueFilterObject
{
std::string value;
std::string _operator;
std::string key;
};
std::string slsProject;
std::vector<std::string> tumblingwindows;
std::string slsLogstore;
std::string metricExpress;
long groupId;
std::string metricName;
long gmtCreate;
std::vector<Aggregate> aggregates;
std::vector<std::string> groupbys;
std::vector<ValueFilterObject> valueFilter;
std::string valueFilterRelation;
long logId;
std::string slsRegionId;
};
DescribeLogMonitorAttributeResult();
explicit DescribeLogMonitorAttributeResult(const std::string &payload);
~DescribeLogMonitorAttributeResult();
std::string getMessage()const;
LogMonitor getLogMonitor()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
LogMonitor logMonitor_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBELOGMONITORATTRIBUTERESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBELOGMONITORLISTREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBELOGMONITORLISTREQUEST_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 DescribeLogMonitorListRequest : public RpcServiceRequest
{
public:
DescribeLogMonitorListRequest();
~DescribeLogMonitorListRequest();
long getGroupId()const;
void setGroupId(long groupId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getSearchValue()const;
void setSearchValue(const std::string& searchValue);
private:
long groupId_;
int pageNumber_;
int pageSize_;
std::string searchValue_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBELOGMONITORLISTREQUEST_H_

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBELOGMONITORLISTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBELOGMONITORLISTRESULT_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 DescribeLogMonitorListResult : public ServiceResult
{
public:
struct LogMonitor
{
struct ValueFilterObject
{
std::string value;
std::string _operator;
std::string key;
};
std::string slsProject;
std::string metricName;
long gmtCreate;
std::vector<LogMonitor::ValueFilterObject> valueFilter;
std::string valueFilterRelation;
long logId;
std::string slsRegionId;
std::string slsLogstore;
long groupId;
};
DescribeLogMonitorListResult();
explicit DescribeLogMonitorListResult(const std::string &payload);
~DescribeLogMonitorListResult();
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
long getTotal()const;
std::vector<LogMonitor> getLogMonitorList()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int pageSize_;
int pageNumber_;
long total_;
std::vector<LogMonitor> logMonitorList_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBELOGMONITORLISTRESULT_H_

View File

@@ -39,8 +39,8 @@ namespace AlibabaCloud
void setEnableState(bool enableState);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
std::string getPageSize()const;
void setPageSize(const std::string& pageSize);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
std::string getGroupId()const;
@@ -51,21 +51,21 @@ namespace AlibabaCloud
void set_Namespace(const std::string& _namespace);
std::string getAlertState()const;
void setAlertState(const std::string& alertState);
std::string getPage()const;
void setPage(const std::string& page);
int getPage()const;
void setPage(int page);
std::string getDimensions()const;
void setDimensions(const std::string& dimensions);
private:
bool enableState_;
std::string ruleName_;
std::string pageSize_;
int pageSize_;
std::string metricName_;
std::string groupId_;
std::string ruleIds_;
std::string _namespace_;
std::string alertState_;
std::string page_;
int page_;
std::string dimensions_;
};

View File

@@ -39,21 +39,24 @@ namespace AlibabaCloud
struct Info
{
std::string comparisonOperator;
std::string times;
int times;
std::string preCondition;
std::string statistics;
std::string threshold;
};
struct Warn
{
std::string comparisonOperator;
std::string times;
int times;
std::string preCondition;
std::string statistics;
std::string threshold;
};
struct Critical
{
std::string comparisonOperator;
std::string times;
int times;
std::string preCondition;
std::string statistics;
std::string threshold;
};
@@ -63,7 +66,7 @@ namespace AlibabaCloud
};
std::string groupName;
std::string noEffectiveInterval;
std::string silenceTime;
int silenceTime;
std::string contactGroups;
std::string mailSubject;
std::string ruleId;

View File

@@ -35,14 +35,14 @@ namespace AlibabaCloud
DescribeMetricRuleTemplateAttributeRequest();
~DescribeMetricRuleTemplateAttributeRequest();
std::string getName()const;
void setName(const std::string& name);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string name_;
std::string templateId_;
std::string name_;
};
}

View File

@@ -43,7 +43,6 @@ namespace AlibabaCloud
std::vector<ResourceItem::Filter> filters;
std::string filterRelation;
std::string category;
long groupId;
};
@@ -51,9 +50,6 @@ namespace AlibabaCloud
explicit DescribeMonitorGroupDynamicRulesResult(const std::string &payload);
~DescribeMonitorGroupDynamicRulesResult();
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
int getTotal()const;
std::vector<ResourceItem> getResource()const;
int getCode()const;
bool getSuccess()const;
@@ -62,9 +58,6 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
std::string message_;
int pageSize_;
int pageNumber_;
int total_;
std::vector<ResourceItem> resource_;
int code_;
bool success_;

View File

@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setType(const std::string& type);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
int getPageSize()const;
void setPageSize(int pageSize);
std::vector<Tag> getTag()const;
@@ -72,6 +74,7 @@ namespace AlibabaCloud
std::string dynamicTagRuleId_;
std::string type_;
int pageNumber_;
std::string resourceGroupId_;
int pageSize_;
std::vector<Tag> tag_;
std::string keyword_;

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEMONITORRESOURCEQUOTAATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEMONITORRESOURCEQUOTAATTRIBUTEREQUEST_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 DescribeMonitorResourceQuotaAttributeRequest : public RpcServiceRequest
{
public:
DescribeMonitorResourceQuotaAttributeRequest();
~DescribeMonitorResourceQuotaAttributeRequest();
bool getShowUsed()const;
void setShowUsed(bool showUsed);
private:
bool showUsed_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEMONITORRESOURCEQUOTAATTRIBUTEREQUEST_H_

View File

@@ -0,0 +1,124 @@
/*
* 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_DESCRIBEMONITORRESOURCEQUOTAATTRIBUTERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEMONITORRESOURCEQUOTAATTRIBUTERESULT_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 DescribeMonitorResourceQuotaAttributeResult : public ServiceResult
{
public:
struct ResourceQuota
{
struct SiteMonitorEcsProbe
{
int quotaUsed;
int quotaPackage;
int quotaLimit;
};
struct SiteMonitorOperatorProbe
{
int quotaUsed;
int quotaPackage;
int quotaLimit;
};
struct SiteMonitorTask
{
int quotaUsed;
int quotaPackage;
int quotaLimit;
};
struct CustomMonitor
{
int quotaUsed;
int quotaPackage;
int quotaLimit;
};
struct EventMonitor
{
int quotaUsed;
int quotaPackage;
int quotaLimit;
};
struct LogMonitor
{
int quotaUsed;
int quotaPackage;
int quotaLimit;
};
struct Api
{
int quotaUsed;
int quotaPackage;
int quotaLimit;
};
struct SMS
{
int quotaUsed;
int quotaPackage;
int quotaLimit;
};
struct Phone
{
int quotaUsed;
int quotaPackage;
int quotaLimit;
};
SiteMonitorOperatorProbe siteMonitorOperatorProbe;
std::string instanceId;
Phone phone;
std::string suitInfo;
SiteMonitorTask siteMonitorTask;
SMS sMS;
LogMonitor logMonitor;
Api api;
SiteMonitorEcsProbe siteMonitorEcsProbe;
std::string expireTime;
CustomMonitor customMonitor;
EventMonitor eventMonitor;
};
DescribeMonitorResourceQuotaAttributeResult();
explicit DescribeMonitorResourceQuotaAttributeResult(const std::string &payload);
~DescribeMonitorResourceQuotaAttributeResult();
ResourceQuota getResourceQuota()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
ResourceQuota resourceQuota_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEMONITORRESOURCEQUOTAATTRIBUTERESULT_H_

View File

@@ -41,23 +41,29 @@ namespace AlibabaCloud
void setPageNumber(int pageNumber);
std::string getHostName()const;
void setHostName(const std::string& hostName);
std::string getInstanceIds()const;
void setInstanceIds(const std::string& instanceIds);
std::string getInstanceRegionId()const;
void setInstanceRegionId(const std::string& instanceRegionId);
int getPageSize()const;
void setPageSize(int pageSize);
bool getAliyunHost()const;
void setAliyunHost(bool aliyunHost);
std::string getKeyWord()const;
void setKeyWord(const std::string& keyWord);
std::string getInstanceIds()const;
void setInstanceIds(const std::string& instanceIds);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string serialNumbers_;
int pageNumber_;
std::string hostName_;
std::string instanceIds_;
std::string instanceRegionId_;
int pageSize_;
bool aliyunHost_;
std::string keyWord_;
std::string instanceIds_;
std::string status_;
};
}

View File

@@ -56,6 +56,8 @@ namespace AlibabaCloud
~DescribeMonitoringAgentHostsResult();
std::vector<Host> getHosts()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
int getPageTotal()const;
int getTotal()const;
std::string getCode()const;
@@ -66,6 +68,8 @@ namespace AlibabaCloud
private:
std::vector<Host> hosts_;
std::string message_;
int pageSize_;
int pageNumber_;
int pageTotal_;
int total_;
std::string code_;

View File

@@ -32,12 +32,27 @@ namespace AlibabaCloud
class ALIBABACLOUD_CMS_EXPORT DescribeProductsOfActiveMetricRuleResult : public ServiceResult
{
public:
struct AllProductInitMetricRule
{
struct AlertInitConfig
{
std::string metricName;
std::string evaluationCount;
std::string period;
std::string _namespace;
std::string statistics;
std::string threshold;
};
std::vector<AllProductInitMetricRule::AlertInitConfig> alertInitConfigList;
std::string product;
};
DescribeProductsOfActiveMetricRuleResult();
explicit DescribeProductsOfActiveMetricRuleResult(const std::string &payload);
~DescribeProductsOfActiveMetricRuleResult();
std::string getMessage()const;
std::vector<AllProductInitMetricRule> getAllProductInitMetricRuleList()const;
std::string getDatapoints()const;
int getCode()const;
bool getSuccess()const;
@@ -46,6 +61,7 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
std::string message_;
std::vector<AllProductInitMetricRule> allProductInitMetricRuleList_;
std::string datapoints_;
int code_;
bool success_;

View File

@@ -39,10 +39,19 @@ namespace AlibabaCloud
void setCity(const std::string& city);
std::string getIsp()const;
void setIsp(const std::string& isp);
bool getAPIProbe()const;
void setAPIProbe(bool aPIProbe);
bool getIPV4()const;
void setIPV4(bool iPV4);
bool getIPV6()const;
void setIPV6(bool iPV6);
private:
std::string city_;
std::string isp_;
bool aPIProbe_;
bool iPV4_;
bool iPV6_;
};
}

View File

@@ -34,16 +34,22 @@ namespace AlibabaCloud
public:
struct IspCity
{
std::string iPV4ProbeCount;
std::string isp;
std::string regionzh_CN;
std::string regionen;
std::string city;
std::string iPV6ProbeCount;
std::string countryen;
std::string ispNamezh_CN;
std::string ispNameen;
std::string cityNamezh_CN;
std::string isp;
std::string regionzh_CN;
std::string countryzh_CN;
std::string aPIProbeCount;
std::string cityNameen;
std::string regionen;
std::string city;
std::string countryen;
std::string countryzh_CN;
std::string region;
std::string country;
std::vector<std::string> iPPool;
};

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{
std::string siteMonitorVersion;
int siteMonitorQuotaTaskUsed;
bool secondMonitor;
int siteMonitorOperatorQuotaQuota;
int siteMonitorTaskQuota;
int siteMonitorIdcQuota;

View File

@@ -38,7 +38,6 @@ namespace AlibabaCloud
std::string instanceName;
std::string resourceId;
std::string content;
long num;
std::string product;
std::string level;
long time;

View File

@@ -39,10 +39,6 @@ namespace AlibabaCloud
void setStartTime(const std::string& startTime);
std::string getSearchKeywords()const;
void setSearchKeywords(const std::string& searchKeywords);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getLevel()const;
@@ -61,8 +57,6 @@ namespace AlibabaCloud
private:
std::string startTime_;
std::string searchKeywords_;
int pageNumber_;
int pageSize_;
std::string product_;
std::string level_;
std::string groupId_;

View File

@@ -38,6 +38,7 @@ namespace AlibabaCloud
std::string statusDesc;
std::string nameDesc;
std::string eventType;
std::string nameDescEn;
std::string product;
std::string level;
std::string name;

View File

@@ -35,6 +35,7 @@ namespace AlibabaCloud
{
std::string times;
std::string noEffectiveInterval;
std::string webhook;
std::string silenceTime;
std::string threshold;
std::string effectiveInterval;

View File

@@ -46,6 +46,8 @@ namespace AlibabaCloud
std::string getTaskOptionHttpMethod()const;
void setTaskOptionHttpMethod(const std::string& taskOptionHttpMethod);
std::string getTaskOptionHttpHeader()const;
void setTaskOptionHttpHeader(const std::string& taskOptionHttpHeader);
std::vector<AlertConfigEscalationList> getAlertConfigEscalationList()const;
void setAlertConfigEscalationList(const std::vector<AlertConfigEscalationList>& alertConfigEscalationList);
std::string getTaskName()const;
@@ -74,6 +76,8 @@ namespace AlibabaCloud
void setTaskOptionHttpURI(const std::string& taskOptionHttpURI);
std::string getTaskScope()const;
void setTaskScope(const std::string& taskScope);
std::string getTaskOptionHttpPostContent()const;
void setTaskOptionHttpPostContent(const std::string& taskOptionHttpPostContent);
int getAlertConfigStartTime()const;
void setAlertConfigStartTime(int alertConfigStartTime);
std::string getAlertConfigWebHook()const;
@@ -81,6 +85,7 @@ namespace AlibabaCloud
private:
std::string taskOptionHttpMethod_;
std::string taskOptionHttpHeader_;
std::vector<AlertConfigEscalationList> alertConfigEscalationList_;
std::string taskName_;
int alertConfigSilenceTime_;
@@ -95,6 +100,7 @@ namespace AlibabaCloud
int alertConfigEndTime_;
std::string taskOptionHttpURI_;
std::string taskScope_;
std::string taskOptionHttpPostContent_;
int alertConfigStartTime_;
std::string alertConfigWebHook_;

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_MODIFYHOSTINFOREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_MODIFYHOSTINFOREQUEST_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 ModifyHostInfoRequest : public RpcServiceRequest
{
public:
ModifyHostInfoRequest();
~ModifyHostInfoRequest();
std::string getHostName()const;
void setHostName(const std::string& hostName);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string hostName_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_MODIFYHOSTINFOREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_MODIFYHOSTINFORESULT_H_
#define ALIBABACLOUD_CMS_MODEL_MODIFYHOSTINFORESULT_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 ModifyHostInfoResult : public ServiceResult
{
public:
ModifyHostInfoResult();
explicit ModifyHostInfoResult(const std::string &payload);
~ModifyHostInfoResult();
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_MODIFYHOSTINFORESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* 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_OPENCMSSERVICEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_OPENCMSSERVICEREQUEST_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 OpenCmsServiceRequest : public RpcServiceRequest
{
public:
OpenCmsServiceRequest();
~OpenCmsServiceRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_OPENCMSSERVICEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_OPENCMSSERVICERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_OPENCMSSERVICERESULT_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 OpenCmsServiceResult : public ServiceResult
{
public:
OpenCmsServiceResult();
explicit OpenCmsServiceResult(const std::string &payload);
~OpenCmsServiceResult();
std::string getOrderId()const;
protected:
void parse(const std::string &payload);
private:
std::string orderId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_OPENCMSSERVICERESULT_H_

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
PutContactGroupRequest();
~PutContactGroupRequest();
bool getEnableSubscribed()const;
void setEnableSubscribed(bool enableSubscribed);
std::string getContactGroupName()const;
void setContactGroupName(const std::string& contactGroupName);
std::string getDescribe()const;
@@ -43,6 +45,7 @@ namespace AlibabaCloud
void setContactNames(const std::vector<std::string>& contactNames);
private:
bool enableSubscribed_;
std::string contactGroupName_;
std::string describe_;
std::vector<std::string> contactNames_;

View File

@@ -45,6 +45,8 @@ namespace AlibabaCloud
void setChannelsAliIM(const std::string& channelsAliIM);
std::string getDescribe()const;
void setDescribe(const std::string& describe);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getChannelsSMS()const;
void setChannelsSMS(const std::string& channelsSMS);
@@ -54,6 +56,7 @@ namespace AlibabaCloud
std::string channelsMail_;
std::string channelsAliIM_;
std::string describe_;
std::string lang_;
std::string channelsSMS_;
};

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_PUTCUSTOMEVENTRULEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_PUTCUSTOMEVENTRULEREQUEST_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 PutCustomEventRuleRequest : public RpcServiceRequest
{
public:
PutCustomEventRuleRequest();
~PutCustomEventRuleRequest();
std::string getWebhook()const;
void setWebhook(const std::string& webhook);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
std::string getThreshold()const;
void setThreshold(const std::string& threshold);
std::string getEffectiveInterval()const;
void setEffectiveInterval(const std::string& effectiveInterval);
std::string getEventName()const;
void setEventName(const std::string& eventName);
std::string getEmailSubject()const;
void setEmailSubject(const std::string& emailSubject);
std::string getPeriod()const;
void setPeriod(const std::string& period);
std::string getContactGroups()const;
void setContactGroups(const std::string& contactGroups);
std::string getLevel()const;
void setLevel(const std::string& level);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getRuleId()const;
void setRuleId(const std::string& ruleId);
private:
std::string webhook_;
std::string ruleName_;
std::string threshold_;
std::string effectiveInterval_;
std::string eventName_;
std::string emailSubject_;
std::string period_;
std::string contactGroups_;
std::string level_;
std::string groupId_;
std::string ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_PUTCUSTOMEVENTRULEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEFOLDERLISTRESULT_H_
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEFOLDERLISTRESULT_H_
#ifndef ALIBABACLOUD_CMS_MODEL_PUTCUSTOMEVENTRULERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_PUTCUSTOMEVENTRULERESULT_H_
#include <string>
#include <vector>
@@ -29,40 +29,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_CMS_EXPORT DescribeFolderListResult : public ServiceResult
class ALIBABACLOUD_CMS_EXPORT PutCustomEventRuleResult : public ServiceResult
{
public:
struct Resource
{
std::string name;
long serviceId;
};
DescribeFolderListResult();
explicit DescribeFolderListResult(const std::string &payload);
~DescribeFolderListResult();
PutCustomEventRuleResult();
explicit PutCustomEventRuleResult(const std::string &payload);
~PutCustomEventRuleResult();
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
int getTotal()const;
Resource getResource()const;
int getCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int pageSize_;
int pageNumber_;
int total_;
Resource resource_;
int code_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEFOLDERLISTRESULT_H_
#endif // !ALIBABACLOUD_CMS_MODEL_PUTCUSTOMEVENTRULERESULT_H_

View File

@@ -0,0 +1,93 @@
/*
* 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_PUTCUSTOMMETRICRULEREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_PUTCUSTOMMETRICRULEREQUEST_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 PutCustomMetricRuleRequest : public RpcServiceRequest
{
public:
PutCustomMetricRuleRequest();
~PutCustomMetricRuleRequest();
std::string getWebhook()const;
void setWebhook(const std::string& webhook);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
std::string getThreshold()const;
void setThreshold(const std::string& threshold);
std::string getEffectiveInterval()const;
void setEffectiveInterval(const std::string& effectiveInterval);
std::string getEmailSubject()const;
void setEmailSubject(const std::string& emailSubject);
int getEvaluationCount()const;
void setEvaluationCount(int evaluationCount);
int getSilenceTime()const;
void setSilenceTime(int silenceTime);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
std::string getPeriod()const;
void setPeriod(const std::string& period);
std::string getContactGroups()const;
void setContactGroups(const std::string& contactGroups);
std::string getLevel()const;
void setLevel(const std::string& level);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getResources()const;
void setResources(const std::string& resources);
std::string getRuleId()const;
void setRuleId(const std::string& ruleId);
std::string getComparisonOperator()const;
void setComparisonOperator(const std::string& comparisonOperator);
std::string getStatistics()const;
void setStatistics(const std::string& statistics);
private:
std::string webhook_;
std::string ruleName_;
std::string threshold_;
std::string effectiveInterval_;
std::string emailSubject_;
int evaluationCount_;
int silenceTime_;
std::string metricName_;
std::string period_;
std::string contactGroups_;
std::string level_;
std::string groupId_;
std::string resources_;
std::string ruleId_;
std::string comparisonOperator_;
std::string statistics_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_PUTCUSTOMMETRICRULEREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CMS_MODEL_PUTCUSTOMMETRICRULERESULT_H_
#define ALIBABACLOUD_CMS_MODEL_PUTCUSTOMMETRICRULERESULT_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 PutCustomMetricRuleResult : public ServiceResult
{
public:
PutCustomMetricRuleResult();
explicit PutCustomMetricRuleResult(const std::string &payload);
~PutCustomMetricRuleResult();
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_PUTCUSTOMMETRICRULERESULT_H_

View File

@@ -61,6 +61,8 @@ namespace AlibabaCloud
void setPeriod(const std::string& period);
std::string getEscalationsWarnThreshold()const;
void setEscalationsWarnThreshold(const std::string& escalationsWarnThreshold);
std::string getContactGroups()const;
void setContactGroups(const std::string& contactGroups);
std::string getEscalationsCriticalStatistics()const;
void setEscalationsCriticalStatistics(const std::string& escalationsCriticalStatistics);
std::string getGroupId()const;
@@ -102,6 +104,7 @@ namespace AlibabaCloud
int escalationsWarnTimes_;
std::string period_;
std::string escalationsWarnThreshold_;
std::string contactGroups_;
std::string escalationsCriticalStatistics_;
std::string groupId_;
int escalationsInfoTimes_;

View File

@@ -0,0 +1,102 @@
/*
* 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_PUTLOGMONITORREQUEST_H_
#define ALIBABACLOUD_CMS_MODEL_PUTLOGMONITORREQUEST_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 PutLogMonitorRequest : public RpcServiceRequest
{
public:
struct ValueFilter
{
std::string value;
std::string key;
std::string _operator;
};
struct Groupbys
{
std::string fieldName;
std::string alias;
};
struct Aggregates
{
std::string fieldName;
std::string function;
std::string alias;
};
public:
PutLogMonitorRequest();
~PutLogMonitorRequest();
std::string getSlsLogstore()const;
void setSlsLogstore(const std::string& slsLogstore);
std::string getSlsProject()const;
void setSlsProject(const std::string& slsProject);
std::vector<ValueFilter> getValueFilter()const;
void setValueFilter(const std::vector<ValueFilter>& valueFilter);
std::string getMetricExpress()const;
void setMetricExpress(const std::string& metricExpress);
std::string getSlsRegionId()const;
void setSlsRegionId(const std::string& slsRegionId);
std::string getMetricName()const;
void setMetricName(const std::string& metricName);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getTumblingwindows()const;
void setTumblingwindows(const std::string& tumblingwindows);
std::string getValueFilterRelation()const;
void setValueFilterRelation(const std::string& valueFilterRelation);
std::string getUnit()const;
void setUnit(const std::string& unit);
std::vector<Groupbys> getGroupbys()const;
void setGroupbys(const std::vector<Groupbys>& groupbys);
std::string getLogId()const;
void setLogId(const std::string& logId);
std::vector<Aggregates> getAggregates()const;
void setAggregates(const std::vector<Aggregates>& aggregates);
private:
std::string slsLogstore_;
std::string slsProject_;
std::vector<ValueFilter> valueFilter_;
std::string metricExpress_;
std::string slsRegionId_;
std::string metricName_;
std::string groupId_;
std::string tumblingwindows_;
std::string valueFilterRelation_;
std::string unit_;
std::vector<Groupbys> groupbys_;
std::string logId_;
std::vector<Aggregates> aggregates_;
};
}
}
}
#endif // !ALIBABACLOUD_CMS_MODEL_PUTLOGMONITORREQUEST_H_

View File

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