SLB SDK Auto Released By laysong.sl,Version:1.23.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
@@ -40,21 +40,21 @@ void DescribeMasterSlaveVServerGroupsResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allMasterSlaveVServerGroups = value["MasterSlaveVServerGroups"]["MasterSlaveVServerGroup"];
|
||||
for (auto value : allMasterSlaveVServerGroups)
|
||||
{
|
||||
MasterSlaveVServerGroup masterSlaveVServerGroupsObject;
|
||||
if(!value["MasterSlaveVServerGroupId"].isNull())
|
||||
masterSlaveVServerGroupsObject.masterSlaveVServerGroupId = value["MasterSlaveVServerGroupId"].asString();
|
||||
if(!value["MasterSlaveVServerGroupName"].isNull())
|
||||
masterSlaveVServerGroupsObject.masterSlaveVServerGroupName = value["MasterSlaveVServerGroupName"].asString();
|
||||
masterSlaveVServerGroups_.push_back(masterSlaveVServerGroupsObject);
|
||||
}
|
||||
auto allMasterSlaveVServerGroups = value["MasterSlaveVServerGroups"]["MasterSlaveVServerGroup"];
|
||||
for (auto value : allMasterSlaveVServerGroups)
|
||||
{
|
||||
MasterSlaveVServerGroup masterSlaveVServerGroupsObject;
|
||||
if(!value["MasterSlaveVServerGroupId"].isNull())
|
||||
masterSlaveVServerGroupsObject.masterSlaveVServerGroupId = value["MasterSlaveVServerGroupId"].asString();
|
||||
if(!value["MasterSlaveVServerGroupName"].isNull())
|
||||
masterSlaveVServerGroupsObject.masterSlaveVServerGroupName = value["MasterSlaveVServerGroupName"].asString();
|
||||
masterSlaveVServerGroups_.push_back(masterSlaveVServerGroupsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeMasterSlaveVServerGroupsResult::MasterSlaveVServerGroup> DescribeMasterSlaveVServerGroupsResult::getMasterSlaveVServerGroups()const
|
||||
{
|
||||
return masterSlaveVServerGroups_;
|
||||
}
|
||||
|
||||
std::vector<DescribeMasterSlaveVServerGroupsResult::MasterSlaveVServerGroup> DescribeMasterSlaveVServerGroupsResult::getMasterSlaveVServerGroups()const
|
||||
{
|
||||
return masterSlaveVServerGroups_;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user