Rebuild sdk (#60)

* rebuild sdk

* fixed ut include Utils.h
This commit is contained in:
Axios
2019-08-14 14:34:09 +08:00
committed by GitHub
parent f3d9843e63
commit c43307bc80
11893 changed files with 462166 additions and 221301 deletions

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.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(cusanalytic_sc_online_public_header
include/alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineClient.h
include/alibabacloud/cusanalytic_sc_online/Cusanalytic_sc_onlineExport.h )
set(cusanalytic_sc_online_public_header_model
include/alibabacloud/cusanalytic_sc_online/model/DescribeLocationsRequest.h
include/alibabacloud/cusanalytic_sc_online/model/DescribeLocationsResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetSupportStoreRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetSupportStoreResult.h
include/alibabacloud/cusanalytic_sc_online/model/DescribeActionDataRequest.h
include/alibabacloud/cusanalytic_sc_online/model/DescribeActionDataResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetPortrayalRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetPortrayalResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetHeatMapDataRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetHeatMapDataResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetActionCursorRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetActionCursorResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetImageUrlRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetImageUrlResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetAnalyzePlaceDataRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetAnalyzePlaceDataResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetOverviewDataRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetOverviewDataResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetLocationsRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetLocationsResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetAnalyzeCommodityDataRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetAnalyzeCommodityDataResult.h
include/alibabacloud/cusanalytic_sc_online/model/ListVisitorsRequest.h
include/alibabacloud/cusanalytic_sc_online/model/ListVisitorsResult.h
include/alibabacloud/cusanalytic_sc_online/model/GetEMapRequest.h
include/alibabacloud/cusanalytic_sc_online/model/GetEMapResult.h
include/alibabacloud/cusanalytic_sc_online/model/SearchPersonByImgRequest.h
include/alibabacloud/cusanalytic_sc_online/model/SearchPersonByImgResult.h )
set(cusanalytic_sc_online_src
src/Cusanalytic_sc_onlineClient.cc
src/model/DescribeLocationsRequest.cc
src/model/DescribeLocationsResult.cc
src/model/GetSupportStoreRequest.cc
src/model/GetSupportStoreResult.cc
src/model/DescribeActionDataRequest.cc
src/model/DescribeActionDataResult.cc
src/model/GetPortrayalRequest.cc
src/model/GetPortrayalResult.cc
src/model/GetHeatMapDataRequest.cc
src/model/GetHeatMapDataResult.cc
src/model/GetActionCursorRequest.cc
src/model/GetActionCursorResult.cc
src/model/GetImageUrlRequest.cc
src/model/GetImageUrlResult.cc
src/model/GetAnalyzePlaceDataRequest.cc
src/model/GetAnalyzePlaceDataResult.cc
src/model/GetOverviewDataRequest.cc
src/model/GetOverviewDataResult.cc
src/model/GetLocationsRequest.cc
src/model/GetLocationsResult.cc
src/model/GetAnalyzeCommodityDataRequest.cc
src/model/GetAnalyzeCommodityDataResult.cc
src/model/ListVisitorsRequest.cc
src/model/ListVisitorsResult.cc
src/model/GetEMapRequest.cc
src/model/GetEMapResult.cc
src/model/SearchPersonByImgRequest.cc
src/model/SearchPersonByImgResult.cc )
add_library(cusanalytic_sc_online ${LIB_TYPE}
${cusanalytic_sc_online_public_header}
${cusanalytic_sc_online_public_header_model}
${cusanalytic_sc_online_src})
set_target_properties(cusanalytic_sc_online
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}cusanalytic_sc_online
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(cusanalytic_sc_online
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_LIBRARY)
endif()
target_include_directories(cusanalytic_sc_online
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(cusanalytic_sc_online
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(cusanalytic_sc_online
jsoncpp)
target_include_directories(cusanalytic_sc_online
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(cusanalytic_sc_online
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(cusanalytic_sc_online
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(cusanalytic_sc_online
PRIVATE /usr/include/jsoncpp)
target_link_libraries(cusanalytic_sc_online
jsoncpp)
endif()
install(FILES ${cusanalytic_sc_online_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cusanalytic_sc_online)
install(FILES ${cusanalytic_sc_online_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cusanalytic_sc_online/model)
install(TARGETS cusanalytic_sc_online
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -1,41 +1,47 @@
/*
* 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_CUSANALYTIC_SC_ONLINECLIENT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_CUSANALYTIC_SC_ONLINECLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "Cusanalytic_sc_onlineExport.h"
/*
* 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_CUSANALYTIC_SC_ONLINECLIENT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_CUSANALYTIC_SC_ONLINECLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "Cusanalytic_sc_onlineExport.h"
#include "model/DescribeLocationsRequest.h"
#include "model/DescribeLocationsResult.h"
#include "model/GetOverviewDataRequest.h"
#include "model/GetOverviewDataResult.h"
#include "model/GetSupportStoreRequest.h"
#include "model/GetSupportStoreResult.h"
#include "model/DescribeActionDataRequest.h"
#include "model/DescribeActionDataResult.h"
#include "model/GetLocationsRequest.h"
#include "model/GetLocationsResult.h"
#include "model/GetPortrayalRequest.h"
#include "model/GetPortrayalResult.h"
#include "model/GetHeatMapDataRequest.h"
#include "model/GetHeatMapDataResult.h"
#include "model/GetActionCursorRequest.h"
#include "model/GetActionCursorResult.h"
#include "model/GetImageUrlRequest.h"
#include "model/GetImageUrlResult.h"
#include "model/GetAnalyzePlaceDataRequest.h"
#include "model/GetAnalyzePlaceDataResult.h"
#include "model/GetOverviewDataRequest.h"
#include "model/GetOverviewDataResult.h"
#include "model/GetLocationsRequest.h"
#include "model/GetLocationsResult.h"
#include "model/GetAnalyzeCommodityDataRequest.h"
#include "model/GetAnalyzeCommodityDataResult.h"
#include "model/ListVisitorsRequest.h"
@@ -44,99 +50,109 @@
#include "model/GetEMapResult.h"
#include "model/SearchPersonByImgRequest.h"
#include "model/SearchPersonByImgResult.h"
#include "model/GetAnalyzePlaceDataRequest.h"
#include "model/GetAnalyzePlaceDataResult.h"
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT Cusanalytic_sc_onlineClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::DescribeLocationsResult> DescribeLocationsOutcome;
typedef std::future<DescribeLocationsOutcome> DescribeLocationsOutcomeCallable;
namespace AlibabaCloud
{
namespace Cusanalytic_sc_online
{
class ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT Cusanalytic_sc_onlineClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::DescribeLocationsResult> DescribeLocationsOutcome;
typedef std::future<DescribeLocationsOutcome> DescribeLocationsOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::DescribeLocationsRequest&, const DescribeLocationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLocationsAsyncHandler;
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;
typedef Outcome<Error, Model::GetSupportStoreResult> GetSupportStoreOutcome;
typedef std::future<GetSupportStoreOutcome> GetSupportStoreOutcomeCallable;
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::DescribeActionDataResult> DescribeActionDataOutcome;
typedef std::future<DescribeActionDataOutcome> DescribeActionDataOutcomeCallable;
typedef Outcome<Error, Model::DescribeActionDataResult> DescribeActionDataOutcome;
typedef std::future<DescribeActionDataOutcome> DescribeActionDataOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::DescribeActionDataRequest&, const DescribeActionDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeActionDataAsyncHandler;
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::GetPortrayalResult> GetPortrayalOutcome;
typedef std::future<GetPortrayalOutcome> GetPortrayalOutcomeCallable;
typedef Outcome<Error, Model::GetPortrayalResult> GetPortrayalOutcome;
typedef std::future<GetPortrayalOutcome> GetPortrayalOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetPortrayalRequest&, const GetPortrayalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPortrayalAsyncHandler;
typedef Outcome<Error, Model::GetHeatMapDataResult> GetHeatMapDataOutcome;
typedef std::future<GetHeatMapDataOutcome> GetHeatMapDataOutcomeCallable;
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::GetAnalyzeCommodityDataResult> GetAnalyzeCommodityDataOutcome;
typedef std::future<GetAnalyzeCommodityDataOutcome> GetAnalyzeCommodityDataOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetAnalyzeCommodityDataRequest&, const GetAnalyzeCommodityDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAnalyzeCommodityDataAsyncHandler;
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::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::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;
typedef Outcome<Error, Model::GetAnalyzePlaceDataResult> GetAnalyzePlaceDataOutcome;
typedef std::future<GetAnalyzePlaceDataOutcome> GetAnalyzePlaceDataOutcomeCallable;
typedef Outcome<Error, Model::GetActionCursorResult> GetActionCursorOutcome;
typedef std::future<GetActionCursorOutcome> GetActionCursorOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetActionCursorRequest&, const GetActionCursorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetActionCursorAsyncHandler;
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::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;
Cusanalytic_sc_onlineClient(const Credentials &credentials, const ClientConfiguration &configuration);
Cusanalytic_sc_onlineClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
Cusanalytic_sc_onlineClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~Cusanalytic_sc_onlineClient();
DescribeLocationsOutcome describeLocations(const Model::DescribeLocationsRequest &request)const;
void describeLocationsAsync(const Model::DescribeLocationsRequest& request, const DescribeLocationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
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;
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::GetAnalyzeCommodityDataResult> GetAnalyzeCommodityDataOutcome;
typedef std::future<GetAnalyzeCommodityDataOutcome> GetAnalyzeCommodityDataOutcomeCallable;
typedef std::function<void(const Cusanalytic_sc_onlineClient*, const Model::GetAnalyzeCommodityDataRequest&, const GetAnalyzeCommodityDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAnalyzeCommodityDataAsyncHandler;
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::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::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;
Cusanalytic_sc_onlineClient(const Credentials &credentials, const ClientConfiguration &configuration);
Cusanalytic_sc_onlineClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
Cusanalytic_sc_onlineClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~Cusanalytic_sc_onlineClient();
DescribeLocationsOutcome describeLocations(const Model::DescribeLocationsRequest &request)const;
void describeLocationsAsync(const Model::DescribeLocationsRequest& request, const DescribeLocationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLocationsOutcomeCallable describeLocationsCallable(const Model::DescribeLocationsRequest& 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;
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;
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;
DescribeActionDataOutcome describeActionData(const Model::DescribeActionDataRequest &request)const;
void describeActionDataAsync(const Model::DescribeActionDataRequest& request, const DescribeActionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeActionDataOutcome describeActionData(const Model::DescribeActionDataRequest &request)const;
void describeActionDataAsync(const Model::DescribeActionDataRequest& request, const DescribeActionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeActionDataOutcomeCallable describeActionDataCallable(const Model::DescribeActionDataRequest& 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;
GetPortrayalOutcome getPortrayal(const Model::GetPortrayalRequest &request)const;
void getPortrayalAsync(const Model::GetPortrayalRequest& request, const GetPortrayalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPortrayalOutcome getPortrayal(const Model::GetPortrayalRequest &request)const;
void getPortrayalAsync(const Model::GetPortrayalRequest& request, const GetPortrayalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPortrayalOutcomeCallable getPortrayalCallable(const Model::GetPortrayalRequest& 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;
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;
GetAnalyzeCommodityDataOutcome getAnalyzeCommodityData(const Model::GetAnalyzeCommodityDataRequest &request)const;
void getAnalyzeCommodityDataAsync(const Model::GetAnalyzeCommodityDataRequest& request, const GetAnalyzeCommodityDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAnalyzeCommodityDataOutcomeCallable getAnalyzeCommodityDataCallable(const Model::GetAnalyzeCommodityDataRequest& 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;
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;
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;
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;
GetActionCursorOutcome getActionCursor(const Model::GetActionCursorRequest &request)const;
void getActionCursorAsync(const Model::GetActionCursorRequest& request, const GetActionCursorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetActionCursorOutcomeCallable getActionCursorCallable(const Model::GetActionCursorRequest& 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;
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;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_CUSANALYTIC_SC_ONLINECLIENT_H_
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;
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;
GetAnalyzeCommodityDataOutcome getAnalyzeCommodityData(const Model::GetAnalyzeCommodityDataRequest &request)const;
void getAnalyzeCommodityDataAsync(const Model::GetAnalyzeCommodityDataRequest& request, const GetAnalyzeCommodityDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAnalyzeCommodityDataOutcomeCallable getAnalyzeCommodityDataCallable(const Model::GetAnalyzeCommodityDataRequest& 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;
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;
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;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_CUSANALYTIC_SC_ONLINECLIENT_H_

View File

@@ -1,32 +1,32 @@
/*
* 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_CUSANALYTIC_SC_ONLINEEXPORT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_CUSANALYTIC_SC_ONLINEEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_LIBRARY)
# define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT
#endif
/*
* 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_CUSANALYTIC_SC_ONLINEEXPORT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_CUSANALYTIC_SC_ONLINEEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_LIBRARY)
# define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_EXPORT
#endif
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_CUSANALYTIC_SC_ONLINEEXPORT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_DESCRIBEACTIONDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_DESCRIBEACTIONDATAREQUEST_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 DescribeActionDataRequest : public RpcServiceRequest
{
public:
DescribeActionDataRequest();
~DescribeActionDataRequest();
/*
* 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_DESCRIBEACTIONDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_DESCRIBEACTIONDATAREQUEST_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 DescribeActionDataRequest : public RpcServiceRequest
{
public:
DescribeActionDataRequest();
~DescribeActionDataRequest();
long getTsEnd()const;
void setTsEnd(long tsEnd);
int getPageNo()const;
@@ -45,16 +45,16 @@ namespace AlibabaCloud
void setStoreId(const std::string& storeId);
int getPageLimit()const;
void setPageLimit(int pageLimit);
private:
private:
long tsEnd_;
int pageNo_;
long tsStart_;
std::string storeId_;
int pageLimit_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_DESCRIBEACTIONDATAREQUEST_H_

View File

@@ -1,37 +1,37 @@
/*
* 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_DESCRIBEACTIONDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_DESCRIBEACTIONDATARESULT_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 DescribeActionDataResult : public ServiceResult
{
public:
/*
* 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_DESCRIBEACTIONDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_DESCRIBEACTIONDATARESULT_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 DescribeActionDataResult : public ServiceResult
{
public:
struct ActionsMsgItem
{
struct ActionInfosItem
@@ -77,32 +77,36 @@ namespace AlibabaCloud
std::string tag;
long id;
};
DescribeActionDataResult();
explicit DescribeActionDataResult(const std::string &payload);
~DescribeActionDataResult();
DescribeActionDataResult();
explicit DescribeActionDataResult(const std::string &payload);
~DescribeActionDataResult();
bool getIsSuccess()const;
long getTsStart()const;
int getPageCount()const;
std::string getStoreId()const;
std::string getErrorMsg()const;
long getTsEnd()const;
int getPageNo()const;
int getPageLimit()const;
std::vector<ActionsMsgItem> getActionsMsgItems()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
bool isSuccess_;
long tsStart_;
int pageCount_;
std::string storeId_;
std::string errorMsg_;
long tsEnd_;
int pageNo_;
int pageLimit_;
std::vector<ActionsMsgItem> actionsMsgItems_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_DESCRIBEACTIONDATARESULT_H_

View File

@@ -1,48 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_DESCRIBELOCATIONSREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_DESCRIBELOCATIONSREQUEST_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 DescribeLocationsRequest : public RpcServiceRequest
{
public:
DescribeLocationsRequest();
~DescribeLocationsRequest();
/*
* 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_DESCRIBELOCATIONSREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_DESCRIBELOCATIONSREQUEST_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 DescribeLocationsRequest : public RpcServiceRequest
{
public:
DescribeLocationsRequest();
~DescribeLocationsRequest();
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
private:
private:
std::string storeId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_DESCRIBELOCATIONSREQUEST_H_

View File

@@ -1,47 +1,59 @@
/*
* 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_DESCRIBELOCATIONSRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_DESCRIBELOCATIONSRESULT_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 DescribeLocationsResult : public ServiceResult
{
public:
/*
* 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_DESCRIBELOCATIONSRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_DESCRIBELOCATIONSRESULT_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 DescribeLocationsResult : public ServiceResult
{
public:
struct LocationMsgItem
{
struct RectRoi
{
struct LeftTop
{
float x;
float y;
};
struct RightBottom
{
float x;
float y;
};
struct Point
{
float x;
float y;
};
std::vector<RectRoi::Point> points;
LeftTop leftTop;
RightBottom rightBottom;
};
long status;
std::string gmtCreate;
@@ -56,22 +68,22 @@ namespace AlibabaCloud
std::string locationType;
std::string name;
};
DescribeLocationsResult();
explicit DescribeLocationsResult(const std::string &payload);
~DescribeLocationsResult();
DescribeLocationsResult();
explicit DescribeLocationsResult(const std::string &payload);
~DescribeLocationsResult();
std::string getStoreId()const;
std::vector<LocationMsgItem> getLocationMsgItems()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string storeId_;
std::vector<LocationMsgItem> locationMsgItems_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_DESCRIBELOCATIONSRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETACTIONCURSORREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETACTIONCURSORREQUEST_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 GetActionCursorRequest : public RpcServiceRequest
{
public:
GetActionCursorRequest();
~GetActionCursorRequest();
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
private:
std::string storeId_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETACTIONCURSORREQUEST_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_GETACTIONCURSORRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETACTIONCURSORRESULT_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 GetActionCursorResult : public ServiceResult
{
public:
GetActionCursorResult();
explicit GetActionCursorResult(const std::string &payload);
~GetActionCursorResult();
std::string getErrorMsg()const;
long getTimestamp()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMsg_;
long timestamp_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETACTIONCURSORRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_GETANALYZECOMMODITYDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETANALYZECOMMODITYDATAREQUEST_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 GetAnalyzeCommodityDataRequest : public RpcServiceRequest
{
public:
GetAnalyzeCommodityDataRequest();
~GetAnalyzeCommodityDataRequest();
/*
* 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_GETANALYZECOMMODITYDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETANALYZECOMMODITYDATAREQUEST_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 GetAnalyzeCommodityDataRequest : public RpcServiceRequest
{
public:
GetAnalyzeCommodityDataRequest();
~GetAnalyzeCommodityDataRequest();
long getStartUserCount()const;
void setStartUserCount(long startUserCount);
std::string getEndDate()const;
@@ -53,8 +53,8 @@ namespace AlibabaCloud
void setStartDate(const std::string& startDate);
long getStayPeriod()const;
void setStayPeriod(long stayPeriod);
private:
private:
long startUserCount_;
std::string endDate_;
long endUserCount_;
@@ -64,9 +64,9 @@ namespace AlibabaCloud
long storeId_;
std::string startDate_;
long stayPeriod_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETANALYZECOMMODITYDATAREQUEST_H_

View File

@@ -1,37 +1,37 @@
/*
* 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_GETANALYZECOMMODITYDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETANALYZECOMMODITYDATARESULT_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 GetAnalyzeCommodityDataResult : public ServiceResult
{
public:
/*
* 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_GETANALYZECOMMODITYDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETANALYZECOMMODITYDATARESULT_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 GetAnalyzeCommodityDataResult : public ServiceResult
{
public:
struct AnalyzeCommodityItem
{
std::string locationNames;
@@ -39,26 +39,26 @@ namespace AlibabaCloud
long itemCount;
long supportCount;
};
GetAnalyzeCommodityDataResult();
explicit GetAnalyzeCommodityDataResult(const std::string &payload);
~GetAnalyzeCommodityDataResult();
GetAnalyzeCommodityDataResult();
explicit GetAnalyzeCommodityDataResult(const std::string &payload);
~GetAnalyzeCommodityDataResult();
std::vector<AnalyzeCommodityItem> getAnalyzeCommodityItems()const;
int getPageSize()const;
int getTotal()const;
int getPageIndex()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::vector<AnalyzeCommodityItem> analyzeCommodityItems_;
int pageSize_;
int total_;
int pageIndex_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETANALYZECOMMODITYDATARESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_GETANALYZEPLACEDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETANALYZEPLACEDATAREQUEST_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 GetAnalyzePlaceDataRequest : public RpcServiceRequest
{
public:
GetAnalyzePlaceDataRequest();
~GetAnalyzePlaceDataRequest();
/*
* 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_GETANALYZEPLACEDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETANALYZEPLACEDATAREQUEST_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 GetAnalyzePlaceDataRequest : public RpcServiceRequest
{
public:
GetAnalyzePlaceDataRequest();
~GetAnalyzePlaceDataRequest();
long getEndUVCount()const;
void setEndUVCount(long endUVCount);
long getParentAmount()const;
@@ -51,8 +51,8 @@ namespace AlibabaCloud
void setStartUVCount(long startUVCount);
long getStoreId()const;
void setStoreId(long storeId);
private:
private:
long endUVCount_;
long parentAmount_;
std::string endDate_;
@@ -61,9 +61,9 @@ namespace AlibabaCloud
std::string startDate_;
long startUVCount_;
long storeId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETANALYZEPLACEDATAREQUEST_H_

View File

@@ -1,37 +1,37 @@
/*
* 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_GETANALYZEPLACEDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETANALYZEPLACEDATARESULT_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 GetAnalyzePlaceDataResult : public ServiceResult
{
public:
/*
* 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_GETANALYZEPLACEDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETANALYZEPLACEDATARESULT_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 GetAnalyzePlaceDataResult : public ServiceResult
{
public:
struct AnalyzePlaceItem
{
long storeId;
@@ -41,11 +41,11 @@ namespace AlibabaCloud
long count;
std::string locationName;
};
GetAnalyzePlaceDataResult();
explicit GetAnalyzePlaceDataResult(const std::string &payload);
~GetAnalyzePlaceDataResult();
GetAnalyzePlaceDataResult();
explicit GetAnalyzePlaceDataResult(const std::string &payload);
~GetAnalyzePlaceDataResult();
std::vector<AnalyzePlaceItem> getAnalyzePlaceItems()const;
long getStoreId()const;
float getPercent()const;
@@ -53,10 +53,10 @@ namespace AlibabaCloud
long getLocationId()const;
long getCount()const;
std::string getLocationName()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::vector<AnalyzePlaceItem> analyzePlaceItems_;
long storeId_;
float percent_;
@@ -64,9 +64,9 @@ namespace AlibabaCloud
long locationId_;
long count_;
std::string locationName_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETANALYZEPLACEDATARESULT_H_

View File

@@ -1,51 +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_GETEMAPREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETEMAPREQUEST_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 GetEMapRequest : public RpcServiceRequest
{
public:
GetEMapRequest();
~GetEMapRequest();
/*
* 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_GETEMAPREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETEMAPREQUEST_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 GetEMapRequest : public RpcServiceRequest
{
public:
GetEMapRequest();
~GetEMapRequest();
long getLocationId()const;
void setLocationId(long locationId);
long getStoreId()const;
void setStoreId(long storeId);
private:
private:
long locationId_;
long storeId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETEMAPREQUEST_H_

View File

@@ -1,61 +1,61 @@
/*
* 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_GETEMAPRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETEMAPRESULT_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 GetEMapResult : public ServiceResult
{
public:
GetEMapResult();
explicit GetEMapResult(const std::string &payload);
~GetEMapResult();
/*
* 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_GETEMAPRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETEMAPRESULT_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 GetEMapResult : public ServiceResult
{
public:
GetEMapResult();
explicit GetEMapResult(const std::string &payload);
~GetEMapResult();
long getStoreId()const;
long getLocationId()const;
std::string getImageUrl()const;
float getScale()const;
long getEMapId()const;
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
long storeId_;
long locationId_;
std::string imageUrl_;
float scale_;
long eMapId_;
std::string name_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETEMAPRESULT_H_

View File

@@ -1,51 +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_GETHEATMAPDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETHEATMAPDATAREQUEST_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 GetHeatMapDataRequest : public RpcServiceRequest
{
public:
GetHeatMapDataRequest();
~GetHeatMapDataRequest();
/*
* 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_GETHEATMAPDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETHEATMAPDATAREQUEST_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 GetHeatMapDataRequest : public RpcServiceRequest
{
public:
GetHeatMapDataRequest();
~GetHeatMapDataRequest();
std::string getEMapName()const;
void setEMapName(const std::string& eMapName);
long getStoreId()const;
void setStoreId(long storeId);
private:
private:
std::string eMapName_;
long storeId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETHEATMAPDATAREQUEST_H_

View File

@@ -1,67 +1,67 @@
/*
* 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_GETHEATMAPDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETHEATMAPDATARESULT_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 GetHeatMapDataResult : public ServiceResult
{
public:
/*
* 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_GETHEATMAPDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETHEATMAPDATARESULT_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 GetHeatMapDataResult : public ServiceResult
{
public:
struct HeatMapItem
{
float x;
float y;
float weight;
};
GetHeatMapDataResult();
explicit GetHeatMapDataResult(const std::string &payload);
~GetHeatMapDataResult();
GetHeatMapDataResult();
explicit GetHeatMapDataResult(const std::string &payload);
~GetHeatMapDataResult();
std::vector<HeatMapItem> getHeatMapItems()const;
std::string getEMapName()const;
long getStoreId()const;
std::string getEMapUrl()const;
float getHeight()const;
float getWidth()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::vector<HeatMapItem> heatMapItems_;
std::string eMapName_;
long storeId_;
std::string eMapUrl_;
float height_;
float width_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETHEATMAPDATARESULT_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_GETIMAGEURLREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETIMAGEURLREQUEST_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 GetImageUrlRequest : public RpcServiceRequest
{
public:
GetImageUrlRequest();
~GetImageUrlRequest();
std::string getObjectKeys()const;
void setObjectKeys(const std::string& objectKeys);
std::string getOriginUrls()const;
void setOriginUrls(const std::string& originUrls);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
private:
std::string objectKeys_;
std::string originUrls_;
std::string storeId_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETIMAGEURLREQUEST_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_GETIMAGEURLRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETIMAGEURLRESULT_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 GetImageUrlResult : public ServiceResult
{
public:
struct ImageUrl
{
std::string objectKey;
std::string url;
};
GetImageUrlResult();
explicit GetImageUrlResult(const std::string &payload);
~GetImageUrlResult();
std::string getErrorMsg()const;
std::vector<ImageUrl> getUrls()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string errorMsg_;
std::vector<ImageUrl> urls_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETIMAGEURLRESULT_H_

View File

@@ -1,48 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETLOCATIONSREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETLOCATIONSREQUEST_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 GetLocationsRequest : public RpcServiceRequest
{
public:
GetLocationsRequest();
~GetLocationsRequest();
/*
* 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_GETLOCATIONSREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETLOCATIONSREQUEST_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 GetLocationsRequest : public RpcServiceRequest
{
public:
GetLocationsRequest();
~GetLocationsRequest();
long getStoreId()const;
void setStoreId(long storeId);
private:
private:
long storeId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETLOCATIONSREQUEST_H_

View File

@@ -1,37 +1,37 @@
/*
* 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_GETLOCATIONSRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETLOCATIONSRESULT_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 GetLocationsResult : public ServiceResult
{
public:
/*
* 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_GETLOCATIONSRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETLOCATIONSRESULT_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 GetLocationsResult : public ServiceResult
{
public:
struct LocationItem
{
int status;
@@ -43,22 +43,22 @@ namespace AlibabaCloud
bool link;
std::string name;
};
GetLocationsResult();
explicit GetLocationsResult(const std::string &payload);
~GetLocationsResult();
GetLocationsResult();
explicit GetLocationsResult(const std::string &payload);
~GetLocationsResult();
long getStoreId()const;
std::vector<LocationItem> getLocationItems()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
long storeId_;
std::vector<LocationItem> locationItems_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETLOCATIONSRESULT_H_

View File

@@ -1,51 +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_GETOVERVIEWDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETOVERVIEWDATAREQUEST_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 GetOverviewDataRequest : public RpcServiceRequest
{
public:
GetOverviewDataRequest();
~GetOverviewDataRequest();
/*
* 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_GETOVERVIEWDATAREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETOVERVIEWDATAREQUEST_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 GetOverviewDataRequest : public RpcServiceRequest
{
public:
GetOverviewDataRequest();
~GetOverviewDataRequest();
std::string getDate()const;
void setDate(const std::string& date);
std::string getStoreIds()const;
void setStoreIds(const std::string& storeIds);
private:
private:
std::string date_;
std::string storeIds_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETOVERVIEWDATAREQUEST_H_

View File

@@ -1,42 +1,42 @@
/*
* 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_GETOVERVIEWDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETOVERVIEWDATARESULT_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 GetOverviewDataResult : public ServiceResult
{
public:
GetOverviewDataResult();
explicit GetOverviewDataResult(const std::string &payload);
~GetOverviewDataResult();
/*
* 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_GETOVERVIEWDATARESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETOVERVIEWDATARESULT_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 GetOverviewDataResult : public ServiceResult
{
public:
GetOverviewDataResult();
explicit GetOverviewDataResult(const std::string &payload);
~GetOverviewDataResult();
float getStayDeepAvg()const;
float getUvWeekGrowthPercent()const;
long getUv()const;
@@ -47,10 +47,10 @@ namespace AlibabaCloud
float getStayAvgPeriodWeekGrowthPercent()const;
float getUvAvgWeekGrowthPercent()const;
float getStayDeepAvgWeekGrowthPercent()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
float stayDeepAvg_;
float uvWeekGrowthPercent_;
long uv_;
@@ -61,9 +61,9 @@ namespace AlibabaCloud
float stayAvgPeriodWeekGrowthPercent_;
float uvAvgWeekGrowthPercent_;
float stayDeepAvgWeekGrowthPercent_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETOVERVIEWDATARESULT_H_

View File

@@ -1,54 +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_GETPORTRAYALREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETPORTRAYALREQUEST_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 GetPortrayalRequest : public RpcServiceRequest
{
public:
GetPortrayalRequest();
~GetPortrayalRequest();
/*
* 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_GETPORTRAYALREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETPORTRAYALREQUEST_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 GetPortrayalRequest : public RpcServiceRequest
{
public:
GetPortrayalRequest();
~GetPortrayalRequest();
std::string getDate()const;
void setDate(const std::string& date);
std::string getLocationIds()const;
void setLocationIds(const std::string& locationIds);
std::string getStoreIds()const;
void setStoreIds(const std::string& storeIds);
private:
private:
std::string date_;
std::string locationIds_;
std::string storeIds_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETPORTRAYALREQUEST_H_

View File

@@ -1,42 +1,42 @@
/*
* 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_GETPORTRAYALRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETPORTRAYALRESULT_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 GetPortrayalResult : public ServiceResult
{
public:
GetPortrayalResult();
explicit GetPortrayalResult(const std::string &payload);
~GetPortrayalResult();
/*
* 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_GETPORTRAYALRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETPORTRAYALRESULT_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 GetPortrayalResult : public ServiceResult
{
public:
GetPortrayalResult();
explicit GetPortrayalResult(const std::string &payload);
~GetPortrayalResult();
long getOldcount()const;
float getAgecount5160Percent()const;
long getFcount5160()const;
@@ -66,10 +66,10 @@ namespace AlibabaCloud
long getFcount4150()const;
long getMcountgt60()const;
float getAgecount2130Percent()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
long oldcount_;
float agecount5160Percent_;
long fcount5160_;
@@ -99,9 +99,9 @@ namespace AlibabaCloud
long fcount4150_;
long mcountgt60_;
float agecount2130Percent_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETPORTRAYALRESULT_H_

View File

@@ -1,45 +1,45 @@
/*
* 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_GETSUPPORTSTOREREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETSUPPORTSTOREREQUEST_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 GetSupportStoreRequest : public RpcServiceRequest
{
public:
GetSupportStoreRequest();
~GetSupportStoreRequest();
private:
};
}
}
}
/*
* 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_GETSUPPORTSTOREREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETSUPPORTSTOREREQUEST_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 GetSupportStoreRequest : public RpcServiceRequest
{
public:
GetSupportStoreRequest();
~GetSupportStoreRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETSUPPORTSTOREREQUEST_H_

View File

@@ -1,37 +1,37 @@
/*
* 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_GETSUPPORTSTORERESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETSUPPORTSTORERESULT_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 GetSupportStoreResult : public ServiceResult
{
public:
/*
* 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_GETSUPPORTSTORERESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETSUPPORTSTORERESULT_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 GetSupportStoreResult : public ServiceResult
{
public:
struct StorePopDTO
{
std::string storeType;
@@ -43,20 +43,20 @@ namespace AlibabaCloud
long regionId;
std::string name;
};
GetSupportStoreResult();
explicit GetSupportStoreResult(const std::string &payload);
~GetSupportStoreResult();
GetSupportStoreResult();
explicit GetSupportStoreResult(const std::string &payload);
~GetSupportStoreResult();
std::vector<StorePopDTO> getStorePopDTOs()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::vector<StorePopDTO> storePopDTOs_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_GETSUPPORTSTORERESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_LISTVISITORSREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_LISTVISITORSREQUEST_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 ListVisitorsRequest : public RpcServiceRequest
{
public:
ListVisitorsRequest();
~ListVisitorsRequest();
/*
* 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_LISTVISITORSREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_LISTVISITORSREQUEST_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 ListVisitorsRequest : public RpcServiceRequest
{
public:
ListVisitorsRequest();
~ListVisitorsRequest();
std::string getPkId()const;
void setPkId(const std::string& pkId);
std::string getGender()const;
@@ -59,8 +59,8 @@ namespace AlibabaCloud
void setAgeEnd(long ageEnd);
std::string getStoreIds()const;
void setStoreIds(const std::string& storeIds);
private:
private:
std::string pkId_;
std::string gender_;
long ukId_;
@@ -73,9 +73,9 @@ namespace AlibabaCloud
long ageStart_;
long ageEnd_;
std::string storeIds_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_LISTVISITORSREQUEST_H_

View File

@@ -1,37 +1,37 @@
/*
* 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_LISTVISITORSRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_LISTVISITORSRESULT_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 ListVisitorsResult : public ServiceResult
{
public:
/*
* 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_LISTVISITORSRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_LISTVISITORSRESULT_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 ListVisitorsResult : public ServiceResult
{
public:
struct VisitorItem
{
std::string earliestPlace;
@@ -46,26 +46,26 @@ namespace AlibabaCloud
std::string gender;
long age;
};
ListVisitorsResult();
explicit ListVisitorsResult(const std::string &payload);
~ListVisitorsResult();
ListVisitorsResult();
explicit ListVisitorsResult(const std::string &payload);
~ListVisitorsResult();
int getPageSize()const;
long getTotal()const;
std::vector<VisitorItem> getVisitorItems()const;
int getPageIndex()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
int pageSize_;
long total_;
std::vector<VisitorItem> visitorItems_;
int pageIndex_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_LISTVISITORSRESULT_H_

View File

@@ -1,51 +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_SEARCHPERSONBYIMGREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_SEARCHPERSONBYIMGREQUEST_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 SearchPersonByImgRequest : public RpcServiceRequest
{
public:
SearchPersonByImgRequest();
~SearchPersonByImgRequest();
/*
* 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_SEARCHPERSONBYIMGREQUEST_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_SEARCHPERSONBYIMGREQUEST_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 SearchPersonByImgRequest : public RpcServiceRequest
{
public:
SearchPersonByImgRequest();
~SearchPersonByImgRequest();
std::string getImgUrl()const;
void setImgUrl(const std::string& imgUrl);
long getStoreId()const;
void setStoreId(long storeId);
private:
private:
std::string imgUrl_;
long storeId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_SEARCHPERSONBYIMGREQUEST_H_

View File

@@ -1,61 +1,61 @@
/*
* 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_SEARCHPERSONBYIMGRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_SEARCHPERSONBYIMGRESULT_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 SearchPersonByImgResult : public ServiceResult
{
public:
/*
* 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_SEARCHPERSONBYIMGRESULT_H_
#define ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_SEARCHPERSONBYIMGRESULT_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 SearchPersonByImgResult : public ServiceResult
{
public:
struct PersonSearchResultItem
{
std::string faceId;
float score;
std::string ukId;
};
SearchPersonByImgResult();
explicit SearchPersonByImgResult(const std::string &payload);
~SearchPersonByImgResult();
SearchPersonByImgResult();
explicit SearchPersonByImgResult(const std::string &payload);
~SearchPersonByImgResult();
std::string getMsg()const;
std::vector<PersonSearchResultItem> getPersonSearchResultItems()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::vector<PersonSearchResultItem> personSearchResultItems_;
bool success_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_CUSANALYTIC_SC_ONLINE_MODEL_SEARCHPERSONBYIMGRESULT_H_

File diff suppressed because it is too large Load Diff

View File

@@ -1,30 +1,30 @@
/*
* 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/DescribeActionDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::DescribeActionDataRequest;
DescribeActionDataRequest::DescribeActionDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "DescribeActionData")
{}
DescribeActionDataRequest::~DescribeActionDataRequest()
{}
/*
* 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/DescribeActionDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::DescribeActionDataRequest;
DescribeActionDataRequest::DescribeActionDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "DescribeActionData")
{}
DescribeActionDataRequest::~DescribeActionDataRequest()
{}
long DescribeActionDataRequest::getTsEnd()const
{
return tsEnd_;

View File

@@ -1,45 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cusanalytic_sc_online/model/DescribeActionDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
DescribeActionDataResult::DescribeActionDataResult() :
ServiceResult()
{}
DescribeActionDataResult::DescribeActionDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeActionDataResult::~DescribeActionDataResult()
{}
void DescribeActionDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/DescribeActionDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
DescribeActionDataResult::DescribeActionDataResult() :
ServiceResult()
{}
DescribeActionDataResult::DescribeActionDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeActionDataResult::~DescribeActionDataResult()
{}
void DescribeActionDataResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allActionsMsgItems = value["ActionsMsgItems"]["ActionsMsgItem"];
for (auto value : allActionsMsgItems)
{
@@ -110,13 +113,22 @@ void DescribeActionDataResult::parse(const std::string &payload)
pageLimit_ = std::stoi(value["PageLimit"].asString());
if(!value["PageCount"].isNull())
pageCount_ = std::stoi(value["PageCount"].asString());
if(!value["IsSuccess"].isNull())
isSuccess_ = value["IsSuccess"].asString() == "true";
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
if(!value["StoreId"].isNull())
storeId_ = value["StoreId"].asString();
if(!value["TsEnd"].isNull())
tsEnd_ = std::stol(value["TsEnd"].asString());
}
}
bool DescribeActionDataResult::getIsSuccess()const
{
return isSuccess_;
}
long DescribeActionDataResult::getTsStart()const
{
return tsStart_;
@@ -132,6 +144,11 @@ std::string DescribeActionDataResult::getStoreId()const
return storeId_;
}
std::string DescribeActionDataResult::getErrorMsg()const
{
return errorMsg_;
}
long DescribeActionDataResult::getTsEnd()const
{
return tsEnd_;

View File

@@ -1,30 +1,30 @@
/*
* 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/DescribeLocationsRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::DescribeLocationsRequest;
DescribeLocationsRequest::DescribeLocationsRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "DescribeLocations")
{}
DescribeLocationsRequest::~DescribeLocationsRequest()
{}
/*
* 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/DescribeLocationsRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::DescribeLocationsRequest;
DescribeLocationsRequest::DescribeLocationsRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "DescribeLocations")
{}
DescribeLocationsRequest::~DescribeLocationsRequest()
{}
std::string DescribeLocationsRequest::getStoreId()const
{
return storeId_;

View File

@@ -1,45 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cusanalytic_sc_online/model/DescribeLocationsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
DescribeLocationsResult::DescribeLocationsResult() :
ServiceResult()
{}
DescribeLocationsResult::DescribeLocationsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeLocationsResult::~DescribeLocationsResult()
{}
void DescribeLocationsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/DescribeLocationsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
DescribeLocationsResult::DescribeLocationsResult() :
ServiceResult()
{}
DescribeLocationsResult::DescribeLocationsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeLocationsResult::~DescribeLocationsResult()
{}
void DescribeLocationsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allLocationMsgItems = value["LocationMsgItems"]["LocationMsgItem"];
for (auto value : allLocationMsgItems)
{
@@ -80,15 +83,25 @@ void DescribeLocationsResult::parse(const std::string &payload)
pointsObject.y = std::stof(value["Y"].asString());
rectRoisObject.points.push_back(pointsObject);
}
auto leftTopNode = value["LeftTop"];
if(!leftTopNode["X"].isNull())
rectRoisObject.leftTop.x = std::stof(leftTopNode["X"].asString());
if(!leftTopNode["Y"].isNull())
rectRoisObject.leftTop.y = std::stof(leftTopNode["Y"].asString());
auto rightBottomNode = value["RightBottom"];
if(!rightBottomNode["X"].isNull())
rectRoisObject.rightBottom.x = std::stof(rightBottomNode["X"].asString());
if(!rightBottomNode["Y"].isNull())
rectRoisObject.rightBottom.y = std::stof(rightBottomNode["Y"].asString());
locationMsgItemsObject.rectRois.push_back(rectRoisObject);
}
locationMsgItems_.push_back(locationMsgItemsObject);
}
if(!value["StoreId"].isNull())
storeId_ = value["StoreId"].asString();
}
}
std::string DescribeLocationsResult::getStoreId()const
{
return storeId_;

View File

@@ -0,0 +1,38 @@
/*
* 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/GetActionCursorRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetActionCursorRequest;
GetActionCursorRequest::GetActionCursorRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetActionCursor")
{}
GetActionCursorRequest::~GetActionCursorRequest()
{}
std::string GetActionCursorRequest::getStoreId()const
{
return storeId_;
}
void GetActionCursorRequest::setStoreId(const std::string& storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", storeId);
}

View File

@@ -0,0 +1,69 @@
/*
* 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/GetActionCursorResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetActionCursorResult::GetActionCursorResult() :
ServiceResult()
{}
GetActionCursorResult::GetActionCursorResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetActionCursorResult::~GetActionCursorResult()
{}
void GetActionCursorResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
if(!value["Timestamp"].isNull())
timestamp_ = std::stol(value["Timestamp"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string GetActionCursorResult::getErrorMsg()const
{
return errorMsg_;
}
long GetActionCursorResult::getTimestamp()const
{
return timestamp_;
}
bool GetActionCursorResult::getSuccess()const
{
return success_;
}

View File

@@ -1,30 +1,30 @@
/*
* 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/GetAnalyzeCommodityDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetAnalyzeCommodityDataRequest;
GetAnalyzeCommodityDataRequest::GetAnalyzeCommodityDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetAnalyzeCommodityData")
{}
GetAnalyzeCommodityDataRequest::~GetAnalyzeCommodityDataRequest()
{}
/*
* 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/GetAnalyzeCommodityDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetAnalyzeCommodityDataRequest;
GetAnalyzeCommodityDataRequest::GetAnalyzeCommodityDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetAnalyzeCommodityData")
{}
GetAnalyzeCommodityDataRequest::~GetAnalyzeCommodityDataRequest()
{}
long GetAnalyzeCommodityDataRequest::getStartUserCount()const
{
return startUserCount_;

View File

@@ -1,45 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cusanalytic_sc_online/model/GetAnalyzeCommodityDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetAnalyzeCommodityDataResult::GetAnalyzeCommodityDataResult() :
ServiceResult()
{}
GetAnalyzeCommodityDataResult::GetAnalyzeCommodityDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAnalyzeCommodityDataResult::~GetAnalyzeCommodityDataResult()
{}
void GetAnalyzeCommodityDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/GetAnalyzeCommodityDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetAnalyzeCommodityDataResult::GetAnalyzeCommodityDataResult() :
ServiceResult()
{}
GetAnalyzeCommodityDataResult::GetAnalyzeCommodityDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAnalyzeCommodityDataResult::~GetAnalyzeCommodityDataResult()
{}
void GetAnalyzeCommodityDataResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allAnalyzeCommodityItems = value["AnalyzeCommodityItems"]["AnalyzeCommodityItem"];
for (auto value : allAnalyzeCommodityItems)
{
@@ -60,9 +63,9 @@ void GetAnalyzeCommodityDataResult::parse(const std::string &payload)
total_ = std::stoi(value["Total"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
}
}
std::vector<GetAnalyzeCommodityDataResult::AnalyzeCommodityItem> GetAnalyzeCommodityDataResult::getAnalyzeCommodityItems()const
{
return analyzeCommodityItems_;

View File

@@ -1,30 +1,30 @@
/*
* 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/GetAnalyzePlaceDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetAnalyzePlaceDataRequest;
GetAnalyzePlaceDataRequest::GetAnalyzePlaceDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetAnalyzePlaceData")
{}
GetAnalyzePlaceDataRequest::~GetAnalyzePlaceDataRequest()
{}
/*
* 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/GetAnalyzePlaceDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetAnalyzePlaceDataRequest;
GetAnalyzePlaceDataRequest::GetAnalyzePlaceDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetAnalyzePlaceData")
{}
GetAnalyzePlaceDataRequest::~GetAnalyzePlaceDataRequest()
{}
long GetAnalyzePlaceDataRequest::getEndUVCount()const
{
return endUVCount_;

View File

@@ -1,45 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cusanalytic_sc_online/model/GetAnalyzePlaceDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetAnalyzePlaceDataResult::GetAnalyzePlaceDataResult() :
ServiceResult()
{}
GetAnalyzePlaceDataResult::GetAnalyzePlaceDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAnalyzePlaceDataResult::~GetAnalyzePlaceDataResult()
{}
void GetAnalyzePlaceDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/GetAnalyzePlaceDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetAnalyzePlaceDataResult::GetAnalyzePlaceDataResult() :
ServiceResult()
{}
GetAnalyzePlaceDataResult::GetAnalyzePlaceDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAnalyzePlaceDataResult::~GetAnalyzePlaceDataResult()
{}
void GetAnalyzePlaceDataResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allAnalyzePlaceItems = value["AnalyzePlaceItems"]["AnalyzePlaceItem"];
for (auto value : allAnalyzePlaceItems)
{
@@ -70,9 +73,9 @@ void GetAnalyzePlaceDataResult::parse(const std::string &payload)
parentLocationIds_ = value["ParentLocationIds"].asString();
if(!value["LocationId"].isNull())
locationId_ = std::stol(value["LocationId"].asString());
}
}
std::vector<GetAnalyzePlaceDataResult::AnalyzePlaceItem> GetAnalyzePlaceDataResult::getAnalyzePlaceItems()const
{
return analyzePlaceItems_;

View File

@@ -1,30 +1,30 @@
/*
* 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/GetEMapRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetEMapRequest;
GetEMapRequest::GetEMapRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetEMap")
{}
GetEMapRequest::~GetEMapRequest()
{}
/*
* 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/GetEMapRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetEMapRequest;
GetEMapRequest::GetEMapRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetEMap")
{}
GetEMapRequest::~GetEMapRequest()
{}
long GetEMapRequest::getLocationId()const
{
return locationId_;

View File

@@ -1,45 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cusanalytic_sc_online/model/GetEMapResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetEMapResult::GetEMapResult() :
ServiceResult()
{}
GetEMapResult::GetEMapResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetEMapResult::~GetEMapResult()
{}
void GetEMapResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/GetEMapResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetEMapResult::GetEMapResult() :
ServiceResult()
{}
GetEMapResult::GetEMapResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetEMapResult::~GetEMapResult()
{}
void GetEMapResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["StoreId"].isNull())
storeId_ = std::stol(value["StoreId"].asString());
if(!value["Name"].isNull())
@@ -52,9 +55,9 @@ void GetEMapResult::parse(const std::string &payload)
eMapId_ = std::stol(value["EMapId"].asString());
if(!value["ImageUrl"].isNull())
imageUrl_ = value["ImageUrl"].asString();
}
}
long GetEMapResult::getStoreId()const
{
return storeId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/GetHeatMapDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetHeatMapDataRequest;
GetHeatMapDataRequest::GetHeatMapDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetHeatMapData")
{}
GetHeatMapDataRequest::~GetHeatMapDataRequest()
{}
/*
* 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/GetHeatMapDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetHeatMapDataRequest;
GetHeatMapDataRequest::GetHeatMapDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetHeatMapData")
{}
GetHeatMapDataRequest::~GetHeatMapDataRequest()
{}
std::string GetHeatMapDataRequest::getEMapName()const
{
return eMapName_;

View File

@@ -1,45 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cusanalytic_sc_online/model/GetHeatMapDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetHeatMapDataResult::GetHeatMapDataResult() :
ServiceResult()
{}
GetHeatMapDataResult::GetHeatMapDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetHeatMapDataResult::~GetHeatMapDataResult()
{}
void GetHeatMapDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/GetHeatMapDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetHeatMapDataResult::GetHeatMapDataResult() :
ServiceResult()
{}
GetHeatMapDataResult::GetHeatMapDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetHeatMapDataResult::~GetHeatMapDataResult()
{}
void GetHeatMapDataResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allHeatMapItems = value["HeatMapItems"]["HeatMapItem"];
for (auto value : allHeatMapItems)
{
@@ -62,9 +65,9 @@ void GetHeatMapDataResult::parse(const std::string &payload)
storeId_ = std::stol(value["StoreId"].asString());
if(!value["Height"].isNull())
height_ = std::stof(value["Height"].asString());
}
}
std::vector<GetHeatMapDataResult::HeatMapItem> GetHeatMapDataResult::getHeatMapItems()const
{
return heatMapItems_;

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.
*/
#include <alibabacloud/cusanalytic_sc_online/model/GetImageUrlRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetImageUrlRequest;
GetImageUrlRequest::GetImageUrlRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetImageUrl")
{}
GetImageUrlRequest::~GetImageUrlRequest()
{}
std::string GetImageUrlRequest::getObjectKeys()const
{
return objectKeys_;
}
void GetImageUrlRequest::setObjectKeys(const std::string& objectKeys)
{
objectKeys_ = objectKeys;
setCoreParameter("ObjectKeys", objectKeys);
}
std::string GetImageUrlRequest::getOriginUrls()const
{
return originUrls_;
}
void GetImageUrlRequest::setOriginUrls(const std::string& originUrls)
{
originUrls_ = originUrls;
setCoreParameter("OriginUrls", originUrls);
}
std::string GetImageUrlRequest::getStoreId()const
{
return storeId_;
}
void GetImageUrlRequest::setStoreId(const std::string& storeId)
{
storeId_ = storeId;
setCoreParameter("StoreId", storeId);
}

View File

@@ -0,0 +1,77 @@
/*
* 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/GetImageUrlResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetImageUrlResult::GetImageUrlResult() :
ServiceResult()
{}
GetImageUrlResult::GetImageUrlResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetImageUrlResult::~GetImageUrlResult()
{}
void GetImageUrlResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allUrls = value["Urls"]["ImageUrl"];
for (auto value : allUrls)
{
ImageUrl urlsObject;
if(!value["ObjectKey"].isNull())
urlsObject.objectKey = value["ObjectKey"].asString();
if(!value["Url"].isNull())
urlsObject.url = value["Url"].asString();
urls_.push_back(urlsObject);
}
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string GetImageUrlResult::getErrorMsg()const
{
return errorMsg_;
}
std::vector<GetImageUrlResult::ImageUrl> GetImageUrlResult::getUrls()const
{
return urls_;
}
bool GetImageUrlResult::getSuccess()const
{
return success_;
}

View File

@@ -1,30 +1,30 @@
/*
* 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/GetLocationsRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetLocationsRequest;
GetLocationsRequest::GetLocationsRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetLocations")
{}
GetLocationsRequest::~GetLocationsRequest()
{}
/*
* 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/GetLocationsRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetLocationsRequest;
GetLocationsRequest::GetLocationsRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetLocations")
{}
GetLocationsRequest::~GetLocationsRequest()
{}
long GetLocationsRequest::getStoreId()const
{
return storeId_;

View File

@@ -1,45 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cusanalytic_sc_online/model/GetLocationsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetLocationsResult::GetLocationsResult() :
ServiceResult()
{}
GetLocationsResult::GetLocationsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetLocationsResult::~GetLocationsResult()
{}
void GetLocationsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/GetLocationsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetLocationsResult::GetLocationsResult() :
ServiceResult()
{}
GetLocationsResult::GetLocationsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetLocationsResult::~GetLocationsResult()
{}
void GetLocationsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allLocationItems = value["LocationItems"]["LocationItem"];
for (auto value : allLocationItems)
{
@@ -64,9 +67,9 @@ void GetLocationsResult::parse(const std::string &payload)
}
if(!value["StoreId"].isNull())
storeId_ = std::stol(value["StoreId"].asString());
}
}
long GetLocationsResult::getStoreId()const
{
return storeId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/GetOverviewDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetOverviewDataRequest;
GetOverviewDataRequest::GetOverviewDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetOverviewData")
{}
GetOverviewDataRequest::~GetOverviewDataRequest()
{}
/*
* 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/GetOverviewDataRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetOverviewDataRequest;
GetOverviewDataRequest::GetOverviewDataRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetOverviewData")
{}
GetOverviewDataRequest::~GetOverviewDataRequest()
{}
std::string GetOverviewDataRequest::getDate()const
{
return date_;

View File

@@ -1,45 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cusanalytic_sc_online/model/GetOverviewDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetOverviewDataResult::GetOverviewDataResult() :
ServiceResult()
{}
GetOverviewDataResult::GetOverviewDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetOverviewDataResult::~GetOverviewDataResult()
{}
void GetOverviewDataResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/GetOverviewDataResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetOverviewDataResult::GetOverviewDataResult() :
ServiceResult()
{}
GetOverviewDataResult::GetOverviewDataResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetOverviewDataResult::~GetOverviewDataResult()
{}
void GetOverviewDataResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["StayDeepAvg"].isNull())
stayDeepAvg_ = std::stof(value["StayDeepAvg"].asString());
if(!value["UvWeekGrowthPercent"].isNull())
@@ -60,9 +63,9 @@ void GetOverviewDataResult::parse(const std::string &payload)
uvAvg_ = std::stof(value["UvAvg"].asString());
if(!value["UvEverySqmGrowthWeekPercent"].isNull())
uvEverySqmGrowthWeekPercent_ = std::stof(value["UvEverySqmGrowthWeekPercent"].asString());
}
}
float GetOverviewDataResult::getStayDeepAvg()const
{
return stayDeepAvg_;

View File

@@ -1,30 +1,30 @@
/*
* 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/GetPortrayalRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetPortrayalRequest;
GetPortrayalRequest::GetPortrayalRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetPortrayal")
{}
GetPortrayalRequest::~GetPortrayalRequest()
{}
/*
* 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/GetPortrayalRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetPortrayalRequest;
GetPortrayalRequest::GetPortrayalRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetPortrayal")
{}
GetPortrayalRequest::~GetPortrayalRequest()
{}
std::string GetPortrayalRequest::getDate()const
{
return date_;

View File

@@ -1,45 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cusanalytic_sc_online/model/GetPortrayalResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetPortrayalResult::GetPortrayalResult() :
ServiceResult()
{}
GetPortrayalResult::GetPortrayalResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetPortrayalResult::~GetPortrayalResult()
{}
void GetPortrayalResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/GetPortrayalResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetPortrayalResult::GetPortrayalResult() :
ServiceResult()
{}
GetPortrayalResult::GetPortrayalResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetPortrayalResult::~GetPortrayalResult()
{}
void GetPortrayalResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["FemalePercent"].isNull())
femalePercent_ = std::stof(value["FemalePercent"].asString());
if(!value["Mcount"].isNull())
@@ -98,9 +101,9 @@ void GetPortrayalResult::parse(const std::string &payload)
mcount5160_ = std::stol(value["Mcount5160"].asString());
if(!value["MalePercent"].isNull())
malePercent_ = std::stof(value["MalePercent"].asString());
}
}
long GetPortrayalResult::getOldcount()const
{
return oldcount_;

View File

@@ -1,27 +1,27 @@
/*
* 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/GetSupportStoreRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetSupportStoreRequest;
GetSupportStoreRequest::GetSupportStoreRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetSupportStore")
{}
GetSupportStoreRequest::~GetSupportStoreRequest()
{}
/*
* 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/GetSupportStoreRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::GetSupportStoreRequest;
GetSupportStoreRequest::GetSupportStoreRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "GetSupportStore")
{}
GetSupportStoreRequest::~GetSupportStoreRequest()
{}

View File

@@ -1,45 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cusanalytic_sc_online/model/GetSupportStoreResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetSupportStoreResult::GetSupportStoreResult() :
ServiceResult()
{}
GetSupportStoreResult::GetSupportStoreResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetSupportStoreResult::~GetSupportStoreResult()
{}
void GetSupportStoreResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/GetSupportStoreResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
GetSupportStoreResult::GetSupportStoreResult() :
ServiceResult()
{}
GetSupportStoreResult::GetSupportStoreResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetSupportStoreResult::~GetSupportStoreResult()
{}
void GetSupportStoreResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allStorePopDTOs = value["StorePopDTOs"]["StorePopDTO"];
for (auto value : allStorePopDTOs)
{
@@ -62,9 +65,9 @@ void GetSupportStoreResult::parse(const std::string &payload)
storePopDTOsObject.address = value["Address"].asString();
storePopDTOs_.push_back(storePopDTOsObject);
}
}
}
std::vector<GetSupportStoreResult::StorePopDTO> GetSupportStoreResult::getStorePopDTOs()const
{
return storePopDTOs_;

View File

@@ -1,30 +1,30 @@
/*
* 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/ListVisitorsRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::ListVisitorsRequest;
ListVisitorsRequest::ListVisitorsRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "ListVisitors")
{}
ListVisitorsRequest::~ListVisitorsRequest()
{}
/*
* 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/ListVisitorsRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::ListVisitorsRequest;
ListVisitorsRequest::ListVisitorsRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "ListVisitors")
{}
ListVisitorsRequest::~ListVisitorsRequest()
{}
std::string ListVisitorsRequest::getPkId()const
{
return pkId_;

View File

@@ -1,45 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cusanalytic_sc_online/model/ListVisitorsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
ListVisitorsResult::ListVisitorsResult() :
ServiceResult()
{}
ListVisitorsResult::ListVisitorsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListVisitorsResult::~ListVisitorsResult()
{}
void ListVisitorsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/ListVisitorsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
ListVisitorsResult::ListVisitorsResult() :
ServiceResult()
{}
ListVisitorsResult::ListVisitorsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListVisitorsResult::~ListVisitorsResult()
{}
void ListVisitorsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allVisitorItems = value["VisitorItems"]["VisitorItem"];
for (auto value : allVisitorItems)
{
@@ -74,9 +77,9 @@ void ListVisitorsResult::parse(const std::string &payload)
pageIndex_ = std::stoi(value["PageIndex"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
}
}
int ListVisitorsResult::getPageSize()const
{
return pageSize_;

View File

@@ -1,30 +1,30 @@
/*
* 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/SearchPersonByImgRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::SearchPersonByImgRequest;
SearchPersonByImgRequest::SearchPersonByImgRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "SearchPersonByImg")
{}
SearchPersonByImgRequest::~SearchPersonByImgRequest()
{}
/*
* 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/SearchPersonByImgRequest.h>
using AlibabaCloud::Cusanalytic_sc_online::Model::SearchPersonByImgRequest;
SearchPersonByImgRequest::SearchPersonByImgRequest() :
RpcServiceRequest("cusanalytic_sc_online", "2019-05-24", "SearchPersonByImg")
{}
SearchPersonByImgRequest::~SearchPersonByImgRequest()
{}
std::string SearchPersonByImgRequest::getImgUrl()const
{
return imgUrl_;

View File

@@ -1,45 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cusanalytic_sc_online/model/SearchPersonByImgResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
SearchPersonByImgResult::SearchPersonByImgResult() :
ServiceResult()
{}
SearchPersonByImgResult::SearchPersonByImgResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SearchPersonByImgResult::~SearchPersonByImgResult()
{}
void SearchPersonByImgResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/SearchPersonByImgResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cusanalytic_sc_online;
using namespace AlibabaCloud::Cusanalytic_sc_online::Model;
SearchPersonByImgResult::SearchPersonByImgResult() :
ServiceResult()
{}
SearchPersonByImgResult::SearchPersonByImgResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SearchPersonByImgResult::~SearchPersonByImgResult()
{}
void SearchPersonByImgResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allPersonSearchResultItems = value["PersonSearchResultItems"]["PersonSearchResultItem"];
for (auto value : allPersonSearchResultItems)
{
@@ -56,9 +59,9 @@ void SearchPersonByImgResult::parse(const std::string &payload)
success_ = value["Success"].asString() == "true";
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
}
}
std::string SearchPersonByImgResult::getMsg()const
{
return msg_;