Browse Source

DescribeCameraStatistics add parameters.

sdk-team 6 years ago
parent
commit
5a6bd32d63

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2020-09-03 Version: 1.36.632
+- DescribeCameraStatistics add parameters.
+
 2020-09-02 Version: 1.36.631
 - Support sg for ml region.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.631
+1.36.632

+ 3 - 0
reid/include/alibabacloud/reid/model/DescribeCameraStatisticsRequest.h

@@ -41,11 +41,14 @@ namespace AlibabaCloud
 				void setStoreId(long storeId);
 				long getEndTimestamp()const;
 				void setEndTimestamp(long endTimestamp);
+				long getLocationId()const;
+				void setLocationId(long locationId);
 
             private:
 				long startTimestamp_;
 				long storeId_;
 				long endTimestamp_;
+				long locationId_;
 
 			};
 		}

+ 3 - 3
reid/src/ReidClient.cc

@@ -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, "1.1.8.3");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.1.8.4");
 }
 
 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, "1.1.8.3");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.1.8.4");
 }
 
 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, "1.1.8.3");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.1.8.4");
 }
 
 ReidClient::~ReidClient()

+ 11 - 0
reid/src/model/DescribeCameraStatisticsRequest.cc

@@ -60,3 +60,14 @@ void DescribeCameraStatisticsRequest::setEndTimestamp(long endTimestamp)
 	setBodyParameter("EndTimestamp", std::to_string(endTimestamp));
 }
 
+long DescribeCameraStatisticsRequest::getLocationId()const
+{
+	return locationId_;
+}
+
+void DescribeCameraStatisticsRequest::setLocationId(long locationId)
+{
+	locationId_ = locationId;
+	setBodyParameter("LocationId", std::to_string(locationId));
+}
+