regenerate code

This commit is contained in:
wb-hx510875
2020-03-26 17:27:13 +08:00
committed by Axios
parent cba94f2119
commit f0c2600a26
6249 changed files with 188711 additions and 43443 deletions

View File

@@ -33,14 +33,24 @@ set(cusanalytic_sc_online_public_header_model
include/alibabacloud/cusanalytic_sc_online/model/GetAnalyzeCommodityDataResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetAnalyzePlaceDataRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetAnalyzePlaceDataResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetBaseAgeDataRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetBaseAgeDataResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetCameraStatisticRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetCameraStatisticResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetDailyStatisticsDataRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetDailyStatisticsDataResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetEMapRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetEMapResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetHeatMapDataRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetHeatMapDataResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetHourlyStatisticsDataRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetHourlyStatisticsDataResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetImageUrlRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetImageUrlResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetLocationsRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetLocationsResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetMin5StatisticsDataRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetMin5StatisticsDataResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetOverviewDataRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetOverviewDataResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetPersonInStore5MinRequest.h
@@ -49,10 +59,14 @@ set(cusanalytic_sc_online_public_header_model
include/alibabacloud/cusanalytic_sc_online/model/GetPortrayalResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetRoiRankingRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetRoiRankingResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetStayDistributionRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetStayDistributionResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetSupportStoreRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetSupportStoreResult.h
include/alibabacloud/cusanalytic_sc_online/model/ListVisitorsRequest.h
include/alibabacloud/cusanalytic_sc_online/model/ListVisitorsResult.h
include/alibabacloud/cusanalytic_sc_online/model/MemberSynchronousRequest.h
include/alibabacloud/cusanalytic_sc_online/model/MemberSynchronousResult.h
include/alibabacloud/cusanalytic_sc_online/model/SearchPersonByImgRequest.h
include/alibabacloud/cusanalytic_sc_online/model/SearchPersonByImgResult.h )
@@ -70,14 +84,24 @@ set(cusanalytic_sc_online_src
src/model/GetAnalyzeCommodityDataResult.cc
src/model/GetAnalyzePlaceDataRequest.cc
src/model/GetAnalyzePlaceDataResult.cc
src/model/GetBaseAgeDataRequest.cc
src/model/GetBaseAgeDataResult.cc
src/model/GetCameraStatisticRequest.cc
src/model/GetCameraStatisticResult.cc
src/model/GetDailyStatisticsDataRequest.cc
src/model/GetDailyStatisticsDataResult.cc
src/model/GetEMapRequest.cc
src/model/GetEMapResult.cc
src/model/GetHeatMapDataRequest.cc
src/model/GetHeatMapDataResult.cc
src/model/GetHourlyStatisticsDataRequest.cc
src/model/GetHourlyStatisticsDataResult.cc
src/model/GetImageUrlRequest.cc
src/model/GetImageUrlResult.cc
src/model/GetLocationsRequest.cc
src/model/GetLocationsResult.cc
src/model/GetMin5StatisticsDataRequest.cc
src/model/GetMin5StatisticsDataResult.cc
src/model/GetOverviewDataRequest.cc
src/model/GetOverviewDataResult.cc
src/model/GetPersonInStore5MinRequest.cc
@@ -86,10 +110,14 @@ set(cusanalytic_sc_online_src
src/model/GetPortrayalResult.cc
src/model/GetRoiRankingRequest.cc
src/model/GetRoiRankingResult.cc
src/model/GetStayDistributionRequest.cc
src/model/GetStayDistributionResult.cc
src/model/GetSupportStoreRequest.cc
src/model/GetSupportStoreResult.cc
src/model/ListVisitorsRequest.cc
src/model/ListVisitorsResult.cc
src/model/MemberSynchronousRequest.cc
src/model/MemberSynchronousResult.cc
src/model/SearchPersonByImgRequest.cc
src/model/SearchPersonByImgResult.cc )

View File

@@ -34,14 +34,24 @@
#include "model/GetAnalyzeCommodityDataResult.h"
#include "model/GetAnalyzePlaceDataRequest.h"
#include "model/GetAnalyzePlaceDataResult.h"
#include "model/GetBaseAgeDataRequest.h"
#include "model/GetBaseAgeDataResult.h"
#include "model/GetCameraStatisticRequest.h"
#include "model/GetCameraStatisticResult.h"
#include "model/GetDailyStatisticsDataRequest.h"
#include "model/GetDailyStatisticsDataResult.h"
#include "model/GetEMapRequest.h"
#include "model/GetEMapResult.h"
#include "model/GetHeatMapDataRequest.h"
#include "model/GetHeatMapDataResult.h"
#include "model/GetHourlyStatisticsDataRequest.h"
#include "model/GetHourlyStatisticsDataResult.h"
#include "model/GetImageUrlRequest.h"
#include "model/GetImageUrlResult.h"
#include "model/GetLocationsRequest.h"
#include "model/GetLocationsResult.h"
#include "model/GetMin5StatisticsDataRequest.h"
#include "model/GetMin5StatisticsDataResult.h"
#include "model/GetOverviewDataRequest.h"
#include "model/GetOverviewDataResult.h"
#include "model/GetPersonInStore5MinRequest.h"
@@ -50,10 +60,14 @@
#include "model/GetPortrayalResult.h"
#include "model/GetRoiRankingRequest.h"
#include "model/GetRoiRankingResult.h"
#include "model/GetStayDistributionRequest.h"
#include "model/GetStayDistributionResult.h"
#include "model/GetSupportStoreRequest.h"
#include "model/GetSupportStoreResult.h"
#include "model/ListVisitorsRequest.h"
#include "model/ListVisitorsResult.h"
#include "model/MemberSynchronousRequest.h"
#include "model/MemberSynchronousResult.h"
#include "model/SearchPersonByImgRequest.h"
#include "model/SearchPersonByImgResult.h"
@@ -83,18 +97,33 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetAnalyzePlaceDataResult> GetAnalyzePlaceDataOutcome;
typedef std::future<GetAnalyzePlaceDataOutcome> GetAnalyzePlaceDataOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetAnalyzePlaceDataRequest&, const GetAnalyzePlaceDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAnalyzePlaceDataAsyncHandler;
typedef Outcome<Error, Model::GetBaseAgeDataResult> GetBaseAgeDataOutcome;
typedef std::future<GetBaseAgeDataOutcome> GetBaseAgeDataOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetBaseAgeDataRequest&, const GetBaseAgeDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBaseAgeDataAsyncHandler;
typedef Outcome<Error, Model::GetCameraStatisticResult> GetCameraStatisticOutcome;
typedef std::future<GetCameraStatisticOutcome> GetCameraStatisticOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetCameraStatisticRequest&, const GetCameraStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCameraStatisticAsyncHandler;
typedef Outcome<Error, Model::GetDailyStatisticsDataResult> GetDailyStatisticsDataOutcome;
typedef std::future<GetDailyStatisticsDataOutcome> GetDailyStatisticsDataOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetDailyStatisticsDataRequest&, const GetDailyStatisticsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDailyStatisticsDataAsyncHandler;
typedef Outcome<Error, Model::GetEMapResult> GetEMapOutcome;
typedef std::future<GetEMapOutcome> GetEMapOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetEMapRequest&, const GetEMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEMapAsyncHandler;
typedef Outcome<Error, Model::GetHeatMapDataResult> GetHeatMapDataOutcome;
typedef std::future<GetHeatMapDataOutcome> GetHeatMapDataOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetHeatMapDataRequest&, const GetHeatMapDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetHeatMapDataAsyncHandler;
typedef Outcome<Error, Model::GetHourlyStatisticsDataResult> GetHourlyStatisticsDataOutcome;
typedef std::future<GetHourlyStatisticsDataOutcome> GetHourlyStatisticsDataOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetHourlyStatisticsDataRequest&, const GetHourlyStatisticsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetHourlyStatisticsDataAsyncHandler;
typedef Outcome<Error, Model::GetImageUrlResult> GetImageUrlOutcome;
typedef std::future<GetImageUrlOutcome> GetImageUrlOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetImageUrlRequest&, const GetImageUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageUrlAsyncHandler;
typedef Outcome<Error, Model::GetLocationsResult> GetLocationsOutcome;
typedef std::future<GetLocationsOutcome> GetLocationsOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetLocationsRequest&, const GetLocationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLocationsAsyncHandler;
typedef Outcome<Error, Model::GetMin5StatisticsDataResult> GetMin5StatisticsDataOutcome;
typedef std::future<GetMin5StatisticsDataOutcome> GetMin5StatisticsDataOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetMin5StatisticsDataRequest&, const GetMin5StatisticsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMin5StatisticsDataAsyncHandler;
typedef Outcome<Error, Model::GetOverviewDataResult> GetOverviewDataOutcome;
typedef std::future<GetOverviewDataOutcome> GetOverviewDataOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetOverviewDataRequest&, const GetOverviewDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOverviewDataAsyncHandler;
@@ -107,12 +136,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetRoiRankingResult> GetRoiRankingOutcome;
typedef std::future<GetRoiRankingOutcome> GetRoiRankingOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetRoiRankingRequest&, const GetRoiRankingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRoiRankingAsyncHandler;
typedef Outcome<Error, Model::GetStayDistributionResult> GetStayDistributionOutcome;
typedef std::future<GetStayDistributionOutcome> GetStayDistributionOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetStayDistributionRequest&, const GetStayDistributionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStayDistributionAsyncHandler;
typedef Outcome<Error, Model::GetSupportStoreResult> GetSupportStoreOutcome;
typedef std::future<GetSupportStoreOutcome> GetSupportStoreOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetSupportStoreRequest&, const GetSupportStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSupportStoreAsyncHandler;
typedef Outcome<Error, Model::ListVisitorsResult> ListVisitorsOutcome;
typedef std::future<ListVisitorsOutcome> ListVisitorsOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::ListVisitorsRequest&, const ListVisitorsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVisitorsAsyncHandler;
typedef Outcome<Error, Model::MemberSynchronousResult> MemberSynchronousOutcome;
typedef std::future<MemberSynchronousOutcome> MemberSynchronousOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::MemberSynchronousRequest&, const MemberSynchronousOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MemberSynchronousAsyncHandler;
typedef Outcome<Error, Model::SearchPersonByImgResult> SearchPersonByImgOutcome;
typedef std::future<SearchPersonByImgOutcome> SearchPersonByImgOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::SearchPersonByImgRequest&, const SearchPersonByImgOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchPersonByImgAsyncHandler;
@@ -139,18 +174,33 @@ namespace AlibabaCloud
GetAnalyzePlaceDataOutcome getAnalyzePlaceData(const Model::GetAnalyzePlaceDataRequest &request)const;
void getAnalyzePlaceDataAsync(const Model::GetAnalyzePlaceDataRequest& request, const GetAnalyzePlaceDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAnalyzePlaceDataOutcomeCallable getAnalyzePlaceDataCallable(const Model::GetAnalyzePlaceDataRequest& request) const;
GetBaseAgeDataOutcome getBaseAgeData(const Model::GetBaseAgeDataRequest &request)const;
void getBaseAgeDataAsync(const Model::GetBaseAgeDataRequest& request, const GetBaseAgeDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetBaseAgeDataOutcomeCallable getBaseAgeDataCallable(const Model::GetBaseAgeDataRequest& request) const;
GetCameraStatisticOutcome getCameraStatistic(const Model::GetCameraStatisticRequest &request)const;
void getCameraStatisticAsync(const Model::GetCameraStatisticRequest& request, const GetCameraStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCameraStatisticOutcomeCallable getCameraStatisticCallable(const Model::GetCameraStatisticRequest& request) const;
GetDailyStatisticsDataOutcome getDailyStatisticsData(const Model::GetDailyStatisticsDataRequest &request)const;
void getDailyStatisticsDataAsync(const Model::GetDailyStatisticsDataRequest& request, const GetDailyStatisticsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDailyStatisticsDataOutcomeCallable getDailyStatisticsDataCallable(const Model::GetDailyStatisticsDataRequest& request) const;
GetEMapOutcome getEMap(const Model::GetEMapRequest &request)const;
void getEMapAsync(const Model::GetEMapRequest& request, const GetEMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetEMapOutcomeCallable getEMapCallable(const Model::GetEMapRequest& request) const;
GetHeatMapDataOutcome getHeatMapData(const Model::GetHeatMapDataRequest &request)const;
void getHeatMapDataAsync(const Model::GetHeatMapDataRequest& request, const GetHeatMapDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetHeatMapDataOutcomeCallable getHeatMapDataCallable(const Model::GetHeatMapDataRequest& request) const;
GetHourlyStatisticsDataOutcome getHourlyStatisticsData(const Model::GetHourlyStatisticsDataRequest &request)const;
void getHourlyStatisticsDataAsync(const Model::GetHourlyStatisticsDataRequest& request, const GetHourlyStatisticsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetHourlyStatisticsDataOutcomeCallable getHourlyStatisticsDataCallable(const Model::GetHourlyStatisticsDataRequest& request) const;
GetImageUrlOutcome getImageUrl(const Model::GetImageUrlRequest &request)const;
void getImageUrlAsync(const Model::GetImageUrlRequest& request, const GetImageUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetImageUrlOutcomeCallable getImageUrlCallable(const Model::GetImageUrlRequest& request) const;
GetLocationsOutcome getLocations(const Model::GetLocationsRequest &request)const;
void getLocationsAsync(const Model::GetLocationsRequest& request, const GetLocationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetLocationsOutcomeCallable getLocationsCallable(const Model::GetLocationsRequest& request) const;
GetMin5StatisticsDataOutcome getMin5StatisticsData(const Model::GetMin5StatisticsDataRequest &request)const;
void getMin5StatisticsDataAsync(const Model::GetMin5StatisticsDataRequest& request, const GetMin5StatisticsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMin5StatisticsDataOutcomeCallable getMin5StatisticsDataCallable(const Model::GetMin5StatisticsDataRequest& request) const;
GetOverviewDataOutcome getOverviewData(const Model::GetOverviewDataRequest &request)const;
void getOverviewDataAsync(const Model::GetOverviewDataRequest& request, const GetOverviewDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetOverviewDataOutcomeCallable getOverviewDataCallable(const Model::GetOverviewDataRequest& request) const;
@@ -163,12 +213,18 @@ namespace AlibabaCloud
GetRoiRankingOutcome getRoiRanking(const Model::GetRoiRankingRequest &request)const;
void getRoiRankingAsync(const Model::GetRoiRankingRequest& request, const GetRoiRankingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetRoiRankingOutcomeCallable getRoiRankingCallable(const Model::GetRoiRankingRequest& request) const;
GetStayDistributionOutcome getStayDistribution(const Model::GetStayDistributionRequest &request)const;
void getStayDistributionAsync(const Model::GetStayDistributionRequest& request, const GetStayDistributionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetStayDistributionOutcomeCallable getStayDistributionCallable(const Model::GetStayDistributionRequest& request) const;
GetSupportStoreOutcome getSupportStore(const Model::GetSupportStoreRequest &request)const;
void getSupportStoreAsync(const Model::GetSupportStoreRequest& request, const GetSupportStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSupportStoreOutcomeCallable getSupportStoreCallable(const Model::GetSupportStoreRequest& request) const;
ListVisitorsOutcome listVisitors(const Model::ListVisitorsRequest &request)const;
void listVisitorsAsync(const Model::ListVisitorsRequest& request, const ListVisitorsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListVisitorsOutcomeCallable listVisitorsCallable(const Model::ListVisitorsRequest& request) const;
MemberSynchronousOutcome memberSynchronous(const Model::MemberSynchronousRequest &request)const;
void memberSynchronousAsync(const Model::MemberSynchronousRequest& request, const MemberSynchronousAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MemberSynchronousOutcomeCallable memberSynchronousCallable(const Model::MemberSynchronousRequest& request) const;
SearchPersonByImgOutcome searchPersonByImg(const Model::SearchPersonByImgRequest &request)const;
void searchPersonByImgAsync(const Model::SearchPersonByImgRequest& request, const SearchPersonByImgAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchPersonByImgOutcomeCallable searchPersonByImgCallable(const Model::SearchPersonByImgRequest& request) const;

View File

@@ -53,6 +53,7 @@ namespace AlibabaCloud
MapImagePoint mapImagePoint;
FaceImgRect faceImgRect;
long maxts;
long inStay;
long stayValid;
long mints;
};

View File

@@ -35,23 +35,23 @@ namespace AlibabaCloud
DescribeHistoryActionDataRequest();
~DescribeHistoryActionDataRequest();
long getTsEnd()const;
void setTsEnd(long tsEnd);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getPageLimit()const;
void setPageLimit(int pageLimit);
int getPageNo()const;
void setPageNo(int pageNo);
long getTsStart()const;
void setTsStart(long tsStart);
long getTsEnd()const;
void setTsEnd(long tsEnd);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getPageLimit()const;
void setPageLimit(int pageLimit);
int getPageNo()const;
void setPageNo(int pageNo);
long getTsStart()const;
void setTsStart(long tsStart);
private:
long tsEnd_;
std::string storeId_;
int pageLimit_;
int pageNo_;
long tsStart_;
long tsEnd_;
std::string storeId_;
int pageLimit_;
int pageNo_;
long tsStart_;
};
}

View File

@@ -52,6 +52,7 @@ namespace AlibabaCloud
long stayPeriod;
MapImagePoint mapImagePoint;
FaceImgRect faceImgRect;
long inStay;
long maxts;
long stayValid;
long mints;
@@ -84,6 +85,7 @@ namespace AlibabaCloud
explicit DescribeHistoryActionDataResult(const std::string &payload);
~DescribeHistoryActionDataResult();
bool getIsSuccess()const;
long getTotalCount()const;
long getTsStart()const;
int getPageCount()const;
std::string getStoreId()const;
@@ -97,6 +99,7 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
bool isSuccess_;
long totalCount_;
long tsStart_;
int pageCount_;
std::string storeId_;

View File

@@ -37,14 +37,14 @@ namespace AlibabaCloud
long getEndUVCount()const;
void setEndUVCount(long endUVCount);
long getParentAmount()const;
void setParentAmount(long parentAmount);
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
long getStartUVCount()const;
void setStartUVCount(long startUVCount);
long getStoreId()const;
void setStoreId(long storeId);
long getParentAmount()const;
void setParentAmount(long parentAmount);
long getStartUVCount()const;
void setStartUVCount(long startUVCount);
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
long getLocationId()const;
@@ -54,10 +54,10 @@ namespace AlibabaCloud
private:
long endUVCount_;
long parentAmount_;
std::string startDate_;
long startUVCount_;
long storeId_;
long parentAmount_;
long startUVCount_;
std::string endDate_;
long locationId_;
std::string parentLocationIds_;

View File

@@ -34,8 +34,16 @@ namespace AlibabaCloud
public:
struct AnalyzePlaceItem
{
struct AgeItem
{
int count;
int age;
};
std::vector<AnalyzePlaceItem::AgeItem> ageItems;
long storeId;
int maleCount;
float percent;
int femaleCount;
long locationId;
std::string parentLocationIds;
long count;

View File

@@ -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_CUSANALYTIC_SC_ONLINE_MODEL_GETBASEAGEDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETBASEAGEDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT GetBaseAgeDataRequest : public RpcServiceRequest
{
public:
GetBaseAgeDataRequest();
~GetBaseAgeDataRequest();
long getStoreId()const;
void setStoreId(long storeId);
std::string getHour()const;
void setHour(const std::string& hour);
std::string getSummaryType()const;
void setSummaryType(const std::string& summaryType);
long getLocationId()const;
void setLocationId(long locationId);
std::string getDay()const;
void setDay(const std::string& day);
private:
long storeId_;
std::string hour_;
std::string summaryType_;
long locationId_;
std::string day_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETBASEAGEDATAREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* 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_CUSANALYTIC_SC_ONLINE_MODEL_GETBASEAGEDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETBASEAGEDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT GetBaseAgeDataResult : public ServiceResult
{
public:
struct AgeItem
{
int count;
std::string name;
};
GetBaseAgeDataResult();
explicit GetBaseAgeDataResult(const std::string &payload);
~GetBaseAgeDataResult();
std::string getSummaryType()const;
std::vector<AgeItem> getfemaleAgeItems()const;
long getStoreId()const;
std::string getHour()const;
std::vector<AgeItem> getmaleAgeItems()const;
std::string getErrorMsg()const;
long getLocationId()const;
std::vector<AgeItem> getageItems()const;
std::string getDay()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string summaryType_;
std::vector<AgeItem> femaleAgeItems_;
long storeId_;
std::string hour_;
std::vector<AgeItem> maleAgeItems_;
std::string errorMsg_;
long locationId_;
std::vector<AgeItem> ageItems_;
std::string day_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETBASEAGEDATARESULT_H_

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_CUSANALYTIC_SC_ONLINE_MODEL_GETCAMERASTATISTICREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETCAMERASTATISTICREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT GetCameraStatisticRequest : public RpcServiceRequest
{
public:
GetCameraStatisticRequest();
~GetCameraStatisticRequest();
long getStartTs()const;
void setStartTs(long startTs);
long getStoreId()const;
void setStoreId(long storeId);
long getEndTs()const;
void setEndTs(long endTs);
private:
long startTs_;
long storeId_;
long endTs_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETCAMERASTATISTICREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* 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_CUSANALYTIC_SC_ONLINE_MODEL_GETCAMERASTATISTICRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETCAMERASTATISTICRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT GetCameraStatisticResult : 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;
};
GetCameraStatisticResult();
explicit GetCameraStatisticResult(const std::string &payload);
~GetCameraStatisticResult();
std::vector<PvStatisticResult> getPvStatisticResults()const;
std::string getErrorMsg()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PvStatisticResult> pvStatisticResults_;
std::string errorMsg_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETCAMERASTATISTICRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETDAILYSTATISTICSDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETDAILYSTATISTICSDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT GetDailyStatisticsDataRequest : public RpcServiceRequest
{
public:
GetDailyStatisticsDataRequest();
~GetDailyStatisticsDataRequest();
long getStoreId()const;
void setStoreId(long storeId);
std::string getDay()const;
void setDay(const std::string& day);
private:
long storeId_;
std::string day_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETDAILYSTATISTICSDATAREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* 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_CUSANALYTIC_SC_ONLINE_MODEL_GETDAILYSTATISTICSDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETDAILYSTATISTICSDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT GetDailyStatisticsDataResult : public ServiceResult
{
public:
struct BaseStatisticsData
{
int maleUvCount;
long storeId;
int stayPeriod;
std::string hour;
int femaleUvCount;
long locationId;
int onlyBodyUvCount;
int newCount;
std::string day;
int oldCount;
int uvCount;
};
GetDailyStatisticsDataResult();
explicit GetDailyStatisticsDataResult(const std::string &payload);
~GetDailyStatisticsDataResult();
std::vector<BaseStatisticsData> getBaseStatisticsDatas()const;
std::string getErrorMsg()const;
std::string getCursorTime()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<BaseStatisticsData> baseStatisticsDatas_;
std::string errorMsg_;
std::string cursorTime_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETDAILYSTATISTICSDATARESULT_H_

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_CUSANALYTIC_SC_ONLINE_MODEL_GETHOURLYSTATISTICSDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETHOURLYSTATISTICSDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT GetHourlyStatisticsDataRequest : public RpcServiceRequest
{
public:
GetHourlyStatisticsDataRequest();
~GetHourlyStatisticsDataRequest();
long getStoreId()const;
void setStoreId(long storeId);
long getLocationId()const;
void setLocationId(long locationId);
std::string getDay()const;
void setDay(const std::string& day);
private:
long storeId_;
long locationId_;
std::string day_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETHOURLYSTATISTICSDATAREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* 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_CUSANALYTIC_SC_ONLINE_MODEL_GETHOURLYSTATISTICSDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETHOURLYSTATISTICSDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT GetHourlyStatisticsDataResult : public ServiceResult
{
public:
struct BaseStatisticsData
{
int maleUvCount;
long storeId;
int stayPeriod;
std::string hour;
int femaleUvCount;
long locationId;
int onlyBodyUvCount;
int newCount;
std::string day;
int oldCount;
int uvCount;
};
GetHourlyStatisticsDataResult();
explicit GetHourlyStatisticsDataResult(const std::string &payload);
~GetHourlyStatisticsDataResult();
std::vector<BaseStatisticsData> getBaseStatisticsDatas()const;
std::string getErrorMsg()const;
std::string getCursorTime()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<BaseStatisticsData> baseStatisticsDatas_;
std::string errorMsg_;
std::string cursorTime_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETHOURLYSTATISTICSDATARESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETMIN5STATISTICSDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETMIN5STATISTICSDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT GetMin5StatisticsDataRequest : public RpcServiceRequest
{
public:
GetMin5StatisticsDataRequest();
~GetMin5StatisticsDataRequest();
long getStoreId()const;
void setStoreId(long storeId);
long getTime()const;
void setTime(long time);
private:
long storeId_;
long time_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETMIN5STATISTICSDATAREQUEST_H_

View File

@@ -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_CUSANALYTIC_SC_ONLINE_MODEL_GETMIN5STATISTICSDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETMIN5STATISTICSDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT GetMin5StatisticsDataResult : public ServiceResult
{
public:
struct BaseStatisticsData
{
int maleUvCount;
std::string minute;
long storeId;
long stayPeriod;
std::string hour;
int femaleUvCount;
long locationId;
int onlyBodyUvCount;
int newCount;
std::string day;
int oldCount;
int uvCount;
};
GetMin5StatisticsDataResult();
explicit GetMin5StatisticsDataResult(const std::string &payload);
~GetMin5StatisticsDataResult();
std::vector<BaseStatisticsData> getBaseStatisticsDatas()const;
std::string getErrorMsg()const;
std::string getCursorTime()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<BaseStatisticsData> baseStatisticsDatas_;
std::string errorMsg_;
std::string cursorTime_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETMIN5STATISTICSDATARESULT_H_

View File

@@ -35,14 +35,14 @@ namespace AlibabaCloud
GetPersonInStore5MinRequest();
~GetPersonInStore5MinRequest();
std::string getDate()const;
void setDate(const std::string& date);
long getStoreId()const;
void setStoreId(long storeId);
std::string getDate()const;
void setDate(const std::string& date);
long getStoreId()const;
void setStoreId(long storeId);
private:
std::string date_;
long storeId_;
std::string date_;
long storeId_;
};
}

View File

@@ -35,14 +35,14 @@ namespace AlibabaCloud
GetRoiRankingRequest();
~GetRoiRankingRequest();
std::string getDate()const;
void setDate(const std::string& date);
long getStoreId()const;
void setStoreId(long storeId);
std::string getDate()const;
void setDate(const std::string& date);
long getStoreId()const;
void setStoreId(long storeId);
private:
std::string date_;
long storeId_;
std::string date_;
long storeId_;
};
}

View File

@@ -0,0 +1,57 @@
/*
* 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_CUSANALYTIC_SC_ONLINE_MODEL_GETSTAYDISTRIBUTIONREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETSTAYDISTRIBUTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT GetStayDistributionRequest : public RpcServiceRequest
{
public:
GetStayDistributionRequest();
~GetStayDistributionRequest();
long getSummaryTime()const;
void setSummaryTime(long summaryTime);
long getStoreId()const;
void setStoreId(long storeId);
std::string getSummaryType()const;
void setSummaryType(const std::string& summaryType);
long getLocationId()const;
void setLocationId(long locationId);
private:
long summaryTime_;
long storeId_;
std::string summaryType_;
long locationId_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETSTAYDISTRIBUTIONREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* 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_CUSANALYTIC_SC_ONLINE_MODEL_GETSTAYDISTRIBUTIONRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETSTAYDISTRIBUTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT GetStayDistributionResult : public ServiceResult
{
public:
struct StayDistributionItem
{
long startTs;
long endTs;
int count;
};
GetStayDistributionResult();
explicit GetStayDistributionResult(const std::string &payload);
~GetStayDistributionResult();
std::vector<StayDistributionItem> getStayDistributionItems()const;
long getStoreId()const;
std::string getErrorMsg()const;
long getLocationId()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<StayDistributionItem> stayDistributionItems_;
long storeId_;
std::string errorMsg_;
long locationId_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETSTAYDISTRIBUTIONRESULT_H_

View File

@@ -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_CUSANALYTIC_SC_ONLINE_MODEL_MEMBERSYNCHRONOUSREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_MEMBERSYNCHRONOUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT MemberSynchronousRequest : public RpcServiceRequest
{
public:
MemberSynchronousRequest();
~MemberSynchronousRequest();
long getUkId()const;
void setUkId(long ukId);
std::string getFaceUrls()const;
void setFaceUrls(const std::string& faceUrls);
long getStoreId()const;
void setStoreId(long storeId);
std::string getType()const;
void setType(const std::string& type);
long getCustId()const;
void setCustId(long custId);
private:
long ukId_;
std::string faceUrls_;
long storeId_;
std::string type_;
long custId_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_MEMBERSYNCHRONOUSREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* 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_CUSANALYTIC_SC_ONLINE_MODEL_MEMBERSYNCHRONOUSRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_MEMBERSYNCHRONOUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h>
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
namespace Model
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT MemberSynchronousResult : public ServiceResult
{
public:
MemberSynchronousResult();
explicit MemberSynchronousResult(const std::string &payload);
~MemberSynchronousResult();
std::string getMsg()const;
long getUkId()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
long ukId_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_MEMBERSYNCHRONOUSRESULT_H_

View File

@@ -267,6 +267,114 @@ Cusanalytic_sc_onlineClient::GetAnalyzePlaceDataOutcomeCallable Cusanalytic_sc_o
return task->get_future();
}
Cusanalytic_sc_onlineClient::GetBaseAgeDataOutcome Cusanalytic_sc_onlineClient::getBaseAgeData(const GetBaseAgeDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetBaseAgeDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetBaseAgeDataOutcome(GetBaseAgeDataResult(outcome.result()));
else
return GetBaseAgeDataOutcome(outcome.error());
}
void Cusanalytic_sc_onlineClient::getBaseAgeDataAsync(const GetBaseAgeDataRequest& request, const GetBaseAgeDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getBaseAgeData(request), context);
};
asyncExecute(new Runnable(fn));
}
Cusanalytic_sc_onlineClient::GetBaseAgeDataOutcomeCallable Cusanalytic_sc_onlineClient::getBaseAgeDataCallable(const GetBaseAgeDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetBaseAgeDataOutcome()>>(
[this, request]()
{
return this->getBaseAgeData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Cusanalytic_sc_onlineClient::GetCameraStatisticOutcome Cusanalytic_sc_onlineClient::getCameraStatistic(const GetCameraStatisticRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetCameraStatisticOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetCameraStatisticOutcome(GetCameraStatisticResult(outcome.result()));
else
return GetCameraStatisticOutcome(outcome.error());
}
void Cusanalytic_sc_onlineClient::getCameraStatisticAsync(const GetCameraStatisticRequest& request, const GetCameraStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getCameraStatistic(request), context);
};
asyncExecute(new Runnable(fn));
}
Cusanalytic_sc_onlineClient::GetCameraStatisticOutcomeCallable Cusanalytic_sc_onlineClient::getCameraStatisticCallable(const GetCameraStatisticRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetCameraStatisticOutcome()>>(
[this, request]()
{
return this->getCameraStatistic(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Cusanalytic_sc_onlineClient::GetDailyStatisticsDataOutcome Cusanalytic_sc_onlineClient::getDailyStatisticsData(const GetDailyStatisticsDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetDailyStatisticsDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetDailyStatisticsDataOutcome(GetDailyStatisticsDataResult(outcome.result()));
else
return GetDailyStatisticsDataOutcome(outcome.error());
}
void Cusanalytic_sc_onlineClient::getDailyStatisticsDataAsync(const GetDailyStatisticsDataRequest& request, const GetDailyStatisticsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getDailyStatisticsData(request), context);
};
asyncExecute(new Runnable(fn));
}
Cusanalytic_sc_onlineClient::GetDailyStatisticsDataOutcomeCallable Cusanalytic_sc_onlineClient::getDailyStatisticsDataCallable(const GetDailyStatisticsDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetDailyStatisticsDataOutcome()>>(
[this, request]()
{
return this->getDailyStatisticsData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Cusanalytic_sc_onlineClient::GetEMapOutcome Cusanalytic_sc_onlineClient::getEMap(const GetEMapRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -339,6 +447,42 @@ Cusanalytic_sc_onlineClient::GetHeatMapDataOutcomeCallable Cusanalytic_sc_online
return task->get_future();
}
Cusanalytic_sc_onlineClient::GetHourlyStatisticsDataOutcome Cusanalytic_sc_onlineClient::getHourlyStatisticsData(const GetHourlyStatisticsDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetHourlyStatisticsDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetHourlyStatisticsDataOutcome(GetHourlyStatisticsDataResult(outcome.result()));
else
return GetHourlyStatisticsDataOutcome(outcome.error());
}
void Cusanalytic_sc_onlineClient::getHourlyStatisticsDataAsync(const GetHourlyStatisticsDataRequest& request, const GetHourlyStatisticsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getHourlyStatisticsData(request), context);
};
asyncExecute(new Runnable(fn));
}
Cusanalytic_sc_onlineClient::GetHourlyStatisticsDataOutcomeCallable Cusanalytic_sc_onlineClient::getHourlyStatisticsDataCallable(const GetHourlyStatisticsDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetHourlyStatisticsDataOutcome()>>(
[this, request]()
{
return this->getHourlyStatisticsData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Cusanalytic_sc_onlineClient::GetImageUrlOutcome Cusanalytic_sc_onlineClient::getImageUrl(const GetImageUrlRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -411,6 +555,42 @@ Cusanalytic_sc_onlineClient::GetLocationsOutcomeCallable Cusanalytic_sc_onlineCl
return task->get_future();
}
Cusanalytic_sc_onlineClient::GetMin5StatisticsDataOutcome Cusanalytic_sc_onlineClient::getMin5StatisticsData(const GetMin5StatisticsDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetMin5StatisticsDataOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetMin5StatisticsDataOutcome(GetMin5StatisticsDataResult(outcome.result()));
else
return GetMin5StatisticsDataOutcome(outcome.error());
}
void Cusanalytic_sc_onlineClient::getMin5StatisticsDataAsync(const GetMin5StatisticsDataRequest& request, const GetMin5StatisticsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getMin5StatisticsData(request), context);
};
asyncExecute(new Runnable(fn));
}
Cusanalytic_sc_onlineClient::GetMin5StatisticsDataOutcomeCallable Cusanalytic_sc_onlineClient::getMin5StatisticsDataCallable(const GetMin5StatisticsDataRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetMin5StatisticsDataOutcome()>>(
[this, request]()
{
return this->getMin5StatisticsData(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Cusanalytic_sc_onlineClient::GetOverviewDataOutcome Cusanalytic_sc_onlineClient::getOverviewData(const GetOverviewDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -555,6 +735,42 @@ Cusanalytic_sc_onlineClient::GetRoiRankingOutcomeCallable Cusanalytic_sc_onlineC
return task->get_future();
}
Cusanalytic_sc_onlineClient::GetStayDistributionOutcome Cusanalytic_sc_onlineClient::getStayDistribution(const GetStayDistributionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetStayDistributionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetStayDistributionOutcome(GetStayDistributionResult(outcome.result()));
else
return GetStayDistributionOutcome(outcome.error());
}
void Cusanalytic_sc_onlineClient::getStayDistributionAsync(const GetStayDistributionRequest& request, const GetStayDistributionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getStayDistribution(request), context);
};
asyncExecute(new Runnable(fn));
}
Cusanalytic_sc_onlineClient::GetStayDistributionOutcomeCallable Cusanalytic_sc_onlineClient::getStayDistributionCallable(const GetStayDistributionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetStayDistributionOutcome()>>(
[this, request]()
{
return this->getStayDistribution(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Cusanalytic_sc_onlineClient::GetSupportStoreOutcome Cusanalytic_sc_onlineClient::getSupportStore(const GetSupportStoreRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -627,6 +843,42 @@ Cusanalytic_sc_onlineClient::ListVisitorsOutcomeCallable Cusanalytic_sc_onlineCl
return task->get_future();
}
Cusanalytic_sc_onlineClient::MemberSynchronousOutcome Cusanalytic_sc_onlineClient::memberSynchronous(const MemberSynchronousRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return MemberSynchronousOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return MemberSynchronousOutcome(MemberSynchronousResult(outcome.result()));
else
return MemberSynchronousOutcome(outcome.error());
}
void Cusanalytic_sc_onlineClient::memberSynchronousAsync(const MemberSynchronousRequest& request, const MemberSynchronousAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, memberSynchronous(request), context);
};
asyncExecute(new Runnable(fn));
}
Cusanalytic_sc_onlineClient::MemberSynchronousOutcomeCallable Cusanalytic_sc_onlineClient::memberSynchronousCallable(const MemberSynchronousRequest &request) const
{
auto task = std::make_shared<std::packaged_task<MemberSynchronousOutcome()>>(
[this, request]()
{
return this->memberSynchronous(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
Cusanalytic_sc_onlineClient::SearchPersonByImgOutcome Cusanalytic_sc_onlineClient::searchPersonByImg(const SearchPersonByImgRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::DescribeActionDataRequest;
DescribeActionDataRequest::DescribeActionDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "DescribeActionData")
{}
{
setMethod(HttpRequest::Method::Post);
}
DescribeActionDataRequest::~DescribeActionDataRequest()
{}
@@ -33,7 +35,7 @@ long DescribeActionDataRequest::getTsEnd()const
void DescribeActionDataRequest::setTsEnd(long tsEnd)
{
tsEnd_ = tsEnd;
setCoreParameter("TsEnd", std::to_string(tsEnd));
setBodyParameter("TsEnd", std::to_string(tsEnd));
}
std::string DescribeActionDataRequest::getStoreId()const
@@ -44,7 +46,7 @@ std::string DescribeActionDataRequest::getStoreId()const
void DescribeActionDataRequest::setStoreId(const std::string& storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", storeId);
setBodyParameter("StoreId", storeId);
}
int DescribeActionDataRequest::getPageLimit()const
@@ -55,7 +57,7 @@ int DescribeActionDataRequest::getPageLimit()const
void DescribeActionDataRequest::setPageLimit(int pageLimit)
{
pageLimit_ = pageLimit;
setCoreParameter("PageLimit", std::to_string(pageLimit));
setBodyParameter("PageLimit", std::to_string(pageLimit));
}
int DescribeActionDataRequest::getPageNo()const
@@ -66,7 +68,7 @@ int DescribeActionDataRequest::getPageNo()const
void DescribeActionDataRequest::setPageNo(int pageNo)
{
pageNo_ = pageNo;
setCoreParameter("PageNo", std::to_string(pageNo));
setBodyParameter("PageNo", std::to_string(pageNo));
}
long DescribeActionDataRequest::getTsStart()const
@@ -77,6 +79,6 @@ long DescribeActionDataRequest::getTsStart()const
void DescribeActionDataRequest::setTsStart(long tsStart)
{
tsStart_ = tsStart;
setCoreParameter("TsStart", std::to_string(tsStart));
setBodyParameter("TsStart", std::to_string(tsStart));
}

View File

@@ -72,6 +72,8 @@ void DescribeActionDataResult::parse(const std::string &payload)
actionsMsgItemsObject.actionInfosItem.rawId = std::stol(actionInfosItemNode["RawId"].asString());
if(!actionInfosItemNode["Mints"].isNull())
actionsMsgItemsObject.actionInfosItem.mints = std::stol(actionInfosItemNode["Mints"].asString());
if(!actionInfosItemNode["InStay"].isNull())
actionsMsgItemsObject.actionInfosItem.inStay = std::stol(actionInfosItemNode["InStay"].asString());
auto mapImagePointNode = actionInfosItemNode["MapImagePoint"];
if(!mapImagePointNode["X"].isNull())
actionsMsgItemsObject.actionInfosItem.mapImagePoint.x = std::stof(mapImagePointNode["X"].asString());

View File

@@ -20,63 +20,65 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::DescribeHistoryActionDataReque
DescribeHistoryActionDataRequest::DescribeHistoryActionDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "DescribeHistoryActionData")
{}
{
setMethod(HttpRequest::Method::Post);
}
DescribeHistoryActionDataRequest::~DescribeHistoryActionDataRequest()
{}
long DescribeHistoryActionDataRequest::getTsEnd()const
{
return tsEnd_;
}
void DescribeHistoryActionDataRequest::setTsEnd(long tsEnd)
{
tsEnd_ = tsEnd;
setCoreParameter("TsEnd", std::to_string(tsEnd));
}
std::string DescribeHistoryActionDataRequest::getStoreId()const
{
return storeId_;
}
void DescribeHistoryActionDataRequest::setStoreId(const std::string& storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", storeId);
}
int DescribeHistoryActionDataRequest::getPageLimit()const
{
return pageLimit_;
}
void DescribeHistoryActionDataRequest::setPageLimit(int pageLimit)
{
pageLimit_ = pageLimit;
setCoreParameter("PageLimit", std::to_string(pageLimit));
}
int DescribeHistoryActionDataRequest::getPageNo()const
{
return pageNo_;
}
void DescribeHistoryActionDataRequest::setPageNo(int pageNo)
{
pageNo_ = pageNo;
setCoreParameter("PageNo", std::to_string(pageNo));
}
long DescribeHistoryActionDataRequest::getTsStart()const
{
return tsStart_;
}
void DescribeHistoryActionDataRequest::setTsStart(long tsStart)
{
tsStart_ = tsStart;
setCoreParameter("TsStart", std::to_string(tsStart));
}
long DescribeHistoryActionDataRequest::getTsEnd()const
{
return tsEnd_;
}
void DescribeHistoryActionDataRequest::setTsEnd(long tsEnd)
{
tsEnd_ = tsEnd;
setBodyParameter("TsEnd", std::to_string(tsEnd));
}
std::string DescribeHistoryActionDataRequest::getStoreId()const
{
return storeId_;
}
void DescribeHistoryActionDataRequest::setStoreId(const std::string& storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", storeId);
}
int DescribeHistoryActionDataRequest::getPageLimit()const
{
return pageLimit_;
}
void DescribeHistoryActionDataRequest::setPageLimit(int pageLimit)
{
pageLimit_ = pageLimit;
setBodyParameter("PageLimit", std::to_string(pageLimit));
}
int DescribeHistoryActionDataRequest::getPageNo()const
{
return pageNo_;
}
void DescribeHistoryActionDataRequest::setPageNo(int pageNo)
{
pageNo_ = pageNo;
setBodyParameter("PageNo", std::to_string(pageNo));
}
long DescribeHistoryActionDataRequest::getTsStart()const
{
return tsStart_;
}
void DescribeHistoryActionDataRequest::setTsStart(long tsStart)
{
tsStart_ = tsStart;
setBodyParameter("TsStart", std::to_string(tsStart));
}

View File

@@ -62,6 +62,8 @@ void DescribeHistoryActionDataResult::parse(const std::string &payload)
if(!valueActionsMsgItemsActionsMsgItem["LocationLayerType"].isNull())
actionsMsgItemsObject.locationLayerType = valueActionsMsgItemsActionsMsgItem["LocationLayerType"].asString();
auto infosNode = value["Infos"];
if(!infosNode["InStay"].isNull())
actionsMsgItemsObject.infos.inStay = std::stol(infosNode["InStay"].asString());
if(!infosNode["Maxts"].isNull())
actionsMsgItemsObject.infos.maxts = std::stol(infosNode["Maxts"].asString());
if(!infosNode["StayValid"].isNull())
@@ -117,6 +119,8 @@ void DescribeHistoryActionDataResult::parse(const std::string &payload)
errorMsg_ = value["ErrorMsg"].asString();
if(!value["StoreId"].isNull())
storeId_ = value["StoreId"].asString();
if(!value["TotalCount"].isNull())
totalCount_ = std::stol(value["TotalCount"].asString());
if(!value["TsEnd"].isNull())
tsEnd_ = std::stol(value["TsEnd"].asString());
@@ -127,6 +131,11 @@ bool DescribeHistoryActionDataResult::getIsSuccess()const
return isSuccess_;
}
long DescribeHistoryActionDataResult::getTotalCount()const
{
return totalCount_;
}
long DescribeHistoryActionDataResult::getTsStart()const
{
return tsStart_;

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::DescribeLocationsRequest;
DescribeLocationsRequest::DescribeLocationsRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "DescribeLocations")
{}
{
setMethod(HttpRequest::Method::Post);
}
DescribeLocationsRequest::~DescribeLocationsRequest()
{}
@@ -33,6 +35,6 @@ std::string DescribeLocationsRequest::getStoreId()const
void DescribeLocationsRequest::setStoreId(const std::string& storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", storeId);
setBodyParameter("StoreId", storeId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::GetActionCursorRequest;
GetActionCursorRequest::GetActionCursorRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetActionCursor")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetActionCursorRequest::~GetActionCursorRequest()
{}
@@ -33,6 +35,6 @@ std::string GetActionCursorRequest::getStoreId()const
void GetActionCursorRequest::setStoreId(const std::string& storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", storeId);
setBodyParameter("StoreId", storeId);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::GetAnalyzeCommodityDataRequest
GetAnalyzeCommodityDataRequest::GetAnalyzeCommodityDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetAnalyzeCommodityData")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetAnalyzeCommodityDataRequest::~GetAnalyzeCommodityDataRequest()
{}
@@ -33,7 +35,7 @@ long GetAnalyzeCommodityDataRequest::getStoreId()const
void GetAnalyzeCommodityDataRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", std::to_string(storeId));
setBodyParameter("StoreId", std::to_string(storeId));
}
std::string GetAnalyzeCommodityDataRequest::getStartDate()const
@@ -44,7 +46,7 @@ std::string GetAnalyzeCommodityDataRequest::getStartDate()const
void GetAnalyzeCommodityDataRequest::setStartDate(const std::string& startDate)
{
startDate_ = startDate;
setCoreParameter("StartDate", startDate);
setBodyParameter("StartDate", startDate);
}
long GetAnalyzeCommodityDataRequest::getEndUserCount()const
@@ -55,7 +57,7 @@ long GetAnalyzeCommodityDataRequest::getEndUserCount()const
void GetAnalyzeCommodityDataRequest::setEndUserCount(long endUserCount)
{
endUserCount_ = endUserCount;
setCoreParameter("EndUserCount", std::to_string(endUserCount));
setBodyParameter("EndUserCount", std::to_string(endUserCount));
}
int GetAnalyzeCommodityDataRequest::getPageSize()const
@@ -66,7 +68,7 @@ int GetAnalyzeCommodityDataRequest::getPageSize()const
void GetAnalyzeCommodityDataRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
setBodyParameter("PageSize", std::to_string(pageSize));
}
int GetAnalyzeCommodityDataRequest::getPageIndex()const
@@ -77,7 +79,7 @@ int GetAnalyzeCommodityDataRequest::getPageIndex()const
void GetAnalyzeCommodityDataRequest::setPageIndex(int pageIndex)
{
pageIndex_ = pageIndex;
setCoreParameter("PageIndex", std::to_string(pageIndex));
setBodyParameter("PageIndex", std::to_string(pageIndex));
}
long GetAnalyzeCommodityDataRequest::getStayPeriod()const
@@ -88,7 +90,7 @@ long GetAnalyzeCommodityDataRequest::getStayPeriod()const
void GetAnalyzeCommodityDataRequest::setStayPeriod(long stayPeriod)
{
stayPeriod_ = stayPeriod;
setCoreParameter("StayPeriod", std::to_string(stayPeriod));
setBodyParameter("StayPeriod", std::to_string(stayPeriod));
}
long GetAnalyzeCommodityDataRequest::getStartUserCount()const
@@ -99,7 +101,7 @@ long GetAnalyzeCommodityDataRequest::getStartUserCount()const
void GetAnalyzeCommodityDataRequest::setStartUserCount(long startUserCount)
{
startUserCount_ = startUserCount;
setCoreParameter("StartUserCount", std::to_string(startUserCount));
setBodyParameter("StartUserCount", std::to_string(startUserCount));
}
long GetAnalyzeCommodityDataRequest::getMinSupportCount()const
@@ -110,7 +112,7 @@ long GetAnalyzeCommodityDataRequest::getMinSupportCount()const
void GetAnalyzeCommodityDataRequest::setMinSupportCount(long minSupportCount)
{
minSupportCount_ = minSupportCount;
setCoreParameter("MinSupportCount", std::to_string(minSupportCount));
setBodyParameter("MinSupportCount", std::to_string(minSupportCount));
}
std::string GetAnalyzeCommodityDataRequest::getEndDate()const
@@ -121,6 +123,6 @@ std::string GetAnalyzeCommodityDataRequest::getEndDate()const
void GetAnalyzeCommodityDataRequest::setEndDate(const std::string& endDate)
{
endDate_ = endDate;
setCoreParameter("EndDate", endDate);
setBodyParameter("EndDate", endDate);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::GetAnalyzePlaceDataRequest;
GetAnalyzePlaceDataRequest::GetAnalyzePlaceDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetAnalyzePlaceData")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetAnalyzePlaceDataRequest::~GetAnalyzePlaceDataRequest()
{}
@@ -33,18 +35,7 @@ long GetAnalyzePlaceDataRequest::getEndUVCount()const
void GetAnalyzePlaceDataRequest::setEndUVCount(long endUVCount)
{
endUVCount_ = endUVCount;
setCoreParameter("EndUVCount", std::to_string(endUVCount));
}
long GetAnalyzePlaceDataRequest::getParentAmount()const
{
return parentAmount_;
}
void GetAnalyzePlaceDataRequest::setParentAmount(long parentAmount)
{
parentAmount_ = parentAmount;
setCoreParameter("ParentAmount", std::to_string(parentAmount));
setBodyParameter("EndUVCount", std::to_string(endUVCount));
}
std::string GetAnalyzePlaceDataRequest::getStartDate()const
@@ -55,18 +46,7 @@ std::string GetAnalyzePlaceDataRequest::getStartDate()const
void GetAnalyzePlaceDataRequest::setStartDate(const std::string& startDate)
{
startDate_ = startDate;
setCoreParameter("StartDate", startDate);
}
long GetAnalyzePlaceDataRequest::getStartUVCount()const
{
return startUVCount_;
}
void GetAnalyzePlaceDataRequest::setStartUVCount(long startUVCount)
{
startUVCount_ = startUVCount;
setCoreParameter("StartUVCount", std::to_string(startUVCount));
setBodyParameter("StartDate", startDate);
}
long GetAnalyzePlaceDataRequest::getStoreId()const
@@ -77,7 +57,29 @@ long GetAnalyzePlaceDataRequest::getStoreId()const
void GetAnalyzePlaceDataRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", std::to_string(storeId));
setBodyParameter("StoreId", std::to_string(storeId));
}
long GetAnalyzePlaceDataRequest::getParentAmount()const
{
return parentAmount_;
}
void GetAnalyzePlaceDataRequest::setParentAmount(long parentAmount)
{
parentAmount_ = parentAmount;
setBodyParameter("ParentAmount", std::to_string(parentAmount));
}
long GetAnalyzePlaceDataRequest::getStartUVCount()const
{
return startUVCount_;
}
void GetAnalyzePlaceDataRequest::setStartUVCount(long startUVCount)
{
startUVCount_ = startUVCount;
setBodyParameter("StartUVCount", std::to_string(startUVCount));
}
std::string GetAnalyzePlaceDataRequest::getEndDate()const
@@ -88,7 +90,7 @@ std::string GetAnalyzePlaceDataRequest::getEndDate()const
void GetAnalyzePlaceDataRequest::setEndDate(const std::string& endDate)
{
endDate_ = endDate;
setCoreParameter("EndDate", endDate);
setBodyParameter("EndDate", endDate);
}
long GetAnalyzePlaceDataRequest::getLocationId()const
@@ -99,7 +101,7 @@ long GetAnalyzePlaceDataRequest::getLocationId()const
void GetAnalyzePlaceDataRequest::setLocationId(long locationId)
{
locationId_ = locationId;
setCoreParameter("LocationId", std::to_string(locationId));
setBodyParameter("LocationId", std::to_string(locationId));
}
std::string GetAnalyzePlaceDataRequest::getParentLocationIds()const
@@ -110,6 +112,6 @@ std::string GetAnalyzePlaceDataRequest::getParentLocationIds()const
void GetAnalyzePlaceDataRequest::setParentLocationIds(const std::string& parentLocationIds)
{
parentLocationIds_ = parentLocationIds;
setCoreParameter("ParentLocationIds", parentLocationIds);
setBodyParameter("ParentLocationIds", parentLocationIds);
}

View File

@@ -55,6 +55,20 @@ void GetAnalyzePlaceDataResult::parse(const std::string &payload)
analyzePlaceItemsObject.storeId = std::stol(valueAnalyzePlaceItemsAnalyzePlaceItem["StoreId"].asString());
if(!valueAnalyzePlaceItemsAnalyzePlaceItem["Percent"].isNull())
analyzePlaceItemsObject.percent = std::stof(valueAnalyzePlaceItemsAnalyzePlaceItem["Percent"].asString());
if(!valueAnalyzePlaceItemsAnalyzePlaceItem["MaleCount"].isNull())
analyzePlaceItemsObject.maleCount = std::stoi(valueAnalyzePlaceItemsAnalyzePlaceItem["MaleCount"].asString());
if(!valueAnalyzePlaceItemsAnalyzePlaceItem["FemaleCount"].isNull())
analyzePlaceItemsObject.femaleCount = std::stoi(valueAnalyzePlaceItemsAnalyzePlaceItem["FemaleCount"].asString());
auto allAgeItemsNode = allAnalyzePlaceItemsNode["AgeItems"]["AgeItem"];
for (auto allAnalyzePlaceItemsNodeAgeItemsAgeItem : allAgeItemsNode)
{
AnalyzePlaceItem::AgeItem ageItemsObject;
if(!allAnalyzePlaceItemsNodeAgeItemsAgeItem["Count"].isNull())
ageItemsObject.count = std::stoi(allAnalyzePlaceItemsNodeAgeItemsAgeItem["Count"].asString());
if(!allAnalyzePlaceItemsNodeAgeItemsAgeItem["Age"].isNull())
ageItemsObject.age = std::stoi(allAnalyzePlaceItemsNodeAgeItemsAgeItem["Age"].asString());
analyzePlaceItemsObject.ageItems.push_back(ageItemsObject);
}
analyzePlaceItems_.push_back(analyzePlaceItemsObject);
}
if(!value["Count"].isNull())

View 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/cusanalytic_sc_online/model/GetBaseAgeDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetBaseAgeDataRequest;
GetBaseAgeDataRequest::GetBaseAgeDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetBaseAgeData")
{
setMethod(HttpRequest::Method::Post);
}
GetBaseAgeDataRequest::~GetBaseAgeDataRequest()
{}
long GetBaseAgeDataRequest::getStoreId()const
{
return storeId_;
}
void GetBaseAgeDataRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", std::to_string(storeId));
}
std::string GetBaseAgeDataRequest::getHour()const
{
return hour_;
}
void GetBaseAgeDataRequest::setHour(const std::string& hour)
{
hour_ = hour;
setBodyParameter("Hour", hour);
}
std::string GetBaseAgeDataRequest::getSummaryType()const
{
return summaryType_;
}
void GetBaseAgeDataRequest::setSummaryType(const std::string& summaryType)
{
summaryType_ = summaryType;
setBodyParameter("SummaryType", summaryType);
}
long GetBaseAgeDataRequest::getLocationId()const
{
return locationId_;
}
void GetBaseAgeDataRequest::setLocationId(long locationId)
{
locationId_ = locationId;
setBodyParameter("LocationId", std::to_string(locationId));
}
std::string GetBaseAgeDataRequest::getDay()const
{
return day_;
}
void GetBaseAgeDataRequest::setDay(const std::string& day)
{
day_ = day;
setBodyParameter("Day", day);
}

View File

@@ -0,0 +1,138 @@
/*
* 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/cusanalytic_sc_online/model/GetBaseAgeDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetBaseAgeDataResult::GetBaseAgeDataResult() :
ServiceResult()
{}
GetBaseAgeDataResult::GetBaseAgeDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetBaseAgeDataResult::~GetBaseAgeDataResult()
{}
void GetBaseAgeDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allageItemsNode = value["ageItems"]["AgeItem"];
for (auto valueageItemsAgeItem : allageItemsNode)
{
AgeItem ageItemsObject;
if(!valueageItemsAgeItem["Name"].isNull())
ageItemsObject.name = valueageItemsAgeItem["Name"].asString();
if(!valueageItemsAgeItem["Count"].isNull())
ageItemsObject.count = std::stoi(valueageItemsAgeItem["Count"].asString());
ageItems_.push_back(ageItemsObject);
}
auto allfemaleAgeItemsNode = value["femaleAgeItems"]["AgeItem"];
for (auto valuefemaleAgeItemsAgeItem : allfemaleAgeItemsNode)
{
AgeItem femaleAgeItemsObject;
if(!valuefemaleAgeItemsAgeItem["Name"].isNull())
femaleAgeItemsObject.name = valuefemaleAgeItemsAgeItem["Name"].asString();
if(!valuefemaleAgeItemsAgeItem["Count"].isNull())
femaleAgeItemsObject.count = std::stoi(valuefemaleAgeItemsAgeItem["Count"].asString());
femaleAgeItems_.push_back(femaleAgeItemsObject);
}
auto allmaleAgeItemsNode = value["maleAgeItems"]["AgeItem"];
for (auto valuemaleAgeItemsAgeItem : allmaleAgeItemsNode)
{
AgeItem maleAgeItemsObject;
if(!valuemaleAgeItemsAgeItem["Name"].isNull())
maleAgeItemsObject.name = valuemaleAgeItemsAgeItem["Name"].asString();
if(!valuemaleAgeItemsAgeItem["Count"].isNull())
maleAgeItemsObject.count = std::stoi(valuemaleAgeItemsAgeItem["Count"].asString());
maleAgeItems_.push_back(maleAgeItemsObject);
}
if(!value["Day"].isNull())
day_ = value["Day"].asString();
if(!value["StoreId"].isNull())
storeId_ = std::stol(value["StoreId"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
if(!value["Hour"].isNull())
hour_ = value["Hour"].asString();
if(!value["LocationId"].isNull())
locationId_ = std::stol(value["LocationId"].asString());
if(!value["SummaryType"].isNull())
summaryType_ = value["SummaryType"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string GetBaseAgeDataResult::getSummaryType()const
{
return summaryType_;
}
std::vector<GetBaseAgeDataResult::AgeItem> GetBaseAgeDataResult::getfemaleAgeItems()const
{
return femaleAgeItems_;
}
long GetBaseAgeDataResult::getStoreId()const
{
return storeId_;
}
std::string GetBaseAgeDataResult::getHour()const
{
return hour_;
}
std::vector<GetBaseAgeDataResult::AgeItem> GetBaseAgeDataResult::getmaleAgeItems()const
{
return maleAgeItems_;
}
std::string GetBaseAgeDataResult::getErrorMsg()const
{
return errorMsg_;
}
long GetBaseAgeDataResult::getLocationId()const
{
return locationId_;
}
std::vector<GetBaseAgeDataResult::AgeItem> GetBaseAgeDataResult::getageItems()const
{
return ageItems_;
}
std::string GetBaseAgeDataResult::getDay()const
{
return day_;
}
bool GetBaseAgeDataResult::getSuccess()const
{
return success_;
}

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/cusanalytic_sc_online/model/GetCameraStatisticRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetCameraStatisticRequest;
GetCameraStatisticRequest::GetCameraStatisticRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetCameraStatistic")
{
setMethod(HttpRequest::Method::Post);
}
GetCameraStatisticRequest::~GetCameraStatisticRequest()
{}
long GetCameraStatisticRequest::getStartTs()const
{
return startTs_;
}
void GetCameraStatisticRequest::setStartTs(long startTs)
{
startTs_ = startTs;
setBodyParameter("StartTs", std::to_string(startTs));
}
long GetCameraStatisticRequest::getStoreId()const
{
return storeId_;
}
void GetCameraStatisticRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", std::to_string(storeId));
}
long GetCameraStatisticRequest::getEndTs()const
{
return endTs_;
}
void GetCameraStatisticRequest::setEndTs(long endTs)
{
endTs_ = endTs;
setBodyParameter("EndTs", std::to_string(endTs));
}

View File

@@ -0,0 +1,91 @@
/*
* 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/cusanalytic_sc_online/model/GetCameraStatisticResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetCameraStatisticResult::GetCameraStatisticResult() :
ServiceResult()
{}
GetCameraStatisticResult::GetCameraStatisticResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetCameraStatisticResult::~GetCameraStatisticResult()
{}
void GetCameraStatisticResult::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["LocationId"].isNull())
pvStatisticResultsObject.locationId = std::stol(valuePvStatisticResultsPvStatisticResult["LocationId"].asString());
if(!valuePvStatisticResultsPvStatisticResult["PvCount"].isNull())
pvStatisticResultsObject.pvCount = std::stol(valuePvStatisticResultsPvStatisticResult["PvCount"].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["Bottom"].isNull())
pvRectsObject.bottom = std::stof(allPvStatisticResultsNodePvRectsRect["Bottom"].asString());
if(!allPvStatisticResultsNodePvRectsRect["Top"].isNull())
pvRectsObject.top = std::stof(allPvStatisticResultsNodePvRectsRect["Top"].asString());
if(!allPvStatisticResultsNodePvRectsRect["Left"].isNull())
pvRectsObject.left = std::stof(allPvStatisticResultsNodePvRectsRect["Left"].asString());
pvStatisticResultsObject.pvRects.push_back(pvRectsObject);
}
pvStatisticResults_.push_back(pvStatisticResultsObject);
}
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::vector<GetCameraStatisticResult::PvStatisticResult> GetCameraStatisticResult::getPvStatisticResults()const
{
return pvStatisticResults_;
}
std::string GetCameraStatisticResult::getErrorMsg()const
{
return errorMsg_;
}
bool GetCameraStatisticResult::getSuccess()const
{
return success_;
}

View 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/cusanalytic_sc_online/model/GetDailyStatisticsDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetDailyStatisticsDataRequest;
GetDailyStatisticsDataRequest::GetDailyStatisticsDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetDailyStatisticsData")
{
setMethod(HttpRequest::Method::Post);
}
GetDailyStatisticsDataRequest::~GetDailyStatisticsDataRequest()
{}
long GetDailyStatisticsDataRequest::getStoreId()const
{
return storeId_;
}
void GetDailyStatisticsDataRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", std::to_string(storeId));
}
std::string GetDailyStatisticsDataRequest::getDay()const
{
return day_;
}
void GetDailyStatisticsDataRequest::setDay(const std::string& day)
{
day_ = day;
setBodyParameter("Day", day);
}

View File

@@ -0,0 +1,98 @@
/*
* 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/cusanalytic_sc_online/model/GetDailyStatisticsDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetDailyStatisticsDataResult::GetDailyStatisticsDataResult() :
ServiceResult()
{}
GetDailyStatisticsDataResult::GetDailyStatisticsDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetDailyStatisticsDataResult::~GetDailyStatisticsDataResult()
{}
void GetDailyStatisticsDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allBaseStatisticsDatasNode = value["BaseStatisticsDatas"]["BaseStatisticsData"];
for (auto valueBaseStatisticsDatasBaseStatisticsData : allBaseStatisticsDatasNode)
{
BaseStatisticsData baseStatisticsDatasObject;
if(!valueBaseStatisticsDatasBaseStatisticsData["MaleUvCount"].isNull())
baseStatisticsDatasObject.maleUvCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["MaleUvCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["StoreId"].isNull())
baseStatisticsDatasObject.storeId = std::stol(valueBaseStatisticsDatasBaseStatisticsData["StoreId"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["Day"].isNull())
baseStatisticsDatasObject.day = valueBaseStatisticsDatasBaseStatisticsData["Day"].asString();
if(!valueBaseStatisticsDatasBaseStatisticsData["LocationId"].isNull())
baseStatisticsDatasObject.locationId = std::stol(valueBaseStatisticsDatasBaseStatisticsData["LocationId"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["StayPeriod"].isNull())
baseStatisticsDatasObject.stayPeriod = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["StayPeriod"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["UvCount"].isNull())
baseStatisticsDatasObject.uvCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["UvCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["OnlyBodyUvCount"].isNull())
baseStatisticsDatasObject.onlyBodyUvCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["OnlyBodyUvCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["Hour"].isNull())
baseStatisticsDatasObject.hour = valueBaseStatisticsDatasBaseStatisticsData["Hour"].asString();
if(!valueBaseStatisticsDatasBaseStatisticsData["FemaleUvCount"].isNull())
baseStatisticsDatasObject.femaleUvCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["FemaleUvCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["OldCount"].isNull())
baseStatisticsDatasObject.oldCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["OldCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["NewCount"].isNull())
baseStatisticsDatasObject.newCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["NewCount"].asString());
baseStatisticsDatas_.push_back(baseStatisticsDatasObject);
}
if(!value["CursorTime"].isNull())
cursorTime_ = value["CursorTime"].asString();
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::vector<GetDailyStatisticsDataResult::BaseStatisticsData> GetDailyStatisticsDataResult::getBaseStatisticsDatas()const
{
return baseStatisticsDatas_;
}
std::string GetDailyStatisticsDataResult::getErrorMsg()const
{
return errorMsg_;
}
std::string GetDailyStatisticsDataResult::getCursorTime()const
{
return cursorTime_;
}
bool GetDailyStatisticsDataResult::getSuccess()const
{
return success_;
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::GetEMapRequest;
GetEMapRequest::GetEMapRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetEMap")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetEMapRequest::~GetEMapRequest()
{}
@@ -33,7 +35,7 @@ long GetEMapRequest::getStoreId()const
void GetEMapRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", std::to_string(storeId));
setBodyParameter("StoreId", std::to_string(storeId));
}
long GetEMapRequest::getLocationId()const
@@ -44,6 +46,6 @@ long GetEMapRequest::getLocationId()const
void GetEMapRequest::setLocationId(long locationId)
{
locationId_ = locationId;
setCoreParameter("LocationId", std::to_string(locationId));
setBodyParameter("LocationId", std::to_string(locationId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::GetHeatMapDataRequest;
GetHeatMapDataRequest::GetHeatMapDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetHeatMapData")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetHeatMapDataRequest::~GetHeatMapDataRequest()
{}
@@ -33,7 +35,7 @@ std::string GetHeatMapDataRequest::getEMapName()const
void GetHeatMapDataRequest::setEMapName(const std::string& eMapName)
{
eMapName_ = eMapName;
setCoreParameter("EMapName", eMapName);
setBodyParameter("EMapName", eMapName);
}
long GetHeatMapDataRequest::getStoreId()const
@@ -44,7 +46,7 @@ long GetHeatMapDataRequest::getStoreId()const
void GetHeatMapDataRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", std::to_string(storeId));
setBodyParameter("StoreId", std::to_string(storeId));
}
std::string GetHeatMapDataRequest::getStatDate()const
@@ -55,6 +57,6 @@ std::string GetHeatMapDataRequest::getStatDate()const
void GetHeatMapDataRequest::setStatDate(const std::string& statDate)
{
statDate_ = statDate;
setCoreParameter("StatDate", statDate);
setBodyParameter("StatDate", statDate);
}

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/cusanalytic_sc_online/model/GetHourlyStatisticsDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetHourlyStatisticsDataRequest;
GetHourlyStatisticsDataRequest::GetHourlyStatisticsDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetHourlyStatisticsData")
{
setMethod(HttpRequest::Method::Post);
}
GetHourlyStatisticsDataRequest::~GetHourlyStatisticsDataRequest()
{}
long GetHourlyStatisticsDataRequest::getStoreId()const
{
return storeId_;
}
void GetHourlyStatisticsDataRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", std::to_string(storeId));
}
long GetHourlyStatisticsDataRequest::getLocationId()const
{
return locationId_;
}
void GetHourlyStatisticsDataRequest::setLocationId(long locationId)
{
locationId_ = locationId;
setBodyParameter("LocationId", std::to_string(locationId));
}
std::string GetHourlyStatisticsDataRequest::getDay()const
{
return day_;
}
void GetHourlyStatisticsDataRequest::setDay(const std::string& day)
{
day_ = day;
setBodyParameter("Day", day);
}

View File

@@ -0,0 +1,98 @@
/*
* 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/cusanalytic_sc_online/model/GetHourlyStatisticsDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetHourlyStatisticsDataResult::GetHourlyStatisticsDataResult() :
ServiceResult()
{}
GetHourlyStatisticsDataResult::GetHourlyStatisticsDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetHourlyStatisticsDataResult::~GetHourlyStatisticsDataResult()
{}
void GetHourlyStatisticsDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allBaseStatisticsDatasNode = value["BaseStatisticsDatas"]["BaseStatisticsData"];
for (auto valueBaseStatisticsDatasBaseStatisticsData : allBaseStatisticsDatasNode)
{
BaseStatisticsData baseStatisticsDatasObject;
if(!valueBaseStatisticsDatasBaseStatisticsData["MaleUvCount"].isNull())
baseStatisticsDatasObject.maleUvCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["MaleUvCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["StoreId"].isNull())
baseStatisticsDatasObject.storeId = std::stol(valueBaseStatisticsDatasBaseStatisticsData["StoreId"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["Day"].isNull())
baseStatisticsDatasObject.day = valueBaseStatisticsDatasBaseStatisticsData["Day"].asString();
if(!valueBaseStatisticsDatasBaseStatisticsData["LocationId"].isNull())
baseStatisticsDatasObject.locationId = std::stol(valueBaseStatisticsDatasBaseStatisticsData["LocationId"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["StayPeriod"].isNull())
baseStatisticsDatasObject.stayPeriod = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["StayPeriod"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["UvCount"].isNull())
baseStatisticsDatasObject.uvCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["UvCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["OnlyBodyUvCount"].isNull())
baseStatisticsDatasObject.onlyBodyUvCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["OnlyBodyUvCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["Hour"].isNull())
baseStatisticsDatasObject.hour = valueBaseStatisticsDatasBaseStatisticsData["Hour"].asString();
if(!valueBaseStatisticsDatasBaseStatisticsData["FemaleUvCount"].isNull())
baseStatisticsDatasObject.femaleUvCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["FemaleUvCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["OldCount"].isNull())
baseStatisticsDatasObject.oldCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["OldCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["NewCount"].isNull())
baseStatisticsDatasObject.newCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["NewCount"].asString());
baseStatisticsDatas_.push_back(baseStatisticsDatasObject);
}
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
if(!value["CursorTime"].isNull())
cursorTime_ = value["CursorTime"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::vector<GetHourlyStatisticsDataResult::BaseStatisticsData> GetHourlyStatisticsDataResult::getBaseStatisticsDatas()const
{
return baseStatisticsDatas_;
}
std::string GetHourlyStatisticsDataResult::getErrorMsg()const
{
return errorMsg_;
}
std::string GetHourlyStatisticsDataResult::getCursorTime()const
{
return cursorTime_;
}
bool GetHourlyStatisticsDataResult::getSuccess()const
{
return success_;
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::GetImageUrlRequest;
GetImageUrlRequest::GetImageUrlRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetImageUrl")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetImageUrlRequest::~GetImageUrlRequest()
{}
@@ -33,7 +35,7 @@ std::string GetImageUrlRequest::getOriginUrls()const
void GetImageUrlRequest::setOriginUrls(const std::string& originUrls)
{
originUrls_ = originUrls;
setCoreParameter("OriginUrls", originUrls);
setBodyParameter("OriginUrls", originUrls);
}
std::string GetImageUrlRequest::getStoreId()const
@@ -44,7 +46,7 @@ std::string GetImageUrlRequest::getStoreId()const
void GetImageUrlRequest::setStoreId(const std::string& storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", storeId);
setBodyParameter("StoreId", storeId);
}
std::string GetImageUrlRequest::getObjectKeys()const
@@ -55,6 +57,6 @@ std::string GetImageUrlRequest::getObjectKeys()const
void GetImageUrlRequest::setObjectKeys(const std::string& objectKeys)
{
objectKeys_ = objectKeys;
setCoreParameter("ObjectKeys", objectKeys);
setBodyParameter("ObjectKeys", objectKeys);
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::GetLocationsRequest;
GetLocationsRequest::GetLocationsRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetLocations")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetLocationsRequest::~GetLocationsRequest()
{}
@@ -33,6 +35,6 @@ long GetLocationsRequest::getStoreId()const
void GetLocationsRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", std::to_string(storeId));
setBodyParameter("StoreId", std::to_string(storeId));
}

View 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/cusanalytic_sc_online/model/GetMin5StatisticsDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetMin5StatisticsDataRequest;
GetMin5StatisticsDataRequest::GetMin5StatisticsDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetMin5StatisticsData")
{
setMethod(HttpRequest::Method::Post);
}
GetMin5StatisticsDataRequest::~GetMin5StatisticsDataRequest()
{}
long GetMin5StatisticsDataRequest::getStoreId()const
{
return storeId_;
}
void GetMin5StatisticsDataRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", std::to_string(storeId));
}
long GetMin5StatisticsDataRequest::getTime()const
{
return time_;
}
void GetMin5StatisticsDataRequest::setTime(long time)
{
time_ = time;
setBodyParameter("Time", std::to_string(time));
}

View File

@@ -0,0 +1,100 @@
/*
* 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/cusanalytic_sc_online/model/GetMin5StatisticsDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetMin5StatisticsDataResult::GetMin5StatisticsDataResult() :
ServiceResult()
{}
GetMin5StatisticsDataResult::GetMin5StatisticsDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetMin5StatisticsDataResult::~GetMin5StatisticsDataResult()
{}
void GetMin5StatisticsDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allBaseStatisticsDatasNode = value["BaseStatisticsDatas"]["BaseStatisticsData"];
for (auto valueBaseStatisticsDatasBaseStatisticsData : allBaseStatisticsDatasNode)
{
BaseStatisticsData baseStatisticsDatasObject;
if(!valueBaseStatisticsDatasBaseStatisticsData["MaleUvCount"].isNull())
baseStatisticsDatasObject.maleUvCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["MaleUvCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["Minute"].isNull())
baseStatisticsDatasObject.minute = valueBaseStatisticsDatasBaseStatisticsData["Minute"].asString();
if(!valueBaseStatisticsDatasBaseStatisticsData["StoreId"].isNull())
baseStatisticsDatasObject.storeId = std::stol(valueBaseStatisticsDatasBaseStatisticsData["StoreId"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["Day"].isNull())
baseStatisticsDatasObject.day = valueBaseStatisticsDatasBaseStatisticsData["Day"].asString();
if(!valueBaseStatisticsDatasBaseStatisticsData["LocationId"].isNull())
baseStatisticsDatasObject.locationId = std::stol(valueBaseStatisticsDatasBaseStatisticsData["LocationId"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["StayPeriod"].isNull())
baseStatisticsDatasObject.stayPeriod = std::stol(valueBaseStatisticsDatasBaseStatisticsData["StayPeriod"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["UvCount"].isNull())
baseStatisticsDatasObject.uvCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["UvCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["OnlyBodyUvCount"].isNull())
baseStatisticsDatasObject.onlyBodyUvCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["OnlyBodyUvCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["Hour"].isNull())
baseStatisticsDatasObject.hour = valueBaseStatisticsDatasBaseStatisticsData["Hour"].asString();
if(!valueBaseStatisticsDatasBaseStatisticsData["FemaleUvCount"].isNull())
baseStatisticsDatasObject.femaleUvCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["FemaleUvCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["OldCount"].isNull())
baseStatisticsDatasObject.oldCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["OldCount"].asString());
if(!valueBaseStatisticsDatasBaseStatisticsData["NewCount"].isNull())
baseStatisticsDatasObject.newCount = std::stoi(valueBaseStatisticsDatasBaseStatisticsData["NewCount"].asString());
baseStatisticsDatas_.push_back(baseStatisticsDatasObject);
}
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
if(!value["CursorTime"].isNull())
cursorTime_ = value["CursorTime"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::vector<GetMin5StatisticsDataResult::BaseStatisticsData> GetMin5StatisticsDataResult::getBaseStatisticsDatas()const
{
return baseStatisticsDatas_;
}
std::string GetMin5StatisticsDataResult::getErrorMsg()const
{
return errorMsg_;
}
std::string GetMin5StatisticsDataResult::getCursorTime()const
{
return cursorTime_;
}
bool GetMin5StatisticsDataResult::getSuccess()const
{
return success_;
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::GetOverviewDataRequest;
GetOverviewDataRequest::GetOverviewDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetOverviewData")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetOverviewDataRequest::~GetOverviewDataRequest()
{}
@@ -33,7 +35,7 @@ std::string GetOverviewDataRequest::getDate()const
void GetOverviewDataRequest::setDate(const std::string& date)
{
date_ = date;
setCoreParameter("Date", date);
setBodyParameter("Date", date);
}
std::string GetOverviewDataRequest::getStoreIds()const
@@ -44,6 +46,6 @@ std::string GetOverviewDataRequest::getStoreIds()const
void GetOverviewDataRequest::setStoreIds(const std::string& storeIds)
{
storeIds_ = storeIds;
setCoreParameter("StoreIds", storeIds);
setBodyParameter("StoreIds", storeIds);
}

View File

@@ -20,30 +20,32 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::GetPersonInStore5MinRequest;
GetPersonInStore5MinRequest::GetPersonInStore5MinRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetPersonInStore5Min")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetPersonInStore5MinRequest::~GetPersonInStore5MinRequest()
{}
std::string GetPersonInStore5MinRequest::getDate()const
{
return date_;
}
void GetPersonInStore5MinRequest::setDate(const std::string& date)
{
date_ = date;
setCoreParameter("Date", date);
}
long GetPersonInStore5MinRequest::getStoreId()const
{
return storeId_;
}
void GetPersonInStore5MinRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", std::to_string(storeId));
}
std::string GetPersonInStore5MinRequest::getDate()const
{
return date_;
}
void GetPersonInStore5MinRequest::setDate(const std::string& date)
{
date_ = date;
setBodyParameter("Date", date);
}
long GetPersonInStore5MinRequest::getStoreId()const
{
return storeId_;
}
void GetPersonInStore5MinRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", std::to_string(storeId));
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::GetPortrayalRequest;
GetPortrayalRequest::GetPortrayalRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetPortrayal")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetPortrayalRequest::~GetPortrayalRequest()
{}
@@ -33,7 +35,7 @@ std::string GetPortrayalRequest::getDate()const
void GetPortrayalRequest::setDate(const std::string& date)
{
date_ = date;
setCoreParameter("Date", date);
setBodyParameter("Date", date);
}
std::string GetPortrayalRequest::getLocationIds()const
@@ -44,7 +46,7 @@ std::string GetPortrayalRequest::getLocationIds()const
void GetPortrayalRequest::setLocationIds(const std::string& locationIds)
{
locationIds_ = locationIds;
setCoreParameter("LocationIds", locationIds);
setBodyParameter("LocationIds", locationIds);
}
std::string GetPortrayalRequest::getStoreIds()const
@@ -55,6 +57,6 @@ std::string GetPortrayalRequest::getStoreIds()const
void GetPortrayalRequest::setStoreIds(const std::string& storeIds)
{
storeIds_ = storeIds;
setCoreParameter("StoreIds", storeIds);
setBodyParameter("StoreIds", storeIds);
}

View File

@@ -20,30 +20,32 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::GetRoiRankingRequest;
GetRoiRankingRequest::GetRoiRankingRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetRoiRanking")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetRoiRankingRequest::~GetRoiRankingRequest()
{}
std::string GetRoiRankingRequest::getDate()const
{
return date_;
}
void GetRoiRankingRequest::setDate(const std::string& date)
{
date_ = date;
setCoreParameter("Date", date);
}
long GetRoiRankingRequest::getStoreId()const
{
return storeId_;
}
void GetRoiRankingRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", std::to_string(storeId));
}
std::string GetRoiRankingRequest::getDate()const
{
return date_;
}
void GetRoiRankingRequest::setDate(const std::string& date)
{
date_ = date;
setBodyParameter("Date", date);
}
long GetRoiRankingRequest::getStoreId()const
{
return storeId_;
}
void GetRoiRankingRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", std::to_string(storeId));
}

View File

@@ -0,0 +1,73 @@
/*
* 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/cusanalytic_sc_online/model/GetStayDistributionRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetStayDistributionRequest;
GetStayDistributionRequest::GetStayDistributionRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetStayDistribution")
{
setMethod(HttpRequest::Method::Post);
}
GetStayDistributionRequest::~GetStayDistributionRequest()
{}
long GetStayDistributionRequest::getSummaryTime()const
{
return summaryTime_;
}
void GetStayDistributionRequest::setSummaryTime(long summaryTime)
{
summaryTime_ = summaryTime;
setBodyParameter("SummaryTime", std::to_string(summaryTime));
}
long GetStayDistributionRequest::getStoreId()const
{
return storeId_;
}
void GetStayDistributionRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", std::to_string(storeId));
}
std::string GetStayDistributionRequest::getSummaryType()const
{
return summaryType_;
}
void GetStayDistributionRequest::setSummaryType(const std::string& summaryType)
{
summaryType_ = summaryType;
setBodyParameter("SummaryType", summaryType);
}
long GetStayDistributionRequest::getLocationId()const
{
return locationId_;
}
void GetStayDistributionRequest::setLocationId(long locationId)
{
locationId_ = locationId;
setBodyParameter("LocationId", std::to_string(locationId));
}

View File

@@ -0,0 +1,89 @@
/*
* 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/cusanalytic_sc_online/model/GetStayDistributionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetStayDistributionResult::GetStayDistributionResult() :
ServiceResult()
{}
GetStayDistributionResult::GetStayDistributionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetStayDistributionResult::~GetStayDistributionResult()
{}
void GetStayDistributionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allStayDistributionItemsNode = value["StayDistributionItems"]["StayDistributionItem"];
for (auto valueStayDistributionItemsStayDistributionItem : allStayDistributionItemsNode)
{
StayDistributionItem stayDistributionItemsObject;
if(!valueStayDistributionItemsStayDistributionItem["EndTs"].isNull())
stayDistributionItemsObject.endTs = std::stol(valueStayDistributionItemsStayDistributionItem["EndTs"].asString());
if(!valueStayDistributionItemsStayDistributionItem["Count"].isNull())
stayDistributionItemsObject.count = std::stoi(valueStayDistributionItemsStayDistributionItem["Count"].asString());
if(!valueStayDistributionItemsStayDistributionItem["StartTs"].isNull())
stayDistributionItemsObject.startTs = std::stol(valueStayDistributionItemsStayDistributionItem["StartTs"].asString());
stayDistributionItems_.push_back(stayDistributionItemsObject);
}
if(!value["StoreId"].isNull())
storeId_ = std::stol(value["StoreId"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
if(!value["LocationId"].isNull())
locationId_ = std::stol(value["LocationId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::vector<GetStayDistributionResult::StayDistributionItem> GetStayDistributionResult::getStayDistributionItems()const
{
return stayDistributionItems_;
}
long GetStayDistributionResult::getStoreId()const
{
return storeId_;
}
std::string GetStayDistributionResult::getErrorMsg()const
{
return errorMsg_;
}
long GetStayDistributionResult::getLocationId()const
{
return locationId_;
}
bool GetStayDistributionResult::getSuccess()const
{
return success_;
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::GetSupportStoreRequest;
GetSupportStoreRequest::GetSupportStoreRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetSupportStore")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetSupportStoreRequest::~GetSupportStoreRequest()
{}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::ListVisitorsRequest;
ListVisitorsRequest::ListVisitorsRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "ListVisitors")
{}
{
setMethod(HttpRequest::Method::Post);
}
ListVisitorsRequest::~ListVisitorsRequest()
{}
@@ -33,7 +35,7 @@ std::string ListVisitorsRequest::getGender()const
void ListVisitorsRequest::setGender(const std::string& gender)
{
gender_ = gender;
setCoreParameter("Gender", gender);
setBodyParameter("Gender", gender);
}
long ListVisitorsRequest::getUkId()const
@@ -44,7 +46,7 @@ long ListVisitorsRequest::getUkId()const
void ListVisitorsRequest::setUkId(long ukId)
{
ukId_ = ukId;
setCoreParameter("UkId", std::to_string(ukId));
setBodyParameter("UkId", std::to_string(ukId));
}
std::string ListVisitorsRequest::getLocationIds()const
@@ -55,7 +57,7 @@ std::string ListVisitorsRequest::getLocationIds()const
void ListVisitorsRequest::setLocationIds(const std::string& locationIds)
{
locationIds_ = locationIds;
setCoreParameter("LocationIds", locationIds);
setBodyParameter("LocationIds", locationIds);
}
std::string ListVisitorsRequest::getStartTime()const
@@ -66,7 +68,7 @@ std::string ListVisitorsRequest::getStartTime()const
void ListVisitorsRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setCoreParameter("StartTime", startTime);
setBodyParameter("StartTime", startTime);
}
int ListVisitorsRequest::getPageSize()const
@@ -77,7 +79,7 @@ int ListVisitorsRequest::getPageSize()const
void ListVisitorsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
setBodyParameter("PageSize", std::to_string(pageSize));
}
long ListVisitorsRequest::getEnterCount()const
@@ -88,7 +90,7 @@ long ListVisitorsRequest::getEnterCount()const
void ListVisitorsRequest::setEnterCount(long enterCount)
{
enterCount_ = enterCount;
setCoreParameter("EnterCount", std::to_string(enterCount));
setBodyParameter("EnterCount", std::to_string(enterCount));
}
int ListVisitorsRequest::getPageIndex()const
@@ -99,7 +101,7 @@ int ListVisitorsRequest::getPageIndex()const
void ListVisitorsRequest::setPageIndex(int pageIndex)
{
pageIndex_ = pageIndex;
setCoreParameter("PageIndex", std::to_string(pageIndex));
setBodyParameter("PageIndex", std::to_string(pageIndex));
}
long ListVisitorsRequest::getAgeStart()const
@@ -110,7 +112,7 @@ long ListVisitorsRequest::getAgeStart()const
void ListVisitorsRequest::setAgeStart(long ageStart)
{
ageStart_ = ageStart;
setCoreParameter("AgeStart", std::to_string(ageStart));
setBodyParameter("AgeStart", std::to_string(ageStart));
}
long ListVisitorsRequest::getAgeEnd()const
@@ -121,7 +123,7 @@ long ListVisitorsRequest::getAgeEnd()const
void ListVisitorsRequest::setAgeEnd(long ageEnd)
{
ageEnd_ = ageEnd;
setCoreParameter("AgeEnd", std::to_string(ageEnd));
setBodyParameter("AgeEnd", std::to_string(ageEnd));
}
std::string ListVisitorsRequest::getPkId()const
@@ -132,7 +134,7 @@ std::string ListVisitorsRequest::getPkId()const
void ListVisitorsRequest::setPkId(const std::string& pkId)
{
pkId_ = pkId;
setCoreParameter("PkId", pkId);
setBodyParameter("PkId", pkId);
}
std::string ListVisitorsRequest::getEndTime()const
@@ -143,7 +145,7 @@ std::string ListVisitorsRequest::getEndTime()const
void ListVisitorsRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setCoreParameter("EndTime", endTime);
setBodyParameter("EndTime", endTime);
}
std::string ListVisitorsRequest::getStoreIds()const
@@ -154,6 +156,6 @@ std::string ListVisitorsRequest::getStoreIds()const
void ListVisitorsRequest::setStoreIds(const std::string& storeIds)
{
storeIds_ = storeIds;
setCoreParameter("StoreIds", storeIds);
setBodyParameter("StoreIds", storeIds);
}

View 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/cusanalytic_sc_online/model/MemberSynchronousRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::MemberSynchronousRequest;
MemberSynchronousRequest::MemberSynchronousRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "MemberSynchronous")
{
setMethod(HttpRequest::Method::Post);
}
MemberSynchronousRequest::~MemberSynchronousRequest()
{}
long MemberSynchronousRequest::getUkId()const
{
return ukId_;
}
void MemberSynchronousRequest::setUkId(long ukId)
{
ukId_ = ukId;
setBodyParameter("UkId", std::to_string(ukId));
}
std::string MemberSynchronousRequest::getFaceUrls()const
{
return faceUrls_;
}
void MemberSynchronousRequest::setFaceUrls(const std::string& faceUrls)
{
faceUrls_ = faceUrls;
setBodyParameter("FaceUrls", faceUrls);
}
long MemberSynchronousRequest::getStoreId()const
{
return storeId_;
}
void MemberSynchronousRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", std::to_string(storeId));
}
std::string MemberSynchronousRequest::getType()const
{
return type_;
}
void MemberSynchronousRequest::setType(const std::string& type)
{
type_ = type;
setBodyParameter("Type", type);
}
long MemberSynchronousRequest::getCustId()const
{
return custId_;
}
void MemberSynchronousRequest::setCustId(long custId)
{
custId_ = custId;
setBodyParameter("CustId", std::to_string(custId));
}

View File

@@ -0,0 +1,65 @@
/*
* 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/cusanalytic_sc_online/model/MemberSynchronousResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
MemberSynchronousResult::MemberSynchronousResult() :
ServiceResult()
{}
MemberSynchronousResult::MemberSynchronousResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
MemberSynchronousResult::~MemberSynchronousResult()
{}
void MemberSynchronousResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["UkId"].isNull())
ukId_ = std::stol(value["UkId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string MemberSynchronousResult::getMsg()const
{
return msg_;
}
long MemberSynchronousResult::getUkId()const
{
return ukId_;
}
bool MemberSynchronousResult::getSuccess()const
{
return success_;
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Cusanalytic_sc_online::Model::SearchPersonByImgRequest;
SearchPersonByImgRequest::SearchPersonByImgRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "SearchPersonByImg")
{}
{
setMethod(HttpRequest::Method::Post);
}
SearchPersonByImgRequest::~SearchPersonByImgRequest()
{}
@@ -33,7 +35,7 @@ long SearchPersonByImgRequest::getStoreId()const
void SearchPersonByImgRequest::setStoreId(long storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", std::to_string(storeId));
setBodyParameter("StoreId", std::to_string(storeId));
}
std::string SearchPersonByImgRequest::getImgUrl()const
@@ -44,6 +46,6 @@ std::string SearchPersonByImgRequest::getImgUrl()const
void SearchPersonByImgRequest::setImgUrl(const std::string& imgUrl)
{
imgUrl_ = imgUrl;
setCoreParameter("ImgUrl", imgUrl);
setBodyParameter("ImgUrl", imgUrl);
}