Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
69cc6a27d1 | ||
|
|
6994be7a5e | ||
|
|
dba2a5a7c7 |
@@ -1,3 +1,12 @@
|
||||
2020-01-15 Version 1.36.242
|
||||
- Fix parameter issues for label synchronization group.
|
||||
|
||||
2020-01-15 Version 1.36.241
|
||||
- Fix parameter issues for label synchronization group.
|
||||
|
||||
2020-01-13 Version 1.36.240
|
||||
- New API DescribeAvailableResource.
|
||||
|
||||
2020-01-13 Version 1.36.239
|
||||
- Add Dynamic Tag API.
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct MatchExpress
|
||||
{
|
||||
std::string tagName;
|
||||
std::string tagValue;
|
||||
std::string tagValueMatchFunction;
|
||||
};
|
||||
|
||||
@@ -35,11 +35,11 @@ namespace AlibabaCloud
|
||||
DeleteDynamicTagGroupRequest();
|
||||
~DeleteDynamicTagGroupRequest();
|
||||
|
||||
std::string getDynamicTagGroupId()const;
|
||||
void setDynamicTagGroupId(const std::string& dynamicTagGroupId);
|
||||
std::string getDynamicTagRuleId()const;
|
||||
void setDynamicTagRuleId(const std::string& dynamicTagRuleId);
|
||||
|
||||
private:
|
||||
std::string dynamicTagGroupId_;
|
||||
std::string dynamicTagRuleId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,13 +36,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct MatchExpressItem
|
||||
{
|
||||
std::string tagName;
|
||||
std::string tagValue;
|
||||
std::string tagValueMatchFunction;
|
||||
};
|
||||
std::string dynamicTagGroupId;
|
||||
std::string status;
|
||||
std::string matchExpressFilterRelation;
|
||||
std::string dynamicTagRuleId;
|
||||
std::vector<std::string> templateIdList;
|
||||
std::string tagKey;
|
||||
std::vector<TagGroup::MatchExpressItem> matchExpress;
|
||||
|
||||
@@ -44,6 +44,8 @@ namespace AlibabaCloud
|
||||
void setSelectContactGroups(bool selectContactGroups);
|
||||
bool getIncludeTemplateHistory()const;
|
||||
void setIncludeTemplateHistory(bool includeTemplateHistory);
|
||||
std::string getDynamicTagRuleId()const;
|
||||
void setDynamicTagRuleId(const std::string& dynamicTagRuleId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
int getPageNumber()const;
|
||||
@@ -60,12 +62,11 @@ namespace AlibabaCloud
|
||||
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 dynamicTagRuleId_;
|
||||
std::string type_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
@@ -74,7 +75,6 @@ namespace AlibabaCloud
|
||||
std::string groupId_;
|
||||
std::string groupName_;
|
||||
std::string instanceId_;
|
||||
std::string dynamicTagGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -82,7 +82,6 @@ void CreateDynamicTagGroupRequest::setMatchExpress(const std::vector<MatchExpres
|
||||
for(int dep1 = 0; dep1!= matchExpress.size(); dep1++) {
|
||||
auto matchExpressObj = matchExpress.at(dep1);
|
||||
std::string matchExpressObjStr = "MatchExpress." + std::to_string(dep1);
|
||||
setCoreParameter(matchExpressObjStr + ".TagName", matchExpressObj.tagName);
|
||||
setCoreParameter(matchExpressObjStr + ".TagValue", matchExpressObj.tagValue);
|
||||
setCoreParameter(matchExpressObjStr + ".TagValueMatchFunction", matchExpressObj.tagValueMatchFunction);
|
||||
}
|
||||
|
||||
@@ -27,14 +27,14 @@ DeleteDynamicTagGroupRequest::DeleteDynamicTagGroupRequest() :
|
||||
DeleteDynamicTagGroupRequest::~DeleteDynamicTagGroupRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteDynamicTagGroupRequest::getDynamicTagGroupId()const
|
||||
std::string DeleteDynamicTagGroupRequest::getDynamicTagRuleId()const
|
||||
{
|
||||
return dynamicTagGroupId_;
|
||||
return dynamicTagRuleId_;
|
||||
}
|
||||
|
||||
void DeleteDynamicTagGroupRequest::setDynamicTagGroupId(const std::string& dynamicTagGroupId)
|
||||
void DeleteDynamicTagGroupRequest::setDynamicTagRuleId(const std::string& dynamicTagRuleId)
|
||||
{
|
||||
dynamicTagGroupId_ = dynamicTagGroupId;
|
||||
setCoreParameter("DynamicTagGroupId", dynamicTagGroupId);
|
||||
dynamicTagRuleId_ = dynamicTagRuleId;
|
||||
setCoreParameter("DynamicTagRuleId", dynamicTagRuleId);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,8 +43,8 @@ void DescribeDynamicTagRuleListResult::parse(const std::string &payload)
|
||||
for (auto valueTagGroupListTagGroup : allTagGroupListNode)
|
||||
{
|
||||
TagGroup tagGroupListObject;
|
||||
if(!valueTagGroupListTagGroup["DynamicTagGroupId"].isNull())
|
||||
tagGroupListObject.dynamicTagGroupId = valueTagGroupListTagGroup["DynamicTagGroupId"].asString();
|
||||
if(!valueTagGroupListTagGroup["DynamicTagRuleId"].isNull())
|
||||
tagGroupListObject.dynamicTagRuleId = valueTagGroupListTagGroup["DynamicTagRuleId"].asString();
|
||||
if(!valueTagGroupListTagGroup["TagKey"].isNull())
|
||||
tagGroupListObject.tagKey = valueTagGroupListTagGroup["TagKey"].asString();
|
||||
if(!valueTagGroupListTagGroup["RegionId"].isNull())
|
||||
@@ -57,8 +57,6 @@ void DescribeDynamicTagRuleListResult::parse(const std::string &payload)
|
||||
for (auto allTagGroupListNodeMatchExpressMatchExpressItem : allMatchExpressNode)
|
||||
{
|
||||
TagGroup::MatchExpressItem matchExpressObject;
|
||||
if(!allTagGroupListNodeMatchExpressMatchExpressItem["TagName"].isNull())
|
||||
matchExpressObject.tagName = allTagGroupListNodeMatchExpressMatchExpressItem["TagName"].asString();
|
||||
if(!allTagGroupListNodeMatchExpressMatchExpressItem["TagValueMatchFunction"].isNull())
|
||||
matchExpressObject.tagValueMatchFunction = allTagGroupListNodeMatchExpressMatchExpressItem["TagValueMatchFunction"].asString();
|
||||
if(!allTagGroupListNodeMatchExpressMatchExpressItem["TagValue"].isNull())
|
||||
|
||||
@@ -49,6 +49,17 @@ void DescribeMonitorGroupsRequest::setIncludeTemplateHistory(bool includeTemplat
|
||||
setCoreParameter("IncludeTemplateHistory", includeTemplateHistory ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeMonitorGroupsRequest::getDynamicTagRuleId()const
|
||||
{
|
||||
return dynamicTagRuleId_;
|
||||
}
|
||||
|
||||
void DescribeMonitorGroupsRequest::setDynamicTagRuleId(const std::string& dynamicTagRuleId)
|
||||
{
|
||||
dynamicTagRuleId_ = dynamicTagRuleId;
|
||||
setCoreParameter("DynamicTagRuleId", dynamicTagRuleId);
|
||||
}
|
||||
|
||||
std::string DescribeMonitorGroupsRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
@@ -142,14 +153,3 @@ void DescribeMonitorGroupsRequest::setInstanceId(const std::string& instanceId)
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DescribeMonitorGroupsRequest::getDynamicTagGroupId()const
|
||||
{
|
||||
return dynamicTagGroupId_;
|
||||
}
|
||||
|
||||
void DescribeMonitorGroupsRequest::setDynamicTagGroupId(const std::string& dynamicTagGroupId)
|
||||
{
|
||||
dynamicTagGroupId_ = dynamicTagGroupId;
|
||||
setCoreParameter("DynamicTagGroupId", dynamicTagGroupId);
|
||||
}
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getInstanceChargeType()const;
|
||||
void setInstanceChargeType(const std::string& instanceChargeType);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -56,6 +58,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string instanceChargeType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -60,6 +60,17 @@ void DescribeAvailableResourceRequest::setSecurityToken(const std::string& secur
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getInstanceChargeType()const
|
||||
{
|
||||
return instanceChargeType_;
|
||||
|
||||
Reference in New Issue
Block a user