Compare commits
34 Commits
idrsservic
...
Qualityche
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0147b77e3 | ||
|
|
85cb326723 | ||
|
|
ade846346f | ||
|
|
5b311d2af3 | ||
|
|
e94b2e56f0 | ||
|
|
bc50286074 | ||
|
|
3903999f4e | ||
|
|
74be983766 | ||
|
|
1b7a4d81d6 | ||
|
|
ee87d18d06 | ||
|
|
479766d633 | ||
|
|
add2bce016 | ||
|
|
f5705434a9 | ||
|
|
3c00b7ee89 | ||
|
|
8708226a83 | ||
|
|
295143d70a | ||
|
|
990c6f8efd | ||
|
|
b409d3d613 | ||
|
|
74112c6fe7 | ||
|
|
b105496b11 | ||
|
|
f946b7f9f6 | ||
|
|
f726b03be7 | ||
|
|
e2c900c27d | ||
|
|
0abdb3fc36 | ||
|
|
1616774ea6 | ||
|
|
1260ae6f47 | ||
|
|
2acf4250c6 | ||
|
|
423e3b65e3 | ||
|
|
8f21fa7c59 | ||
|
|
cf4cda767c | ||
|
|
818bfd3cf1 | ||
|
|
969a4a2631 | ||
|
|
931a98684d | ||
|
|
357519c7f6 |
106
CHANGELOG
106
CHANGELOG
@@ -1,3 +1,109 @@
|
||||
2020-12-17 Version: patch
|
||||
- Update api.
|
||||
|
||||
2020-12-16 Version: patch
|
||||
- Generated 2019-09-10 for `waf-openapi`.
|
||||
|
||||
2020-12-16 Version: patch
|
||||
- Support show pipeline history.
|
||||
- Support show log details.
|
||||
|
||||
2020-12-16 Version: patch
|
||||
- Add Face Attributes.
|
||||
|
||||
2020-12-15 Version: patch
|
||||
- Update Open API.
|
||||
|
||||
2020-12-15 Version: patch
|
||||
- CDRS First edition.
|
||||
|
||||
2020-12-15 Version: patch
|
||||
- CDRS First edition.
|
||||
|
||||
2020-12-14 Version: patch
|
||||
- Add update task api.
|
||||
|
||||
2020-12-14 Version: patch
|
||||
- Add update task api.
|
||||
|
||||
2020-12-14 Version: patch
|
||||
- CDRS First edition.
|
||||
|
||||
2020-12-14 Version: patch
|
||||
- Add update task api.
|
||||
|
||||
2020-12-11 Version: patch
|
||||
- Add Emon route-API support.
|
||||
|
||||
2020-12-09 Version: patch
|
||||
- Update SegmentCommodity.
|
||||
|
||||
2020-12-07 Version: patch
|
||||
- Remove DescribeSubscriptionObjectModifyStatus.
|
||||
|
||||
2020-12-04 Version: patch
|
||||
- Supported broker demand.
|
||||
|
||||
2020-12-04 Version: patch
|
||||
- Support manual scan interface.
|
||||
|
||||
2020-12-04 Version: patch
|
||||
- ReportInstancesStatus OpenAPI supports IssueCategory parameter.
|
||||
|
||||
2020-12-03 Version: patch
|
||||
- Update DescribeScdnDomainCertificateInfo.
|
||||
|
||||
2020-12-03 Version: patch
|
||||
- Update ModifyDcdnService.
|
||||
|
||||
2020-12-03 Version: patch
|
||||
- Update DescribeDomainMax95BpsData.
|
||||
|
||||
2020-12-03 Version: patch
|
||||
- Update DescribeScdnDomainCertificateInfo.
|
||||
|
||||
2020-12-03 Version: patch
|
||||
- Update DescribeDomainMax95BpsData.
|
||||
|
||||
2020-12-03 Version: patch
|
||||
- Update DescribeScdnDomainCertificateInfo.
|
||||
|
||||
2020-12-03 Version: patch
|
||||
- Update DescribeDomainMax95BpsData.
|
||||
|
||||
2020-12-03 Version: patch
|
||||
- Update ModifyDcdnService.
|
||||
|
||||
2020-12-03 Version: patch
|
||||
- Update DescribeScdnDomainCertificateInfo.
|
||||
|
||||
2020-12-03 Version: patch
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2020-12-03 Version: patch
|
||||
- Add new api.
|
||||
|
||||
2020-12-03 Version: patch
|
||||
- Supported all language sdk.
|
||||
- Fixed some bugs for polardbx.
|
||||
|
||||
2020-12-03 Version: patch
|
||||
- Update DetectLungNodule.
|
||||
|
||||
2020-12-02 Version: patch
|
||||
- Support CreateDBLink for polardb oracle.
|
||||
- Support DeleteDBLink for polardb oracle.
|
||||
- Support DescribeDBLinks for polardb oracle.
|
||||
|
||||
2020-12-02 Version: patch
|
||||
- Update version.
|
||||
|
||||
2020-12-02 Version: patch
|
||||
- Update version.
|
||||
|
||||
2020-12-02 Version: patch
|
||||
- Support TemplateContent.
|
||||
|
||||
2020-12-02 Version: patch
|
||||
- Supported OpenAPI for SDK.
|
||||
|
||||
|
||||
@@ -37,18 +37,24 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getCycle()const;
|
||||
void setCycle(const std::string& cycle);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTimePoint()const;
|
||||
void setTimePoint(const std::string& timePoint);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string cycle_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string timePoint_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,6 +38,17 @@ void DescribeDomainMax95BpsDataRequest::setStartTime(const std::string& startTim
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDomainMax95BpsDataRequest::getCycle()const
|
||||
{
|
||||
return cycle_;
|
||||
}
|
||||
|
||||
void DescribeDomainMax95BpsDataRequest::setCycle(const std::string& cycle)
|
||||
{
|
||||
cycle_ = cycle;
|
||||
setParameter("Cycle", cycle);
|
||||
}
|
||||
|
||||
std::string DescribeDomainMax95BpsDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -71,3 +82,14 @@ void DescribeDomainMax95BpsDataRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDomainMax95BpsDataRequest::getTimePoint()const
|
||||
{
|
||||
return timePoint_;
|
||||
}
|
||||
|
||||
void DescribeDomainMax95BpsDataRequest::setTimePoint(const std::string& timePoint)
|
||||
{
|
||||
timePoint_ = timePoint;
|
||||
setParameter("TimePoint", timePoint);
|
||||
}
|
||||
|
||||
|
||||
194
cdrs/CMakeLists.txt
Normal file
194
cdrs/CMakeLists.txt
Normal file
@@ -0,0 +1,194 @@
|
||||
#
|
||||
# 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(cdrs_public_header
|
||||
include/alibabacloud/cdrs/CDRSClient.h
|
||||
include/alibabacloud/cdrs/CDRSExport.h )
|
||||
|
||||
set(cdrs_public_header_model
|
||||
include/alibabacloud/cdrs/model/ListCityMapAoisRequest.h
|
||||
include/alibabacloud/cdrs/model/ListCityMapAoisResult.h
|
||||
include/alibabacloud/cdrs/model/ListCityMapCameraResultsRequest.h
|
||||
include/alibabacloud/cdrs/model/ListCityMapCameraResultsResult.h
|
||||
include/alibabacloud/cdrs/model/ListCityMapCameraStatisticsRequest.h
|
||||
include/alibabacloud/cdrs/model/ListCityMapCameraStatisticsResult.h
|
||||
include/alibabacloud/cdrs/model/ListCityMapImageDetailsRequest.h
|
||||
include/alibabacloud/cdrs/model/ListCityMapImageDetailsResult.h
|
||||
include/alibabacloud/cdrs/model/ListCityMapPersonFlowRequest.h
|
||||
include/alibabacloud/cdrs/model/ListCityMapPersonFlowResult.h
|
||||
include/alibabacloud/cdrs/model/ListCityMapRangeStatisticRequest.h
|
||||
include/alibabacloud/cdrs/model/ListCityMapRangeStatisticResult.h
|
||||
include/alibabacloud/cdrs/model/ListDataStatisticsRequest.h
|
||||
include/alibabacloud/cdrs/model/ListDataStatisticsResult.h
|
||||
include/alibabacloud/cdrs/model/ListDataStatisticsByDayRequest.h
|
||||
include/alibabacloud/cdrs/model/ListDataStatisticsByDayResult.h
|
||||
include/alibabacloud/cdrs/model/ListDeviceDetailRequest.h
|
||||
include/alibabacloud/cdrs/model/ListDeviceDetailResult.h
|
||||
include/alibabacloud/cdrs/model/ListDeviceGenderStatisticsRequest.h
|
||||
include/alibabacloud/cdrs/model/ListDeviceGenderStatisticsResult.h
|
||||
include/alibabacloud/cdrs/model/ListDevicePersonRequest.h
|
||||
include/alibabacloud/cdrs/model/ListDevicePersonResult.h
|
||||
include/alibabacloud/cdrs/model/ListDevicePersonStatisticsRequest.h
|
||||
include/alibabacloud/cdrs/model/ListDevicePersonStatisticsResult.h
|
||||
include/alibabacloud/cdrs/model/ListMapRouteDetailsRequest.h
|
||||
include/alibabacloud/cdrs/model/ListMapRouteDetailsResult.h
|
||||
include/alibabacloud/cdrs/model/ListPersonDetailsRequest.h
|
||||
include/alibabacloud/cdrs/model/ListPersonDetailsResult.h
|
||||
include/alibabacloud/cdrs/model/ListPersonResultRequest.h
|
||||
include/alibabacloud/cdrs/model/ListPersonResultResult.h
|
||||
include/alibabacloud/cdrs/model/ListPersonTagRequest.h
|
||||
include/alibabacloud/cdrs/model/ListPersonTagResult.h
|
||||
include/alibabacloud/cdrs/model/ListPersonTopRequest.h
|
||||
include/alibabacloud/cdrs/model/ListPersonTopResult.h
|
||||
include/alibabacloud/cdrs/model/ListPersonTrackRequest.h
|
||||
include/alibabacloud/cdrs/model/ListPersonTrackResult.h
|
||||
include/alibabacloud/cdrs/model/ListRangeDeviceRequest.h
|
||||
include/alibabacloud/cdrs/model/ListRangeDeviceResult.h
|
||||
include/alibabacloud/cdrs/model/ListStorageStatisticsRequest.h
|
||||
include/alibabacloud/cdrs/model/ListStorageStatisticsResult.h
|
||||
include/alibabacloud/cdrs/model/ListStructureStatisticsRequest.h
|
||||
include/alibabacloud/cdrs/model/ListStructureStatisticsResult.h
|
||||
include/alibabacloud/cdrs/model/ListVehicleDetailsRequest.h
|
||||
include/alibabacloud/cdrs/model/ListVehicleDetailsResult.h
|
||||
include/alibabacloud/cdrs/model/ListVehicleResultsRequest.h
|
||||
include/alibabacloud/cdrs/model/ListVehicleResultsResult.h
|
||||
include/alibabacloud/cdrs/model/ListVehicleTagDistributeRequest.h
|
||||
include/alibabacloud/cdrs/model/ListVehicleTagDistributeResult.h
|
||||
include/alibabacloud/cdrs/model/ListVehicleTopRequest.h
|
||||
include/alibabacloud/cdrs/model/ListVehicleTopResult.h
|
||||
include/alibabacloud/cdrs/model/ListVehicleTrackRequest.h
|
||||
include/alibabacloud/cdrs/model/ListVehicleTrackResult.h
|
||||
include/alibabacloud/cdrs/model/RecognizeImageRequest.h
|
||||
include/alibabacloud/cdrs/model/RecognizeImageResult.h
|
||||
include/alibabacloud/cdrs/model/SearchObjectRequest.h
|
||||
include/alibabacloud/cdrs/model/SearchObjectResult.h )
|
||||
|
||||
set(cdrs_src
|
||||
src/CDRSClient.cc
|
||||
src/model/ListCityMapAoisRequest.cc
|
||||
src/model/ListCityMapAoisResult.cc
|
||||
src/model/ListCityMapCameraResultsRequest.cc
|
||||
src/model/ListCityMapCameraResultsResult.cc
|
||||
src/model/ListCityMapCameraStatisticsRequest.cc
|
||||
src/model/ListCityMapCameraStatisticsResult.cc
|
||||
src/model/ListCityMapImageDetailsRequest.cc
|
||||
src/model/ListCityMapImageDetailsResult.cc
|
||||
src/model/ListCityMapPersonFlowRequest.cc
|
||||
src/model/ListCityMapPersonFlowResult.cc
|
||||
src/model/ListCityMapRangeStatisticRequest.cc
|
||||
src/model/ListCityMapRangeStatisticResult.cc
|
||||
src/model/ListDataStatisticsRequest.cc
|
||||
src/model/ListDataStatisticsResult.cc
|
||||
src/model/ListDataStatisticsByDayRequest.cc
|
||||
src/model/ListDataStatisticsByDayResult.cc
|
||||
src/model/ListDeviceDetailRequest.cc
|
||||
src/model/ListDeviceDetailResult.cc
|
||||
src/model/ListDeviceGenderStatisticsRequest.cc
|
||||
src/model/ListDeviceGenderStatisticsResult.cc
|
||||
src/model/ListDevicePersonRequest.cc
|
||||
src/model/ListDevicePersonResult.cc
|
||||
src/model/ListDevicePersonStatisticsRequest.cc
|
||||
src/model/ListDevicePersonStatisticsResult.cc
|
||||
src/model/ListMapRouteDetailsRequest.cc
|
||||
src/model/ListMapRouteDetailsResult.cc
|
||||
src/model/ListPersonDetailsRequest.cc
|
||||
src/model/ListPersonDetailsResult.cc
|
||||
src/model/ListPersonResultRequest.cc
|
||||
src/model/ListPersonResultResult.cc
|
||||
src/model/ListPersonTagRequest.cc
|
||||
src/model/ListPersonTagResult.cc
|
||||
src/model/ListPersonTopRequest.cc
|
||||
src/model/ListPersonTopResult.cc
|
||||
src/model/ListPersonTrackRequest.cc
|
||||
src/model/ListPersonTrackResult.cc
|
||||
src/model/ListRangeDeviceRequest.cc
|
||||
src/model/ListRangeDeviceResult.cc
|
||||
src/model/ListStorageStatisticsRequest.cc
|
||||
src/model/ListStorageStatisticsResult.cc
|
||||
src/model/ListStructureStatisticsRequest.cc
|
||||
src/model/ListStructureStatisticsResult.cc
|
||||
src/model/ListVehicleDetailsRequest.cc
|
||||
src/model/ListVehicleDetailsResult.cc
|
||||
src/model/ListVehicleResultsRequest.cc
|
||||
src/model/ListVehicleResultsResult.cc
|
||||
src/model/ListVehicleTagDistributeRequest.cc
|
||||
src/model/ListVehicleTagDistributeResult.cc
|
||||
src/model/ListVehicleTopRequest.cc
|
||||
src/model/ListVehicleTopResult.cc
|
||||
src/model/ListVehicleTrackRequest.cc
|
||||
src/model/ListVehicleTrackResult.cc
|
||||
src/model/RecognizeImageRequest.cc
|
||||
src/model/RecognizeImageResult.cc
|
||||
src/model/SearchObjectRequest.cc
|
||||
src/model/SearchObjectResult.cc )
|
||||
|
||||
add_library(cdrs ${LIB_TYPE}
|
||||
${cdrs_public_header}
|
||||
${cdrs_public_header_model}
|
||||
${cdrs_src})
|
||||
|
||||
set_target_properties(cdrs
|
||||
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}cdrs
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(cdrs
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_CDRS_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(cdrs
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(cdrs
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(cdrs
|
||||
jsoncpp)
|
||||
target_include_directories(cdrs
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(cdrs
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(cdrs
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(cdrs
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(cdrs
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${cdrs_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cdrs)
|
||||
install(FILES ${cdrs_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cdrs/model)
|
||||
install(TARGETS cdrs
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
270
cdrs/include/alibabacloud/cdrs/CDRSClient.h
Normal file
270
cdrs/include/alibabacloud/cdrs/CDRSClient.h
Normal file
@@ -0,0 +1,270 @@
|
||||
/*
|
||||
* 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_CDRS_CDRSCLIENT_H_
|
||||
#define ALIBABACLOUD_CDRS_CDRSCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CDRSExport.h"
|
||||
#include "model/ListCityMapAoisRequest.h"
|
||||
#include "model/ListCityMapAoisResult.h"
|
||||
#include "model/ListCityMapCameraResultsRequest.h"
|
||||
#include "model/ListCityMapCameraResultsResult.h"
|
||||
#include "model/ListCityMapCameraStatisticsRequest.h"
|
||||
#include "model/ListCityMapCameraStatisticsResult.h"
|
||||
#include "model/ListCityMapImageDetailsRequest.h"
|
||||
#include "model/ListCityMapImageDetailsResult.h"
|
||||
#include "model/ListCityMapPersonFlowRequest.h"
|
||||
#include "model/ListCityMapPersonFlowResult.h"
|
||||
#include "model/ListCityMapRangeStatisticRequest.h"
|
||||
#include "model/ListCityMapRangeStatisticResult.h"
|
||||
#include "model/ListDataStatisticsRequest.h"
|
||||
#include "model/ListDataStatisticsResult.h"
|
||||
#include "model/ListDataStatisticsByDayRequest.h"
|
||||
#include "model/ListDataStatisticsByDayResult.h"
|
||||
#include "model/ListDeviceDetailRequest.h"
|
||||
#include "model/ListDeviceDetailResult.h"
|
||||
#include "model/ListDeviceGenderStatisticsRequest.h"
|
||||
#include "model/ListDeviceGenderStatisticsResult.h"
|
||||
#include "model/ListDevicePersonRequest.h"
|
||||
#include "model/ListDevicePersonResult.h"
|
||||
#include "model/ListDevicePersonStatisticsRequest.h"
|
||||
#include "model/ListDevicePersonStatisticsResult.h"
|
||||
#include "model/ListMapRouteDetailsRequest.h"
|
||||
#include "model/ListMapRouteDetailsResult.h"
|
||||
#include "model/ListPersonDetailsRequest.h"
|
||||
#include "model/ListPersonDetailsResult.h"
|
||||
#include "model/ListPersonResultRequest.h"
|
||||
#include "model/ListPersonResultResult.h"
|
||||
#include "model/ListPersonTagRequest.h"
|
||||
#include "model/ListPersonTagResult.h"
|
||||
#include "model/ListPersonTopRequest.h"
|
||||
#include "model/ListPersonTopResult.h"
|
||||
#include "model/ListPersonTrackRequest.h"
|
||||
#include "model/ListPersonTrackResult.h"
|
||||
#include "model/ListRangeDeviceRequest.h"
|
||||
#include "model/ListRangeDeviceResult.h"
|
||||
#include "model/ListStorageStatisticsRequest.h"
|
||||
#include "model/ListStorageStatisticsResult.h"
|
||||
#include "model/ListStructureStatisticsRequest.h"
|
||||
#include "model/ListStructureStatisticsResult.h"
|
||||
#include "model/ListVehicleDetailsRequest.h"
|
||||
#include "model/ListVehicleDetailsResult.h"
|
||||
#include "model/ListVehicleResultsRequest.h"
|
||||
#include "model/ListVehicleResultsResult.h"
|
||||
#include "model/ListVehicleTagDistributeRequest.h"
|
||||
#include "model/ListVehicleTagDistributeResult.h"
|
||||
#include "model/ListVehicleTopRequest.h"
|
||||
#include "model/ListVehicleTopResult.h"
|
||||
#include "model/ListVehicleTrackRequest.h"
|
||||
#include "model/ListVehicleTrackResult.h"
|
||||
#include "model/RecognizeImageRequest.h"
|
||||
#include "model/RecognizeImageResult.h"
|
||||
#include "model/SearchObjectRequest.h"
|
||||
#include "model/SearchObjectResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT CDRSClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ListCityMapAoisResult> ListCityMapAoisOutcome;
|
||||
typedef std::future<ListCityMapAoisOutcome> ListCityMapAoisOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListCityMapAoisRequest&, const ListCityMapAoisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCityMapAoisAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCityMapCameraResultsResult> ListCityMapCameraResultsOutcome;
|
||||
typedef std::future<ListCityMapCameraResultsOutcome> ListCityMapCameraResultsOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListCityMapCameraResultsRequest&, const ListCityMapCameraResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCityMapCameraResultsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCityMapCameraStatisticsResult> ListCityMapCameraStatisticsOutcome;
|
||||
typedef std::future<ListCityMapCameraStatisticsOutcome> ListCityMapCameraStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListCityMapCameraStatisticsRequest&, const ListCityMapCameraStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCityMapCameraStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCityMapImageDetailsResult> ListCityMapImageDetailsOutcome;
|
||||
typedef std::future<ListCityMapImageDetailsOutcome> ListCityMapImageDetailsOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListCityMapImageDetailsRequest&, const ListCityMapImageDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCityMapImageDetailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCityMapPersonFlowResult> ListCityMapPersonFlowOutcome;
|
||||
typedef std::future<ListCityMapPersonFlowOutcome> ListCityMapPersonFlowOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListCityMapPersonFlowRequest&, const ListCityMapPersonFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCityMapPersonFlowAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCityMapRangeStatisticResult> ListCityMapRangeStatisticOutcome;
|
||||
typedef std::future<ListCityMapRangeStatisticOutcome> ListCityMapRangeStatisticOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListCityMapRangeStatisticRequest&, const ListCityMapRangeStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCityMapRangeStatisticAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDataStatisticsResult> ListDataStatisticsOutcome;
|
||||
typedef std::future<ListDataStatisticsOutcome> ListDataStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListDataStatisticsRequest&, const ListDataStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDataStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDataStatisticsByDayResult> ListDataStatisticsByDayOutcome;
|
||||
typedef std::future<ListDataStatisticsByDayOutcome> ListDataStatisticsByDayOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListDataStatisticsByDayRequest&, const ListDataStatisticsByDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDataStatisticsByDayAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDeviceDetailResult> ListDeviceDetailOutcome;
|
||||
typedef std::future<ListDeviceDetailOutcome> ListDeviceDetailOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListDeviceDetailRequest&, const ListDeviceDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDeviceGenderStatisticsResult> ListDeviceGenderStatisticsOutcome;
|
||||
typedef std::future<ListDeviceGenderStatisticsOutcome> ListDeviceGenderStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListDeviceGenderStatisticsRequest&, const ListDeviceGenderStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceGenderStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDevicePersonResult> ListDevicePersonOutcome;
|
||||
typedef std::future<ListDevicePersonOutcome> ListDevicePersonOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListDevicePersonRequest&, const ListDevicePersonOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevicePersonAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDevicePersonStatisticsResult> ListDevicePersonStatisticsOutcome;
|
||||
typedef std::future<ListDevicePersonStatisticsOutcome> ListDevicePersonStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListDevicePersonStatisticsRequest&, const ListDevicePersonStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevicePersonStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListMapRouteDetailsResult> ListMapRouteDetailsOutcome;
|
||||
typedef std::future<ListMapRouteDetailsOutcome> ListMapRouteDetailsOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListMapRouteDetailsRequest&, const ListMapRouteDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMapRouteDetailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPersonDetailsResult> ListPersonDetailsOutcome;
|
||||
typedef std::future<ListPersonDetailsOutcome> ListPersonDetailsOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListPersonDetailsRequest&, const ListPersonDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonDetailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPersonResultResult> ListPersonResultOutcome;
|
||||
typedef std::future<ListPersonResultOutcome> ListPersonResultOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListPersonResultRequest&, const ListPersonResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPersonTagResult> ListPersonTagOutcome;
|
||||
typedef std::future<ListPersonTagOutcome> ListPersonTagOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListPersonTagRequest&, const ListPersonTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPersonTopResult> ListPersonTopOutcome;
|
||||
typedef std::future<ListPersonTopOutcome> ListPersonTopOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListPersonTopRequest&, const ListPersonTopOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonTopAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPersonTrackResult> ListPersonTrackOutcome;
|
||||
typedef std::future<ListPersonTrackOutcome> ListPersonTrackOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListPersonTrackRequest&, const ListPersonTrackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonTrackAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRangeDeviceResult> ListRangeDeviceOutcome;
|
||||
typedef std::future<ListRangeDeviceOutcome> ListRangeDeviceOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListRangeDeviceRequest&, const ListRangeDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRangeDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListStorageStatisticsResult> ListStorageStatisticsOutcome;
|
||||
typedef std::future<ListStorageStatisticsOutcome> ListStorageStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListStorageStatisticsRequest&, const ListStorageStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListStorageStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListStructureStatisticsResult> ListStructureStatisticsOutcome;
|
||||
typedef std::future<ListStructureStatisticsOutcome> ListStructureStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListStructureStatisticsRequest&, const ListStructureStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListStructureStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVehicleDetailsResult> ListVehicleDetailsOutcome;
|
||||
typedef std::future<ListVehicleDetailsOutcome> ListVehicleDetailsOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListVehicleDetailsRequest&, const ListVehicleDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVehicleDetailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVehicleResultsResult> ListVehicleResultsOutcome;
|
||||
typedef std::future<ListVehicleResultsOutcome> ListVehicleResultsOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListVehicleResultsRequest&, const ListVehicleResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVehicleResultsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVehicleTagDistributeResult> ListVehicleTagDistributeOutcome;
|
||||
typedef std::future<ListVehicleTagDistributeOutcome> ListVehicleTagDistributeOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListVehicleTagDistributeRequest&, const ListVehicleTagDistributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVehicleTagDistributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVehicleTopResult> ListVehicleTopOutcome;
|
||||
typedef std::future<ListVehicleTopOutcome> ListVehicleTopOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListVehicleTopRequest&, const ListVehicleTopOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVehicleTopAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVehicleTrackResult> ListVehicleTrackOutcome;
|
||||
typedef std::future<ListVehicleTrackOutcome> ListVehicleTrackOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::ListVehicleTrackRequest&, const ListVehicleTrackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVehicleTrackAsyncHandler;
|
||||
typedef Outcome<Error, Model::RecognizeImageResult> RecognizeImageOutcome;
|
||||
typedef std::future<RecognizeImageOutcome> RecognizeImageOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::RecognizeImageRequest&, const RecognizeImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecognizeImageAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchObjectResult> SearchObjectOutcome;
|
||||
typedef std::future<SearchObjectOutcome> SearchObjectOutcomeCallable;
|
||||
typedef std::function<void(const CDRSClient*, const Model::SearchObjectRequest&, const SearchObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchObjectAsyncHandler;
|
||||
|
||||
CDRSClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CDRSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CDRSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CDRSClient();
|
||||
ListCityMapAoisOutcome listCityMapAois(const Model::ListCityMapAoisRequest &request)const;
|
||||
void listCityMapAoisAsync(const Model::ListCityMapAoisRequest& request, const ListCityMapAoisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCityMapAoisOutcomeCallable listCityMapAoisCallable(const Model::ListCityMapAoisRequest& request) const;
|
||||
ListCityMapCameraResultsOutcome listCityMapCameraResults(const Model::ListCityMapCameraResultsRequest &request)const;
|
||||
void listCityMapCameraResultsAsync(const Model::ListCityMapCameraResultsRequest& request, const ListCityMapCameraResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCityMapCameraResultsOutcomeCallable listCityMapCameraResultsCallable(const Model::ListCityMapCameraResultsRequest& request) const;
|
||||
ListCityMapCameraStatisticsOutcome listCityMapCameraStatistics(const Model::ListCityMapCameraStatisticsRequest &request)const;
|
||||
void listCityMapCameraStatisticsAsync(const Model::ListCityMapCameraStatisticsRequest& request, const ListCityMapCameraStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCityMapCameraStatisticsOutcomeCallable listCityMapCameraStatisticsCallable(const Model::ListCityMapCameraStatisticsRequest& request) const;
|
||||
ListCityMapImageDetailsOutcome listCityMapImageDetails(const Model::ListCityMapImageDetailsRequest &request)const;
|
||||
void listCityMapImageDetailsAsync(const Model::ListCityMapImageDetailsRequest& request, const ListCityMapImageDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCityMapImageDetailsOutcomeCallable listCityMapImageDetailsCallable(const Model::ListCityMapImageDetailsRequest& request) const;
|
||||
ListCityMapPersonFlowOutcome listCityMapPersonFlow(const Model::ListCityMapPersonFlowRequest &request)const;
|
||||
void listCityMapPersonFlowAsync(const Model::ListCityMapPersonFlowRequest& request, const ListCityMapPersonFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCityMapPersonFlowOutcomeCallable listCityMapPersonFlowCallable(const Model::ListCityMapPersonFlowRequest& request) const;
|
||||
ListCityMapRangeStatisticOutcome listCityMapRangeStatistic(const Model::ListCityMapRangeStatisticRequest &request)const;
|
||||
void listCityMapRangeStatisticAsync(const Model::ListCityMapRangeStatisticRequest& request, const ListCityMapRangeStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCityMapRangeStatisticOutcomeCallable listCityMapRangeStatisticCallable(const Model::ListCityMapRangeStatisticRequest& request) const;
|
||||
ListDataStatisticsOutcome listDataStatistics(const Model::ListDataStatisticsRequest &request)const;
|
||||
void listDataStatisticsAsync(const Model::ListDataStatisticsRequest& request, const ListDataStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDataStatisticsOutcomeCallable listDataStatisticsCallable(const Model::ListDataStatisticsRequest& request) const;
|
||||
ListDataStatisticsByDayOutcome listDataStatisticsByDay(const Model::ListDataStatisticsByDayRequest &request)const;
|
||||
void listDataStatisticsByDayAsync(const Model::ListDataStatisticsByDayRequest& request, const ListDataStatisticsByDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDataStatisticsByDayOutcomeCallable listDataStatisticsByDayCallable(const Model::ListDataStatisticsByDayRequest& request) const;
|
||||
ListDeviceDetailOutcome listDeviceDetail(const Model::ListDeviceDetailRequest &request)const;
|
||||
void listDeviceDetailAsync(const Model::ListDeviceDetailRequest& request, const ListDeviceDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDeviceDetailOutcomeCallable listDeviceDetailCallable(const Model::ListDeviceDetailRequest& request) const;
|
||||
ListDeviceGenderStatisticsOutcome listDeviceGenderStatistics(const Model::ListDeviceGenderStatisticsRequest &request)const;
|
||||
void listDeviceGenderStatisticsAsync(const Model::ListDeviceGenderStatisticsRequest& request, const ListDeviceGenderStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDeviceGenderStatisticsOutcomeCallable listDeviceGenderStatisticsCallable(const Model::ListDeviceGenderStatisticsRequest& request) const;
|
||||
ListDevicePersonOutcome listDevicePerson(const Model::ListDevicePersonRequest &request)const;
|
||||
void listDevicePersonAsync(const Model::ListDevicePersonRequest& request, const ListDevicePersonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDevicePersonOutcomeCallable listDevicePersonCallable(const Model::ListDevicePersonRequest& request) const;
|
||||
ListDevicePersonStatisticsOutcome listDevicePersonStatistics(const Model::ListDevicePersonStatisticsRequest &request)const;
|
||||
void listDevicePersonStatisticsAsync(const Model::ListDevicePersonStatisticsRequest& request, const ListDevicePersonStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDevicePersonStatisticsOutcomeCallable listDevicePersonStatisticsCallable(const Model::ListDevicePersonStatisticsRequest& request) const;
|
||||
ListMapRouteDetailsOutcome listMapRouteDetails(const Model::ListMapRouteDetailsRequest &request)const;
|
||||
void listMapRouteDetailsAsync(const Model::ListMapRouteDetailsRequest& request, const ListMapRouteDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMapRouteDetailsOutcomeCallable listMapRouteDetailsCallable(const Model::ListMapRouteDetailsRequest& request) const;
|
||||
ListPersonDetailsOutcome listPersonDetails(const Model::ListPersonDetailsRequest &request)const;
|
||||
void listPersonDetailsAsync(const Model::ListPersonDetailsRequest& request, const ListPersonDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPersonDetailsOutcomeCallable listPersonDetailsCallable(const Model::ListPersonDetailsRequest& request) const;
|
||||
ListPersonResultOutcome listPersonResult(const Model::ListPersonResultRequest &request)const;
|
||||
void listPersonResultAsync(const Model::ListPersonResultRequest& request, const ListPersonResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPersonResultOutcomeCallable listPersonResultCallable(const Model::ListPersonResultRequest& request) const;
|
||||
ListPersonTagOutcome listPersonTag(const Model::ListPersonTagRequest &request)const;
|
||||
void listPersonTagAsync(const Model::ListPersonTagRequest& request, const ListPersonTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPersonTagOutcomeCallable listPersonTagCallable(const Model::ListPersonTagRequest& request) const;
|
||||
ListPersonTopOutcome listPersonTop(const Model::ListPersonTopRequest &request)const;
|
||||
void listPersonTopAsync(const Model::ListPersonTopRequest& request, const ListPersonTopAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPersonTopOutcomeCallable listPersonTopCallable(const Model::ListPersonTopRequest& request) const;
|
||||
ListPersonTrackOutcome listPersonTrack(const Model::ListPersonTrackRequest &request)const;
|
||||
void listPersonTrackAsync(const Model::ListPersonTrackRequest& request, const ListPersonTrackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPersonTrackOutcomeCallable listPersonTrackCallable(const Model::ListPersonTrackRequest& request) const;
|
||||
ListRangeDeviceOutcome listRangeDevice(const Model::ListRangeDeviceRequest &request)const;
|
||||
void listRangeDeviceAsync(const Model::ListRangeDeviceRequest& request, const ListRangeDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRangeDeviceOutcomeCallable listRangeDeviceCallable(const Model::ListRangeDeviceRequest& request) const;
|
||||
ListStorageStatisticsOutcome listStorageStatistics(const Model::ListStorageStatisticsRequest &request)const;
|
||||
void listStorageStatisticsAsync(const Model::ListStorageStatisticsRequest& request, const ListStorageStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListStorageStatisticsOutcomeCallable listStorageStatisticsCallable(const Model::ListStorageStatisticsRequest& request) const;
|
||||
ListStructureStatisticsOutcome listStructureStatistics(const Model::ListStructureStatisticsRequest &request)const;
|
||||
void listStructureStatisticsAsync(const Model::ListStructureStatisticsRequest& request, const ListStructureStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListStructureStatisticsOutcomeCallable listStructureStatisticsCallable(const Model::ListStructureStatisticsRequest& request) const;
|
||||
ListVehicleDetailsOutcome listVehicleDetails(const Model::ListVehicleDetailsRequest &request)const;
|
||||
void listVehicleDetailsAsync(const Model::ListVehicleDetailsRequest& request, const ListVehicleDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVehicleDetailsOutcomeCallable listVehicleDetailsCallable(const Model::ListVehicleDetailsRequest& request) const;
|
||||
ListVehicleResultsOutcome listVehicleResults(const Model::ListVehicleResultsRequest &request)const;
|
||||
void listVehicleResultsAsync(const Model::ListVehicleResultsRequest& request, const ListVehicleResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVehicleResultsOutcomeCallable listVehicleResultsCallable(const Model::ListVehicleResultsRequest& request) const;
|
||||
ListVehicleTagDistributeOutcome listVehicleTagDistribute(const Model::ListVehicleTagDistributeRequest &request)const;
|
||||
void listVehicleTagDistributeAsync(const Model::ListVehicleTagDistributeRequest& request, const ListVehicleTagDistributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVehicleTagDistributeOutcomeCallable listVehicleTagDistributeCallable(const Model::ListVehicleTagDistributeRequest& request) const;
|
||||
ListVehicleTopOutcome listVehicleTop(const Model::ListVehicleTopRequest &request)const;
|
||||
void listVehicleTopAsync(const Model::ListVehicleTopRequest& request, const ListVehicleTopAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVehicleTopOutcomeCallable listVehicleTopCallable(const Model::ListVehicleTopRequest& request) const;
|
||||
ListVehicleTrackOutcome listVehicleTrack(const Model::ListVehicleTrackRequest &request)const;
|
||||
void listVehicleTrackAsync(const Model::ListVehicleTrackRequest& request, const ListVehicleTrackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVehicleTrackOutcomeCallable listVehicleTrackCallable(const Model::ListVehicleTrackRequest& request) const;
|
||||
RecognizeImageOutcome recognizeImage(const Model::RecognizeImageRequest &request)const;
|
||||
void recognizeImageAsync(const Model::RecognizeImageRequest& request, const RecognizeImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RecognizeImageOutcomeCallable recognizeImageCallable(const Model::RecognizeImageRequest& request) const;
|
||||
SearchObjectOutcome searchObject(const Model::SearchObjectRequest &request)const;
|
||||
void searchObjectAsync(const Model::SearchObjectRequest& request, const SearchObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchObjectOutcomeCallable searchObjectCallable(const Model::SearchObjectRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_CDRS_CDRSCLIENT_H_
|
||||
32
cdrs/include/alibabacloud/cdrs/CDRSExport.h
Normal file
32
cdrs/include/alibabacloud/cdrs/CDRSExport.h
Normal file
@@ -0,0 +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_CDRS_CDRSEXPORT_H_
|
||||
#define ALIBABACLOUD_CDRS_CDRSEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_CDRS_LIBRARY)
|
||||
# define ALIBABACLOUD_CDRS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_CDRS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_CDRS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_CDRS_CDRSEXPORT_H_
|
||||
@@ -14,38 +14,41 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETECATEGORYREQUEST_H_
|
||||
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETECATEGORYREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPAOISREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPAOISREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace VoiceNavigator
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DeleteCategoryRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListCityMapAoisRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCategoryRequest();
|
||||
~DeleteCategoryRequest();
|
||||
ListCityMapAoisRequest();
|
||||
~ListCityMapAoisRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCategoryId()const;
|
||||
void setCategoryId(const std::string& categoryId);
|
||||
std::string getLatitude()const;
|
||||
void setLatitude(const std::string& latitude);
|
||||
int getRadius()const;
|
||||
void setRadius(int radius);
|
||||
std::string getLongitude()const;
|
||||
void setLongitude(const std::string& longitude);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string categoryId_;
|
||||
std::string latitude_;
|
||||
int radius_;
|
||||
std::string longitude_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DELETECATEGORYREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPAOISREQUEST_H_
|
||||
62
cdrs/include/alibabacloud/cdrs/model/ListCityMapAoisResult.h
Normal file
62
cdrs/include/alibabacloud/cdrs/model/ListCityMapAoisResult.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPAOISRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPAOISRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListCityMapAoisResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string value;
|
||||
std::string id;
|
||||
};
|
||||
|
||||
|
||||
ListCityMapAoisResult();
|
||||
explicit ListCityMapAoisResult(const std::string &payload);
|
||||
~ListCityMapAoisResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPAOISRESULT_H_
|
||||
@@ -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_CDRS_MODEL_LISTCITYMAPCAMERARESULTSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPCAMERARESULTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListCityMapCameraResultsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCityMapCameraResultsRequest();
|
||||
~ListCityMapCameraResultsRequest();
|
||||
|
||||
long getPageNum()const;
|
||||
void setPageNum(long pageNum);
|
||||
std::map<std::string, std::string> getDataSourceIdList()const;
|
||||
void setDataSourceIdList(const std::map<std::string, std::string>& dataSourceIdList);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
|
||||
private:
|
||||
long pageNum_;
|
||||
std::map<std::string, std::string> dataSourceIdList_;
|
||||
long pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPCAMERARESULTSREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPCAMERARESULTSRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPCAMERARESULTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListCityMapCameraResultsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string corpId;
|
||||
std::string dataSourceName;
|
||||
std::string nearPoi;
|
||||
std::string latitude;
|
||||
std::string longitude;
|
||||
std::string dataSourcePoi;
|
||||
std::string dataSourceId;
|
||||
};
|
||||
|
||||
|
||||
ListCityMapCameraResultsResult();
|
||||
explicit ListCityMapCameraResultsResult(const std::string &payload);
|
||||
~ListCityMapCameraResultsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
std::string getPageNum()const;
|
||||
std::string getPageSize()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
std::string pageNum_;
|
||||
std::string pageSize_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPCAMERARESULTSRESULT_H_
|
||||
@@ -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_CDRS_MODEL_LISTCITYMAPCAMERASTATISTICSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPCAMERASTATISTICSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListCityMapCameraStatisticsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCityMapCameraStatisticsRequest();
|
||||
~ListCityMapCameraStatisticsRequest();
|
||||
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getDataSourceIdList()const;
|
||||
void setDataSourceIdList(const std::string& dataSourceIdList);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
long pageNumber_;
|
||||
std::string dataSourceIdList_;
|
||||
long pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPCAMERASTATISTICSREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTCITYMAPCAMERASTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPCAMERASTATISTICSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListCityMapCameraStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string adultValue;
|
||||
std::string statisticTime;
|
||||
std::string manValue;
|
||||
std::string corpId;
|
||||
std::string womanValue;
|
||||
std::string dataSourceName;
|
||||
std::string childValue;
|
||||
std::string oldValue;
|
||||
std::string latitude;
|
||||
std::string longitude;
|
||||
std::string motorValue;
|
||||
std::string dataSourceId;
|
||||
};
|
||||
|
||||
|
||||
ListCityMapCameraStatisticsResult();
|
||||
explicit ListCityMapCameraStatisticsResult(const std::string &payload);
|
||||
~ListCityMapCameraStatisticsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPCAMERASTATISTICSRESULT_H_
|
||||
@@ -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_CDRS_MODEL_LISTCITYMAPIMAGEDETAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPIMAGEDETAILSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListCityMapImageDetailsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCityMapImageDetailsRequest();
|
||||
~ListCityMapImageDetailsRequest();
|
||||
|
||||
std::string getTimeInterval()const;
|
||||
void setTimeInterval(const std::string& timeInterval);
|
||||
long getRecordNumber()const;
|
||||
void setRecordNumber(long recordNumber);
|
||||
std::string getDataSourceId()const;
|
||||
void setDataSourceId(const std::string& dataSourceId);
|
||||
|
||||
private:
|
||||
std::string timeInterval_;
|
||||
long recordNumber_;
|
||||
std::string dataSourceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPIMAGEDETAILSREQUEST_H_
|
||||
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPIMAGEDETAILSRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPIMAGEDETAILSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListCityMapImageDetailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string personTargetImageStoragePath;
|
||||
std::string rightBottomX;
|
||||
std::string rightBottomY;
|
||||
std::string gender;
|
||||
std::string vehicleClass;
|
||||
std::string genderCodeReliability;
|
||||
std::string coatColorReliability;
|
||||
std::string recordId;
|
||||
std::string vehicleColorReliability;
|
||||
std::string trousersColor;
|
||||
std::string ageCodeReliability;
|
||||
std::string faceTargetImageStoragePath;
|
||||
std::string sourceImageStoragePath;
|
||||
std::string ageLowerLimit;
|
||||
std::string motorTargetImageStoragePath;
|
||||
std::string trousersColorReliability;
|
||||
std::string leftTopY;
|
||||
std::string leftTopX;
|
||||
std::string ageUpLimit;
|
||||
std::string vehicleColor;
|
||||
std::string vehicleClassReliability;
|
||||
std::string ageLowerLimitReliability;
|
||||
std::string coatColor;
|
||||
std::string shotTime;
|
||||
std::string dataSourceId;
|
||||
};
|
||||
|
||||
|
||||
ListCityMapImageDetailsResult();
|
||||
explicit ListCityMapImageDetailsResult(const std::string &payload);
|
||||
~ListCityMapImageDetailsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPIMAGEDETAILSRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTCITYMAPPERSONFLOWREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPPERSONFLOWREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListCityMapPersonFlowRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCityMapPersonFlowRequest();
|
||||
~ListCityMapPersonFlowRequest();
|
||||
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getRange()const;
|
||||
void setRange(const std::string& range);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::map<std::string, std::string> getOriginDataSourceIdList()const;
|
||||
void setOriginDataSourceIdList(const std::map<std::string, std::string>& originDataSourceIdList);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getTargetDataSourceIdList()const;
|
||||
void setTargetDataSourceIdList(const std::string& targetDataSourceIdList);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string range_;
|
||||
std::string startTime_;
|
||||
std::map<std::string, std::string> originDataSourceIdList_;
|
||||
long pageNumber_;
|
||||
std::string targetDataSourceIdList_;
|
||||
long pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPPERSONFLOWREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTCITYMAPPERSONFLOWRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPPERSONFLOWRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListCityMapPersonFlowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string targetDataSourceId;
|
||||
std::string flowDirection;
|
||||
std::string originDataSourceId;
|
||||
std::string flowNumber;
|
||||
};
|
||||
|
||||
|
||||
ListCityMapPersonFlowResult();
|
||||
explicit ListCityMapPersonFlowResult(const std::string &payload);
|
||||
~ListCityMapPersonFlowResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPPERSONFLOWRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTCITYMAPRANGESTATISTICREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPRANGESTATISTICREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListCityMapRangeStatisticRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCityMapRangeStatisticRequest();
|
||||
~ListCityMapRangeStatisticRequest();
|
||||
|
||||
std::string getLatitude()const;
|
||||
void setLatitude(const std::string& latitude);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
int getRadius()const;
|
||||
void setRadius(int radius);
|
||||
std::string getLongitude()const;
|
||||
void setLongitude(const std::string& longitude);
|
||||
|
||||
private:
|
||||
std::string latitude_;
|
||||
std::string endTime_;
|
||||
long pageNumber_;
|
||||
long pageSize_;
|
||||
int radius_;
|
||||
std::string longitude_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPRANGESTATISTICREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTCITYMAPRANGESTATISTICRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPRANGESTATISTICRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListCityMapRangeStatisticResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string adultValue;
|
||||
std::string manValue;
|
||||
std::string corpId;
|
||||
std::string womanValue;
|
||||
std::string dataSourceName;
|
||||
std::string childValue;
|
||||
std::string oldValue;
|
||||
std::string latitude;
|
||||
std::string longitude;
|
||||
std::string motorValue;
|
||||
std::string dataSourceId;
|
||||
};
|
||||
|
||||
|
||||
ListCityMapRangeStatisticResult();
|
||||
explicit ListCityMapRangeStatisticResult(const std::string &payload);
|
||||
~ListCityMapRangeStatisticResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCITYMAPRANGESTATISTICRESULT_H_
|
||||
@@ -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_CDRS_MODEL_LISTDATASTATISTICSBYDAYREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTDATASTATISTICSBYDAYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListDataStatisticsByDayRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDataStatisticsByDayRequest();
|
||||
~ListDataStatisticsByDayRequest();
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDATASTATISTICSBYDAYREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTDATASTATISTICSBYDAYRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTDATASTATISTICSBYDAYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListDataStatisticsByDayResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
int nonMotorNumber;
|
||||
std::string corpId;
|
||||
int motorNumber;
|
||||
int totalNumber;
|
||||
int bodyNumber;
|
||||
int faceNumber;
|
||||
std::string date;
|
||||
};
|
||||
|
||||
|
||||
ListDataStatisticsByDayResult();
|
||||
explicit ListDataStatisticsByDayResult(const std::string &payload);
|
||||
~ListDataStatisticsByDayResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDATASTATISTICSBYDAYRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTDATASTATISTICSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTDATASTATISTICSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListDataStatisticsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDataStatisticsRequest();
|
||||
~ListDataStatisticsRequest();
|
||||
|
||||
std::string getSchema()const;
|
||||
void setSchema(const std::string& schema);
|
||||
std::string getBackCategory()const;
|
||||
void setBackCategory(const std::string& backCategory);
|
||||
|
||||
private:
|
||||
std::string schema_;
|
||||
std::string backCategory_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDATASTATISTICSREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTDATASTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTDATASTATISTICSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListDataStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string corpId;
|
||||
std::string number;
|
||||
};
|
||||
|
||||
|
||||
ListDataStatisticsResult();
|
||||
explicit ListDataStatisticsResult(const std::string &payload);
|
||||
~ListDataStatisticsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDATASTATISTICSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTDEVICEDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTDEVICEDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListDeviceDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDeviceDetailRequest();
|
||||
~ListDeviceDetailRequest();
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getDataSourceId()const;
|
||||
void setDataSourceId(const std::string& dataSourceId);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
long pageNumber_;
|
||||
std::string dataSourceId_;
|
||||
long pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDEVICEDETAILREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTDEVICEDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTDEVICEDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListDeviceDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string corpId;
|
||||
std::string dataSourceName;
|
||||
std::string nearPoi;
|
||||
std::string latitude;
|
||||
std::string dataSourcePoi;
|
||||
std::string longitude;
|
||||
std::string dataSourceId;
|
||||
};
|
||||
|
||||
|
||||
ListDeviceDetailResult();
|
||||
explicit ListDeviceDetailResult(const std::string &payload);
|
||||
~ListDeviceDetailResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDEVICEDETAILRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTDEVICEGENDERSTATISTICSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTDEVICEGENDERSTATISTICSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListDeviceGenderStatisticsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDeviceGenderStatisticsRequest();
|
||||
~ListDeviceGenderStatisticsRequest();
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getDataSourceId()const;
|
||||
void setDataSourceId(const std::string& dataSourceId);
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string dataSourceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDEVICEGENDERSTATISTICSREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTDEVICEGENDERSTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTDEVICEGENDERSTATISTICSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListDeviceGenderStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string number;
|
||||
std::string gender;
|
||||
std::string dataSourceId;
|
||||
};
|
||||
|
||||
|
||||
ListDeviceGenderStatisticsResult();
|
||||
explicit ListDeviceGenderStatisticsResult(const std::string &payload);
|
||||
~ListDeviceGenderStatisticsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDEVICEGENDERSTATISTICSRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTDEVICEPERSONREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTDEVICEPERSONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListDevicePersonRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDevicePersonRequest();
|
||||
~ListDevicePersonRequest();
|
||||
|
||||
std::string getStatisticsType()const;
|
||||
void setStatisticsType(const std::string& statisticsType);
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getDataSourceId()const;
|
||||
void setDataSourceId(const std::string& dataSourceId);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
|
||||
private:
|
||||
std::string statisticsType_;
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
long pageNumber_;
|
||||
std::string dataSourceId_;
|
||||
long pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDEVICEPERSONREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTDEVICEPERSONRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTDEVICEPERSONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListDevicePersonResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string personId;
|
||||
std::string targetPicUrlPath;
|
||||
std::string gender;
|
||||
std::string dataSourceId;
|
||||
std::string freqNum;
|
||||
};
|
||||
|
||||
|
||||
ListDevicePersonResult();
|
||||
explicit ListDevicePersonResult(const std::string &payload);
|
||||
~ListDevicePersonResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDEVICEPERSONRESULT_H_
|
||||
@@ -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_CDRS_MODEL_LISTDEVICEPERSONSTATISTICSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTDEVICEPERSONSTATISTICSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListDevicePersonStatisticsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDevicePersonStatisticsRequest();
|
||||
~ListDevicePersonStatisticsRequest();
|
||||
|
||||
std::string getStatisticsType()const;
|
||||
void setStatisticsType(const std::string& statisticsType);
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getDataSourceId()const;
|
||||
void setDataSourceId(const std::string& dataSourceId);
|
||||
|
||||
private:
|
||||
std::string statisticsType_;
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string dataSourceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDEVICEPERSONSTATISTICSREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTDEVICEPERSONSTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTDEVICEPERSONSTATISTICSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListDevicePersonStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string number;
|
||||
std::string shotTime;
|
||||
std::string dataSourceId;
|
||||
};
|
||||
|
||||
|
||||
ListDevicePersonStatisticsResult();
|
||||
explicit ListDevicePersonStatisticsResult(const std::string &payload);
|
||||
~ListDevicePersonStatisticsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDEVICEPERSONSTATISTICSRESULT_H_
|
||||
@@ -14,35 +14,35 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_PUBLISHINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_PUBLISHINSTANCEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTMAPROUTEDETAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTMAPROUTEDETAILSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace VoiceNavigator
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT PublishInstanceRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListMapRouteDetailsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PublishInstanceRequest();
|
||||
~PublishInstanceRequest();
|
||||
ListMapRouteDetailsRequest();
|
||||
~ListMapRouteDetailsRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRouteList()const;
|
||||
void setRouteList(const std::string& routeList);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string routeList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_PUBLISHINSTANCEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTMAPROUTEDETAILSREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTMAPROUTEDETAILSRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTMAPROUTEDETAILSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListMapRouteDetailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string origin;
|
||||
std::string destination;
|
||||
std::string type;
|
||||
std::string route;
|
||||
};
|
||||
|
||||
|
||||
ListMapRouteDetailsResult();
|
||||
explicit ListMapRouteDetailsResult(const std::string &payload);
|
||||
~ListMapRouteDetailsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTMAPROUTEDETAILSRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTPERSONDETAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTPERSONDETAILSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonDetailsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPersonDetailsRequest();
|
||||
~ListPersonDetailsRequest();
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getPersonId()const;
|
||||
void setPersonId(const std::string& personId);
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
long pageNumber_;
|
||||
long pageSize_;
|
||||
std::string personId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTPERSONDETAILSREQUEST_H_
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTPERSONDETAILSRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTPERSONDETAILSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonDetailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string address;
|
||||
std::string transportation;
|
||||
std::string personType;
|
||||
std::string gender;
|
||||
std::string faceSourceImage;
|
||||
std::string profession;
|
||||
std::string personId;
|
||||
std::string preferredColor;
|
||||
std::string faceTargetImage;
|
||||
std::string updateTime;
|
||||
std::string bodySourceImage;
|
||||
std::string bodyTargetImage;
|
||||
std::string prefOutTime;
|
||||
std::string age;
|
||||
std::string hotSpotAddress;
|
||||
};
|
||||
|
||||
|
||||
ListPersonDetailsResult();
|
||||
explicit ListPersonDetailsResult(const std::string &payload);
|
||||
~ListPersonDetailsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTPERSONDETAILSRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTPERSONRESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTPERSONRESULTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonResultRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPersonResultRequest();
|
||||
~ListPersonResultRequest();
|
||||
|
||||
std::string getProfession()const;
|
||||
void setProfession(const std::string& profession);
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getGender()const;
|
||||
void setGender(const std::string& gender);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getAge()const;
|
||||
void setAge(const std::string& age);
|
||||
|
||||
private:
|
||||
std::string profession_;
|
||||
std::string corpId_;
|
||||
std::string gender_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
long pageNumber_;
|
||||
long pageSize_;
|
||||
std::string age_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTPERSONRESULTREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTPERSONRESULTRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTPERSONRESULTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonResultResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string profession;
|
||||
std::string personId;
|
||||
std::string address;
|
||||
std::string transportation;
|
||||
std::string updateTime;
|
||||
std::string personType;
|
||||
std::string gender;
|
||||
std::string age;
|
||||
std::string hotSpotAddress;
|
||||
};
|
||||
|
||||
|
||||
ListPersonResultResult();
|
||||
explicit ListPersonResultResult(const std::string &payload);
|
||||
~ListPersonResultResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTPERSONRESULTRESULT_H_
|
||||
57
cdrs/include/alibabacloud/cdrs/model/ListPersonTagRequest.h
Normal file
57
cdrs/include/alibabacloud/cdrs/model/ListPersonTagRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTPERSONTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTPERSONTAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonTagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPersonTagRequest();
|
||||
~ListPersonTagRequest();
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getTagCode()const;
|
||||
void setTagCode(const std::string& tagCode);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
long pageNumber_;
|
||||
std::string tagCode_;
|
||||
long pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTPERSONTAGREQUEST_H_
|
||||
67
cdrs/include/alibabacloud/cdrs/model/ListPersonTagResult.h
Normal file
67
cdrs/include/alibabacloud/cdrs/model/ListPersonTagResult.h
Normal file
@@ -0,0 +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_CDRS_MODEL_LISTPERSONTAGRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTPERSONTAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string corpId;
|
||||
std::string value;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
|
||||
ListPersonTagResult();
|
||||
explicit ListPersonTagResult(const std::string &payload);
|
||||
~ListPersonTagResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTPERSONTAGRESULT_H_
|
||||
57
cdrs/include/alibabacloud/cdrs/model/ListPersonTopRequest.h
Normal file
57
cdrs/include/alibabacloud/cdrs/model/ListPersonTopRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTPERSONTOPREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTPERSONTOPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonTopRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPersonTopRequest();
|
||||
~ListPersonTopRequest();
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getPersonId()const;
|
||||
void setPersonId(const std::string& personId);
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string personId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTPERSONTOPREQUEST_H_
|
||||
70
cdrs/include/alibabacloud/cdrs/model/ListPersonTopResult.h
Normal file
70
cdrs/include/alibabacloud/cdrs/model/ListPersonTopResult.h
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTPERSONTOPRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTPERSONTOPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonTopResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string corpId;
|
||||
std::string personId;
|
||||
std::string frequency;
|
||||
std::string passHour;
|
||||
std::string poiName;
|
||||
std::string poiId;
|
||||
};
|
||||
|
||||
|
||||
ListPersonTopResult();
|
||||
explicit ListPersonTopResult(const std::string &payload);
|
||||
~ListPersonTopResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTPERSONTOPRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTPERSONTRACKREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTPERSONTRACKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonTrackRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPersonTrackRequest();
|
||||
~ListPersonTrackRequest();
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getPersonId()const;
|
||||
void setPersonId(const std::string& personId);
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
long pageNumber_;
|
||||
long pageSize_;
|
||||
std::string personId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTPERSONTRACKREQUEST_H_
|
||||
78
cdrs/include/alibabacloud/cdrs/model/ListPersonTrackResult.h
Normal file
78
cdrs/include/alibabacloud/cdrs/model/ListPersonTrackResult.h
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTPERSONTRACKRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTPERSONTRACKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListPersonTrackResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string order;
|
||||
std::string picUrlPath;
|
||||
std::string corpId;
|
||||
std::string rightBottomX;
|
||||
std::string targetPicUrlPath;
|
||||
std::string rightBottomY;
|
||||
std::string latitude;
|
||||
std::string leftTopY;
|
||||
std::string leftTopX;
|
||||
std::string longitude;
|
||||
std::string personId;
|
||||
std::string dataSourceName;
|
||||
std::string shotTime;
|
||||
std::string dataSourceId;
|
||||
};
|
||||
|
||||
|
||||
ListPersonTrackResult();
|
||||
explicit ListPersonTrackResult(const std::string &payload);
|
||||
~ListPersonTrackResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTPERSONTRACKRESULT_H_
|
||||
@@ -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_CDRS_MODEL_LISTRANGEDEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTRANGEDEVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListRangeDeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListRangeDeviceRequest();
|
||||
~ListRangeDeviceRequest();
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getDataSourceId()const;
|
||||
void setDataSourceId(const std::string& dataSourceId);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
int getRadius()const;
|
||||
void setRadius(int radius);
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
long pageNumber_;
|
||||
std::string dataSourceId_;
|
||||
long pageSize_;
|
||||
int radius_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTRANGEDEVICEREQUEST_H_
|
||||
72
cdrs/include/alibabacloud/cdrs/model/ListRangeDeviceResult.h
Normal file
72
cdrs/include/alibabacloud/cdrs/model/ListRangeDeviceResult.h
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTRANGEDEVICERESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTRANGEDEVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListRangeDeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string corpId;
|
||||
std::string nearPoi;
|
||||
std::string dataSourceIdPoi;
|
||||
std::string latitude;
|
||||
std::string longitude;
|
||||
std::string dataSourceId;
|
||||
std::string distance;
|
||||
std::string dataSourceIdName;
|
||||
};
|
||||
|
||||
|
||||
ListRangeDeviceResult();
|
||||
explicit ListRangeDeviceResult(const std::string &payload);
|
||||
~ListRangeDeviceResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTRANGEDEVICERESULT_H_
|
||||
@@ -14,35 +14,35 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_VOICENAVIGATOR_MODEL_DUPLICATEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_VOICENAVIGATOR_MODEL_DUPLICATEINSTANCEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTSTORAGESTATISTICSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTSTORAGESTATISTICSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/voicenavigator/VoiceNavigatorExport.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace VoiceNavigator
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_VOICENAVIGATOR_EXPORT DuplicateInstanceRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListStorageStatisticsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DuplicateInstanceRequest();
|
||||
~DuplicateInstanceRequest();
|
||||
ListStorageStatisticsRequest();
|
||||
~ListStorageStatisticsRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string corpId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VOICENAVIGATOR_MODEL_DUPLICATEINSTANCEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTSTORAGESTATISTICSREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTSTORAGESTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTSTORAGESTATISTICSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListStorageStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string totalStore;
|
||||
std::string corpId;
|
||||
std::string number;
|
||||
std::string unusedStore;
|
||||
std::string usedStore;
|
||||
};
|
||||
|
||||
|
||||
ListStorageStatisticsResult();
|
||||
explicit ListStorageStatisticsResult(const std::string &payload);
|
||||
~ListStorageStatisticsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTSTORAGESTATISTICSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTSTRUCTURESTATISTICSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTSTRUCTURESTATISTICSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListStructureStatisticsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListStructureStatisticsRequest();
|
||||
~ListStructureStatisticsRequest();
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getBackCategory()const;
|
||||
void setBackCategory(const std::string& backCategory);
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
std::string backCategory_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTSTRUCTURESTATISTICSREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTSTRUCTURESTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTSTRUCTURESTATISTICSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListStructureStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string corpId;
|
||||
std::string number;
|
||||
};
|
||||
|
||||
|
||||
ListStructureStatisticsResult();
|
||||
explicit ListStructureStatisticsResult(const std::string &payload);
|
||||
~ListStructureStatisticsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTSTRUCTURESTATISTICSRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTVEHICLEDETAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTVEHICLEDETAILSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListVehicleDetailsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListVehicleDetailsRequest();
|
||||
~ListVehicleDetailsRequest();
|
||||
|
||||
std::string getPlateId()const;
|
||||
void setPlateId(const std::string& plateId);
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getPageNumber()const;
|
||||
void setPageNumber(const std::string& pageNumber);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
|
||||
private:
|
||||
std::string plateId_;
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string pageNumber_;
|
||||
std::string pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTVEHICLEDETAILSREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTVEHICLEDETAILSRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTVEHICLEDETAILSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListVehicleDetailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string popularPoi;
|
||||
std::string sourceImageStoragePath;
|
||||
std::string popularAddress;
|
||||
std::string vehicleId;
|
||||
std::string personType;
|
||||
std::string gender;
|
||||
std::string vehicleClass;
|
||||
std::string vehicleApplication;
|
||||
std::string personId;
|
||||
std::string vehicleColor;
|
||||
std::string prefOutTime;
|
||||
std::string plateId;
|
||||
std::string targetImageStoragePath;
|
||||
};
|
||||
|
||||
|
||||
ListVehicleDetailsResult();
|
||||
explicit ListVehicleDetailsResult(const std::string &payload);
|
||||
~ListVehicleDetailsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTVEHICLEDETAILSRESULT_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTVEHICLERESULTSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTVEHICLERESULTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListVehicleResultsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListVehicleResultsRequest();
|
||||
~ListVehicleResultsRequest();
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getVehicleColor()const;
|
||||
void setVehicleColor(const std::string& vehicleColor);
|
||||
std::string getVehicleApplication()const;
|
||||
void setVehicleApplication(const std::string& vehicleApplication);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getVehicleClass()const;
|
||||
void setVehicleClass(const std::string& vehicleClass);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string vehicleColor_;
|
||||
std::string vehicleApplication_;
|
||||
long pageNumber_;
|
||||
std::string vehicleClass_;
|
||||
long pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTVEHICLERESULTSREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTVEHICLERESULTSRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTVEHICLERESULTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListVehicleResultsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string profession;
|
||||
std::string vehicleApplication;
|
||||
std::string personId;
|
||||
std::string updateTime;
|
||||
std::string vehicleId;
|
||||
std::string plateId;
|
||||
std::string gender;
|
||||
std::string vehicleClass;
|
||||
std::string liveAddress;
|
||||
};
|
||||
|
||||
|
||||
ListVehicleResultsResult();
|
||||
explicit ListVehicleResultsResult(const std::string &payload);
|
||||
~ListVehicleResultsResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTVEHICLERESULTSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETAGDISTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETAGDISTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListVehicleTagDistributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListVehicleTagDistributeRequest();
|
||||
~ListVehicleTagDistributeRequest();
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getTagCode()const;
|
||||
void setTagCode(const std::string& tagCode);
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string tagCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETAGDISTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +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_CDRS_MODEL_LISTVEHICLETAGDISTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETAGDISTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListVehicleTagDistributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string corpId;
|
||||
std::string value;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
|
||||
ListVehicleTagDistributeResult();
|
||||
explicit ListVehicleTagDistributeResult(const std::string &payload);
|
||||
~ListVehicleTagDistributeResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETAGDISTRIBUTERESULT_H_
|
||||
57
cdrs/include/alibabacloud/cdrs/model/ListVehicleTopRequest.h
Normal file
57
cdrs/include/alibabacloud/cdrs/model/ListVehicleTopRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETOPREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETOPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListVehicleTopRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListVehicleTopRequest();
|
||||
~ListVehicleTopRequest();
|
||||
|
||||
std::string getPlateId()const;
|
||||
void setPlateId(const std::string& plateId);
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
|
||||
private:
|
||||
std::string plateId_;
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETOPREQUEST_H_
|
||||
70
cdrs/include/alibabacloud/cdrs/model/ListVehicleTopResult.h
Normal file
70
cdrs/include/alibabacloud/cdrs/model/ListVehicleTopResult.h
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETOPRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETOPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListVehicleTopResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string corpId;
|
||||
std::string vehicleId;
|
||||
std::string frequency;
|
||||
std::string passHour;
|
||||
std::string poiName;
|
||||
std::string poiId;
|
||||
};
|
||||
|
||||
|
||||
ListVehicleTopResult();
|
||||
explicit ListVehicleTopResult(const std::string &payload);
|
||||
~ListVehicleTopResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETOPRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETRACKREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETRACKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListVehicleTrackRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListVehicleTrackRequest();
|
||||
~ListVehicleTrackRequest();
|
||||
|
||||
std::string getPlateId()const;
|
||||
void setPlateId(const std::string& plateId);
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
|
||||
private:
|
||||
std::string plateId_;
|
||||
std::string corpId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETRACKREQUEST_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_LISTVEHICLETRACKRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETRACKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT ListVehicleTrackResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datas
|
||||
{
|
||||
std::string order;
|
||||
std::string picUrlPath;
|
||||
std::string corpId;
|
||||
std::string rightBottomX;
|
||||
std::string targetPicUrlPath;
|
||||
std::string rightBottomY;
|
||||
std::string passTime;
|
||||
std::string latitude;
|
||||
std::string leftTopY;
|
||||
std::string leftTopX;
|
||||
std::string longitude;
|
||||
std::string dataSourceName;
|
||||
std::string plateId;
|
||||
std::string dataSourceId;
|
||||
};
|
||||
|
||||
|
||||
ListVehicleTrackResult();
|
||||
explicit ListVehicleTrackResult(const std::string &payload);
|
||||
~ListVehicleTrackResult();
|
||||
long getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<Datas> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<Datas> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTVEHICLETRACKRESULT_H_
|
||||
57
cdrs/include/alibabacloud/cdrs/model/RecognizeImageRequest.h
Normal file
57
cdrs/include/alibabacloud/cdrs/model/RecognizeImageRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_RECOGNIZEIMAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_RECOGNIZEIMAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT RecognizeImageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RecognizeImageRequest();
|
||||
~RecognizeImageRequest();
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getVendor()const;
|
||||
void setVendor(const std::string& vendor);
|
||||
std::string getImageUrl()const;
|
||||
void setImageUrl(const std::string& imageUrl);
|
||||
std::string getImageContent()const;
|
||||
void setImageContent(const std::string& imageContent);
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
std::string vendor_;
|
||||
std::string imageUrl_;
|
||||
std::string imageContent_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_RECOGNIZEIMAGEREQUEST_H_
|
||||
80
cdrs/include/alibabacloud/cdrs/model/RecognizeImageResult.h
Normal file
80
cdrs/include/alibabacloud/cdrs/model/RecognizeImageResult.h
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDRS_MODEL_RECOGNIZEIMAGERESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_RECOGNIZEIMAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT RecognizeImageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct BodyListItem
|
||||
{
|
||||
int rightBottomX;
|
||||
int rightBottomY;
|
||||
int leftTopY;
|
||||
int leftTopX;
|
||||
std::string feature;
|
||||
};
|
||||
struct FaceListItem
|
||||
{
|
||||
float faceQuality;
|
||||
int rightBottomX;
|
||||
int rightBottomY;
|
||||
float faceKeyPointQuality;
|
||||
int leftTopY;
|
||||
int leftTopX;
|
||||
std::string feature;
|
||||
};
|
||||
std::vector<BodyListItem> bodyList;
|
||||
std::vector<FaceListItem> faceList;
|
||||
};
|
||||
|
||||
|
||||
RecognizeImageResult();
|
||||
explicit RecognizeImageResult(const std::string &payload);
|
||||
~RecognizeImageResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
std::string getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
std::string success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_RECOGNIZEIMAGERESULT_H_
|
||||
81
cdrs/include/alibabacloud/cdrs/model/SearchObjectRequest.h
Normal file
81
cdrs/include/alibabacloud/cdrs/model/SearchObjectRequest.h
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_SEARCHOBJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_SEARCHOBJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT SearchObjectRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SearchObjectRequest();
|
||||
~SearchObjectRequest();
|
||||
|
||||
std::string getShotTimeEnd()const;
|
||||
void setShotTimeEnd(const std::string& shotTimeEnd);
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getFeature()const;
|
||||
void setFeature(const std::string& feature);
|
||||
std::string getVendor()const;
|
||||
void setVendor(const std::string& vendor);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getImageContent()const;
|
||||
void setImageContent(const std::string& imageContent);
|
||||
std::string getObjectType()const;
|
||||
void setObjectType(const std::string& objectType);
|
||||
std::string getDeviceList()const;
|
||||
void setDeviceList(const std::string& deviceList);
|
||||
std::string getImageUrl()const;
|
||||
void setImageUrl(const std::string& imageUrl);
|
||||
std::string getAttributes()const;
|
||||
void setAttributes(const std::string& attributes);
|
||||
std::string getShotTimeStart()const;
|
||||
void setShotTimeStart(const std::string& shotTimeStart);
|
||||
|
||||
private:
|
||||
std::string shotTimeEnd_;
|
||||
std::string corpId_;
|
||||
int pageNumber_;
|
||||
std::string feature_;
|
||||
std::string vendor_;
|
||||
int pageSize_;
|
||||
std::string imageContent_;
|
||||
std::string objectType_;
|
||||
std::string deviceList_;
|
||||
std::string imageUrl_;
|
||||
std::string attributes_;
|
||||
std::string shotTimeStart_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_SEARCHOBJECTREQUEST_H_
|
||||
120
cdrs/include/alibabacloud/cdrs/model/SearchObjectResult.h
Normal file
120
cdrs/include/alibabacloud/cdrs/model/SearchObjectResult.h
Normal file
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* 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_CDRS_MODEL_SEARCHOBJECTRESULT_H_
|
||||
#define ALIBABACLOUD_CDRS_MODEL_SEARCHOBJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CDRS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDRS_EXPORT SearchObjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct BodyListItem
|
||||
{
|
||||
std::string objectType;
|
||||
std::string targetImageUrl;
|
||||
float score;
|
||||
int rightBottomX;
|
||||
std::string deviceID;
|
||||
int rightBottomY;
|
||||
std::string shotTime;
|
||||
std::string sourceImageUrl;
|
||||
int leftTopY;
|
||||
int leftTopX;
|
||||
};
|
||||
struct FaceListItem
|
||||
{
|
||||
std::string objectType;
|
||||
std::string targetImageUrl;
|
||||
float score;
|
||||
int rightBottomX;
|
||||
std::string deviceID;
|
||||
int rightBottomY;
|
||||
std::string shotTime;
|
||||
std::string sourceImageUrl;
|
||||
int leftTopY;
|
||||
int leftTopX;
|
||||
};
|
||||
struct MotorListItem
|
||||
{
|
||||
std::string objectType;
|
||||
std::string targetImageUrl;
|
||||
float score;
|
||||
int rightBottomX;
|
||||
std::string deviceID;
|
||||
int rightBottomY;
|
||||
std::string shotTime;
|
||||
std::string sourceImageUrl;
|
||||
int leftTopY;
|
||||
int leftTopX;
|
||||
};
|
||||
struct NonMotorListItem
|
||||
{
|
||||
std::string objectType;
|
||||
std::string targetImageUrl;
|
||||
int score;
|
||||
int rightBottomX;
|
||||
std::string deviceID;
|
||||
int rightBottomY;
|
||||
std::string shotTime;
|
||||
std::string sourceImageUrl;
|
||||
int leftTopY;
|
||||
int leftTopX;
|
||||
};
|
||||
std::vector<NonMotorListItem> nonMotorList;
|
||||
std::vector<BodyListItem> bodyList;
|
||||
std::vector<FaceListItem> faceList;
|
||||
std::vector<MotorListItem> motorList;
|
||||
};
|
||||
|
||||
|
||||
SearchObjectResult();
|
||||
explicit SearchObjectResult(const std::string &payload);
|
||||
~SearchObjectResult();
|
||||
std::string getMessage()const;
|
||||
long getPageSize()const;
|
||||
int getTotal()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long pageSize_;
|
||||
int total_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDRS_MODEL_SEARCHOBJECTRESULT_H_
|
||||
1061
cdrs/src/CDRSClient.cc
Normal file
1061
cdrs/src/CDRSClient.cc
Normal file
File diff suppressed because it is too large
Load Diff
62
cdrs/src/model/ListCityMapAoisRequest.cc
Normal file
62
cdrs/src/model/ListCityMapAoisRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListCityMapAoisRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListCityMapAoisRequest;
|
||||
|
||||
ListCityMapAoisRequest::ListCityMapAoisRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListCityMapAois")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListCityMapAoisRequest::~ListCityMapAoisRequest()
|
||||
{}
|
||||
|
||||
std::string ListCityMapAoisRequest::getLatitude()const
|
||||
{
|
||||
return latitude_;
|
||||
}
|
||||
|
||||
void ListCityMapAoisRequest::setLatitude(const std::string& latitude)
|
||||
{
|
||||
latitude_ = latitude;
|
||||
setBodyParameter("Latitude", latitude);
|
||||
}
|
||||
|
||||
int ListCityMapAoisRequest::getRadius()const
|
||||
{
|
||||
return radius_;
|
||||
}
|
||||
|
||||
void ListCityMapAoisRequest::setRadius(int radius)
|
||||
{
|
||||
radius_ = radius;
|
||||
setBodyParameter("Radius", std::to_string(radius));
|
||||
}
|
||||
|
||||
std::string ListCityMapAoisRequest::getLongitude()const
|
||||
{
|
||||
return longitude_;
|
||||
}
|
||||
|
||||
void ListCityMapAoisRequest::setLongitude(const std::string& longitude)
|
||||
{
|
||||
longitude_ = longitude;
|
||||
setBodyParameter("Longitude", longitude);
|
||||
}
|
||||
|
||||
80
cdrs/src/model/ListCityMapAoisResult.cc
Normal file
80
cdrs/src/model/ListCityMapAoisResult.cc
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListCityMapAoisResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListCityMapAoisResult::ListCityMapAoisResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCityMapAoisResult::ListCityMapAoisResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCityMapAoisResult::~ListCityMapAoisResult()
|
||||
{}
|
||||
|
||||
void ListCityMapAoisResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["Id"].isNull())
|
||||
dataObject.id = valueDataDatas["Id"].asString();
|
||||
if(!valueDataDatas["Value"].isNull())
|
||||
dataObject.value = valueDataDatas["Value"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListCityMapAoisResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListCityMapAoisResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<ListCityMapAoisResult::Datas> ListCityMapAoisResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListCityMapAoisResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
62
cdrs/src/model/ListCityMapCameraResultsRequest.cc
Normal file
62
cdrs/src/model/ListCityMapCameraResultsRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListCityMapCameraResultsRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListCityMapCameraResultsRequest;
|
||||
|
||||
ListCityMapCameraResultsRequest::ListCityMapCameraResultsRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListCityMapCameraResults")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListCityMapCameraResultsRequest::~ListCityMapCameraResultsRequest()
|
||||
{}
|
||||
|
||||
long ListCityMapCameraResultsRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void ListCityMapCameraResultsRequest::setPageNum(long pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setBodyParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::map<std::string, std::string> ListCityMapCameraResultsRequest::getDataSourceIdList()const
|
||||
{
|
||||
return dataSourceIdList_;
|
||||
}
|
||||
|
||||
void ListCityMapCameraResultsRequest::setDataSourceIdList(const std::map<std::string, std::string>& dataSourceIdList)
|
||||
{
|
||||
dataSourceIdList_ = dataSourceIdList;
|
||||
setJsonParameters("DataSourceIdList", dataSourceIdList);
|
||||
}
|
||||
|
||||
long ListCityMapCameraResultsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListCityMapCameraResultsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
104
cdrs/src/model/ListCityMapCameraResultsResult.cc
Normal file
104
cdrs/src/model/ListCityMapCameraResultsResult.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListCityMapCameraResultsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListCityMapCameraResultsResult::ListCityMapCameraResultsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCityMapCameraResultsResult::ListCityMapCameraResultsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCityMapCameraResultsResult::~ListCityMapCameraResultsResult()
|
||||
{}
|
||||
|
||||
void ListCityMapCameraResultsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["DataSourceId"].isNull())
|
||||
dataObject.dataSourceId = valueDataDatas["DataSourceId"].asString();
|
||||
if(!valueDataDatas["Latitude"].isNull())
|
||||
dataObject.latitude = valueDataDatas["Latitude"].asString();
|
||||
if(!valueDataDatas["Longitude"].isNull())
|
||||
dataObject.longitude = valueDataDatas["Longitude"].asString();
|
||||
if(!valueDataDatas["NearPoi"].isNull())
|
||||
dataObject.nearPoi = valueDataDatas["NearPoi"].asString();
|
||||
if(!valueDataDatas["DataSourcePoi"].isNull())
|
||||
dataObject.dataSourcePoi = valueDataDatas["DataSourcePoi"].asString();
|
||||
if(!valueDataDatas["DataSourceName"].isNull())
|
||||
dataObject.dataSourceName = valueDataDatas["DataSourceName"].asString();
|
||||
if(!valueDataDatas["CorpId"].isNull())
|
||||
dataObject.corpId = valueDataDatas["CorpId"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
if(!value["PageNum"].isNull())
|
||||
pageNum_ = value["PageNum"].asString();
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = value["PageSize"].asString();
|
||||
|
||||
}
|
||||
|
||||
long ListCityMapCameraResultsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListCityMapCameraResultsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string ListCityMapCameraResultsResult::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
std::string ListCityMapCameraResultsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::vector<ListCityMapCameraResultsResult::Datas> ListCityMapCameraResultsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListCityMapCameraResultsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
84
cdrs/src/model/ListCityMapCameraStatisticsRequest.cc
Normal file
84
cdrs/src/model/ListCityMapCameraStatisticsRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListCityMapCameraStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListCityMapCameraStatisticsRequest;
|
||||
|
||||
ListCityMapCameraStatisticsRequest::ListCityMapCameraStatisticsRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListCityMapCameraStatistics")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListCityMapCameraStatisticsRequest::~ListCityMapCameraStatisticsRequest()
|
||||
{}
|
||||
|
||||
std::string ListCityMapCameraStatisticsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListCityMapCameraStatisticsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string ListCityMapCameraStatisticsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListCityMapCameraStatisticsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long ListCityMapCameraStatisticsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListCityMapCameraStatisticsRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListCityMapCameraStatisticsRequest::getDataSourceIdList()const
|
||||
{
|
||||
return dataSourceIdList_;
|
||||
}
|
||||
|
||||
void ListCityMapCameraStatisticsRequest::setDataSourceIdList(const std::string& dataSourceIdList)
|
||||
{
|
||||
dataSourceIdList_ = dataSourceIdList;
|
||||
setBodyParameter("DataSourceIdList", dataSourceIdList);
|
||||
}
|
||||
|
||||
long ListCityMapCameraStatisticsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListCityMapCameraStatisticsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
114
cdrs/src/model/ListCityMapCameraStatisticsResult.cc
Normal file
114
cdrs/src/model/ListCityMapCameraStatisticsResult.cc
Normal file
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListCityMapCameraStatisticsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListCityMapCameraStatisticsResult::ListCityMapCameraStatisticsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCityMapCameraStatisticsResult::ListCityMapCameraStatisticsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCityMapCameraStatisticsResult::~ListCityMapCameraStatisticsResult()
|
||||
{}
|
||||
|
||||
void ListCityMapCameraStatisticsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["DataSourceId"].isNull())
|
||||
dataObject.dataSourceId = valueDataDatas["DataSourceId"].asString();
|
||||
if(!valueDataDatas["Latitude"].isNull())
|
||||
dataObject.latitude = valueDataDatas["Latitude"].asString();
|
||||
if(!valueDataDatas["Longitude"].isNull())
|
||||
dataObject.longitude = valueDataDatas["Longitude"].asString();
|
||||
if(!valueDataDatas["DataSourceName"].isNull())
|
||||
dataObject.dataSourceName = valueDataDatas["DataSourceName"].asString();
|
||||
if(!valueDataDatas["CorpId"].isNull())
|
||||
dataObject.corpId = valueDataDatas["CorpId"].asString();
|
||||
if(!valueDataDatas["AdultValue"].isNull())
|
||||
dataObject.adultValue = valueDataDatas["AdultValue"].asString();
|
||||
if(!valueDataDatas["WomanValue"].isNull())
|
||||
dataObject.womanValue = valueDataDatas["WomanValue"].asString();
|
||||
if(!valueDataDatas["MotorValue"].isNull())
|
||||
dataObject.motorValue = valueDataDatas["MotorValue"].asString();
|
||||
if(!valueDataDatas["ManValue"].isNull())
|
||||
dataObject.manValue = valueDataDatas["ManValue"].asString();
|
||||
if(!valueDataDatas["OldValue"].isNull())
|
||||
dataObject.oldValue = valueDataDatas["OldValue"].asString();
|
||||
if(!valueDataDatas["ChildValue"].isNull())
|
||||
dataObject.childValue = valueDataDatas["ChildValue"].asString();
|
||||
if(!valueDataDatas["StatisticTime"].isNull())
|
||||
dataObject.statisticTime = valueDataDatas["StatisticTime"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListCityMapCameraStatisticsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListCityMapCameraStatisticsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListCityMapCameraStatisticsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListCityMapCameraStatisticsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListCityMapCameraStatisticsResult::Datas> ListCityMapCameraStatisticsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListCityMapCameraStatisticsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
62
cdrs/src/model/ListCityMapImageDetailsRequest.cc
Normal file
62
cdrs/src/model/ListCityMapImageDetailsRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListCityMapImageDetailsRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListCityMapImageDetailsRequest;
|
||||
|
||||
ListCityMapImageDetailsRequest::ListCityMapImageDetailsRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListCityMapImageDetails")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListCityMapImageDetailsRequest::~ListCityMapImageDetailsRequest()
|
||||
{}
|
||||
|
||||
std::string ListCityMapImageDetailsRequest::getTimeInterval()const
|
||||
{
|
||||
return timeInterval_;
|
||||
}
|
||||
|
||||
void ListCityMapImageDetailsRequest::setTimeInterval(const std::string& timeInterval)
|
||||
{
|
||||
timeInterval_ = timeInterval;
|
||||
setBodyParameter("TimeInterval", timeInterval);
|
||||
}
|
||||
|
||||
long ListCityMapImageDetailsRequest::getRecordNumber()const
|
||||
{
|
||||
return recordNumber_;
|
||||
}
|
||||
|
||||
void ListCityMapImageDetailsRequest::setRecordNumber(long recordNumber)
|
||||
{
|
||||
recordNumber_ = recordNumber;
|
||||
setBodyParameter("RecordNumber", std::to_string(recordNumber));
|
||||
}
|
||||
|
||||
std::string ListCityMapImageDetailsRequest::getDataSourceId()const
|
||||
{
|
||||
return dataSourceId_;
|
||||
}
|
||||
|
||||
void ListCityMapImageDetailsRequest::setDataSourceId(const std::string& dataSourceId)
|
||||
{
|
||||
dataSourceId_ = dataSourceId;
|
||||
setBodyParameter("DataSourceId", dataSourceId);
|
||||
}
|
||||
|
||||
140
cdrs/src/model/ListCityMapImageDetailsResult.cc
Normal file
140
cdrs/src/model/ListCityMapImageDetailsResult.cc
Normal file
@@ -0,0 +1,140 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListCityMapImageDetailsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListCityMapImageDetailsResult::ListCityMapImageDetailsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCityMapImageDetailsResult::ListCityMapImageDetailsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCityMapImageDetailsResult::~ListCityMapImageDetailsResult()
|
||||
{}
|
||||
|
||||
void ListCityMapImageDetailsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["PersonTargetImageStoragePath"].isNull())
|
||||
dataObject.personTargetImageStoragePath = valueDataDatas["PersonTargetImageStoragePath"].asString();
|
||||
if(!valueDataDatas["AgeLowerLimit"].isNull())
|
||||
dataObject.ageLowerLimit = valueDataDatas["AgeLowerLimit"].asString();
|
||||
if(!valueDataDatas["AgeUpLimit"].isNull())
|
||||
dataObject.ageUpLimit = valueDataDatas["AgeUpLimit"].asString();
|
||||
if(!valueDataDatas["VehicleColor"].isNull())
|
||||
dataObject.vehicleColor = valueDataDatas["VehicleColor"].asString();
|
||||
if(!valueDataDatas["TrousersColor"].isNull())
|
||||
dataObject.trousersColor = valueDataDatas["TrousersColor"].asString();
|
||||
if(!valueDataDatas["DataSourceId"].isNull())
|
||||
dataObject.dataSourceId = valueDataDatas["DataSourceId"].asString();
|
||||
if(!valueDataDatas["Gender"].isNull())
|
||||
dataObject.gender = valueDataDatas["Gender"].asString();
|
||||
if(!valueDataDatas["AgeLowerLimitReliability"].isNull())
|
||||
dataObject.ageLowerLimitReliability = valueDataDatas["AgeLowerLimitReliability"].asString();
|
||||
if(!valueDataDatas["GenderCodeReliability"].isNull())
|
||||
dataObject.genderCodeReliability = valueDataDatas["GenderCodeReliability"].asString();
|
||||
if(!valueDataDatas["VehicleClassReliability"].isNull())
|
||||
dataObject.vehicleClassReliability = valueDataDatas["VehicleClassReliability"].asString();
|
||||
if(!valueDataDatas["RecordId"].isNull())
|
||||
dataObject.recordId = valueDataDatas["RecordId"].asString();
|
||||
if(!valueDataDatas["AgeCodeReliability"].isNull())
|
||||
dataObject.ageCodeReliability = valueDataDatas["AgeCodeReliability"].asString();
|
||||
if(!valueDataDatas["SourceImageStoragePath"].isNull())
|
||||
dataObject.sourceImageStoragePath = valueDataDatas["SourceImageStoragePath"].asString();
|
||||
if(!valueDataDatas["VehicleClass"].isNull())
|
||||
dataObject.vehicleClass = valueDataDatas["VehicleClass"].asString();
|
||||
if(!valueDataDatas["MotorTargetImageStoragePath"].isNull())
|
||||
dataObject.motorTargetImageStoragePath = valueDataDatas["MotorTargetImageStoragePath"].asString();
|
||||
if(!valueDataDatas["CoatColor"].isNull())
|
||||
dataObject.coatColor = valueDataDatas["CoatColor"].asString();
|
||||
if(!valueDataDatas["FaceTargetImageStoragePath"].isNull())
|
||||
dataObject.faceTargetImageStoragePath = valueDataDatas["FaceTargetImageStoragePath"].asString();
|
||||
if(!valueDataDatas["ShotTime"].isNull())
|
||||
dataObject.shotTime = valueDataDatas["ShotTime"].asString();
|
||||
if(!valueDataDatas["VehicleColorReliability"].isNull())
|
||||
dataObject.vehicleColorReliability = valueDataDatas["VehicleColorReliability"].asString();
|
||||
if(!valueDataDatas["TrousersColorReliability"].isNull())
|
||||
dataObject.trousersColorReliability = valueDataDatas["TrousersColorReliability"].asString();
|
||||
if(!valueDataDatas["CoatColorReliability"].isNull())
|
||||
dataObject.coatColorReliability = valueDataDatas["CoatColorReliability"].asString();
|
||||
if(!valueDataDatas["LeftTopX"].isNull())
|
||||
dataObject.leftTopX = valueDataDatas["LeftTopX"].asString();
|
||||
if(!valueDataDatas["LeftTopY"].isNull())
|
||||
dataObject.leftTopY = valueDataDatas["LeftTopY"].asString();
|
||||
if(!valueDataDatas["RightBottomX"].isNull())
|
||||
dataObject.rightBottomX = valueDataDatas["RightBottomX"].asString();
|
||||
if(!valueDataDatas["RightBottomY"].isNull())
|
||||
dataObject.rightBottomY = valueDataDatas["RightBottomY"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListCityMapImageDetailsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListCityMapImageDetailsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListCityMapImageDetailsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListCityMapImageDetailsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListCityMapImageDetailsResult::Datas> ListCityMapImageDetailsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListCityMapImageDetailsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
106
cdrs/src/model/ListCityMapPersonFlowRequest.cc
Normal file
106
cdrs/src/model/ListCityMapPersonFlowRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListCityMapPersonFlowRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListCityMapPersonFlowRequest;
|
||||
|
||||
ListCityMapPersonFlowRequest::ListCityMapPersonFlowRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListCityMapPersonFlow")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListCityMapPersonFlowRequest::~ListCityMapPersonFlowRequest()
|
||||
{}
|
||||
|
||||
std::string ListCityMapPersonFlowRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListCityMapPersonFlowRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string ListCityMapPersonFlowRequest::getRange()const
|
||||
{
|
||||
return range_;
|
||||
}
|
||||
|
||||
void ListCityMapPersonFlowRequest::setRange(const std::string& range)
|
||||
{
|
||||
range_ = range;
|
||||
setBodyParameter("Range", range);
|
||||
}
|
||||
|
||||
std::string ListCityMapPersonFlowRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListCityMapPersonFlowRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::map<std::string, std::string> ListCityMapPersonFlowRequest::getOriginDataSourceIdList()const
|
||||
{
|
||||
return originDataSourceIdList_;
|
||||
}
|
||||
|
||||
void ListCityMapPersonFlowRequest::setOriginDataSourceIdList(const std::map<std::string, std::string>& originDataSourceIdList)
|
||||
{
|
||||
originDataSourceIdList_ = originDataSourceIdList;
|
||||
setJsonParameters("OriginDataSourceIdList", originDataSourceIdList);
|
||||
}
|
||||
|
||||
long ListCityMapPersonFlowRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListCityMapPersonFlowRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListCityMapPersonFlowRequest::getTargetDataSourceIdList()const
|
||||
{
|
||||
return targetDataSourceIdList_;
|
||||
}
|
||||
|
||||
void ListCityMapPersonFlowRequest::setTargetDataSourceIdList(const std::string& targetDataSourceIdList)
|
||||
{
|
||||
targetDataSourceIdList_ = targetDataSourceIdList;
|
||||
setBodyParameter("TargetDataSourceIdList", targetDataSourceIdList);
|
||||
}
|
||||
|
||||
long ListCityMapPersonFlowRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListCityMapPersonFlowRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
98
cdrs/src/model/ListCityMapPersonFlowResult.cc
Normal file
98
cdrs/src/model/ListCityMapPersonFlowResult.cc
Normal file
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListCityMapPersonFlowResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListCityMapPersonFlowResult::ListCityMapPersonFlowResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCityMapPersonFlowResult::ListCityMapPersonFlowResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCityMapPersonFlowResult::~ListCityMapPersonFlowResult()
|
||||
{}
|
||||
|
||||
void ListCityMapPersonFlowResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["OriginDataSourceId"].isNull())
|
||||
dataObject.originDataSourceId = valueDataDatas["OriginDataSourceId"].asString();
|
||||
if(!valueDataDatas["TargetDataSourceId"].isNull())
|
||||
dataObject.targetDataSourceId = valueDataDatas["TargetDataSourceId"].asString();
|
||||
if(!valueDataDatas["FlowNumber"].isNull())
|
||||
dataObject.flowNumber = valueDataDatas["FlowNumber"].asString();
|
||||
if(!valueDataDatas["FlowDirection"].isNull())
|
||||
dataObject.flowDirection = valueDataDatas["FlowDirection"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListCityMapPersonFlowResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListCityMapPersonFlowResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListCityMapPersonFlowResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListCityMapPersonFlowResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListCityMapPersonFlowResult::Datas> ListCityMapPersonFlowResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListCityMapPersonFlowResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
95
cdrs/src/model/ListCityMapRangeStatisticRequest.cc
Normal file
95
cdrs/src/model/ListCityMapRangeStatisticRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListCityMapRangeStatisticRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListCityMapRangeStatisticRequest;
|
||||
|
||||
ListCityMapRangeStatisticRequest::ListCityMapRangeStatisticRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListCityMapRangeStatistic")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListCityMapRangeStatisticRequest::~ListCityMapRangeStatisticRequest()
|
||||
{}
|
||||
|
||||
std::string ListCityMapRangeStatisticRequest::getLatitude()const
|
||||
{
|
||||
return latitude_;
|
||||
}
|
||||
|
||||
void ListCityMapRangeStatisticRequest::setLatitude(const std::string& latitude)
|
||||
{
|
||||
latitude_ = latitude;
|
||||
setBodyParameter("Latitude", latitude);
|
||||
}
|
||||
|
||||
std::string ListCityMapRangeStatisticRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListCityMapRangeStatisticRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long ListCityMapRangeStatisticRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListCityMapRangeStatisticRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
long ListCityMapRangeStatisticRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListCityMapRangeStatisticRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int ListCityMapRangeStatisticRequest::getRadius()const
|
||||
{
|
||||
return radius_;
|
||||
}
|
||||
|
||||
void ListCityMapRangeStatisticRequest::setRadius(int radius)
|
||||
{
|
||||
radius_ = radius;
|
||||
setBodyParameter("Radius", std::to_string(radius));
|
||||
}
|
||||
|
||||
std::string ListCityMapRangeStatisticRequest::getLongitude()const
|
||||
{
|
||||
return longitude_;
|
||||
}
|
||||
|
||||
void ListCityMapRangeStatisticRequest::setLongitude(const std::string& longitude)
|
||||
{
|
||||
longitude_ = longitude;
|
||||
setBodyParameter("Longitude", longitude);
|
||||
}
|
||||
|
||||
112
cdrs/src/model/ListCityMapRangeStatisticResult.cc
Normal file
112
cdrs/src/model/ListCityMapRangeStatisticResult.cc
Normal file
@@ -0,0 +1,112 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListCityMapRangeStatisticResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListCityMapRangeStatisticResult::ListCityMapRangeStatisticResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCityMapRangeStatisticResult::ListCityMapRangeStatisticResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCityMapRangeStatisticResult::~ListCityMapRangeStatisticResult()
|
||||
{}
|
||||
|
||||
void ListCityMapRangeStatisticResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["DataSourceId"].isNull())
|
||||
dataObject.dataSourceId = valueDataDatas["DataSourceId"].asString();
|
||||
if(!valueDataDatas["Latitude"].isNull())
|
||||
dataObject.latitude = valueDataDatas["Latitude"].asString();
|
||||
if(!valueDataDatas["Longitude"].isNull())
|
||||
dataObject.longitude = valueDataDatas["Longitude"].asString();
|
||||
if(!valueDataDatas["DataSourceName"].isNull())
|
||||
dataObject.dataSourceName = valueDataDatas["DataSourceName"].asString();
|
||||
if(!valueDataDatas["CorpId"].isNull())
|
||||
dataObject.corpId = valueDataDatas["CorpId"].asString();
|
||||
if(!valueDataDatas["AdultValue"].isNull())
|
||||
dataObject.adultValue = valueDataDatas["AdultValue"].asString();
|
||||
if(!valueDataDatas["WomanValue"].isNull())
|
||||
dataObject.womanValue = valueDataDatas["WomanValue"].asString();
|
||||
if(!valueDataDatas["MotorValue"].isNull())
|
||||
dataObject.motorValue = valueDataDatas["MotorValue"].asString();
|
||||
if(!valueDataDatas["ManValue"].isNull())
|
||||
dataObject.manValue = valueDataDatas["ManValue"].asString();
|
||||
if(!valueDataDatas["OldValue"].isNull())
|
||||
dataObject.oldValue = valueDataDatas["OldValue"].asString();
|
||||
if(!valueDataDatas["ChildValue"].isNull())
|
||||
dataObject.childValue = valueDataDatas["ChildValue"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListCityMapRangeStatisticResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListCityMapRangeStatisticResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListCityMapRangeStatisticResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListCityMapRangeStatisticResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListCityMapRangeStatisticResult::Datas> ListCityMapRangeStatisticResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListCityMapRangeStatisticResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
62
cdrs/src/model/ListDataStatisticsByDayRequest.cc
Normal file
62
cdrs/src/model/ListDataStatisticsByDayRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListDataStatisticsByDayRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListDataStatisticsByDayRequest;
|
||||
|
||||
ListDataStatisticsByDayRequest::ListDataStatisticsByDayRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListDataStatisticsByDay")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListDataStatisticsByDayRequest::~ListDataStatisticsByDayRequest()
|
||||
{}
|
||||
|
||||
std::string ListDataStatisticsByDayRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
}
|
||||
|
||||
void ListDataStatisticsByDayRequest::setCorpId(const std::string& corpId)
|
||||
{
|
||||
corpId_ = corpId;
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
std::string ListDataStatisticsByDayRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListDataStatisticsByDayRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string ListDataStatisticsByDayRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListDataStatisticsByDayRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
104
cdrs/src/model/ListDataStatisticsByDayResult.cc
Normal file
104
cdrs/src/model/ListDataStatisticsByDayResult.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListDataStatisticsByDayResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListDataStatisticsByDayResult::ListDataStatisticsByDayResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListDataStatisticsByDayResult::ListDataStatisticsByDayResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListDataStatisticsByDayResult::~ListDataStatisticsByDayResult()
|
||||
{}
|
||||
|
||||
void ListDataStatisticsByDayResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["Date"].isNull())
|
||||
dataObject.date = valueDataDatas["Date"].asString();
|
||||
if(!valueDataDatas["CorpId"].isNull())
|
||||
dataObject.corpId = valueDataDatas["CorpId"].asString();
|
||||
if(!valueDataDatas["FaceNumber"].isNull())
|
||||
dataObject.faceNumber = std::stoi(valueDataDatas["FaceNumber"].asString());
|
||||
if(!valueDataDatas["BodyNumber"].isNull())
|
||||
dataObject.bodyNumber = std::stoi(valueDataDatas["BodyNumber"].asString());
|
||||
if(!valueDataDatas["MotorNumber"].isNull())
|
||||
dataObject.motorNumber = std::stoi(valueDataDatas["MotorNumber"].asString());
|
||||
if(!valueDataDatas["NonMotorNumber"].isNull())
|
||||
dataObject.nonMotorNumber = std::stoi(valueDataDatas["NonMotorNumber"].asString());
|
||||
if(!valueDataDatas["TotalNumber"].isNull())
|
||||
dataObject.totalNumber = std::stoi(valueDataDatas["TotalNumber"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListDataStatisticsByDayResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListDataStatisticsByDayResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListDataStatisticsByDayResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListDataStatisticsByDayResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListDataStatisticsByDayResult::Datas> ListDataStatisticsByDayResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListDataStatisticsByDayResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
51
cdrs/src/model/ListDataStatisticsRequest.cc
Normal file
51
cdrs/src/model/ListDataStatisticsRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListDataStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListDataStatisticsRequest;
|
||||
|
||||
ListDataStatisticsRequest::ListDataStatisticsRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListDataStatistics")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListDataStatisticsRequest::~ListDataStatisticsRequest()
|
||||
{}
|
||||
|
||||
std::string ListDataStatisticsRequest::getSchema()const
|
||||
{
|
||||
return schema_;
|
||||
}
|
||||
|
||||
void ListDataStatisticsRequest::setSchema(const std::string& schema)
|
||||
{
|
||||
schema_ = schema;
|
||||
setBodyParameter("Schema", schema);
|
||||
}
|
||||
|
||||
std::string ListDataStatisticsRequest::getBackCategory()const
|
||||
{
|
||||
return backCategory_;
|
||||
}
|
||||
|
||||
void ListDataStatisticsRequest::setBackCategory(const std::string& backCategory)
|
||||
{
|
||||
backCategory_ = backCategory;
|
||||
setBodyParameter("BackCategory", backCategory);
|
||||
}
|
||||
|
||||
94
cdrs/src/model/ListDataStatisticsResult.cc
Normal file
94
cdrs/src/model/ListDataStatisticsResult.cc
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListDataStatisticsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListDataStatisticsResult::ListDataStatisticsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListDataStatisticsResult::ListDataStatisticsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListDataStatisticsResult::~ListDataStatisticsResult()
|
||||
{}
|
||||
|
||||
void ListDataStatisticsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["CorpId"].isNull())
|
||||
dataObject.corpId = valueDataDatas["CorpId"].asString();
|
||||
if(!valueDataDatas["Number"].isNull())
|
||||
dataObject.number = valueDataDatas["Number"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListDataStatisticsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListDataStatisticsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListDataStatisticsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListDataStatisticsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListDataStatisticsResult::Datas> ListDataStatisticsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListDataStatisticsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
73
cdrs/src/model/ListDeviceDetailRequest.cc
Normal file
73
cdrs/src/model/ListDeviceDetailRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListDeviceDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListDeviceDetailRequest;
|
||||
|
||||
ListDeviceDetailRequest::ListDeviceDetailRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListDeviceDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListDeviceDetailRequest::~ListDeviceDetailRequest()
|
||||
{}
|
||||
|
||||
std::string ListDeviceDetailRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
}
|
||||
|
||||
void ListDeviceDetailRequest::setCorpId(const std::string& corpId)
|
||||
{
|
||||
corpId_ = corpId;
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
long ListDeviceDetailRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListDeviceDetailRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListDeviceDetailRequest::getDataSourceId()const
|
||||
{
|
||||
return dataSourceId_;
|
||||
}
|
||||
|
||||
void ListDeviceDetailRequest::setDataSourceId(const std::string& dataSourceId)
|
||||
{
|
||||
dataSourceId_ = dataSourceId;
|
||||
setBodyParameter("DataSourceId", dataSourceId);
|
||||
}
|
||||
|
||||
long ListDeviceDetailRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListDeviceDetailRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
104
cdrs/src/model/ListDeviceDetailResult.cc
Normal file
104
cdrs/src/model/ListDeviceDetailResult.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListDeviceDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListDeviceDetailResult::ListDeviceDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListDeviceDetailResult::ListDeviceDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListDeviceDetailResult::~ListDeviceDetailResult()
|
||||
{}
|
||||
|
||||
void ListDeviceDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["DataSourceId"].isNull())
|
||||
dataObject.dataSourceId = valueDataDatas["DataSourceId"].asString();
|
||||
if(!valueDataDatas["CorpId"].isNull())
|
||||
dataObject.corpId = valueDataDatas["CorpId"].asString();
|
||||
if(!valueDataDatas["DataSourceName"].isNull())
|
||||
dataObject.dataSourceName = valueDataDatas["DataSourceName"].asString();
|
||||
if(!valueDataDatas["DataSourcePoi"].isNull())
|
||||
dataObject.dataSourcePoi = valueDataDatas["DataSourcePoi"].asString();
|
||||
if(!valueDataDatas["NearPoi"].isNull())
|
||||
dataObject.nearPoi = valueDataDatas["NearPoi"].asString();
|
||||
if(!valueDataDatas["Latitude"].isNull())
|
||||
dataObject.latitude = valueDataDatas["Latitude"].asString();
|
||||
if(!valueDataDatas["Longitude"].isNull())
|
||||
dataObject.longitude = valueDataDatas["Longitude"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListDeviceDetailResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListDeviceDetailResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListDeviceDetailResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListDeviceDetailResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListDeviceDetailResult::Datas> ListDeviceDetailResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListDeviceDetailResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
73
cdrs/src/model/ListDeviceGenderStatisticsRequest.cc
Normal file
73
cdrs/src/model/ListDeviceGenderStatisticsRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListDeviceGenderStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListDeviceGenderStatisticsRequest;
|
||||
|
||||
ListDeviceGenderStatisticsRequest::ListDeviceGenderStatisticsRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListDeviceGenderStatistics")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListDeviceGenderStatisticsRequest::~ListDeviceGenderStatisticsRequest()
|
||||
{}
|
||||
|
||||
std::string ListDeviceGenderStatisticsRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
}
|
||||
|
||||
void ListDeviceGenderStatisticsRequest::setCorpId(const std::string& corpId)
|
||||
{
|
||||
corpId_ = corpId;
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
std::string ListDeviceGenderStatisticsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListDeviceGenderStatisticsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string ListDeviceGenderStatisticsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListDeviceGenderStatisticsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string ListDeviceGenderStatisticsRequest::getDataSourceId()const
|
||||
{
|
||||
return dataSourceId_;
|
||||
}
|
||||
|
||||
void ListDeviceGenderStatisticsRequest::setDataSourceId(const std::string& dataSourceId)
|
||||
{
|
||||
dataSourceId_ = dataSourceId;
|
||||
setBodyParameter("DataSourceId", dataSourceId);
|
||||
}
|
||||
|
||||
82
cdrs/src/model/ListDeviceGenderStatisticsResult.cc
Normal file
82
cdrs/src/model/ListDeviceGenderStatisticsResult.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListDeviceGenderStatisticsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListDeviceGenderStatisticsResult::ListDeviceGenderStatisticsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListDeviceGenderStatisticsResult::ListDeviceGenderStatisticsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListDeviceGenderStatisticsResult::~ListDeviceGenderStatisticsResult()
|
||||
{}
|
||||
|
||||
void ListDeviceGenderStatisticsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["DataSourceId"].isNull())
|
||||
dataObject.dataSourceId = valueDataDatas["DataSourceId"].asString();
|
||||
if(!valueDataDatas["Gender"].isNull())
|
||||
dataObject.gender = valueDataDatas["Gender"].asString();
|
||||
if(!valueDataDatas["Number"].isNull())
|
||||
dataObject.number = valueDataDatas["Number"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListDeviceGenderStatisticsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListDeviceGenderStatisticsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<ListDeviceGenderStatisticsResult::Datas> ListDeviceGenderStatisticsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListDeviceGenderStatisticsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
106
cdrs/src/model/ListDevicePersonRequest.cc
Normal file
106
cdrs/src/model/ListDevicePersonRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListDevicePersonRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListDevicePersonRequest;
|
||||
|
||||
ListDevicePersonRequest::ListDevicePersonRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListDevicePerson")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListDevicePersonRequest::~ListDevicePersonRequest()
|
||||
{}
|
||||
|
||||
std::string ListDevicePersonRequest::getStatisticsType()const
|
||||
{
|
||||
return statisticsType_;
|
||||
}
|
||||
|
||||
void ListDevicePersonRequest::setStatisticsType(const std::string& statisticsType)
|
||||
{
|
||||
statisticsType_ = statisticsType;
|
||||
setBodyParameter("StatisticsType", statisticsType);
|
||||
}
|
||||
|
||||
std::string ListDevicePersonRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
}
|
||||
|
||||
void ListDevicePersonRequest::setCorpId(const std::string& corpId)
|
||||
{
|
||||
corpId_ = corpId;
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
std::string ListDevicePersonRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListDevicePersonRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string ListDevicePersonRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListDevicePersonRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long ListDevicePersonRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListDevicePersonRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListDevicePersonRequest::getDataSourceId()const
|
||||
{
|
||||
return dataSourceId_;
|
||||
}
|
||||
|
||||
void ListDevicePersonRequest::setDataSourceId(const std::string& dataSourceId)
|
||||
{
|
||||
dataSourceId_ = dataSourceId;
|
||||
setBodyParameter("DataSourceId", dataSourceId);
|
||||
}
|
||||
|
||||
long ListDevicePersonRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListDevicePersonRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
100
cdrs/src/model/ListDevicePersonResult.cc
Normal file
100
cdrs/src/model/ListDevicePersonResult.cc
Normal file
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListDevicePersonResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListDevicePersonResult::ListDevicePersonResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListDevicePersonResult::ListDevicePersonResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListDevicePersonResult::~ListDevicePersonResult()
|
||||
{}
|
||||
|
||||
void ListDevicePersonResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["PersonId"].isNull())
|
||||
dataObject.personId = valueDataDatas["PersonId"].asString();
|
||||
if(!valueDataDatas["DataSourceId"].isNull())
|
||||
dataObject.dataSourceId = valueDataDatas["DataSourceId"].asString();
|
||||
if(!valueDataDatas["Gender"].isNull())
|
||||
dataObject.gender = valueDataDatas["Gender"].asString();
|
||||
if(!valueDataDatas["FreqNum"].isNull())
|
||||
dataObject.freqNum = valueDataDatas["FreqNum"].asString();
|
||||
if(!valueDataDatas["TargetPicUrlPath"].isNull())
|
||||
dataObject.targetPicUrlPath = valueDataDatas["TargetPicUrlPath"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListDevicePersonResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListDevicePersonResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListDevicePersonResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListDevicePersonResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListDevicePersonResult::Datas> ListDevicePersonResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListDevicePersonResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
84
cdrs/src/model/ListDevicePersonStatisticsRequest.cc
Normal file
84
cdrs/src/model/ListDevicePersonStatisticsRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListDevicePersonStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListDevicePersonStatisticsRequest;
|
||||
|
||||
ListDevicePersonStatisticsRequest::ListDevicePersonStatisticsRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListDevicePersonStatistics")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListDevicePersonStatisticsRequest::~ListDevicePersonStatisticsRequest()
|
||||
{}
|
||||
|
||||
std::string ListDevicePersonStatisticsRequest::getStatisticsType()const
|
||||
{
|
||||
return statisticsType_;
|
||||
}
|
||||
|
||||
void ListDevicePersonStatisticsRequest::setStatisticsType(const std::string& statisticsType)
|
||||
{
|
||||
statisticsType_ = statisticsType;
|
||||
setBodyParameter("StatisticsType", statisticsType);
|
||||
}
|
||||
|
||||
std::string ListDevicePersonStatisticsRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
}
|
||||
|
||||
void ListDevicePersonStatisticsRequest::setCorpId(const std::string& corpId)
|
||||
{
|
||||
corpId_ = corpId;
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
std::string ListDevicePersonStatisticsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListDevicePersonStatisticsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string ListDevicePersonStatisticsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListDevicePersonStatisticsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string ListDevicePersonStatisticsRequest::getDataSourceId()const
|
||||
{
|
||||
return dataSourceId_;
|
||||
}
|
||||
|
||||
void ListDevicePersonStatisticsRequest::setDataSourceId(const std::string& dataSourceId)
|
||||
{
|
||||
dataSourceId_ = dataSourceId;
|
||||
setBodyParameter("DataSourceId", dataSourceId);
|
||||
}
|
||||
|
||||
82
cdrs/src/model/ListDevicePersonStatisticsResult.cc
Normal file
82
cdrs/src/model/ListDevicePersonStatisticsResult.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListDevicePersonStatisticsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListDevicePersonStatisticsResult::ListDevicePersonStatisticsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListDevicePersonStatisticsResult::ListDevicePersonStatisticsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListDevicePersonStatisticsResult::~ListDevicePersonStatisticsResult()
|
||||
{}
|
||||
|
||||
void ListDevicePersonStatisticsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["DataSourceId"].isNull())
|
||||
dataObject.dataSourceId = valueDataDatas["DataSourceId"].asString();
|
||||
if(!valueDataDatas["ShotTime"].isNull())
|
||||
dataObject.shotTime = valueDataDatas["ShotTime"].asString();
|
||||
if(!valueDataDatas["Number"].isNull())
|
||||
dataObject.number = valueDataDatas["Number"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListDevicePersonStatisticsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListDevicePersonStatisticsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<ListDevicePersonStatisticsResult::Datas> ListDevicePersonStatisticsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListDevicePersonStatisticsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -14,27 +14,27 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/voicenavigator/model/DuplicateInstanceRequest.h>
|
||||
#include <alibabacloud/cdrs/model/ListMapRouteDetailsRequest.h>
|
||||
|
||||
using AlibabaCloud::VoiceNavigator::Model::DuplicateInstanceRequest;
|
||||
using AlibabaCloud::CDRS::Model::ListMapRouteDetailsRequest;
|
||||
|
||||
DuplicateInstanceRequest::DuplicateInstanceRequest() :
|
||||
RpcServiceRequest("voicenavigator", "2018-06-12", "DuplicateInstance")
|
||||
ListMapRouteDetailsRequest::ListMapRouteDetailsRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListMapRouteDetails")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DuplicateInstanceRequest::~DuplicateInstanceRequest()
|
||||
ListMapRouteDetailsRequest::~ListMapRouteDetailsRequest()
|
||||
{}
|
||||
|
||||
std::string DuplicateInstanceRequest::getInstanceId()const
|
||||
std::string ListMapRouteDetailsRequest::getRouteList()const
|
||||
{
|
||||
return instanceId_;
|
||||
return routeList_;
|
||||
}
|
||||
|
||||
void DuplicateInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
void ListMapRouteDetailsRequest::setRouteList(const std::string& routeList)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
routeList_ = routeList;
|
||||
setBodyParameter("RouteList", routeList);
|
||||
}
|
||||
|
||||
98
cdrs/src/model/ListMapRouteDetailsResult.cc
Normal file
98
cdrs/src/model/ListMapRouteDetailsResult.cc
Normal file
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListMapRouteDetailsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListMapRouteDetailsResult::ListMapRouteDetailsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListMapRouteDetailsResult::ListMapRouteDetailsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListMapRouteDetailsResult::~ListMapRouteDetailsResult()
|
||||
{}
|
||||
|
||||
void ListMapRouteDetailsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["Destination"].isNull())
|
||||
dataObject.destination = valueDataDatas["Destination"].asString();
|
||||
if(!valueDataDatas["Origin"].isNull())
|
||||
dataObject.origin = valueDataDatas["Origin"].asString();
|
||||
if(!valueDataDatas["Route"].isNull())
|
||||
dataObject.route = valueDataDatas["Route"].asString();
|
||||
if(!valueDataDatas["Type"].isNull())
|
||||
dataObject.type = valueDataDatas["Type"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListMapRouteDetailsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListMapRouteDetailsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListMapRouteDetailsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListMapRouteDetailsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListMapRouteDetailsResult::Datas> ListMapRouteDetailsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListMapRouteDetailsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
95
cdrs/src/model/ListPersonDetailsRequest.cc
Normal file
95
cdrs/src/model/ListPersonDetailsRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListPersonDetailsRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListPersonDetailsRequest;
|
||||
|
||||
ListPersonDetailsRequest::ListPersonDetailsRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListPersonDetails")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListPersonDetailsRequest::~ListPersonDetailsRequest()
|
||||
{}
|
||||
|
||||
std::string ListPersonDetailsRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
}
|
||||
|
||||
void ListPersonDetailsRequest::setCorpId(const std::string& corpId)
|
||||
{
|
||||
corpId_ = corpId;
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
std::string ListPersonDetailsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListPersonDetailsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string ListPersonDetailsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListPersonDetailsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long ListPersonDetailsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListPersonDetailsRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
long ListPersonDetailsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListPersonDetailsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListPersonDetailsRequest::getPersonId()const
|
||||
{
|
||||
return personId_;
|
||||
}
|
||||
|
||||
void ListPersonDetailsRequest::setPersonId(const std::string& personId)
|
||||
{
|
||||
personId_ = personId;
|
||||
setBodyParameter("PersonId", personId);
|
||||
}
|
||||
|
||||
120
cdrs/src/model/ListPersonDetailsResult.cc
Normal file
120
cdrs/src/model/ListPersonDetailsResult.cc
Normal file
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListPersonDetailsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListPersonDetailsResult::ListPersonDetailsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListPersonDetailsResult::ListPersonDetailsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListPersonDetailsResult::~ListPersonDetailsResult()
|
||||
{}
|
||||
|
||||
void ListPersonDetailsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["PersonId"].isNull())
|
||||
dataObject.personId = valueDataDatas["PersonId"].asString();
|
||||
if(!valueDataDatas["Gender"].isNull())
|
||||
dataObject.gender = valueDataDatas["Gender"].asString();
|
||||
if(!valueDataDatas["Age"].isNull())
|
||||
dataObject.age = valueDataDatas["Age"].asString();
|
||||
if(!valueDataDatas["Profession"].isNull())
|
||||
dataObject.profession = valueDataDatas["Profession"].asString();
|
||||
if(!valueDataDatas["Address"].isNull())
|
||||
dataObject.address = valueDataDatas["Address"].asString();
|
||||
if(!valueDataDatas["Transportation"].isNull())
|
||||
dataObject.transportation = valueDataDatas["Transportation"].asString();
|
||||
if(!valueDataDatas["PersonType"].isNull())
|
||||
dataObject.personType = valueDataDatas["PersonType"].asString();
|
||||
if(!valueDataDatas["HotSpotAddress"].isNull())
|
||||
dataObject.hotSpotAddress = valueDataDatas["HotSpotAddress"].asString();
|
||||
if(!valueDataDatas["UpdateTime"].isNull())
|
||||
dataObject.updateTime = valueDataDatas["UpdateTime"].asString();
|
||||
if(!valueDataDatas["PreferredColor"].isNull())
|
||||
dataObject.preferredColor = valueDataDatas["PreferredColor"].asString();
|
||||
if(!valueDataDatas["FaceSourceImage"].isNull())
|
||||
dataObject.faceSourceImage = valueDataDatas["FaceSourceImage"].asString();
|
||||
if(!valueDataDatas["FaceTargetImage"].isNull())
|
||||
dataObject.faceTargetImage = valueDataDatas["FaceTargetImage"].asString();
|
||||
if(!valueDataDatas["BodySourceImage"].isNull())
|
||||
dataObject.bodySourceImage = valueDataDatas["BodySourceImage"].asString();
|
||||
if(!valueDataDatas["BodyTargetImage"].isNull())
|
||||
dataObject.bodyTargetImage = valueDataDatas["BodyTargetImage"].asString();
|
||||
if(!valueDataDatas["PrefOutTime"].isNull())
|
||||
dataObject.prefOutTime = valueDataDatas["PrefOutTime"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListPersonDetailsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListPersonDetailsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListPersonDetailsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListPersonDetailsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListPersonDetailsResult::Datas> ListPersonDetailsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListPersonDetailsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
117
cdrs/src/model/ListPersonResultRequest.cc
Normal file
117
cdrs/src/model/ListPersonResultRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListPersonResultRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListPersonResultRequest;
|
||||
|
||||
ListPersonResultRequest::ListPersonResultRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListPersonResult")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListPersonResultRequest::~ListPersonResultRequest()
|
||||
{}
|
||||
|
||||
std::string ListPersonResultRequest::getProfession()const
|
||||
{
|
||||
return profession_;
|
||||
}
|
||||
|
||||
void ListPersonResultRequest::setProfession(const std::string& profession)
|
||||
{
|
||||
profession_ = profession;
|
||||
setBodyParameter("Profession", profession);
|
||||
}
|
||||
|
||||
std::string ListPersonResultRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
}
|
||||
|
||||
void ListPersonResultRequest::setCorpId(const std::string& corpId)
|
||||
{
|
||||
corpId_ = corpId;
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
std::string ListPersonResultRequest::getGender()const
|
||||
{
|
||||
return gender_;
|
||||
}
|
||||
|
||||
void ListPersonResultRequest::setGender(const std::string& gender)
|
||||
{
|
||||
gender_ = gender;
|
||||
setBodyParameter("Gender", gender);
|
||||
}
|
||||
|
||||
std::string ListPersonResultRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListPersonResultRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string ListPersonResultRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListPersonResultRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long ListPersonResultRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListPersonResultRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
long ListPersonResultRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListPersonResultRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListPersonResultRequest::getAge()const
|
||||
{
|
||||
return age_;
|
||||
}
|
||||
|
||||
void ListPersonResultRequest::setAge(const std::string& age)
|
||||
{
|
||||
age_ = age;
|
||||
setBodyParameter("Age", age);
|
||||
}
|
||||
|
||||
108
cdrs/src/model/ListPersonResultResult.cc
Normal file
108
cdrs/src/model/ListPersonResultResult.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListPersonResultResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListPersonResultResult::ListPersonResultResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListPersonResultResult::ListPersonResultResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListPersonResultResult::~ListPersonResultResult()
|
||||
{}
|
||||
|
||||
void ListPersonResultResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["PersonId"].isNull())
|
||||
dataObject.personId = valueDataDatas["PersonId"].asString();
|
||||
if(!valueDataDatas["Gender"].isNull())
|
||||
dataObject.gender = valueDataDatas["Gender"].asString();
|
||||
if(!valueDataDatas["Age"].isNull())
|
||||
dataObject.age = valueDataDatas["Age"].asString();
|
||||
if(!valueDataDatas["Profession"].isNull())
|
||||
dataObject.profession = valueDataDatas["Profession"].asString();
|
||||
if(!valueDataDatas["Address"].isNull())
|
||||
dataObject.address = valueDataDatas["Address"].asString();
|
||||
if(!valueDataDatas["Transportation"].isNull())
|
||||
dataObject.transportation = valueDataDatas["Transportation"].asString();
|
||||
if(!valueDataDatas["PersonType"].isNull())
|
||||
dataObject.personType = valueDataDatas["PersonType"].asString();
|
||||
if(!valueDataDatas["HotSpotAddress"].isNull())
|
||||
dataObject.hotSpotAddress = valueDataDatas["HotSpotAddress"].asString();
|
||||
if(!valueDataDatas["UpdateTime"].isNull())
|
||||
dataObject.updateTime = valueDataDatas["UpdateTime"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListPersonResultResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListPersonResultResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListPersonResultResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListPersonResultResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListPersonResultResult::Datas> ListPersonResultResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListPersonResultResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
73
cdrs/src/model/ListPersonTagRequest.cc
Normal file
73
cdrs/src/model/ListPersonTagRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListPersonTagRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListPersonTagRequest;
|
||||
|
||||
ListPersonTagRequest::ListPersonTagRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListPersonTag")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListPersonTagRequest::~ListPersonTagRequest()
|
||||
{}
|
||||
|
||||
std::string ListPersonTagRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
}
|
||||
|
||||
void ListPersonTagRequest::setCorpId(const std::string& corpId)
|
||||
{
|
||||
corpId_ = corpId;
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
long ListPersonTagRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListPersonTagRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListPersonTagRequest::getTagCode()const
|
||||
{
|
||||
return tagCode_;
|
||||
}
|
||||
|
||||
void ListPersonTagRequest::setTagCode(const std::string& tagCode)
|
||||
{
|
||||
tagCode_ = tagCode;
|
||||
setBodyParameter("TagCode", tagCode);
|
||||
}
|
||||
|
||||
long ListPersonTagRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListPersonTagRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
96
cdrs/src/model/ListPersonTagResult.cc
Normal file
96
cdrs/src/model/ListPersonTagResult.cc
Normal file
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListPersonTagResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListPersonTagResult::ListPersonTagResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListPersonTagResult::ListPersonTagResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListPersonTagResult::~ListPersonTagResult()
|
||||
{}
|
||||
|
||||
void ListPersonTagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["CorpId"].isNull())
|
||||
dataObject.corpId = valueDataDatas["CorpId"].asString();
|
||||
if(!valueDataDatas["TagValue"].isNull())
|
||||
dataObject.tagValue = valueDataDatas["TagValue"].asString();
|
||||
if(!valueDataDatas["Value"].isNull())
|
||||
dataObject.value = valueDataDatas["Value"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListPersonTagResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListPersonTagResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListPersonTagResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListPersonTagResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListPersonTagResult::Datas> ListPersonTagResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListPersonTagResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
73
cdrs/src/model/ListPersonTopRequest.cc
Normal file
73
cdrs/src/model/ListPersonTopRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListPersonTopRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListPersonTopRequest;
|
||||
|
||||
ListPersonTopRequest::ListPersonTopRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListPersonTop")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListPersonTopRequest::~ListPersonTopRequest()
|
||||
{}
|
||||
|
||||
std::string ListPersonTopRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
}
|
||||
|
||||
void ListPersonTopRequest::setCorpId(const std::string& corpId)
|
||||
{
|
||||
corpId_ = corpId;
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
std::string ListPersonTopRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListPersonTopRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string ListPersonTopRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListPersonTopRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string ListPersonTopRequest::getPersonId()const
|
||||
{
|
||||
return personId_;
|
||||
}
|
||||
|
||||
void ListPersonTopRequest::setPersonId(const std::string& personId)
|
||||
{
|
||||
personId_ = personId;
|
||||
setBodyParameter("PersonId", personId);
|
||||
}
|
||||
|
||||
102
cdrs/src/model/ListPersonTopResult.cc
Normal file
102
cdrs/src/model/ListPersonTopResult.cc
Normal file
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListPersonTopResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListPersonTopResult::ListPersonTopResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListPersonTopResult::ListPersonTopResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListPersonTopResult::~ListPersonTopResult()
|
||||
{}
|
||||
|
||||
void ListPersonTopResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["CorpId"].isNull())
|
||||
dataObject.corpId = valueDataDatas["CorpId"].asString();
|
||||
if(!valueDataDatas["PersonId"].isNull())
|
||||
dataObject.personId = valueDataDatas["PersonId"].asString();
|
||||
if(!valueDataDatas["PoiId"].isNull())
|
||||
dataObject.poiId = valueDataDatas["PoiId"].asString();
|
||||
if(!valueDataDatas["PoiName"].isNull())
|
||||
dataObject.poiName = valueDataDatas["PoiName"].asString();
|
||||
if(!valueDataDatas["PassHour"].isNull())
|
||||
dataObject.passHour = valueDataDatas["PassHour"].asString();
|
||||
if(!valueDataDatas["Frequency"].isNull())
|
||||
dataObject.frequency = valueDataDatas["Frequency"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListPersonTopResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListPersonTopResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListPersonTopResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListPersonTopResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListPersonTopResult::Datas> ListPersonTopResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListPersonTopResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
95
cdrs/src/model/ListPersonTrackRequest.cc
Normal file
95
cdrs/src/model/ListPersonTrackRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListPersonTrackRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListPersonTrackRequest;
|
||||
|
||||
ListPersonTrackRequest::ListPersonTrackRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListPersonTrack")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListPersonTrackRequest::~ListPersonTrackRequest()
|
||||
{}
|
||||
|
||||
std::string ListPersonTrackRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
}
|
||||
|
||||
void ListPersonTrackRequest::setCorpId(const std::string& corpId)
|
||||
{
|
||||
corpId_ = corpId;
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
std::string ListPersonTrackRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListPersonTrackRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string ListPersonTrackRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListPersonTrackRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long ListPersonTrackRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListPersonTrackRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
long ListPersonTrackRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListPersonTrackRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListPersonTrackRequest::getPersonId()const
|
||||
{
|
||||
return personId_;
|
||||
}
|
||||
|
||||
void ListPersonTrackRequest::setPersonId(const std::string& personId)
|
||||
{
|
||||
personId_ = personId;
|
||||
setBodyParameter("PersonId", personId);
|
||||
}
|
||||
|
||||
118
cdrs/src/model/ListPersonTrackResult.cc
Normal file
118
cdrs/src/model/ListPersonTrackResult.cc
Normal file
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
* 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/cdrs/model/ListPersonTrackResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CDRS;
|
||||
using namespace AlibabaCloud::CDRS::Model;
|
||||
|
||||
ListPersonTrackResult::ListPersonTrackResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListPersonTrackResult::ListPersonTrackResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListPersonTrackResult::~ListPersonTrackResult()
|
||||
{}
|
||||
|
||||
void ListPersonTrackResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["Datas"];
|
||||
for (auto valueDataDatas : allDataNode)
|
||||
{
|
||||
Datas dataObject;
|
||||
if(!valueDataDatas["PersonId"].isNull())
|
||||
dataObject.personId = valueDataDatas["PersonId"].asString();
|
||||
if(!valueDataDatas["CorpId"].isNull())
|
||||
dataObject.corpId = valueDataDatas["CorpId"].asString();
|
||||
if(!valueDataDatas["DataSourceId"].isNull())
|
||||
dataObject.dataSourceId = valueDataDatas["DataSourceId"].asString();
|
||||
if(!valueDataDatas["DataSourceName"].isNull())
|
||||
dataObject.dataSourceName = valueDataDatas["DataSourceName"].asString();
|
||||
if(!valueDataDatas["PicUrlPath"].isNull())
|
||||
dataObject.picUrlPath = valueDataDatas["PicUrlPath"].asString();
|
||||
if(!valueDataDatas["TargetPicUrlPath"].isNull())
|
||||
dataObject.targetPicUrlPath = valueDataDatas["TargetPicUrlPath"].asString();
|
||||
if(!valueDataDatas["RightBottomY"].isNull())
|
||||
dataObject.rightBottomY = valueDataDatas["RightBottomY"].asString();
|
||||
if(!valueDataDatas["RightBottomX"].isNull())
|
||||
dataObject.rightBottomX = valueDataDatas["RightBottomX"].asString();
|
||||
if(!valueDataDatas["LeftTopY"].isNull())
|
||||
dataObject.leftTopY = valueDataDatas["LeftTopY"].asString();
|
||||
if(!valueDataDatas["LeftTopX"].isNull())
|
||||
dataObject.leftTopX = valueDataDatas["LeftTopX"].asString();
|
||||
if(!valueDataDatas["ShotTime"].isNull())
|
||||
dataObject.shotTime = valueDataDatas["ShotTime"].asString();
|
||||
if(!valueDataDatas["Order"].isNull())
|
||||
dataObject.order = valueDataDatas["Order"].asString();
|
||||
if(!valueDataDatas["Longitude"].isNull())
|
||||
dataObject.longitude = valueDataDatas["Longitude"].asString();
|
||||
if(!valueDataDatas["Latitude"].isNull())
|
||||
dataObject.latitude = valueDataDatas["Latitude"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListPersonTrackResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListPersonTrackResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListPersonTrackResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long ListPersonTrackResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListPersonTrackResult::Datas> ListPersonTrackResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListPersonTrackResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
84
cdrs/src/model/ListRangeDeviceRequest.cc
Normal file
84
cdrs/src/model/ListRangeDeviceRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdrs/model/ListRangeDeviceRequest.h>
|
||||
|
||||
using AlibabaCloud::CDRS::Model::ListRangeDeviceRequest;
|
||||
|
||||
ListRangeDeviceRequest::ListRangeDeviceRequest() :
|
||||
RpcServiceRequest("cdrs", "2020-11-01", "ListRangeDevice")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListRangeDeviceRequest::~ListRangeDeviceRequest()
|
||||
{}
|
||||
|
||||
std::string ListRangeDeviceRequest::getCorpId()const
|
||||
{
|
||||
return corpId_;
|
||||
}
|
||||
|
||||
void ListRangeDeviceRequest::setCorpId(const std::string& corpId)
|
||||
{
|
||||
corpId_ = corpId;
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
long ListRangeDeviceRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListRangeDeviceRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListRangeDeviceRequest::getDataSourceId()const
|
||||
{
|
||||
return dataSourceId_;
|
||||
}
|
||||
|
||||
void ListRangeDeviceRequest::setDataSourceId(const std::string& dataSourceId)
|
||||
{
|
||||
dataSourceId_ = dataSourceId;
|
||||
setBodyParameter("DataSourceId", dataSourceId);
|
||||
}
|
||||
|
||||
long ListRangeDeviceRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListRangeDeviceRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int ListRangeDeviceRequest::getRadius()const
|
||||
{
|
||||
return radius_;
|
||||
}
|
||||
|
||||
void ListRangeDeviceRequest::setRadius(int radius)
|
||||
{
|
||||
radius_ = radius;
|
||||
setBodyParameter("Radius", std::to_string(radius));
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user