Compare commits

...

67 Commits

Author SHA1 Message Date
sdk-team
3387ef3a68 Release InterpolateVideoFrame ToneSdrVideo ConvertHdrVideo. 2020-12-28 10:06:55 +00:00
sdk-team
b1f19958a7 Release GenRealPersonVerificationToken GetRealPersonVerificationResult. 2020-12-28 10:01:36 +00:00
sdk-team
c5062df7f5 Add CommodityCode For QueryOrderAPI. 2020-12-28 09:15:31 +00:00
sdk-team
f9b117f5a6 Add some console API operations. 2020-12-28 07:46:18 +00:00
sdk-team
2a6631ce12 Generated 2016-04-08 for Emr. 2020-12-25 10:25:09 +00:00
sdk-team
639137bd27 Supported for weboffice edit. 2020-12-25 03:46:39 +00:00
sdk-team
8a601bc5ae Modify ConfigureBackupPlan. 2020-12-24 10:37:35 +00:00
sdk-team
0a08e77127 Update Open API. 2020-12-24 10:14:50 +00:00
sdk-team
46971a81db CDRS First edition. 2020-12-23 07:55:12 +00:00
sdk-team
5bde791941 Add 2019 openapi. 2020-12-23 06:07:49 +00:00
sdk-team
0793ffd5d4 Release DetectPedestrianIntrusion. 2020-12-23 03:21:51 +00:00
sdk-team
92791badbf Create Lindorm Open api. 2020-12-23 03:14:40 +00:00
sdk-team
fbd8bebfed Create TSDB Open api. 2020-12-23 03:12:54 +00:00
sdk-team
15efd0abf3 Minor chagnes. 2020-12-22 11:06:50 +00:00
sdk-team
ec2fdb4ecb Update SegmentAnimal SegmentCommonImage. 2020-12-22 09:21:24 +00:00
sdk-team
505b8e2062 Support SLB latest OpenAPIs. 2020-12-22 09:00:08 +00:00
sdk-team
55c2e91e9f Release InterpolateVideoFrame ToneSdrVideo ConvertHdrVideo. 2020-12-22 07:55:53 +00:00
sdk-team
e70f8f2d10 Release InterpolateVideoFrame. 2020-12-22 07:07:28 +00:00
sdk-team
196b891ec3 Release DetectRibFracture. 2020-12-22 07:01:04 +00:00
sdk-team
58b398b978 Minor chagnes. 2020-12-22 06:38:51 +00:00
sdk-team
13693fecae Generated 2020-05-18 for dataworks-public. 2020-12-22 01:58:26 +00:00
sdk-team
a4f63bc75f Support Device of LaunchConfiguration_DataDisk. 2020-12-21 02:59:31 +00:00
sdk-team
6dd27ba3df Support DescribeDatabases for page query. 2020-12-21 02:43:26 +00:00
sdk-team
cf63bd74d6 Support ListRepositories, ListOrganizations, GetUserInfo, ListRepositoryWebhook, DeleteRepositoryWebhook api. 2020-12-18 11:05:12 +00:00
sdk-team
4b1cbc0461 Add GetAgentDownloadUrl api. 2020-12-18 08:12:42 +00:00
sdk-team
49feb2bedd Release EvaluateCertificateQuality. 2020-12-18 06:16:28 +00:00
sdk-team
45daf26fac Generated 2020-05-18 for dataworks-public. 2020-12-18 02:31:57 +00:00
sdk-team
a9e22f8d11 Update SegmentFood. 2020-12-17 10:21:15 +00:00
sdk-team
38d18cec8b Update DeleteScdnDomain. 2020-12-17 08:10:23 +00:00
sdk-team
041b9c9999 Generated 2014-05-26 for Ecs. 2020-12-17 08:09:26 +00:00
sdk-team
279ad33425 Update DeleteDcdnDomain. 2020-12-17 08:08:52 +00:00
sdk-team
e990580a3e Update DeleteCdnDomain. 2020-12-17 08:02:48 +00:00
sdk-team
6da72af809 Generated 2020-01-11 for servicemesh. 2020-12-17 06:13:54 +00:00
sdk-team
f0147b77e3 Update api. 2020-12-17 06:03:25 +00:00
sdk-team
85cb326723 Generated 2019-09-10 for waf-openapi. 2020-12-16 13:12:02 +00:00
sdk-team
ade846346f Support show pipeline history. 2020-12-16 06:16:31 +00:00
sdk-team
5b311d2af3 Add Face Attributes. 2020-12-16 02:52:46 +00:00
sdk-team
e94b2e56f0 Update Open API. 2020-12-15 08:40:09 +00:00
sdk-team
bc50286074 CDRS First edition. 2020-12-15 07:04:17 +00:00
sdk-team
3903999f4e CDRS First edition. 2020-12-15 06:56:27 +00:00
sdk-team
74be983766 Add update task api. 2020-12-14 11:41:44 +00:00
sdk-team
1b7a4d81d6 Add update task api. 2020-12-14 11:40:18 +00:00
sdk-team
ee87d18d06 CDRS First edition. 2020-12-14 03:38:45 +00:00
sdk-team
479766d633 Add update task api. 2020-12-14 02:19:38 +00:00
sdk-team
add2bce016 Add Emon route-API support. 2020-12-11 02:11:39 +00:00
sdk-team
f5705434a9 Update SegmentCommodity. 2020-12-09 06:40:49 +00:00
sdk-team
3c00b7ee89 Remove DescribeSubscriptionObjectModifyStatus. 2020-12-07 02:18:29 +00:00
sdk-team
8708226a83 Supported broker demand. 2020-12-04 10:54:55 +00:00
sdk-team
295143d70a Support manual scan interface. 2020-12-04 07:19:58 +00:00
sdk-team
990c6f8efd ReportInstancesStatus OpenAPI supports IssueCategory parameter. 2020-12-04 04:23:53 +00:00
sdk-team
b409d3d613 Update DescribeScdnDomainCertificateInfo. 2020-12-03 11:22:00 +00:00
sdk-team
74112c6fe7 Update ModifyDcdnService. 2020-12-03 11:19:36 +00:00
sdk-team
b105496b11 Update DescribeDomainMax95BpsData. 2020-12-03 11:14:50 +00:00
sdk-team
f946b7f9f6 Update DescribeScdnDomainCertificateInfo. 2020-12-03 10:40:44 +00:00
sdk-team
f726b03be7 Update DescribeDomainMax95BpsData. 2020-12-03 09:42:13 +00:00
sdk-team
e2c900c27d Update DescribeScdnDomainCertificateInfo. 2020-12-03 09:40:19 +00:00
sdk-team
0abdb3fc36 Update DescribeDomainMax95BpsData. 2020-12-03 09:33:21 +00:00
sdk-team
1616774ea6 Update ModifyDcdnService. 2020-12-03 09:30:32 +00:00
sdk-team
1260ae6f47 Update DescribeScdnDomainCertificateInfo. 2020-12-03 09:29:42 +00:00
sdk-team
2acf4250c6 Generated 2020-05-18 for dataworks-public. 2020-12-03 07:29:53 +00:00
sdk-team
423e3b65e3 Add new api. 2020-12-03 06:17:55 +00:00
sdk-team
8f21fa7c59 Supported all language sdk. 2020-12-03 05:49:56 +00:00
sdk-team
cf4cda767c Update DetectLungNodule. 2020-12-03 02:30:29 +00:00
sdk-team
818bfd3cf1 Support CreateDBLink for polardb oracle. 2020-12-02 09:41:12 +00:00
sdk-team
969a4a2631 Update version. 2020-12-02 09:38:02 +00:00
sdk-team
931a98684d Update version. 2020-12-02 09:36:34 +00:00
sdk-team
357519c7f6 Support TemplateContent. 2020-12-02 09:17:21 +00:00
2995 changed files with 105500 additions and 110704 deletions

207
CHANGELOG
View File

@@ -1,3 +1,210 @@
2020-12-28 Version: patch
- Release InterpolateVideoFrame ToneSdrVideo ConvertHdrVideo.
2020-12-28 Version: patch
- Release GenRealPersonVerificationToken GetRealPersonVerificationResult.
2020-12-28 Version: patch
- Add CommodityCode For QueryOrderAPI.
2020-12-28 Version: patch
- Add some console API operations.
2020-12-25 Version: patch
- Generated 2016-04-08 for `Emr`.
2020-12-25 Version: patch
- Supported for weboffice edit.
2020-12-24 Version: patch
- Modify ConfigureBackupPlan.
2020-12-24 Version: patch
- Update Open API.
2020-12-23 Version: patch
- CDRS First edition.
2020-12-23 Version: patch
- Add 2019 openapi.
2020-12-23 Version: patch
- Release DetectPedestrianIntrusion.
2020-12-23 Version: patch
- Create Lindorm Open api.
2020-12-23 Version: patch
- Create TSDB Open api.
2020-12-22 Version: patch
- Minor chagnes.
2020-12-22 Version: patch
- Update SegmentAnimal SegmentCommonImage.
2020-12-22 Version: patch
- Support SLB latest OpenAPIs.
2020-12-22 Version: patch
- Release InterpolateVideoFrame ToneSdrVideo ConvertHdrVideo.
2020-12-22 Version: patch
- Release InterpolateVideoFrame.
2020-12-22 Version: patch
- Release DetectRibFracture.
2020-12-22 Version: patch
- Minor chagnes.
2020-12-22 Version: patch
- Generated 2020-05-18 for `dataworks-public`.
2020-12-21 Version: patch
- Support Device of LaunchConfiguration_DataDisk.
2020-12-21 Version: patch
- Support DescribeDatabases for page query.
- Support DescribeAccounts for page query.
2020-12-18 Version: patch
- Support ListRepositories, ListOrganizations, GetUserInfo, ListRepositoryWebhook, DeleteRepositoryWebhook api.
- AddWebhook api support SecretToken.
2020-12-18 Version: patch
- Add GetAgentDownloadUrl api.
2020-12-18 Version: patch
- Release EvaluateCertificateQuality.
2020-12-18 Version: patch
- Generated 2020-05-18 for `dataworks-public`.
2020-12-17 Version: patch
- Update SegmentFood.
2020-12-17 Version: patch
- Update DeleteScdnDomain.
2020-12-17 Version: patch
- Generated 2014-05-26 for `Ecs`.
2020-12-17 Version: patch
- Update DeleteDcdnDomain.
2020-12-17 Version: patch
- Update DeleteCdnDomain.
2020-12-17 Version: patch
- Generated 2020-01-11 for `servicemesh`.
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.

View File

