Add Dynamic Tag API.
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
#include "model/AddTagsResult.h"
|
||||
#include "model/ApplyMetricRuleTemplateRequest.h"
|
||||
#include "model/ApplyMetricRuleTemplateResult.h"
|
||||
#include "model/CreateDynamicTagGroupRequest.h"
|
||||
#include "model/CreateDynamicTagGroupResult.h"
|
||||
#include "model/CreateGroupMetricRulesRequest.h"
|
||||
#include "model/CreateGroupMetricRulesResult.h"
|
||||
#include "model/CreateGroupMonitoringAgentProcessRequest.h"
|
||||
@@ -54,6 +56,8 @@
|
||||
#include "model/DeleteContactGroupResult.h"
|
||||
#include "model/DeleteCustomMetricRequest.h"
|
||||
#include "model/DeleteCustomMetricResult.h"
|
||||
#include "model/DeleteDynamicTagGroupRequest.h"
|
||||
#include "model/DeleteDynamicTagGroupResult.h"
|
||||
#include "model/DeleteEventRuleTargetsRequest.h"
|
||||
#include "model/DeleteEventRuleTargetsResult.h"
|
||||
#include "model/DeleteEventRulesRequest.h"
|
||||
@@ -102,6 +106,8 @@
|
||||
#include "model/DescribeCustomEventHistogramResult.h"
|
||||
#include "model/DescribeCustomMetricListRequest.h"
|
||||
#include "model/DescribeCustomMetricListResult.h"
|
||||
#include "model/DescribeDynamicTagRuleListRequest.h"
|
||||
#include "model/DescribeDynamicTagRuleListResult.h"
|
||||
#include "model/DescribeEventRuleAttributeRequest.h"
|
||||
#include "model/DescribeEventRuleAttributeResult.h"
|
||||
#include "model/DescribeEventRuleListRequest.h"
|
||||
@@ -156,6 +162,8 @@
|
||||
#include "model/DescribeMonitoringAgentStatusesResult.h"
|
||||
#include "model/DescribeMonitoringConfigRequest.h"
|
||||
#include "model/DescribeMonitoringConfigResult.h"
|
||||
#include "model/DescribeProductResourceTagKeyListRequest.h"
|
||||
#include "model/DescribeProductResourceTagKeyListResult.h"
|
||||
#include "model/DescribeProductsOfActiveMetricRuleRequest.h"
|
||||
#include "model/DescribeProductsOfActiveMetricRuleResult.h"
|
||||
#include "model/DescribeProjectMetaRequest.h"
|
||||
@@ -265,6 +273,9 @@ 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::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;
|
||||
typedef Outcome<Error, Model::CreateGroupMetricRulesResult> CreateGroupMetricRulesOutcome;
|
||||
typedef std::future<CreateGroupMetricRulesOutcome> CreateGroupMetricRulesOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::CreateGroupMetricRulesRequest&, const CreateGroupMetricRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateGroupMetricRulesAsyncHandler;
|
||||
@@ -307,6 +318,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteCustomMetricResult> DeleteCustomMetricOutcome;
|
||||
typedef std::future<DeleteCustomMetricOutcome> DeleteCustomMetricOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DeleteCustomMetricRequest&, const DeleteCustomMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomMetricAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDynamicTagGroupResult> DeleteDynamicTagGroupOutcome;
|
||||
typedef std::future<DeleteDynamicTagGroupOutcome> DeleteDynamicTagGroupOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DeleteDynamicTagGroupRequest&, const DeleteDynamicTagGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDynamicTagGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteEventRuleTargetsResult> DeleteEventRuleTargetsOutcome;
|
||||
typedef std::future<DeleteEventRuleTargetsOutcome> DeleteEventRuleTargetsOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DeleteEventRuleTargetsRequest&, const DeleteEventRuleTargetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEventRuleTargetsAsyncHandler;
|
||||
@@ -379,6 +393,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeCustomMetricListResult> DescribeCustomMetricListOutcome;
|
||||
typedef std::future<DescribeCustomMetricListOutcome> DescribeCustomMetricListOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DescribeCustomMetricListRequest&, const DescribeCustomMetricListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCustomMetricListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDynamicTagRuleListResult> DescribeDynamicTagRuleListOutcome;
|
||||
typedef std::future<DescribeDynamicTagRuleListOutcome> DescribeDynamicTagRuleListOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DescribeDynamicTagRuleListRequest&, const DescribeDynamicTagRuleListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDynamicTagRuleListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeEventRuleAttributeResult> DescribeEventRuleAttributeOutcome;
|
||||
typedef std::future<DescribeEventRuleAttributeOutcome> DescribeEventRuleAttributeOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DescribeEventRuleAttributeRequest&, const DescribeEventRuleAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEventRuleAttributeAsyncHandler;
|
||||
@@ -460,6 +477,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeMonitoringConfigResult> DescribeMonitoringConfigOutcome;
|
||||
typedef std::future<DescribeMonitoringConfigOutcome> DescribeMonitoringConfigOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DescribeMonitoringConfigRequest&, const DescribeMonitoringConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMonitoringConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeProductResourceTagKeyListResult> DescribeProductResourceTagKeyListOutcome;
|
||||
typedef std::future<DescribeProductResourceTagKeyListOutcome> DescribeProductResourceTagKeyListOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DescribeProductResourceTagKeyListRequest&, const DescribeProductResourceTagKeyListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProductResourceTagKeyListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeProductsOfActiveMetricRuleResult> DescribeProductsOfActiveMetricRuleOutcome;
|
||||
typedef std::future<DescribeProductsOfActiveMetricRuleOutcome> DescribeProductsOfActiveMetricRuleOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DescribeProductsOfActiveMetricRuleRequest&, const DescribeProductsOfActiveMetricRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProductsOfActiveMetricRuleAsyncHandler;
|
||||
@@ -612,6 +632,9 @@ 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;
|
||||
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;
|
||||
CreateGroupMetricRulesOutcome createGroupMetricRules(const Model::CreateGroupMetricRulesRequest &request)const;
|
||||
void createGroupMetricRulesAsync(const Model::CreateGroupMetricRulesRequest& request, const CreateGroupMetricRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateGroupMetricRulesOutcomeCallable createGroupMetricRulesCallable(const Model::CreateGroupMetricRulesRequest& request) const;
|
||||
@@ -654,6 +677,9 @@ namespace AlibabaCloud
|
||||
DeleteCustomMetricOutcome deleteCustomMetric(const Model::DeleteCustomMetricRequest &request)const;
|
||||
void deleteCustomMetricAsync(const Model::DeleteCustomMetricRequest& request, const DeleteCustomMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCustomMetricOutcomeCallable deleteCustomMetricCallable(const Model::DeleteCustomMetricRequest& request) const;
|
||||
DeleteDynamicTagGroupOutcome deleteDynamicTagGroup(const Model::DeleteDynamicTagGroupRequest &request)const;
|
||||
void deleteDynamicTagGroupAsync(const Model::DeleteDynamicTagGroupRequest& request, const DeleteDynamicTagGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDynamicTagGroupOutcomeCallable deleteDynamicTagGroupCallable(const Model::DeleteDynamicTagGroupRequest& request) const;
|
||||
DeleteEventRuleTargetsOutcome deleteEventRuleTargets(const Model::DeleteEventRuleTargetsRequest &request)const;
|
||||
void deleteEventRuleTargetsAsync(const Model::DeleteEventRuleTargetsRequest& request, const DeleteEventRuleTargetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteEventRuleTargetsOutcomeCallable deleteEventRuleTargetsCallable(const Model::DeleteEventRuleTargetsRequest& request) const;
|
||||
@@ -726,6 +752,9 @@ namespace AlibabaCloud
|
||||
DescribeCustomMetricListOutcome describeCustomMetricList(const Model::DescribeCustomMetricListRequest &request)const;
|
||||
void describeCustomMetricListAsync(const Model::DescribeCustomMetricListRequest& request, const DescribeCustomMetricListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCustomMetricListOutcomeCallable describeCustomMetricListCallable(const Model::DescribeCustomMetricListRequest& request) const;
|
||||
DescribeDynamicTagRuleListOutcome describeDynamicTagRuleList(const Model::DescribeDynamicTagRuleListRequest &request)const;
|
||||
void describeDynamicTagRuleListAsync(const Model::DescribeDynamicTagRuleListRequest& request, const DescribeDynamicTagRuleListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDynamicTagRuleListOutcomeCallable describeDynamicTagRuleListCallable(const Model::DescribeDynamicTagRuleListRequest& request) const;
|
||||
DescribeEventRuleAttributeOutcome describeEventRuleAttribute(const Model::DescribeEventRuleAttributeRequest &request)const;
|
||||
void describeEventRuleAttributeAsync(const Model::DescribeEventRuleAttributeRequest& request, const DescribeEventRuleAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEventRuleAttributeOutcomeCallable describeEventRuleAttributeCallable(const Model::DescribeEventRuleAttributeRequest& request) const;
|
||||
@@ -807,6 +836,9 @@ namespace AlibabaCloud
|
||||
DescribeMonitoringConfigOutcome describeMonitoringConfig(const Model::DescribeMonitoringConfigRequest &request)const;
|
||||
void describeMonitoringConfigAsync(const Model::DescribeMonitoringConfigRequest& request, const DescribeMonitoringConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMonitoringConfigOutcomeCallable describeMonitoringConfigCallable(const Model::DescribeMonitoringConfigRequest& request) const;
|
||||
DescribeProductResourceTagKeyListOutcome describeProductResourceTagKeyList(const Model::DescribeProductResourceTagKeyListRequest &request)const;
|
||||
void describeProductResourceTagKeyListAsync(const Model::DescribeProductResourceTagKeyListRequest& request, const DescribeProductResourceTagKeyListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeProductResourceTagKeyListOutcomeCallable describeProductResourceTagKeyListCallable(const Model::DescribeProductResourceTagKeyListRequest& request) const;
|
||||
DescribeProductsOfActiveMetricRuleOutcome describeProductsOfActiveMetricRule(const Model::DescribeProductsOfActiveMetricRuleRequest &request)const;
|
||||
void describeProductsOfActiveMetricRuleAsync(const Model::DescribeProductsOfActiveMetricRuleRequest& request, const DescribeProductsOfActiveMetricRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeProductsOfActiveMetricRuleOutcomeCallable describeProductsOfActiveMetricRuleCallable(const Model::DescribeProductsOfActiveMetricRuleRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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_CREATEDYNAMICTAGGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_CREATEDYNAMICTAGGROUPREQUEST_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 CreateDynamicTagGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
struct MatchExpress
|
||||
{
|
||||
std::string tagName;
|
||||
std::string tagValue;
|
||||
std::string tagValueMatchFunction;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateDynamicTagGroupRequest();
|
||||
~CreateDynamicTagGroupRequest();
|
||||
|
||||
bool getEnableSubscribeEvent()const;
|
||||
void setEnableSubscribeEvent(bool enableSubscribeEvent);
|
||||
std::string getMatchExpressFilterRelation()const;
|
||||
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;
|
||||
void setContactGroupList(const std::vector<std::string>& contactGroupList);
|
||||
std::vector<std::string> getTemplateIdList()const;
|
||||
void setTemplateIdList(const std::vector<std::string>& templateIdList);
|
||||
std::string getTagKey()const;
|
||||
void setTagKey(const std::string& tagKey);
|
||||
|
||||
private:
|
||||
bool enableSubscribeEvent_;
|
||||
std::string matchExpressFilterRelation_;
|
||||
bool enableInstallAgent_;
|
||||
std::string regionId_;
|
||||
std::vector<MatchExpress> matchExpress_;
|
||||
std::vector<std::string> contactGroupList_;
|
||||
std::vector<std::string> templateIdList_;
|
||||
std::string tagKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEDYNAMICTAGGROUPREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_CREATEDYNAMICTAGGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_CREATEDYNAMICTAGGROUPRESULT_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 CreateDynamicTagGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDynamicTagGroupResult();
|
||||
explicit CreateDynamicTagGroupResult(const std::string &payload);
|
||||
~CreateDynamicTagGroupResult();
|
||||
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_CREATEDYNAMICTAGGROUPRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEDYNAMICTAGGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETEDYNAMICTAGGROUPREQUEST_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 DeleteDynamicTagGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDynamicTagGroupRequest();
|
||||
~DeleteDynamicTagGroupRequest();
|
||||
|
||||
std::string getDynamicTagGroupId()const;
|
||||
void setDynamicTagGroupId(const std::string& dynamicTagGroupId);
|
||||
|
||||
private:
|
||||
std::string dynamicTagGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEDYNAMICTAGGROUPREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_DELETEDYNAMICTAGGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETEDYNAMICTAGGROUPRESULT_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 DeleteDynamicTagGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDynamicTagGroupResult();
|
||||
explicit DeleteDynamicTagGroupResult(const std::string &payload);
|
||||
~DeleteDynamicTagGroupResult();
|
||||
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_DELETEDYNAMICTAGGROUPRESULT_H_
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
DescribeAlertHistoryListRequest();
|
||||
~DescribeAlertHistoryListRequest();
|
||||
|
||||
std::string getAlertStatus()const;
|
||||
void setAlertStatus(const std::string& alertStatus);
|
||||
std::string getRuleName()const;
|
||||
void setRuleName(const std::string& ruleName);
|
||||
std::string getStartTime()const;
|
||||
@@ -59,9 +57,10 @@ namespace AlibabaCloud
|
||||
void setPage(int page);
|
||||
std::string getRuleId()const;
|
||||
void setRuleId(const std::string& ruleId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string alertStatus_;
|
||||
std::string ruleName_;
|
||||
std::string startTime_;
|
||||
int pageSize_;
|
||||
@@ -73,6 +72,7 @@ namespace AlibabaCloud
|
||||
std::string _namespace_;
|
||||
int page_;
|
||||
std::string ruleId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,7 +36,6 @@ namespace AlibabaCloud
|
||||
{
|
||||
int status;
|
||||
std::vector<std::string> contactGroups;
|
||||
std::string alertName;
|
||||
std::string ruleId;
|
||||
std::string dimensions;
|
||||
int evaluationCount;
|
||||
@@ -44,15 +43,17 @@ namespace AlibabaCloud
|
||||
std::vector<std::string> contactMails;
|
||||
std::vector<std::string> contactSmses;
|
||||
long alertTime;
|
||||
std::string alertState;
|
||||
std::string groupId;
|
||||
std::string instanceName;
|
||||
std::string metricName;
|
||||
std::vector<std::string> contacts;
|
||||
std::string expression;
|
||||
std::string state;
|
||||
std::string value;
|
||||
std::string webhooks;
|
||||
std::string level;
|
||||
std::string id;
|
||||
std::string preLevel;
|
||||
long lastTime;
|
||||
std::string ruleName;
|
||||
std::vector<std::string> contactALIIMs;
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEDYNAMICTAGRULELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEDYNAMICTAGRULELISTREQUEST_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 DescribeDynamicTagRuleListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDynamicTagRuleListRequest();
|
||||
~DescribeDynamicTagRuleListRequest();
|
||||
|
||||
std::string getPageNumber()const;
|
||||
void setPageNumber(const std::string& pageNumber);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
std::string getTagKey()const;
|
||||
void setTagKey(const std::string& tagKey);
|
||||
|
||||
private:
|
||||
std::string pageNumber_;
|
||||
std::string pageSize_;
|
||||
std::string tagKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEDYNAMICTAGRULELISTREQUEST_H_
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEDYNAMICTAGRULELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEDYNAMICTAGRULELISTRESULT_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 DescribeDynamicTagRuleListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TagGroup
|
||||
{
|
||||
struct MatchExpressItem
|
||||
{
|
||||
std::string tagName;
|
||||
std::string tagValue;
|
||||
std::string tagValueMatchFunction;
|
||||
};
|
||||
std::string dynamicTagGroupId;
|
||||
std::string status;
|
||||
std::string matchExpressFilterRelation;
|
||||
std::vector<std::string> templateIdList;
|
||||
std::string tagKey;
|
||||
std::vector<TagGroup::MatchExpressItem> matchExpress;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeDynamicTagRuleListResult();
|
||||
explicit DescribeDynamicTagRuleListResult(const std::string &payload);
|
||||
~DescribeDynamicTagRuleListResult();
|
||||
std::string getMessage()const;
|
||||
std::string getPageSize()const;
|
||||
std::string getPageNumber()const;
|
||||
int getTotal()const;
|
||||
std::vector<TagGroup> getTagGroupList()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string pageSize_;
|
||||
std::string pageNumber_;
|
||||
int total_;
|
||||
std::vector<TagGroup> tagGroupList_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEDYNAMICTAGRULELISTRESULT_H_
|
||||
@@ -46,29 +46,35 @@ namespace AlibabaCloud
|
||||
void setIncludeTemplateHistory(bool includeTemplateHistory);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getDynamicTagGroupId()const;
|
||||
void setDynamicTagGroupId(const std::string& dynamicTagGroupId);
|
||||
|
||||
private:
|
||||
bool selectContactGroups_;
|
||||
bool includeTemplateHistory_;
|
||||
std::string type_;
|
||||
std::string groupName_;
|
||||
int pageNumber_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string keyword_;
|
||||
std::string groupId_;
|
||||
std::string groupName_;
|
||||
std::string instanceId_;
|
||||
std::string dynamicTagGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace AlibabaCloud
|
||||
std::string key;
|
||||
};
|
||||
std::string groupName;
|
||||
long dynamicTagGroupId;
|
||||
std::vector<Resource::ContactGroup> contactGroups;
|
||||
std::string type;
|
||||
long gmtCreate;
|
||||
|
||||
@@ -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_DESCRIBEPRODUCTRESOURCETAGKEYLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEPRODUCTRESOURCETAGKEYLISTREQUEST_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 DescribeProductResourceTagKeyListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeProductResourceTagKeyListRequest();
|
||||
~DescribeProductResourceTagKeyListRequest();
|
||||
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
|
||||
private:
|
||||
std::string nextToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEPRODUCTRESOURCETAGKEYLISTREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEPRODUCTRESOURCETAGKEYLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEPRODUCTRESOURCETAGKEYLISTRESULT_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 DescribeProductResourceTagKeyListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeProductResourceTagKeyListResult();
|
||||
explicit DescribeProductResourceTagKeyListResult(const std::string &payload);
|
||||
~DescribeProductResourceTagKeyListResult();
|
||||
std::string getMessage()const;
|
||||
std::string getNextToken()const;
|
||||
std::string getCode()const;
|
||||
std::vector<std::string> getTagKeys()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string nextToken_;
|
||||
std::string code_;
|
||||
std::vector<std::string> tagKeys_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEPRODUCTRESOURCETAGKEYLISTRESULT_H_
|
||||
Reference in New Issue
Block a user