Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4576ea2f3 | ||
|
|
e051f5848b |
@@ -1,3 +1,9 @@
|
||||
2020-06-03 Version: 1.36.443
|
||||
- Generated 2019-01-01 for `Cassandra`.
|
||||
|
||||
2020-06-03 Version: 1.36.442
|
||||
- DescribeCameraStatistics add filed.
|
||||
|
||||
2020-06-02 Version: 1.36.441
|
||||
- Edit SearchTraces api.
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
||||
};
|
||||
std::string status;
|
||||
std::string majorVersion;
|
||||
int autoRenewPeriod;
|
||||
std::string createdTime;
|
||||
std::string clusterId;
|
||||
std::string minorVersion;
|
||||
@@ -48,6 +49,7 @@ namespace AlibabaCloud
|
||||
std::string lockMode;
|
||||
bool isLatestVersion;
|
||||
std::string maintainEndTime;
|
||||
bool autoRenewal;
|
||||
int dataCenterCount;
|
||||
std::string clusterName;
|
||||
std::string expireTime;
|
||||
|
||||
@@ -41,13 +41,15 @@ namespace AlibabaCloud
|
||||
};
|
||||
std::string status;
|
||||
std::string majorVersion;
|
||||
int autoRenewPeriod;
|
||||
std::string createdTime;
|
||||
std::string clusterId;
|
||||
int dataCenterCount;
|
||||
std::string clusterName;
|
||||
std::string minorVersion;
|
||||
std::string payType;
|
||||
std::string lockMode;
|
||||
bool autoRenewal;
|
||||
int dataCenterCount;
|
||||
std::string clusterName;
|
||||
std::string expireTime;
|
||||
std::vector<Cluster::Tag> tags;
|
||||
};
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
explicit DescribeDataCenterResult(const std::string &payload);
|
||||
~DescribeDataCenterResult();
|
||||
std::string getStatus()const;
|
||||
int getAutoRenewPeriod()const;
|
||||
std::string getDataCenterId()const;
|
||||
std::string getCreatedTime()const;
|
||||
std::string getCommodityInstance()const;
|
||||
@@ -50,6 +51,7 @@ namespace AlibabaCloud
|
||||
std::string getVswitchId()const;
|
||||
std::string getDiskType()const;
|
||||
std::string getVpcId()const;
|
||||
bool getAutoRenewal()const;
|
||||
int getDiskSize()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getInstanceType()const;
|
||||
@@ -59,6 +61,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
int autoRenewPeriod_;
|
||||
std::string dataCenterId_;
|
||||
std::string createdTime_;
|
||||
std::string commodityInstance_;
|
||||
@@ -71,6 +74,7 @@ namespace AlibabaCloud
|
||||
std::string vswitchId_;
|
||||
std::string diskType_;
|
||||
std::string vpcId_;
|
||||
bool autoRenewal_;
|
||||
int diskSize_;
|
||||
std::string regionId_;
|
||||
std::string instanceType_;
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
||||
struct DataCenter
|
||||
{
|
||||
std::string status;
|
||||
int autoRenewPeriod;
|
||||
std::string dataCenterId;
|
||||
std::string createdTime;
|
||||
std::string commodityInstance;
|
||||
@@ -47,6 +48,7 @@ namespace AlibabaCloud
|
||||
std::string vswitchId;
|
||||
std::string diskType;
|
||||
std::string vpcId;
|
||||
bool autoRenewal;
|
||||
int diskSize;
|
||||
std::string regionId;
|
||||
std::string instanceType;
|
||||
|
||||
@@ -35,10 +35,13 @@ namespace AlibabaCloud
|
||||
RebootClusterRequest();
|
||||
~RebootClusterRequest();
|
||||
|
||||
std::string getDataCenterId()const;
|
||||
void setDataCenterId(const std::string& dataCenterId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string dataCenterId_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -66,6 +66,10 @@ void DescribeClusterResult::parse(const std::string &payload)
|
||||
cluster_.maintainEndTime = clusterNode["MaintainEndTime"].asString();
|
||||
if(!clusterNode["LockMode"].isNull())
|
||||
cluster_.lockMode = clusterNode["LockMode"].asString();
|
||||
if(!clusterNode["AutoRenewal"].isNull())
|
||||
cluster_.autoRenewal = clusterNode["AutoRenewal"].asString() == "true";
|
||||
if(!clusterNode["AutoRenewPeriod"].isNull())
|
||||
cluster_.autoRenewPeriod = std::stoi(clusterNode["AutoRenewPeriod"].asString());
|
||||
auto allTagsNode = clusterNode["Tags"]["Tag"];
|
||||
for (auto clusterNodeTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -63,6 +63,10 @@ void DescribeClustersResult::parse(const std::string &payload)
|
||||
clustersObject.dataCenterCount = std::stoi(valueClustersCluster["DataCenterCount"].asString());
|
||||
if(!valueClustersCluster["LockMode"].isNull())
|
||||
clustersObject.lockMode = valueClustersCluster["LockMode"].asString();
|
||||
if(!valueClustersCluster["AutoRenewal"].isNull())
|
||||
clustersObject.autoRenewal = valueClustersCluster["AutoRenewal"].asString() == "true";
|
||||
if(!valueClustersCluster["AutoRenewPeriod"].isNull())
|
||||
clustersObject.autoRenewPeriod = std::stoi(valueClustersCluster["AutoRenewPeriod"].asString());
|
||||
auto allTagsNode = allClustersNode["Tags"]["Tag"];
|
||||
for (auto allClustersNodeTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -73,6 +73,10 @@ void DescribeDataCenterResult::parse(const std::string &payload)
|
||||
expireTime_ = value["ExpireTime"].asString();
|
||||
if(!value["LockMode"].isNull())
|
||||
lockMode_ = value["LockMode"].asString();
|
||||
if(!value["AutoRenewal"].isNull())
|
||||
autoRenewal_ = value["AutoRenewal"].asString() == "true";
|
||||
if(!value["AutoRenewPeriod"].isNull())
|
||||
autoRenewPeriod_ = std::stoi(value["AutoRenewPeriod"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -81,6 +85,11 @@ std::string DescribeDataCenterResult::getStatus()const
|
||||
return status_;
|
||||
}
|
||||
|
||||
int DescribeDataCenterResult::getAutoRenewPeriod()const
|
||||
{
|
||||
return autoRenewPeriod_;
|
||||
}
|
||||
|
||||
std::string DescribeDataCenterResult::getDataCenterId()const
|
||||
{
|
||||
return dataCenterId_;
|
||||
@@ -141,6 +150,11 @@ std::string DescribeDataCenterResult::getVpcId()const
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
bool DescribeDataCenterResult::getAutoRenewal()const
|
||||
{
|
||||
return autoRenewal_;
|
||||
}
|
||||
|
||||
int DescribeDataCenterResult::getDiskSize()const
|
||||
{
|
||||
return diskSize_;
|
||||
|
||||
@@ -77,6 +77,10 @@ void DescribeDataCentersResult::parse(const std::string &payload)
|
||||
dataCentersObject.expireTime = valueDataCentersDataCenter["ExpireTime"].asString();
|
||||
if(!valueDataCentersDataCenter["LockMode"].isNull())
|
||||
dataCentersObject.lockMode = valueDataCentersDataCenter["LockMode"].asString();
|
||||
if(!valueDataCentersDataCenter["AutoRenewal"].isNull())
|
||||
dataCentersObject.autoRenewal = valueDataCentersDataCenter["AutoRenewal"].asString() == "true";
|
||||
if(!valueDataCentersDataCenter["AutoRenewPeriod"].isNull())
|
||||
dataCentersObject.autoRenewPeriod = std::stoi(valueDataCentersDataCenter["AutoRenewPeriod"].asString());
|
||||
dataCenters_.push_back(dataCentersObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -27,6 +27,17 @@ RebootClusterRequest::RebootClusterRequest() :
|
||||
RebootClusterRequest::~RebootClusterRequest()
|
||||
{}
|
||||
|
||||
std::string RebootClusterRequest::getDataCenterId()const
|
||||
{
|
||||
return dataCenterId_;
|
||||
}
|
||||
|
||||
void RebootClusterRequest::setDataCenterId(const std::string& dataCenterId)
|
||||
{
|
||||
dataCenterId_ = dataCenterId;
|
||||
setParameter("DataCenterId", dataCenterId);
|
||||
}
|
||||
|
||||
std::string RebootClusterRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
||||
float right;
|
||||
float bottom;
|
||||
};
|
||||
long maxDataTime;
|
||||
std::vector<PvStatisticResult::Rect> pvRects;
|
||||
long locationId;
|
||||
long processCursor;
|
||||
|
||||
@@ -31,21 +31,21 @@ ReidClient::ReidClient(const Credentials &credentials, const ClientConfiguration
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.1.7");
|
||||
}
|
||||
|
||||
ReidClient::ReidClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.1.7");
|
||||
}
|
||||
|
||||
ReidClient::ReidClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.1.7");
|
||||
}
|
||||
|
||||
ReidClient::~ReidClient()
|
||||
|
||||
@@ -53,6 +53,8 @@ void DescribeCameraStatisticsResult::parse(const std::string &payload)
|
||||
pvStatisticResultsObject.locationId = std::stol(valuePvStatisticResultsPvStatisticResult["LocationId"].asString());
|
||||
if(!valuePvStatisticResultsPvStatisticResult["PvType"].isNull())
|
||||
pvStatisticResultsObject.pvType = valuePvStatisticResultsPvStatisticResult["PvType"].asString();
|
||||
if(!valuePvStatisticResultsPvStatisticResult["MaxDataTime"].isNull())
|
||||
pvStatisticResultsObject.maxDataTime = std::stol(valuePvStatisticResultsPvStatisticResult["MaxDataTime"].asString());
|
||||
auto allPvRectsNode = allPvStatisticResultsNode["PvRects"]["Rect"];
|
||||
for (auto allPvStatisticResultsNodePvRectsRect : allPvRectsNode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user