@@ -25,6 +25,8 @@ set(arms_public_header_model
include/alibabacloud/arms/model/AddGrafanaResult.h
include/alibabacloud/arms/model/AddIntegrationRequest.h
include/alibabacloud/arms/model/AddIntegrationResult.h
include/alibabacloud/arms/model/ApplyScenarioRequest.h
include/alibabacloud/arms/model/ApplyScenarioResult.h
include/alibabacloud/arms/model/CheckDataConsistencyRequest.h
include/alibabacloud/arms/model/CheckDataConsistencyResult.h
include/alibabacloud/arms/model/CheckServiceLinkedRoleForDeletingRequest.h
@@ -47,6 +49,8 @@ set(arms_public_header_model
include/alibabacloud/arms/model/DeleteAlertRulesResult.h
include/alibabacloud/arms/model/DeleteRetcodeAppRequest.h
include/alibabacloud/arms/model/DeleteRetcodeAppResult.h
include/alibabacloud/arms/model/DeleteScenarioRequest.h
include/alibabacloud/arms/model/DeleteScenarioResult.h
include/alibabacloud/arms/model/DeleteTraceAppRequest.h
include/alibabacloud/arms/model/DeleteTraceAppResult.h
include/alibabacloud/arms/model/DescribeDispatchRuleRequest.h
@@ -57,6 +61,8 @@ set(arms_public_header_model
include/alibabacloud/arms/model/DescribeTraceLocationResult.h
include/alibabacloud/arms/model/ExportPrometheusRulesRequest.h
include/alibabacloud/arms/model/ExportPrometheusRulesResult.h
include/alibabacloud/arms/model/GetAgentDownloadUrlRequest.h
include/alibabacloud/arms/model/GetAgentDownloadUrlResult.h
include/alibabacloud/arms/model/GetAppApiByPageRequest.h
include/alibabacloud/arms/model/GetAppApiByPageResult.h
include/alibabacloud/arms/model/GetConsistencySnapshotRequest.h
@@ -89,8 +95,12 @@ set(arms_public_header_model
include/alibabacloud/arms/model/ListPromClustersResult.h
include/alibabacloud/arms/model/ListRetcodeAppsRequest.h
include/alibabacloud/arms/model/ListRetcodeAppsResult.h
include/alibabacloud/arms/model/ListScenarioRequest.h
include/alibabacloud/arms/model/ListScenarioResult.h
include/alibabacloud/arms/model/ListTraceAppsRequest.h
include/alibabacloud/arms/model/ListTraceAppsResult.h
include/alibabacloud/arms/model/OpenArmsServiceRequest.h
include/alibabacloud/arms/model/OpenArmsServiceResult.h
include/alibabacloud/arms/model/QueryDatasetRequest.h
include/alibabacloud/arms/model/QueryDatasetResult.h
include/alibabacloud/arms/model/QueryMetricRequest.h
@@ -144,6 +154,8 @@ set(arms_src
src/model/AddGrafanaResult.cc
src/model/AddIntegrationRequest.cc
src/model/AddIntegrationResult.cc
src/model/ApplyScenarioRequest.cc
src/model/ApplyScenarioResult.cc
src/model/CheckDataConsistencyRequest.cc
src/model/CheckDataConsistencyResult.cc
src/model/CheckServiceLinkedRoleForDeletingRequest.cc
@@ -166,6 +178,8 @@ set(arms_src
src/model/DeleteAlertRulesResult.cc
src/model/DeleteRetcodeAppRequest.cc
src/model/DeleteRetcodeAppResult.cc
src/model/DeleteScenarioRequest.cc
src/model/DeleteScenarioResult.cc
src/model/DeleteTraceAppRequest.cc
src/model/DeleteTraceAppResult.cc
src/model/DescribeDispatchRuleRequest.cc
@@ -176,6 +190,8 @@ set(arms_src
src/model/DescribeTraceLocationResult.cc
src/model/ExportPrometheusRulesRequest.cc
src/model/ExportPrometheusRulesResult.cc
src/model/GetAgentDownloadUrlRequest.cc
src/model/GetAgentDownloadUrlResult.cc
src/model/GetAppApiByPageRequest.cc
src/model/GetAppApiByPageResult.cc
src/model/GetConsistencySnapshotRequest.cc
@@ -208,8 +224,12 @@ set(arms_src
src/model/ListPromClustersResult.cc
src/model/ListRetcodeAppsRequest.cc
src/model/ListRetcodeAppsResult.cc
src/model/ListScenarioRequest.cc
src/model/ListScenarioResult.cc
src/model/ListTraceAppsRequest.cc
src/model/ListTraceAppsResult.cc
src/model/OpenArmsServiceRequest.cc
src/model/OpenArmsServiceResult.cc
src/model/QueryDatasetRequest.cc
src/model/QueryDatasetResult.cc
src/model/QueryMetricRequest.cc

View File

@@ -26,6 +26,8 @@
#include "model/AddGrafanaResult.h"
#include "model/AddIntegrationRequest.h"
#include "model/AddIntegrationResult.h"
#include "model/ApplyScenarioRequest.h"
#include "model/ApplyScenarioResult.h"
#include "model/CheckDataConsistencyRequest.h"
#include "model/CheckDataConsistencyResult.h"
#include "model/CheckServiceLinkedRoleForDeletingRequest.h"
@@ -48,6 +50,8 @@
#include "model/DeleteAlertRulesResult.h"
#include "model/DeleteRetcodeAppRequest.h"
#include "model/DeleteRetcodeAppResult.h"
#include "model/DeleteScenarioRequest.h"
#include "model/DeleteScenarioResult.h"
#include "model/DeleteTraceAppRequest.h"
#include "model/DeleteTraceAppResult.h"
#include "model/DescribeDispatchRuleRequest.h"
@@ -58,6 +62,8 @@
#include "model/DescribeTraceLocationResult.h"
#include "model/ExportPrometheusRulesRequest.h"
#include "model/ExportPrometheusRulesResult.h"
#include "model/GetAgentDownloadUrlRequest.h"
#include "model/GetAgentDownloadUrlResult.h"
#include "model/GetAppApiByPageRequest.h"
#include "model/GetAppApiByPageResult.h"
#include "model/GetConsistencySnapshotRequest.h"
@@ -90,8 +96,12 @@
#include "model/ListPromClustersResult.h"
#include "model/ListRetcodeAppsRequest.h"
#include "model/ListRetcodeAppsResult.h"
#include "model/ListScenarioRequest.h"
#include "model/ListScenarioResult.h"
#include "model/ListTraceAppsRequest.h"
#include "model/ListTraceAppsResult.h"
#include "model/OpenArmsServiceRequest.h"
#include "model/OpenArmsServiceResult.h"
#include "model/QueryDatasetRequest.h"
#include "model/QueryDatasetResult.h"
#include "model/QueryMetricRequest.h"
@@ -153,6 +163,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddIntegrationResult> AddIntegrationOutcome;
typedef std::future<AddIntegrationOutcome> AddIntegrationOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::AddIntegrationRequest&, const AddIntegrationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddIntegrationAsyncHandler;
typedef Outcome<Error, Model::ApplyScenarioResult> ApplyScenarioOutcome;
typedef std::future<ApplyScenarioOutcome> ApplyScenarioOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ApplyScenarioRequest&, const ApplyScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyScenarioAsyncHandler;
typedef Outcome<Error, Model::CheckDataConsistencyResult> CheckDataConsistencyOutcome;
typedef std::future<CheckDataConsistencyOutcome> CheckDataConsistencyOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::CheckDataConsistencyRequest&, const CheckDataConsistencyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckDataConsistencyAsyncHandler;
@@ -186,6 +199,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteRetcodeAppResult> DeleteRetcodeAppOutcome;
typedef std::future<DeleteRetcodeAppOutcome> DeleteRetcodeAppOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DeleteRetcodeAppRequest&, const DeleteRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRetcodeAppAsyncHandler;
typedef Outcome<Error, Model::DeleteScenarioResult> DeleteScenarioOutcome;
typedef std::future<DeleteScenarioOutcome> DeleteScenarioOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DeleteScenarioRequest&, const DeleteScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteScenarioAsyncHandler;
typedef Outcome<Error, Model::DeleteTraceAppResult> DeleteTraceAppOutcome;
typedef std::future<DeleteTraceAppOutcome> DeleteTraceAppOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DeleteTraceAppRequest&, const DeleteTraceAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTraceAppAsyncHandler;
@@ -201,6 +217,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ExportPrometheusRulesResult> ExportPrometheusRulesOutcome;
typedef std::future<ExportPrometheusRulesOutcome> ExportPrometheusRulesOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ExportPrometheusRulesRequest&, const ExportPrometheusRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportPrometheusRulesAsyncHandler;
typedef Outcome<Error, Model::GetAgentDownloadUrlResult> GetAgentDownloadUrlOutcome;
typedef std::future<GetAgentDownloadUrlOutcome> GetAgentDownloadUrlOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetAgentDownloadUrlRequest&, const GetAgentDownloadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAgentDownloadUrlAsyncHandler;
typedef Outcome<Error, Model::GetAppApiByPageResult> GetAppApiByPageOutcome;
typedef std::future<GetAppApiByPageOutcome> GetAppApiByPageOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetAppApiByPageRequest&, const GetAppApiByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAppApiByPageAsyncHandler;
@@ -249,9 +268,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListRetcodeAppsResult> ListRetcodeAppsOutcome;
typedef std::future<ListRetcodeAppsOutcome> ListRetcodeAppsOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ListRetcodeAppsRequest&, const ListRetcodeAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRetcodeAppsAsyncHandler;
typedef Outcome<Error, Model::ListScenarioResult> ListScenarioOutcome;
typedef std::future<ListScenarioOutcome> ListScenarioOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ListScenarioRequest&, const ListScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListScenarioAsyncHandler;
typedef Outcome<Error, Model::ListTraceAppsResult> ListTraceAppsOutcome;
typedef std::future<ListTraceAppsOutcome> ListTraceAppsOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ListTraceAppsRequest&, const ListTraceAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTraceAppsAsyncHandler;
typedef Outcome<Error, Model::OpenArmsServiceResult> OpenArmsServiceOutcome;
typedef std::future<OpenArmsServiceOutcome> OpenArmsServiceOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::OpenArmsServiceRequest&, const OpenArmsServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenArmsServiceAsyncHandler;
typedef Outcome<Error, Model::QueryDatasetResult> QueryDatasetOutcome;
typedef std::future<QueryDatasetOutcome> QueryDatasetOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::QueryDatasetRequest&, const QueryDatasetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDatasetAsyncHandler;
@@ -332,6 +357,9 @@ namespace AlibabaCloud
AddIntegrationOutcome addIntegration(const Model::AddIntegrationRequest &request)const;
void addIntegrationAsync(const Model::AddIntegrationRequest& request, const AddIntegrationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddIntegrationOutcomeCallable addIntegrationCallable(const Model::AddIntegrationRequest& request) const;
ApplyScenarioOutcome applyScenario(const Model::ApplyScenarioRequest &request)const;
void applyScenarioAsync(const Model::ApplyScenarioRequest& request, const ApplyScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ApplyScenarioOutcomeCallable applyScenarioCallable(const Model::ApplyScenarioRequest& request) const;
CheckDataConsistencyOutcome checkDataConsistency(const Model::CheckDataConsistencyRequest &request)const;
void checkDataConsistencyAsync(const Model::CheckDataConsistencyRequest& request, const CheckDataConsistencyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckDataConsistencyOutcomeCallable checkDataConsistencyCallable(const Model::CheckDataConsistencyRequest& request) const;
@@ -365,6 +393,9 @@ namespace AlibabaCloud
DeleteRetcodeAppOutcome deleteRetcodeApp(const Model::DeleteRetcodeAppRequest &request)const;
void deleteRetcodeAppAsync(const Model::DeleteRetcodeAppRequest& request, const DeleteRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRetcodeAppOutcomeCallable deleteRetcodeAppCallable(const Model::DeleteRetcodeAppRequest& request) const;
DeleteScenarioOutcome deleteScenario(const Model::DeleteScenarioRequest &request)const;
void deleteScenarioAsync(const Model::DeleteScenarioRequest& request, const DeleteScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteScenarioOutcomeCallable deleteScenarioCallable(const Model::DeleteScenarioRequest& request) const;
DeleteTraceAppOutcome deleteTraceApp(const Model::DeleteTraceAppRequest &request)const;
void deleteTraceAppAsync(const Model::DeleteTraceAppRequest& request, const DeleteTraceAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTraceAppOutcomeCallable deleteTraceAppCallable(const Model::DeleteTraceAppRequest& request) const;
@@ -380,6 +411,9 @@ namespace AlibabaCloud
ExportPrometheusRulesOutcome exportPrometheusRules(const Model::ExportPrometheusRulesRequest &request)const;
void exportPrometheusRulesAsync(const Model::ExportPrometheusRulesRequest& request, const ExportPrometheusRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExportPrometheusRulesOutcomeCallable exportPrometheusRulesCallable(const Model::ExportPrometheusRulesRequest& request) const;
GetAgentDownloadUrlOutcome getAgentDownloadUrl(const Model::GetAgentDownloadUrlRequest &request)const;
void getAgentDownloadUrlAsync(const Model::GetAgentDownloadUrlRequest& request, const GetAgentDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAgentDownloadUrlOutcomeCallable getAgentDownloadUrlCallable(const Model::GetAgentDownloadUrlRequest& request) const;
GetAppApiByPageOutcome getAppApiByPage(const Model::GetAppApiByPageRequest &request)const;
void getAppApiByPageAsync(const Model::GetAppApiByPageRequest& request, const GetAppApiByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAppApiByPageOutcomeCallable getAppApiByPageCallable(const Model::GetAppApiByPageRequest& request) const;
@@ -428,9 +462,15 @@ namespace AlibabaCloud
ListRetcodeAppsOutcome listRetcodeApps(const Model::ListRetcodeAppsRequest &request)const;
void listRetcodeAppsAsync(const Model::ListRetcodeAppsRequest& request, const ListRetcodeAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRetcodeAppsOutcomeCallable listRetcodeAppsCallable(const Model::ListRetcodeAppsRequest& request) const;
ListScenarioOutcome listScenario(const Model::ListScenarioRequest &request)const;
void listScenarioAsync(const Model::ListScenarioRequest& request, const ListScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListScenarioOutcomeCallable listScenarioCallable(const Model::ListScenarioRequest& request) const;
ListTraceAppsOutcome listTraceApps(const Model::ListTraceAppsRequest &request)const;
void listTraceAppsAsync(const Model::ListTraceAppsRequest& request, const ListTraceAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTraceAppsOutcomeCallable listTraceAppsCallable(const Model::ListTraceAppsRequest& request) const;
OpenArmsServiceOutcome openArmsService(const Model::OpenArmsServiceRequest &request)const;
void openArmsServiceAsync(const Model::OpenArmsServiceRequest& request, const OpenArmsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OpenArmsServiceOutcomeCallable openArmsServiceCallable(const Model::OpenArmsServiceRequest& request) const;
QueryDatasetOutcome queryDataset(const Model::QueryDatasetRequest &request)const;
void queryDatasetAsync(const Model::QueryDatasetRequest& request, const QueryDatasetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryDatasetOutcomeCallable queryDatasetCallable(const Model::QueryDatasetRequest& request) const;

View 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_ARMS_MODEL_APPLYSCENARIOREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ApplyScenarioRequest : public RpcServiceRequest
{
public:
ApplyScenarioRequest();
~ApplyScenarioRequest();
bool getSnForce()const;
void setSnForce(bool snForce);
std::string getSign()const;
void setSign(const std::string& sign);
bool getSnStat()const;
void setSnStat(bool snStat);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getScenario()const;
void setScenario(const std::string& scenario);
bool getSnDump()const;
void setSnDump(bool snDump);
std::string getAppId()const;
void setAppId(const std::string& appId);
std::string getName()const;
void setName(const std::string& name);
bool getSnTransfer()const;
void setSnTransfer(bool snTransfer);
bool getUpdateOption()const;
void setUpdateOption(bool updateOption);
std::string getConfig()const;
void setConfig(const std::string& config);
private:
bool snForce_;
std::string sign_;
bool snStat_;
std::string regionId_;
std::string scenario_;
bool snDump_;
std::string appId_;
std::string name_;
bool snTransfer_;
bool updateOption_;
std::string config_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIOREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIORESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ApplyScenarioResult : public ServiceResult
{
public:
ApplyScenarioResult();
explicit ApplyScenarioResult(const std::string &payload);
~ApplyScenarioResult();
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIORESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETESCENARIOREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_DELETESCENARIOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT DeleteScenarioRequest : public RpcServiceRequest
{
public:
DeleteScenarioRequest();
~DeleteScenarioRequest();
long getScenarioId()const;
void setScenarioId(long scenarioId);
private:
long scenarioId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETESCENARIOREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETESCENARIORESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_DELETESCENARIORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT DeleteScenarioResult : public ServiceResult
{
public:
DeleteScenarioResult();
explicit DeleteScenarioResult(const std::string &payload);
~DeleteScenarioResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETESCENARIORESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetAgentDownloadUrlRequest : public RpcServiceRequest
{
public:
GetAgentDownloadUrlRequest();
~GetAgentDownloadUrlRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetAgentDownloadUrlResult : public ServiceResult
{
public:
GetAgentDownloadUrlResult();
explicit GetAgentDownloadUrlResult(const std::string &payload);
~GetAgentDownloadUrlResult();
std::string getArmsAgentDownloadUrl()const;
protected:
void parse(const std::string &payload);
private:
std::string armsAgentDownloadUrl_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLRESULT_H_

View File

@@ -35,14 +35,20 @@ namespace AlibabaCloud
ListDashboardsRequest();
~ListDashboardsRequest();
std::string getClusterType()const;
void setClusterType(const std::string& clusterType);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getTitle()const;
void setTitle(const std::string& title);
private:
std::string clusterType_;
std::string regionId_;
std::string clusterId_;
std::string title_;
};
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_LISTSCENARIOREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_LISTSCENARIOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ListScenarioRequest : public RpcServiceRequest
{
public:
ListScenarioRequest();
~ListScenarioRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getScenario()const;
void setScenario(const std::string& scenario);
std::string getAppId()const;
void setAppId(const std::string& appId);
std::string getName()const;
void setName(const std::string& name);
std::string getSign()const;
void setSign(const std::string& sign);
private:
std::string regionId_;
std::string scenario_;
std::string appId_;
std::string name_;
std::string sign_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTSCENARIOREQUEST_H_

View File

@@ -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_ARMS_MODEL_LISTSCENARIORESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_LISTSCENARIORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ListScenarioResult : public ServiceResult
{
public:
struct ArmsScenariosItem
{
std::string appId;
std::string userId;
std::string createTime;
std::string updateTime;
std::string sign;
long id;
std::string regionId;
std::string extensions;
std::string name;
};
ListScenarioResult();
explicit ListScenarioResult(const std::string &payload);
~ListScenarioResult();
std::vector<ArmsScenariosItem> getArmsScenarios()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ArmsScenariosItem> armsScenarios_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTSCENARIORESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICEREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT OpenArmsServiceRequest : public RpcServiceRequest
{
public:
OpenArmsServiceRequest();
~OpenArmsServiceRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getType()const;
void setType(const std::string& type);
private:
long ownerId_;
std::string type_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICERESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT OpenArmsServiceResult : public ServiceResult
{
public:
OpenArmsServiceResult();
explicit OpenArmsServiceResult(const std::string &payload);
~OpenArmsServiceResult();
std::string getOrderId()const;
protected:
void parse(const std::string &payload);
private:
std::string orderId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICERESULT_H_

View File

@@ -123,6 +123,42 @@ ARMSClient::AddIntegrationOutcomeCallable ARMSClient::addIntegrationCallable(con
return task->get_future();
}
ARMSClient::ApplyScenarioOutcome ARMSClient::applyScenario(const ApplyScenarioRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ApplyScenarioOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ApplyScenarioOutcome(ApplyScenarioResult(outcome.result()));
else
return ApplyScenarioOutcome(outcome.error());
}
void ARMSClient::applyScenarioAsync(const ApplyScenarioRequest& request, const ApplyScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, applyScenario(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::ApplyScenarioOutcomeCallable ARMSClient::applyScenarioCallable(const ApplyScenarioRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ApplyScenarioOutcome()>>(
[this, request]()
{
return this->applyScenario(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::CheckDataConsistencyOutcome ARMSClient::checkDataConsistency(const CheckDataConsistencyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -519,6 +555,42 @@ ARMSClient::DeleteRetcodeAppOutcomeCallable ARMSClient::deleteRetcodeAppCallable
return task->get_future();
}
ARMSClient::DeleteScenarioOutcome ARMSClient::deleteScenario(const DeleteScenarioRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteScenarioOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteScenarioOutcome(DeleteScenarioResult(outcome.result()));
else
return DeleteScenarioOutcome(outcome.error());
}
void ARMSClient::deleteScenarioAsync(const DeleteScenarioRequest& request, const DeleteScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteScenario(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::DeleteScenarioOutcomeCallable ARMSClient::deleteScenarioCallable(const DeleteScenarioRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteScenarioOutcome()>>(
[this, request]()
{
return this->deleteScenario(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::DeleteTraceAppOutcome ARMSClient::deleteTraceApp(const DeleteTraceAppRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -699,6 +771,42 @@ ARMSClient::ExportPrometheusRulesOutcomeCallable ARMSClient::exportPrometheusRul
return task->get_future();
}
ARMSClient::GetAgentDownloadUrlOutcome ARMSClient::getAgentDownloadUrl(const GetAgentDownloadUrlRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAgentDownloadUrlOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAgentDownloadUrlOutcome(GetAgentDownloadUrlResult(outcome.result()));
else
return GetAgentDownloadUrlOutcome(outcome.error());
}
void ARMSClient::getAgentDownloadUrlAsync(const GetAgentDownloadUrlRequest& request, const GetAgentDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAgentDownloadUrl(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetAgentDownloadUrlOutcomeCallable ARMSClient::getAgentDownloadUrlCallable(const GetAgentDownloadUrlRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAgentDownloadUrlOutcome()>>(
[this, request]()
{
return this->getAgentDownloadUrl(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetAppApiByPageOutcome ARMSClient::getAppApiByPage(const GetAppApiByPageRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1275,6 +1383,42 @@ ARMSClient::ListRetcodeAppsOutcomeCallable ARMSClient::listRetcodeAppsCallable(c
return task->get_future();
}
ARMSClient::ListScenarioOutcome ARMSClient::listScenario(const ListScenarioRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListScenarioOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListScenarioOutcome(ListScenarioResult(outcome.result()));
else
return ListScenarioOutcome(outcome.error());
}
void ARMSClient::listScenarioAsync(const ListScenarioRequest& request, const ListScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listScenario(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::ListScenarioOutcomeCallable ARMSClient::listScenarioCallable(const ListScenarioRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListScenarioOutcome()>>(
[this, request]()
{
return this->listScenario(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::ListTraceAppsOutcome ARMSClient::listTraceApps(const ListTraceAppsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1311,6 +1455,42 @@ ARMSClient::ListTraceAppsOutcomeCallable ARMSClient::listTraceAppsCallable(const
return task->get_future();
}
ARMSClient::OpenArmsServiceOutcome ARMSClient::openArmsService(const OpenArmsServiceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return OpenArmsServiceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return OpenArmsServiceOutcome(OpenArmsServiceResult(outcome.result()));
else
return OpenArmsServiceOutcome(outcome.error());
}
void ARMSClient::openArmsServiceAsync(const OpenArmsServiceRequest& request, const OpenArmsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, openArmsService(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::OpenArmsServiceOutcomeCallable ARMSClient::openArmsServiceCallable(const OpenArmsServiceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<OpenArmsServiceOutcome()>>(
[this, request]()
{
return this->openArmsService(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::QueryDatasetOutcome ARMSClient::queryDataset(const QueryDatasetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,150 @@
/*
* 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/arms/model/ApplyScenarioRequest.h>
using AlibabaCloud::ARMS::Model::ApplyScenarioRequest;
ApplyScenarioRequest::ApplyScenarioRequest() :
RpcServiceRequest("arms", "2019-08-08", "ApplyScenario")
{
setMethod(HttpRequest::Method::Post);
}
ApplyScenarioRequest::~ApplyScenarioRequest()
{}
bool ApplyScenarioRequest::getSnForce()const
{
return snForce_;
}
void ApplyScenarioRequest::setSnForce(bool snForce)
{
snForce_ = snForce;
setParameter("SnForce", snForce ? "true" : "false");
}
std::string ApplyScenarioRequest::getSign()const
{
return sign_;
}
void ApplyScenarioRequest::setSign(const std::string& sign)
{
sign_ = sign;
setParameter("Sign", sign);
}
bool ApplyScenarioRequest::getSnStat()const
{
return snStat_;
}
void ApplyScenarioRequest::setSnStat(bool snStat)
{
snStat_ = snStat;
setParameter("SnStat", snStat ? "true" : "false");
}
std::string ApplyScenarioRequest::getRegionId()const
{
return regionId_;
}
void ApplyScenarioRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ApplyScenarioRequest::getScenario()const
{
return scenario_;
}
void ApplyScenarioRequest::setScenario(const std::string& scenario)
{
scenario_ = scenario;
setParameter("Scenario", scenario);
}
bool ApplyScenarioRequest::getSnDump()const
{
return snDump_;
}
void ApplyScenarioRequest::setSnDump(bool snDump)
{
snDump_ = snDump;
setParameter("SnDump", snDump ? "true" : "false");
}
std::string ApplyScenarioRequest::getAppId()const
{
return appId_;
}
void ApplyScenarioRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}
std::string ApplyScenarioRequest::getName()const
{
return name_;
}
void ApplyScenarioRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
bool ApplyScenarioRequest::getSnTransfer()const
{
return snTransfer_;
}
void ApplyScenarioRequest::setSnTransfer(bool snTransfer)
{
snTransfer_ = snTransfer;
setParameter("SnTransfer", snTransfer ? "true" : "false");
}
bool ApplyScenarioRequest::getUpdateOption()const
{
return updateOption_;
}
void ApplyScenarioRequest::setUpdateOption(bool updateOption)
{
updateOption_ = updateOption;
setParameter("UpdateOption", updateOption ? "true" : "false");
}
std::string ApplyScenarioRequest::getConfig()const
{
return config_;
}
void ApplyScenarioRequest::setConfig(const std::string& config)
{
config_ = config;
setParameter("Config", config);
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/ApplyScenarioResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
ApplyScenarioResult::ApplyScenarioResult() :
ServiceResult()
{}
ApplyScenarioResult::ApplyScenarioResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ApplyScenarioResult::~ApplyScenarioResult()
{}
void ApplyScenarioResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString();
}
std::string ApplyScenarioResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/DeleteScenarioRequest.h>
using AlibabaCloud::ARMS::Model::DeleteScenarioRequest;
DeleteScenarioRequest::DeleteScenarioRequest() :
RpcServiceRequest("arms", "2019-08-08", "DeleteScenario")
{
setMethod(HttpRequest::Method::Post);
}
DeleteScenarioRequest::~DeleteScenarioRequest()
{}
long DeleteScenarioRequest::getScenarioId()const
{
return scenarioId_;
}
void DeleteScenarioRequest::setScenarioId(long scenarioId)
{
scenarioId_ = scenarioId;
setParameter("ScenarioId", std::to_string(scenarioId));
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/DeleteScenarioResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
DeleteScenarioResult::DeleteScenarioResult() :
ServiceResult()
{}
DeleteScenarioResult::DeleteScenarioResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteScenarioResult::~DeleteScenarioResult()
{}
void DeleteScenarioResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString() == "true";
}
bool DeleteScenarioResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetAgentDownloadUrlRequest.h>
using AlibabaCloud::ARMS::Model::GetAgentDownloadUrlRequest;
GetAgentDownloadUrlRequest::GetAgentDownloadUrlRequest() :
RpcServiceRequest("arms", "2019-08-08", "GetAgentDownloadUrl")
{
setMethod(HttpRequest::Method::Get);
}
GetAgentDownloadUrlRequest::~GetAgentDownloadUrlRequest()
{}
std::string GetAgentDownloadUrlRequest::getRegionId()const
{
return regionId_;
}
void GetAgentDownloadUrlRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetAgentDownloadUrlResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetAgentDownloadUrlResult::GetAgentDownloadUrlResult() :
ServiceResult()
{}
GetAgentDownloadUrlResult::GetAgentDownloadUrlResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAgentDownloadUrlResult::~GetAgentDownloadUrlResult()
{}
void GetAgentDownloadUrlResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ArmsAgentDownloadUrl"].isNull())
armsAgentDownloadUrl_ = value["ArmsAgentDownloadUrl"].asString();
}
std::string GetAgentDownloadUrlResult::getArmsAgentDownloadUrl()const
{
return armsAgentDownloadUrl_;
}

View File

@@ -27,6 +27,17 @@ ListDashboardsRequest::ListDashboardsRequest() :
ListDashboardsRequest::~ListDashboardsRequest()
{}
std::string ListDashboardsRequest::getClusterType()const
{
return clusterType_;
}
void ListDashboardsRequest::setClusterType(const std::string& clusterType)
{
clusterType_ = clusterType;
setParameter("ClusterType", clusterType);
}
std::string ListDashboardsRequest::getRegionId()const
{
return regionId_;
@@ -49,3 +60,14 @@ void ListDashboardsRequest::setClusterId(const std::string& clusterId)
setParameter("ClusterId", clusterId);
}
std::string ListDashboardsRequest::getTitle()const
{
return title_;
}
void ListDashboardsRequest::setTitle(const std::string& title)
{
title_ = title;
setParameter("Title", title);
}

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/ListScenarioRequest.h>
using AlibabaCloud::ARMS::Model::ListScenarioRequest;
ListScenarioRequest::ListScenarioRequest() :
RpcServiceRequest("arms", "2019-08-08", "ListScenario")
{
setMethod(HttpRequest::Method::Post);
}
ListScenarioRequest::~ListScenarioRequest()
{}
std::string ListScenarioRequest::getRegionId()const
{
return regionId_;
}
void ListScenarioRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ListScenarioRequest::getScenario()const
{
return scenario_;
}
void ListScenarioRequest::setScenario(const std::string& scenario)
{
scenario_ = scenario;
setParameter("Scenario", scenario);
}
std::string ListScenarioRequest::getAppId()const
{
return appId_;
}
void ListScenarioRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}
std::string ListScenarioRequest::getName()const
{
return name_;
}
void ListScenarioRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
std::string ListScenarioRequest::getSign()const
{
return sign_;
}
void ListScenarioRequest::setSign(const std::string& sign)
{
sign_ = sign;
setParameter("Sign", sign);
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/ListScenarioResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
ListScenarioResult::ListScenarioResult() :
ServiceResult()
{}
ListScenarioResult::ListScenarioResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListScenarioResult::~ListScenarioResult()
{}
void ListScenarioResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allArmsScenariosNode = value["ArmsScenarios"]["ArmsScenariosItem"];
for (auto valueArmsScenariosArmsScenariosItem : allArmsScenariosNode)
{
ArmsScenariosItem armsScenariosObject;
if(!valueArmsScenariosArmsScenariosItem["Id"].isNull())
armsScenariosObject.id = std::stol(valueArmsScenariosArmsScenariosItem["Id"].asString());
if(!valueArmsScenariosArmsScenariosItem["CreateTime"].isNull())
armsScenariosObject.createTime = valueArmsScenariosArmsScenariosItem["CreateTime"].asString();
if(!valueArmsScenariosArmsScenariosItem["UpdateTime"].isNull())
armsScenariosObject.updateTime = valueArmsScenariosArmsScenariosItem["UpdateTime"].asString();
if(!valueArmsScenariosArmsScenariosItem["Name"].isNull())
armsScenariosObject.name = valueArmsScenariosArmsScenariosItem["Name"].asString();
if(!valueArmsScenariosArmsScenariosItem["Sign"].isNull())
armsScenariosObject.sign = valueArmsScenariosArmsScenariosItem["Sign"].asString();
if(!valueArmsScenariosArmsScenariosItem["UserId"].isNull())
armsScenariosObject.userId = valueArmsScenariosArmsScenariosItem["UserId"].asString();
if(!valueArmsScenariosArmsScenariosItem["RegionId"].isNull())
armsScenariosObject.regionId = valueArmsScenariosArmsScenariosItem["RegionId"].asString();
if(!valueArmsScenariosArmsScenariosItem["AppId"].isNull())
armsScenariosObject.appId = valueArmsScenariosArmsScenariosItem["AppId"].asString();
if(!valueArmsScenariosArmsScenariosItem["Extensions"].isNull())
armsScenariosObject.extensions = valueArmsScenariosArmsScenariosItem["Extensions"].asString();
armsScenarios_.push_back(armsScenariosObject);
}
}
std::vector<ListScenarioResult::ArmsScenariosItem> ListScenarioResult::getArmsScenarios()const
{
return armsScenarios_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/OpenArmsServiceRequest.h>
using AlibabaCloud::ARMS::Model::OpenArmsServiceRequest;
OpenArmsServiceRequest::OpenArmsServiceRequest() :
RpcServiceRequest("arms", "2019-08-08", "OpenArmsService")
{
setMethod(HttpRequest::Method::Post);
}
OpenArmsServiceRequest::~OpenArmsServiceRequest()
{}
long OpenArmsServiceRequest::getOwnerId()const
{
return ownerId_;
}
void OpenArmsServiceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string OpenArmsServiceRequest::getType()const
{
return type_;
}
void OpenArmsServiceRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/OpenArmsServiceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
OpenArmsServiceResult::OpenArmsServiceResult() :
ServiceResult()
{}
OpenArmsServiceResult::OpenArmsServiceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
OpenArmsServiceResult::~OpenArmsServiceResult()
{}
void OpenArmsServiceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["OrderId"].isNull())
orderId_ = value["OrderId"].asString();
}
std::string OpenArmsServiceResult::getOrderId()const
{
return orderId_;
}

View File

@@ -69,6 +69,8 @@ set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/QueryAccountBalanceResult.h
include/alibabacloud/bssopenapi/model/QueryAccountBillRequest.h
include/alibabacloud/bssopenapi/model/QueryAccountBillResult.h
include/alibabacloud/bssopenapi/model/QueryAccountTransactionDetailsRequest.h
include/alibabacloud/bssopenapi/model/QueryAccountTransactionDetailsResult.h
include/alibabacloud/bssopenapi/model/QueryAccountTransactionsRequest.h
include/alibabacloud/bssopenapi/model/QueryAccountTransactionsResult.h
include/alibabacloud/bssopenapi/model/QueryAvailableInstancesRequest.h
@@ -190,6 +192,8 @@ set(bssopenapi_src
src/model/QueryAccountBalanceResult.cc
src/model/QueryAccountBillRequest.cc
src/model/QueryAccountBillResult.cc
src/model/QueryAccountTransactionDetailsRequest.cc
src/model/QueryAccountTransactionDetailsResult.cc
src/model/QueryAccountTransactionsRequest.cc
src/model/QueryAccountTransactionsResult.cc
src/model/QueryAvailableInstancesRequest.cc

View File

@@ -70,6 +70,8 @@
#include "model/QueryAccountBalanceResult.h"
#include "model/QueryAccountBillRequest.h"
#include "model/QueryAccountBillResult.h"
#include "model/QueryAccountTransactionDetailsRequest.h"
#include "model/QueryAccountTransactionDetailsResult.h"
#include "model/QueryAccountTransactionsRequest.h"
#include "model/QueryAccountTransactionsResult.h"
#include "model/QueryAvailableInstancesRequest.h"
@@ -221,6 +223,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryAccountBillResult> QueryAccountBillOutcome;
typedef std::future<QueryAccountBillOutcome> QueryAccountBillOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryAccountBillRequest&, const QueryAccountBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccountBillAsyncHandler;
typedef Outcome<Error, Model::QueryAccountTransactionDetailsResult> QueryAccountTransactionDetailsOutcome;
typedef std::future<QueryAccountTransactionDetailsOutcome> QueryAccountTransactionDetailsOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryAccountTransactionDetailsRequest&, const QueryAccountTransactionDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccountTransactionDetailsAsyncHandler;
typedef Outcome<Error, Model::QueryAccountTransactionsResult> QueryAccountTransactionsOutcome;
typedef std::future<QueryAccountTransactionsOutcome> QueryAccountTransactionsOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryAccountTransactionsRequest&, const QueryAccountTransactionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccountTransactionsAsyncHandler;
@@ -403,6 +408,9 @@ namespace AlibabaCloud
QueryAccountBillOutcome queryAccountBill(const Model::QueryAccountBillRequest &request)const;
void queryAccountBillAsync(const Model::QueryAccountBillRequest& request, const QueryAccountBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryAccountBillOutcomeCallable queryAccountBillCallable(const Model::QueryAccountBillRequest& request) const;
QueryAccountTransactionDetailsOutcome queryAccountTransactionDetails(const Model::QueryAccountTransactionDetailsRequest &request)const;
void queryAccountTransactionDetailsAsync(const Model::QueryAccountTransactionDetailsRequest& request, const QueryAccountTransactionDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryAccountTransactionDetailsOutcomeCallable queryAccountTransactionDetailsCallable(const Model::QueryAccountTransactionDetailsRequest& request) const;
QueryAccountTransactionsOutcome queryAccountTransactions(const Model::QueryAccountTransactionsRequest &request)const;
void queryAccountTransactionsAsync(const Model::QueryAccountTransactionsRequest& request, const QueryAccountTransactionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryAccountTransactionsOutcomeCallable queryAccountTransactionsCallable(const Model::QueryAccountTransactionsRequest& request) const;

View File

@@ -35,8 +35,8 @@ namespace AlibabaCloud
{
std::string resourceId;
std::string commodityCode;
long resourceUserId;
std::string apportionCode;
long resourceUserId;
};
public:

View File

@@ -37,8 +37,8 @@ namespace AlibabaCloud
struct CostUnitDtoListItem
{
long unitId;
long ownerUid;
long parentUnitId;
long ownerUid;
std::string unitName;
};
std::vector<CostUnitDtoListItem> costUnitDtoList;

View File

@@ -39,23 +39,24 @@ namespace AlibabaCloud
std::string afterTaxAmount;
std::string subOrderId;
std::string config;
std::string paymentTime;
std::string tax;
std::string paymentCurrency;
std::string _operator;
std::string tax;
std::string paymentTime;
std::string paymentCurrency;
std::string usageEndTime;
std::string subscriptionType;
std::string pretaxGrossAmount;
std::string orderType;
std::string currency;
std::string commodityCode;
std::string usageStartTime;
std::string originalConfig;
std::string paymentStatus;
std::string productCode;
std::string createTime;
std::string productType;
std::string quantity;
std::string relatedOrderId;
std::string quantity;
std::string orderId;
std::string pretaxAmount;
std::string orderSubType;
@@ -64,8 +65,8 @@ namespace AlibabaCloud
std::string pretaxAmountLocal;
};
int totalCount;
int pageNum;
int pageSize;
int pageNum;
std::vector<Order> orderList;
std::string hostName;
};

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONDETAILSREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONDETAILSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAccountTransactionDetailsRequest : public RpcServiceRequest
{
public:
QueryAccountTransactionDetailsRequest();
~QueryAccountTransactionDetailsRequest();
std::string getTransactionType()const;
void setTransactionType(const std::string& transactionType);
std::string getCreateTimeEnd()const;
void setCreateTimeEnd(const std::string& createTimeEnd);
std::string getRecordID()const;
void setRecordID(const std::string& recordID);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::string getTransactionChannel()const;
void setTransactionChannel(const std::string& transactionChannel);
std::string getTransactionChannelSN()const;
void setTransactionChannelSN(const std::string& transactionChannelSN);
std::string getCreateTimeStart()const;
void setCreateTimeStart(const std::string& createTimeStart);
std::string getTransactionNumber()const;
void setTransactionNumber(const std::string& transactionNumber);
private:
std::string transactionType_;
std::string createTimeEnd_;
std::string recordID_;
std::string nextToken_;
int maxResults_;
std::string transactionChannel_;
std::string transactionChannelSN_;
std::string createTimeStart_;
std::string transactionNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONDETAILSREQUEST_H_

View 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_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONDETAILSRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONDETAILSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAccountTransactionDetailsResult : public ServiceResult
{
public:
struct Data
{
struct AccountTransactionsListItem
{
std::string transactionType;
std::string billingCycle;
std::string transactionNumber;
std::string amount;
std::string transactionAccount;
std::string transactionTime;
std::string transactionChannelSN;
std::string remarks;
std::string fundType;
std::string transactionFlow;
std::string recordID;
std::string balance;
std::string transactionChannel;
};
int totalCount;
std::string nextToken;
int maxResults;
std::vector<AccountTransactionsListItem> accountTransactionsList;
std::string accountName;
};
QueryAccountTransactionDetailsResult();
explicit QueryAccountTransactionDetailsResult(const std::string &payload);
~QueryAccountTransactionDetailsResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONDETAILSRESULT_H_

View File

@@ -37,15 +37,15 @@ namespace AlibabaCloud
struct CostUnit
{
long unitId;
long ownerUid;
long parentUnitId;
long ownerUid;
std::string unitName;
};
struct CostUnitStatisInfo
{
long subUnitCount;
long totalResourceCount;
long totalResourceGroupCount;
long totalResourceCount;
long userCount;
long resourceCount;
long totalUserCount;
@@ -64,12 +64,12 @@ namespace AlibabaCloud
std::string commodityCode;
std::string resourceStatus;
std::string resourceUserName;
std::string commodityName;
std::string resourceGroup;
std::string commodityName;
};
int totalCount;
int pageNum;
int pageSize;
int pageNum;
CostUnit costUnit;
std::vector<ResourceInstanceList> resourceInstanceDtoList;
CostUnitStatisInfo costUnitStatisInfo;

View File

@@ -37,13 +37,13 @@ namespace AlibabaCloud
struct CostUnitDtoListItem
{
long unitId;
long ownerUid;
long parentUnitId;
long ownerUid;
std::string unitName;
};
int totalCount;
int pageNum;
int pageSize;
int pageNum;
std::vector<CostUnitDtoListItem> costUnitDtoList;
};

View File

@@ -50,6 +50,7 @@ namespace AlibabaCloud
std::string orderType;
std::string pretaxAmount;
std::string currency;
std::string commodityCode;
std::string paymentStatus;
std::string pretaxAmountLocal;
};

View File

@@ -915,6 +915,42 @@ BssOpenApiClient::QueryAccountBillOutcomeCallable BssOpenApiClient::queryAccount
return task->get_future();
}
BssOpenApiClient::QueryAccountTransactionDetailsOutcome BssOpenApiClient::queryAccountTransactionDetails(const QueryAccountTransactionDetailsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryAccountTransactionDetailsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryAccountTransactionDetailsOutcome(QueryAccountTransactionDetailsResult(outcome.result()));
else
return QueryAccountTransactionDetailsOutcome(outcome.error());
}
void BssOpenApiClient::queryAccountTransactionDetailsAsync(const QueryAccountTransactionDetailsRequest& request, const QueryAccountTransactionDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryAccountTransactionDetails(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::QueryAccountTransactionDetailsOutcomeCallable BssOpenApiClient::queryAccountTransactionDetailsCallable(const QueryAccountTransactionDetailsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryAccountTransactionDetailsOutcome()>>(
[this, request]()
{
return this->queryAccountTransactionDetails(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
BssOpenApiClient::QueryAccountTransactionsOutcome BssOpenApiClient::queryAccountTransactions(const QueryAccountTransactionsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -40,8 +40,8 @@ void AllocateCostUnitResourceRequest::setResourceInstanceList(const std::vector<
std::string resourceInstanceListObjStr = "ResourceInstanceList." + std::to_string(dep1 + 1);
setParameter(resourceInstanceListObjStr + ".ResourceId", resourceInstanceListObj.resourceId);
setParameter(resourceInstanceListObjStr + ".CommodityCode", resourceInstanceListObj.commodityCode);
setParameter(resourceInstanceListObjStr + ".ResourceUserId", std::to_string(resourceInstanceListObj.resourceUserId));
setParameter(resourceInstanceListObjStr + ".ApportionCode", resourceInstanceListObj.apportionCode);
setParameter(resourceInstanceListObjStr + ".ResourceUserId", std::to_string(resourceInstanceListObj.resourceUserId));
}
}

View File

@@ -40,18 +40,18 @@ void AllocateCostUnitResourceResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["IsSuccess"].isNull())
data_.isSuccess = dataNode["IsSuccess"].asString() == "true";
if(!dataNode["ToUnitUserId"].isNull())
data_.toUnitUserId = std::stol(dataNode["ToUnitUserId"].asString());
if(!dataNode["ToUnitId"].isNull())
data_.toUnitId = std::stol(dataNode["ToUnitId"].asString());
if(!dataNode["IsSuccess"].isNull())
data_.isSuccess = dataNode["IsSuccess"].asString() == "true";
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}

View File

@@ -44,22 +44,22 @@ void CreateCostUnitResult::parse(const std::string &payload)
for (auto dataNodeCostUnitDtoListCostUnitDtoListItem : allCostUnitDtoListNode)
{
Data::CostUnitDtoListItem costUnitDtoListItemObject;
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["OwnerUid"].isNull())
costUnitDtoListItemObject.ownerUid = std::stol(dataNodeCostUnitDtoListCostUnitDtoListItem["OwnerUid"].asString());
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["ParentUnitId"].isNull())
costUnitDtoListItemObject.parentUnitId = std::stol(dataNodeCostUnitDtoListCostUnitDtoListItem["ParentUnitId"].asString());
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["UnitId"].isNull())
costUnitDtoListItemObject.unitId = std::stol(dataNodeCostUnitDtoListCostUnitDtoListItem["UnitId"].asString());
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["ParentUnitId"].isNull())
costUnitDtoListItemObject.parentUnitId = std::stol(dataNodeCostUnitDtoListCostUnitDtoListItem["ParentUnitId"].asString());
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["OwnerUid"].isNull())
costUnitDtoListItemObject.ownerUid = std::stol(dataNodeCostUnitDtoListCostUnitDtoListItem["OwnerUid"].asString());
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["UnitName"].isNull())
costUnitDtoListItemObject.unitName = dataNodeCostUnitDtoListCostUnitDtoListItem["UnitName"].asString();
data_.costUnitDtoList.push_back(costUnitDtoListItemObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}

View File

@@ -40,18 +40,18 @@ void DeleteCostUnitResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["OwnerUid"].isNull())
data_.ownerUid = std::stol(dataNode["OwnerUid"].asString());
if(!dataNode["UnitId"].isNull())
data_.unitId = std::stol(dataNode["UnitId"].asString());
if(!dataNode["IsSuccess"].isNull())
data_.isSuccess = dataNode["IsSuccess"].asString() == "true";
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!dataNode["UnitId"].isNull())
data_.unitId = std::stol(dataNode["UnitId"].asString());
if(!dataNode["OwnerUid"].isNull())
data_.ownerUid = std::stol(dataNode["OwnerUid"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}

View File

@@ -67,18 +67,18 @@ void DescribePricingModuleResult::parse(const std::string &payload)
attributeObject.name = dataNodeAttributeListAttribute["Name"].asString();
if(!dataNodeAttributeListAttribute["Unit"].isNull())
attributeObject.unit = dataNodeAttributeListAttribute["Unit"].asString();
auto allValuesNode = allAttributeListNode["Values"]["AttributeValue"];
for (auto allAttributeListNodeValuesAttributeValue : allValuesNode)
auto allValuesNode = dataNodeAttributeListAttribute["Values"]["AttributeValue"];
for (auto dataNodeAttributeListAttributeValuesAttributeValue : allValuesNode)
{
Data::Attribute::AttributeValue valuesObject;
if(!allAttributeListNodeValuesAttributeValue["Type"].isNull())
valuesObject.type = allAttributeListNodeValuesAttributeValue["Type"].asString();
if(!allAttributeListNodeValuesAttributeValue["Name"].isNull())
valuesObject.name = allAttributeListNodeValuesAttributeValue["Name"].asString();
if(!allAttributeListNodeValuesAttributeValue["Value"].isNull())
valuesObject.value = allAttributeListNodeValuesAttributeValue["Value"].asString();
if(!allAttributeListNodeValuesAttributeValue["Remark"].isNull())
valuesObject.remark = allAttributeListNodeValuesAttributeValue["Remark"].asString();
if(!dataNodeAttributeListAttributeValuesAttributeValue["Type"].isNull())
valuesObject.type = dataNodeAttributeListAttributeValuesAttributeValue["Type"].asString();
if(!dataNodeAttributeListAttributeValuesAttributeValue["Name"].isNull())
valuesObject.name = dataNodeAttributeListAttributeValuesAttributeValue["Name"].asString();
if(!dataNodeAttributeListAttributeValuesAttributeValue["Value"].isNull())
valuesObject.value = dataNodeAttributeListAttributeValuesAttributeValue["Value"].asString();
if(!dataNodeAttributeListAttributeValuesAttributeValue["Remark"].isNull())
valuesObject.remark = dataNodeAttributeListAttributeValuesAttributeValue["Remark"].asString();
attributeObject.values.push_back(valuesObject);
}
data_.attributeList.push_back(attributeObject);

View File

@@ -50,42 +50,42 @@ void DescribeResourcePackageProductResult::parse(const std::string &payload)
resourcePackageObject.productType = dataNodeResourcePackagesResourcePackage["ProductType"].asString();
if(!dataNodeResourcePackagesResourcePackage["Name"].isNull())
resourcePackageObject.name = dataNodeResourcePackagesResourcePackage["Name"].asString();
auto allPackageTypesNode = allResourcePackagesNode["PackageTypes"]["PackageType"];
for (auto allResourcePackagesNodePackageTypesPackageType : allPackageTypesNode)
auto allPackageTypesNode = dataNodeResourcePackagesResourcePackage["PackageTypes"]["PackageType"];
for (auto dataNodeResourcePackagesResourcePackagePackageTypesPackageType : allPackageTypesNode)
{
Data::ResourcePackage::PackageType packageTypesObject;
if(!allResourcePackagesNodePackageTypesPackageType["Name"].isNull())
packageTypesObject.name = allResourcePackagesNodePackageTypesPackageType["Name"].asString();
if(!allResourcePackagesNodePackageTypesPackageType["Code"].isNull())
packageTypesObject.code = allResourcePackagesNodePackageTypesPackageType["Code"].asString();
auto allPropertiesNode = allPackageTypesNode["Properties"]["Property"];
for (auto allPackageTypesNodePropertiesProperty : allPropertiesNode)
if(!dataNodeResourcePackagesResourcePackagePackageTypesPackageType["Name"].isNull())
packageTypesObject.name = dataNodeResourcePackagesResourcePackagePackageTypesPackageType["Name"].asString();
if(!dataNodeResourcePackagesResourcePackagePackageTypesPackageType["Code"].isNull())
packageTypesObject.code = dataNodeResourcePackagesResourcePackagePackageTypesPackageType["Code"].asString();
auto allPropertiesNode = dataNodeResourcePackagesResourcePackagePackageTypesPackageType["Properties"]["Property"];
for (auto dataNodeResourcePackagesResourcePackagePackageTypesPackageTypePropertiesProperty : allPropertiesNode)
{
Data::ResourcePackage::PackageType::Property propertiesObject;
if(!allPackageTypesNodePropertiesProperty["Name"].isNull())
propertiesObject.name = allPackageTypesNodePropertiesProperty["Name"].asString();
if(!allPackageTypesNodePropertiesProperty["Value"].isNull())
propertiesObject.value = allPackageTypesNodePropertiesProperty["Value"].asString();
if(!dataNodeResourcePackagesResourcePackagePackageTypesPackageTypePropertiesProperty["Name"].isNull())
propertiesObject.name = dataNodeResourcePackagesResourcePackagePackageTypesPackageTypePropertiesProperty["Name"].asString();
if(!dataNodeResourcePackagesResourcePackagePackageTypesPackageTypePropertiesProperty["Value"].isNull())
propertiesObject.value = dataNodeResourcePackagesResourcePackagePackageTypesPackageTypePropertiesProperty["Value"].asString();
packageTypesObject.properties.push_back(propertiesObject);
}
auto allSpecificationsNode = allPackageTypesNode["Specifications"]["Specification"];
for (auto allPackageTypesNodeSpecificationsSpecification : allSpecificationsNode)
auto allSpecificationsNode = dataNodeResourcePackagesResourcePackagePackageTypesPackageType["Specifications"]["Specification"];
for (auto dataNodeResourcePackagesResourcePackagePackageTypesPackageTypeSpecificationsSpecification : allSpecificationsNode)
{
Data::ResourcePackage::PackageType::Specification specificationsObject;
if(!allPackageTypesNodeSpecificationsSpecification["Name"].isNull())
specificationsObject.name = allPackageTypesNodeSpecificationsSpecification["Name"].asString();
if(!allPackageTypesNodeSpecificationsSpecification["Value"].isNull())
specificationsObject.value = allPackageTypesNodeSpecificationsSpecification["Value"].asString();
auto allAvailableDurationsNode = allSpecificationsNode["AvailableDurations"]["AvailableDuration"];
for (auto allSpecificationsNodeAvailableDurationsAvailableDuration : allAvailableDurationsNode)
if(!dataNodeResourcePackagesResourcePackagePackageTypesPackageTypeSpecificationsSpecification["Name"].isNull())
specificationsObject.name = dataNodeResourcePackagesResourcePackagePackageTypesPackageTypeSpecificationsSpecification["Name"].asString();
if(!dataNodeResourcePackagesResourcePackagePackageTypesPackageTypeSpecificationsSpecification["Value"].isNull())
specificationsObject.value = dataNodeResourcePackagesResourcePackagePackageTypesPackageTypeSpecificationsSpecification["Value"].asString();
auto allAvailableDurationsNode = dataNodeResourcePackagesResourcePackagePackageTypesPackageTypeSpecificationsSpecification["AvailableDurations"]["AvailableDuration"];
for (auto dataNodeResourcePackagesResourcePackagePackageTypesPackageTypeSpecificationsSpecificationAvailableDurationsAvailableDuration : allAvailableDurationsNode)
{
Data::ResourcePackage::PackageType::Specification::AvailableDuration availableDurationsObject;
if(!allSpecificationsNodeAvailableDurationsAvailableDuration["Name"].isNull())
availableDurationsObject.name = allSpecificationsNodeAvailableDurationsAvailableDuration["Name"].asString();
if(!allSpecificationsNodeAvailableDurationsAvailableDuration["Value"].isNull())
availableDurationsObject.value = std::stoi(allSpecificationsNodeAvailableDurationsAvailableDuration["Value"].asString());
if(!allSpecificationsNodeAvailableDurationsAvailableDuration["Unit"].isNull())
availableDurationsObject.unit = allSpecificationsNodeAvailableDurationsAvailableDuration["Unit"].asString();
if(!dataNodeResourcePackagesResourcePackagePackageTypesPackageTypeSpecificationsSpecificationAvailableDurationsAvailableDuration["Name"].isNull())
availableDurationsObject.name = dataNodeResourcePackagesResourcePackagePackageTypesPackageTypeSpecificationsSpecificationAvailableDurationsAvailableDuration["Name"].asString();
if(!dataNodeResourcePackagesResourcePackagePackageTypesPackageTypeSpecificationsSpecificationAvailableDurationsAvailableDuration["Value"].isNull())
availableDurationsObject.value = std::stoi(dataNodeResourcePackagesResourcePackagePackageTypesPackageTypeSpecificationsSpecificationAvailableDurationsAvailableDuration["Value"].asString());
if(!dataNodeResourcePackagesResourcePackagePackageTypesPackageTypeSpecificationsSpecificationAvailableDurationsAvailableDuration["Unit"].isNull())
availableDurationsObject.unit = dataNodeResourcePackagesResourcePackagePackageTypesPackageTypeSpecificationsSpecificationAvailableDurationsAvailableDuration["Unit"].asString();
specificationsObject.availableDurations.push_back(availableDurationsObject);
}
packageTypesObject.specifications.push_back(specificationsObject);

View File

@@ -40,78 +40,80 @@ void GetOrderDetailResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["HostName"].isNull())
data_.hostName = dataNode["HostName"].asString();
if(!dataNode["PageNum"].isNull())
data_.pageNum = std::stoi(dataNode["PageNum"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["PageNum"].isNull())
data_.pageNum = std::stoi(dataNode["PageNum"].asString());
if(!dataNode["HostName"].isNull())
data_.hostName = dataNode["HostName"].asString();
auto allOrderListNode = dataNode["OrderList"]["Order"];
for (auto dataNodeOrderListOrder : allOrderListNode)
{
Data::Order orderObject;
if(!dataNodeOrderListOrder["OrderId"].isNull())
orderObject.orderId = dataNodeOrderListOrder["OrderId"].asString();
if(!dataNodeOrderListOrder["SubOrderId"].isNull())
orderObject.subOrderId = dataNodeOrderListOrder["SubOrderId"].asString();
if(!dataNodeOrderListOrder["ProductCode"].isNull())
orderObject.productCode = dataNodeOrderListOrder["ProductCode"].asString();
if(!dataNodeOrderListOrder["ProductType"].isNull())
orderObject.productType = dataNodeOrderListOrder["ProductType"].asString();
if(!dataNodeOrderListOrder["SubscriptionType"].isNull())
orderObject.subscriptionType = dataNodeOrderListOrder["SubscriptionType"].asString();
if(!dataNodeOrderListOrder["OrderType"].isNull())
orderObject.orderType = dataNodeOrderListOrder["OrderType"].asString();
if(!dataNodeOrderListOrder["CreateTime"].isNull())
orderObject.createTime = dataNodeOrderListOrder["CreateTime"].asString();
if(!dataNodeOrderListOrder["PaymentTime"].isNull())
orderObject.paymentTime = dataNodeOrderListOrder["PaymentTime"].asString();
if(!dataNodeOrderListOrder["PaymentStatus"].isNull())
orderObject.paymentStatus = dataNodeOrderListOrder["PaymentStatus"].asString();
if(!dataNodeOrderListOrder["Region"].isNull())
orderObject.region = dataNodeOrderListOrder["Region"].asString();
if(!dataNodeOrderListOrder["Config"].isNull())
orderObject.config = dataNodeOrderListOrder["Config"].asString();
if(!dataNodeOrderListOrder["Quantity"].isNull())
orderObject.quantity = dataNodeOrderListOrder["Quantity"].asString();
if(!dataNodeOrderListOrder["UsageStartTime"].isNull())
orderObject.usageStartTime = dataNodeOrderListOrder["UsageStartTime"].asString();
if(!dataNodeOrderListOrder["UsageEndTime"].isNull())
orderObject.usageEndTime = dataNodeOrderListOrder["UsageEndTime"].asString();
if(!dataNodeOrderListOrder["InstanceIDs"].isNull())
orderObject.instanceIDs = dataNodeOrderListOrder["InstanceIDs"].asString();
if(!dataNodeOrderListOrder["PretaxGrossAmount"].isNull())
orderObject.pretaxGrossAmount = dataNodeOrderListOrder["PretaxGrossAmount"].asString();
if(!dataNodeOrderListOrder["PretaxAmount"].isNull())
orderObject.pretaxAmount = dataNodeOrderListOrder["PretaxAmount"].asString();
if(!dataNodeOrderListOrder["Currency"].isNull())
orderObject.currency = dataNodeOrderListOrder["Currency"].asString();
if(!dataNodeOrderListOrder["PretaxAmountLocal"].isNull())
orderObject.pretaxAmountLocal = dataNodeOrderListOrder["PretaxAmountLocal"].asString();
if(!dataNodeOrderListOrder["Tax"].isNull())
orderObject.tax = dataNodeOrderListOrder["Tax"].asString();
if(!dataNodeOrderListOrder["AfterTaxAmount"].isNull())
orderObject.afterTaxAmount = dataNodeOrderListOrder["AfterTaxAmount"].asString();
if(!dataNodeOrderListOrder["PaymentCurrency"].isNull())
orderObject.paymentCurrency = dataNodeOrderListOrder["PaymentCurrency"].asString();
if(!dataNodeOrderListOrder["Operator"].isNull())
orderObject._operator = dataNodeOrderListOrder["Operator"].asString();
if(!dataNodeOrderListOrder["RelatedOrderId"].isNull())
orderObject.relatedOrderId = dataNodeOrderListOrder["RelatedOrderId"].asString();
if(!dataNodeOrderListOrder["OrderSubType"].isNull())
orderObject.orderSubType = dataNodeOrderListOrder["OrderSubType"].asString();
if(!dataNodeOrderListOrder["AfterTaxAmount"].isNull())
orderObject.afterTaxAmount = dataNodeOrderListOrder["AfterTaxAmount"].asString();
if(!dataNodeOrderListOrder["SubOrderId"].isNull())
orderObject.subOrderId = dataNodeOrderListOrder["SubOrderId"].asString();
if(!dataNodeOrderListOrder["Config"].isNull())
orderObject.config = dataNodeOrderListOrder["Config"].asString();
if(!dataNodeOrderListOrder["Tax"].isNull())
orderObject.tax = dataNodeOrderListOrder["Tax"].asString();
if(!dataNodeOrderListOrder["PaymentTime"].isNull())
orderObject.paymentTime = dataNodeOrderListOrder["PaymentTime"].asString();
if(!dataNodeOrderListOrder["PaymentCurrency"].isNull())
orderObject.paymentCurrency = dataNodeOrderListOrder["PaymentCurrency"].asString();
if(!dataNodeOrderListOrder["UsageEndTime"].isNull())
orderObject.usageEndTime = dataNodeOrderListOrder["UsageEndTime"].asString();
if(!dataNodeOrderListOrder["SubscriptionType"].isNull())
orderObject.subscriptionType = dataNodeOrderListOrder["SubscriptionType"].asString();
if(!dataNodeOrderListOrder["PretaxGrossAmount"].isNull())
orderObject.pretaxGrossAmount = dataNodeOrderListOrder["PretaxGrossAmount"].asString();
if(!dataNodeOrderListOrder["OrderType"].isNull())
orderObject.orderType = dataNodeOrderListOrder["OrderType"].asString();
if(!dataNodeOrderListOrder["Currency"].isNull())
orderObject.currency = dataNodeOrderListOrder["Currency"].asString();
if(!dataNodeOrderListOrder["UsageStartTime"].isNull())
orderObject.usageStartTime = dataNodeOrderListOrder["UsageStartTime"].asString();
if(!dataNodeOrderListOrder["OriginalConfig"].isNull())
orderObject.originalConfig = dataNodeOrderListOrder["OriginalConfig"].asString();
if(!dataNodeOrderListOrder["PaymentStatus"].isNull())
orderObject.paymentStatus = dataNodeOrderListOrder["PaymentStatus"].asString();
if(!dataNodeOrderListOrder["ProductCode"].isNull())
orderObject.productCode = dataNodeOrderListOrder["ProductCode"].asString();
if(!dataNodeOrderListOrder["CreateTime"].isNull())
orderObject.createTime = dataNodeOrderListOrder["CreateTime"].asString();
if(!dataNodeOrderListOrder["ProductType"].isNull())
orderObject.productType = dataNodeOrderListOrder["ProductType"].asString();
if(!dataNodeOrderListOrder["RelatedOrderId"].isNull())
orderObject.relatedOrderId = dataNodeOrderListOrder["RelatedOrderId"].asString();
if(!dataNodeOrderListOrder["Quantity"].isNull())
orderObject.quantity = dataNodeOrderListOrder["Quantity"].asString();
if(!dataNodeOrderListOrder["OrderId"].isNull())
orderObject.orderId = dataNodeOrderListOrder["OrderId"].asString();
if(!dataNodeOrderListOrder["PretaxAmount"].isNull())
orderObject.pretaxAmount = dataNodeOrderListOrder["PretaxAmount"].asString();
if(!dataNodeOrderListOrder["OrderSubType"].isNull())
orderObject.orderSubType = dataNodeOrderListOrder["OrderSubType"].asString();
if(!dataNodeOrderListOrder["Region"].isNull())
orderObject.region = dataNodeOrderListOrder["Region"].asString();
if(!dataNodeOrderListOrder["InstanceIDs"].isNull())
orderObject.instanceIDs = dataNodeOrderListOrder["InstanceIDs"].asString();
if(!dataNodeOrderListOrder["PretaxAmountLocal"].isNull())
orderObject.pretaxAmountLocal = dataNodeOrderListOrder["PretaxAmountLocal"].asString();
if(!dataNodeOrderListOrder["CommodityCode"].isNull())
orderObject.commodityCode = dataNodeOrderListOrder["CommodityCode"].asString();
data_.orderList.push_back(orderObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}

View File

@@ -43,20 +43,20 @@ void ModifyCostUnitResult::parse(const std::string &payload)
for (auto valueDataDataItem : allDataNode)
{
DataItem dataObject;
if(!valueDataDataItem["OwnerUid"].isNull())
dataObject.ownerUid = std::stol(valueDataDataItem["OwnerUid"].asString());
if(!valueDataDataItem["UnitId"].isNull())
dataObject.unitId = std::stol(valueDataDataItem["UnitId"].asString());
if(!valueDataDataItem["IsSuccess"].isNull())
dataObject.isSuccess = valueDataDataItem["IsSuccess"].asString() == "true";
if(!valueDataDataItem["UnitId"].isNull())
dataObject.unitId = std::stol(valueDataDataItem["UnitId"].asString());
if(!valueDataDataItem["OwnerUid"].isNull())
dataObject.ownerUid = std::stol(valueDataDataItem["OwnerUid"].asString());
data_.push_back(dataObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}

View File

@@ -0,0 +1,128 @@
/*
* 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/bssopenapi/model/QueryAccountTransactionDetailsRequest.h>
using AlibabaCloud::BssOpenApi::Model::QueryAccountTransactionDetailsRequest;
QueryAccountTransactionDetailsRequest::QueryAccountTransactionDetailsRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "QueryAccountTransactionDetails")
{
setMethod(HttpRequest::Method::Post);
}
QueryAccountTransactionDetailsRequest::~QueryAccountTransactionDetailsRequest()
{}
std::string QueryAccountTransactionDetailsRequest::getTransactionType()const
{
return transactionType_;
}
void QueryAccountTransactionDetailsRequest::setTransactionType(const std::string& transactionType)
{
transactionType_ = transactionType;
setParameter("TransactionType", transactionType);
}
std::string QueryAccountTransactionDetailsRequest::getCreateTimeEnd()const
{
return createTimeEnd_;
}
void QueryAccountTransactionDetailsRequest::setCreateTimeEnd(const std::string& createTimeEnd)
{
createTimeEnd_ = createTimeEnd;
setParameter("CreateTimeEnd", createTimeEnd);
}
std::string QueryAccountTransactionDetailsRequest::getRecordID()const
{
return recordID_;
}
void QueryAccountTransactionDetailsRequest::setRecordID(const std::string& recordID)
{
recordID_ = recordID;
setParameter("RecordID", recordID);
}
std::string QueryAccountTransactionDetailsRequest::getNextToken()const
{
return nextToken_;
}
void QueryAccountTransactionDetailsRequest::setNextToken(const std::string& nextToken)
{
nextToken_ = nextToken;
setParameter("NextToken", nextToken);
}
int QueryAccountTransactionDetailsRequest::getMaxResults()const
{
return maxResults_;
}
void QueryAccountTransactionDetailsRequest::setMaxResults(int maxResults)
{
maxResults_ = maxResults;
setParameter("MaxResults", std::to_string(maxResults));
}
std::string QueryAccountTransactionDetailsRequest::getTransactionChannel()const
{
return transactionChannel_;
}
void QueryAccountTransactionDetailsRequest::setTransactionChannel(const std::string& transactionChannel)
{
transactionChannel_ = transactionChannel;
setParameter("TransactionChannel", transactionChannel);
}
std::string QueryAccountTransactionDetailsRequest::getTransactionChannelSN()const
{
return transactionChannelSN_;
}
void QueryAccountTransactionDetailsRequest::setTransactionChannelSN(const std::string& transactionChannelSN)
{
transactionChannelSN_ = transactionChannelSN;
setParameter("TransactionChannelSN", transactionChannelSN);
}
std::string QueryAccountTransactionDetailsRequest::getCreateTimeStart()const
{
return createTimeStart_;
}
void QueryAccountTransactionDetailsRequest::setCreateTimeStart(const std::string& createTimeStart)
{
createTimeStart_ = createTimeStart;
setParameter("CreateTimeStart", createTimeStart);
}
std::string QueryAccountTransactionDetailsRequest::getTransactionNumber()const
{
return transactionNumber_;
}
void QueryAccountTransactionDetailsRequest::setTransactionNumber(const std::string& transactionNumber)
{
transactionNumber_ = transactionNumber;
setParameter("TransactionNumber", transactionNumber);
}

View File

@@ -0,0 +1,111 @@
/*
* 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/bssopenapi/model/QueryAccountTransactionDetailsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::BssOpenApi;
using namespace AlibabaCloud::BssOpenApi::Model;
QueryAccountTransactionDetailsResult::QueryAccountTransactionDetailsResult() :
ServiceResult()
{}
QueryAccountTransactionDetailsResult::QueryAccountTransactionDetailsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryAccountTransactionDetailsResult::~QueryAccountTransactionDetailsResult()
{}
void QueryAccountTransactionDetailsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["AccountName"].isNull())
data_.accountName = dataNode["AccountName"].asString();
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
if(!dataNode["NextToken"].isNull())
data_.nextToken = dataNode["NextToken"].asString();
if(!dataNode["MaxResults"].isNull())
data_.maxResults = std::stoi(dataNode["MaxResults"].asString());
auto allAccountTransactionsListNode = dataNode["AccountTransactionsList"]["AccountTransactionsListItem"];
for (auto dataNodeAccountTransactionsListAccountTransactionsListItem : allAccountTransactionsListNode)
{
Data::AccountTransactionsListItem accountTransactionsListItemObject;
if(!dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionNumber"].isNull())
accountTransactionsListItemObject.transactionNumber = dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionNumber"].asString();
if(!dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionTime"].isNull())
accountTransactionsListItemObject.transactionTime = dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionTime"].asString();
if(!dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionFlow"].isNull())
accountTransactionsListItemObject.transactionFlow = dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionFlow"].asString();
if(!dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionType"].isNull())
accountTransactionsListItemObject.transactionType = dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionType"].asString();
if(!dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionChannel"].isNull())
accountTransactionsListItemObject.transactionChannel = dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionChannel"].asString();
if(!dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionChannelSN"].isNull())
accountTransactionsListItemObject.transactionChannelSN = dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionChannelSN"].asString();
if(!dataNodeAccountTransactionsListAccountTransactionsListItem["FundType"].isNull())
accountTransactionsListItemObject.fundType = dataNodeAccountTransactionsListAccountTransactionsListItem["FundType"].asString();
if(!dataNodeAccountTransactionsListAccountTransactionsListItem["RecordID"].isNull())
accountTransactionsListItemObject.recordID = dataNodeAccountTransactionsListAccountTransactionsListItem["RecordID"].asString();
if(!dataNodeAccountTransactionsListAccountTransactionsListItem["Remarks"].isNull())
accountTransactionsListItemObject.remarks = dataNodeAccountTransactionsListAccountTransactionsListItem["Remarks"].asString();
if(!dataNodeAccountTransactionsListAccountTransactionsListItem["BillingCycle"].isNull())
accountTransactionsListItemObject.billingCycle = dataNodeAccountTransactionsListAccountTransactionsListItem["BillingCycle"].asString();
if(!dataNodeAccountTransactionsListAccountTransactionsListItem["Amount"].isNull())
accountTransactionsListItemObject.amount = dataNodeAccountTransactionsListAccountTransactionsListItem["Amount"].asString();
if(!dataNodeAccountTransactionsListAccountTransactionsListItem["Balance"].isNull())
accountTransactionsListItemObject.balance = dataNodeAccountTransactionsListAccountTransactionsListItem["Balance"].asString();
if(!dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionAccount"].isNull())
accountTransactionsListItemObject.transactionAccount = dataNodeAccountTransactionsListAccountTransactionsListItem["TransactionAccount"].asString();
data_.accountTransactionsList.push_back(accountTransactionsListItemObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string QueryAccountTransactionDetailsResult::getMessage()const
{
return message_;
}
QueryAccountTransactionDetailsResult::Data QueryAccountTransactionDetailsResult::getData()const
{
return data_;
}
std::string QueryAccountTransactionDetailsResult::getCode()const
{
return code_;
}
bool QueryAccountTransactionDetailsResult::getSuccess()const
{
return success_;
}

View File

@@ -40,74 +40,74 @@ void QueryCostUnitResourceResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["PageNum"].isNull())
data_.pageNum = std::stoi(dataNode["PageNum"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["PageNum"].isNull())
data_.pageNum = std::stoi(dataNode["PageNum"].asString());
auto allResourceInstanceDtoListNode = dataNode["ResourceInstanceDtoList"]["ResourceInstanceList"];
for (auto dataNodeResourceInstanceDtoListResourceInstanceList : allResourceInstanceDtoListNode)
{
Data::ResourceInstanceList resourceInstanceListObject;
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceUserId"].isNull())
resourceInstanceListObject.resourceUserId = std::stol(dataNodeResourceInstanceDtoListResourceInstanceList["ResourceUserId"].asString());
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceTag"].isNull())
resourceInstanceListObject.resourceTag = dataNodeResourceInstanceDtoListResourceInstanceList["ResourceTag"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["RelatedResources"].isNull())
resourceInstanceListObject.relatedResources = dataNodeResourceInstanceDtoListResourceInstanceList["RelatedResources"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ApportionName"].isNull())
resourceInstanceListObject.apportionName = dataNodeResourceInstanceDtoListResourceInstanceList["ApportionName"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceId"].isNull())
resourceInstanceListObject.resourceId = dataNodeResourceInstanceDtoListResourceInstanceList["ResourceId"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["CommodityCode"].isNull())
resourceInstanceListObject.commodityCode = dataNodeResourceInstanceDtoListResourceInstanceList["CommodityCode"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceUserName"].isNull())
resourceInstanceListObject.resourceUserName = dataNodeResourceInstanceDtoListResourceInstanceList["ResourceUserName"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["CommodityName"].isNull())
resourceInstanceListObject.commodityName = dataNodeResourceInstanceDtoListResourceInstanceList["CommodityName"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceGroup"].isNull())
resourceInstanceListObject.resourceGroup = dataNodeResourceInstanceDtoListResourceInstanceList["ResourceGroup"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceTag"].isNull())
resourceInstanceListObject.resourceTag = dataNodeResourceInstanceDtoListResourceInstanceList["ResourceTag"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceNick"].isNull())
resourceInstanceListObject.resourceNick = dataNodeResourceInstanceDtoListResourceInstanceList["ResourceNick"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceType"].isNull())
resourceInstanceListObject.resourceType = dataNodeResourceInstanceDtoListResourceInstanceList["ResourceType"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceStatus"].isNull())
resourceInstanceListObject.resourceStatus = dataNodeResourceInstanceDtoListResourceInstanceList["ResourceStatus"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["RelatedResources"].isNull())
resourceInstanceListObject.relatedResources = dataNodeResourceInstanceDtoListResourceInstanceList["RelatedResources"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceType"].isNull())
resourceInstanceListObject.resourceType = dataNodeResourceInstanceDtoListResourceInstanceList["ResourceType"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceUserName"].isNull())
resourceInstanceListObject.resourceUserName = dataNodeResourceInstanceDtoListResourceInstanceList["ResourceUserName"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceNick"].isNull())
resourceInstanceListObject.resourceNick = dataNodeResourceInstanceDtoListResourceInstanceList["ResourceNick"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ResourceGroup"].isNull())
resourceInstanceListObject.resourceGroup = dataNodeResourceInstanceDtoListResourceInstanceList["ResourceGroup"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["CommodityName"].isNull())
resourceInstanceListObject.commodityName = dataNodeResourceInstanceDtoListResourceInstanceList["CommodityName"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ApportionCode"].isNull())
resourceInstanceListObject.apportionCode = dataNodeResourceInstanceDtoListResourceInstanceList["ApportionCode"].asString();
if(!dataNodeResourceInstanceDtoListResourceInstanceList["ApportionName"].isNull())
resourceInstanceListObject.apportionName = dataNodeResourceInstanceDtoListResourceInstanceList["ApportionName"].asString();
data_.resourceInstanceDtoList.push_back(resourceInstanceListObject);
}
auto costUnitNode = dataNode["CostUnit"];
if(!costUnitNode["OwnerUid"].isNull())
data_.costUnit.ownerUid = std::stol(costUnitNode["OwnerUid"].asString());
if(!costUnitNode["ParentUnitId"].isNull())
data_.costUnit.parentUnitId = std::stol(costUnitNode["ParentUnitId"].asString());
if(!costUnitNode["UnitId"].isNull())
data_.costUnit.unitId = std::stol(costUnitNode["UnitId"].asString());
if(!costUnitNode["ParentUnitId"].isNull())
data_.costUnit.parentUnitId = std::stol(costUnitNode["ParentUnitId"].asString());
if(!costUnitNode["OwnerUid"].isNull())
data_.costUnit.ownerUid = std::stol(costUnitNode["OwnerUid"].asString());
if(!costUnitNode["UnitName"].isNull())
data_.costUnit.unitName = costUnitNode["UnitName"].asString();
auto costUnitStatisInfoNode = dataNode["CostUnitStatisInfo"];
if(!costUnitStatisInfoNode["ResourceCount"].isNull())
data_.costUnitStatisInfo.resourceCount = std::stol(costUnitStatisInfoNode["ResourceCount"].asString());
if(!costUnitStatisInfoNode["ResourceGroupCount"].isNull())
data_.costUnitStatisInfo.resourceGroupCount = std::stol(costUnitStatisInfoNode["ResourceGroupCount"].asString());
if(!costUnitStatisInfoNode["SubUnitCount"].isNull())
data_.costUnitStatisInfo.subUnitCount = std::stol(costUnitStatisInfoNode["SubUnitCount"].asString());
if(!costUnitStatisInfoNode["UserCount"].isNull())
data_.costUnitStatisInfo.userCount = std::stol(costUnitStatisInfoNode["UserCount"].asString());
if(!costUnitStatisInfoNode["TotalResourceCount"].isNull())
data_.costUnitStatisInfo.totalResourceCount = std::stol(costUnitStatisInfoNode["TotalResourceCount"].asString());
if(!costUnitStatisInfoNode["TotalUserCount"].isNull())
data_.costUnitStatisInfo.totalUserCount = std::stol(costUnitStatisInfoNode["TotalUserCount"].asString());
if(!costUnitStatisInfoNode["TotalResourceGroupCount"].isNull())
data_.costUnitStatisInfo.totalResourceGroupCount = std::stol(costUnitStatisInfoNode["TotalResourceGroupCount"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!costUnitStatisInfoNode["TotalResourceCount"].isNull())
data_.costUnitStatisInfo.totalResourceCount = std::stol(costUnitStatisInfoNode["TotalResourceCount"].asString());
if(!costUnitStatisInfoNode["UserCount"].isNull())
data_.costUnitStatisInfo.userCount = std::stol(costUnitStatisInfoNode["UserCount"].asString());
if(!costUnitStatisInfoNode["ResourceCount"].isNull())
data_.costUnitStatisInfo.resourceCount = std::stol(costUnitStatisInfoNode["ResourceCount"].asString());
if(!costUnitStatisInfoNode["TotalUserCount"].isNull())
data_.costUnitStatisInfo.totalUserCount = std::stol(costUnitStatisInfoNode["TotalUserCount"].asString());
if(!costUnitStatisInfoNode["ResourceGroupCount"].isNull())
data_.costUnitStatisInfo.resourceGroupCount = std::stol(costUnitStatisInfoNode["ResourceGroupCount"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}

View File

@@ -40,32 +40,32 @@ void QueryCostUnitResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["PageNum"].isNull())
data_.pageNum = std::stoi(dataNode["PageNum"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["PageNum"].isNull())
data_.pageNum = std::stoi(dataNode["PageNum"].asString());
auto allCostUnitDtoListNode = dataNode["CostUnitDtoList"]["CostUnitDtoListItem"];
for (auto dataNodeCostUnitDtoListCostUnitDtoListItem : allCostUnitDtoListNode)
{
Data::CostUnitDtoListItem costUnitDtoListItemObject;
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["OwnerUid"].isNull())
costUnitDtoListItemObject.ownerUid = std::stol(dataNodeCostUnitDtoListCostUnitDtoListItem["OwnerUid"].asString());
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["ParentUnitId"].isNull())
costUnitDtoListItemObject.parentUnitId = std::stol(dataNodeCostUnitDtoListCostUnitDtoListItem["ParentUnitId"].asString());
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["UnitId"].isNull())
costUnitDtoListItemObject.unitId = std::stol(dataNodeCostUnitDtoListCostUnitDtoListItem["UnitId"].asString());
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["ParentUnitId"].isNull())
costUnitDtoListItemObject.parentUnitId = std::stol(dataNodeCostUnitDtoListCostUnitDtoListItem["ParentUnitId"].asString());
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["OwnerUid"].isNull())
costUnitDtoListItemObject.ownerUid = std::stol(dataNodeCostUnitDtoListCostUnitDtoListItem["OwnerUid"].asString());
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["UnitName"].isNull())
costUnitDtoListItemObject.unitName = dataNodeCostUnitDtoListCostUnitDtoListItem["UnitName"].asString();
data_.costUnitDtoList.push_back(costUnitDtoListItemObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}

View File

@@ -84,6 +84,8 @@ void QueryOrdersResult::parse(const std::string &payload)
orderObject.paymentCurrency = dataNodeOrderListOrder["PaymentCurrency"].asString();
if(!dataNodeOrderListOrder["RelatedOrderId"].isNull())
orderObject.relatedOrderId = dataNodeOrderListOrder["RelatedOrderId"].asString();
if(!dataNodeOrderListOrder["CommodityCode"].isNull())
orderObject.commodityCode = dataNodeOrderListOrder["CommodityCode"].asString();
data_.orderList.push_back(orderObject);
}
if(!value["Success"].isNull())

View File

@@ -41,8 +41,6 @@ namespace AlibabaCloud
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
@@ -50,7 +48,6 @@ namespace AlibabaCloud
std::string ownerAccount_;
std::string domainName_;
long ownerId_;
std::string resourceGroupId_;
std::string securityToken_;
};

View File

@@ -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_;
};
}

View File

@@ -60,17 +60,6 @@ void DeleteCdnDomainRequest::setOwnerId(long ownerId)
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteCdnDomainRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DeleteCdnDomainRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DeleteCdnDomainRequest::getSecurityToken()const
{
return securityToken_;

View File

@@ -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);
}

210
cdrs/CMakeLists.txt Normal file
View File

@@ -0,0 +1,210 @@
#
# 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/BindDeviceRequest.h
include/alibabacloud/cdrs/model/BindDeviceResult.h
include/alibabacloud/cdrs/model/CreateProjectRequest.h
include/alibabacloud/cdrs/model/CreateProjectResult.h
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
include/alibabacloud/cdrs/model/UnbindDeviceRequest.h
include/alibabacloud/cdrs/model/UnbindDeviceResult.h
include/alibabacloud/cdrs/model/UpdateProjectRequest.h
include/alibabacloud/cdrs/model/UpdateProjectResult.h )
set(cdrs_src
src/CDRSClient.cc
src/model/BindDeviceRequest.cc
src/model/BindDeviceResult.cc
src/model/CreateProjectRequest.cc
src/model/CreateProjectResult.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
src/model/UnbindDeviceRequest.cc
src/model/UnbindDeviceResult.cc
src/model/UpdateProjectRequest.cc
src/model/UpdateProjectResult.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}
)

View File

@@ -0,0 +1,302 @@
/*
* 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/BindDeviceRequest.h"
#include "model/BindDeviceResult.h"
#include "model/CreateProjectRequest.h"
#include "model/CreateProjectResult.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"
#include "model/UnbindDeviceRequest.h"
#include "model/UnbindDeviceResult.h"
#include "model/UpdateProjectRequest.h"
#include "model/UpdateProjectResult.h"
namespace AlibabaCloud
{
namespace CDRS
{
class ALIBABACLOUD_CDRS_EXPORT CDRSClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::BindDeviceResult> BindDeviceOutcome;
typedef std::future<BindDeviceOutcome> BindDeviceOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::BindDeviceRequest&, const BindDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindDeviceAsyncHandler;
typedef Outcome<Error, Model::CreateProjectResult> CreateProjectOutcome;
typedef std::future<CreateProjectOutcome> CreateProjectOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::CreateProjectRequest&, const CreateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProjectAsyncHandler;
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;
typedef Outcome<Error, Model::UnbindDeviceResult> UnbindDeviceOutcome;
typedef std::future<UnbindDeviceOutcome> UnbindDeviceOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::UnbindDeviceRequest&, const UnbindDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindDeviceAsyncHandler;
typedef Outcome<Error, Model::UpdateProjectResult> UpdateProjectOutcome;
typedef std::future<UpdateProjectOutcome> UpdateProjectOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::UpdateProjectRequest&, const UpdateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectAsyncHandler;
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();
BindDeviceOutcome bindDevice(const Model::BindDeviceRequest &request)const;
void bindDeviceAsync(const Model::BindDeviceRequest& request, const BindDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BindDeviceOutcomeCallable bindDeviceCallable(const Model::BindDeviceRequest& request) const;
CreateProjectOutcome createProject(const Model::CreateProjectRequest &request)const;
void createProjectAsync(const Model::CreateProjectRequest& request, const CreateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateProjectOutcomeCallable createProjectCallable(const Model::CreateProjectRequest& request) const;
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;
UnbindDeviceOutcome unbindDevice(const Model::UnbindDeviceRequest &request)const;
void unbindDeviceAsync(const Model::UnbindDeviceRequest& request, const UnbindDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnbindDeviceOutcomeCallable unbindDeviceCallable(const Model::UnbindDeviceRequest& request) const;
UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const;
void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_CDRS_CDRSCLIENT_H_

View 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_

View File

@@ -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_BINDDEVICEREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_BINDDEVICEREQUEST_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 BindDeviceRequest : public RpcServiceRequest
{
public:
struct Devices
{
std::string corpId;
std::string deviceId;
};
public:
BindDeviceRequest();
~BindDeviceRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::vector<Devices> getDevices()const;
void setDevices(const std::vector<Devices>& devices);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string get_NameSpace()const;
void set_NameSpace(const std::string& _nameSpace);
private:
std::string corpId_;
std::vector<Devices> devices_;
std::string appName_;
std::string _nameSpace_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_BINDDEVICEREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDRS_MODEL_BINDDEVICERESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_BINDDEVICERESULT_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 BindDeviceResult : public ServiceResult
{
public:
struct Datas
{
std::string message;
std::string deviceId;
std::string code;
bool success;
};
BindDeviceResult();
explicit BindDeviceResult(const std::string &payload);
~BindDeviceResult();
std::string getMessage()const;
std::vector<Datas> getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::vector<Datas> data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_BINDDEVICERESULT_H_

View File

@@ -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_CREATEPROJECTREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_CREATEPROJECTREQUEST_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 CreateProjectRequest : public RpcServiceRequest
{
public:
CreateProjectRequest();
~CreateProjectRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getIcon()const;
void setIcon(const std::string& icon);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string get_NameSpace()const;
void set_NameSpace(const std::string& _nameSpace);
std::string getName()const;
void setName(const std::string& name);
private:
std::string clientToken_;
std::string icon_;
std::string description_;
std::string appName_;
std::string _nameSpace_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_CREATEPROJECTREQUEST_H_

View File

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

View File

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

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,89 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

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

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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_

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View 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_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View 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_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

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

Some files were not shown because too many files have changed in this diff Show More