This commit is contained in:
sdk-team
2020-03-04 16:25:04 +08:00
parent 66519a1f90
commit 45a3be8c65
24 changed files with 392 additions and 19 deletions

View File

@@ -23,6 +23,8 @@ set(reid_public_header
set(reid_public_header_model
include/alibabacloud/reid/model/DescribeBaseStatisticsRequest.h
include/alibabacloud/reid/model/DescribeBaseStatisticsResult.h
include/alibabacloud/reid/model/DescribeCameraStatisticsRequest.h
include/alibabacloud/reid/model/DescribeCameraStatisticsResult.h
include/alibabacloud/reid/model/DescribeCursorRequest.h
include/alibabacloud/reid/model/DescribeCursorResult.h
include/alibabacloud/reid/model/DescribeCustomerFlowByLocationRequest.h
@@ -56,6 +58,8 @@ set(reid_src
src/ReidClient.cc
src/model/DescribeBaseStatisticsRequest.cc
src/model/DescribeBaseStatisticsResult.cc
src/model/DescribeCameraStatisticsRequest.cc
src/model/DescribeCameraStatisticsResult.cc
src/model/DescribeCursorRequest.cc
src/model/DescribeCursorResult.cc
src/model/DescribeCustomerFlowByLocationRequest.cc

View File

@@ -24,6 +24,8 @@
#include "ReidExport.h"
#include "model/DescribeBaseStatisticsRequest.h"
#include "model/DescribeBaseStatisticsResult.h"
#include "model/DescribeCameraStatisticsRequest.h"
#include "model/DescribeCameraStatisticsResult.h"
#include "model/DescribeCursorRequest.h"
#include "model/DescribeCursorResult.h"
#include "model/DescribeCustomerFlowByLocationRequest.h"
@@ -64,6 +66,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeBaseStatisticsResult> DescribeBaseStatisticsOutcome;
typedef std::future<DescribeBaseStatisticsOutcome> DescribeBaseStatisticsOutcomeCallable;
typedef std::function<void(const ReidClient*, const Model::DescribeBaseStatisticsRequest&, const DescribeBaseStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBaseStatisticsAsyncHandler;
typedef Outcome<Error, Model::DescribeCameraStatisticsResult> DescribeCameraStatisticsOutcome;
typedef std::future<DescribeCameraStatisticsOutcome> DescribeCameraStatisticsOutcomeCallable;
typedef std::function<void(const ReidClient*, const Model::DescribeCameraStatisticsRequest&, const DescribeCameraStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCameraStatisticsAsyncHandler;
typedef Outcome<Error, Model::DescribeCursorResult> DescribeCursorOutcome;
typedef std::future<DescribeCursorOutcome> DescribeCursorOutcomeCallable;
typedef std::function<void(const ReidClient*, const Model::DescribeCursorRequest&, const DescribeCursorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCursorAsyncHandler;
@@ -114,6 +119,9 @@ namespace AlibabaCloud
DescribeBaseStatisticsOutcome describeBaseStatistics(const Model::DescribeBaseStatisticsRequest &request)const;
void describeBaseStatisticsAsync(const Model::DescribeBaseStatisticsRequest& request, const DescribeBaseStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeBaseStatisticsOutcomeCallable describeBaseStatisticsCallable(const Model::DescribeBaseStatisticsRequest& request) const;
DescribeCameraStatisticsOutcome describeCameraStatistics(const Model::DescribeCameraStatisticsRequest &request)const;
void describeCameraStatisticsAsync(const Model::DescribeCameraStatisticsRequest& request, const DescribeCameraStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCameraStatisticsOutcomeCallable describeCameraStatisticsCallable(const Model::DescribeCameraStatisticsRequest& request) const;
DescribeCursorOutcome describeCursor(const Model::DescribeCursorRequest &request)const;
void describeCursorAsync(const Model::DescribeCursorRequest& request, const DescribeCursorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCursorOutcomeCallable describeCursorCallable(const Model::DescribeCursorRequest& request) const;

View File

@@ -0,0 +1,54 @@
/*
* 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_REID_MODEL_DESCRIBECAMERASTATISTICSREQUEST_H_
#define ALIBABACLOUD_REID_MODEL_DESCRIBECAMERASTATISTICSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/reid/ReidExport.h>
namespace AlibabaCloud
{
namespace Reid
{
namespace Model
{
class ALIBABACLOUD_REID_EXPORT DescribeCameraStatisticsRequest : public RpcServiceRequest
{
public:
DescribeCameraStatisticsRequest();
~DescribeCameraStatisticsRequest();
long getStartTimestamp()const;
void setStartTimestamp(long startTimestamp);
long getStoreId()const;
void setStoreId(long storeId);
long getEndTimestamp()const;
void setEndTimestamp(long endTimestamp);
private:
long startTimestamp_;
long storeId_;
long endTimestamp_;
};
}
}
}
#endif // !ALIBABACLOUD_REID_MODEL_DESCRIBECAMERASTATISTICSREQUEST_H_

View File

@@ -0,0 +1,80 @@
/*
* 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_REID_MODEL_DESCRIBECAMERASTATISTICSRESULT_H_
#define ALIBABACLOUD_REID_MODEL_DESCRIBECAMERASTATISTICSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/reid/ReidExport.h>
namespace AlibabaCloud
{
namespace Reid
{
namespace Model
{
class ALIBABACLOUD_REID_EXPORT DescribeCameraStatisticsResult : public ServiceResult
{
public:
struct PvStatisticResult
{
struct Rect
{
float left;
float top;
float right;
float bottom;
};
std::vector<PvStatisticResult::Rect> pvRects;
long locationId;
long processCursor;
long pvCount;
long ipcId;
};
DescribeCameraStatisticsResult();
explicit DescribeCameraStatisticsResult(const std::string &payload);
~DescribeCameraStatisticsResult();
std::vector<PvStatisticResult> getPvStatisticResults()const;
std::string getMessage()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PvStatisticResult> pvStatisticResults_;
std::string message_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_REID_MODEL_DESCRIBECAMERASTATISTICSRESULT_H_

View File

@@ -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.0.0");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.1.2");
}
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.0.0");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.1.2");
}
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.0.0");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "1.1.2");
}
ReidClient::~ReidClient()
@@ -87,6 +87,42 @@ ReidClient::DescribeBaseStatisticsOutcomeCallable ReidClient::describeBaseStatis
return task->get_future();
}
ReidClient::DescribeCameraStatisticsOutcome ReidClient::describeCameraStatistics(const DescribeCameraStatisticsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCameraStatisticsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeCameraStatisticsOutcome(DescribeCameraStatisticsResult(outcome.result()));
else
return DescribeCameraStatisticsOutcome(outcome.error());
}
void ReidClient::describeCameraStatisticsAsync(const DescribeCameraStatisticsRequest& request, const DescribeCameraStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeCameraStatistics(request), context);
};
asyncExecute(new Runnable(fn));
}
ReidClient::DescribeCameraStatisticsOutcomeCallable ReidClient::describeCameraStatisticsCallable(const DescribeCameraStatisticsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeCameraStatisticsOutcome()>>(
[this, request]()
{
return this->describeCameraStatistics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ReidClient::DescribeCursorOutcome ReidClient::describeCursor(const DescribeCursorRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::DescribeBaseStatisticsRequest;
DescribeBaseStatisticsRequest::DescribeBaseStatisticsRequest() :
RpcServiceRequest("reid", "2019-09-28", "DescribeBaseStatistics")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
DescribeBaseStatisticsRequest::~DescribeBaseStatisticsRequest()

View File

@@ -0,0 +1,62 @@
/*
* 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/reid/model/DescribeCameraStatisticsRequest.h>
using AlibabaCloud::Reid::Model::DescribeCameraStatisticsRequest;
DescribeCameraStatisticsRequest::DescribeCameraStatisticsRequest() :
RpcServiceRequest("reid", "2019-09-28", "DescribeCameraStatistics")
{
setMethod(HttpRequest::Method::POST);
}
DescribeCameraStatisticsRequest::~DescribeCameraStatisticsRequest()
{}
long DescribeCameraStatisticsRequest::getStartTimestamp()const
{
return startTimestamp_;
}
void DescribeCameraStatisticsRequest::setStartTimestamp(long startTimestamp)
{
startTimestamp_ = startTimestamp;
setBodyParameter("StartTimestamp", std::to_string(startTimestamp));
}
long DescribeCameraStatisticsRequest::getStoreId()const
{
return storeId_;
}
void DescribeCameraStatisticsRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", std::to_string(storeId));
}
long DescribeCameraStatisticsRequest::getEndTimestamp()const
{
return endTimestamp_;
}
void DescribeCameraStatisticsRequest::setEndTimestamp(long endTimestamp)
{
endTimestamp_ = endTimestamp;
setBodyParameter("EndTimestamp", std::to_string(endTimestamp));
}

View File

@@ -0,0 +1,126 @@
/*
* 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/reid/model/DescribeCameraStatisticsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Reid;
using namespace AlibabaCloud::Reid::Model;
DescribeCameraStatisticsResult::DescribeCameraStatisticsResult() :
ServiceResult()
{}
DescribeCameraStatisticsResult::DescribeCameraStatisticsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCameraStatisticsResult::~DescribeCameraStatisticsResult()
{}
void DescribeCameraStatisticsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allPvStatisticResultsNode = value["PvStatisticResults"]["PvStatisticResult"];
for (auto valuePvStatisticResultsPvStatisticResult : allPvStatisticResultsNode)
{
PvStatisticResult pvStatisticResultsObject;
if(!valuePvStatisticResultsPvStatisticResult["ProcessCursor"].isNull())
pvStatisticResultsObject.processCursor = std::stol(valuePvStatisticResultsPvStatisticResult["ProcessCursor"].asString());
if(!valuePvStatisticResultsPvStatisticResult["IpcId"].isNull())
pvStatisticResultsObject.ipcId = std::stol(valuePvStatisticResultsPvStatisticResult["IpcId"].asString());
if(!valuePvStatisticResultsPvStatisticResult["PvCount"].isNull())
pvStatisticResultsObject.pvCount = std::stol(valuePvStatisticResultsPvStatisticResult["PvCount"].asString());
if(!valuePvStatisticResultsPvStatisticResult["LocationId"].isNull())
pvStatisticResultsObject.locationId = std::stol(valuePvStatisticResultsPvStatisticResult["LocationId"].asString());
auto allPvRectsNode = allPvStatisticResultsNode["PvRects"]["Rect"];
for (auto allPvStatisticResultsNodePvRectsRect : allPvRectsNode)
{
PvStatisticResult::Rect pvRectsObject;
if(!allPvStatisticResultsNodePvRectsRect["Right"].isNull())
pvRectsObject.right = std::stof(allPvStatisticResultsNodePvRectsRect["Right"].asString());
if(!allPvStatisticResultsNodePvRectsRect["Left"].isNull())
pvRectsObject.left = std::stof(allPvStatisticResultsNodePvRectsRect["Left"].asString());
if(!allPvStatisticResultsNodePvRectsRect["Top"].isNull())
pvRectsObject.top = std::stof(allPvStatisticResultsNodePvRectsRect["Top"].asString());
if(!allPvStatisticResultsNodePvRectsRect["Bottom"].isNull())
pvRectsObject.bottom = std::stof(allPvStatisticResultsNodePvRectsRect["Bottom"].asString());
pvStatisticResultsObject.pvRects.push_back(pvRectsObject);
}
pvStatisticResults_.push_back(pvStatisticResultsObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
}
std::vector<DescribeCameraStatisticsResult::PvStatisticResult> DescribeCameraStatisticsResult::getPvStatisticResults()const
{
return pvStatisticResults_;
}
std::string DescribeCameraStatisticsResult::getMessage()const
{
return message_;
}
std::string DescribeCameraStatisticsResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string DescribeCameraStatisticsResult::getErrorCode()const
{
return errorCode_;
}
std::string DescribeCameraStatisticsResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string DescribeCameraStatisticsResult::getErrorMessage()const
{
return errorMessage_;
}
std::string DescribeCameraStatisticsResult::getCode()const
{
return code_;
}
bool DescribeCameraStatisticsResult::getSuccess()const
{
return success_;
}

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::DescribeCursorRequest;
DescribeCursorRequest::DescribeCursorRequest() :
RpcServiceRequest("reid", "2019-09-28", "DescribeCursor")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
DescribeCursorRequest::~DescribeCursorRequest()

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::DescribeCustomerFlowByLocationRequest;
DescribeCustomerFlowByLocationRequest::DescribeCustomerFlowByLocationRequest() :
RpcServiceRequest("reid", "2019-09-28", "DescribeCustomerFlowByLocation")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
DescribeCustomerFlowByLocationRequest::~DescribeCustomerFlowByLocationRequest()

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::DescribeDevicesRequest;
DescribeDevicesRequest::DescribeDevicesRequest() :
RpcServiceRequest("reid", "2019-09-28", "DescribeDevices")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
DescribeDevicesRequest::~DescribeDevicesRequest()

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::DescribeHeatMapRequest;
DescribeHeatMapRequest::DescribeHeatMapRequest() :
RpcServiceRequest("reid", "2019-09-28", "DescribeHeatMap")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
DescribeHeatMapRequest::~DescribeHeatMapRequest()

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::DescribeImageUrlsRequest;
DescribeImageUrlsRequest::DescribeImageUrlsRequest() :
RpcServiceRequest("reid", "2019-09-28", "DescribeImageUrls")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
DescribeImageUrlsRequest::~DescribeImageUrlsRequest()

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::DescribeOverviewDataRequest;
DescribeOverviewDataRequest::DescribeOverviewDataRequest() :
RpcServiceRequest("reid", "2019-09-28", "DescribeOverviewData")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
DescribeOverviewDataRequest::~DescribeOverviewDataRequest()

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::ImportSpecialPersonnelRequest;
ImportSpecialPersonnelRequest::ImportSpecialPersonnelRequest() :
RpcServiceRequest("reid", "2019-09-28", "ImportSpecialPersonnel")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
ImportSpecialPersonnelRequest::~ImportSpecialPersonnelRequest()

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::ListActionDataRequest;
ListActionDataRequest::ListActionDataRequest() :
RpcServiceRequest("reid", "2019-09-28", "ListActionData")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
ListActionDataRequest::~ListActionDataRequest()

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::ListEmapRequest;
ListEmapRequest::ListEmapRequest() :
RpcServiceRequest("reid", "2019-09-28", "ListEmap")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
ListEmapRequest::~ListEmapRequest()

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::ListLocationRequest;
ListLocationRequest::ListLocationRequest() :
RpcServiceRequest("reid", "2019-09-28", "ListLocation")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
ListLocationRequest::~ListLocationRequest()

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::ListMaskDetectionResultsRequest;
ListMaskDetectionResultsRequest::ListMaskDetectionResultsRequest() :
RpcServiceRequest("reid", "2019-09-28", "ListMaskDetectionResults")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
ListMaskDetectionResultsRequest::~ListMaskDetectionResultsRequest()

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::ListPersonByImageRequest;
ListPersonByImageRequest::ListPersonByImageRequest() :
RpcServiceRequest("reid", "2019-09-28", "ListPersonByImage")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
ListPersonByImageRequest::~ListPersonByImageRequest()

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::ListStoreRequest;
ListStoreRequest::ListStoreRequest() :
RpcServiceRequest("reid", "2019-09-28", "ListStore")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
ListStoreRequest::~ListStoreRequest()

View File

@@ -21,7 +21,7 @@ using AlibabaCloud::Reid::Model::PullActionDataRequest;
PullActionDataRequest::PullActionDataRequest() :
RpcServiceRequest("reid", "2019-09-28", "PullActionData")
{
setMethod(HttpRequest::Method::Post);
setMethod(HttpRequest::Method::POST);
}
PullActionDataRequest::~PullActionDataRequest()