Compare commits
5 Commits
Config-pat
...
tdsr-patch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
757d3d8922 | ||
|
|
a0af363375 | ||
|
|
a76d21c518 | ||
|
|
b04b7f6033 | ||
|
|
a3f2125666 |
15
CHANGELOG
15
CHANGELOG
@@ -1,3 +1,18 @@
|
||||
2020-11-19 Version: patch
|
||||
- Supported backend interface for ICBU.
|
||||
|
||||
2020-11-18 Version: patch
|
||||
- DescribeInstance support coldStorageSize.
|
||||
|
||||
2020-11-18 Version: patch
|
||||
- Update DescribeDedicatedClusterInstanceList InstanceStatus type.
|
||||
|
||||
2020-11-18 Version: patch
|
||||
- Generated 2018-01-11 for `rtc`.
|
||||
|
||||
2020-11-18 Version: patch
|
||||
- Supported webpage scan.
|
||||
|
||||
2020-11-17 Version: patch
|
||||
- Support event type in timeline of resource properties.
|
||||
- Support resourceOwnerId in evaluation result.
|
||||
|
||||
@@ -49,8 +49,8 @@ namespace AlibabaCloud
|
||||
void setEngine(const std::string& engine);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getInstanceStatus()const;
|
||||
void setInstanceStatus(int instanceStatus);
|
||||
std::string getInstanceStatus()const;
|
||||
void setInstanceStatus(const std::string& instanceStatus);
|
||||
std::string getDedicatedHostName()const;
|
||||
void setDedicatedHostName(const std::string& dedicatedHostName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -74,7 +74,7 @@ namespace AlibabaCloud
|
||||
std::string securityToken_;
|
||||
std::string engine_;
|
||||
int pageSize_;
|
||||
int instanceStatus_;
|
||||
std::string instanceStatus_;
|
||||
std::string dedicatedHostName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace AlibabaCloud
|
||||
std::string instanceId;
|
||||
std::string createTime;
|
||||
std::string instanceClass;
|
||||
int characterType;
|
||||
std::string characterType;
|
||||
std::string vswitchId;
|
||||
std::string instanceName;
|
||||
std::string connectionDomain;
|
||||
|
||||
@@ -41,20 +41,26 @@ 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 getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string zoneId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,42 +45,42 @@ void DescribeAvailableResourceResult::parse(const std::string &payload)
|
||||
SupportedDBType supportedDBTypesObject;
|
||||
if(!valueSupportedDBTypesSupportedDBType["DbType"].isNull())
|
||||
supportedDBTypesObject.dbType = valueSupportedDBTypesSupportedDBType["DbType"].asString();
|
||||
auto allAvailableZonesNode = allSupportedDBTypesNode["AvailableZones"]["AvailableZone"];
|
||||
for (auto allSupportedDBTypesNodeAvailableZonesAvailableZone : allAvailableZonesNode)
|
||||
auto allAvailableZonesNode = valueSupportedDBTypesSupportedDBType["AvailableZones"]["AvailableZone"];
|
||||
for (auto valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone : allAvailableZonesNode)
|
||||
{
|
||||
SupportedDBType::AvailableZone availableZonesObject;
|
||||
if(!allSupportedDBTypesNodeAvailableZonesAvailableZone["RegionId"].isNull())
|
||||
availableZonesObject.regionId = allSupportedDBTypesNodeAvailableZonesAvailableZone["RegionId"].asString();
|
||||
if(!allSupportedDBTypesNodeAvailableZonesAvailableZone["ZoneId"].isNull())
|
||||
availableZonesObject.zoneId = allSupportedDBTypesNodeAvailableZonesAvailableZone["ZoneId"].asString();
|
||||
auto allSupportedEngineVersionsNode = allAvailableZonesNode["SupportedEngineVersions"]["SupportedEngineVersion"];
|
||||
for (auto allAvailableZonesNodeSupportedEngineVersionsSupportedEngineVersion : allSupportedEngineVersionsNode)
|
||||
if(!valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone["RegionId"].isNull())
|
||||
availableZonesObject.regionId = valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone["RegionId"].asString();
|
||||
if(!valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone["ZoneId"].isNull())
|
||||
availableZonesObject.zoneId = valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone["ZoneId"].asString();
|
||||
auto allSupportedEngineVersionsNode = valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZone["SupportedEngineVersions"]["SupportedEngineVersion"];
|
||||
for (auto valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion : allSupportedEngineVersionsNode)
|
||||
{
|
||||
SupportedDBType::AvailableZone::SupportedEngineVersion supportedEngineVersionsObject;
|
||||
if(!allAvailableZonesNodeSupportedEngineVersionsSupportedEngineVersion["Version"].isNull())
|
||||
supportedEngineVersionsObject.version = allAvailableZonesNodeSupportedEngineVersionsSupportedEngineVersion["Version"].asString();
|
||||
auto allSupportedEnginesNode = allSupportedEngineVersionsNode["SupportedEngines"]["SupportedEngine"];
|
||||
for (auto allSupportedEngineVersionsNodeSupportedEnginesSupportedEngine : allSupportedEnginesNode)
|
||||
if(!valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion["Version"].isNull())
|
||||
supportedEngineVersionsObject.version = valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion["Version"].asString();
|
||||
auto allSupportedEnginesNode = valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersion["SupportedEngines"]["SupportedEngine"];
|
||||
for (auto valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine : allSupportedEnginesNode)
|
||||
{
|
||||
SupportedDBType::AvailableZone::SupportedEngineVersion::SupportedEngine supportedEnginesObject;
|
||||
if(!allSupportedEngineVersionsNodeSupportedEnginesSupportedEngine["Engine"].isNull())
|
||||
supportedEnginesObject.engine = allSupportedEngineVersionsNodeSupportedEnginesSupportedEngine["Engine"].asString();
|
||||
auto allSupportedNodeTypesNode = allSupportedEnginesNode["SupportedNodeTypes"]["SupportedNodeType"];
|
||||
for (auto allSupportedEnginesNodeSupportedNodeTypesSupportedNodeType : allSupportedNodeTypesNode)
|
||||
if(!valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine["Engine"].isNull())
|
||||
supportedEnginesObject.engine = valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine["Engine"].asString();
|
||||
auto allSupportedNodeTypesNode = valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngine["SupportedNodeTypes"]["SupportedNodeType"];
|
||||
for (auto valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType : allSupportedNodeTypesNode)
|
||||
{
|
||||
SupportedDBType::AvailableZone::SupportedEngineVersion::SupportedEngine::SupportedNodeType supportedNodeTypesObject;
|
||||
if(!allSupportedEnginesNodeSupportedNodeTypesSupportedNodeType["NodeType"].isNull())
|
||||
supportedNodeTypesObject.nodeType = allSupportedEnginesNodeSupportedNodeTypesSupportedNodeType["NodeType"].asString();
|
||||
if(!allSupportedEnginesNodeSupportedNodeTypesSupportedNodeType["NetworkTypes"].isNull())
|
||||
supportedNodeTypesObject.networkTypes = allSupportedEnginesNodeSupportedNodeTypesSupportedNodeType["NetworkTypes"].asString();
|
||||
auto allAvailableResourcesNode = allSupportedNodeTypesNode["AvailableResources"]["AvailableResource"];
|
||||
for (auto allSupportedNodeTypesNodeAvailableResourcesAvailableResource : allAvailableResourcesNode)
|
||||
if(!valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType["NodeType"].isNull())
|
||||
supportedNodeTypesObject.nodeType = valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType["NodeType"].asString();
|
||||
if(!valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType["NetworkTypes"].isNull())
|
||||
supportedNodeTypesObject.networkTypes = valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType["NetworkTypes"].asString();
|
||||
auto allAvailableResourcesNode = valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeType["AvailableResources"]["AvailableResource"];
|
||||
for (auto valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource : allAvailableResourcesNode)
|
||||
{
|
||||
SupportedDBType::AvailableZone::SupportedEngineVersion::SupportedEngine::SupportedNodeType::AvailableResource availableResourcesObject;
|
||||
if(!allSupportedNodeTypesNodeAvailableResourcesAvailableResource["InstanceClass"].isNull())
|
||||
availableResourcesObject.instanceClass = allSupportedNodeTypesNodeAvailableResourcesAvailableResource["InstanceClass"].asString();
|
||||
if(!allSupportedNodeTypesNodeAvailableResourcesAvailableResource["InstanceClassRemark"].isNull())
|
||||
availableResourcesObject.instanceClassRemark = allSupportedNodeTypesNodeAvailableResourcesAvailableResource["InstanceClassRemark"].asString();
|
||||
if(!valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource["InstanceClass"].isNull())
|
||||
availableResourcesObject.instanceClass = valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource["InstanceClass"].asString();
|
||||
if(!valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource["InstanceClassRemark"].isNull())
|
||||
availableResourcesObject.instanceClassRemark = valueSupportedDBTypesSupportedDBTypeAvailableZonesAvailableZoneSupportedEngineVersionsSupportedEngineVersionSupportedEnginesSupportedEngineSupportedNodeTypesSupportedNodeTypeAvailableResourcesAvailableResource["InstanceClassRemark"].asString();
|
||||
supportedNodeTypesObject.availableResources.push_back(availableResourcesObject);
|
||||
}
|
||||
supportedEnginesObject.supportedNodeTypes.push_back(supportedNodeTypesObject);
|
||||
|
||||
@@ -111,104 +111,104 @@ void DescribeDBInstanceAttributeResult::parse(const std::string &payload)
|
||||
dBInstancesObject.vpcAuthMode = valueDBInstancesDBInstance["VpcAuthMode"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceReleaseProtection"].isNull())
|
||||
dBInstancesObject.dBInstanceReleaseProtection = valueDBInstancesDBInstance["DBInstanceReleaseProtection"].asString() == "true";
|
||||
auto allMongosListNode = allDBInstancesNode["MongosList"]["MongosAttribute"];
|
||||
for (auto allDBInstancesNodeMongosListMongosAttribute : allMongosListNode)
|
||||
auto allMongosListNode = valueDBInstancesDBInstance["MongosList"]["MongosAttribute"];
|
||||
for (auto valueDBInstancesDBInstanceMongosListMongosAttribute : allMongosListNode)
|
||||
{
|
||||
DBInstance::MongosAttribute mongosListObject;
|
||||
if(!allDBInstancesNodeMongosListMongosAttribute["NodeId"].isNull())
|
||||
mongosListObject.nodeId = allDBInstancesNodeMongosListMongosAttribute["NodeId"].asString();
|
||||
if(!allDBInstancesNodeMongosListMongosAttribute["NodeDescription"].isNull())
|
||||
mongosListObject.nodeDescription = allDBInstancesNodeMongosListMongosAttribute["NodeDescription"].asString();
|
||||
if(!allDBInstancesNodeMongosListMongosAttribute["NodeClass"].isNull())
|
||||
mongosListObject.nodeClass = allDBInstancesNodeMongosListMongosAttribute["NodeClass"].asString();
|
||||
if(!allDBInstancesNodeMongosListMongosAttribute["ConnectSting"].isNull())
|
||||
mongosListObject.connectSting = allDBInstancesNodeMongosListMongosAttribute["ConnectSting"].asString();
|
||||
if(!allDBInstancesNodeMongosListMongosAttribute["MaxIOPS"].isNull())
|
||||
mongosListObject.maxIOPS = std::stoi(allDBInstancesNodeMongosListMongosAttribute["MaxIOPS"].asString());
|
||||
if(!allDBInstancesNodeMongosListMongosAttribute["MaxConnections"].isNull())
|
||||
mongosListObject.maxConnections = std::stoi(allDBInstancesNodeMongosListMongosAttribute["MaxConnections"].asString());
|
||||
if(!allDBInstancesNodeMongosListMongosAttribute["Port"].isNull())
|
||||
mongosListObject.port = std::stoi(allDBInstancesNodeMongosListMongosAttribute["Port"].asString());
|
||||
if(!allDBInstancesNodeMongosListMongosAttribute["VpcCloudInstanceId"].isNull())
|
||||
mongosListObject.vpcCloudInstanceId = allDBInstancesNodeMongosListMongosAttribute["VpcCloudInstanceId"].asString();
|
||||
if(!allDBInstancesNodeMongosListMongosAttribute["VPCId"].isNull())
|
||||
mongosListObject.vPCId = allDBInstancesNodeMongosListMongosAttribute["VPCId"].asString();
|
||||
if(!allDBInstancesNodeMongosListMongosAttribute["VSwitchId"].isNull())
|
||||
mongosListObject.vSwitchId = allDBInstancesNodeMongosListMongosAttribute["VSwitchId"].asString();
|
||||
if(!valueDBInstancesDBInstanceMongosListMongosAttribute["NodeId"].isNull())
|
||||
mongosListObject.nodeId = valueDBInstancesDBInstanceMongosListMongosAttribute["NodeId"].asString();
|
||||
if(!valueDBInstancesDBInstanceMongosListMongosAttribute["NodeDescription"].isNull())
|
||||
mongosListObject.nodeDescription = valueDBInstancesDBInstanceMongosListMongosAttribute["NodeDescription"].asString();
|
||||
if(!valueDBInstancesDBInstanceMongosListMongosAttribute["NodeClass"].isNull())
|
||||
mongosListObject.nodeClass = valueDBInstancesDBInstanceMongosListMongosAttribute["NodeClass"].asString();
|
||||
if(!valueDBInstancesDBInstanceMongosListMongosAttribute["ConnectSting"].isNull())
|
||||
mongosListObject.connectSting = valueDBInstancesDBInstanceMongosListMongosAttribute["ConnectSting"].asString();
|
||||
if(!valueDBInstancesDBInstanceMongosListMongosAttribute["MaxIOPS"].isNull())
|
||||
mongosListObject.maxIOPS = std::stoi(valueDBInstancesDBInstanceMongosListMongosAttribute["MaxIOPS"].asString());
|
||||
if(!valueDBInstancesDBInstanceMongosListMongosAttribute["MaxConnections"].isNull())
|
||||
mongosListObject.maxConnections = std::stoi(valueDBInstancesDBInstanceMongosListMongosAttribute["MaxConnections"].asString());
|
||||
if(!valueDBInstancesDBInstanceMongosListMongosAttribute["Port"].isNull())
|
||||
mongosListObject.port = std::stoi(valueDBInstancesDBInstanceMongosListMongosAttribute["Port"].asString());
|
||||
if(!valueDBInstancesDBInstanceMongosListMongosAttribute["VpcCloudInstanceId"].isNull())
|
||||
mongosListObject.vpcCloudInstanceId = valueDBInstancesDBInstanceMongosListMongosAttribute["VpcCloudInstanceId"].asString();
|
||||
if(!valueDBInstancesDBInstanceMongosListMongosAttribute["VPCId"].isNull())
|
||||
mongosListObject.vPCId = valueDBInstancesDBInstanceMongosListMongosAttribute["VPCId"].asString();
|
||||
if(!valueDBInstancesDBInstanceMongosListMongosAttribute["VSwitchId"].isNull())
|
||||
mongosListObject.vSwitchId = valueDBInstancesDBInstanceMongosListMongosAttribute["VSwitchId"].asString();
|
||||
dBInstancesObject.mongosList.push_back(mongosListObject);
|
||||
}
|
||||
auto allShardListNode = allDBInstancesNode["ShardList"]["ShardAttribute"];
|
||||
for (auto allDBInstancesNodeShardListShardAttribute : allShardListNode)
|
||||
auto allShardListNode = valueDBInstancesDBInstance["ShardList"]["ShardAttribute"];
|
||||
for (auto valueDBInstancesDBInstanceShardListShardAttribute : allShardListNode)
|
||||
{
|
||||
DBInstance::ShardAttribute shardListObject;
|
||||
if(!allDBInstancesNodeShardListShardAttribute["NodeId"].isNull())
|
||||
shardListObject.nodeId = allDBInstancesNodeShardListShardAttribute["NodeId"].asString();
|
||||
if(!allDBInstancesNodeShardListShardAttribute["NodeDescription"].isNull())
|
||||
shardListObject.nodeDescription = allDBInstancesNodeShardListShardAttribute["NodeDescription"].asString();
|
||||
if(!allDBInstancesNodeShardListShardAttribute["NodeClass"].isNull())
|
||||
shardListObject.nodeClass = allDBInstancesNodeShardListShardAttribute["NodeClass"].asString();
|
||||
if(!allDBInstancesNodeShardListShardAttribute["NodeStorage"].isNull())
|
||||
shardListObject.nodeStorage = std::stoi(allDBInstancesNodeShardListShardAttribute["NodeStorage"].asString());
|
||||
if(!allDBInstancesNodeShardListShardAttribute["MaxIOPS"].isNull())
|
||||
shardListObject.maxIOPS = std::stoi(allDBInstancesNodeShardListShardAttribute["MaxIOPS"].asString());
|
||||
if(!allDBInstancesNodeShardListShardAttribute["MaxConnections"].isNull())
|
||||
shardListObject.maxConnections = std::stoi(allDBInstancesNodeShardListShardAttribute["MaxConnections"].asString());
|
||||
if(!allDBInstancesNodeShardListShardAttribute["ConnectString"].isNull())
|
||||
shardListObject.connectString = allDBInstancesNodeShardListShardAttribute["ConnectString"].asString();
|
||||
if(!allDBInstancesNodeShardListShardAttribute["Port"].isNull())
|
||||
shardListObject.port = std::stoi(allDBInstancesNodeShardListShardAttribute["Port"].asString());
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["NodeId"].isNull())
|
||||
shardListObject.nodeId = valueDBInstancesDBInstanceShardListShardAttribute["NodeId"].asString();
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["NodeDescription"].isNull())
|
||||
shardListObject.nodeDescription = valueDBInstancesDBInstanceShardListShardAttribute["NodeDescription"].asString();
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["NodeClass"].isNull())
|
||||
shardListObject.nodeClass = valueDBInstancesDBInstanceShardListShardAttribute["NodeClass"].asString();
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["NodeStorage"].isNull())
|
||||
shardListObject.nodeStorage = std::stoi(valueDBInstancesDBInstanceShardListShardAttribute["NodeStorage"].asString());
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["MaxIOPS"].isNull())
|
||||
shardListObject.maxIOPS = std::stoi(valueDBInstancesDBInstanceShardListShardAttribute["MaxIOPS"].asString());
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["MaxConnections"].isNull())
|
||||
shardListObject.maxConnections = std::stoi(valueDBInstancesDBInstanceShardListShardAttribute["MaxConnections"].asString());
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["ConnectString"].isNull())
|
||||
shardListObject.connectString = valueDBInstancesDBInstanceShardListShardAttribute["ConnectString"].asString();
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["Port"].isNull())
|
||||
shardListObject.port = std::stoi(valueDBInstancesDBInstanceShardListShardAttribute["Port"].asString());
|
||||
dBInstancesObject.shardList.push_back(shardListObject);
|
||||
}
|
||||
auto allConfigserverListNode = allDBInstancesNode["ConfigserverList"]["ConfigserverAttribute"];
|
||||
for (auto allDBInstancesNodeConfigserverListConfigserverAttribute : allConfigserverListNode)
|
||||
auto allConfigserverListNode = valueDBInstancesDBInstance["ConfigserverList"]["ConfigserverAttribute"];
|
||||
for (auto valueDBInstancesDBInstanceConfigserverListConfigserverAttribute : allConfigserverListNode)
|
||||
{
|
||||
DBInstance::ConfigserverAttribute configserverListObject;
|
||||
if(!allDBInstancesNodeConfigserverListConfigserverAttribute["NodeId"].isNull())
|
||||
configserverListObject.nodeId = allDBInstancesNodeConfigserverListConfigserverAttribute["NodeId"].asString();
|
||||
if(!allDBInstancesNodeConfigserverListConfigserverAttribute["NodeDescription"].isNull())
|
||||
configserverListObject.nodeDescription = allDBInstancesNodeConfigserverListConfigserverAttribute["NodeDescription"].asString();
|
||||
if(!allDBInstancesNodeConfigserverListConfigserverAttribute["NodeClass"].isNull())
|
||||
configserverListObject.nodeClass = allDBInstancesNodeConfigserverListConfigserverAttribute["NodeClass"].asString();
|
||||
if(!allDBInstancesNodeConfigserverListConfigserverAttribute["NodeStorage"].isNull())
|
||||
configserverListObject.nodeStorage = std::stoi(allDBInstancesNodeConfigserverListConfigserverAttribute["NodeStorage"].asString());
|
||||
if(!allDBInstancesNodeConfigserverListConfigserverAttribute["MaxIOPS"].isNull())
|
||||
configserverListObject.maxIOPS = std::stoi(allDBInstancesNodeConfigserverListConfigserverAttribute["MaxIOPS"].asString());
|
||||
if(!allDBInstancesNodeConfigserverListConfigserverAttribute["MaxConnections"].isNull())
|
||||
configserverListObject.maxConnections = std::stoi(allDBInstancesNodeConfigserverListConfigserverAttribute["MaxConnections"].asString());
|
||||
if(!allDBInstancesNodeConfigserverListConfigserverAttribute["ConnectString"].isNull())
|
||||
configserverListObject.connectString = allDBInstancesNodeConfigserverListConfigserverAttribute["ConnectString"].asString();
|
||||
if(!allDBInstancesNodeConfigserverListConfigserverAttribute["Port"].isNull())
|
||||
configserverListObject.port = std::stoi(allDBInstancesNodeConfigserverListConfigserverAttribute["Port"].asString());
|
||||
if(!valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["NodeId"].isNull())
|
||||
configserverListObject.nodeId = valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["NodeId"].asString();
|
||||
if(!valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["NodeDescription"].isNull())
|
||||
configserverListObject.nodeDescription = valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["NodeDescription"].asString();
|
||||
if(!valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["NodeClass"].isNull())
|
||||
configserverListObject.nodeClass = valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["NodeClass"].asString();
|
||||
if(!valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["NodeStorage"].isNull())
|
||||
configserverListObject.nodeStorage = std::stoi(valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["NodeStorage"].asString());
|
||||
if(!valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["MaxIOPS"].isNull())
|
||||
configserverListObject.maxIOPS = std::stoi(valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["MaxIOPS"].asString());
|
||||
if(!valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["MaxConnections"].isNull())
|
||||
configserverListObject.maxConnections = std::stoi(valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["MaxConnections"].asString());
|
||||
if(!valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["ConnectString"].isNull())
|
||||
configserverListObject.connectString = valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["ConnectString"].asString();
|
||||
if(!valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["Port"].isNull())
|
||||
configserverListObject.port = std::stoi(valueDBInstancesDBInstanceConfigserverListConfigserverAttribute["Port"].asString());
|
||||
dBInstancesObject.configserverList.push_back(configserverListObject);
|
||||
}
|
||||
auto allReplicaSetsNode = allDBInstancesNode["ReplicaSets"]["ReplicaSet"];
|
||||
for (auto allDBInstancesNodeReplicaSetsReplicaSet : allReplicaSetsNode)
|
||||
auto allReplicaSetsNode = valueDBInstancesDBInstance["ReplicaSets"]["ReplicaSet"];
|
||||
for (auto valueDBInstancesDBInstanceReplicaSetsReplicaSet : allReplicaSetsNode)
|
||||
{
|
||||
DBInstance::ReplicaSet replicaSetsObject;
|
||||
if(!allDBInstancesNodeReplicaSetsReplicaSet["ReplicaSetRole"].isNull())
|
||||
replicaSetsObject.replicaSetRole = allDBInstancesNodeReplicaSetsReplicaSet["ReplicaSetRole"].asString();
|
||||
if(!allDBInstancesNodeReplicaSetsReplicaSet["ConnectionDomain"].isNull())
|
||||
replicaSetsObject.connectionDomain = allDBInstancesNodeReplicaSetsReplicaSet["ConnectionDomain"].asString();
|
||||
if(!allDBInstancesNodeReplicaSetsReplicaSet["ConnectionPort"].isNull())
|
||||
replicaSetsObject.connectionPort = allDBInstancesNodeReplicaSetsReplicaSet["ConnectionPort"].asString();
|
||||
if(!allDBInstancesNodeReplicaSetsReplicaSet["VPCCloudInstanceId"].isNull())
|
||||
replicaSetsObject.vPCCloudInstanceId = allDBInstancesNodeReplicaSetsReplicaSet["VPCCloudInstanceId"].asString();
|
||||
if(!allDBInstancesNodeReplicaSetsReplicaSet["VPCId"].isNull())
|
||||
replicaSetsObject.vPCId = allDBInstancesNodeReplicaSetsReplicaSet["VPCId"].asString();
|
||||
if(!allDBInstancesNodeReplicaSetsReplicaSet["VSwitchId"].isNull())
|
||||
replicaSetsObject.vSwitchId = allDBInstancesNodeReplicaSetsReplicaSet["VSwitchId"].asString();
|
||||
if(!allDBInstancesNodeReplicaSetsReplicaSet["NetworkType"].isNull())
|
||||
replicaSetsObject.networkType = allDBInstancesNodeReplicaSetsReplicaSet["NetworkType"].asString();
|
||||
if(!valueDBInstancesDBInstanceReplicaSetsReplicaSet["ReplicaSetRole"].isNull())
|
||||
replicaSetsObject.replicaSetRole = valueDBInstancesDBInstanceReplicaSetsReplicaSet["ReplicaSetRole"].asString();
|
||||
if(!valueDBInstancesDBInstanceReplicaSetsReplicaSet["ConnectionDomain"].isNull())
|
||||
replicaSetsObject.connectionDomain = valueDBInstancesDBInstanceReplicaSetsReplicaSet["ConnectionDomain"].asString();
|
||||
if(!valueDBInstancesDBInstanceReplicaSetsReplicaSet["ConnectionPort"].isNull())
|
||||
replicaSetsObject.connectionPort = valueDBInstancesDBInstanceReplicaSetsReplicaSet["ConnectionPort"].asString();
|
||||
if(!valueDBInstancesDBInstanceReplicaSetsReplicaSet["VPCCloudInstanceId"].isNull())
|
||||
replicaSetsObject.vPCCloudInstanceId = valueDBInstancesDBInstanceReplicaSetsReplicaSet["VPCCloudInstanceId"].asString();
|
||||
if(!valueDBInstancesDBInstanceReplicaSetsReplicaSet["VPCId"].isNull())
|
||||
replicaSetsObject.vPCId = valueDBInstancesDBInstanceReplicaSetsReplicaSet["VPCId"].asString();
|
||||
if(!valueDBInstancesDBInstanceReplicaSetsReplicaSet["VSwitchId"].isNull())
|
||||
replicaSetsObject.vSwitchId = valueDBInstancesDBInstanceReplicaSetsReplicaSet["VSwitchId"].asString();
|
||||
if(!valueDBInstancesDBInstanceReplicaSetsReplicaSet["NetworkType"].isNull())
|
||||
replicaSetsObject.networkType = valueDBInstancesDBInstanceReplicaSetsReplicaSet["NetworkType"].asString();
|
||||
dBInstancesObject.replicaSets.push_back(replicaSetsObject);
|
||||
}
|
||||
auto allTagsNode = allDBInstancesNode["Tags"]["Tag"];
|
||||
for (auto allDBInstancesNodeTagsTag : allTagsNode)
|
||||
auto allTagsNode = valueDBInstancesDBInstance["Tags"]["Tag"];
|
||||
for (auto valueDBInstancesDBInstanceTagsTag : allTagsNode)
|
||||
{
|
||||
DBInstance::Tag tagsObject;
|
||||
if(!allDBInstancesNodeTagsTag["Key"].isNull())
|
||||
tagsObject.key = allDBInstancesNodeTagsTag["Key"].asString();
|
||||
if(!allDBInstancesNodeTagsTag["Value"].isNull())
|
||||
tagsObject.value = allDBInstancesNodeTagsTag["Value"].asString();
|
||||
if(!valueDBInstancesDBInstanceTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueDBInstancesDBInstanceTagsTag["Key"].asString();
|
||||
if(!valueDBInstancesDBInstanceTagsTag["Value"].isNull())
|
||||
tagsObject.value = valueDBInstancesDBInstanceTagsTag["Value"].asString();
|
||||
dBInstancesObject.tags.push_back(tagsObject);
|
||||
}
|
||||
dBInstances_.push_back(dBInstancesObject);
|
||||
|
||||
@@ -49,14 +49,14 @@ void DescribeDBInstancePerformanceResult::parse(const std::string &payload)
|
||||
performanceKeysObject.unit = valuePerformanceKeysPerformanceKey["Unit"].asString();
|
||||
if(!valuePerformanceKeysPerformanceKey["ValueFormat"].isNull())
|
||||
performanceKeysObject.valueFormat = valuePerformanceKeysPerformanceKey["ValueFormat"].asString();
|
||||
auto allPerformanceValuesNode = allPerformanceKeysNode["PerformanceValues"]["PerformanceValue"];
|
||||
for (auto allPerformanceKeysNodePerformanceValuesPerformanceValue : allPerformanceValuesNode)
|
||||
auto allPerformanceValuesNode = valuePerformanceKeysPerformanceKey["PerformanceValues"]["PerformanceValue"];
|
||||
for (auto valuePerformanceKeysPerformanceKeyPerformanceValuesPerformanceValue : allPerformanceValuesNode)
|
||||
{
|
||||
PerformanceKey::PerformanceValue performanceValuesObject;
|
||||
if(!allPerformanceKeysNodePerformanceValuesPerformanceValue["Value"].isNull())
|
||||
performanceValuesObject.value = allPerformanceKeysNodePerformanceValuesPerformanceValue["Value"].asString();
|
||||
if(!allPerformanceKeysNodePerformanceValuesPerformanceValue["Date"].isNull())
|
||||
performanceValuesObject.date = allPerformanceKeysNodePerformanceValuesPerformanceValue["Date"].asString();
|
||||
if(!valuePerformanceKeysPerformanceKeyPerformanceValuesPerformanceValue["Value"].isNull())
|
||||
performanceValuesObject.value = valuePerformanceKeysPerformanceKeyPerformanceValuesPerformanceValue["Value"].asString();
|
||||
if(!valuePerformanceKeysPerformanceKeyPerformanceValuesPerformanceValue["Date"].isNull())
|
||||
performanceValuesObject.date = valuePerformanceKeysPerformanceKeyPerformanceValuesPerformanceValue["Date"].asString();
|
||||
performanceKeysObject.performanceValues.push_back(performanceValuesObject);
|
||||
}
|
||||
performanceKeys_.push_back(performanceKeysObject);
|
||||
|
||||
@@ -85,40 +85,40 @@ void DescribeDBInstancesResult::parse(const std::string &payload)
|
||||
dBInstancesObject.destroyTime = valueDBInstancesDBInstance["DestroyTime"].asString();
|
||||
if(!valueDBInstancesDBInstance["VpcAuthMode"].isNull())
|
||||
dBInstancesObject.vpcAuthMode = valueDBInstancesDBInstance["VpcAuthMode"].asString();
|
||||
auto allMongosListNode = allDBInstancesNode["MongosList"]["MongosAttribute"];
|
||||
for (auto allDBInstancesNodeMongosListMongosAttribute : allMongosListNode)
|
||||
auto allMongosListNode = valueDBInstancesDBInstance["MongosList"]["MongosAttribute"];
|
||||
for (auto valueDBInstancesDBInstanceMongosListMongosAttribute : allMongosListNode)
|
||||
{
|
||||
DBInstance::MongosAttribute mongosListObject;
|
||||
if(!allDBInstancesNodeMongosListMongosAttribute["NodeId"].isNull())
|
||||
mongosListObject.nodeId = allDBInstancesNodeMongosListMongosAttribute["NodeId"].asString();
|
||||
if(!allDBInstancesNodeMongosListMongosAttribute["NodeDescription"].isNull())
|
||||
mongosListObject.nodeDescription = allDBInstancesNodeMongosListMongosAttribute["NodeDescription"].asString();
|
||||
if(!allDBInstancesNodeMongosListMongosAttribute["NodeClass"].isNull())
|
||||
mongosListObject.nodeClass = allDBInstancesNodeMongosListMongosAttribute["NodeClass"].asString();
|
||||
if(!valueDBInstancesDBInstanceMongosListMongosAttribute["NodeId"].isNull())
|
||||
mongosListObject.nodeId = valueDBInstancesDBInstanceMongosListMongosAttribute["NodeId"].asString();
|
||||
if(!valueDBInstancesDBInstanceMongosListMongosAttribute["NodeDescription"].isNull())
|
||||
mongosListObject.nodeDescription = valueDBInstancesDBInstanceMongosListMongosAttribute["NodeDescription"].asString();
|
||||
if(!valueDBInstancesDBInstanceMongosListMongosAttribute["NodeClass"].isNull())
|
||||
mongosListObject.nodeClass = valueDBInstancesDBInstanceMongosListMongosAttribute["NodeClass"].asString();
|
||||
dBInstancesObject.mongosList.push_back(mongosListObject);
|
||||
}
|
||||
auto allShardListNode = allDBInstancesNode["ShardList"]["ShardAttribute"];
|
||||
for (auto allDBInstancesNodeShardListShardAttribute : allShardListNode)
|
||||
auto allShardListNode = valueDBInstancesDBInstance["ShardList"]["ShardAttribute"];
|
||||
for (auto valueDBInstancesDBInstanceShardListShardAttribute : allShardListNode)
|
||||
{
|
||||
DBInstance::ShardAttribute shardListObject;
|
||||
if(!allDBInstancesNodeShardListShardAttribute["NodeId"].isNull())
|
||||
shardListObject.nodeId = allDBInstancesNodeShardListShardAttribute["NodeId"].asString();
|
||||
if(!allDBInstancesNodeShardListShardAttribute["NodeDescription"].isNull())
|
||||
shardListObject.nodeDescription = allDBInstancesNodeShardListShardAttribute["NodeDescription"].asString();
|
||||
if(!allDBInstancesNodeShardListShardAttribute["NodeClass"].isNull())
|
||||
shardListObject.nodeClass = allDBInstancesNodeShardListShardAttribute["NodeClass"].asString();
|
||||
if(!allDBInstancesNodeShardListShardAttribute["NodeStorage"].isNull())
|
||||
shardListObject.nodeStorage = std::stoi(allDBInstancesNodeShardListShardAttribute["NodeStorage"].asString());
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["NodeId"].isNull())
|
||||
shardListObject.nodeId = valueDBInstancesDBInstanceShardListShardAttribute["NodeId"].asString();
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["NodeDescription"].isNull())
|
||||
shardListObject.nodeDescription = valueDBInstancesDBInstanceShardListShardAttribute["NodeDescription"].asString();
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["NodeClass"].isNull())
|
||||
shardListObject.nodeClass = valueDBInstancesDBInstanceShardListShardAttribute["NodeClass"].asString();
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["NodeStorage"].isNull())
|
||||
shardListObject.nodeStorage = std::stoi(valueDBInstancesDBInstanceShardListShardAttribute["NodeStorage"].asString());
|
||||
dBInstancesObject.shardList.push_back(shardListObject);
|
||||
}
|
||||
auto allTagsNode = allDBInstancesNode["Tags"]["Tag"];
|
||||
for (auto allDBInstancesNodeTagsTag : allTagsNode)
|
||||
auto allTagsNode = valueDBInstancesDBInstance["Tags"]["Tag"];
|
||||
for (auto valueDBInstancesDBInstanceTagsTag : allTagsNode)
|
||||
{
|
||||
DBInstance::Tag tagsObject;
|
||||
if(!allDBInstancesNodeTagsTag["Key"].isNull())
|
||||
tagsObject.key = allDBInstancesNodeTagsTag["Key"].asString();
|
||||
if(!allDBInstancesNodeTagsTag["Value"].isNull())
|
||||
tagsObject.value = allDBInstancesNodeTagsTag["Value"].asString();
|
||||
if(!valueDBInstancesDBInstanceTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueDBInstancesDBInstanceTagsTag["Key"].asString();
|
||||
if(!valueDBInstancesDBInstanceTagsTag["Value"].isNull())
|
||||
tagsObject.value = valueDBInstancesDBInstanceTagsTag["Value"].asString();
|
||||
dBInstancesObject.tags.push_back(tagsObject);
|
||||
}
|
||||
dBInstances_.push_back(dBInstancesObject);
|
||||
|
||||
@@ -104,15 +104,15 @@ void DescribeDedicatedClusterInstanceListRequest::setPageSize(int pageSize)
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int DescribeDedicatedClusterInstanceListRequest::getInstanceStatus()const
|
||||
std::string DescribeDedicatedClusterInstanceListRequest::getInstanceStatus()const
|
||||
{
|
||||
return instanceStatus_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedClusterInstanceListRequest::setInstanceStatus(int instanceStatus)
|
||||
void DescribeDedicatedClusterInstanceListRequest::setInstanceStatus(const std::string& instanceStatus)
|
||||
{
|
||||
instanceStatus_ = instanceStatus;
|
||||
setParameter("InstanceStatus", std::to_string(instanceStatus));
|
||||
setParameter("InstanceStatus", instanceStatus);
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedClusterInstanceListRequest::getDedicatedHostName()const
|
||||
|
||||
@@ -58,7 +58,7 @@ void DescribeDedicatedClusterInstanceListResult::parse(const std::string &payloa
|
||||
if(!valueInstancesdbInstance["EngineVersion"].isNull())
|
||||
instancesObject.engineVersion = valueInstancesdbInstance["EngineVersion"].asString();
|
||||
if(!valueInstancesdbInstance["CharacterType"].isNull())
|
||||
instancesObject.characterType = std::stoi(valueInstancesdbInstance["CharacterType"].asString());
|
||||
instancesObject.characterType = valueInstancesdbInstance["CharacterType"].asString();
|
||||
if(!valueInstancesdbInstance["MaintainStartTime"].isNull())
|
||||
instancesObject.maintainStartTime = valueInstancesdbInstance["MaintainStartTime"].asString();
|
||||
if(!valueInstancesdbInstance["MaintainEndTime"].isNull())
|
||||
@@ -83,26 +83,26 @@ void DescribeDedicatedClusterInstanceListResult::parse(const std::string &payloa
|
||||
instancesObject.connectionDomain = valueInstancesdbInstance["ConnectionDomain"].asString();
|
||||
if(!valueInstancesdbInstance["CreateTime"].isNull())
|
||||
instancesObject.createTime = valueInstancesdbInstance["CreateTime"].asString();
|
||||
auto allInstanceNodeListNode = allInstancesNode["InstanceNodeList"]["InstanceNodes"];
|
||||
for (auto allInstancesNodeInstanceNodeListInstanceNodes : allInstanceNodeListNode)
|
||||
auto allInstanceNodeListNode = valueInstancesdbInstance["InstanceNodeList"]["InstanceNodes"];
|
||||
for (auto valueInstancesdbInstanceInstanceNodeListInstanceNodes : allInstanceNodeListNode)
|
||||
{
|
||||
DbInstance::InstanceNodes instanceNodeListObject;
|
||||
if(!allInstancesNodeInstanceNodeListInstanceNodes["InsName"].isNull())
|
||||
instanceNodeListObject.insName = allInstancesNodeInstanceNodeListInstanceNodes["InsName"].asString();
|
||||
if(!allInstancesNodeInstanceNodeListInstanceNodes["Role"].isNull())
|
||||
instanceNodeListObject.role = allInstancesNodeInstanceNodeListInstanceNodes["Role"].asString();
|
||||
if(!allInstancesNodeInstanceNodeListInstanceNodes["NodeId"].isNull())
|
||||
instanceNodeListObject.nodeId = std::stoi(allInstancesNodeInstanceNodeListInstanceNodes["NodeId"].asString());
|
||||
if(!allInstancesNodeInstanceNodeListInstanceNodes["NodeType"].isNull())
|
||||
instanceNodeListObject.nodeType = allInstancesNodeInstanceNodeListInstanceNodes["NodeType"].asString();
|
||||
if(!allInstancesNodeInstanceNodeListInstanceNodes["NodeIp"].isNull())
|
||||
instanceNodeListObject.nodeIp = allInstancesNodeInstanceNodeListInstanceNodes["NodeIp"].asString();
|
||||
if(!allInstancesNodeInstanceNodeListInstanceNodes["Port"].isNull())
|
||||
instanceNodeListObject.port = std::stoi(allInstancesNodeInstanceNodeListInstanceNodes["Port"].asString());
|
||||
if(!allInstancesNodeInstanceNodeListInstanceNodes["ZoneId"].isNull())
|
||||
instanceNodeListObject.zoneId = allInstancesNodeInstanceNodeListInstanceNodes["ZoneId"].asString();
|
||||
if(!allInstancesNodeInstanceNodeListInstanceNodes["DedicatedHostName"].isNull())
|
||||
instanceNodeListObject.dedicatedHostName = allInstancesNodeInstanceNodeListInstanceNodes["DedicatedHostName"].asString();
|
||||
if(!valueInstancesdbInstanceInstanceNodeListInstanceNodes["InsName"].isNull())
|
||||
instanceNodeListObject.insName = valueInstancesdbInstanceInstanceNodeListInstanceNodes["InsName"].asString();
|
||||
if(!valueInstancesdbInstanceInstanceNodeListInstanceNodes["Role"].isNull())
|
||||
instanceNodeListObject.role = valueInstancesdbInstanceInstanceNodeListInstanceNodes["Role"].asString();
|
||||
if(!valueInstancesdbInstanceInstanceNodeListInstanceNodes["NodeId"].isNull())
|
||||
instanceNodeListObject.nodeId = std::stoi(valueInstancesdbInstanceInstanceNodeListInstanceNodes["NodeId"].asString());
|
||||
if(!valueInstancesdbInstanceInstanceNodeListInstanceNodes["NodeType"].isNull())
|
||||
instanceNodeListObject.nodeType = valueInstancesdbInstanceInstanceNodeListInstanceNodes["NodeType"].asString();
|
||||
if(!valueInstancesdbInstanceInstanceNodeListInstanceNodes["NodeIp"].isNull())
|
||||
instanceNodeListObject.nodeIp = valueInstancesdbInstanceInstanceNodeListInstanceNodes["NodeIp"].asString();
|
||||
if(!valueInstancesdbInstanceInstanceNodeListInstanceNodes["Port"].isNull())
|
||||
instanceNodeListObject.port = std::stoi(valueInstancesdbInstanceInstanceNodeListInstanceNodes["Port"].asString());
|
||||
if(!valueInstancesdbInstanceInstanceNodeListInstanceNodes["ZoneId"].isNull())
|
||||
instanceNodeListObject.zoneId = valueInstancesdbInstanceInstanceNodeListInstanceNodes["ZoneId"].asString();
|
||||
if(!valueInstancesdbInstanceInstanceNodeListInstanceNodes["DedicatedHostName"].isNull())
|
||||
instanceNodeListObject.dedicatedHostName = valueInstancesdbInstanceInstanceNodeListInstanceNodes["DedicatedHostName"].asString();
|
||||
instancesObject.instanceNodeList.push_back(instanceNodeListObject);
|
||||
}
|
||||
instances_.push_back(instancesObject);
|
||||
|
||||
@@ -71,14 +71,14 @@ void DescribeIndexRecommendationResult::parse(const std::string &payload)
|
||||
analyzationsObject.lastExecutionTime = valueAnalyzationsAnalyzation["LastExecutionTime"].asString();
|
||||
if(!valueAnalyzationsAnalyzation["ExecutionPlan"].isNull())
|
||||
analyzationsObject.executionPlan = valueAnalyzationsAnalyzation["ExecutionPlan"].asString();
|
||||
auto allIndexRecommendationsNode = allAnalyzationsNode["IndexRecommendations"]["Recommendation"];
|
||||
for (auto allAnalyzationsNodeIndexRecommendationsRecommendation : allIndexRecommendationsNode)
|
||||
auto allIndexRecommendationsNode = valueAnalyzationsAnalyzation["IndexRecommendations"]["Recommendation"];
|
||||
for (auto valueAnalyzationsAnalyzationIndexRecommendationsRecommendation : allIndexRecommendationsNode)
|
||||
{
|
||||
Analyzation::Recommendation indexRecommendationsObject;
|
||||
if(!allAnalyzationsNodeIndexRecommendationsRecommendation["RecmdType"].isNull())
|
||||
indexRecommendationsObject.recmdType = allAnalyzationsNodeIndexRecommendationsRecommendation["RecmdType"].asString();
|
||||
if(!allAnalyzationsNodeIndexRecommendationsRecommendation["Content"].isNull())
|
||||
indexRecommendationsObject.content = allAnalyzationsNodeIndexRecommendationsRecommendation["Content"].asString();
|
||||
if(!valueAnalyzationsAnalyzationIndexRecommendationsRecommendation["RecmdType"].isNull())
|
||||
indexRecommendationsObject.recmdType = valueAnalyzationsAnalyzationIndexRecommendationsRecommendation["RecmdType"].asString();
|
||||
if(!valueAnalyzationsAnalyzationIndexRecommendationsRecommendation["Content"].isNull())
|
||||
indexRecommendationsObject.content = valueAnalyzationsAnalyzationIndexRecommendationsRecommendation["Content"].asString();
|
||||
analyzationsObject.indexRecommendations.push_back(indexRecommendationsObject);
|
||||
}
|
||||
auto allIndexCombines = value["IndexCombines"]["IndexCombine"];
|
||||
|
||||
@@ -60,6 +60,17 @@ void DescribeRegionsRequest::setSecurityToken(const std::string& securityToken)
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -93,3 +104,14 @@ void DescribeRegionsRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
|
||||
@@ -47,16 +47,16 @@ void DescribeRegionsResult::parse(const std::string &payload)
|
||||
regionsObject.regionId = valueRegionsDdsRegion["RegionId"].asString();
|
||||
if(!valueRegionsDdsRegion["ZoneIds"].isNull())
|
||||
regionsObject.zoneIds = valueRegionsDdsRegion["ZoneIds"].asString();
|
||||
auto allZonesNode = allRegionsNode["Zones"]["Zone"];
|
||||
for (auto allRegionsNodeZonesZone : allZonesNode)
|
||||
auto allZonesNode = valueRegionsDdsRegion["Zones"]["Zone"];
|
||||
for (auto valueRegionsDdsRegionZonesZone : allZonesNode)
|
||||
{
|
||||
DdsRegion::Zone zonesObject;
|
||||
if(!allRegionsNodeZonesZone["ZoneId"].isNull())
|
||||
zonesObject.zoneId = allRegionsNodeZonesZone["ZoneId"].asString();
|
||||
if(!allRegionsNodeZonesZone["VpcEnabled"].isNull())
|
||||
zonesObject.vpcEnabled = allRegionsNodeZonesZone["VpcEnabled"].asString() == "true";
|
||||
if(!allRegionsNodeZonesZone["ZoneName"].isNull())
|
||||
zonesObject.zoneName = allRegionsNodeZonesZone["ZoneName"].asString();
|
||||
if(!valueRegionsDdsRegionZonesZone["ZoneId"].isNull())
|
||||
zonesObject.zoneId = valueRegionsDdsRegionZonesZone["ZoneId"].asString();
|
||||
if(!valueRegionsDdsRegionZonesZone["VpcEnabled"].isNull())
|
||||
zonesObject.vpcEnabled = valueRegionsDdsRegionZonesZone["VpcEnabled"].asString() == "true";
|
||||
if(!valueRegionsDdsRegionZonesZone["ZoneName"].isNull())
|
||||
zonesObject.zoneName = valueRegionsDdsRegionZonesZone["ZoneName"].asString();
|
||||
regionsObject.zones.push_back(zonesObject);
|
||||
}
|
||||
regions_.push_back(regionsObject);
|
||||
|
||||
@@ -111,6 +111,8 @@ set(green_public_header_model
|
||||
include/alibabacloud/green/model/DescribeKeywordLibResult.h
|
||||
include/alibabacloud/green/model/DescribeNotificationSettingRequest.h
|
||||
include/alibabacloud/green/model/DescribeNotificationSettingResult.h
|
||||
include/alibabacloud/green/model/DescribeOpenApiRcpStatsRequest.h
|
||||
include/alibabacloud/green/model/DescribeOpenApiRcpStatsResult.h
|
||||
include/alibabacloud/green/model/DescribeOpenApiUsageRequest.h
|
||||
include/alibabacloud/green/model/DescribeOpenApiUsageResult.h
|
||||
include/alibabacloud/green/model/DescribeOssCallbackSettingRequest.h
|
||||
@@ -159,6 +161,8 @@ set(green_public_header_model
|
||||
include/alibabacloud/green/model/DetectFaceResult.h
|
||||
include/alibabacloud/green/model/ExportKeywordsRequest.h
|
||||
include/alibabacloud/green/model/ExportKeywordsResult.h
|
||||
include/alibabacloud/green/model/ExportOpenApiRcpStatsRequest.h
|
||||
include/alibabacloud/green/model/ExportOpenApiRcpStatsResult.h
|
||||
include/alibabacloud/green/model/ExportOssResultRequest.h
|
||||
include/alibabacloud/green/model/ExportOssResultResult.h
|
||||
include/alibabacloud/green/model/FileAsyncScanRequest.h
|
||||
@@ -199,6 +203,12 @@ set(green_public_header_model
|
||||
include/alibabacloud/green/model/ListSimilarityImagesResult.h
|
||||
include/alibabacloud/green/model/ListSimilarityLibrariesRequest.h
|
||||
include/alibabacloud/green/model/ListSimilarityLibrariesResult.h
|
||||
include/alibabacloud/green/model/LiveStreamAsyncScanRequest.h
|
||||
include/alibabacloud/green/model/LiveStreamAsyncScanResult.h
|
||||
include/alibabacloud/green/model/LiveStreamAsyncScanResultsRequest.h
|
||||
include/alibabacloud/green/model/LiveStreamAsyncScanResultsResult.h
|
||||
include/alibabacloud/green/model/LiveStreamCancelScanRequest.h
|
||||
include/alibabacloud/green/model/LiveStreamCancelScanResult.h
|
||||
include/alibabacloud/green/model/MarkAuditContentRequest.h
|
||||
include/alibabacloud/green/model/MarkAuditContentResult.h
|
||||
include/alibabacloud/green/model/MarkAuditContentItemRequest.h
|
||||
@@ -291,6 +301,10 @@ set(green_public_header_model
|
||||
include/alibabacloud/green/model/VideoFeedbackResult.h
|
||||
include/alibabacloud/green/model/VideoSyncScanRequest.h
|
||||
include/alibabacloud/green/model/VideoSyncScanResult.h
|
||||
include/alibabacloud/green/model/VodAsyncScanRequest.h
|
||||
include/alibabacloud/green/model/VodAsyncScanResult.h
|
||||
include/alibabacloud/green/model/VodAsyncScanResultsRequest.h
|
||||
include/alibabacloud/green/model/VodAsyncScanResultsResult.h
|
||||
include/alibabacloud/green/model/VoiceAsyncScanRequest.h
|
||||
include/alibabacloud/green/model/VoiceAsyncScanResult.h
|
||||
include/alibabacloud/green/model/VoiceAsyncScanResultsRequest.h
|
||||
@@ -308,7 +322,13 @@ set(green_public_header_model
|
||||
include/alibabacloud/green/model/VoiceIdentityUnregisterRequest.h
|
||||
include/alibabacloud/green/model/VoiceIdentityUnregisterResult.h
|
||||
include/alibabacloud/green/model/VoiceSyncScanRequest.h
|
||||
include/alibabacloud/green/model/VoiceSyncScanResult.h )
|
||||
include/alibabacloud/green/model/VoiceSyncScanResult.h
|
||||
include/alibabacloud/green/model/WebpageAsyncScanRequest.h
|
||||
include/alibabacloud/green/model/WebpageAsyncScanResult.h
|
||||
include/alibabacloud/green/model/WebpageAsyncScanResultsRequest.h
|
||||
include/alibabacloud/green/model/WebpageAsyncScanResultsResult.h
|
||||
include/alibabacloud/green/model/WebpageSyncScanRequest.h
|
||||
include/alibabacloud/green/model/WebpageSyncScanResult.h )
|
||||
|
||||
set(green_src
|
||||
src/GreenClient.cc
|
||||
@@ -402,6 +422,8 @@ set(green_src
|
||||
src/model/DescribeKeywordLibResult.cc
|
||||
src/model/DescribeNotificationSettingRequest.cc
|
||||
src/model/DescribeNotificationSettingResult.cc
|
||||
src/model/DescribeOpenApiRcpStatsRequest.cc
|
||||
src/model/DescribeOpenApiRcpStatsResult.cc
|
||||
src/model/DescribeOpenApiUsageRequest.cc
|
||||
src/model/DescribeOpenApiUsageResult.cc
|
||||
src/model/DescribeOssCallbackSettingRequest.cc
|
||||
@@ -450,6 +472,8 @@ set(green_src
|
||||
src/model/DetectFaceResult.cc
|
||||
src/model/ExportKeywordsRequest.cc
|
||||
src/model/ExportKeywordsResult.cc
|
||||
src/model/ExportOpenApiRcpStatsRequest.cc
|
||||
src/model/ExportOpenApiRcpStatsResult.cc
|
||||
src/model/ExportOssResultRequest.cc
|
||||
src/model/ExportOssResultResult.cc
|
||||
src/model/FileAsyncScanRequest.cc
|
||||
@@ -490,6 +514,12 @@ set(green_src
|
||||
src/model/ListSimilarityImagesResult.cc
|
||||
src/model/ListSimilarityLibrariesRequest.cc
|
||||
src/model/ListSimilarityLibrariesResult.cc
|
||||
src/model/LiveStreamAsyncScanRequest.cc
|
||||
src/model/LiveStreamAsyncScanResult.cc
|
||||
src/model/LiveStreamAsyncScanResultsRequest.cc
|
||||
src/model/LiveStreamAsyncScanResultsResult.cc
|
||||
src/model/LiveStreamCancelScanRequest.cc
|
||||
src/model/LiveStreamCancelScanResult.cc
|
||||
src/model/MarkAuditContentRequest.cc
|
||||
src/model/MarkAuditContentResult.cc
|
||||
src/model/MarkAuditContentItemRequest.cc
|
||||
@@ -582,6 +612,10 @@ set(green_src
|
||||
src/model/VideoFeedbackResult.cc
|
||||
src/model/VideoSyncScanRequest.cc
|
||||
src/model/VideoSyncScanResult.cc
|
||||
src/model/VodAsyncScanRequest.cc
|
||||
src/model/VodAsyncScanResult.cc
|
||||
src/model/VodAsyncScanResultsRequest.cc
|
||||
src/model/VodAsyncScanResultsResult.cc
|
||||
src/model/VoiceAsyncScanRequest.cc
|
||||
src/model/VoiceAsyncScanResult.cc
|
||||
src/model/VoiceAsyncScanResultsRequest.cc
|
||||
@@ -599,7 +633,13 @@ set(green_src
|
||||
src/model/VoiceIdentityUnregisterRequest.cc
|
||||
src/model/VoiceIdentityUnregisterResult.cc
|
||||
src/model/VoiceSyncScanRequest.cc
|
||||
src/model/VoiceSyncScanResult.cc )
|
||||
src/model/VoiceSyncScanResult.cc
|
||||
src/model/WebpageAsyncScanRequest.cc
|
||||
src/model/WebpageAsyncScanResult.cc
|
||||
src/model/WebpageAsyncScanResultsRequest.cc
|
||||
src/model/WebpageAsyncScanResultsResult.cc
|
||||
src/model/WebpageSyncScanRequest.cc
|
||||
src/model/WebpageSyncScanResult.cc )
|
||||
|
||||
add_library(green ${LIB_TYPE}
|
||||
${green_public_header}
|
||||
|
||||
@@ -112,6 +112,8 @@
|
||||
#include "model/DescribeKeywordLibResult.h"
|
||||
#include "model/DescribeNotificationSettingRequest.h"
|
||||
#include "model/DescribeNotificationSettingResult.h"
|
||||
#include "model/DescribeOpenApiRcpStatsRequest.h"
|
||||
#include "model/DescribeOpenApiRcpStatsResult.h"
|
||||
#include "model/DescribeOpenApiUsageRequest.h"
|
||||
#include "model/DescribeOpenApiUsageResult.h"
|
||||
#include "model/DescribeOssCallbackSettingRequest.h"
|
||||
@@ -160,6 +162,8 @@
|
||||
#include "model/DetectFaceResult.h"
|
||||
#include "model/ExportKeywordsRequest.h"
|
||||
#include "model/ExportKeywordsResult.h"
|
||||
#include "model/ExportOpenApiRcpStatsRequest.h"
|
||||
#include "model/ExportOpenApiRcpStatsResult.h"
|
||||
#include "model/ExportOssResultRequest.h"
|
||||
#include "model/ExportOssResultResult.h"
|
||||
#include "model/FileAsyncScanRequest.h"
|
||||
@@ -200,6 +204,12 @@
|
||||
#include "model/ListSimilarityImagesResult.h"
|
||||
#include "model/ListSimilarityLibrariesRequest.h"
|
||||
#include "model/ListSimilarityLibrariesResult.h"
|
||||
#include "model/LiveStreamAsyncScanRequest.h"
|
||||
#include "model/LiveStreamAsyncScanResult.h"
|
||||
#include "model/LiveStreamAsyncScanResultsRequest.h"
|
||||
#include "model/LiveStreamAsyncScanResultsResult.h"
|
||||
#include "model/LiveStreamCancelScanRequest.h"
|
||||
#include "model/LiveStreamCancelScanResult.h"
|
||||
#include "model/MarkAuditContentRequest.h"
|
||||
#include "model/MarkAuditContentResult.h"
|
||||
#include "model/MarkAuditContentItemRequest.h"
|
||||
@@ -292,6 +302,10 @@
|
||||
#include "model/VideoFeedbackResult.h"
|
||||
#include "model/VideoSyncScanRequest.h"
|
||||
#include "model/VideoSyncScanResult.h"
|
||||
#include "model/VodAsyncScanRequest.h"
|
||||
#include "model/VodAsyncScanResult.h"
|
||||
#include "model/VodAsyncScanResultsRequest.h"
|
||||
#include "model/VodAsyncScanResultsResult.h"
|
||||
#include "model/VoiceAsyncScanRequest.h"
|
||||
#include "model/VoiceAsyncScanResult.h"
|
||||
#include "model/VoiceAsyncScanResultsRequest.h"
|
||||
@@ -310,6 +324,12 @@
|
||||
#include "model/VoiceIdentityUnregisterResult.h"
|
||||
#include "model/VoiceSyncScanRequest.h"
|
||||
#include "model/VoiceSyncScanResult.h"
|
||||
#include "model/WebpageAsyncScanRequest.h"
|
||||
#include "model/WebpageAsyncScanResult.h"
|
||||
#include "model/WebpageAsyncScanResultsRequest.h"
|
||||
#include "model/WebpageAsyncScanResultsResult.h"
|
||||
#include "model/WebpageSyncScanRequest.h"
|
||||
#include "model/WebpageSyncScanResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -454,6 +474,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeNotificationSettingResult> DescribeNotificationSettingOutcome;
|
||||
typedef std::future<DescribeNotificationSettingOutcome> DescribeNotificationSettingOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::DescribeNotificationSettingRequest&, const DescribeNotificationSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNotificationSettingAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOpenApiRcpStatsResult> DescribeOpenApiRcpStatsOutcome;
|
||||
typedef std::future<DescribeOpenApiRcpStatsOutcome> DescribeOpenApiRcpStatsOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::DescribeOpenApiRcpStatsRequest&, const DescribeOpenApiRcpStatsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOpenApiRcpStatsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOpenApiUsageResult> DescribeOpenApiUsageOutcome;
|
||||
typedef std::future<DescribeOpenApiUsageOutcome> DescribeOpenApiUsageOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::DescribeOpenApiUsageRequest&, const DescribeOpenApiUsageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOpenApiUsageAsyncHandler;
|
||||
@@ -526,6 +549,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ExportKeywordsResult> ExportKeywordsOutcome;
|
||||
typedef std::future<ExportKeywordsOutcome> ExportKeywordsOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::ExportKeywordsRequest&, const ExportKeywordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportKeywordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExportOpenApiRcpStatsResult> ExportOpenApiRcpStatsOutcome;
|
||||
typedef std::future<ExportOpenApiRcpStatsOutcome> ExportOpenApiRcpStatsOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::ExportOpenApiRcpStatsRequest&, const ExportOpenApiRcpStatsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportOpenApiRcpStatsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExportOssResultResult> ExportOssResultOutcome;
|
||||
typedef std::future<ExportOssResultOutcome> ExportOssResultOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::ExportOssResultRequest&, const ExportOssResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportOssResultAsyncHandler;
|
||||
@@ -586,6 +612,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListSimilarityLibrariesResult> ListSimilarityLibrariesOutcome;
|
||||
typedef std::future<ListSimilarityLibrariesOutcome> ListSimilarityLibrariesOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::ListSimilarityLibrariesRequest&, const ListSimilarityLibrariesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSimilarityLibrariesAsyncHandler;
|
||||
typedef Outcome<Error, Model::LiveStreamAsyncScanResult> LiveStreamAsyncScanOutcome;
|
||||
typedef std::future<LiveStreamAsyncScanOutcome> LiveStreamAsyncScanOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::LiveStreamAsyncScanRequest&, const LiveStreamAsyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LiveStreamAsyncScanAsyncHandler;
|
||||
typedef Outcome<Error, Model::LiveStreamAsyncScanResultsResult> LiveStreamAsyncScanResultsOutcome;
|
||||
typedef std::future<LiveStreamAsyncScanResultsOutcome> LiveStreamAsyncScanResultsOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::LiveStreamAsyncScanResultsRequest&, const LiveStreamAsyncScanResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LiveStreamAsyncScanResultsAsyncHandler;
|
||||
typedef Outcome<Error, Model::LiveStreamCancelScanResult> LiveStreamCancelScanOutcome;
|
||||
typedef std::future<LiveStreamCancelScanOutcome> LiveStreamCancelScanOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::LiveStreamCancelScanRequest&, const LiveStreamCancelScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LiveStreamCancelScanAsyncHandler;
|
||||
typedef Outcome<Error, Model::MarkAuditContentResult> MarkAuditContentOutcome;
|
||||
typedef std::future<MarkAuditContentOutcome> MarkAuditContentOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::MarkAuditContentRequest&, const MarkAuditContentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MarkAuditContentAsyncHandler;
|
||||
@@ -724,6 +759,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::VideoSyncScanResult> VideoSyncScanOutcome;
|
||||
typedef std::future<VideoSyncScanOutcome> VideoSyncScanOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::VideoSyncScanRequest&, const VideoSyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VideoSyncScanAsyncHandler;
|
||||
typedef Outcome<Error, Model::VodAsyncScanResult> VodAsyncScanOutcome;
|
||||
typedef std::future<VodAsyncScanOutcome> VodAsyncScanOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::VodAsyncScanRequest&, const VodAsyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VodAsyncScanAsyncHandler;
|
||||
typedef Outcome<Error, Model::VodAsyncScanResultsResult> VodAsyncScanResultsOutcome;
|
||||
typedef std::future<VodAsyncScanResultsOutcome> VodAsyncScanResultsOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::VodAsyncScanResultsRequest&, const VodAsyncScanResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VodAsyncScanResultsAsyncHandler;
|
||||
typedef Outcome<Error, Model::VoiceAsyncScanResult> VoiceAsyncScanOutcome;
|
||||
typedef std::future<VoiceAsyncScanOutcome> VoiceAsyncScanOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::VoiceAsyncScanRequest&, const VoiceAsyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceAsyncScanAsyncHandler;
|
||||
@@ -751,6 +792,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::VoiceSyncScanResult> VoiceSyncScanOutcome;
|
||||
typedef std::future<VoiceSyncScanOutcome> VoiceSyncScanOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::VoiceSyncScanRequest&, const VoiceSyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VoiceSyncScanAsyncHandler;
|
||||
typedef Outcome<Error, Model::WebpageAsyncScanResult> WebpageAsyncScanOutcome;
|
||||
typedef std::future<WebpageAsyncScanOutcome> WebpageAsyncScanOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::WebpageAsyncScanRequest&, const WebpageAsyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WebpageAsyncScanAsyncHandler;
|
||||
typedef Outcome<Error, Model::WebpageAsyncScanResultsResult> WebpageAsyncScanResultsOutcome;
|
||||
typedef std::future<WebpageAsyncScanResultsOutcome> WebpageAsyncScanResultsOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::WebpageAsyncScanResultsRequest&, const WebpageAsyncScanResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WebpageAsyncScanResultsAsyncHandler;
|
||||
typedef Outcome<Error, Model::WebpageSyncScanResult> WebpageSyncScanOutcome;
|
||||
typedef std::future<WebpageSyncScanOutcome> WebpageSyncScanOutcomeCallable;
|
||||
typedef std::function<void(const GreenClient*, const Model::WebpageSyncScanRequest&, const WebpageSyncScanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WebpageSyncScanAsyncHandler;
|
||||
|
||||
GreenClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
GreenClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -891,6 +941,9 @@ namespace AlibabaCloud
|
||||
DescribeNotificationSettingOutcome describeNotificationSetting(const Model::DescribeNotificationSettingRequest &request)const;
|
||||
void describeNotificationSettingAsync(const Model::DescribeNotificationSettingRequest& request, const DescribeNotificationSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeNotificationSettingOutcomeCallable describeNotificationSettingCallable(const Model::DescribeNotificationSettingRequest& request) const;
|
||||
DescribeOpenApiRcpStatsOutcome describeOpenApiRcpStats(const Model::DescribeOpenApiRcpStatsRequest &request)const;
|
||||
void describeOpenApiRcpStatsAsync(const Model::DescribeOpenApiRcpStatsRequest& request, const DescribeOpenApiRcpStatsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOpenApiRcpStatsOutcomeCallable describeOpenApiRcpStatsCallable(const Model::DescribeOpenApiRcpStatsRequest& request) const;
|
||||
DescribeOpenApiUsageOutcome describeOpenApiUsage(const Model::DescribeOpenApiUsageRequest &request)const;
|
||||
void describeOpenApiUsageAsync(const Model::DescribeOpenApiUsageRequest& request, const DescribeOpenApiUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOpenApiUsageOutcomeCallable describeOpenApiUsageCallable(const Model::DescribeOpenApiUsageRequest& request) const;
|
||||
@@ -963,6 +1016,9 @@ namespace AlibabaCloud
|
||||
ExportKeywordsOutcome exportKeywords(const Model::ExportKeywordsRequest &request)const;
|
||||
void exportKeywordsAsync(const Model::ExportKeywordsRequest& request, const ExportKeywordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExportKeywordsOutcomeCallable exportKeywordsCallable(const Model::ExportKeywordsRequest& request) const;
|
||||
ExportOpenApiRcpStatsOutcome exportOpenApiRcpStats(const Model::ExportOpenApiRcpStatsRequest &request)const;
|
||||
void exportOpenApiRcpStatsAsync(const Model::ExportOpenApiRcpStatsRequest& request, const ExportOpenApiRcpStatsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExportOpenApiRcpStatsOutcomeCallable exportOpenApiRcpStatsCallable(const Model::ExportOpenApiRcpStatsRequest& request) const;
|
||||
ExportOssResultOutcome exportOssResult(const Model::ExportOssResultRequest &request)const;
|
||||
void exportOssResultAsync(const Model::ExportOssResultRequest& request, const ExportOssResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExportOssResultOutcomeCallable exportOssResultCallable(const Model::ExportOssResultRequest& request) const;
|
||||
@@ -1023,6 +1079,15 @@ namespace AlibabaCloud
|
||||
ListSimilarityLibrariesOutcome listSimilarityLibraries(const Model::ListSimilarityLibrariesRequest &request)const;
|
||||
void listSimilarityLibrariesAsync(const Model::ListSimilarityLibrariesRequest& request, const ListSimilarityLibrariesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSimilarityLibrariesOutcomeCallable listSimilarityLibrariesCallable(const Model::ListSimilarityLibrariesRequest& request) const;
|
||||
LiveStreamAsyncScanOutcome liveStreamAsyncScan(const Model::LiveStreamAsyncScanRequest &request)const;
|
||||
void liveStreamAsyncScanAsync(const Model::LiveStreamAsyncScanRequest& request, const LiveStreamAsyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LiveStreamAsyncScanOutcomeCallable liveStreamAsyncScanCallable(const Model::LiveStreamAsyncScanRequest& request) const;
|
||||
LiveStreamAsyncScanResultsOutcome liveStreamAsyncScanResults(const Model::LiveStreamAsyncScanResultsRequest &request)const;
|
||||
void liveStreamAsyncScanResultsAsync(const Model::LiveStreamAsyncScanResultsRequest& request, const LiveStreamAsyncScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LiveStreamAsyncScanResultsOutcomeCallable liveStreamAsyncScanResultsCallable(const Model::LiveStreamAsyncScanResultsRequest& request) const;
|
||||
LiveStreamCancelScanOutcome liveStreamCancelScan(const Model::LiveStreamCancelScanRequest &request)const;
|
||||
void liveStreamCancelScanAsync(const Model::LiveStreamCancelScanRequest& request, const LiveStreamCancelScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LiveStreamCancelScanOutcomeCallable liveStreamCancelScanCallable(const Model::LiveStreamCancelScanRequest& request) const;
|
||||
MarkAuditContentOutcome markAuditContent(const Model::MarkAuditContentRequest &request)const;
|
||||
void markAuditContentAsync(const Model::MarkAuditContentRequest& request, const MarkAuditContentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MarkAuditContentOutcomeCallable markAuditContentCallable(const Model::MarkAuditContentRequest& request) const;
|
||||
@@ -1161,6 +1226,12 @@ namespace AlibabaCloud
|
||||
VideoSyncScanOutcome videoSyncScan(const Model::VideoSyncScanRequest &request)const;
|
||||
void videoSyncScanAsync(const Model::VideoSyncScanRequest& request, const VideoSyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VideoSyncScanOutcomeCallable videoSyncScanCallable(const Model::VideoSyncScanRequest& request) const;
|
||||
VodAsyncScanOutcome vodAsyncScan(const Model::VodAsyncScanRequest &request)const;
|
||||
void vodAsyncScanAsync(const Model::VodAsyncScanRequest& request, const VodAsyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VodAsyncScanOutcomeCallable vodAsyncScanCallable(const Model::VodAsyncScanRequest& request) const;
|
||||
VodAsyncScanResultsOutcome vodAsyncScanResults(const Model::VodAsyncScanResultsRequest &request)const;
|
||||
void vodAsyncScanResultsAsync(const Model::VodAsyncScanResultsRequest& request, const VodAsyncScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VodAsyncScanResultsOutcomeCallable vodAsyncScanResultsCallable(const Model::VodAsyncScanResultsRequest& request) const;
|
||||
VoiceAsyncScanOutcome voiceAsyncScan(const Model::VoiceAsyncScanRequest &request)const;
|
||||
void voiceAsyncScanAsync(const Model::VoiceAsyncScanRequest& request, const VoiceAsyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VoiceAsyncScanOutcomeCallable voiceAsyncScanCallable(const Model::VoiceAsyncScanRequest& request) const;
|
||||
@@ -1188,6 +1259,15 @@ namespace AlibabaCloud
|
||||
VoiceSyncScanOutcome voiceSyncScan(const Model::VoiceSyncScanRequest &request)const;
|
||||
void voiceSyncScanAsync(const Model::VoiceSyncScanRequest& request, const VoiceSyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VoiceSyncScanOutcomeCallable voiceSyncScanCallable(const Model::VoiceSyncScanRequest& request) const;
|
||||
WebpageAsyncScanOutcome webpageAsyncScan(const Model::WebpageAsyncScanRequest &request)const;
|
||||
void webpageAsyncScanAsync(const Model::WebpageAsyncScanRequest& request, const WebpageAsyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
WebpageAsyncScanOutcomeCallable webpageAsyncScanCallable(const Model::WebpageAsyncScanRequest& request) const;
|
||||
WebpageAsyncScanResultsOutcome webpageAsyncScanResults(const Model::WebpageAsyncScanResultsRequest &request)const;
|
||||
void webpageAsyncScanResultsAsync(const Model::WebpageAsyncScanResultsRequest& request, const WebpageAsyncScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
WebpageAsyncScanResultsOutcomeCallable webpageAsyncScanResultsCallable(const Model::WebpageAsyncScanResultsRequest& request) const;
|
||||
WebpageSyncScanOutcome webpageSyncScan(const Model::WebpageSyncScanRequest &request)const;
|
||||
void webpageSyncScanAsync(const Model::WebpageSyncScanRequest& request, const WebpageSyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
WebpageSyncScanOutcomeCallable webpageSyncScanCallable(const Model::WebpageSyncScanRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIRCPSTATSREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIRCPSTATSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeOpenApiRcpStatsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeOpenApiRcpStatsRequest();
|
||||
~DescribeOpenApiRcpStatsRequest();
|
||||
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getBizType()const;
|
||||
void setBizType(const std::string& bizType);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string startDate_;
|
||||
std::string resourceType_;
|
||||
std::string bizType_;
|
||||
std::string endDate_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIRCPSTATSREQUEST_H_
|
||||
@@ -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_GREEN_MODEL_DESCRIBEOPENAPIRCPSTATSRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIRCPSTATSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeOpenApiRcpStatsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Stat
|
||||
{
|
||||
int totalCount;
|
||||
int blockCount;
|
||||
std::string resourceType;
|
||||
int passCount;
|
||||
int reviewCount;
|
||||
std::string date;
|
||||
int totalDuration;
|
||||
};
|
||||
|
||||
|
||||
DescribeOpenApiRcpStatsResult();
|
||||
explicit DescribeOpenApiRcpStatsResult(const std::string &payload);
|
||||
~DescribeOpenApiRcpStatsResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<Stat> getStatList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<Stat> statList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEOPENAPIRCPSTATSRESULT_H_
|
||||
@@ -52,14 +52,16 @@ namespace AlibabaCloud
|
||||
explicit DescribeOssIncrementCheckSettingResult(const std::string &payload);
|
||||
~DescribeOssIncrementCheckSettingResult();
|
||||
std::vector<std::string> getVideoAutoFreezeSceneList()const;
|
||||
std::vector<std::string> getVideoSceneList()const;
|
||||
bool getImageEnableLimit()const;
|
||||
std::vector<std::string> getImageSceneList()const;
|
||||
std::string getCallbackId()const;
|
||||
long getImageScanLimit()const;
|
||||
ImageAutoFreeze getImageAutoFreeze()const;
|
||||
std::vector<BucketConfig> getBucketConfigList()const;
|
||||
std::string getAutoFreezeType()const;
|
||||
int getVideoFrameInterval()const;
|
||||
std::vector<std::string> getVideoSceneList()const;
|
||||
bool getImageEnableLimit()const;
|
||||
std::vector<std::string> getImageSceneList()const;
|
||||
std::string getCallbackName()const;
|
||||
std::string getAutoFreezeType()const;
|
||||
int getVideoMaxFrames()const;
|
||||
int getVideoMaxSize()const;
|
||||
|
||||
@@ -67,14 +69,16 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> videoAutoFreezeSceneList_;
|
||||
std::vector<std::string> videoSceneList_;
|
||||
bool imageEnableLimit_;
|
||||
std::vector<std::string> imageSceneList_;
|
||||
std::string callbackId_;
|
||||
long imageScanLimit_;
|
||||
ImageAutoFreeze imageAutoFreeze_;
|
||||
std::vector<BucketConfig> bucketConfigList_;
|
||||
std::string autoFreezeType_;
|
||||
int videoFrameInterval_;
|
||||
std::vector<std::string> videoSceneList_;
|
||||
bool imageEnableLimit_;
|
||||
std::vector<std::string> imageSceneList_;
|
||||
std::string callbackName_;
|
||||
std::string autoFreezeType_;
|
||||
int videoMaxFrames_;
|
||||
int videoMaxSize_;
|
||||
|
||||
|
||||
@@ -39,18 +39,24 @@ namespace AlibabaCloud
|
||||
~DescribeOssIncrementOverviewResult();
|
||||
int getImageCount()const;
|
||||
int getVideoCount()const;
|
||||
int getVoiceAntispamUnhandleCount()const;
|
||||
int getPornUnhandleCount()const;
|
||||
int getLiveUnhandleCount()const;
|
||||
int getVideoFrameCount()const;
|
||||
int getTerrorismUnhandleCount()const;
|
||||
int getAdUnhandleCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int imageCount_;
|
||||
int videoCount_;
|
||||
int voiceAntispamUnhandleCount_;
|
||||
int pornUnhandleCount_;
|
||||
int liveUnhandleCount_;
|
||||
int videoFrameCount_;
|
||||
int terrorismUnhandleCount_;
|
||||
int adUnhandleCount_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setMinScore(float minScore);
|
||||
float getMaxScore()const;
|
||||
void setMaxScore(float maxScore);
|
||||
long getStockTaskId()const;
|
||||
void setStockTaskId(long stockTaskId);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getScene()const;
|
||||
@@ -71,6 +73,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
float minScore_;
|
||||
float maxScore_;
|
||||
long stockTaskId_;
|
||||
std::string startDate_;
|
||||
std::string scene_;
|
||||
std::string sourceIp_;
|
||||
|
||||
@@ -40,9 +40,17 @@ namespace AlibabaCloud
|
||||
std::string url;
|
||||
int offset;
|
||||
};
|
||||
struct VoiceSegmentAntispamResult
|
||||
{
|
||||
int endTime;
|
||||
int startTime;
|
||||
std::string label;
|
||||
std::string text;
|
||||
};
|
||||
std::string taskId;
|
||||
std::string createTime;
|
||||
std::string requestTime;
|
||||
std::vector<ScanResult::VoiceSegmentAntispamResult> voiceSegmentAntispamResults;
|
||||
std::string thumbnail;
|
||||
std::string newUrl;
|
||||
std::string scanFinishedTime;
|
||||
@@ -52,6 +60,7 @@ namespace AlibabaCloud
|
||||
std::vector<ScanResult::FrameResult> frameResults;
|
||||
std::string bucket;
|
||||
int handleStatus;
|
||||
std::string content;
|
||||
int resourceStatus;
|
||||
std::string object;
|
||||
long id;
|
||||
|
||||
@@ -49,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setAuditResult(const std::string& auditResult);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
int getTotalCount()const;
|
||||
@@ -78,6 +80,7 @@ namespace AlibabaCloud
|
||||
std::string libType_;
|
||||
std::string auditResult_;
|
||||
int pageSize_;
|
||||
std::string keyword_;
|
||||
std::string taskId_;
|
||||
int totalCount_;
|
||||
std::string keywordId_;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_EXPORTOPENAPIRCPSTATSREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_EXPORTOPENAPIRCPSTATSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT ExportOpenApiRcpStatsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ExportOpenApiRcpStatsRequest();
|
||||
~ExportOpenApiRcpStatsRequest();
|
||||
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getBizType()const;
|
||||
void setBizType(const std::string& bizType);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string startDate_;
|
||||
std::string resourceType_;
|
||||
std::string bizType_;
|
||||
std::string endDate_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_EXPORTOPENAPIRCPSTATSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_EXPORTOPENAPIRCPSTATSRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_EXPORTOPENAPIRCPSTATSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT ExportOpenApiRcpStatsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ExportOpenApiRcpStatsResult();
|
||||
explicit ExportOpenApiRcpStatsResult(const std::string &payload);
|
||||
~ExportOpenApiRcpStatsResult();
|
||||
std::string getDownloadUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string downloadUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_EXPORTOPENAPIRCPSTATSRESULT_H_
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setMinScore(float minScore);
|
||||
float getMaxScore()const;
|
||||
void setMaxScore(float maxScore);
|
||||
long getStockTaskId()const;
|
||||
void setStockTaskId(long stockTaskId);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getScene()const;
|
||||
@@ -67,6 +69,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
float minScore_;
|
||||
float maxScore_;
|
||||
long stockTaskId_;
|
||||
std::string startDate_;
|
||||
std::string scene_;
|
||||
std::string sourceIp_;
|
||||
|
||||
@@ -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_GREEN_MODEL_LIVESTREAMASYNCSCANREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_LIVESTREAMASYNCSCANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT LiveStreamAsyncScanRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
LiveStreamAsyncScanRequest();
|
||||
~LiveStreamAsyncScanRequest();
|
||||
|
||||
std::string getClientInfo()const;
|
||||
void setClientInfo(const std::string& clientInfo);
|
||||
|
||||
private:
|
||||
std::string clientInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_LIVESTREAMASYNCSCANREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_GREEN_MODEL_LIVESTREAMASYNCSCANRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_LIVESTREAMASYNCSCANRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT LiveStreamAsyncScanResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
LiveStreamAsyncScanResult();
|
||||
explicit LiveStreamAsyncScanResult(const std::string &payload);
|
||||
~LiveStreamAsyncScanResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_LIVESTREAMASYNCSCANRESULT_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_GREEN_MODEL_LIVESTREAMASYNCSCANRESULTSREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_LIVESTREAMASYNCSCANRESULTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT LiveStreamAsyncScanResultsRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
LiveStreamAsyncScanResultsRequest();
|
||||
~LiveStreamAsyncScanResultsRequest();
|
||||
|
||||
std::string getClientInfo()const;
|
||||
void setClientInfo(const std::string& clientInfo);
|
||||
|
||||
private:
|
||||
std::string clientInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_LIVESTREAMASYNCSCANRESULTSREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_GREEN_MODEL_LIVESTREAMASYNCSCANRESULTSRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_LIVESTREAMASYNCSCANRESULTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT LiveStreamAsyncScanResultsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
LiveStreamAsyncScanResultsResult();
|
||||
explicit LiveStreamAsyncScanResultsResult(const std::string &payload);
|
||||
~LiveStreamAsyncScanResultsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_LIVESTREAMASYNCSCANRESULTSRESULT_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_GREEN_MODEL_LIVESTREAMCANCELSCANREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_LIVESTREAMCANCELSCANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT LiveStreamCancelScanRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
LiveStreamCancelScanRequest();
|
||||
~LiveStreamCancelScanRequest();
|
||||
|
||||
std::string getClientInfo()const;
|
||||
void setClientInfo(const std::string& clientInfo);
|
||||
|
||||
private:
|
||||
std::string clientInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_LIVESTREAMCANCELSCANREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_GREEN_MODEL_LIVESTREAMCANCELSCANRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_LIVESTREAMCANCELSCANRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT LiveStreamCancelScanResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
LiveStreamCancelScanResult();
|
||||
explicit LiveStreamCancelScanResult(const std::string &payload);
|
||||
~LiveStreamCancelScanResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_LIVESTREAMCANCELSCANRESULT_H_
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setVideoFrameInterval(int videoFrameInterval);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getCallbackId()const;
|
||||
void setCallbackId(const std::string& callbackId);
|
||||
std::string getImageScanLimit()const;
|
||||
void setImageScanLimit(const std::string& imageScanLimit);
|
||||
std::string getVideoAutoFreezeSceneList()const;
|
||||
@@ -65,6 +67,7 @@ namespace AlibabaCloud
|
||||
std::string imageSceneList_;
|
||||
int videoFrameInterval_;
|
||||
std::string sourceIp_;
|
||||
std::string callbackId_;
|
||||
std::string imageScanLimit_;
|
||||
std::string videoAutoFreezeSceneList_;
|
||||
std::string lang_;
|
||||
|
||||
48
green/include/alibabacloud/green/model/VodAsyncScanRequest.h
Normal file
48
green/include/alibabacloud/green/model/VodAsyncScanRequest.h
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_VODASYNCSCANREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_VODASYNCSCANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT VodAsyncScanRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
VodAsyncScanRequest();
|
||||
~VodAsyncScanRequest();
|
||||
|
||||
std::string getClientInfo()const;
|
||||
void setClientInfo(const std::string& clientInfo);
|
||||
|
||||
private:
|
||||
std::string clientInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_VODASYNCSCANREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_ENABLEMAURULERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_ENABLEMAURULERESULT_H_
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_VODASYNCSCANRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_VODASYNCSCANRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT EnableMAURuleResult : public ServiceResult
|
||||
class ALIBABACLOUD_GREEN_EXPORT VodAsyncScanResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableMAURuleResult();
|
||||
explicit EnableMAURuleResult(const std::string &payload);
|
||||
~EnableMAURuleResult();
|
||||
VodAsyncScanResult();
|
||||
explicit VodAsyncScanResult(const std::string &payload);
|
||||
~VodAsyncScanResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_ENABLEMAURULERESULT_H_
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_VODASYNCSCANRESULT_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_GREEN_MODEL_VODASYNCSCANRESULTSREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_VODASYNCSCANRESULTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT VodAsyncScanResultsRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
VodAsyncScanResultsRequest();
|
||||
~VodAsyncScanResultsRequest();
|
||||
|
||||
std::string getClientInfo()const;
|
||||
void setClientInfo(const std::string& clientInfo);
|
||||
|
||||
private:
|
||||
std::string clientInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_VODASYNCSCANRESULTSREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_GREEN_MODEL_VODASYNCSCANRESULTSRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_VODASYNCSCANRESULTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT VodAsyncScanResultsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
VodAsyncScanResultsResult();
|
||||
explicit VodAsyncScanResultsResult(const std::string &payload);
|
||||
~VodAsyncScanResultsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_VODASYNCSCANRESULTSRESULT_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_GREEN_MODEL_WEBPAGEASYNCSCANREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_WEBPAGEASYNCSCANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT WebpageAsyncScanRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
WebpageAsyncScanRequest();
|
||||
~WebpageAsyncScanRequest();
|
||||
|
||||
std::string getClientInfo()const;
|
||||
void setClientInfo(const std::string& clientInfo);
|
||||
|
||||
private:
|
||||
std::string clientInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_WEBPAGEASYNCSCANREQUEST_H_
|
||||
@@ -14,38 +14,36 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_CREATEMAURULERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_CREATEMAURULERESULT_H_
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_WEBPAGEASYNCSCANRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_WEBPAGEASYNCSCANRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT CreateMAURuleResult : public ServiceResult
|
||||
class ALIBABACLOUD_GREEN_EXPORT WebpageAsyncScanResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateMAURuleResult();
|
||||
explicit CreateMAURuleResult(const std::string &payload);
|
||||
~CreateMAURuleResult();
|
||||
long getRuleId()const;
|
||||
WebpageAsyncScanResult();
|
||||
explicit WebpageAsyncScanResult(const std::string &payload);
|
||||
~WebpageAsyncScanResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long ruleId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_CREATEMAURULERESULT_H_
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_WEBPAGEASYNCSCANRESULT_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_GREEN_MODEL_WEBPAGEASYNCSCANRESULTSREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_WEBPAGEASYNCSCANRESULTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT WebpageAsyncScanResultsRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
WebpageAsyncScanResultsRequest();
|
||||
~WebpageAsyncScanResultsRequest();
|
||||
|
||||
std::string getClientInfo()const;
|
||||
void setClientInfo(const std::string& clientInfo);
|
||||
|
||||
private:
|
||||
std::string clientInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_WEBPAGEASYNCSCANRESULTSREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_GREEN_MODEL_WEBPAGEASYNCSCANRESULTSRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_WEBPAGEASYNCSCANRESULTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT WebpageAsyncScanResultsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
WebpageAsyncScanResultsResult();
|
||||
explicit WebpageAsyncScanResultsResult(const std::string &payload);
|
||||
~WebpageAsyncScanResultsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_WEBPAGEASYNCSCANRESULTSRESULT_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_GREEN_MODEL_WEBPAGESYNCSCANREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_WEBPAGESYNCSCANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT WebpageSyncScanRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
WebpageSyncScanRequest();
|
||||
~WebpageSyncScanRequest();
|
||||
|
||||
std::string getClientInfo()const;
|
||||
void setClientInfo(const std::string& clientInfo);
|
||||
|
||||
private:
|
||||
std::string clientInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_WEBPAGESYNCSCANREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DELETEMAURULERESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DELETEMAURULERESULT_H_
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_WEBPAGESYNCSCANRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_WEBPAGESYNCSCANRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DeleteMAURuleResult : public ServiceResult
|
||||
class ALIBABACLOUD_GREEN_EXPORT WebpageSyncScanResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteMAURuleResult();
|
||||
explicit DeleteMAURuleResult(const std::string &payload);
|
||||
~DeleteMAURuleResult();
|
||||
WebpageSyncScanResult();
|
||||
explicit WebpageSyncScanResult(const std::string &payload);
|
||||
~WebpageSyncScanResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DELETEMAURULERESULT_H_
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_WEBPAGESYNCSCANRESULT_H_
|
||||
@@ -1671,6 +1671,42 @@ GreenClient::DescribeNotificationSettingOutcomeCallable GreenClient::describeNot
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::DescribeOpenApiRcpStatsOutcome GreenClient::describeOpenApiRcpStats(const DescribeOpenApiRcpStatsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeOpenApiRcpStatsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeOpenApiRcpStatsOutcome(DescribeOpenApiRcpStatsResult(outcome.result()));
|
||||
else
|
||||
return DescribeOpenApiRcpStatsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GreenClient::describeOpenApiRcpStatsAsync(const DescribeOpenApiRcpStatsRequest& request, const DescribeOpenApiRcpStatsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeOpenApiRcpStats(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GreenClient::DescribeOpenApiRcpStatsOutcomeCallable GreenClient::describeOpenApiRcpStatsCallable(const DescribeOpenApiRcpStatsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeOpenApiRcpStatsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeOpenApiRcpStats(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::DescribeOpenApiUsageOutcome GreenClient::describeOpenApiUsage(const DescribeOpenApiUsageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2535,6 +2571,42 @@ GreenClient::ExportKeywordsOutcomeCallable GreenClient::exportKeywordsCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::ExportOpenApiRcpStatsOutcome GreenClient::exportOpenApiRcpStats(const ExportOpenApiRcpStatsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ExportOpenApiRcpStatsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ExportOpenApiRcpStatsOutcome(ExportOpenApiRcpStatsResult(outcome.result()));
|
||||
else
|
||||
return ExportOpenApiRcpStatsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GreenClient::exportOpenApiRcpStatsAsync(const ExportOpenApiRcpStatsRequest& request, const ExportOpenApiRcpStatsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, exportOpenApiRcpStats(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GreenClient::ExportOpenApiRcpStatsOutcomeCallable GreenClient::exportOpenApiRcpStatsCallable(const ExportOpenApiRcpStatsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ExportOpenApiRcpStatsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->exportOpenApiRcpStats(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::ExportOssResultOutcome GreenClient::exportOssResult(const ExportOssResultRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3255,6 +3327,114 @@ GreenClient::ListSimilarityLibrariesOutcomeCallable GreenClient::listSimilarityL
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::LiveStreamAsyncScanOutcome GreenClient::liveStreamAsyncScan(const LiveStreamAsyncScanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return LiveStreamAsyncScanOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return LiveStreamAsyncScanOutcome(LiveStreamAsyncScanResult(outcome.result()));
|
||||
else
|
||||
return LiveStreamAsyncScanOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GreenClient::liveStreamAsyncScanAsync(const LiveStreamAsyncScanRequest& request, const LiveStreamAsyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, liveStreamAsyncScan(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GreenClient::LiveStreamAsyncScanOutcomeCallable GreenClient::liveStreamAsyncScanCallable(const LiveStreamAsyncScanRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<LiveStreamAsyncScanOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->liveStreamAsyncScan(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::LiveStreamAsyncScanResultsOutcome GreenClient::liveStreamAsyncScanResults(const LiveStreamAsyncScanResultsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return LiveStreamAsyncScanResultsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return LiveStreamAsyncScanResultsOutcome(LiveStreamAsyncScanResultsResult(outcome.result()));
|
||||
else
|
||||
return LiveStreamAsyncScanResultsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GreenClient::liveStreamAsyncScanResultsAsync(const LiveStreamAsyncScanResultsRequest& request, const LiveStreamAsyncScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, liveStreamAsyncScanResults(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GreenClient::LiveStreamAsyncScanResultsOutcomeCallable GreenClient::liveStreamAsyncScanResultsCallable(const LiveStreamAsyncScanResultsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<LiveStreamAsyncScanResultsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->liveStreamAsyncScanResults(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::LiveStreamCancelScanOutcome GreenClient::liveStreamCancelScan(const LiveStreamCancelScanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return LiveStreamCancelScanOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return LiveStreamCancelScanOutcome(LiveStreamCancelScanResult(outcome.result()));
|
||||
else
|
||||
return LiveStreamCancelScanOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GreenClient::liveStreamCancelScanAsync(const LiveStreamCancelScanRequest& request, const LiveStreamCancelScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, liveStreamCancelScan(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GreenClient::LiveStreamCancelScanOutcomeCallable GreenClient::liveStreamCancelScanCallable(const LiveStreamCancelScanRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<LiveStreamCancelScanOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->liveStreamCancelScan(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::MarkAuditContentOutcome GreenClient::markAuditContent(const MarkAuditContentRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4911,6 +5091,78 @@ GreenClient::VideoSyncScanOutcomeCallable GreenClient::videoSyncScanCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::VodAsyncScanOutcome GreenClient::vodAsyncScan(const VodAsyncScanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return VodAsyncScanOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return VodAsyncScanOutcome(VodAsyncScanResult(outcome.result()));
|
||||
else
|
||||
return VodAsyncScanOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GreenClient::vodAsyncScanAsync(const VodAsyncScanRequest& request, const VodAsyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, vodAsyncScan(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GreenClient::VodAsyncScanOutcomeCallable GreenClient::vodAsyncScanCallable(const VodAsyncScanRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<VodAsyncScanOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->vodAsyncScan(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::VodAsyncScanResultsOutcome GreenClient::vodAsyncScanResults(const VodAsyncScanResultsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return VodAsyncScanResultsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return VodAsyncScanResultsOutcome(VodAsyncScanResultsResult(outcome.result()));
|
||||
else
|
||||
return VodAsyncScanResultsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GreenClient::vodAsyncScanResultsAsync(const VodAsyncScanResultsRequest& request, const VodAsyncScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, vodAsyncScanResults(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GreenClient::VodAsyncScanResultsOutcomeCallable GreenClient::vodAsyncScanResultsCallable(const VodAsyncScanResultsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<VodAsyncScanResultsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->vodAsyncScanResults(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::VoiceAsyncScanOutcome GreenClient::voiceAsyncScan(const VoiceAsyncScanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5235,3 +5487,111 @@ GreenClient::VoiceSyncScanOutcomeCallable GreenClient::voiceSyncScanCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::WebpageAsyncScanOutcome GreenClient::webpageAsyncScan(const WebpageAsyncScanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return WebpageAsyncScanOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return WebpageAsyncScanOutcome(WebpageAsyncScanResult(outcome.result()));
|
||||
else
|
||||
return WebpageAsyncScanOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GreenClient::webpageAsyncScanAsync(const WebpageAsyncScanRequest& request, const WebpageAsyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, webpageAsyncScan(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GreenClient::WebpageAsyncScanOutcomeCallable GreenClient::webpageAsyncScanCallable(const WebpageAsyncScanRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<WebpageAsyncScanOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->webpageAsyncScan(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::WebpageAsyncScanResultsOutcome GreenClient::webpageAsyncScanResults(const WebpageAsyncScanResultsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return WebpageAsyncScanResultsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return WebpageAsyncScanResultsOutcome(WebpageAsyncScanResultsResult(outcome.result()));
|
||||
else
|
||||
return WebpageAsyncScanResultsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GreenClient::webpageAsyncScanResultsAsync(const WebpageAsyncScanResultsRequest& request, const WebpageAsyncScanResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, webpageAsyncScanResults(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GreenClient::WebpageAsyncScanResultsOutcomeCallable GreenClient::webpageAsyncScanResultsCallable(const WebpageAsyncScanResultsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<WebpageAsyncScanResultsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->webpageAsyncScanResults(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GreenClient::WebpageSyncScanOutcome GreenClient::webpageSyncScan(const WebpageSyncScanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return WebpageSyncScanOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return WebpageSyncScanOutcome(WebpageSyncScanResult(outcome.result()));
|
||||
else
|
||||
return WebpageSyncScanOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GreenClient::webpageSyncScanAsync(const WebpageSyncScanRequest& request, const WebpageSyncScanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, webpageSyncScan(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GreenClient::WebpageSyncScanOutcomeCallable GreenClient::webpageSyncScanCallable(const WebpageSyncScanRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<WebpageSyncScanOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->webpageSyncScan(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -69,28 +69,28 @@ void DescribeAuditContentResult::parse(const std::string &payload)
|
||||
auditContentListObject.suggestion = valueAuditContentListAuditContent["Suggestion"].asString();
|
||||
if(!valueAuditContentListAuditContent["Id"].isNull())
|
||||
auditContentListObject.id = std::stol(valueAuditContentListAuditContent["Id"].asString());
|
||||
auto allResultsNode = allAuditContentListNode["Results"]["Result"];
|
||||
for (auto allAuditContentListNodeResultsResult : allResultsNode)
|
||||
auto allResultsNode = valueAuditContentListAuditContent["Results"]["Result"];
|
||||
for (auto valueAuditContentListAuditContentResultsResult : allResultsNode)
|
||||
{
|
||||
AuditContent::Result resultsObject;
|
||||
if(!allAuditContentListNodeResultsResult["Suggestion"].isNull())
|
||||
resultsObject.suggestion = allAuditContentListNodeResultsResult["Suggestion"].asString();
|
||||
if(!allAuditContentListNodeResultsResult["Label"].isNull())
|
||||
resultsObject.label = allAuditContentListNodeResultsResult["Label"].asString();
|
||||
if(!allAuditContentListNodeResultsResult["Scene"].isNull())
|
||||
resultsObject.scene = allAuditContentListNodeResultsResult["Scene"].asString();
|
||||
if(!valueAuditContentListAuditContentResultsResult["Suggestion"].isNull())
|
||||
resultsObject.suggestion = valueAuditContentListAuditContentResultsResult["Suggestion"].asString();
|
||||
if(!valueAuditContentListAuditContentResultsResult["Label"].isNull())
|
||||
resultsObject.label = valueAuditContentListAuditContentResultsResult["Label"].asString();
|
||||
if(!valueAuditContentListAuditContentResultsResult["Scene"].isNull())
|
||||
resultsObject.scene = valueAuditContentListAuditContentResultsResult["Scene"].asString();
|
||||
auditContentListObject.results.push_back(resultsObject);
|
||||
}
|
||||
auto allFrameResultsNode = allAuditContentListNode["FrameResults"]["frameResult"];
|
||||
for (auto allAuditContentListNodeFrameResultsframeResult : allFrameResultsNode)
|
||||
auto allFrameResultsNode = valueAuditContentListAuditContent["FrameResults"]["frameResult"];
|
||||
for (auto valueAuditContentListAuditContentFrameResultsframeResult : allFrameResultsNode)
|
||||
{
|
||||
AuditContent::FrameResult frameResultsObject;
|
||||
if(!allAuditContentListNodeFrameResultsframeResult["Url"].isNull())
|
||||
frameResultsObject.url = allAuditContentListNodeFrameResultsframeResult["Url"].asString();
|
||||
if(!allAuditContentListNodeFrameResultsframeResult["Offset"].isNull())
|
||||
frameResultsObject.offset = std::stoi(allAuditContentListNodeFrameResultsframeResult["Offset"].asString());
|
||||
if(!allAuditContentListNodeFrameResultsframeResult["Label"].isNull())
|
||||
frameResultsObject.label = allAuditContentListNodeFrameResultsframeResult["Label"].asString();
|
||||
if(!valueAuditContentListAuditContentFrameResultsframeResult["Url"].isNull())
|
||||
frameResultsObject.url = valueAuditContentListAuditContentFrameResultsframeResult["Url"].asString();
|
||||
if(!valueAuditContentListAuditContentFrameResultsframeResult["Offset"].isNull())
|
||||
frameResultsObject.offset = std::stoi(valueAuditContentListAuditContentFrameResultsframeResult["Offset"].asString());
|
||||
if(!valueAuditContentListAuditContentFrameResultsframeResult["Label"].isNull())
|
||||
frameResultsObject.label = valueAuditContentListAuditContentFrameResultsframeResult["Label"].asString();
|
||||
auditContentListObject.frameResults.push_back(frameResultsObject);
|
||||
}
|
||||
auto allAuditIllegalReasons = value["AuditIllegalReasons"]["StringItem"];
|
||||
|
||||
@@ -51,36 +51,36 @@ void DescribeCustomOcrTemplateResult::parse(const std::string &payload)
|
||||
ocrTemplateListObject.imgUrl = valueOcrTemplateListOcrTemplate["ImgUrl"].asString();
|
||||
if(!valueOcrTemplateListOcrTemplate["Status"].isNull())
|
||||
ocrTemplateListObject.status = std::stoi(valueOcrTemplateListOcrTemplate["Status"].asString());
|
||||
auto allReferAreaNode = allOcrTemplateListNode["ReferArea"]["item"];
|
||||
for (auto allOcrTemplateListNodeReferAreaitem : allReferAreaNode)
|
||||
auto allReferAreaNode = valueOcrTemplateListOcrTemplate["ReferArea"]["item"];
|
||||
for (auto valueOcrTemplateListOcrTemplateReferAreaitem : allReferAreaNode)
|
||||
{
|
||||
OcrTemplate::Item referAreaObject;
|
||||
if(!allOcrTemplateListNodeReferAreaitem["Name"].isNull())
|
||||
referAreaObject.name = allOcrTemplateListNodeReferAreaitem["Name"].asString();
|
||||
if(!allOcrTemplateListNodeReferAreaitem["X"].isNull())
|
||||
referAreaObject.x = std::stoi(allOcrTemplateListNodeReferAreaitem["X"].asString());
|
||||
if(!allOcrTemplateListNodeReferAreaitem["Y"].isNull())
|
||||
referAreaObject.y = std::stoi(allOcrTemplateListNodeReferAreaitem["Y"].asString());
|
||||
if(!allOcrTemplateListNodeReferAreaitem["Width"].isNull())
|
||||
referAreaObject.width = std::stoi(allOcrTemplateListNodeReferAreaitem["Width"].asString());
|
||||
if(!allOcrTemplateListNodeReferAreaitem["Height"].isNull())
|
||||
referAreaObject.height = std::stoi(allOcrTemplateListNodeReferAreaitem["Height"].asString());
|
||||
if(!valueOcrTemplateListOcrTemplateReferAreaitem["Name"].isNull())
|
||||
referAreaObject.name = valueOcrTemplateListOcrTemplateReferAreaitem["Name"].asString();
|
||||
if(!valueOcrTemplateListOcrTemplateReferAreaitem["X"].isNull())
|
||||
referAreaObject.x = std::stoi(valueOcrTemplateListOcrTemplateReferAreaitem["X"].asString());
|
||||
if(!valueOcrTemplateListOcrTemplateReferAreaitem["Y"].isNull())
|
||||
referAreaObject.y = std::stoi(valueOcrTemplateListOcrTemplateReferAreaitem["Y"].asString());
|
||||
if(!valueOcrTemplateListOcrTemplateReferAreaitem["Width"].isNull())
|
||||
referAreaObject.width = std::stoi(valueOcrTemplateListOcrTemplateReferAreaitem["Width"].asString());
|
||||
if(!valueOcrTemplateListOcrTemplateReferAreaitem["Height"].isNull())
|
||||
referAreaObject.height = std::stoi(valueOcrTemplateListOcrTemplateReferAreaitem["Height"].asString());
|
||||
ocrTemplateListObject.referArea.push_back(referAreaObject);
|
||||
}
|
||||
auto allRecognizeAreaNode = allOcrTemplateListNode["RecognizeArea"]["item"];
|
||||
for (auto allOcrTemplateListNodeRecognizeAreaitem : allRecognizeAreaNode)
|
||||
auto allRecognizeAreaNode = valueOcrTemplateListOcrTemplate["RecognizeArea"]["item"];
|
||||
for (auto valueOcrTemplateListOcrTemplateRecognizeAreaitem : allRecognizeAreaNode)
|
||||
{
|
||||
OcrTemplate::Item recognizeAreaObject;
|
||||
if(!allOcrTemplateListNodeRecognizeAreaitem["Name"].isNull())
|
||||
recognizeAreaObject.name = allOcrTemplateListNodeRecognizeAreaitem["Name"].asString();
|
||||
if(!allOcrTemplateListNodeRecognizeAreaitem["X"].isNull())
|
||||
recognizeAreaObject.x = std::stoi(allOcrTemplateListNodeRecognizeAreaitem["X"].asString());
|
||||
if(!allOcrTemplateListNodeRecognizeAreaitem["Y"].isNull())
|
||||
recognizeAreaObject.y = std::stoi(allOcrTemplateListNodeRecognizeAreaitem["Y"].asString());
|
||||
if(!allOcrTemplateListNodeRecognizeAreaitem["Width"].isNull())
|
||||
recognizeAreaObject.width = std::stoi(allOcrTemplateListNodeRecognizeAreaitem["Width"].asString());
|
||||
if(!allOcrTemplateListNodeRecognizeAreaitem["Height"].isNull())
|
||||
recognizeAreaObject.height = std::stoi(allOcrTemplateListNodeRecognizeAreaitem["Height"].asString());
|
||||
if(!valueOcrTemplateListOcrTemplateRecognizeAreaitem["Name"].isNull())
|
||||
recognizeAreaObject.name = valueOcrTemplateListOcrTemplateRecognizeAreaitem["Name"].asString();
|
||||
if(!valueOcrTemplateListOcrTemplateRecognizeAreaitem["X"].isNull())
|
||||
recognizeAreaObject.x = std::stoi(valueOcrTemplateListOcrTemplateRecognizeAreaitem["X"].asString());
|
||||
if(!valueOcrTemplateListOcrTemplateRecognizeAreaitem["Y"].isNull())
|
||||
recognizeAreaObject.y = std::stoi(valueOcrTemplateListOcrTemplateRecognizeAreaitem["Y"].asString());
|
||||
if(!valueOcrTemplateListOcrTemplateRecognizeAreaitem["Width"].isNull())
|
||||
recognizeAreaObject.width = std::stoi(valueOcrTemplateListOcrTemplateRecognizeAreaitem["Width"].asString());
|
||||
if(!valueOcrTemplateListOcrTemplateRecognizeAreaitem["Height"].isNull())
|
||||
recognizeAreaObject.height = std::stoi(valueOcrTemplateListOcrTemplateRecognizeAreaitem["Height"].asString());
|
||||
ocrTemplateListObject.recognizeArea.push_back(recognizeAreaObject);
|
||||
}
|
||||
ocrTemplateList_.push_back(ocrTemplateListObject);
|
||||
|
||||
84
green/src/model/DescribeOpenApiRcpStatsRequest.cc
Normal file
84
green/src/model/DescribeOpenApiRcpStatsRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/DescribeOpenApiRcpStatsRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::DescribeOpenApiRcpStatsRequest;
|
||||
|
||||
DescribeOpenApiRcpStatsRequest::DescribeOpenApiRcpStatsRequest() :
|
||||
RpcServiceRequest("green", "2017-08-23", "DescribeOpenApiRcpStats")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeOpenApiRcpStatsRequest::~DescribeOpenApiRcpStatsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeOpenApiRcpStatsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeOpenApiRcpStatsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
std::string DescribeOpenApiRcpStatsRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void DescribeOpenApiRcpStatsRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string DescribeOpenApiRcpStatsRequest::getBizType()const
|
||||
{
|
||||
return bizType_;
|
||||
}
|
||||
|
||||
void DescribeOpenApiRcpStatsRequest::setBizType(const std::string& bizType)
|
||||
{
|
||||
bizType_ = bizType;
|
||||
setParameter("BizType", bizType);
|
||||
}
|
||||
|
||||
std::string DescribeOpenApiRcpStatsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeOpenApiRcpStatsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeOpenApiRcpStatsRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeOpenApiRcpStatsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
76
green/src/model/DescribeOpenApiRcpStatsResult.cc
Normal file
76
green/src/model/DescribeOpenApiRcpStatsResult.cc
Normal file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/DescribeOpenApiRcpStatsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
DescribeOpenApiRcpStatsResult::DescribeOpenApiRcpStatsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeOpenApiRcpStatsResult::DescribeOpenApiRcpStatsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeOpenApiRcpStatsResult::~DescribeOpenApiRcpStatsResult()
|
||||
{}
|
||||
|
||||
void DescribeOpenApiRcpStatsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStatListNode = value["StatList"]["stat"];
|
||||
for (auto valueStatListstat : allStatListNode)
|
||||
{
|
||||
Stat statListObject;
|
||||
if(!valueStatListstat["Date"].isNull())
|
||||
statListObject.date = valueStatListstat["Date"].asString();
|
||||
if(!valueStatListstat["ResourceType"].isNull())
|
||||
statListObject.resourceType = valueStatListstat["ResourceType"].asString();
|
||||
if(!valueStatListstat["TotalCount"].isNull())
|
||||
statListObject.totalCount = std::stoi(valueStatListstat["TotalCount"].asString());
|
||||
if(!valueStatListstat["PassCount"].isNull())
|
||||
statListObject.passCount = std::stoi(valueStatListstat["PassCount"].asString());
|
||||
if(!valueStatListstat["ReviewCount"].isNull())
|
||||
statListObject.reviewCount = std::stoi(valueStatListstat["ReviewCount"].asString());
|
||||
if(!valueStatListstat["BlockCount"].isNull())
|
||||
statListObject.blockCount = std::stoi(valueStatListstat["BlockCount"].asString());
|
||||
if(!valueStatListstat["TotalDuration"].isNull())
|
||||
statListObject.totalDuration = std::stoi(valueStatListstat["TotalDuration"].asString());
|
||||
statList_.push_back(statListObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeOpenApiRcpStatsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::vector<DescribeOpenApiRcpStatsResult::Stat> DescribeOpenApiRcpStatsResult::getStatList()const
|
||||
{
|
||||
return statList_;
|
||||
}
|
||||
|
||||
@@ -84,6 +84,10 @@ void DescribeOssIncrementCheckSettingResult::parse(const std::string &payload)
|
||||
videoMaxSize_ = std::stoi(value["VideoMaxSize"].asString());
|
||||
if(!value["AutoFreezeType"].isNull())
|
||||
autoFreezeType_ = value["AutoFreezeType"].asString();
|
||||
if(!value["CallbackId"].isNull())
|
||||
callbackId_ = value["CallbackId"].asString();
|
||||
if(!value["CallbackName"].isNull())
|
||||
callbackName_ = value["CallbackName"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -92,19 +96,9 @@ std::vector<std::string> DescribeOssIncrementCheckSettingResult::getVideoAutoFre
|
||||
return videoAutoFreezeSceneList_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeOssIncrementCheckSettingResult::getVideoSceneList()const
|
||||
std::string DescribeOssIncrementCheckSettingResult::getCallbackId()const
|
||||
{
|
||||
return videoSceneList_;
|
||||
}
|
||||
|
||||
bool DescribeOssIncrementCheckSettingResult::getImageEnableLimit()const
|
||||
{
|
||||
return imageEnableLimit_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeOssIncrementCheckSettingResult::getImageSceneList()const
|
||||
{
|
||||
return imageSceneList_;
|
||||
return callbackId_;
|
||||
}
|
||||
|
||||
long DescribeOssIncrementCheckSettingResult::getImageScanLimit()const
|
||||
@@ -122,16 +116,36 @@ DescribeOssIncrementCheckSettingResult::ImageAutoFreeze DescribeOssIncrementChec
|
||||
return imageAutoFreeze_;
|
||||
}
|
||||
|
||||
std::string DescribeOssIncrementCheckSettingResult::getAutoFreezeType()const
|
||||
{
|
||||
return autoFreezeType_;
|
||||
}
|
||||
|
||||
int DescribeOssIncrementCheckSettingResult::getVideoFrameInterval()const
|
||||
{
|
||||
return videoFrameInterval_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeOssIncrementCheckSettingResult::getVideoSceneList()const
|
||||
{
|
||||
return videoSceneList_;
|
||||
}
|
||||
|
||||
bool DescribeOssIncrementCheckSettingResult::getImageEnableLimit()const
|
||||
{
|
||||
return imageEnableLimit_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeOssIncrementCheckSettingResult::getImageSceneList()const
|
||||
{
|
||||
return imageSceneList_;
|
||||
}
|
||||
|
||||
std::string DescribeOssIncrementCheckSettingResult::getCallbackName()const
|
||||
{
|
||||
return callbackName_;
|
||||
}
|
||||
|
||||
std::string DescribeOssIncrementCheckSettingResult::getAutoFreezeType()const
|
||||
{
|
||||
return autoFreezeType_;
|
||||
}
|
||||
|
||||
int DescribeOssIncrementCheckSettingResult::getVideoMaxFrames()const
|
||||
{
|
||||
return videoMaxFrames_;
|
||||
|
||||
@@ -49,6 +49,12 @@ void DescribeOssIncrementOverviewResult::parse(const std::string &payload)
|
||||
pornUnhandleCount_ = std::stoi(value["PornUnhandleCount"].asString());
|
||||
if(!value["TerrorismUnhandleCount"].isNull())
|
||||
terrorismUnhandleCount_ = std::stoi(value["TerrorismUnhandleCount"].asString());
|
||||
if(!value["AdUnhandleCount"].isNull())
|
||||
adUnhandleCount_ = std::stoi(value["AdUnhandleCount"].asString());
|
||||
if(!value["LiveUnhandleCount"].isNull())
|
||||
liveUnhandleCount_ = std::stoi(value["LiveUnhandleCount"].asString());
|
||||
if(!value["VoiceAntispamUnhandleCount"].isNull())
|
||||
voiceAntispamUnhandleCount_ = std::stoi(value["VoiceAntispamUnhandleCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -62,11 +68,21 @@ int DescribeOssIncrementOverviewResult::getVideoCount()const
|
||||
return videoCount_;
|
||||
}
|
||||
|
||||
int DescribeOssIncrementOverviewResult::getVoiceAntispamUnhandleCount()const
|
||||
{
|
||||
return voiceAntispamUnhandleCount_;
|
||||
}
|
||||
|
||||
int DescribeOssIncrementOverviewResult::getPornUnhandleCount()const
|
||||
{
|
||||
return pornUnhandleCount_;
|
||||
}
|
||||
|
||||
int DescribeOssIncrementOverviewResult::getLiveUnhandleCount()const
|
||||
{
|
||||
return liveUnhandleCount_;
|
||||
}
|
||||
|
||||
int DescribeOssIncrementOverviewResult::getVideoFrameCount()const
|
||||
{
|
||||
return videoFrameCount_;
|
||||
@@ -77,3 +93,8 @@ int DescribeOssIncrementOverviewResult::getTerrorismUnhandleCount()const
|
||||
return terrorismUnhandleCount_;
|
||||
}
|
||||
|
||||
int DescribeOssIncrementOverviewResult::getAdUnhandleCount()const
|
||||
{
|
||||
return adUnhandleCount_;
|
||||
}
|
||||
|
||||
|
||||
@@ -49,6 +49,17 @@ void DescribeOssResultItemsRequest::setMaxScore(float maxScore)
|
||||
setParameter("MaxScore", std::to_string(maxScore));
|
||||
}
|
||||
|
||||
long DescribeOssResultItemsRequest::getStockTaskId()const
|
||||
{
|
||||
return stockTaskId_;
|
||||
}
|
||||
|
||||
void DescribeOssResultItemsRequest::setStockTaskId(long stockTaskId)
|
||||
{
|
||||
stockTaskId_ = stockTaskId;
|
||||
setParameter("StockTaskId", std::to_string(stockTaskId));
|
||||
}
|
||||
|
||||
std::string DescribeOssResultItemsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
|
||||
@@ -71,18 +71,34 @@ void DescribeOssResultItemsResult::parse(const std::string &payload)
|
||||
scanResultListObject.handleStatus = std::stoi(valueScanResultListScanResult["HandleStatus"].asString());
|
||||
if(!valueScanResultListScanResult["ResourceStatus"].isNull())
|
||||
scanResultListObject.resourceStatus = std::stoi(valueScanResultListScanResult["ResourceStatus"].asString());
|
||||
auto allFrameResultsNode = allScanResultListNode["FrameResults"]["FrameResult"];
|
||||
for (auto allScanResultListNodeFrameResultsFrameResult : allFrameResultsNode)
|
||||
if(!valueScanResultListScanResult["Content"].isNull())
|
||||
scanResultListObject.content = valueScanResultListScanResult["Content"].asString();
|
||||
auto allFrameResultsNode = valueScanResultListScanResult["FrameResults"]["FrameResult"];
|
||||
for (auto valueScanResultListScanResultFrameResultsFrameResult : allFrameResultsNode)
|
||||
{
|
||||
ScanResult::FrameResult frameResultsObject;
|
||||
if(!allScanResultListNodeFrameResultsFrameResult["Thumbnail"].isNull())
|
||||
frameResultsObject.thumbnail = allScanResultListNodeFrameResultsFrameResult["Thumbnail"].asString();
|
||||
if(!allScanResultListNodeFrameResultsFrameResult["Offset"].isNull())
|
||||
frameResultsObject.offset = std::stoi(allScanResultListNodeFrameResultsFrameResult["Offset"].asString());
|
||||
if(!allScanResultListNodeFrameResultsFrameResult["Url"].isNull())
|
||||
frameResultsObject.url = allScanResultListNodeFrameResultsFrameResult["Url"].asString();
|
||||
if(!valueScanResultListScanResultFrameResultsFrameResult["Thumbnail"].isNull())
|
||||
frameResultsObject.thumbnail = valueScanResultListScanResultFrameResultsFrameResult["Thumbnail"].asString();
|
||||
if(!valueScanResultListScanResultFrameResultsFrameResult["Offset"].isNull())
|
||||
frameResultsObject.offset = std::stoi(valueScanResultListScanResultFrameResultsFrameResult["Offset"].asString());
|
||||
if(!valueScanResultListScanResultFrameResultsFrameResult["Url"].isNull())
|
||||
frameResultsObject.url = valueScanResultListScanResultFrameResultsFrameResult["Url"].asString();
|
||||
scanResultListObject.frameResults.push_back(frameResultsObject);
|
||||
}
|
||||
auto allVoiceSegmentAntispamResultsNode = valueScanResultListScanResult["VoiceSegmentAntispamResults"]["VoiceSegmentAntispamResult"];
|
||||
for (auto valueScanResultListScanResultVoiceSegmentAntispamResultsVoiceSegmentAntispamResult : allVoiceSegmentAntispamResultsNode)
|
||||
{
|
||||
ScanResult::VoiceSegmentAntispamResult voiceSegmentAntispamResultsObject;
|
||||
if(!valueScanResultListScanResultVoiceSegmentAntispamResultsVoiceSegmentAntispamResult["Text"].isNull())
|
||||
voiceSegmentAntispamResultsObject.text = valueScanResultListScanResultVoiceSegmentAntispamResultsVoiceSegmentAntispamResult["Text"].asString();
|
||||
if(!valueScanResultListScanResultVoiceSegmentAntispamResultsVoiceSegmentAntispamResult["EndTime"].isNull())
|
||||
voiceSegmentAntispamResultsObject.endTime = std::stoi(valueScanResultListScanResultVoiceSegmentAntispamResultsVoiceSegmentAntispamResult["EndTime"].asString());
|
||||
if(!valueScanResultListScanResultVoiceSegmentAntispamResultsVoiceSegmentAntispamResult["StartTime"].isNull())
|
||||
voiceSegmentAntispamResultsObject.startTime = std::stoi(valueScanResultListScanResultVoiceSegmentAntispamResultsVoiceSegmentAntispamResult["StartTime"].asString());
|
||||
if(!valueScanResultListScanResultVoiceSegmentAntispamResultsVoiceSegmentAntispamResult["Label"].isNull())
|
||||
voiceSegmentAntispamResultsObject.label = valueScanResultListScanResultVoiceSegmentAntispamResultsVoiceSegmentAntispamResult["Label"].asString();
|
||||
scanResultListObject.voiceSegmentAntispamResults.push_back(voiceSegmentAntispamResultsObject);
|
||||
}
|
||||
scanResultList_.push_back(scanResultListObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
|
||||
@@ -104,6 +104,17 @@ void DescribeViewContentRequest::setPageSize(int pageSize)
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeViewContentRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void DescribeViewContentRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setParameter("Keyword", keyword);
|
||||
}
|
||||
|
||||
std::string DescribeViewContentRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
|
||||
@@ -67,26 +67,26 @@ void DescribeViewContentResult::parse(const std::string &payload)
|
||||
viewContentListObject.id = std::stol(valueViewContentListViewContent["Id"].asString());
|
||||
if(!valueViewContentListViewContent["ScanResult"].isNull())
|
||||
viewContentListObject.scanResult = valueViewContentListViewContent["ScanResult"].asString();
|
||||
auto allResultsNode = allViewContentListNode["Results"]["Result"];
|
||||
for (auto allViewContentListNodeResultsResult : allResultsNode)
|
||||
auto allResultsNode = valueViewContentListViewContent["Results"]["Result"];
|
||||
for (auto valueViewContentListViewContentResultsResult : allResultsNode)
|
||||
{
|
||||
ViewContent::Result resultsObject;
|
||||
if(!allViewContentListNodeResultsResult["Suggestion"].isNull())
|
||||
resultsObject.suggestion = allViewContentListNodeResultsResult["Suggestion"].asString();
|
||||
if(!allViewContentListNodeResultsResult["Label"].isNull())
|
||||
resultsObject.label = allViewContentListNodeResultsResult["Label"].asString();
|
||||
if(!allViewContentListNodeResultsResult["Scene"].isNull())
|
||||
resultsObject.scene = allViewContentListNodeResultsResult["Scene"].asString();
|
||||
if(!valueViewContentListViewContentResultsResult["Suggestion"].isNull())
|
||||
resultsObject.suggestion = valueViewContentListViewContentResultsResult["Suggestion"].asString();
|
||||
if(!valueViewContentListViewContentResultsResult["Label"].isNull())
|
||||
resultsObject.label = valueViewContentListViewContentResultsResult["Label"].asString();
|
||||
if(!valueViewContentListViewContentResultsResult["Scene"].isNull())
|
||||
resultsObject.scene = valueViewContentListViewContentResultsResult["Scene"].asString();
|
||||
viewContentListObject.results.push_back(resultsObject);
|
||||
}
|
||||
auto allFrameResultsNode = allViewContentListNode["FrameResults"]["frameResult"];
|
||||
for (auto allViewContentListNodeFrameResultsframeResult : allFrameResultsNode)
|
||||
auto allFrameResultsNode = valueViewContentListViewContent["FrameResults"]["frameResult"];
|
||||
for (auto valueViewContentListViewContentFrameResultsframeResult : allFrameResultsNode)
|
||||
{
|
||||
ViewContent::FrameResult frameResultsObject;
|
||||
if(!allViewContentListNodeFrameResultsframeResult["Url"].isNull())
|
||||
frameResultsObject.url = allViewContentListNodeFrameResultsframeResult["Url"].asString();
|
||||
if(!allViewContentListNodeFrameResultsframeResult["Offset"].isNull())
|
||||
frameResultsObject.offset = std::stoi(allViewContentListNodeFrameResultsframeResult["Offset"].asString());
|
||||
if(!valueViewContentListViewContentFrameResultsframeResult["Url"].isNull())
|
||||
frameResultsObject.url = valueViewContentListViewContentFrameResultsframeResult["Url"].asString();
|
||||
if(!valueViewContentListViewContentFrameResultsframeResult["Offset"].isNull())
|
||||
frameResultsObject.offset = std::stoi(valueViewContentListViewContentFrameResultsframeResult["Offset"].asString());
|
||||
viewContentListObject.frameResults.push_back(frameResultsObject);
|
||||
}
|
||||
viewContentList_.push_back(viewContentListObject);
|
||||
|
||||
84
green/src/model/ExportOpenApiRcpStatsRequest.cc
Normal file
84
green/src/model/ExportOpenApiRcpStatsRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/ExportOpenApiRcpStatsRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::ExportOpenApiRcpStatsRequest;
|
||||
|
||||
ExportOpenApiRcpStatsRequest::ExportOpenApiRcpStatsRequest() :
|
||||
RpcServiceRequest("green", "2017-08-23", "ExportOpenApiRcpStats")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ExportOpenApiRcpStatsRequest::~ExportOpenApiRcpStatsRequest()
|
||||
{}
|
||||
|
||||
std::string ExportOpenApiRcpStatsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void ExportOpenApiRcpStatsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
std::string ExportOpenApiRcpStatsRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void ExportOpenApiRcpStatsRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string ExportOpenApiRcpStatsRequest::getBizType()const
|
||||
{
|
||||
return bizType_;
|
||||
}
|
||||
|
||||
void ExportOpenApiRcpStatsRequest::setBizType(const std::string& bizType)
|
||||
{
|
||||
bizType_ = bizType;
|
||||
setParameter("BizType", bizType);
|
||||
}
|
||||
|
||||
std::string ExportOpenApiRcpStatsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void ExportOpenApiRcpStatsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string ExportOpenApiRcpStatsRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void ExportOpenApiRcpStatsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
51
green/src/model/ExportOpenApiRcpStatsResult.cc
Normal file
51
green/src/model/ExportOpenApiRcpStatsResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/ExportOpenApiRcpStatsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
ExportOpenApiRcpStatsResult::ExportOpenApiRcpStatsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ExportOpenApiRcpStatsResult::ExportOpenApiRcpStatsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ExportOpenApiRcpStatsResult::~ExportOpenApiRcpStatsResult()
|
||||
{}
|
||||
|
||||
void ExportOpenApiRcpStatsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DownloadUrl"].isNull())
|
||||
downloadUrl_ = value["DownloadUrl"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ExportOpenApiRcpStatsResult::getDownloadUrl()const
|
||||
{
|
||||
return downloadUrl_;
|
||||
}
|
||||
|
||||
@@ -49,6 +49,17 @@ void ExportOssResultRequest::setMaxScore(float maxScore)
|
||||
setParameter("MaxScore", std::to_string(maxScore));
|
||||
}
|
||||
|
||||
long ExportOssResultRequest::getStockTaskId()const
|
||||
{
|
||||
return stockTaskId_;
|
||||
}
|
||||
|
||||
void ExportOssResultRequest::setStockTaskId(long stockTaskId)
|
||||
{
|
||||
stockTaskId_ = stockTaskId;
|
||||
setParameter("StockTaskId", std::to_string(stockTaskId));
|
||||
}
|
||||
|
||||
std::string ExportOssResultRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
|
||||
41
green/src/model/LiveStreamAsyncScanRequest.cc
Normal file
41
green/src/model/LiveStreamAsyncScanRequest.cc
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/LiveStreamAsyncScanRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::LiveStreamAsyncScanRequest;
|
||||
|
||||
LiveStreamAsyncScanRequest::LiveStreamAsyncScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{
|
||||
setResourcePath("/green/livestream/asyncscan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
LiveStreamAsyncScanRequest::~LiveStreamAsyncScanRequest()
|
||||
{}
|
||||
|
||||
std::string LiveStreamAsyncScanRequest::getClientInfo()const
|
||||
{
|
||||
return clientInfo_;
|
||||
}
|
||||
|
||||
void LiveStreamAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
44
green/src/model/LiveStreamAsyncScanResult.cc
Normal file
44
green/src/model/LiveStreamAsyncScanResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/LiveStreamAsyncScanResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
LiveStreamAsyncScanResult::LiveStreamAsyncScanResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
LiveStreamAsyncScanResult::LiveStreamAsyncScanResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
LiveStreamAsyncScanResult::~LiveStreamAsyncScanResult()
|
||||
{}
|
||||
|
||||
void LiveStreamAsyncScanResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
41
green/src/model/LiveStreamAsyncScanResultsRequest.cc
Normal file
41
green/src/model/LiveStreamAsyncScanResultsRequest.cc
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/LiveStreamAsyncScanResultsRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::LiveStreamAsyncScanResultsRequest;
|
||||
|
||||
LiveStreamAsyncScanResultsRequest::LiveStreamAsyncScanResultsRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{
|
||||
setResourcePath("/green/livestream/results");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
LiveStreamAsyncScanResultsRequest::~LiveStreamAsyncScanResultsRequest()
|
||||
{}
|
||||
|
||||
std::string LiveStreamAsyncScanResultsRequest::getClientInfo()const
|
||||
{
|
||||
return clientInfo_;
|
||||
}
|
||||
|
||||
void LiveStreamAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
44
green/src/model/LiveStreamAsyncScanResultsResult.cc
Normal file
44
green/src/model/LiveStreamAsyncScanResultsResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/LiveStreamAsyncScanResultsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
LiveStreamAsyncScanResultsResult::LiveStreamAsyncScanResultsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
LiveStreamAsyncScanResultsResult::LiveStreamAsyncScanResultsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
LiveStreamAsyncScanResultsResult::~LiveStreamAsyncScanResultsResult()
|
||||
{}
|
||||
|
||||
void LiveStreamAsyncScanResultsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
41
green/src/model/LiveStreamCancelScanRequest.cc
Normal file
41
green/src/model/LiveStreamCancelScanRequest.cc
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/LiveStreamCancelScanRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::LiveStreamCancelScanRequest;
|
||||
|
||||
LiveStreamCancelScanRequest::LiveStreamCancelScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{
|
||||
setResourcePath("/green/livestream/cancelscan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
LiveStreamCancelScanRequest::~LiveStreamCancelScanRequest()
|
||||
{}
|
||||
|
||||
std::string LiveStreamCancelScanRequest::getClientInfo()const
|
||||
{
|
||||
return clientInfo_;
|
||||
}
|
||||
|
||||
void LiveStreamCancelScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
@@ -14,38 +14,31 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/CreateMAURuleResult.h>
|
||||
#include <alibabacloud/green/model/LiveStreamCancelScanResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
CreateMAURuleResult::CreateMAURuleResult() :
|
||||
LiveStreamCancelScanResult::LiveStreamCancelScanResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateMAURuleResult::CreateMAURuleResult(const std::string &payload) :
|
||||
LiveStreamCancelScanResult::LiveStreamCancelScanResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateMAURuleResult::~CreateMAURuleResult()
|
||||
LiveStreamCancelScanResult::~LiveStreamCancelScanResult()
|
||||
{}
|
||||
|
||||
void CreateMAURuleResult::parse(const std::string &payload)
|
||||
void LiveStreamCancelScanResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["RuleId"].isNull())
|
||||
ruleId_ = std::stol(value["RuleId"].asString());
|
||||
|
||||
}
|
||||
|
||||
long CreateMAURuleResult::getRuleId()const
|
||||
{
|
||||
return ruleId_;
|
||||
}
|
||||
|
||||
@@ -71,6 +71,17 @@ void UpdateOssIncrementCheckSettingRequest::setSourceIp(const std::string& sourc
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string UpdateOssIncrementCheckSettingRequest::getCallbackId()const
|
||||
{
|
||||
return callbackId_;
|
||||
}
|
||||
|
||||
void UpdateOssIncrementCheckSettingRequest::setCallbackId(const std::string& callbackId)
|
||||
{
|
||||
callbackId_ = callbackId;
|
||||
setParameter("CallbackId", callbackId);
|
||||
}
|
||||
|
||||
std::string UpdateOssIncrementCheckSettingRequest::getImageScanLimit()const
|
||||
{
|
||||
return imageScanLimit_;
|
||||
|
||||
41
green/src/model/VodAsyncScanRequest.cc
Normal file
41
green/src/model/VodAsyncScanRequest.cc
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/VodAsyncScanRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::VodAsyncScanRequest;
|
||||
|
||||
VodAsyncScanRequest::VodAsyncScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{
|
||||
setResourcePath("/green/vod/asyncscan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VodAsyncScanRequest::~VodAsyncScanRequest()
|
||||
{}
|
||||
|
||||
std::string VodAsyncScanRequest::getClientInfo()const
|
||||
{
|
||||
return clientInfo_;
|
||||
}
|
||||
|
||||
void VodAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/DeleteMAURuleResult.h>
|
||||
#include <alibabacloud/green/model/VodAsyncScanResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
DeleteMAURuleResult::DeleteMAURuleResult() :
|
||||
VodAsyncScanResult::VodAsyncScanResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteMAURuleResult::DeleteMAURuleResult(const std::string &payload) :
|
||||
VodAsyncScanResult::VodAsyncScanResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteMAURuleResult::~DeleteMAURuleResult()
|
||||
VodAsyncScanResult::~VodAsyncScanResult()
|
||||
{}
|
||||
|
||||
void DeleteMAURuleResult::parse(const std::string &payload)
|
||||
void VodAsyncScanResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
41
green/src/model/VodAsyncScanResultsRequest.cc
Normal file
41
green/src/model/VodAsyncScanResultsRequest.cc
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/VodAsyncScanResultsRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::VodAsyncScanResultsRequest;
|
||||
|
||||
VodAsyncScanResultsRequest::VodAsyncScanResultsRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{
|
||||
setResourcePath("/green/vod/results");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
VodAsyncScanResultsRequest::~VodAsyncScanResultsRequest()
|
||||
{}
|
||||
|
||||
std::string VodAsyncScanResultsRequest::getClientInfo()const
|
||||
{
|
||||
return clientInfo_;
|
||||
}
|
||||
|
||||
void VodAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
44
green/src/model/VodAsyncScanResultsResult.cc
Normal file
44
green/src/model/VodAsyncScanResultsResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/VodAsyncScanResultsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
VodAsyncScanResultsResult::VodAsyncScanResultsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
VodAsyncScanResultsResult::VodAsyncScanResultsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
VodAsyncScanResultsResult::~VodAsyncScanResultsResult()
|
||||
{}
|
||||
|
||||
void VodAsyncScanResultsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
41
green/src/model/WebpageAsyncScanRequest.cc
Normal file
41
green/src/model/WebpageAsyncScanRequest.cc
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/WebpageAsyncScanRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::WebpageAsyncScanRequest;
|
||||
|
||||
WebpageAsyncScanRequest::WebpageAsyncScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{
|
||||
setResourcePath("/green/webpage/asyncscan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
WebpageAsyncScanRequest::~WebpageAsyncScanRequest()
|
||||
{}
|
||||
|
||||
std::string WebpageAsyncScanRequest::getClientInfo()const
|
||||
{
|
||||
return clientInfo_;
|
||||
}
|
||||
|
||||
void WebpageAsyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
44
green/src/model/WebpageAsyncScanResult.cc
Normal file
44
green/src/model/WebpageAsyncScanResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/WebpageAsyncScanResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
WebpageAsyncScanResult::WebpageAsyncScanResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
WebpageAsyncScanResult::WebpageAsyncScanResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
WebpageAsyncScanResult::~WebpageAsyncScanResult()
|
||||
{}
|
||||
|
||||
void WebpageAsyncScanResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
41
green/src/model/WebpageAsyncScanResultsRequest.cc
Normal file
41
green/src/model/WebpageAsyncScanResultsRequest.cc
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/WebpageAsyncScanResultsRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::WebpageAsyncScanResultsRequest;
|
||||
|
||||
WebpageAsyncScanResultsRequest::WebpageAsyncScanResultsRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{
|
||||
setResourcePath("/green/webpage/results");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
WebpageAsyncScanResultsRequest::~WebpageAsyncScanResultsRequest()
|
||||
{}
|
||||
|
||||
std::string WebpageAsyncScanResultsRequest::getClientInfo()const
|
||||
{
|
||||
return clientInfo_;
|
||||
}
|
||||
|
||||
void WebpageAsyncScanResultsRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
44
green/src/model/WebpageAsyncScanResultsResult.cc
Normal file
44
green/src/model/WebpageAsyncScanResultsResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/WebpageAsyncScanResultsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
WebpageAsyncScanResultsResult::WebpageAsyncScanResultsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
WebpageAsyncScanResultsResult::WebpageAsyncScanResultsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
WebpageAsyncScanResultsResult::~WebpageAsyncScanResultsResult()
|
||||
{}
|
||||
|
||||
void WebpageAsyncScanResultsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
41
green/src/model/WebpageSyncScanRequest.cc
Normal file
41
green/src/model/WebpageSyncScanRequest.cc
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/green/model/WebpageSyncScanRequest.h>
|
||||
|
||||
using AlibabaCloud::Green::Model::WebpageSyncScanRequest;
|
||||
|
||||
WebpageSyncScanRequest::WebpageSyncScanRequest() :
|
||||
RoaServiceRequest("green", "2018-05-09")
|
||||
{
|
||||
setResourcePath("/green/webpage/scan");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
WebpageSyncScanRequest::~WebpageSyncScanRequest()
|
||||
{}
|
||||
|
||||
std::string WebpageSyncScanRequest::getClientInfo()const
|
||||
{
|
||||
return clientInfo_;
|
||||
}
|
||||
|
||||
void WebpageSyncScanRequest::setClientInfo(const std::string& clientInfo)
|
||||
{
|
||||
clientInfo_ = clientInfo;
|
||||
setParameter("ClientInfo", clientInfo);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/EnableMAURuleResult.h>
|
||||
#include <alibabacloud/green/model/WebpageSyncScanResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
using namespace AlibabaCloud::Green;
|
||||
using namespace AlibabaCloud::Green::Model;
|
||||
|
||||
EnableMAURuleResult::EnableMAURuleResult() :
|
||||
WebpageSyncScanResult::WebpageSyncScanResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
EnableMAURuleResult::EnableMAURuleResult(const std::string &payload) :
|
||||
WebpageSyncScanResult::WebpageSyncScanResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
EnableMAURuleResult::~EnableMAURuleResult()
|
||||
WebpageSyncScanResult::~WebpageSyncScanResult()
|
||||
{}
|
||||
|
||||
void EnableMAURuleResult::parse(const std::string &payload)
|
||||
void WebpageSyncScanResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -155,6 +155,8 @@ set(hbase_public_header_model
|
||||
include/alibabacloud/hbase/model/TagResourcesResult.h
|
||||
include/alibabacloud/hbase/model/UnTagResourcesRequest.h
|
||||
include/alibabacloud/hbase/model/UnTagResourcesResult.h
|
||||
include/alibabacloud/hbase/model/UpgradeMinorVersionRequest.h
|
||||
include/alibabacloud/hbase/model/UpgradeMinorVersionResult.h
|
||||
include/alibabacloud/hbase/model/UpgradeMultiZoneClusterRequest.h
|
||||
include/alibabacloud/hbase/model/UpgradeMultiZoneClusterResult.h
|
||||
include/alibabacloud/hbase/model/XpackRelateDBRequest.h
|
||||
@@ -296,6 +298,8 @@ set(hbase_src
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/UnTagResourcesRequest.cc
|
||||
src/model/UnTagResourcesResult.cc
|
||||
src/model/UpgradeMinorVersionRequest.cc
|
||||
src/model/UpgradeMinorVersionResult.cc
|
||||
src/model/UpgradeMultiZoneClusterRequest.cc
|
||||
src/model/UpgradeMultiZoneClusterResult.cc
|
||||
src/model/XpackRelateDBRequest.cc
|
||||
|
||||
@@ -156,6 +156,8 @@
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/UnTagResourcesRequest.h"
|
||||
#include "model/UnTagResourcesResult.h"
|
||||
#include "model/UpgradeMinorVersionRequest.h"
|
||||
#include "model/UpgradeMinorVersionResult.h"
|
||||
#include "model/UpgradeMultiZoneClusterRequest.h"
|
||||
#include "model/UpgradeMultiZoneClusterResult.h"
|
||||
#include "model/XpackRelateDBRequest.h"
|
||||
@@ -370,6 +372,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UnTagResourcesResult> UnTagResourcesOutcome;
|
||||
typedef std::future<UnTagResourcesOutcome> UnTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::UnTagResourcesRequest&, const UnTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnTagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeMinorVersionResult> UpgradeMinorVersionOutcome;
|
||||
typedef std::future<UpgradeMinorVersionOutcome> UpgradeMinorVersionOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::UpgradeMinorVersionRequest&, const UpgradeMinorVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeMinorVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeMultiZoneClusterResult> UpgradeMultiZoneClusterOutcome;
|
||||
typedef std::future<UpgradeMultiZoneClusterOutcome> UpgradeMultiZoneClusterOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::UpgradeMultiZoneClusterRequest&, const UpgradeMultiZoneClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeMultiZoneClusterAsyncHandler;
|
||||
@@ -582,6 +587,9 @@ namespace AlibabaCloud
|
||||
UnTagResourcesOutcome unTagResources(const Model::UnTagResourcesRequest &request)const;
|
||||
void unTagResourcesAsync(const Model::UnTagResourcesRequest& request, const UnTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnTagResourcesOutcomeCallable unTagResourcesCallable(const Model::UnTagResourcesRequest& request) const;
|
||||
UpgradeMinorVersionOutcome upgradeMinorVersion(const Model::UpgradeMinorVersionRequest &request)const;
|
||||
void upgradeMinorVersionAsync(const Model::UpgradeMinorVersionRequest& request, const UpgradeMinorVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeMinorVersionOutcomeCallable upgradeMinorVersionCallable(const Model::UpgradeMinorVersionRequest& request) const;
|
||||
UpgradeMultiZoneClusterOutcome upgradeMultiZoneCluster(const Model::UpgradeMultiZoneClusterRequest &request)const;
|
||||
void upgradeMultiZoneClusterAsync(const Model::UpgradeMultiZoneClusterRequest& request, const UpgradeMultiZoneClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeMultiZoneClusterOutcomeCallable upgradeMultiZoneClusterCallable(const Model::UpgradeMultiZoneClusterRequest& request) const;
|
||||
|
||||
@@ -37,11 +37,14 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getExtInfo()const;
|
||||
void setExtInfo(const std::string& extInfo);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string extInfo_;
|
||||
std::string clientToken_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
CreateHbaseHaSlbRequest();
|
||||
~CreateHbaseHaSlbRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getHaTypes()const;
|
||||
void setHaTypes(const std::string& haTypes);
|
||||
std::string getHbaseType()const;
|
||||
@@ -45,6 +47,7 @@ namespace AlibabaCloud
|
||||
void setHaId(const std::string& haId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string haTypes_;
|
||||
std::string hbaseType_;
|
||||
std::string bdsId_;
|
||||
|
||||
@@ -61,6 +61,7 @@ namespace AlibabaCloud
|
||||
std::string getMajorVersion()const;
|
||||
std::string getCoreDiskCount()const;
|
||||
std::string getParentId()const;
|
||||
int getColdStorageSize()const;
|
||||
int getMasterDiskSize()const;
|
||||
std::string getExpireTimeUTC()const;
|
||||
std::string getZoneId()const;
|
||||
@@ -107,6 +108,7 @@ namespace AlibabaCloud
|
||||
std::string majorVersion_;
|
||||
std::string coreDiskCount_;
|
||||
std::string parentId_;
|
||||
int coldStorageSize_;
|
||||
int masterDiskSize_;
|
||||
std::string expireTimeUTC_;
|
||||
std::string zoneId_;
|
||||
|
||||
@@ -14,44 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_ENABLEMAURULEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_ENABLEMAURULEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_HBASE_MODEL_UPGRADEMINORVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_UPGRADEMINORVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
#include <alibabacloud/hbase/HBaseExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
namespace HBase
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT EnableMAURuleRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_HBASE_EXPORT UpgradeMinorVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EnableMAURuleRequest();
|
||||
~EnableMAURuleRequest();
|
||||
UpgradeMinorVersionRequest();
|
||||
~UpgradeMinorVersionRequest();
|
||||
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
long getRuleId()const;
|
||||
void setRuleId(long ruleId);
|
||||
std::string getComponents()const;
|
||||
void setComponents(const std::string& components);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string showLog_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
long ruleId_;
|
||||
std::string components_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_ENABLEMAURULEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_UPGRADEMINORVERSIONREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HBASE_MODEL_UPGRADEMINORVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_UPGRADEMINORVERSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hbase/HBaseExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace HBase
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HBASE_EXPORT UpgradeMinorVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpgradeMinorVersionResult();
|
||||
explicit UpgradeMinorVersionResult(const std::string &payload);
|
||||
~UpgradeMinorVersionResult();
|
||||
std::string getUpgradingComponents()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string upgradingComponents_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_UPGRADEMINORVERSIONRESULT_H_
|
||||
@@ -2463,6 +2463,42 @@ HBaseClient::UnTagResourcesOutcomeCallable HBaseClient::unTagResourcesCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HBaseClient::UpgradeMinorVersionOutcome HBaseClient::upgradeMinorVersion(const UpgradeMinorVersionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpgradeMinorVersionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpgradeMinorVersionOutcome(UpgradeMinorVersionResult(outcome.result()));
|
||||
else
|
||||
return UpgradeMinorVersionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HBaseClient::upgradeMinorVersionAsync(const UpgradeMinorVersionRequest& request, const UpgradeMinorVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, upgradeMinorVersion(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HBaseClient::UpgradeMinorVersionOutcomeCallable HBaseClient::upgradeMinorVersionCallable(const UpgradeMinorVersionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpgradeMinorVersionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->upgradeMinorVersion(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HBaseClient::UpgradeMultiZoneClusterOutcome HBaseClient::upgradeMultiZoneCluster(const UpgradeMultiZoneClusterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -38,6 +38,17 @@ void AddUserHdfsInfoRequest::setExtInfo(const std::string& extInfo)
|
||||
setParameter("ExtInfo", extInfo);
|
||||
}
|
||||
|
||||
std::string AddUserHdfsInfoRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddUserHdfsInfoRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddUserHdfsInfoRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
|
||||
@@ -27,6 +27,17 @@ CreateHbaseHaSlbRequest::CreateHbaseHaSlbRequest() :
|
||||
CreateHbaseHaSlbRequest::~CreateHbaseHaSlbRequest()
|
||||
{}
|
||||
|
||||
std::string CreateHbaseHaSlbRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateHbaseHaSlbRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateHbaseHaSlbRequest::getHaTypes()const
|
||||
{
|
||||
return haTypes_;
|
||||
|
||||
@@ -47,38 +47,38 @@ void DescribeAvailableResourceResult::parse(const std::string &payload)
|
||||
availableZonesObject.regionId = valueAvailableZonesAvailableZone["RegionId"].asString();
|
||||
if(!valueAvailableZonesAvailableZone["ZoneId"].isNull())
|
||||
availableZonesObject.zoneId = valueAvailableZonesAvailableZone["ZoneId"].asString();
|
||||
auto allSupportedEnginesNode = allAvailableZonesNode["SupportedEngines"]["SupportedEngine"];
|
||||
for (auto allAvailableZonesNodeSupportedEnginesSupportedEngine : allSupportedEnginesNode)
|
||||
auto allSupportedEnginesNode = valueAvailableZonesAvailableZone["SupportedEngines"]["SupportedEngine"];
|
||||
for (auto valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngine : allSupportedEnginesNode)
|
||||
{
|
||||
AvailableZone::SupportedEngine supportedEnginesObject;
|
||||
if(!allAvailableZonesNodeSupportedEnginesSupportedEngine["Engine"].isNull())
|
||||
supportedEnginesObject.engine = allAvailableZonesNodeSupportedEnginesSupportedEngine["Engine"].asString();
|
||||
auto allSupportedEngineVersionsNode = allSupportedEnginesNode["SupportedEngineVersions"]["SupportedEngineVersion"];
|
||||
for (auto allSupportedEnginesNodeSupportedEngineVersionsSupportedEngineVersion : allSupportedEngineVersionsNode)
|
||||
if(!valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngine["Engine"].isNull())
|
||||
supportedEnginesObject.engine = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngine["Engine"].asString();
|
||||
auto allSupportedEngineVersionsNode = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngine["SupportedEngineVersions"]["SupportedEngineVersion"];
|
||||
for (auto valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersion : allSupportedEngineVersionsNode)
|
||||
{
|
||||
AvailableZone::SupportedEngine::SupportedEngineVersion supportedEngineVersionsObject;
|
||||
if(!allSupportedEnginesNodeSupportedEngineVersionsSupportedEngineVersion["Version"].isNull())
|
||||
supportedEngineVersionsObject.version = allSupportedEnginesNodeSupportedEngineVersionsSupportedEngineVersion["Version"].asString();
|
||||
auto allSupportedCategoriesNode = allSupportedEngineVersionsNode["SupportedCategories"]["SupportedCategoriesItem"];
|
||||
for (auto allSupportedEngineVersionsNodeSupportedCategoriesSupportedCategoriesItem : allSupportedCategoriesNode)
|
||||
if(!valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersion["Version"].isNull())
|
||||
supportedEngineVersionsObject.version = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersion["Version"].asString();
|
||||
auto allSupportedCategoriesNode = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersion["SupportedCategories"]["SupportedCategoriesItem"];
|
||||
for (auto valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItem : allSupportedCategoriesNode)
|
||||
{
|
||||
AvailableZone::SupportedEngine::SupportedEngineVersion::SupportedCategoriesItem supportedCategoriesObject;
|
||||
if(!allSupportedEngineVersionsNodeSupportedCategoriesSupportedCategoriesItem["Category"].isNull())
|
||||
supportedCategoriesObject.category = allSupportedEngineVersionsNodeSupportedCategoriesSupportedCategoriesItem["Category"].asString();
|
||||
auto allSupportedStorageTypesNode = allSupportedCategoriesNode["SupportedStorageTypes"]["SupportedStorageType"];
|
||||
for (auto allSupportedCategoriesNodeSupportedStorageTypesSupportedStorageType : allSupportedStorageTypesNode)
|
||||
if(!valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItem["Category"].isNull())
|
||||
supportedCategoriesObject.category = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItem["Category"].asString();
|
||||
auto allSupportedStorageTypesNode = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItem["SupportedStorageTypes"]["SupportedStorageType"];
|
||||
for (auto valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageType : allSupportedStorageTypesNode)
|
||||
{
|
||||
AvailableZone::SupportedEngine::SupportedEngineVersion::SupportedCategoriesItem::SupportedStorageType supportedStorageTypesObject;
|
||||
if(!allSupportedCategoriesNodeSupportedStorageTypesSupportedStorageType["StorageType"].isNull())
|
||||
supportedStorageTypesObject.storageType = allSupportedCategoriesNodeSupportedStorageTypesSupportedStorageType["StorageType"].asString();
|
||||
auto allCoreResourcesNode = allSupportedStorageTypesNode["CoreResources"]["CoreResource"];
|
||||
for (auto allSupportedStorageTypesNodeCoreResourcesCoreResource : allCoreResourcesNode)
|
||||
if(!valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageType["StorageType"].isNull())
|
||||
supportedStorageTypesObject.storageType = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageType["StorageType"].asString();
|
||||
auto allCoreResourcesNode = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageType["CoreResources"]["CoreResource"];
|
||||
for (auto valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageTypeCoreResourcesCoreResource : allCoreResourcesNode)
|
||||
{
|
||||
AvailableZone::SupportedEngine::SupportedEngineVersion::SupportedCategoriesItem::SupportedStorageType::CoreResource coreResourcesObject;
|
||||
if(!allSupportedStorageTypesNodeCoreResourcesCoreResource["InstanceType"].isNull())
|
||||
coreResourcesObject.instanceType = allSupportedStorageTypesNodeCoreResourcesCoreResource["InstanceType"].asString();
|
||||
if(!allSupportedStorageTypesNodeCoreResourcesCoreResource["MaxCoreCount"].isNull())
|
||||
coreResourcesObject.maxCoreCount = std::stoi(allSupportedStorageTypesNodeCoreResourcesCoreResource["MaxCoreCount"].asString());
|
||||
if(!valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageTypeCoreResourcesCoreResource["InstanceType"].isNull())
|
||||
coreResourcesObject.instanceType = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageTypeCoreResourcesCoreResource["InstanceType"].asString();
|
||||
if(!valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageTypeCoreResourcesCoreResource["MaxCoreCount"].isNull())
|
||||
coreResourcesObject.maxCoreCount = std::stoi(valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageTypeCoreResourcesCoreResource["MaxCoreCount"].asString());
|
||||
auto dBInstanceStorageRangeNode = value["DBInstanceStorageRange"];
|
||||
if(!dBInstanceStorageRangeNode["MaxSize"].isNull())
|
||||
coreResourcesObject.dBInstanceStorageRange.maxSize = std::stoi(dBInstanceStorageRangeNode["MaxSize"].asString());
|
||||
@@ -101,12 +101,12 @@ void DescribeAvailableResourceResult::parse(const std::string &payload)
|
||||
}
|
||||
availableZonesObject.supportedEngines.push_back(supportedEnginesObject);
|
||||
}
|
||||
auto allMasterResourcesNode = allAvailableZonesNode["MasterResources"]["MasterResource"];
|
||||
for (auto allAvailableZonesNodeMasterResourcesMasterResource : allMasterResourcesNode)
|
||||
auto allMasterResourcesNode = valueAvailableZonesAvailableZone["MasterResources"]["MasterResource"];
|
||||
for (auto valueAvailableZonesAvailableZoneMasterResourcesMasterResource : allMasterResourcesNode)
|
||||
{
|
||||
AvailableZone::MasterResource masterResourcesObject;
|
||||
if(!allAvailableZonesNodeMasterResourcesMasterResource["InstanceType"].isNull())
|
||||
masterResourcesObject.instanceType = allAvailableZonesNodeMasterResourcesMasterResource["InstanceType"].asString();
|
||||
if(!valueAvailableZonesAvailableZoneMasterResourcesMasterResource["InstanceType"].isNull())
|
||||
masterResourcesObject.instanceType = valueAvailableZonesAvailableZoneMasterResourcesMasterResource["InstanceType"].asString();
|
||||
auto instanceTypeDetail1Node = value["InstanceTypeDetail"];
|
||||
if(!instanceTypeDetail1Node["Cpu"].isNull())
|
||||
masterResourcesObject.instanceTypeDetail1.cpu = std::stoi(instanceTypeDetail1Node["Cpu"].asString());
|
||||
|
||||
@@ -131,6 +131,8 @@ void DescribeInstanceResult::parse(const std::string &payload)
|
||||
autoRenewal_ = value["AutoRenewal"].asString() == "true";
|
||||
if(!value["Duration"].isNull())
|
||||
duration_ = std::stoi(value["Duration"].asString());
|
||||
if(!value["ColdStorageSize"].isNull())
|
||||
coldStorageSize_ = std::stoi(value["ColdStorageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -229,6 +231,11 @@ std::string DescribeInstanceResult::getParentId()const
|
||||
return parentId_;
|
||||
}
|
||||
|
||||
int DescribeInstanceResult::getColdStorageSize()const
|
||||
{
|
||||
return coldStorageSize_;
|
||||
}
|
||||
|
||||
int DescribeInstanceResult::getMasterDiskSize()const
|
||||
{
|
||||
return masterDiskSize_;
|
||||
|
||||
@@ -115,14 +115,14 @@ void DescribeInstancesResult::parse(const std::string &payload)
|
||||
instancesObject.autoRenewal = valueInstancesInstance["AutoRenewal"].asString() == "true";
|
||||
if(!valueInstancesInstance["Duration"].isNull())
|
||||
instancesObject.duration = std::stoi(valueInstancesInstance["Duration"].asString());
|
||||
auto allTagsNode = allInstancesNode["Tags"]["Tag"];
|
||||
for (auto allInstancesNodeTagsTag : allTagsNode)
|
||||
auto allTagsNode = valueInstancesInstance["Tags"]["Tag"];
|
||||
for (auto valueInstancesInstanceTagsTag : allTagsNode)
|
||||
{
|
||||
Instance::Tag tagsObject;
|
||||
if(!allInstancesNodeTagsTag["Key"].isNull())
|
||||
tagsObject.key = allInstancesNodeTagsTag["Key"].asString();
|
||||
if(!allInstancesNodeTagsTag["Value"].isNull())
|
||||
tagsObject.value = allInstancesNodeTagsTag["Value"].asString();
|
||||
if(!valueInstancesInstanceTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueInstancesInstanceTagsTag["Key"].asString();
|
||||
if(!valueInstancesInstanceTagsTag["Value"].isNull())
|
||||
tagsObject.value = valueInstancesInstanceTagsTag["Value"].asString();
|
||||
instancesObject.tags.push_back(tagsObject);
|
||||
}
|
||||
instances_.push_back(instancesObject);
|
||||
|
||||
@@ -49,12 +49,12 @@ void DescribeMultiZoneAvailableRegionsResult::parse(const std::string &payload)
|
||||
regionsObject.regionEndpoint = valueRegionsRegion["RegionEndpoint"].asString();
|
||||
if(!valueRegionsRegion["RegionId"].isNull())
|
||||
regionsObject.regionId = valueRegionsRegion["RegionId"].asString();
|
||||
auto allAvailableCombinesNode = allRegionsNode["AvailableCombines"]["AvailableCombine"];
|
||||
for (auto allRegionsNodeAvailableCombinesAvailableCombine : allAvailableCombinesNode)
|
||||
auto allAvailableCombinesNode = valueRegionsRegion["AvailableCombines"]["AvailableCombine"];
|
||||
for (auto valueRegionsRegionAvailableCombinesAvailableCombine : allAvailableCombinesNode)
|
||||
{
|
||||
Region::AvailableCombine availableCombinesObject;
|
||||
if(!allRegionsNodeAvailableCombinesAvailableCombine["Id"].isNull())
|
||||
availableCombinesObject.id = allRegionsNodeAvailableCombinesAvailableCombine["Id"].asString();
|
||||
if(!valueRegionsRegionAvailableCombinesAvailableCombine["Id"].isNull())
|
||||
availableCombinesObject.id = valueRegionsRegionAvailableCombinesAvailableCombine["Id"].asString();
|
||||
auto allZones = value["Zones"]["Zone"];
|
||||
for (auto value : allZones)
|
||||
availableCombinesObject.zones.push_back(value.asString());
|
||||
|
||||
@@ -47,12 +47,12 @@ void DescribeMultiZoneAvailableResourceResult::parse(const std::string &payload)
|
||||
availableZonesObject.regionId = valueAvailableZonesAvailableZone["RegionId"].asString();
|
||||
if(!valueAvailableZonesAvailableZone["ZoneCombination"].isNull())
|
||||
availableZonesObject.zoneCombination = valueAvailableZonesAvailableZone["ZoneCombination"].asString();
|
||||
auto allMasterResourcesNode = allAvailableZonesNode["MasterResources"]["MasterResource"];
|
||||
for (auto allAvailableZonesNodeMasterResourcesMasterResource : allMasterResourcesNode)
|
||||
auto allMasterResourcesNode = valueAvailableZonesAvailableZone["MasterResources"]["MasterResource"];
|
||||
for (auto valueAvailableZonesAvailableZoneMasterResourcesMasterResource : allMasterResourcesNode)
|
||||
{
|
||||
AvailableZone::MasterResource masterResourcesObject;
|
||||
if(!allAvailableZonesNodeMasterResourcesMasterResource["InstanceType"].isNull())
|
||||
masterResourcesObject.instanceType = allAvailableZonesNodeMasterResourcesMasterResource["InstanceType"].asString();
|
||||
if(!valueAvailableZonesAvailableZoneMasterResourcesMasterResource["InstanceType"].isNull())
|
||||
masterResourcesObject.instanceType = valueAvailableZonesAvailableZoneMasterResourcesMasterResource["InstanceType"].asString();
|
||||
auto instanceTypeDetailNode = value["InstanceTypeDetail"];
|
||||
if(!instanceTypeDetailNode["Cpu"].isNull())
|
||||
masterResourcesObject.instanceTypeDetail.cpu = std::stoi(instanceTypeDetailNode["Cpu"].asString());
|
||||
@@ -60,38 +60,38 @@ void DescribeMultiZoneAvailableResourceResult::parse(const std::string &payload)
|
||||
masterResourcesObject.instanceTypeDetail.mem = std::stoi(instanceTypeDetailNode["Mem"].asString());
|
||||
availableZonesObject.masterResources.push_back(masterResourcesObject);
|
||||
}
|
||||
auto allSupportedEnginesNode = allAvailableZonesNode["SupportedEngines"]["SupportedEngine"];
|
||||
for (auto allAvailableZonesNodeSupportedEnginesSupportedEngine : allSupportedEnginesNode)
|
||||
auto allSupportedEnginesNode = valueAvailableZonesAvailableZone["SupportedEngines"]["SupportedEngine"];
|
||||
for (auto valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngine : allSupportedEnginesNode)
|
||||
{
|
||||
AvailableZone::SupportedEngine supportedEnginesObject;
|
||||
if(!allAvailableZonesNodeSupportedEnginesSupportedEngine["Engine"].isNull())
|
||||
supportedEnginesObject.engine = allAvailableZonesNodeSupportedEnginesSupportedEngine["Engine"].asString();
|
||||
auto allSupportedEngineVersionsNode = allSupportedEnginesNode["SupportedEngineVersions"]["SupportedEngineVersion"];
|
||||
for (auto allSupportedEnginesNodeSupportedEngineVersionsSupportedEngineVersion : allSupportedEngineVersionsNode)
|
||||
if(!valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngine["Engine"].isNull())
|
||||
supportedEnginesObject.engine = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngine["Engine"].asString();
|
||||
auto allSupportedEngineVersionsNode = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngine["SupportedEngineVersions"]["SupportedEngineVersion"];
|
||||
for (auto valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersion : allSupportedEngineVersionsNode)
|
||||
{
|
||||
AvailableZone::SupportedEngine::SupportedEngineVersion supportedEngineVersionsObject;
|
||||
if(!allSupportedEnginesNodeSupportedEngineVersionsSupportedEngineVersion["Version"].isNull())
|
||||
supportedEngineVersionsObject.version = allSupportedEnginesNodeSupportedEngineVersionsSupportedEngineVersion["Version"].asString();
|
||||
auto allSupportedCategoriesNode = allSupportedEngineVersionsNode["SupportedCategories"]["SupportedCategoriesItem"];
|
||||
for (auto allSupportedEngineVersionsNodeSupportedCategoriesSupportedCategoriesItem : allSupportedCategoriesNode)
|
||||
if(!valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersion["Version"].isNull())
|
||||
supportedEngineVersionsObject.version = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersion["Version"].asString();
|
||||
auto allSupportedCategoriesNode = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersion["SupportedCategories"]["SupportedCategoriesItem"];
|
||||
for (auto valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItem : allSupportedCategoriesNode)
|
||||
{
|
||||
AvailableZone::SupportedEngine::SupportedEngineVersion::SupportedCategoriesItem supportedCategoriesObject;
|
||||
if(!allSupportedEngineVersionsNodeSupportedCategoriesSupportedCategoriesItem["Category"].isNull())
|
||||
supportedCategoriesObject.category = allSupportedEngineVersionsNodeSupportedCategoriesSupportedCategoriesItem["Category"].asString();
|
||||
auto allSupportedStorageTypesNode = allSupportedCategoriesNode["SupportedStorageTypes"]["SupportedStorageType"];
|
||||
for (auto allSupportedCategoriesNodeSupportedStorageTypesSupportedStorageType : allSupportedStorageTypesNode)
|
||||
if(!valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItem["Category"].isNull())
|
||||
supportedCategoriesObject.category = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItem["Category"].asString();
|
||||
auto allSupportedStorageTypesNode = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItem["SupportedStorageTypes"]["SupportedStorageType"];
|
||||
for (auto valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageType : allSupportedStorageTypesNode)
|
||||
{
|
||||
AvailableZone::SupportedEngine::SupportedEngineVersion::SupportedCategoriesItem::SupportedStorageType supportedStorageTypesObject;
|
||||
if(!allSupportedCategoriesNodeSupportedStorageTypesSupportedStorageType["StorageType"].isNull())
|
||||
supportedStorageTypesObject.storageType = allSupportedCategoriesNodeSupportedStorageTypesSupportedStorageType["StorageType"].asString();
|
||||
auto allCoreResourcesNode = allSupportedStorageTypesNode["CoreResources"]["CoreResource"];
|
||||
for (auto allSupportedStorageTypesNodeCoreResourcesCoreResource : allCoreResourcesNode)
|
||||
if(!valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageType["StorageType"].isNull())
|
||||
supportedStorageTypesObject.storageType = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageType["StorageType"].asString();
|
||||
auto allCoreResourcesNode = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageType["CoreResources"]["CoreResource"];
|
||||
for (auto valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageTypeCoreResourcesCoreResource : allCoreResourcesNode)
|
||||
{
|
||||
AvailableZone::SupportedEngine::SupportedEngineVersion::SupportedCategoriesItem::SupportedStorageType::CoreResource coreResourcesObject;
|
||||
if(!allSupportedStorageTypesNodeCoreResourcesCoreResource["InstanceType"].isNull())
|
||||
coreResourcesObject.instanceType = allSupportedStorageTypesNodeCoreResourcesCoreResource["InstanceType"].asString();
|
||||
if(!allSupportedStorageTypesNodeCoreResourcesCoreResource["MaxCoreCount"].isNull())
|
||||
coreResourcesObject.maxCoreCount = std::stoi(allSupportedStorageTypesNodeCoreResourcesCoreResource["MaxCoreCount"].asString());
|
||||
if(!valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageTypeCoreResourcesCoreResource["InstanceType"].isNull())
|
||||
coreResourcesObject.instanceType = valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageTypeCoreResourcesCoreResource["InstanceType"].asString();
|
||||
if(!valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageTypeCoreResourcesCoreResource["MaxCoreCount"].isNull())
|
||||
coreResourcesObject.maxCoreCount = std::stoi(valueAvailableZonesAvailableZoneSupportedEnginesSupportedEngineSupportedEngineVersionsSupportedEngineVersionSupportedCategoriesSupportedCategoriesItemSupportedStorageTypesSupportedStorageTypeCoreResourcesCoreResource["MaxCoreCount"].asString());
|
||||
auto dBInstanceStorageRangeNode = value["DBInstanceStorageRange"];
|
||||
if(!dBInstanceStorageRangeNode["MaxSize"].isNull())
|
||||
coreResourcesObject.dBInstanceStorageRange.maxSize = std::stoi(dBInstanceStorageRangeNode["MaxSize"].asString());
|
||||
|
||||
@@ -49,12 +49,12 @@ void DescribeRegionsResult::parse(const std::string &payload)
|
||||
regionsObject.localName = valueRegionsRegion["LocalName"].asString();
|
||||
if(!valueRegionsRegion["RegionEndpoint"].isNull())
|
||||
regionsObject.regionEndpoint = valueRegionsRegion["RegionEndpoint"].asString();
|
||||
auto allZonesNode = allRegionsNode["Zones"]["Zone"];
|
||||
for (auto allRegionsNodeZonesZone : allZonesNode)
|
||||
auto allZonesNode = valueRegionsRegion["Zones"]["Zone"];
|
||||
for (auto valueRegionsRegionZonesZone : allZonesNode)
|
||||
{
|
||||
Region::Zone zonesObject;
|
||||
if(!allRegionsNodeZonesZone["Id"].isNull())
|
||||
zonesObject.id = allRegionsNodeZonesZone["Id"].asString();
|
||||
if(!valueRegionsRegionZonesZone["Id"].isNull())
|
||||
zonesObject.id = valueRegionsRegionZonesZone["Id"].asString();
|
||||
regionsObject.zones.push_back(zonesObject);
|
||||
}
|
||||
regions_.push_back(regionsObject);
|
||||
|
||||
@@ -51,16 +51,16 @@ void QueryHBaseHaDBResult::parse(const std::string &payload)
|
||||
clusterListObject.activeName = valueClusterListCluster["ActiveName"].asString();
|
||||
if(!valueClusterListCluster["StandbyName"].isNull())
|
||||
clusterListObject.standbyName = valueClusterListCluster["StandbyName"].asString();
|
||||
auto allHaSlbConnListNode = allClusterListNode["HaSlbConnList"]["HaSlbConn"];
|
||||
for (auto allClusterListNodeHaSlbConnListHaSlbConn : allHaSlbConnListNode)
|
||||
auto allHaSlbConnListNode = valueClusterListCluster["HaSlbConnList"]["HaSlbConn"];
|
||||
for (auto valueClusterListClusterHaSlbConnListHaSlbConn : allHaSlbConnListNode)
|
||||
{
|
||||
Cluster::HaSlbConn haSlbConnListObject;
|
||||
if(!allClusterListNodeHaSlbConnListHaSlbConn["SlbType"].isNull())
|
||||
haSlbConnListObject.slbType = allClusterListNodeHaSlbConnListHaSlbConn["SlbType"].asString();
|
||||
if(!allClusterListNodeHaSlbConnListHaSlbConn["SlbConnAddr"].isNull())
|
||||
haSlbConnListObject.slbConnAddr = allClusterListNodeHaSlbConnListHaSlbConn["SlbConnAddr"].asString();
|
||||
if(!allClusterListNodeHaSlbConnListHaSlbConn["HbaseType"].isNull())
|
||||
haSlbConnListObject.hbaseType = allClusterListNodeHaSlbConnListHaSlbConn["HbaseType"].asString();
|
||||
if(!valueClusterListClusterHaSlbConnListHaSlbConn["SlbType"].isNull())
|
||||
haSlbConnListObject.slbType = valueClusterListClusterHaSlbConnListHaSlbConn["SlbType"].asString();
|
||||
if(!valueClusterListClusterHaSlbConnListHaSlbConn["SlbConnAddr"].isNull())
|
||||
haSlbConnListObject.slbConnAddr = valueClusterListClusterHaSlbConnListHaSlbConn["SlbConnAddr"].asString();
|
||||
if(!valueClusterListClusterHaSlbConnListHaSlbConn["HbaseType"].isNull())
|
||||
haSlbConnListObject.hbaseType = valueClusterListClusterHaSlbConnListHaSlbConn["HbaseType"].asString();
|
||||
clusterListObject.haSlbConnList.push_back(haSlbConnListObject);
|
||||
}
|
||||
clusterList_.push_back(clusterListObject);
|
||||
|
||||
51
hbase/src/model/UpgradeMinorVersionRequest.cc
Normal file
51
hbase/src/model/UpgradeMinorVersionRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/UpgradeMinorVersionRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::UpgradeMinorVersionRequest;
|
||||
|
||||
UpgradeMinorVersionRequest::UpgradeMinorVersionRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "UpgradeMinorVersion")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpgradeMinorVersionRequest::~UpgradeMinorVersionRequest()
|
||||
{}
|
||||
|
||||
std::string UpgradeMinorVersionRequest::getComponents()const
|
||||
{
|
||||
return components_;
|
||||
}
|
||||
|
||||
void UpgradeMinorVersionRequest::setComponents(const std::string& components)
|
||||
{
|
||||
components_ = components;
|
||||
setParameter("Components", components);
|
||||
}
|
||||
|
||||
std::string UpgradeMinorVersionRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void UpgradeMinorVersionRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
51
hbase/src/model/UpgradeMinorVersionResult.cc
Normal file
51
hbase/src/model/UpgradeMinorVersionResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/UpgradeMinorVersionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
UpgradeMinorVersionResult::UpgradeMinorVersionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpgradeMinorVersionResult::UpgradeMinorVersionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpgradeMinorVersionResult::~UpgradeMinorVersionResult()
|
||||
{}
|
||||
|
||||
void UpgradeMinorVersionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["UpgradingComponents"].isNull())
|
||||
upgradingComponents_ = value["UpgradingComponents"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string UpgradeMinorVersionResult::getUpgradingComponents()const
|
||||
{
|
||||
return upgradingComponents_;
|
||||
}
|
||||
|
||||
@@ -27,8 +27,6 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/CreateChannelResult.h
|
||||
include/alibabacloud/rtc/model/CreateConferenceRequest.h
|
||||
include/alibabacloud/rtc/model/CreateConferenceResult.h
|
||||
include/alibabacloud/rtc/model/CreateMAURuleRequest.h
|
||||
include/alibabacloud/rtc/model/CreateMAURuleResult.h
|
||||
include/alibabacloud/rtc/model/CreateMPULayoutRequest.h
|
||||
include/alibabacloud/rtc/model/CreateMPULayoutResult.h
|
||||
include/alibabacloud/rtc/model/CreateMPURuleRequest.h
|
||||
@@ -39,8 +37,6 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/DeleteChannelResult.h
|
||||
include/alibabacloud/rtc/model/DeleteConferenceRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteConferenceResult.h
|
||||
include/alibabacloud/rtc/model/DeleteMAURuleRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteMAURuleResult.h
|
||||
include/alibabacloud/rtc/model/DeleteMPULayoutRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteMPULayoutResult.h
|
||||
include/alibabacloud/rtc/model/DeleteMPURuleRequest.h
|
||||
@@ -55,8 +51,6 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/DescribeChannelUsersResult.h
|
||||
include/alibabacloud/rtc/model/DescribeConferenceAuthInfoRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeConferenceAuthInfoResult.h
|
||||
include/alibabacloud/rtc/model/DescribeMAURuleRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeMAURuleResult.h
|
||||
include/alibabacloud/rtc/model/DescribeMPULayoutInfoRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeMPULayoutInfoResult.h
|
||||
include/alibabacloud/rtc/model/DescribeMPULayoutInfoListRequest.h
|
||||
@@ -67,16 +61,26 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/DescribeMPURuleResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRTCAppKeyRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRTCAppKeyResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRecordFilesRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRecordFilesResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRecordTasksRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRecordTasksResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRecordTemplatesRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRecordTemplatesResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelCntDataRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelCntDataResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelDetailRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelDetailResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelListRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelListResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelMetricRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelMetricResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelMetricsRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelMetricsResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelUserListRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelUserListResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelsRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelsResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcDurationDataRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcDurationDataResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcPeakChannelCntDataRequest.h
|
||||
@@ -87,16 +91,14 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/DescribeRtcQualityMetricResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcUserCntDataRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcUserCntDataResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcUserEventsRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcUserEventsResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcUserListRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcUserListResult.h
|
||||
include/alibabacloud/rtc/model/DescribeUserInfoInChannelRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeUserInfoInChannelResult.h
|
||||
include/alibabacloud/rtc/model/DisableMAURuleRequest.h
|
||||
include/alibabacloud/rtc/model/DisableMAURuleResult.h
|
||||
include/alibabacloud/rtc/model/DisableMPURuleRequest.h
|
||||
include/alibabacloud/rtc/model/DisableMPURuleResult.h
|
||||
include/alibabacloud/rtc/model/EnableMAURuleRequest.h
|
||||
include/alibabacloud/rtc/model/EnableMAURuleResult.h
|
||||
include/alibabacloud/rtc/model/EnableMPURuleRequest.h
|
||||
include/alibabacloud/rtc/model/EnableMPURuleResult.h
|
||||
include/alibabacloud/rtc/model/GetMPUTaskStatusRequest.h
|
||||
@@ -137,6 +139,8 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/UpdateChannelResult.h
|
||||
include/alibabacloud/rtc/model/UpdateMPULayoutRequest.h
|
||||
include/alibabacloud/rtc/model/UpdateMPULayoutResult.h
|
||||
include/alibabacloud/rtc/model/UpdateRecordTaskRequest.h
|
||||
include/alibabacloud/rtc/model/UpdateRecordTaskResult.h
|
||||
include/alibabacloud/rtc/model/UpdateRecordTemplateRequest.h
|
||||
include/alibabacloud/rtc/model/UpdateRecordTemplateResult.h )
|
||||
|
||||
@@ -148,8 +152,6 @@ set(rtc_src
|
||||
src/model/CreateChannelResult.cc
|
||||
src/model/CreateConferenceRequest.cc
|
||||
src/model/CreateConferenceResult.cc
|
||||
src/model/CreateMAURuleRequest.cc
|
||||
src/model/CreateMAURuleResult.cc
|
||||
src/model/CreateMPULayoutRequest.cc
|
||||
src/model/CreateMPULayoutResult.cc
|
||||
src/model/CreateMPURuleRequest.cc
|
||||
@@ -160,8 +162,6 @@ set(rtc_src
|
||||
src/model/DeleteChannelResult.cc
|
||||
src/model/DeleteConferenceRequest.cc
|
||||
src/model/DeleteConferenceResult.cc
|
||||
src/model/DeleteMAURuleRequest.cc
|
||||
src/model/DeleteMAURuleResult.cc
|
||||
src/model/DeleteMPULayoutRequest.cc
|
||||
src/model/DeleteMPULayoutResult.cc
|
||||
src/model/DeleteMPURuleRequest.cc
|
||||
@@ -176,8 +176,6 @@ set(rtc_src
|
||||
src/model/DescribeChannelUsersResult.cc
|
||||
src/model/DescribeConferenceAuthInfoRequest.cc
|
||||
src/model/DescribeConferenceAuthInfoResult.cc
|
||||
src/model/DescribeMAURuleRequest.cc
|
||||
src/model/DescribeMAURuleResult.cc
|
||||
src/model/DescribeMPULayoutInfoRequest.cc
|
||||
src/model/DescribeMPULayoutInfoResult.cc
|
||||
src/model/DescribeMPULayoutInfoListRequest.cc
|
||||
@@ -188,16 +186,26 @@ set(rtc_src
|
||||
src/model/DescribeMPURuleResult.cc
|
||||
src/model/DescribeRTCAppKeyRequest.cc
|
||||
src/model/DescribeRTCAppKeyResult.cc
|
||||
src/model/DescribeRecordFilesRequest.cc
|
||||
src/model/DescribeRecordFilesResult.cc
|
||||
src/model/DescribeRecordTasksRequest.cc
|
||||
src/model/DescribeRecordTasksResult.cc
|
||||
src/model/DescribeRecordTemplatesRequest.cc
|
||||
src/model/DescribeRecordTemplatesResult.cc
|
||||
src/model/DescribeRtcChannelCntDataRequest.cc
|
||||
src/model/DescribeRtcChannelCntDataResult.cc
|
||||
src/model/DescribeRtcChannelDetailRequest.cc
|
||||
src/model/DescribeRtcChannelDetailResult.cc
|
||||
src/model/DescribeRtcChannelListRequest.cc
|
||||
src/model/DescribeRtcChannelListResult.cc
|
||||
src/model/DescribeRtcChannelMetricRequest.cc
|
||||
src/model/DescribeRtcChannelMetricResult.cc
|
||||
src/model/DescribeRtcChannelMetricsRequest.cc
|
||||
src/model/DescribeRtcChannelMetricsResult.cc
|
||||
src/model/DescribeRtcChannelUserListRequest.cc
|
||||
src/model/DescribeRtcChannelUserListResult.cc
|
||||
src/model/DescribeRtcChannelsRequest.cc
|
||||
src/model/DescribeRtcChannelsResult.cc
|
||||
src/model/DescribeRtcDurationDataRequest.cc
|
||||
src/model/DescribeRtcDurationDataResult.cc
|
||||
src/model/DescribeRtcPeakChannelCntDataRequest.cc
|
||||
@@ -208,16 +216,14 @@ set(rtc_src
|
||||
src/model/DescribeRtcQualityMetricResult.cc
|
||||
src/model/DescribeRtcUserCntDataRequest.cc
|
||||
src/model/DescribeRtcUserCntDataResult.cc
|
||||
src/model/DescribeRtcUserEventsRequest.cc
|
||||
src/model/DescribeRtcUserEventsResult.cc
|
||||
src/model/DescribeRtcUserListRequest.cc
|
||||
src/model/DescribeRtcUserListResult.cc
|
||||
src/model/DescribeUserInfoInChannelRequest.cc
|
||||
src/model/DescribeUserInfoInChannelResult.cc
|
||||
src/model/DisableMAURuleRequest.cc
|
||||
src/model/DisableMAURuleResult.cc
|
||||
src/model/DisableMPURuleRequest.cc
|
||||
src/model/DisableMPURuleResult.cc
|
||||
src/model/EnableMAURuleRequest.cc
|
||||
src/model/EnableMAURuleResult.cc
|
||||
src/model/EnableMPURuleRequest.cc
|
||||
src/model/EnableMPURuleResult.cc
|
||||
src/model/GetMPUTaskStatusRequest.cc
|
||||
@@ -258,6 +264,8 @@ set(rtc_src
|
||||
src/model/UpdateChannelResult.cc
|
||||
src/model/UpdateMPULayoutRequest.cc
|
||||
src/model/UpdateMPULayoutResult.cc
|
||||
src/model/UpdateRecordTaskRequest.cc
|
||||
src/model/UpdateRecordTaskResult.cc
|
||||
src/model/UpdateRecordTemplateRequest.cc
|
||||
src/model/UpdateRecordTemplateResult.cc )
|
||||
|
||||
|
||||
@@ -28,8 +28,6 @@
|
||||
#include "model/CreateChannelResult.h"
|
||||
#include "model/CreateConferenceRequest.h"
|
||||
#include "model/CreateConferenceResult.h"
|
||||
#include "model/CreateMAURuleRequest.h"
|
||||
#include "model/CreateMAURuleResult.h"
|
||||
#include "model/CreateMPULayoutRequest.h"
|
||||
#include "model/CreateMPULayoutResult.h"
|
||||
#include "model/CreateMPURuleRequest.h"
|
||||
@@ -40,8 +38,6 @@
|
||||
#include "model/DeleteChannelResult.h"
|
||||
#include "model/DeleteConferenceRequest.h"
|
||||
#include "model/DeleteConferenceResult.h"
|
||||
#include "model/DeleteMAURuleRequest.h"
|
||||
#include "model/DeleteMAURuleResult.h"
|
||||
#include "model/DeleteMPULayoutRequest.h"
|
||||
#include "model/DeleteMPULayoutResult.h"
|
||||
#include "model/DeleteMPURuleRequest.h"
|
||||
@@ -56,8 +52,6 @@
|
||||
#include "model/DescribeChannelUsersResult.h"
|
||||
#include "model/DescribeConferenceAuthInfoRequest.h"
|
||||
#include "model/DescribeConferenceAuthInfoResult.h"
|
||||
#include "model/DescribeMAURuleRequest.h"
|
||||
#include "model/DescribeMAURuleResult.h"
|
||||
#include "model/DescribeMPULayoutInfoRequest.h"
|
||||
#include "model/DescribeMPULayoutInfoResult.h"
|
||||
#include "model/DescribeMPULayoutInfoListRequest.h"
|
||||
@@ -68,16 +62,26 @@
|
||||
#include "model/DescribeMPURuleResult.h"
|
||||
#include "model/DescribeRTCAppKeyRequest.h"
|
||||
#include "model/DescribeRTCAppKeyResult.h"
|
||||
#include "model/DescribeRecordFilesRequest.h"
|
||||
#include "model/DescribeRecordFilesResult.h"
|
||||
#include "model/DescribeRecordTasksRequest.h"
|
||||
#include "model/DescribeRecordTasksResult.h"
|
||||
#include "model/DescribeRecordTemplatesRequest.h"
|
||||
#include "model/DescribeRecordTemplatesResult.h"
|
||||
#include "model/DescribeRtcChannelCntDataRequest.h"
|
||||
#include "model/DescribeRtcChannelCntDataResult.h"
|
||||
#include "model/DescribeRtcChannelDetailRequest.h"
|
||||
#include "model/DescribeRtcChannelDetailResult.h"
|
||||
#include "model/DescribeRtcChannelListRequest.h"
|
||||
#include "model/DescribeRtcChannelListResult.h"
|
||||
#include "model/DescribeRtcChannelMetricRequest.h"
|
||||
#include "model/DescribeRtcChannelMetricResult.h"
|
||||
#include "model/DescribeRtcChannelMetricsRequest.h"
|
||||
#include "model/DescribeRtcChannelMetricsResult.h"
|
||||
#include "model/DescribeRtcChannelUserListRequest.h"
|
||||
#include "model/DescribeRtcChannelUserListResult.h"
|
||||
#include "model/DescribeRtcChannelsRequest.h"
|
||||
#include "model/DescribeRtcChannelsResult.h"
|
||||
#include "model/DescribeRtcDurationDataRequest.h"
|
||||
#include "model/DescribeRtcDurationDataResult.h"
|
||||
#include "model/DescribeRtcPeakChannelCntDataRequest.h"
|
||||
@@ -88,16 +92,14 @@
|
||||
#include "model/DescribeRtcQualityMetricResult.h"
|
||||
#include "model/DescribeRtcUserCntDataRequest.h"
|
||||
#include "model/DescribeRtcUserCntDataResult.h"
|
||||
#include "model/DescribeRtcUserEventsRequest.h"
|
||||
#include "model/DescribeRtcUserEventsResult.h"
|
||||
#include "model/DescribeRtcUserListRequest.h"
|
||||
#include "model/DescribeRtcUserListResult.h"
|
||||
#include "model/DescribeUserInfoInChannelRequest.h"
|
||||
#include "model/DescribeUserInfoInChannelResult.h"
|
||||
#include "model/DisableMAURuleRequest.h"
|
||||
#include "model/DisableMAURuleResult.h"
|
||||
#include "model/DisableMPURuleRequest.h"
|
||||
#include "model/DisableMPURuleResult.h"
|
||||
#include "model/EnableMAURuleRequest.h"
|
||||
#include "model/EnableMAURuleResult.h"
|
||||
#include "model/EnableMPURuleRequest.h"
|
||||
#include "model/EnableMPURuleResult.h"
|
||||
#include "model/GetMPUTaskStatusRequest.h"
|
||||
@@ -138,6 +140,8 @@
|
||||
#include "model/UpdateChannelResult.h"
|
||||
#include "model/UpdateMPULayoutRequest.h"
|
||||
#include "model/UpdateMPULayoutResult.h"
|
||||
#include "model/UpdateRecordTaskRequest.h"
|
||||
#include "model/UpdateRecordTaskResult.h"
|
||||
#include "model/UpdateRecordTemplateRequest.h"
|
||||
#include "model/UpdateRecordTemplateResult.h"
|
||||
|
||||
@@ -158,9 +162,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateConferenceResult> CreateConferenceOutcome;
|
||||
typedef std::future<CreateConferenceOutcome> CreateConferenceOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateConferenceRequest&, const CreateConferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConferenceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMAURuleResult> CreateMAURuleOutcome;
|
||||
typedef std::future<CreateMAURuleOutcome> CreateMAURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateMAURuleRequest&, const CreateMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMAURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMPULayoutResult> CreateMPULayoutOutcome;
|
||||
typedef std::future<CreateMPULayoutOutcome> CreateMPULayoutOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateMPULayoutRequest&, const CreateMPULayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMPULayoutAsyncHandler;
|
||||
@@ -176,9 +177,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteConferenceResult> DeleteConferenceOutcome;
|
||||
typedef std::future<DeleteConferenceOutcome> DeleteConferenceOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DeleteConferenceRequest&, const DeleteConferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConferenceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteMAURuleResult> DeleteMAURuleOutcome;
|
||||
typedef std::future<DeleteMAURuleOutcome> DeleteMAURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DeleteMAURuleRequest&, const DeleteMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMAURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteMPULayoutResult> DeleteMPULayoutOutcome;
|
||||
typedef std::future<DeleteMPULayoutOutcome> DeleteMPULayoutOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DeleteMPULayoutRequest&, const DeleteMPULayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMPULayoutAsyncHandler;
|
||||
@@ -200,9 +198,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeConferenceAuthInfoResult> DescribeConferenceAuthInfoOutcome;
|
||||
typedef std::future<DescribeConferenceAuthInfoOutcome> DescribeConferenceAuthInfoOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeConferenceAuthInfoRequest&, const DescribeConferenceAuthInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConferenceAuthInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMAURuleResult> DescribeMAURuleOutcome;
|
||||
typedef std::future<DescribeMAURuleOutcome> DescribeMAURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeMAURuleRequest&, const DescribeMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMAURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMPULayoutInfoResult> DescribeMPULayoutInfoOutcome;
|
||||
typedef std::future<DescribeMPULayoutInfoOutcome> DescribeMPULayoutInfoOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeMPULayoutInfoRequest&, const DescribeMPULayoutInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMPULayoutInfoAsyncHandler;
|
||||
@@ -218,21 +213,36 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeRTCAppKeyResult> DescribeRTCAppKeyOutcome;
|
||||
typedef std::future<DescribeRTCAppKeyOutcome> DescribeRTCAppKeyOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRTCAppKeyRequest&, const DescribeRTCAppKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRTCAppKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRecordFilesResult> DescribeRecordFilesOutcome;
|
||||
typedef std::future<DescribeRecordFilesOutcome> DescribeRecordFilesOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRecordFilesRequest&, const DescribeRecordFilesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecordFilesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRecordTasksResult> DescribeRecordTasksOutcome;
|
||||
typedef std::future<DescribeRecordTasksOutcome> DescribeRecordTasksOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRecordTasksRequest&, const DescribeRecordTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecordTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRecordTemplatesResult> DescribeRecordTemplatesOutcome;
|
||||
typedef std::future<DescribeRecordTemplatesOutcome> DescribeRecordTemplatesOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRecordTemplatesRequest&, const DescribeRecordTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecordTemplatesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcChannelCntDataResult> DescribeRtcChannelCntDataOutcome;
|
||||
typedef std::future<DescribeRtcChannelCntDataOutcome> DescribeRtcChannelCntDataOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcChannelCntDataRequest&, const DescribeRtcChannelCntDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcChannelCntDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcChannelDetailResult> DescribeRtcChannelDetailOutcome;
|
||||
typedef std::future<DescribeRtcChannelDetailOutcome> DescribeRtcChannelDetailOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcChannelDetailRequest&, const DescribeRtcChannelDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcChannelDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcChannelListResult> DescribeRtcChannelListOutcome;
|
||||
typedef std::future<DescribeRtcChannelListOutcome> DescribeRtcChannelListOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcChannelListRequest&, const DescribeRtcChannelListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcChannelListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcChannelMetricResult> DescribeRtcChannelMetricOutcome;
|
||||
typedef std::future<DescribeRtcChannelMetricOutcome> DescribeRtcChannelMetricOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcChannelMetricRequest&, const DescribeRtcChannelMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcChannelMetricAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcChannelMetricsResult> DescribeRtcChannelMetricsOutcome;
|
||||
typedef std::future<DescribeRtcChannelMetricsOutcome> DescribeRtcChannelMetricsOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcChannelMetricsRequest&, const DescribeRtcChannelMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcChannelMetricsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcChannelUserListResult> DescribeRtcChannelUserListOutcome;
|
||||
typedef std::future<DescribeRtcChannelUserListOutcome> DescribeRtcChannelUserListOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcChannelUserListRequest&, const DescribeRtcChannelUserListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcChannelUserListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcChannelsResult> DescribeRtcChannelsOutcome;
|
||||
typedef std::future<DescribeRtcChannelsOutcome> DescribeRtcChannelsOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcChannelsRequest&, const DescribeRtcChannelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcChannelsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcDurationDataResult> DescribeRtcDurationDataOutcome;
|
||||
typedef std::future<DescribeRtcDurationDataOutcome> DescribeRtcDurationDataOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcDurationDataRequest&, const DescribeRtcDurationDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcDurationDataAsyncHandler;
|
||||
@@ -248,21 +258,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeRtcUserCntDataResult> DescribeRtcUserCntDataOutcome;
|
||||
typedef std::future<DescribeRtcUserCntDataOutcome> DescribeRtcUserCntDataOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcUserCntDataRequest&, const DescribeRtcUserCntDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcUserCntDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcUserEventsResult> DescribeRtcUserEventsOutcome;
|
||||
typedef std::future<DescribeRtcUserEventsOutcome> DescribeRtcUserEventsOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcUserEventsRequest&, const DescribeRtcUserEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcUserEventsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcUserListResult> DescribeRtcUserListOutcome;
|
||||
typedef std::future<DescribeRtcUserListOutcome> DescribeRtcUserListOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcUserListRequest&, const DescribeRtcUserListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcUserListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUserInfoInChannelResult> DescribeUserInfoInChannelOutcome;
|
||||
typedef std::future<DescribeUserInfoInChannelOutcome> DescribeUserInfoInChannelOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeUserInfoInChannelRequest&, const DescribeUserInfoInChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserInfoInChannelAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableMAURuleResult> DisableMAURuleOutcome;
|
||||
typedef std::future<DisableMAURuleOutcome> DisableMAURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DisableMAURuleRequest&, const DisableMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableMAURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableMPURuleResult> DisableMPURuleOutcome;
|
||||
typedef std::future<DisableMPURuleOutcome> DisableMPURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DisableMPURuleRequest&, const DisableMPURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableMPURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableMAURuleResult> EnableMAURuleOutcome;
|
||||
typedef std::future<EnableMAURuleOutcome> EnableMAURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::EnableMAURuleRequest&, const EnableMAURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableMAURuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableMPURuleResult> EnableMPURuleOutcome;
|
||||
typedef std::future<EnableMPURuleOutcome> EnableMPURuleOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::EnableMPURuleRequest&, const EnableMPURuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableMPURuleAsyncHandler;
|
||||
@@ -323,6 +330,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateMPULayoutResult> UpdateMPULayoutOutcome;
|
||||
typedef std::future<UpdateMPULayoutOutcome> UpdateMPULayoutOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::UpdateMPULayoutRequest&, const UpdateMPULayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMPULayoutAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateRecordTaskResult> UpdateRecordTaskOutcome;
|
||||
typedef std::future<UpdateRecordTaskOutcome> UpdateRecordTaskOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::UpdateRecordTaskRequest&, const UpdateRecordTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateRecordTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateRecordTemplateResult> UpdateRecordTemplateOutcome;
|
||||
typedef std::future<UpdateRecordTemplateOutcome> UpdateRecordTemplateOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::UpdateRecordTemplateRequest&, const UpdateRecordTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateRecordTemplateAsyncHandler;
|
||||
@@ -340,9 +350,6 @@ namespace AlibabaCloud
|
||||
CreateConferenceOutcome createConference(const Model::CreateConferenceRequest &request)const;
|
||||
void createConferenceAsync(const Model::CreateConferenceRequest& request, const CreateConferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConferenceOutcomeCallable createConferenceCallable(const Model::CreateConferenceRequest& request) const;
|
||||
CreateMAURuleOutcome createMAURule(const Model::CreateMAURuleRequest &request)const;
|
||||
void createMAURuleAsync(const Model::CreateMAURuleRequest& request, const CreateMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMAURuleOutcomeCallable createMAURuleCallable(const Model::CreateMAURuleRequest& request) const;
|
||||
CreateMPULayoutOutcome createMPULayout(const Model::CreateMPULayoutRequest &request)const;
|
||||
void createMPULayoutAsync(const Model::CreateMPULayoutRequest& request, const CreateMPULayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMPULayoutOutcomeCallable createMPULayoutCallable(const Model::CreateMPULayoutRequest& request) const;
|
||||
@@ -358,9 +365,6 @@ namespace AlibabaCloud
|
||||
DeleteConferenceOutcome deleteConference(const Model::DeleteConferenceRequest &request)const;
|
||||
void deleteConferenceAsync(const Model::DeleteConferenceRequest& request, const DeleteConferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteConferenceOutcomeCallable deleteConferenceCallable(const Model::DeleteConferenceRequest& request) const;
|
||||
DeleteMAURuleOutcome deleteMAURule(const Model::DeleteMAURuleRequest &request)const;
|
||||
void deleteMAURuleAsync(const Model::DeleteMAURuleRequest& request, const DeleteMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMAURuleOutcomeCallable deleteMAURuleCallable(const Model::DeleteMAURuleRequest& request) const;
|
||||
DeleteMPULayoutOutcome deleteMPULayout(const Model::DeleteMPULayoutRequest &request)const;
|
||||
void deleteMPULayoutAsync(const Model::DeleteMPULayoutRequest& request, const DeleteMPULayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMPULayoutOutcomeCallable deleteMPULayoutCallable(const Model::DeleteMPULayoutRequest& request) const;
|
||||
@@ -382,9 +386,6 @@ namespace AlibabaCloud
|
||||
DescribeConferenceAuthInfoOutcome describeConferenceAuthInfo(const Model::DescribeConferenceAuthInfoRequest &request)const;
|
||||
void describeConferenceAuthInfoAsync(const Model::DescribeConferenceAuthInfoRequest& request, const DescribeConferenceAuthInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeConferenceAuthInfoOutcomeCallable describeConferenceAuthInfoCallable(const Model::DescribeConferenceAuthInfoRequest& request) const;
|
||||
DescribeMAURuleOutcome describeMAURule(const Model::DescribeMAURuleRequest &request)const;
|
||||
void describeMAURuleAsync(const Model::DescribeMAURuleRequest& request, const DescribeMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMAURuleOutcomeCallable describeMAURuleCallable(const Model::DescribeMAURuleRequest& request) const;
|
||||
DescribeMPULayoutInfoOutcome describeMPULayoutInfo(const Model::DescribeMPULayoutInfoRequest &request)const;
|
||||
void describeMPULayoutInfoAsync(const Model::DescribeMPULayoutInfoRequest& request, const DescribeMPULayoutInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMPULayoutInfoOutcomeCallable describeMPULayoutInfoCallable(const Model::DescribeMPULayoutInfoRequest& request) const;
|
||||
@@ -400,21 +401,36 @@ namespace AlibabaCloud
|
||||
DescribeRTCAppKeyOutcome describeRTCAppKey(const Model::DescribeRTCAppKeyRequest &request)const;
|
||||
void describeRTCAppKeyAsync(const Model::DescribeRTCAppKeyRequest& request, const DescribeRTCAppKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRTCAppKeyOutcomeCallable describeRTCAppKeyCallable(const Model::DescribeRTCAppKeyRequest& request) const;
|
||||
DescribeRecordFilesOutcome describeRecordFiles(const Model::DescribeRecordFilesRequest &request)const;
|
||||
void describeRecordFilesAsync(const Model::DescribeRecordFilesRequest& request, const DescribeRecordFilesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRecordFilesOutcomeCallable describeRecordFilesCallable(const Model::DescribeRecordFilesRequest& request) const;
|
||||
DescribeRecordTasksOutcome describeRecordTasks(const Model::DescribeRecordTasksRequest &request)const;
|
||||
void describeRecordTasksAsync(const Model::DescribeRecordTasksRequest& request, const DescribeRecordTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRecordTasksOutcomeCallable describeRecordTasksCallable(const Model::DescribeRecordTasksRequest& request) const;
|
||||
DescribeRecordTemplatesOutcome describeRecordTemplates(const Model::DescribeRecordTemplatesRequest &request)const;
|
||||
void describeRecordTemplatesAsync(const Model::DescribeRecordTemplatesRequest& request, const DescribeRecordTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRecordTemplatesOutcomeCallable describeRecordTemplatesCallable(const Model::DescribeRecordTemplatesRequest& request) const;
|
||||
DescribeRtcChannelCntDataOutcome describeRtcChannelCntData(const Model::DescribeRtcChannelCntDataRequest &request)const;
|
||||
void describeRtcChannelCntDataAsync(const Model::DescribeRtcChannelCntDataRequest& request, const DescribeRtcChannelCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcChannelCntDataOutcomeCallable describeRtcChannelCntDataCallable(const Model::DescribeRtcChannelCntDataRequest& request) const;
|
||||
DescribeRtcChannelDetailOutcome describeRtcChannelDetail(const Model::DescribeRtcChannelDetailRequest &request)const;
|
||||
void describeRtcChannelDetailAsync(const Model::DescribeRtcChannelDetailRequest& request, const DescribeRtcChannelDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcChannelDetailOutcomeCallable describeRtcChannelDetailCallable(const Model::DescribeRtcChannelDetailRequest& request) const;
|
||||
DescribeRtcChannelListOutcome describeRtcChannelList(const Model::DescribeRtcChannelListRequest &request)const;
|
||||
void describeRtcChannelListAsync(const Model::DescribeRtcChannelListRequest& request, const DescribeRtcChannelListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcChannelListOutcomeCallable describeRtcChannelListCallable(const Model::DescribeRtcChannelListRequest& request) const;
|
||||
DescribeRtcChannelMetricOutcome describeRtcChannelMetric(const Model::DescribeRtcChannelMetricRequest &request)const;
|
||||
void describeRtcChannelMetricAsync(const Model::DescribeRtcChannelMetricRequest& request, const DescribeRtcChannelMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcChannelMetricOutcomeCallable describeRtcChannelMetricCallable(const Model::DescribeRtcChannelMetricRequest& request) const;
|
||||
DescribeRtcChannelMetricsOutcome describeRtcChannelMetrics(const Model::DescribeRtcChannelMetricsRequest &request)const;
|
||||
void describeRtcChannelMetricsAsync(const Model::DescribeRtcChannelMetricsRequest& request, const DescribeRtcChannelMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcChannelMetricsOutcomeCallable describeRtcChannelMetricsCallable(const Model::DescribeRtcChannelMetricsRequest& request) const;
|
||||
DescribeRtcChannelUserListOutcome describeRtcChannelUserList(const Model::DescribeRtcChannelUserListRequest &request)const;
|
||||
void describeRtcChannelUserListAsync(const Model::DescribeRtcChannelUserListRequest& request, const DescribeRtcChannelUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcChannelUserListOutcomeCallable describeRtcChannelUserListCallable(const Model::DescribeRtcChannelUserListRequest& request) const;
|
||||
DescribeRtcChannelsOutcome describeRtcChannels(const Model::DescribeRtcChannelsRequest &request)const;
|
||||
void describeRtcChannelsAsync(const Model::DescribeRtcChannelsRequest& request, const DescribeRtcChannelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcChannelsOutcomeCallable describeRtcChannelsCallable(const Model::DescribeRtcChannelsRequest& request) const;
|
||||
DescribeRtcDurationDataOutcome describeRtcDurationData(const Model::DescribeRtcDurationDataRequest &request)const;
|
||||
void describeRtcDurationDataAsync(const Model::DescribeRtcDurationDataRequest& request, const DescribeRtcDurationDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcDurationDataOutcomeCallable describeRtcDurationDataCallable(const Model::DescribeRtcDurationDataRequest& request) const;
|
||||
@@ -430,21 +446,18 @@ namespace AlibabaCloud
|
||||
DescribeRtcUserCntDataOutcome describeRtcUserCntData(const Model::DescribeRtcUserCntDataRequest &request)const;
|
||||
void describeRtcUserCntDataAsync(const Model::DescribeRtcUserCntDataRequest& request, const DescribeRtcUserCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcUserCntDataOutcomeCallable describeRtcUserCntDataCallable(const Model::DescribeRtcUserCntDataRequest& request) const;
|
||||
DescribeRtcUserEventsOutcome describeRtcUserEvents(const Model::DescribeRtcUserEventsRequest &request)const;
|
||||
void describeRtcUserEventsAsync(const Model::DescribeRtcUserEventsRequest& request, const DescribeRtcUserEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcUserEventsOutcomeCallable describeRtcUserEventsCallable(const Model::DescribeRtcUserEventsRequest& request) const;
|
||||
DescribeRtcUserListOutcome describeRtcUserList(const Model::DescribeRtcUserListRequest &request)const;
|
||||
void describeRtcUserListAsync(const Model::DescribeRtcUserListRequest& request, const DescribeRtcUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcUserListOutcomeCallable describeRtcUserListCallable(const Model::DescribeRtcUserListRequest& request) const;
|
||||
DescribeUserInfoInChannelOutcome describeUserInfoInChannel(const Model::DescribeUserInfoInChannelRequest &request)const;
|
||||
void describeUserInfoInChannelAsync(const Model::DescribeUserInfoInChannelRequest& request, const DescribeUserInfoInChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserInfoInChannelOutcomeCallable describeUserInfoInChannelCallable(const Model::DescribeUserInfoInChannelRequest& request) const;
|
||||
DisableMAURuleOutcome disableMAURule(const Model::DisableMAURuleRequest &request)const;
|
||||
void disableMAURuleAsync(const Model::DisableMAURuleRequest& request, const DisableMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableMAURuleOutcomeCallable disableMAURuleCallable(const Model::DisableMAURuleRequest& request) const;
|
||||
DisableMPURuleOutcome disableMPURule(const Model::DisableMPURuleRequest &request)const;
|
||||
void disableMPURuleAsync(const Model::DisableMPURuleRequest& request, const DisableMPURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableMPURuleOutcomeCallable disableMPURuleCallable(const Model::DisableMPURuleRequest& request) const;
|
||||
EnableMAURuleOutcome enableMAURule(const Model::EnableMAURuleRequest &request)const;
|
||||
void enableMAURuleAsync(const Model::EnableMAURuleRequest& request, const EnableMAURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableMAURuleOutcomeCallable enableMAURuleCallable(const Model::EnableMAURuleRequest& request) const;
|
||||
EnableMPURuleOutcome enableMPURule(const Model::EnableMPURuleRequest &request)const;
|
||||
void enableMPURuleAsync(const Model::EnableMPURuleRequest& request, const EnableMPURuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableMPURuleOutcomeCallable enableMPURuleCallable(const Model::EnableMPURuleRequest& request) const;
|
||||
@@ -505,6 +518,9 @@ namespace AlibabaCloud
|
||||
UpdateMPULayoutOutcome updateMPULayout(const Model::UpdateMPULayoutRequest &request)const;
|
||||
void updateMPULayoutAsync(const Model::UpdateMPULayoutRequest& request, const UpdateMPULayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateMPULayoutOutcomeCallable updateMPULayoutCallable(const Model::UpdateMPULayoutRequest& request) const;
|
||||
UpdateRecordTaskOutcome updateRecordTask(const Model::UpdateRecordTaskRequest &request)const;
|
||||
void updateRecordTaskAsync(const Model::UpdateRecordTaskRequest& request, const UpdateRecordTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateRecordTaskOutcomeCallable updateRecordTaskCallable(const Model::UpdateRecordTaskRequest& request) const;
|
||||
UpdateRecordTemplateOutcome updateRecordTemplate(const Model::UpdateRecordTemplateRequest &request)const;
|
||||
void updateRecordTemplateAsync(const Model::UpdateRecordTemplateRequest& request, const UpdateRecordTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateRecordTemplateOutcomeCallable updateRecordTemplateCallable(const Model::UpdateRecordTemplateRequest& request) const;
|
||||
|
||||
@@ -30,6 +30,28 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT AddRecordTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Watermarks
|
||||
{
|
||||
std::string url;
|
||||
float alpha;
|
||||
int display;
|
||||
float x;
|
||||
float y;
|
||||
float width;
|
||||
float height;
|
||||
int zOrder;
|
||||
};
|
||||
struct Backgrounds
|
||||
{
|
||||
std::string url;
|
||||
int display;
|
||||
float x;
|
||||
float y;
|
||||
float width;
|
||||
float height;
|
||||
int zOrder;
|
||||
};
|
||||
|
||||
public:
|
||||
AddRecordTemplateRequest();
|
||||
@@ -49,14 +71,22 @@ namespace AlibabaCloud
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getOssBucket()const;
|
||||
void setOssBucket(const std::string& ossBucket);
|
||||
std::string getMnsQueue()const;
|
||||
void setMnsQueue(const std::string& mnsQueue);
|
||||
int getDelayStopTime()const;
|
||||
void setDelayStopTime(int delayStopTime);
|
||||
int getFileSplitInterval()const;
|
||||
void setFileSplitInterval(int fileSplitInterval);
|
||||
std::string getMnsQueue()const;
|
||||
void setMnsQueue(const std::string& mnsQueue);
|
||||
std::string getHttpCallbackUrl()const;
|
||||
void setHttpCallbackUrl(const std::string& httpCallbackUrl);
|
||||
std::vector<Watermarks> getWatermarks()const;
|
||||
void setWatermarks(const std::vector<Watermarks>& watermarks);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::vector<Backgrounds> getBackgrounds()const;
|
||||
void setBackgrounds(const std::vector<Backgrounds>& backgrounds);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
int getMediaEncode()const;
|
||||
@@ -70,10 +100,14 @@ namespace AlibabaCloud
|
||||
std::vector<long> layoutIds_;
|
||||
std::string showLog_;
|
||||
std::string ossBucket_;
|
||||
std::string mnsQueue_;
|
||||
int delayStopTime_;
|
||||
int fileSplitInterval_;
|
||||
std::string mnsQueue_;
|
||||
std::string httpCallbackUrl_;
|
||||
std::vector<Watermarks> watermarks_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::vector<Backgrounds> backgrounds_;
|
||||
std::string name_;
|
||||
int mediaEncode_;
|
||||
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDFILESREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDFILESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRecordFilesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRecordFilesRequest();
|
||||
~DescribeRecordFilesRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::vector<std::string> getTaskIds()const;
|
||||
void setTaskIds(const std::vector<std::string>& taskIds);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
int pageNum_;
|
||||
std::vector<std::string> taskIds_;
|
||||
int pageSize_;
|
||||
std::string showLog_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDFILESREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDFILESRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDFILESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRecordFilesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RecordFile
|
||||
{
|
||||
std::string taskId;
|
||||
std::string appId;
|
||||
std::string createTime;
|
||||
std::string startTime;
|
||||
float duration;
|
||||
std::string channelId;
|
||||
std::string url;
|
||||
std::string stopTime;
|
||||
};
|
||||
|
||||
|
||||
DescribeRecordFilesResult();
|
||||
explicit DescribeRecordFilesResult(const std::string &payload);
|
||||
~DescribeRecordFilesResult();
|
||||
long getTotalNum()const;
|
||||
long getTotalPage()const;
|
||||
std::vector<RecordFile> getRecordFiles()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalNum_;
|
||||
long totalPage_;
|
||||
std::vector<RecordFile> recordFiles_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDFILESRESULT_H_
|
||||
@@ -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_RTC_MODEL_DESCRIBERECORDTASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTASKSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRecordTasksRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRecordTasksRequest();
|
||||
~DescribeRecordTasksRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::vector<std::string> getTaskIds()const;
|
||||
void setTaskIds(const std::vector<std::string>& taskIds);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::vector<std::string> taskIds_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
std::string showLog_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTASKSREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTASKSRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTASKSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRecordTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RecordTask
|
||||
{
|
||||
struct UserPanesItem
|
||||
{
|
||||
std::string userId;
|
||||
int paneId;
|
||||
std::string source;
|
||||
};
|
||||
int status;
|
||||
std::vector<RecordTask::UserPanesItem> userPanes;
|
||||
std::string taskId;
|
||||
std::string appId;
|
||||
std::vector<std::string> subSpecUsers;
|
||||
std::string createTime;
|
||||
std::string channelId;
|
||||
std::string templateId;
|
||||
};
|
||||
|
||||
|
||||
DescribeRecordTasksResult();
|
||||
explicit DescribeRecordTasksResult(const std::string &payload);
|
||||
~DescribeRecordTasksResult();
|
||||
std::vector<RecordTask> getRecordTasks()const;
|
||||
long getTotalNum()const;
|
||||
long getTotalPage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<RecordTask> recordTasks_;
|
||||
long totalNum_;
|
||||
long totalPage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTASKSRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DELETEMAURULEREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DELETEMAURULEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,42 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DeleteMAURuleRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcChannelDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteMAURuleRequest();
|
||||
~DeleteMAURuleRequest();
|
||||
DescribeRtcChannelDetailRequest();
|
||||
~DescribeRtcChannelDetailRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getShowLog()const;
|
||||
void setShowLog(const std::string& showLog);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getPageNo()const;
|
||||
void setPageNo(int pageNo);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
long getRuleId()const;
|
||||
void setRuleId(long ruleId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
int pageSize_;
|
||||
std::string showLog_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
int pageNo_;
|
||||
std::string appId_;
|
||||
long ruleId_;
|
||||
std::string channelId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DELETEMAURULEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELDETAILREQUEST_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user