Compare commits

...

8 Commits

Author SHA1 Message Date
sdk-team
2d49d2072f Add API CreateSortScriptValidation. 2021-01-15 03:59:05 +00:00
sdk-team
1794d57757 Remove drcGuidRouteApi, ModifyDtsJobPassword API. 2021-01-15 03:25:16 +00:00
sdk-team
2f7735992b Generated 2016-11-01 for live. 2021-01-15 01:37:20 +00:00
sdk-team
c97337aa82 Add function. 2021-01-14 11:04:54 +00:00
sdk-team
406b8fba46 Add BillingDate support in QueryAccontBill. 2021-01-14 10:19:58 +00:00
sdk-team
2f2b3aa219 Update Open API. 2021-01-14 09:38:15 +00:00
sdk-team
64d4eb1931 Update function. 2021-01-14 04:47:50 +00:00
sdk-team
bbbd1121ca Fixed ListUsers, GetUser, EnableUser, RegisterUser, DisableUser, DeleteUser API parameter of uid data type error, from number into string. 2021-01-14 03:48:26 +00:00
600 changed files with 39528 additions and 351 deletions

View File

@@ -1,3 +1,31 @@
2021-01-15 Version: patch
- Add API CreateSortScriptValidation.
- Add parameter resourceGroupId to API ListAppGroups.
2021-01-15 Version: patch
- Remove drcGuidRouteApi, ModifyDtsJobPassword API.
2021-01-15 Version: patch
- Generated 2016-11-01 for `live`.
2021-01-14 Version: patch
- Add function.
2021-01-14 Version: patch
- Add BillingDate support in QueryAccontBill.
- Add SplitAccountId, SplitAccountName, SplitBillingCycle, SplitProductDetail, SplitCommodityCode, ServicePeriodUnit support in QuerySplitItemBill.
2021-01-14 Version: patch
- Update Open API.
2021-01-14 Version: patch
- Update function.
2021-01-14 Version: patch
- Fixed ListUsers, GetUser, EnableUser, RegisterUser, DisableUser, DeleteUser API parameter of uid data type error, from number into string.
- Supported ListInstances, GetInstance API to return Owner information.
- Supported SetOwners API to set INSTANCE owner.
2021-01-14 Version: patch
- Create Lindorm Open api.

View File

@@ -115,6 +115,10 @@ set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/QueryResellerAvailableQuotaResult.h
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesRequest.h
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesResult.h
include/alibabacloud/bssopenapi/model/QuerySavingsPlansDeductLogRequest.h
include/alibabacloud/bssopenapi/model/QuerySavingsPlansDeductLogResult.h
include/alibabacloud/bssopenapi/model/QuerySavingsPlansInstanceRequest.h
include/alibabacloud/bssopenapi/model/QuerySavingsPlansInstanceResult.h
include/alibabacloud/bssopenapi/model/QuerySettleBillRequest.h
include/alibabacloud/bssopenapi/model/QuerySettleBillResult.h
include/alibabacloud/bssopenapi/model/QuerySettlementBillRequest.h
@@ -127,6 +131,10 @@ set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/RenewInstanceResult.h
include/alibabacloud/bssopenapi/model/RenewResourcePackageRequest.h
include/alibabacloud/bssopenapi/model/RenewResourcePackageResult.h
include/alibabacloud/bssopenapi/model/SaveUserCreditRequest.h
include/alibabacloud/bssopenapi/model/SaveUserCreditResult.h
include/alibabacloud/bssopenapi/model/SetCreditLabelActionRequest.h
include/alibabacloud/bssopenapi/model/SetCreditLabelActionResult.h
include/alibabacloud/bssopenapi/model/SetRenewalRequest.h
include/alibabacloud/bssopenapi/model/SetRenewalResult.h
include/alibabacloud/bssopenapi/model/SetResellerUserAlarmThresholdRequest.h
@@ -238,6 +246,10 @@ set(bssopenapi_src
src/model/QueryResellerAvailableQuotaResult.cc
src/model/QueryResourcePackageInstancesRequest.cc
src/model/QueryResourcePackageInstancesResult.cc
src/model/QuerySavingsPlansDeductLogRequest.cc
src/model/QuerySavingsPlansDeductLogResult.cc
src/model/QuerySavingsPlansInstanceRequest.cc
src/model/QuerySavingsPlansInstanceResult.cc
src/model/QuerySettleBillRequest.cc
src/model/QuerySettleBillResult.cc
src/model/QuerySettlementBillRequest.cc
@@ -250,6 +262,10 @@ set(bssopenapi_src
src/model/RenewInstanceResult.cc
src/model/RenewResourcePackageRequest.cc
src/model/RenewResourcePackageResult.cc
src/model/SaveUserCreditRequest.cc
src/model/SaveUserCreditResult.cc
src/model/SetCreditLabelActionRequest.cc
src/model/SetCreditLabelActionResult.cc
src/model/SetRenewalRequest.cc
src/model/SetRenewalResult.cc
src/model/SetResellerUserAlarmThresholdRequest.cc

View File

@@ -116,6 +116,10 @@
#include "model/QueryResellerAvailableQuotaResult.h"
#include "model/QueryResourcePackageInstancesRequest.h"
#include "model/QueryResourcePackageInstancesResult.h"
#include "model/QuerySavingsPlansDeductLogRequest.h"
#include "model/QuerySavingsPlansDeductLogResult.h"
#include "model/QuerySavingsPlansInstanceRequest.h"
#include "model/QuerySavingsPlansInstanceResult.h"
#include "model/QuerySettleBillRequest.h"
#include "model/QuerySettleBillResult.h"
#include "model/QuerySettlementBillRequest.h"
@@ -128,6 +132,10 @@
#include "model/RenewInstanceResult.h"
#include "model/RenewResourcePackageRequest.h"
#include "model/RenewResourcePackageResult.h"
#include "model/SaveUserCreditRequest.h"
#include "model/SaveUserCreditResult.h"
#include "model/SetCreditLabelActionRequest.h"
#include "model/SetCreditLabelActionResult.h"
#include "model/SetRenewalRequest.h"
#include "model/SetRenewalResult.h"
#include "model/SetResellerUserAlarmThresholdRequest.h"
@@ -292,6 +300,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryResourcePackageInstancesResult> QueryResourcePackageInstancesOutcome;
typedef std::future<QueryResourcePackageInstancesOutcome> QueryResourcePackageInstancesOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryResourcePackageInstancesRequest&, const QueryResourcePackageInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryResourcePackageInstancesAsyncHandler;
typedef Outcome<Error, Model::QuerySavingsPlansDeductLogResult> QuerySavingsPlansDeductLogOutcome;
typedef std::future<QuerySavingsPlansDeductLogOutcome> QuerySavingsPlansDeductLogOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySavingsPlansDeductLogRequest&, const QuerySavingsPlansDeductLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySavingsPlansDeductLogAsyncHandler;
typedef Outcome<Error, Model::QuerySavingsPlansInstanceResult> QuerySavingsPlansInstanceOutcome;
typedef std::future<QuerySavingsPlansInstanceOutcome> QuerySavingsPlansInstanceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySavingsPlansInstanceRequest&, const QuerySavingsPlansInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySavingsPlansInstanceAsyncHandler;
typedef Outcome<Error, Model::QuerySettleBillResult> QuerySettleBillOutcome;
typedef std::future<QuerySettleBillOutcome> QuerySettleBillOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySettleBillRequest&, const QuerySettleBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySettleBillAsyncHandler;
@@ -310,6 +324,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RenewResourcePackageResult> RenewResourcePackageOutcome;
typedef std::future<RenewResourcePackageOutcome> RenewResourcePackageOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::RenewResourcePackageRequest&, const RenewResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewResourcePackageAsyncHandler;
typedef Outcome<Error, Model::SaveUserCreditResult> SaveUserCreditOutcome;
typedef std::future<SaveUserCreditOutcome> SaveUserCreditOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::SaveUserCreditRequest&, const SaveUserCreditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveUserCreditAsyncHandler;
typedef Outcome<Error, Model::SetCreditLabelActionResult> SetCreditLabelActionOutcome;
typedef std::future<SetCreditLabelActionOutcome> SetCreditLabelActionOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::SetCreditLabelActionRequest&, const SetCreditLabelActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetCreditLabelActionAsyncHandler;
typedef Outcome<Error, Model::SetRenewalResult> SetRenewalOutcome;
typedef std::future<SetRenewalOutcome> SetRenewalOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::SetRenewalRequest&, const SetRenewalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetRenewalAsyncHandler;
@@ -477,6 +497,12 @@ namespace AlibabaCloud
QueryResourcePackageInstancesOutcome queryResourcePackageInstances(const Model::QueryResourcePackageInstancesRequest &request)const;
void queryResourcePackageInstancesAsync(const Model::QueryResourcePackageInstancesRequest& request, const QueryResourcePackageInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryResourcePackageInstancesOutcomeCallable queryResourcePackageInstancesCallable(const Model::QueryResourcePackageInstancesRequest& request) const;
QuerySavingsPlansDeductLogOutcome querySavingsPlansDeductLog(const Model::QuerySavingsPlansDeductLogRequest &request)const;
void querySavingsPlansDeductLogAsync(const Model::QuerySavingsPlansDeductLogRequest& request, const QuerySavingsPlansDeductLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySavingsPlansDeductLogOutcomeCallable querySavingsPlansDeductLogCallable(const Model::QuerySavingsPlansDeductLogRequest& request) const;
QuerySavingsPlansInstanceOutcome querySavingsPlansInstance(const Model::QuerySavingsPlansInstanceRequest &request)const;
void querySavingsPlansInstanceAsync(const Model::QuerySavingsPlansInstanceRequest& request, const QuerySavingsPlansInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySavingsPlansInstanceOutcomeCallable querySavingsPlansInstanceCallable(const Model::QuerySavingsPlansInstanceRequest& request) const;
QuerySettleBillOutcome querySettleBill(const Model::QuerySettleBillRequest &request)const;
void querySettleBillAsync(const Model::QuerySettleBillRequest& request, const QuerySettleBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySettleBillOutcomeCallable querySettleBillCallable(const Model::QuerySettleBillRequest& request) const;
@@ -495,6 +521,12 @@ namespace AlibabaCloud
RenewResourcePackageOutcome renewResourcePackage(const Model::RenewResourcePackageRequest &request)const;
void renewResourcePackageAsync(const Model::RenewResourcePackageRequest& request, const RenewResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenewResourcePackageOutcomeCallable renewResourcePackageCallable(const Model::RenewResourcePackageRequest& request) const;
SaveUserCreditOutcome saveUserCredit(const Model::SaveUserCreditRequest &request)const;
void saveUserCreditAsync(const Model::SaveUserCreditRequest& request, const SaveUserCreditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveUserCreditOutcomeCallable saveUserCreditCallable(const Model::SaveUserCreditRequest& request) const;
SetCreditLabelActionOutcome setCreditLabelAction(const Model::SetCreditLabelActionRequest &request)const;
void setCreditLabelActionAsync(const Model::SetCreditLabelActionRequest& request, const SetCreditLabelActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetCreditLabelActionOutcomeCallable setCreditLabelActionCallable(const Model::SetCreditLabelActionRequest& request) const;
SetRenewalOutcome setRenewal(const Model::SetRenewalRequest &request)const;
void setRenewalAsync(const Model::SetRenewalRequest& request, const SetRenewalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetRenewalOutcomeCallable setRenewalCallable(const Model::SetRenewalRequest& request) const;

View File

@@ -45,8 +45,12 @@ namespace AlibabaCloud
void setOwnerID(long ownerID);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getBillingDate()const;
void setBillingDate(const std::string& billingDate);
bool getIsGroupByProduct()const;
void setIsGroupByProduct(bool isGroupByProduct);
std::string getGranularity()const;
void setGranularity(const std::string& granularity);
int getPageSize()const;
void setPageSize(int pageSize);
@@ -56,7 +60,9 @@ namespace AlibabaCloud
int pageNum_;
long ownerID_;
long billOwnerId_;
std::string billingDate_;
bool isGroupByProduct_;
std::string granularity_;
int pageSize_;
};

View File

@@ -42,6 +42,7 @@ namespace AlibabaCloud
std::string productCode;
float deductedByCashCoupons;
float outstandingAmount;
std::string billingDate;
float paymentAmount;
float deductedByPrepaidCard;
std::string pipCode;

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_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGREQUEST_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 QuerySavingsPlansDeductLogRequest : public RpcServiceRequest
{
public:
QuerySavingsPlansDeductLogRequest();
~QuerySavingsPlansDeductLogRequest();
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getLocale()const;
void setLocale(const std::string& locale);
int getPageNum()const;
void setPageNum(int pageNum);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getInstanceType()const;
void setInstanceType(const std::string& instanceType);
private:
std::string endTime_;
std::string startTime_;
std::string locale_;
int pageNum_;
std::string instanceId_;
std::string requestId_;
int pageSize_;
std::string instanceType_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGREQUEST_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_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGRESULT_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 QuerySavingsPlansDeductLogResult : public ServiceResult
{
public:
struct Data
{
struct SavingsPlansDeductDetailResponse
{
std::string deductFee;
std::string billModule;
std::string endTime;
std::string deductCommodity;
std::string instanceId;
long userId;
std::string startTime;
std::string deductRate;
std::string deductInstanceId;
std::string discountRate;
std::string savingsType;
};
int totalCount;
int pageNum;
int pageSize;
std::vector<SavingsPlansDeductDetailResponse> items;
};
QuerySavingsPlansDeductLogResult();
explicit QuerySavingsPlansDeductLogResult(const std::string &payload);
~QuerySavingsPlansDeductLogResult();
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_QUERYSAVINGSPLANSDEDUCTLOGRESULT_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_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCEREQUEST_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 QuerySavingsPlansInstanceRequest : public RpcServiceRequest
{
public:
QuerySavingsPlansInstanceRequest();
~QuerySavingsPlansInstanceRequest();
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getLocale()const;
void setLocale(const std::string& locale);
int getPageNum()const;
void setPageNum(int pageNum);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string endTime_;
std::string startTime_;
std::string locale_;
int pageNum_;
std::string instanceId_;
std::string requestId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCEREQUEST_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_QUERYSAVINGSPLANSINSTANCERESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCERESULT_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 QuerySavingsPlansInstanceResult : public ServiceResult
{
public:
struct Data
{
struct SavingsPlansDetailResponse
{
std::string status;
std::string endTime;
std::string instanceId;
std::string instanceFamily;
std::string startTime;
std::string totalSave;
std::string prepayFee;
std::string payMode;
std::string utilization;
std::string currency;
std::string poolValue;
std::string region;
bool share;
std::string savingsType;
};
int totalCount;
int pageNum;
int pageSize;
std::vector<SavingsPlansDetailResponse> items;
};
QuerySavingsPlansInstanceResult();
explicit QuerySavingsPlansInstanceResult(const std::string &payload);
~QuerySavingsPlansInstanceResult();
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_QUERYSAVINGSPLANSINSTANCERESULT_H_

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
std::string instanceSpec;
std::string productName;
std::string instanceID;
std::string splitCommodityCode;
float deductedByCashCoupons;
std::string listPriceUnit;
std::string billingDate;
@@ -47,6 +48,7 @@ namespace AlibabaCloud
float deductedByPrepaidCard;
float invoiceDiscount;
std::string splitItemName;
std::string splitProductDetail;
std::string subscriptionType;
std::string item;
float pretaxGrossAmount;
@@ -56,8 +58,10 @@ namespace AlibabaCloud
std::string costUnit;
std::string resourceGroup;
std::string billingType;
std::string splitAccountName;
std::string usage;
float deductedByCoupons;
std::string splitAccountID;
std::string productDetail;
std::string productCode;
std::string zone;
@@ -67,9 +71,11 @@ namespace AlibabaCloud
std::string nickName;
std::string intranetIP;
std::string pipCode;
std::string servicePeriodUnit;
std::string servicePeriod;
std::string splitItemID;
std::string deductedByResourcePackage;
std::string splitBillingCycle;
std::string usageUnit;
std::string ownerID;
float pretaxAmount;

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_BSSOPENAPI_MODEL_SAVEUSERCREDITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SAVEUSERCREDITREQUEST_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 SaveUserCreditRequest : public RpcServiceRequest
{
public:
SaveUserCreditRequest();
~SaveUserCreditRequest();
bool getAvoidExpiration()const;
void setAvoidExpiration(bool avoidExpiration);
std::string getDescription()const;
void setDescription(const std::string& description);
bool getAvoidPrepaidNotification()const;
void setAvoidPrepaidNotification(bool avoidPrepaidNotification);
bool getAvoidPrepaidExpiration()const;
void setAvoidPrepaidExpiration(bool avoidPrepaidExpiration);
bool getAvoidNotification()const;
void setAvoidNotification(bool avoidNotification);
std::string get_Operator()const;
void set_Operator(const std::string& _operator);
std::string getCreditValue()const;
void setCreditValue(const std::string& creditValue);
std::string getCreditType()const;
void setCreditType(const std::string& creditType);
private:
bool avoidExpiration_;
std::string description_;
bool avoidPrepaidNotification_;
bool avoidPrepaidExpiration_;
bool avoidNotification_;
std::string _operator_;
std::string creditValue_;
std::string creditType_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SAVEUSERCREDITREQUEST_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_BSSOPENAPI_MODEL_SAVEUSERCREDITRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SAVEUSERCREDITRESULT_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 SaveUserCreditResult : public ServiceResult
{
public:
SaveUserCreditResult();
explicit SaveUserCreditResult(const std::string &payload);
~SaveUserCreditResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SAVEUSERCREDITRESULT_H_

View File

@@ -0,0 +1,96 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONREQUEST_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 SetCreditLabelActionRequest : public RpcServiceRequest
{
public:
SetCreditLabelActionRequest();
~SetCreditLabelActionRequest();
std::string getActionType()const;
void setActionType(const std::string& actionType);
std::string getIsNeedSaveNotifyRule()const;
void setIsNeedSaveNotifyRule(const std::string& isNeedSaveNotifyRule);
std::string getIsNeedAdjustCreditAccount()const;
void setIsNeedAdjustCreditAccount(const std::string& isNeedAdjustCreditAccount);
bool getNewCreateMode()const;
void setNewCreateMode(bool newCreateMode);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getSource()const;
void setSource(const std::string& source);
std::string getCurrencyCode()const;
void setCurrencyCode(const std::string& currencyCode);
std::string getDailyCycle()const;
void setDailyCycle(const std::string& dailyCycle);
std::string get_Operator()const;
void set_Operator(const std::string& _operator);
std::string getUid()const;
void setUid(const std::string& uid);
std::string getSiteCode()const;
void setSiteCode(const std::string& siteCode);
std::string getClearCycle()const;
void setClearCycle(const std::string& clearCycle);
bool getNeedNotice()const;
void setNeedNotice(bool needNotice);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getIsNeedSetCreditAmount()const;
void setIsNeedSetCreditAmount(const std::string& isNeedSetCreditAmount);
std::string getCreditAmount()const;
void setCreditAmount(const std::string& creditAmount);
std::string getIsNeedAddSettleLabel()const;
void setIsNeedAddSettleLabel(const std::string& isNeedAddSettleLabel);
private:
std::string actionType_;
std::string isNeedSaveNotifyRule_;
std::string isNeedAdjustCreditAccount_;
bool newCreateMode_;
std::string description_;
std::string source_;
std::string currencyCode_;
std::string dailyCycle_;
std::string _operator_;
std::string uid_;
std::string siteCode_;
std::string clearCycle_;
bool needNotice_;
std::string requestId_;
std::string isNeedSetCreditAmount_;
std::string creditAmount_;
std::string isNeedAddSettleLabel_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONREQUEST_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_BSSOPENAPI_MODEL_SETCREDITLABELACTIONRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONRESULT_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 SetCreditLabelActionResult : public ServiceResult
{
public:
SetCreditLabelActionResult();
explicit SetCreditLabelActionResult(const std::string &payload);
~SetCreditLabelActionResult();
std::string getMessage()const;
bool getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
bool data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONRESULT_H_

View File

@@ -1743,6 +1743,78 @@ BssOpenApiClient::QueryResourcePackageInstancesOutcomeCallable BssOpenApiClient:
return task->get_future();
}
BssOpenApiClient::QuerySavingsPlansDeductLogOutcome BssOpenApiClient::querySavingsPlansDeductLog(const QuerySavingsPlansDeductLogRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QuerySavingsPlansDeductLogOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QuerySavingsPlansDeductLogOutcome(QuerySavingsPlansDeductLogResult(outcome.result()));
else
return QuerySavingsPlansDeductLogOutcome(outcome.error());
}
void BssOpenApiClient::querySavingsPlansDeductLogAsync(const QuerySavingsPlansDeductLogRequest& request, const QuerySavingsPlansDeductLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, querySavingsPlansDeductLog(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::QuerySavingsPlansDeductLogOutcomeCallable BssOpenApiClient::querySavingsPlansDeductLogCallable(const QuerySavingsPlansDeductLogRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QuerySavingsPlansDeductLogOutcome()>>(
[this, request]()
{
return this->querySavingsPlansDeductLog(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
BssOpenApiClient::QuerySavingsPlansInstanceOutcome BssOpenApiClient::querySavingsPlansInstance(const QuerySavingsPlansInstanceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QuerySavingsPlansInstanceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QuerySavingsPlansInstanceOutcome(QuerySavingsPlansInstanceResult(outcome.result()));
else
return QuerySavingsPlansInstanceOutcome(outcome.error());
}
void BssOpenApiClient::querySavingsPlansInstanceAsync(const QuerySavingsPlansInstanceRequest& request, const QuerySavingsPlansInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, querySavingsPlansInstance(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::QuerySavingsPlansInstanceOutcomeCallable BssOpenApiClient::querySavingsPlansInstanceCallable(const QuerySavingsPlansInstanceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QuerySavingsPlansInstanceOutcome()>>(
[this, request]()
{
return this->querySavingsPlansInstance(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
BssOpenApiClient::QuerySettleBillOutcome BssOpenApiClient::querySettleBill(const QuerySettleBillRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1959,6 +2031,78 @@ BssOpenApiClient::RenewResourcePackageOutcomeCallable BssOpenApiClient::renewRes
return task->get_future();
}
BssOpenApiClient::SaveUserCreditOutcome BssOpenApiClient::saveUserCredit(const SaveUserCreditRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SaveUserCreditOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SaveUserCreditOutcome(SaveUserCreditResult(outcome.result()));
else
return SaveUserCreditOutcome(outcome.error());
}
void BssOpenApiClient::saveUserCreditAsync(const SaveUserCreditRequest& request, const SaveUserCreditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, saveUserCredit(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::SaveUserCreditOutcomeCallable BssOpenApiClient::saveUserCreditCallable(const SaveUserCreditRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SaveUserCreditOutcome()>>(
[this, request]()
{
return this->saveUserCredit(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
BssOpenApiClient::SetCreditLabelActionOutcome BssOpenApiClient::setCreditLabelAction(const SetCreditLabelActionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetCreditLabelActionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetCreditLabelActionOutcome(SetCreditLabelActionResult(outcome.result()));
else
return SetCreditLabelActionOutcome(outcome.error());
}
void BssOpenApiClient::setCreditLabelActionAsync(const SetCreditLabelActionRequest& request, const SetCreditLabelActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setCreditLabelAction(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::SetCreditLabelActionOutcomeCallable BssOpenApiClient::setCreditLabelActionCallable(const SetCreditLabelActionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetCreditLabelActionOutcome()>>(
[this, request]()
{
return this->setCreditLabelAction(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
BssOpenApiClient::SetRenewalOutcome BssOpenApiClient::setRenewal(const SetRenewalRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -82,6 +82,17 @@ void QueryAccountBillRequest::setBillOwnerId(long billOwnerId)
setParameter("BillOwnerId", std::to_string(billOwnerId));
}
std::string QueryAccountBillRequest::getBillingDate()const
{
return billingDate_;
}
void QueryAccountBillRequest::setBillingDate(const std::string& billingDate)
{
billingDate_ = billingDate;
setParameter("BillingDate", billingDate);
}
bool QueryAccountBillRequest::getIsGroupByProduct()const
{
return isGroupByProduct_;
@@ -93,6 +104,17 @@ void QueryAccountBillRequest::setIsGroupByProduct(bool isGroupByProduct)
setParameter("IsGroupByProduct", isGroupByProduct ? "true" : "false");
}
std::string QueryAccountBillRequest::getGranularity()const
{
return granularity_;
}
void QueryAccountBillRequest::setGranularity(const std::string& granularity)
{
granularity_ = granularity;
setParameter("Granularity", granularity);
}
int QueryAccountBillRequest::getPageSize()const
{
return pageSize_;

View File

@@ -88,6 +88,8 @@ void QueryAccountBillResult::parse(const std::string &payload)
itemObject.subscriptionType = dataNodeItemsItem["SubscriptionType"].asString();
if(!dataNodeItemsItem["PipCode"].isNull())
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
if(!dataNodeItemsItem["BillingDate"].isNull())
itemObject.billingDate = dataNodeItemsItem["BillingDate"].asString();
data_.items.push_back(itemObject);
}
if(!value["Success"].isNull())

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/QuerySavingsPlansDeductLogRequest.h>
using AlibabaCloud::BssOpenApi::Model::QuerySavingsPlansDeductLogRequest;
QuerySavingsPlansDeductLogRequest::QuerySavingsPlansDeductLogRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "QuerySavingsPlansDeductLog")
{
setMethod(HttpRequest::Method::Post);
}
QuerySavingsPlansDeductLogRequest::~QuerySavingsPlansDeductLogRequest()
{}
std::string QuerySavingsPlansDeductLogRequest::getEndTime()const
{
return endTime_;
}
void QuerySavingsPlansDeductLogRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
std::string QuerySavingsPlansDeductLogRequest::getStartTime()const
{
return startTime_;
}
void QuerySavingsPlansDeductLogRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string QuerySavingsPlansDeductLogRequest::getLocale()const
{
return locale_;
}
void QuerySavingsPlansDeductLogRequest::setLocale(const std::string& locale)
{
locale_ = locale;
setParameter("Locale", locale);
}
int QuerySavingsPlansDeductLogRequest::getPageNum()const
{
return pageNum_;
}
void QuerySavingsPlansDeductLogRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}
std::string QuerySavingsPlansDeductLogRequest::getInstanceId()const
{
return instanceId_;
}
void QuerySavingsPlansDeductLogRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}
std::string QuerySavingsPlansDeductLogRequest::getRequestId()const
{
return requestId_;
}
void QuerySavingsPlansDeductLogRequest::setRequestId(const std::string& requestId)
{
requestId_ = requestId;
setParameter("RequestId", requestId);
}
int QuerySavingsPlansDeductLogRequest::getPageSize()const
{
return pageSize_;
}
void QuerySavingsPlansDeductLogRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string QuerySavingsPlansDeductLogRequest::getInstanceType()const
{
return instanceType_;
}
void QuerySavingsPlansDeductLogRequest::setInstanceType(const std::string& instanceType)
{
instanceType_ = instanceType;
setParameter("InstanceType", instanceType);
}

View File

@@ -0,0 +1,105 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/QuerySavingsPlansDeductLogResult.h>
#include <json/json.h>
using namespace AlibabaCloud::BssOpenApi;
using namespace AlibabaCloud::BssOpenApi::Model;
QuerySavingsPlansDeductLogResult::QuerySavingsPlansDeductLogResult() :
ServiceResult()
{}
QuerySavingsPlansDeductLogResult::QuerySavingsPlansDeductLogResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QuerySavingsPlansDeductLogResult::~QuerySavingsPlansDeductLogResult()
{}
void QuerySavingsPlansDeductLogResult::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["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());
auto allItemsNode = dataNode["Items"]["SavingsPlansDeductDetailResponse"];
for (auto dataNodeItemsSavingsPlansDeductDetailResponse : allItemsNode)
{
Data::SavingsPlansDeductDetailResponse savingsPlansDeductDetailResponseObject;
if(!dataNodeItemsSavingsPlansDeductDetailResponse["InstanceId"].isNull())
savingsPlansDeductDetailResponseObject.instanceId = dataNodeItemsSavingsPlansDeductDetailResponse["InstanceId"].asString();
if(!dataNodeItemsSavingsPlansDeductDetailResponse["StartTime"].isNull())
savingsPlansDeductDetailResponseObject.startTime = dataNodeItemsSavingsPlansDeductDetailResponse["StartTime"].asString();
if(!dataNodeItemsSavingsPlansDeductDetailResponse["EndTime"].isNull())
savingsPlansDeductDetailResponseObject.endTime = dataNodeItemsSavingsPlansDeductDetailResponse["EndTime"].asString();
if(!dataNodeItemsSavingsPlansDeductDetailResponse["SavingsType"].isNull())
savingsPlansDeductDetailResponseObject.savingsType = dataNodeItemsSavingsPlansDeductDetailResponse["SavingsType"].asString();
if(!dataNodeItemsSavingsPlansDeductDetailResponse["BillModule"].isNull())
savingsPlansDeductDetailResponseObject.billModule = dataNodeItemsSavingsPlansDeductDetailResponse["BillModule"].asString();
if(!dataNodeItemsSavingsPlansDeductDetailResponse["DeductFee"].isNull())
savingsPlansDeductDetailResponseObject.deductFee = dataNodeItemsSavingsPlansDeductDetailResponse["DeductFee"].asString();
if(!dataNodeItemsSavingsPlansDeductDetailResponse["DeductRate"].isNull())
savingsPlansDeductDetailResponseObject.deductRate = dataNodeItemsSavingsPlansDeductDetailResponse["DeductRate"].asString();
if(!dataNodeItemsSavingsPlansDeductDetailResponse["UserId"].isNull())
savingsPlansDeductDetailResponseObject.userId = std::stol(dataNodeItemsSavingsPlansDeductDetailResponse["UserId"].asString());
if(!dataNodeItemsSavingsPlansDeductDetailResponse["DeductCommodity"].isNull())
savingsPlansDeductDetailResponseObject.deductCommodity = dataNodeItemsSavingsPlansDeductDetailResponse["DeductCommodity"].asString();
if(!dataNodeItemsSavingsPlansDeductDetailResponse["DeductInstanceId"].isNull())
savingsPlansDeductDetailResponseObject.deductInstanceId = dataNodeItemsSavingsPlansDeductDetailResponse["DeductInstanceId"].asString();
if(!dataNodeItemsSavingsPlansDeductDetailResponse["DiscountRate"].isNull())
savingsPlansDeductDetailResponseObject.discountRate = dataNodeItemsSavingsPlansDeductDetailResponse["DiscountRate"].asString();
data_.items.push_back(savingsPlansDeductDetailResponseObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string QuerySavingsPlansDeductLogResult::getMessage()const
{
return message_;
}
QuerySavingsPlansDeductLogResult::Data QuerySavingsPlansDeductLogResult::getData()const
{
return data_;
}
std::string QuerySavingsPlansDeductLogResult::getCode()const
{
return code_;
}
bool QuerySavingsPlansDeductLogResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/QuerySavingsPlansInstanceRequest.h>
using AlibabaCloud::BssOpenApi::Model::QuerySavingsPlansInstanceRequest;
QuerySavingsPlansInstanceRequest::QuerySavingsPlansInstanceRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "QuerySavingsPlansInstance")
{
setMethod(HttpRequest::Method::Post);
}
QuerySavingsPlansInstanceRequest::~QuerySavingsPlansInstanceRequest()
{}
std::string QuerySavingsPlansInstanceRequest::getEndTime()const
{
return endTime_;
}
void QuerySavingsPlansInstanceRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
std::string QuerySavingsPlansInstanceRequest::getStartTime()const
{
return startTime_;
}
void QuerySavingsPlansInstanceRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string QuerySavingsPlansInstanceRequest::getLocale()const
{
return locale_;
}
void QuerySavingsPlansInstanceRequest::setLocale(const std::string& locale)
{
locale_ = locale;
setParameter("Locale", locale);
}
int QuerySavingsPlansInstanceRequest::getPageNum()const
{
return pageNum_;
}
void QuerySavingsPlansInstanceRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}
std::string QuerySavingsPlansInstanceRequest::getInstanceId()const
{
return instanceId_;
}
void QuerySavingsPlansInstanceRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}
std::string QuerySavingsPlansInstanceRequest::getRequestId()const
{
return requestId_;
}
void QuerySavingsPlansInstanceRequest::setRequestId(const std::string& requestId)
{
requestId_ = requestId;
setParameter("RequestId", requestId);
}
int QuerySavingsPlansInstanceRequest::getPageSize()const
{
return pageSize_;
}
void QuerySavingsPlansInstanceRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}

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/QuerySavingsPlansInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::BssOpenApi;
using namespace AlibabaCloud::BssOpenApi::Model;
QuerySavingsPlansInstanceResult::QuerySavingsPlansInstanceResult() :
ServiceResult()
{}
QuerySavingsPlansInstanceResult::QuerySavingsPlansInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QuerySavingsPlansInstanceResult::~QuerySavingsPlansInstanceResult()
{}
void QuerySavingsPlansInstanceResult::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["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());
auto allItemsNode = dataNode["Items"]["SavingsPlansDetailResponse"];
for (auto dataNodeItemsSavingsPlansDetailResponse : allItemsNode)
{
Data::SavingsPlansDetailResponse savingsPlansDetailResponseObject;
if(!dataNodeItemsSavingsPlansDetailResponse["InstanceId"].isNull())
savingsPlansDetailResponseObject.instanceId = dataNodeItemsSavingsPlansDetailResponse["InstanceId"].asString();
if(!dataNodeItemsSavingsPlansDetailResponse["SavingsType"].isNull())
savingsPlansDetailResponseObject.savingsType = dataNodeItemsSavingsPlansDetailResponse["SavingsType"].asString();
if(!dataNodeItemsSavingsPlansDetailResponse["InstanceFamily"].isNull())
savingsPlansDetailResponseObject.instanceFamily = dataNodeItemsSavingsPlansDetailResponse["InstanceFamily"].asString();
if(!dataNodeItemsSavingsPlansDetailResponse["Region"].isNull())
savingsPlansDetailResponseObject.region = dataNodeItemsSavingsPlansDetailResponse["Region"].asString();
if(!dataNodeItemsSavingsPlansDetailResponse["PoolValue"].isNull())
savingsPlansDetailResponseObject.poolValue = dataNodeItemsSavingsPlansDetailResponse["PoolValue"].asString();
if(!dataNodeItemsSavingsPlansDetailResponse["Currency"].isNull())
savingsPlansDetailResponseObject.currency = dataNodeItemsSavingsPlansDetailResponse["Currency"].asString();
if(!dataNodeItemsSavingsPlansDetailResponse["Status"].isNull())
savingsPlansDetailResponseObject.status = dataNodeItemsSavingsPlansDetailResponse["Status"].asString();
if(!dataNodeItemsSavingsPlansDetailResponse["StartTime"].isNull())
savingsPlansDetailResponseObject.startTime = dataNodeItemsSavingsPlansDetailResponse["StartTime"].asString();
if(!dataNodeItemsSavingsPlansDetailResponse["EndTime"].isNull())
savingsPlansDetailResponseObject.endTime = dataNodeItemsSavingsPlansDetailResponse["EndTime"].asString();
if(!dataNodeItemsSavingsPlansDetailResponse["PayMode"].isNull())
savingsPlansDetailResponseObject.payMode = dataNodeItemsSavingsPlansDetailResponse["PayMode"].asString();
if(!dataNodeItemsSavingsPlansDetailResponse["PrepayFee"].isNull())
savingsPlansDetailResponseObject.prepayFee = dataNodeItemsSavingsPlansDetailResponse["PrepayFee"].asString();
if(!dataNodeItemsSavingsPlansDetailResponse["TotalSave"].isNull())
savingsPlansDetailResponseObject.totalSave = dataNodeItemsSavingsPlansDetailResponse["TotalSave"].asString();
if(!dataNodeItemsSavingsPlansDetailResponse["Utilization"].isNull())
savingsPlansDetailResponseObject.utilization = dataNodeItemsSavingsPlansDetailResponse["Utilization"].asString();
if(!dataNodeItemsSavingsPlansDetailResponse["Share"].isNull())
savingsPlansDetailResponseObject.share = dataNodeItemsSavingsPlansDetailResponse["Share"].asString() == "true";
data_.items.push_back(savingsPlansDetailResponseObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string QuerySavingsPlansInstanceResult::getMessage()const
{
return message_;
}
QuerySavingsPlansInstanceResult::Data QuerySavingsPlansInstanceResult::getData()const
{
return data_;
}
std::string QuerySavingsPlansInstanceResult::getCode()const
{
return code_;
}
bool QuerySavingsPlansInstanceResult::getSuccess()const
{
return success_;
}

View File

@@ -136,6 +136,18 @@ void QuerySplitItemBillResult::parse(const std::string &payload)
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
if(!dataNodeItemsItem["CommodityCode"].isNull())
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].asString();
if(!dataNodeItemsItem["ServicePeriodUnit"].isNull())
itemObject.servicePeriodUnit = dataNodeItemsItem["ServicePeriodUnit"].asString();
if(!dataNodeItemsItem["SplitCommodityCode"].isNull())
itemObject.splitCommodityCode = dataNodeItemsItem["SplitCommodityCode"].asString();
if(!dataNodeItemsItem["SplitProductDetail"].isNull())
itemObject.splitProductDetail = dataNodeItemsItem["SplitProductDetail"].asString();
if(!dataNodeItemsItem["SplitAccountID"].isNull())
itemObject.splitAccountID = dataNodeItemsItem["SplitAccountID"].asString();
if(!dataNodeItemsItem["SplitAccountName"].isNull())
itemObject.splitAccountName = dataNodeItemsItem["SplitAccountName"].asString();
if(!dataNodeItemsItem["SplitBillingCycle"].isNull())
itemObject.splitBillingCycle = dataNodeItemsItem["SplitBillingCycle"].asString();
data_.items.push_back(itemObject);
}
if(!value["Success"].isNull())

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/SaveUserCreditRequest.h>
using AlibabaCloud::BssOpenApi::Model::SaveUserCreditRequest;
SaveUserCreditRequest::SaveUserCreditRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "SaveUserCredit")
{
setMethod(HttpRequest::Method::Post);
}
SaveUserCreditRequest::~SaveUserCreditRequest()
{}
bool SaveUserCreditRequest::getAvoidExpiration()const
{
return avoidExpiration_;
}
void SaveUserCreditRequest::setAvoidExpiration(bool avoidExpiration)
{
avoidExpiration_ = avoidExpiration;
setParameter("AvoidExpiration", avoidExpiration ? "true" : "false");
}
std::string SaveUserCreditRequest::getDescription()const
{
return description_;
}
void SaveUserCreditRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
bool SaveUserCreditRequest::getAvoidPrepaidNotification()const
{
return avoidPrepaidNotification_;
}
void SaveUserCreditRequest::setAvoidPrepaidNotification(bool avoidPrepaidNotification)
{
avoidPrepaidNotification_ = avoidPrepaidNotification;
setParameter("AvoidPrepaidNotification", avoidPrepaidNotification ? "true" : "false");
}
bool SaveUserCreditRequest::getAvoidPrepaidExpiration()const
{
return avoidPrepaidExpiration_;
}
void SaveUserCreditRequest::setAvoidPrepaidExpiration(bool avoidPrepaidExpiration)
{
avoidPrepaidExpiration_ = avoidPrepaidExpiration;
setParameter("AvoidPrepaidExpiration", avoidPrepaidExpiration ? "true" : "false");
}
bool SaveUserCreditRequest::getAvoidNotification()const
{
return avoidNotification_;
}
void SaveUserCreditRequest::setAvoidNotification(bool avoidNotification)
{
avoidNotification_ = avoidNotification;
setParameter("AvoidNotification", avoidNotification ? "true" : "false");
}
std::string SaveUserCreditRequest::get_Operator()const
{
return _operator_;
}
void SaveUserCreditRequest::set_Operator(const std::string& _operator)
{
_operator_ = _operator;
setParameter("_Operator", _operator);
}
std::string SaveUserCreditRequest::getCreditValue()const
{
return creditValue_;
}
void SaveUserCreditRequest::setCreditValue(const std::string& creditValue)
{
creditValue_ = creditValue;
setParameter("CreditValue", creditValue);
}
std::string SaveUserCreditRequest::getCreditType()const
{
return creditType_;
}
void SaveUserCreditRequest::setCreditType(const std::string& creditType)
{
creditType_ = creditType;
setParameter("CreditType", creditType);
}

View File

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

View File

@@ -0,0 +1,216 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/SetCreditLabelActionRequest.h>
using AlibabaCloud::BssOpenApi::Model::SetCreditLabelActionRequest;
SetCreditLabelActionRequest::SetCreditLabelActionRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "SetCreditLabelAction")
{
setMethod(HttpRequest::Method::Post);
}
SetCreditLabelActionRequest::~SetCreditLabelActionRequest()
{}
std::string SetCreditLabelActionRequest::getActionType()const
{
return actionType_;
}
void SetCreditLabelActionRequest::setActionType(const std::string& actionType)
{
actionType_ = actionType;
setParameter("ActionType", actionType);
}
std::string SetCreditLabelActionRequest::getIsNeedSaveNotifyRule()const
{
return isNeedSaveNotifyRule_;
}
void SetCreditLabelActionRequest::setIsNeedSaveNotifyRule(const std::string& isNeedSaveNotifyRule)
{
isNeedSaveNotifyRule_ = isNeedSaveNotifyRule;
setParameter("IsNeedSaveNotifyRule", isNeedSaveNotifyRule);
}
std::string SetCreditLabelActionRequest::getIsNeedAdjustCreditAccount()const
{
return isNeedAdjustCreditAccount_;
}
void SetCreditLabelActionRequest::setIsNeedAdjustCreditAccount(const std::string& isNeedAdjustCreditAccount)
{
isNeedAdjustCreditAccount_ = isNeedAdjustCreditAccount;
setParameter("IsNeedAdjustCreditAccount", isNeedAdjustCreditAccount);
}
bool SetCreditLabelActionRequest::getNewCreateMode()const
{
return newCreateMode_;
}
void SetCreditLabelActionRequest::setNewCreateMode(bool newCreateMode)
{
newCreateMode_ = newCreateMode;
setParameter("NewCreateMode", newCreateMode ? "true" : "false");
}
std::string SetCreditLabelActionRequest::getDescription()const
{
return description_;
}
void SetCreditLabelActionRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string SetCreditLabelActionRequest::getSource()const
{
return source_;
}
void SetCreditLabelActionRequest::setSource(const std::string& source)
{
source_ = source;
setParameter("Source", source);
}
std::string SetCreditLabelActionRequest::getCurrencyCode()const
{
return currencyCode_;
}
void SetCreditLabelActionRequest::setCurrencyCode(const std::string& currencyCode)
{
currencyCode_ = currencyCode;
setParameter("CurrencyCode", currencyCode);
}
std::string SetCreditLabelActionRequest::getDailyCycle()const
{
return dailyCycle_;
}
void SetCreditLabelActionRequest::setDailyCycle(const std::string& dailyCycle)
{
dailyCycle_ = dailyCycle;
setParameter("DailyCycle", dailyCycle);
}
std::string SetCreditLabelActionRequest::get_Operator()const
{
return _operator_;
}
void SetCreditLabelActionRequest::set_Operator(const std::string& _operator)
{
_operator_ = _operator;
setParameter("_Operator", _operator);
}
std::string SetCreditLabelActionRequest::getUid()const
{
return uid_;
}
void SetCreditLabelActionRequest::setUid(const std::string& uid)
{
uid_ = uid;
setParameter("Uid", uid);
}
std::string SetCreditLabelActionRequest::getSiteCode()const
{
return siteCode_;
}
void SetCreditLabelActionRequest::setSiteCode(const std::string& siteCode)
{
siteCode_ = siteCode;
setParameter("SiteCode", siteCode);
}
std::string SetCreditLabelActionRequest::getClearCycle()const
{
return clearCycle_;
}
void SetCreditLabelActionRequest::setClearCycle(const std::string& clearCycle)
{
clearCycle_ = clearCycle;
setParameter("ClearCycle", clearCycle);
}
bool SetCreditLabelActionRequest::getNeedNotice()const
{
return needNotice_;
}
void SetCreditLabelActionRequest::setNeedNotice(bool needNotice)
{
needNotice_ = needNotice;
setParameter("NeedNotice", needNotice ? "true" : "false");
}
std::string SetCreditLabelActionRequest::getRequestId()const
{
return requestId_;
}
void SetCreditLabelActionRequest::setRequestId(const std::string& requestId)
{
requestId_ = requestId;
setParameter("RequestId", requestId);
}
std::string SetCreditLabelActionRequest::getIsNeedSetCreditAmount()const
{
return isNeedSetCreditAmount_;
}
void SetCreditLabelActionRequest::setIsNeedSetCreditAmount(const std::string& isNeedSetCreditAmount)
{
isNeedSetCreditAmount_ = isNeedSetCreditAmount;
setParameter("IsNeedSetCreditAmount", isNeedSetCreditAmount);
}
std::string SetCreditLabelActionRequest::getCreditAmount()const
{
return creditAmount_;
}
void SetCreditLabelActionRequest::setCreditAmount(const std::string& creditAmount)
{
creditAmount_ = creditAmount;
setParameter("CreditAmount", creditAmount);
}
std::string SetCreditLabelActionRequest::getIsNeedAddSettleLabel()const
{
return isNeedAddSettleLabel_;
}
void SetCreditLabelActionRequest::setIsNeedAddSettleLabel(const std::string& isNeedAddSettleLabel)
{
isNeedAddSettleLabel_ = isNeedAddSettleLabel;
setParameter("IsNeedAddSettleLabel", isNeedAddSettleLabel);
}

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.
*/
#include <alibabacloud/bssopenapi/model/SetCreditLabelActionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::BssOpenApi;
using namespace AlibabaCloud::BssOpenApi::Model;
SetCreditLabelActionResult::SetCreditLabelActionResult() :
ServiceResult()
{}
SetCreditLabelActionResult::SetCreditLabelActionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SetCreditLabelActionResult::~SetCreditLabelActionResult()
{}
void SetCreditLabelActionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string SetCreditLabelActionResult::getMessage()const
{
return message_;
}
bool SetCreditLabelActionResult::getData()const
{
return data_;
}
std::string SetCreditLabelActionResult::getCode()const
{
return code_;
}
bool SetCreditLabelActionResult::getSuccess()const
{
return success_;
}

View File

@@ -27,10 +27,16 @@ set(cdrs_public_header_model
include/alibabacloud/cdrs/model/BindDeviceResult.h
include/alibabacloud/cdrs/model/CreateProjectRequest.h
include/alibabacloud/cdrs/model/CreateProjectResult.h
include/alibabacloud/cdrs/model/DetectTrajectoryRegularPatternRequest.h
include/alibabacloud/cdrs/model/DetectTrajectoryRegularPatternResult.h
include/alibabacloud/cdrs/model/GetCdrsMonitorListRequest.h
include/alibabacloud/cdrs/model/GetCdrsMonitorListResult.h
include/alibabacloud/cdrs/model/GetCdrsMonitorResultRequest.h
include/alibabacloud/cdrs/model/GetCdrsMonitorResultResult.h
include/alibabacloud/cdrs/model/IntersectTrajectoryRequest.h
include/alibabacloud/cdrs/model/IntersectTrajectoryResult.h
include/alibabacloud/cdrs/model/ListAreaHotSpotMetricsRequest.h
include/alibabacloud/cdrs/model/ListAreaHotSpotMetricsResult.h
include/alibabacloud/cdrs/model/ListCityMapAoisRequest.h
include/alibabacloud/cdrs/model/ListCityMapAoisResult.h
include/alibabacloud/cdrs/model/ListCityMapCameraResultsRequest.h
@@ -45,6 +51,10 @@ set(cdrs_public_header_model
include/alibabacloud/cdrs/model/ListCityMapRangeStatisticResult.h
include/alibabacloud/cdrs/model/ListCorpMetricsRequest.h
include/alibabacloud/cdrs/model/ListCorpMetricsResult.h
include/alibabacloud/cdrs/model/ListCorpMetricsStatisticRequest.h
include/alibabacloud/cdrs/model/ListCorpMetricsStatisticResult.h
include/alibabacloud/cdrs/model/ListCorpTrackDetailRequest.h
include/alibabacloud/cdrs/model/ListCorpTrackDetailResult.h
include/alibabacloud/cdrs/model/ListDataStatisticsRequest.h
include/alibabacloud/cdrs/model/ListDataStatisticsResult.h
include/alibabacloud/cdrs/model/ListDataStatisticsByDayRequest.h
@@ -57,6 +67,8 @@ set(cdrs_public_header_model
include/alibabacloud/cdrs/model/ListDevicePersonResult.h
include/alibabacloud/cdrs/model/ListDevicePersonStatisticsRequest.h
include/alibabacloud/cdrs/model/ListDevicePersonStatisticsResult.h
include/alibabacloud/cdrs/model/ListDeviceRelationRequest.h
include/alibabacloud/cdrs/model/ListDeviceRelationResult.h
include/alibabacloud/cdrs/model/ListMapRouteDetailsRequest.h
include/alibabacloud/cdrs/model/ListMapRouteDetailsResult.h
include/alibabacloud/cdrs/model/ListMetricsRequest.h
@@ -79,6 +91,8 @@ set(cdrs_public_header_model
include/alibabacloud/cdrs/model/ListStorageStatisticsResult.h
include/alibabacloud/cdrs/model/ListStructureStatisticsRequest.h
include/alibabacloud/cdrs/model/ListStructureStatisticsResult.h
include/alibabacloud/cdrs/model/ListTagMetricsRequest.h
include/alibabacloud/cdrs/model/ListTagMetricsResult.h
include/alibabacloud/cdrs/model/ListVehicleDetailsRequest.h
include/alibabacloud/cdrs/model/ListVehicleDetailsResult.h
include/alibabacloud/cdrs/model/ListVehicleResultsRequest.h
@@ -89,6 +103,18 @@ set(cdrs_public_header_model
include/alibabacloud/cdrs/model/ListVehicleTopResult.h
include/alibabacloud/cdrs/model/ListVehicleTrackRequest.h
include/alibabacloud/cdrs/model/ListVehicleTrackResult.h
include/alibabacloud/cdrs/model/PaginateDeviceRequest.h
include/alibabacloud/cdrs/model/PaginateDeviceResult.h
include/alibabacloud/cdrs/model/PaginateProjectRequest.h
include/alibabacloud/cdrs/model/PaginateProjectResult.h
include/alibabacloud/cdrs/model/PredictTrajectoryDestinationRequest.h
include/alibabacloud/cdrs/model/PredictTrajectoryDestinationResult.h
include/alibabacloud/cdrs/model/QueryTrajectoryByIdRequest.h
include/alibabacloud/cdrs/model/QueryTrajectoryByIdResult.h
include/alibabacloud/cdrs/model/RecallTrajectoryByCoordinateRequest.h
include/alibabacloud/cdrs/model/RecallTrajectoryByCoordinateResult.h
include/alibabacloud/cdrs/model/RecallTrajectoryByIdRequest.h
include/alibabacloud/cdrs/model/RecallTrajectoryByIdResult.h
include/alibabacloud/cdrs/model/RecognizeImageRequest.h
include/alibabacloud/cdrs/model/RecognizeImageResult.h
include/alibabacloud/cdrs/model/SearchObjectRequest.h
@@ -100,7 +126,9 @@ set(cdrs_public_header_model
include/alibabacloud/cdrs/model/UpdateCdrsMonitorRequest.h
include/alibabacloud/cdrs/model/UpdateCdrsMonitorResult.h
include/alibabacloud/cdrs/model/UpdateProjectRequest.h
include/alibabacloud/cdrs/model/UpdateProjectResult.h )
include/alibabacloud/cdrs/model/UpdateProjectResult.h
include/alibabacloud/cdrs/model/ValidateTrajectoryRequest.h
include/alibabacloud/cdrs/model/ValidateTrajectoryResult.h )
set(cdrs_src
src/CDRSClient.cc
@@ -110,10 +138,16 @@ set(cdrs_src
src/model/BindDeviceResult.cc
src/model/CreateProjectRequest.cc
src/model/CreateProjectResult.cc
src/model/DetectTrajectoryRegularPatternRequest.cc
src/model/DetectTrajectoryRegularPatternResult.cc
src/model/GetCdrsMonitorListRequest.cc
src/model/GetCdrsMonitorListResult.cc
src/model/GetCdrsMonitorResultRequest.cc
src/model/GetCdrsMonitorResultResult.cc
src/model/IntersectTrajectoryRequest.cc
src/model/IntersectTrajectoryResult.cc
src/model/ListAreaHotSpotMetricsRequest.cc
src/model/ListAreaHotSpotMetricsResult.cc
src/model/ListCityMapAoisRequest.cc
src/model/ListCityMapAoisResult.cc
src/model/ListCityMapCameraResultsRequest.cc
@@ -128,6 +162,10 @@ set(cdrs_src
src/model/ListCityMapRangeStatisticResult.cc
src/model/ListCorpMetricsRequest.cc
src/model/ListCorpMetricsResult.cc
src/model/ListCorpMetricsStatisticRequest.cc
src/model/ListCorpMetricsStatisticResult.cc
src/model/ListCorpTrackDetailRequest.cc
src/model/ListCorpTrackDetailResult.cc
src/model/ListDataStatisticsRequest.cc
src/model/ListDataStatisticsResult.cc
src/model/ListDataStatisticsByDayRequest.cc
@@ -140,6 +178,8 @@ set(cdrs_src
src/model/ListDevicePersonResult.cc
src/model/ListDevicePersonStatisticsRequest.cc
src/model/ListDevicePersonStatisticsResult.cc
src/model/ListDeviceRelationRequest.cc
src/model/ListDeviceRelationResult.cc
src/model/ListMapRouteDetailsRequest.cc
src/model/ListMapRouteDetailsResult.cc
src/model/ListMetricsRequest.cc
@@ -162,6 +202,8 @@ set(cdrs_src
src/model/ListStorageStatisticsResult.cc
src/model/ListStructureStatisticsRequest.cc
src/model/ListStructureStatisticsResult.cc
src/model/ListTagMetricsRequest.cc
src/model/ListTagMetricsResult.cc
src/model/ListVehicleDetailsRequest.cc
src/model/ListVehicleDetailsResult.cc
src/model/ListVehicleResultsRequest.cc
@@ -172,6 +214,18 @@ set(cdrs_src
src/model/ListVehicleTopResult.cc
src/model/ListVehicleTrackRequest.cc
src/model/ListVehicleTrackResult.cc
src/model/PaginateDeviceRequest.cc
src/model/PaginateDeviceResult.cc
src/model/PaginateProjectRequest.cc
src/model/PaginateProjectResult.cc
src/model/PredictTrajectoryDestinationRequest.cc
src/model/PredictTrajectoryDestinationResult.cc
src/model/QueryTrajectoryByIdRequest.cc
src/model/QueryTrajectoryByIdResult.cc
src/model/RecallTrajectoryByCoordinateRequest.cc
src/model/RecallTrajectoryByCoordinateResult.cc
src/model/RecallTrajectoryByIdRequest.cc
src/model/RecallTrajectoryByIdResult.cc
src/model/RecognizeImageRequest.cc
src/model/RecognizeImageResult.cc
src/model/SearchObjectRequest.cc
@@ -183,7 +237,9 @@ set(cdrs_src
src/model/UpdateCdrsMonitorRequest.cc
src/model/UpdateCdrsMonitorResult.cc
src/model/UpdateProjectRequest.cc
src/model/UpdateProjectResult.cc )
src/model/UpdateProjectResult.cc
src/model/ValidateTrajectoryRequest.cc
src/model/ValidateTrajectoryResult.cc )
add_library(cdrs ${LIB_TYPE}
${cdrs_public_header}

View File

@@ -28,10 +28,16 @@
#include "model/BindDeviceResult.h"
#include "model/CreateProjectRequest.h"
#include "model/CreateProjectResult.h"
#include "model/DetectTrajectoryRegularPatternRequest.h"
#include "model/DetectTrajectoryRegularPatternResult.h"
#include "model/GetCdrsMonitorListRequest.h"
#include "model/GetCdrsMonitorListResult.h"
#include "model/GetCdrsMonitorResultRequest.h"
#include "model/GetCdrsMonitorResultResult.h"
#include "model/IntersectTrajectoryRequest.h"
#include "model/IntersectTrajectoryResult.h"
#include "model/ListAreaHotSpotMetricsRequest.h"
#include "model/ListAreaHotSpotMetricsResult.h"
#include "model/ListCityMapAoisRequest.h"
#include "model/ListCityMapAoisResult.h"
#include "model/ListCityMapCameraResultsRequest.h"
@@ -46,6 +52,10 @@
#include "model/ListCityMapRangeStatisticResult.h"
#include "model/ListCorpMetricsRequest.h"
#include "model/ListCorpMetricsResult.h"
#include "model/ListCorpMetricsStatisticRequest.h"
#include "model/ListCorpMetricsStatisticResult.h"
#include "model/ListCorpTrackDetailRequest.h"
#include "model/ListCorpTrackDetailResult.h"
#include "model/ListDataStatisticsRequest.h"
#include "model/ListDataStatisticsResult.h"
#include "model/ListDataStatisticsByDayRequest.h"
@@ -58,6 +68,8 @@
#include "model/ListDevicePersonResult.h"
#include "model/ListDevicePersonStatisticsRequest.h"
#include "model/ListDevicePersonStatisticsResult.h"
#include "model/ListDeviceRelationRequest.h"
#include "model/ListDeviceRelationResult.h"
#include "model/ListMapRouteDetailsRequest.h"
#include "model/ListMapRouteDetailsResult.h"
#include "model/ListMetricsRequest.h"
@@ -80,6 +92,8 @@
#include "model/ListStorageStatisticsResult.h"
#include "model/ListStructureStatisticsRequest.h"
#include "model/ListStructureStatisticsResult.h"
#include "model/ListTagMetricsRequest.h"
#include "model/ListTagMetricsResult.h"
#include "model/ListVehicleDetailsRequest.h"
#include "model/ListVehicleDetailsResult.h"
#include "model/ListVehicleResultsRequest.h"
@@ -90,6 +104,18 @@
#include "model/ListVehicleTopResult.h"
#include "model/ListVehicleTrackRequest.h"
#include "model/ListVehicleTrackResult.h"
#include "model/PaginateDeviceRequest.h"
#include "model/PaginateDeviceResult.h"
#include "model/PaginateProjectRequest.h"
#include "model/PaginateProjectResult.h"
#include "model/PredictTrajectoryDestinationRequest.h"
#include "model/PredictTrajectoryDestinationResult.h"
#include "model/QueryTrajectoryByIdRequest.h"
#include "model/QueryTrajectoryByIdResult.h"
#include "model/RecallTrajectoryByCoordinateRequest.h"
#include "model/RecallTrajectoryByCoordinateResult.h"
#include "model/RecallTrajectoryByIdRequest.h"
#include "model/RecallTrajectoryByIdResult.h"
#include "model/RecognizeImageRequest.h"
#include "model/RecognizeImageResult.h"
#include "model/SearchObjectRequest.h"
@@ -102,6 +128,8 @@
#include "model/UpdateCdrsMonitorResult.h"
#include "model/UpdateProjectRequest.h"
#include "model/UpdateProjectResult.h"
#include "model/ValidateTrajectoryRequest.h"
#include "model/ValidateTrajectoryResult.h"
namespace AlibabaCloud
@@ -120,12 +148,21 @@ namespace AlibabaCloud
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::DetectTrajectoryRegularPatternResult> DetectTrajectoryRegularPatternOutcome;
typedef std::future<DetectTrajectoryRegularPatternOutcome> DetectTrajectoryRegularPatternOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::DetectTrajectoryRegularPatternRequest&, const DetectTrajectoryRegularPatternOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectTrajectoryRegularPatternAsyncHandler;
typedef Outcome<Error, Model::GetCdrsMonitorListResult> GetCdrsMonitorListOutcome;
typedef std::future<GetCdrsMonitorListOutcome> GetCdrsMonitorListOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::GetCdrsMonitorListRequest&, const GetCdrsMonitorListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCdrsMonitorListAsyncHandler;
typedef Outcome<Error, Model::GetCdrsMonitorResultResult> GetCdrsMonitorResultOutcome;
typedef std::future<GetCdrsMonitorResultOutcome> GetCdrsMonitorResultOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::GetCdrsMonitorResultRequest&, const GetCdrsMonitorResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCdrsMonitorResultAsyncHandler;
typedef Outcome<Error, Model::IntersectTrajectoryResult> IntersectTrajectoryOutcome;
typedef std::future<IntersectTrajectoryOutcome> IntersectTrajectoryOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::IntersectTrajectoryRequest&, const IntersectTrajectoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> IntersectTrajectoryAsyncHandler;
typedef Outcome<Error, Model::ListAreaHotSpotMetricsResult> ListAreaHotSpotMetricsOutcome;
typedef std::future<ListAreaHotSpotMetricsOutcome> ListAreaHotSpotMetricsOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::ListAreaHotSpotMetricsRequest&, const ListAreaHotSpotMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAreaHotSpotMetricsAsyncHandler;
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;
@@ -147,6 +184,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListCorpMetricsResult> ListCorpMetricsOutcome;
typedef std::future<ListCorpMetricsOutcome> ListCorpMetricsOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::ListCorpMetricsRequest&, const ListCorpMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCorpMetricsAsyncHandler;
typedef Outcome<Error, Model::ListCorpMetricsStatisticResult> ListCorpMetricsStatisticOutcome;
typedef std::future<ListCorpMetricsStatisticOutcome> ListCorpMetricsStatisticOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::ListCorpMetricsStatisticRequest&, const ListCorpMetricsStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCorpMetricsStatisticAsyncHandler;
typedef Outcome<Error, Model::ListCorpTrackDetailResult> ListCorpTrackDetailOutcome;
typedef std::future<ListCorpTrackDetailOutcome> ListCorpTrackDetailOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::ListCorpTrackDetailRequest&, const ListCorpTrackDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCorpTrackDetailAsyncHandler;
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;
@@ -165,6 +208,9 @@ namespace AlibabaCloud
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::ListDeviceRelationResult> ListDeviceRelationOutcome;
typedef std::future<ListDeviceRelationOutcome> ListDeviceRelationOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::ListDeviceRelationRequest&, const ListDeviceRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceRelationAsyncHandler;
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;
@@ -198,6 +244,9 @@ namespace AlibabaCloud
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::ListTagMetricsResult> ListTagMetricsOutcome;
typedef std::future<ListTagMetricsOutcome> ListTagMetricsOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::ListTagMetricsRequest&, const ListTagMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagMetricsAsyncHandler;
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;
@@ -213,6 +262,24 @@ namespace AlibabaCloud
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::PaginateDeviceResult> PaginateDeviceOutcome;
typedef std::future<PaginateDeviceOutcome> PaginateDeviceOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::PaginateDeviceRequest&, const PaginateDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PaginateDeviceAsyncHandler;
typedef Outcome<Error, Model::PaginateProjectResult> PaginateProjectOutcome;
typedef std::future<PaginateProjectOutcome> PaginateProjectOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::PaginateProjectRequest&, const PaginateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PaginateProjectAsyncHandler;
typedef Outcome<Error, Model::PredictTrajectoryDestinationResult> PredictTrajectoryDestinationOutcome;
typedef std::future<PredictTrajectoryDestinationOutcome> PredictTrajectoryDestinationOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::PredictTrajectoryDestinationRequest&, const PredictTrajectoryDestinationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PredictTrajectoryDestinationAsyncHandler;
typedef Outcome<Error, Model::QueryTrajectoryByIdResult> QueryTrajectoryByIdOutcome;
typedef std::future<QueryTrajectoryByIdOutcome> QueryTrajectoryByIdOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::QueryTrajectoryByIdRequest&, const QueryTrajectoryByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTrajectoryByIdAsyncHandler;
typedef Outcome<Error, Model::RecallTrajectoryByCoordinateResult> RecallTrajectoryByCoordinateOutcome;
typedef std::future<RecallTrajectoryByCoordinateOutcome> RecallTrajectoryByCoordinateOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::RecallTrajectoryByCoordinateRequest&, const RecallTrajectoryByCoordinateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecallTrajectoryByCoordinateAsyncHandler;
typedef Outcome<Error, Model::RecallTrajectoryByIdResult> RecallTrajectoryByIdOutcome;
typedef std::future<RecallTrajectoryByIdOutcome> RecallTrajectoryByIdOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::RecallTrajectoryByIdRequest&, const RecallTrajectoryByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecallTrajectoryByIdAsyncHandler;
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;
@@ -231,6 +298,9 @@ namespace AlibabaCloud
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;
typedef Outcome<Error, Model::ValidateTrajectoryResult> ValidateTrajectoryOutcome;
typedef std::future<ValidateTrajectoryOutcome> ValidateTrajectoryOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::ValidateTrajectoryRequest&, const ValidateTrajectoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ValidateTrajectoryAsyncHandler;
CDRSClient(const Credentials &credentials, const ClientConfiguration &configuration);
CDRSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -245,12 +315,21 @@ namespace AlibabaCloud
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;
DetectTrajectoryRegularPatternOutcome detectTrajectoryRegularPattern(const Model::DetectTrajectoryRegularPatternRequest &request)const;
void detectTrajectoryRegularPatternAsync(const Model::DetectTrajectoryRegularPatternRequest& request, const DetectTrajectoryRegularPatternAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetectTrajectoryRegularPatternOutcomeCallable detectTrajectoryRegularPatternCallable(const Model::DetectTrajectoryRegularPatternRequest& request) const;
GetCdrsMonitorListOutcome getCdrsMonitorList(const Model::GetCdrsMonitorListRequest &request)const;
void getCdrsMonitorListAsync(const Model::GetCdrsMonitorListRequest& request, const GetCdrsMonitorListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCdrsMonitorListOutcomeCallable getCdrsMonitorListCallable(const Model::GetCdrsMonitorListRequest& request) const;
GetCdrsMonitorResultOutcome getCdrsMonitorResult(const Model::GetCdrsMonitorResultRequest &request)const;
void getCdrsMonitorResultAsync(const Model::GetCdrsMonitorResultRequest& request, const GetCdrsMonitorResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCdrsMonitorResultOutcomeCallable getCdrsMonitorResultCallable(const Model::GetCdrsMonitorResultRequest& request) const;
IntersectTrajectoryOutcome intersectTrajectory(const Model::IntersectTrajectoryRequest &request)const;
void intersectTrajectoryAsync(const Model::IntersectTrajectoryRequest& request, const IntersectTrajectoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
IntersectTrajectoryOutcomeCallable intersectTrajectoryCallable(const Model::IntersectTrajectoryRequest& request) const;
ListAreaHotSpotMetricsOutcome listAreaHotSpotMetrics(const Model::ListAreaHotSpotMetricsRequest &request)const;
void listAreaHotSpotMetricsAsync(const Model::ListAreaHotSpotMetricsRequest& request, const ListAreaHotSpotMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAreaHotSpotMetricsOutcomeCallable listAreaHotSpotMetricsCallable(const Model::ListAreaHotSpotMetricsRequest& 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;
@@ -272,6 +351,12 @@ namespace AlibabaCloud
ListCorpMetricsOutcome listCorpMetrics(const Model::ListCorpMetricsRequest &request)const;
void listCorpMetricsAsync(const Model::ListCorpMetricsRequest& request, const ListCorpMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCorpMetricsOutcomeCallable listCorpMetricsCallable(const Model::ListCorpMetricsRequest& request) const;
ListCorpMetricsStatisticOutcome listCorpMetricsStatistic(const Model::ListCorpMetricsStatisticRequest &request)const;
void listCorpMetricsStatisticAsync(const Model::ListCorpMetricsStatisticRequest& request, const ListCorpMetricsStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCorpMetricsStatisticOutcomeCallable listCorpMetricsStatisticCallable(const Model::ListCorpMetricsStatisticRequest& request) const;
ListCorpTrackDetailOutcome listCorpTrackDetail(const Model::ListCorpTrackDetailRequest &request)const;
void listCorpTrackDetailAsync(const Model::ListCorpTrackDetailRequest& request, const ListCorpTrackDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCorpTrackDetailOutcomeCallable listCorpTrackDetailCallable(const Model::ListCorpTrackDetailRequest& 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;
@@ -290,6 +375,9 @@ namespace AlibabaCloud
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;
ListDeviceRelationOutcome listDeviceRelation(const Model::ListDeviceRelationRequest &request)const;
void listDeviceRelationAsync(const Model::ListDeviceRelationRequest& request, const ListDeviceRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDeviceRelationOutcomeCallable listDeviceRelationCallable(const Model::ListDeviceRelationRequest& 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;
@@ -323,6 +411,9 @@ namespace AlibabaCloud
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;
ListTagMetricsOutcome listTagMetrics(const Model::ListTagMetricsRequest &request)const;
void listTagMetricsAsync(const Model::ListTagMetricsRequest& request, const ListTagMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagMetricsOutcomeCallable listTagMetricsCallable(const Model::ListTagMetricsRequest& 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;
@@ -338,6 +429,24 @@ namespace AlibabaCloud
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;
PaginateDeviceOutcome paginateDevice(const Model::PaginateDeviceRequest &request)const;
void paginateDeviceAsync(const Model::PaginateDeviceRequest& request, const PaginateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PaginateDeviceOutcomeCallable paginateDeviceCallable(const Model::PaginateDeviceRequest& request) const;
PaginateProjectOutcome paginateProject(const Model::PaginateProjectRequest &request)const;
void paginateProjectAsync(const Model::PaginateProjectRequest& request, const PaginateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PaginateProjectOutcomeCallable paginateProjectCallable(const Model::PaginateProjectRequest& request) const;
PredictTrajectoryDestinationOutcome predictTrajectoryDestination(const Model::PredictTrajectoryDestinationRequest &request)const;
void predictTrajectoryDestinationAsync(const Model::PredictTrajectoryDestinationRequest& request, const PredictTrajectoryDestinationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PredictTrajectoryDestinationOutcomeCallable predictTrajectoryDestinationCallable(const Model::PredictTrajectoryDestinationRequest& request) const;
QueryTrajectoryByIdOutcome queryTrajectoryById(const Model::QueryTrajectoryByIdRequest &request)const;
void queryTrajectoryByIdAsync(const Model::QueryTrajectoryByIdRequest& request, const QueryTrajectoryByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryTrajectoryByIdOutcomeCallable queryTrajectoryByIdCallable(const Model::QueryTrajectoryByIdRequest& request) const;
RecallTrajectoryByCoordinateOutcome recallTrajectoryByCoordinate(const Model::RecallTrajectoryByCoordinateRequest &request)const;
void recallTrajectoryByCoordinateAsync(const Model::RecallTrajectoryByCoordinateRequest& request, const RecallTrajectoryByCoordinateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RecallTrajectoryByCoordinateOutcomeCallable recallTrajectoryByCoordinateCallable(const Model::RecallTrajectoryByCoordinateRequest& request) const;
RecallTrajectoryByIdOutcome recallTrajectoryById(const Model::RecallTrajectoryByIdRequest &request)const;
void recallTrajectoryByIdAsync(const Model::RecallTrajectoryByIdRequest& request, const RecallTrajectoryByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RecallTrajectoryByIdOutcomeCallable recallTrajectoryByIdCallable(const Model::RecallTrajectoryByIdRequest& 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;
@@ -356,6 +465,9 @@ namespace AlibabaCloud
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;
ValidateTrajectoryOutcome validateTrajectory(const Model::ValidateTrajectoryRequest &request)const;
void validateTrajectoryAsync(const Model::ValidateTrajectoryRequest& request, const ValidateTrajectoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ValidateTrajectoryOutcomeCallable validateTrajectoryCallable(const Model::ValidateTrajectoryRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -51,8 +51,6 @@ namespace AlibabaCloud
void setNotifierType(const std::string& notifierType);
int getBatchIndicator()const;
void setBatchIndicator(int batchIndicator);
std::string getBizId()const;
void setBizId(const std::string& bizId);
int getNotifierTimeOut()const;
void setNotifierTimeOut(int notifierTimeOut);
std::string getAlgorithmVendor()const;
@@ -67,7 +65,6 @@ namespace AlibabaCloud
std::string notifierUrl_;
std::string notifierType_;
int batchIndicator_;
std::string bizId_;
int notifierTimeOut_;
std::string algorithmVendor_;

View File

@@ -47,6 +47,8 @@ namespace AlibabaCloud
void set_NameSpace(const std::string& _nameSpace);
std::string getName()const;
void setName(const std::string& name);
std::string getAggregateSceneCode()const;
void setAggregateSceneCode(const std::string& aggregateSceneCode);
private:
std::string clientToken_;
@@ -55,6 +57,7 @@ namespace AlibabaCloud
std::string appName_;
std::string _nameSpace_;
std::string name_;
std::string aggregateSceneCode_;
};
}

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_DETECTTRAJECTORYREGULARPATTERNREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_DETECTTRAJECTORYREGULARPATTERNREQUEST_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 DetectTrajectoryRegularPatternRequest : public RpcServiceRequest
{
public:
DetectTrajectoryRegularPatternRequest();
~DetectTrajectoryRegularPatternRequest();
std::string getPredictDate()const;
void setPredictDate(const std::string& predictDate);
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getIdValue()const;
void setIdValue(const std::string& idValue);
std::string getIdType()const;
void setIdType(const std::string& idType);
private:
std::string predictDate_;
std::string corpId_;
std::string idValue_;
std::string idType_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_DETECTTRAJECTORYREGULARPATTERNREQUEST_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_DETECTTRAJECTORYREGULARPATTERNRESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_DETECTTRAJECTORYREGULARPATTERNRESULT_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 DetectTrajectoryRegularPatternResult : public ServiceResult
{
public:
DetectTrajectoryRegularPatternResult();
explicit DetectTrajectoryRegularPatternResult(const std::string &payload);
~DetectTrajectoryRegularPatternResult();
std::string getMessage()const;
std::string getData()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_DETECTTRAJECTORYREGULARPATTERNRESULT_H_

View File

@@ -36,9 +36,14 @@ namespace AlibabaCloud
{
struct RecordsItem
{
struct ExtendInfo
{
std::string plateNo;
};
std::string leftUpX;
std::string leftUpY;
std::string score;
std::string taskId;
std::string targetPicUrl;
std::string rightBottomX;
std::string rightBottomY;
@@ -46,6 +51,7 @@ namespace AlibabaCloud
std::string monitorPicUrl;
std::string shotTime;
std::string picUrl;
ExtendInfo extendInfo;
};
std::string maxId;
std::vector<RecordsItem> records;

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_INTERSECTTRAJECTORYREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_INTERSECTTRAJECTORYREQUEST_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 IntersectTrajectoryRequest : public RpcServiceRequest
{
public:
struct IdList
{
std::string idType;
std::string idValue;
};
public:
IntersectTrajectoryRequest();
~IntersectTrajectoryRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
int getDeltaDistance()const;
void setDeltaDistance(int deltaDistance);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
int getDeltaTime()const;
void setDeltaTime(int deltaTime);
std::vector<IdList> getIdList()const;
void setIdList(const std::vector<IdList>& idList);
private:
std::string corpId_;
std::string endTime_;
int deltaDistance_;
std::string startTime_;
int deltaTime_;
std::vector<IdList> idList_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_INTERSECTTRAJECTORYREQUEST_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_INTERSECTTRAJECTORYRESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_INTERSECTTRAJECTORYRESULT_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 IntersectTrajectoryResult : public ServiceResult
{
public:
IntersectTrajectoryResult();
explicit IntersectTrajectoryResult(const std::string &payload);
~IntersectTrajectoryResult();
std::string getMessage()const;
std::string getData()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_INTERSECTTRAJECTORYRESULT_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_LISTAREAHOTSPOTMETRICSREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_LISTAREAHOTSPOTMETRICSREQUEST_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 ListAreaHotSpotMetricsRequest : public RpcServiceRequest
{
public:
ListAreaHotSpotMetricsRequest();
~ListAreaHotSpotMetricsRequest();
std::string getSchema()const;
void setSchema(const std::string& schema);
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 getDeviceId()const;
void setDeviceId(const std::string& deviceId);
std::string getPageNumber()const;
void setPageNumber(const std::string& pageNumber);
std::string getPageSize()const;
void setPageSize(const std::string& pageSize);
std::string getPersonId()const;
void setPersonId(const std::string& personId);
private:
std::string schema_;
std::string corpId_;
std::string endTime_;
std::string startTime_;
std::string deviceId_;
std::string pageNumber_;
std::string pageSize_;
std::string personId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTAREAHOTSPOTMETRICSREQUEST_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_LISTAREAHOTSPOTMETRICSRESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_LISTAREAHOTSPOTMETRICSRESULT_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 ListAreaHotSpotMetricsResult : public ServiceResult
{
public:
struct DataItem
{
std::string personId;
std::string deviceId;
std::string times;
std::string coordinates;
std::string intervalTime;
};
ListAreaHotSpotMetricsResult();
explicit ListAreaHotSpotMetricsResult(const std::string &payload);
~ListAreaHotSpotMetricsResult();
std::string getTotalCount()const;
std::string getMessage()const;
std::string getPageSize()const;
std::string getPageNumber()const;
std::vector<DataItem> getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string totalCount_;
std::string message_;
std::string pageSize_;
std::string pageNumber_;
std::vector<DataItem> data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTAREAHOTSPOTMETRICSRESULT_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_LISTCORPMETRICSSTATISTICREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSSTATISTICREQUEST_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 ListCorpMetricsStatisticRequest : public RpcServiceRequest
{
public:
ListCorpMetricsStatisticRequest();
~ListCorpMetricsStatisticRequest();
std::string getSchema()const;
void setSchema(const std::string& schema);
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 getDeviceGroupList()const;
void setDeviceGroupList(const std::string& deviceGroupList);
std::string getTagCode()const;
void setTagCode(const std::string& tagCode);
std::string getUserGroupList()const;
void setUserGroupList(const std::string& userGroupList);
long getPageSize()const;
void setPageSize(long pageSize);
std::string getDeviceIdList()const;
void setDeviceIdList(const std::string& deviceIdList);
private:
std::string schema_;
std::string corpId_;
std::string endTime_;
std::string startTime_;
long pageNumber_;
std::string deviceGroupList_;
std::string tagCode_;
std::string userGroupList_;
long pageSize_;
std::string deviceIdList_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSSTATISTICREQUEST_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_LISTCORPMETRICSSTATISTICRESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSSTATISTICRESULT_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 ListCorpMetricsStatisticResult : public ServiceResult
{
public:
struct DataItem
{
std::string corpId;
std::string personId;
std::string deviceGroupId;
std::string deviceId;
std::string userGroupId;
std::string tagMetrics;
std::string tagCode;
std::string tagValue;
std::string dateId;
};
ListCorpMetricsStatisticResult();
explicit ListCorpMetricsStatisticResult(const std::string &payload);
~ListCorpMetricsStatisticResult();
int getTotalCount()const;
int getPageSize()const;
std::string getMessage()const;
int getPageNumber()const;
std::vector<DataItem> getData()const;
std::string getCode()const;
std::string getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
std::string message_;
int pageNumber_;
std::vector<DataItem> data_;
std::string code_;
std::string success_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCORPMETRICSSTATISTICRESULT_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_LISTCORPTRACKDETAILREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_LISTCORPTRACKDETAILREQUEST_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 ListCorpTrackDetailRequest : public RpcServiceRequest
{
public:
ListCorpTrackDetailRequest();
~ListCorpTrackDetailRequest();
std::string getSchema()const;
void setSchema(const std::string& schema);
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getPageNumber()const;
void setPageNumber(const std::string& pageNumber);
std::string getPageSize()const;
void setPageSize(const std::string& pageSize);
std::string getDataSourceId()const;
void setDataSourceId(const std::string& dataSourceId);
std::string getPersonId()const;
void setPersonId(const std::string& personId);
private:
std::string schema_;
std::string corpId_;
std::string endTime_;
std::string startTime_;
std::string pageNumber_;
std::string pageSize_;
std::string dataSourceId_;
std::string personId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCORPTRACKDETAILREQUEST_H_

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDRS_MODEL_LISTCORPTRACKDETAILRESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_LISTCORPTRACKDETAILRESULT_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 ListCorpTrackDetailResult : public ServiceResult
{
public:
struct DataItem
{
std::string startTargetImage;
std::string startSourceImage;
std::string corpId;
std::string personId;
std::string deviceId;
std::string endTargetImage;
std::string startTime;
std::string endSourceImage;
std::string date;
std::string lastTime;
std::string groupId;
};
ListCorpTrackDetailResult();
explicit ListCorpTrackDetailResult(const std::string &payload);
~ListCorpTrackDetailResult();
int getTotalCount()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<DataItem> getData()const;
std::string getCode()const;
std::string getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string message_;
int pageSize_;
int pageNumber_;
std::vector<DataItem> data_;
std::string code_;
std::string success_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTCORPTRACKDETAILRESULT_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_LISTDEVICERELATIONREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_LISTDEVICERELATIONREQUEST_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 ListDeviceRelationRequest : public RpcServiceRequest
{
public:
ListDeviceRelationRequest();
~ListDeviceRelationRequest();
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
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 deviceId_;
std::string appName_;
std::string _nameSpace_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTDEVICERELATIONREQUEST_H_

View File

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

View File

@@ -34,8 +34,9 @@ namespace AlibabaCloud
public:
struct DataItem
{
std::string corpId;
std::string tagMetric;
std::string tagCode;
std::string dateTime1;
std::string tagValue;
std::string dateTime;
};

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getProfession()const;
void setProfession(const std::string& profession);
std::string getSchema()const;
void setSchema(const std::string& schema);
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getGender()const;
@@ -54,6 +56,7 @@ namespace AlibabaCloud
private:
std::string profession_;
std::string schema_;
std::string corpId_;
std::string gender_;
std::string endTime_;

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_LISTTAGMETRICSREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_LISTTAGMETRICSREQUEST_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 ListTagMetricsRequest : public RpcServiceRequest
{
public:
ListTagMetricsRequest();
~ListTagMetricsRequest();
std::string getSchema()const;
void setSchema(const std::string& schema);
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getPageNumber()const;
void setPageNumber(const std::string& pageNumber);
std::string getTagCode()const;
void setTagCode(const std::string& tagCode);
std::string getPageSize()const;
void setPageSize(const std::string& pageSize);
std::string getAggregateType()const;
void setAggregateType(const std::string& aggregateType);
private:
std::string schema_;
std::string corpId_;
std::string endTime_;
std::string startTime_;
std::string pageNumber_;
std::string tagCode_;
std::string pageSize_;
std::string aggregateType_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTTAGMETRICSREQUEST_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_LISTTAGMETRICSRESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_LISTTAGMETRICSRESULT_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 ListTagMetricsResult : public ServiceResult
{
public:
struct DataItem
{
std::string corpId;
std::string tagMetric;
std::string tagCode;
std::string tagValue;
std::string dateTime;
};
ListTagMetricsResult();
explicit ListTagMetricsResult(const std::string &payload);
~ListTagMetricsResult();
std::string getTotalCount()const;
std::string getMessage()const;
std::string getPageSize()const;
std::string getPageNumber()const;
std::vector<DataItem> getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string totalCount_;
std::string message_;
std::string pageSize_;
std::string pageNumber_;
std::vector<DataItem> data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_LISTTAGMETRICSRESULT_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_PAGINATEDEVICEREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_PAGINATEDEVICEREQUEST_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 PaginateDeviceRequest : public RpcServiceRequest
{
public:
PaginateDeviceRequest();
~PaginateDeviceRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
long getPageNumber()const;
void setPageNumber(long pageNumber);
bool getCountTotalNum()const;
void setCountTotalNum(bool countTotalNum);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string get_NameSpace()const;
void set_NameSpace(const std::string& _nameSpace);
long getPageSize()const;
void setPageSize(long pageSize);
private:
std::string corpId_;
long pageNumber_;
bool countTotalNum_;
std::string appName_;
std::string _nameSpace_;
long pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_PAGINATEDEVICEREQUEST_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_PAGINATEDEVICERESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_PAGINATEDEVICERESULT_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 PaginateDeviceResult : public ServiceResult
{
public:
struct Data
{
struct RecordsItem
{
std::string deviceId;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<RecordsItem> records;
};
PaginateDeviceResult();
explicit PaginateDeviceResult(const std::string &payload);
~PaginateDeviceResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_PAGINATEDEVICERESULT_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_PAGINATEPROJECTREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_PAGINATEPROJECTREQUEST_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 PaginateProjectRequest : public RpcServiceRequest
{
public:
PaginateProjectRequest();
~PaginateProjectRequest();
std::string getType()const;
void setType(const std::string& type);
long getPageNumber()const;
void setPageNumber(long pageNumber);
bool getCountTotalNum()const;
void setCountTotalNum(bool countTotalNum);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string get_NameSpace()const;
void set_NameSpace(const std::string& _nameSpace);
long getPageSize()const;
void setPageSize(long pageSize);
std::string getNameLike()const;
void setNameLike(const std::string& nameLike);
private:
std::string type_;
long pageNumber_;
bool countTotalNum_;
std::string appName_;
std::string _nameSpace_;
long pageSize_;
std::string nameLike_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_PAGINATEPROJECTREQUEST_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_PAGINATEPROJECTRESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_PAGINATEPROJECTRESULT_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 PaginateProjectResult : public ServiceResult
{
public:
struct Data
{
struct RecordsItem
{
std::string type;
std::string aggregateSceneCode;
std::string corpId;
std::string createdTime;
std::string description;
std::string modifiedTime;
std::string userId;
std::string icon;
std::string name;
};
int totalCount;
int pageSize;
int totalPage;
int pageNumber;
std::vector<RecordsItem> records;
};
PaginateProjectResult();
explicit PaginateProjectResult(const std::string &payload);
~PaginateProjectResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_PAGINATEPROJECTRESULT_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_PREDICTTRAJECTORYDESTINATIONREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_PREDICTTRAJECTORYDESTINATIONREQUEST_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 PredictTrajectoryDestinationRequest : public RpcServiceRequest
{
public:
PredictTrajectoryDestinationRequest();
~PredictTrajectoryDestinationRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getIdValue()const;
void setIdValue(const std::string& idValue);
std::string getIdType()const;
void setIdType(const std::string& idType);
int getPredictTimeSpan()const;
void setPredictTimeSpan(int predictTimeSpan);
private:
std::string corpId_;
std::string idValue_;
std::string idType_;
int predictTimeSpan_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_PREDICTTRAJECTORYDESTINATIONREQUEST_H_

View File

@@ -14,44 +14,44 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CHECKFINISHMISSIONRESULT_H_
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CHECKFINISHMISSIONRESULT_H_
#ifndef ALIBABACLOUD_CDRS_MODEL_PREDICTTRAJECTORYDESTINATIONRESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_PREDICTTRAJECTORYDESTINATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
#include <alibabacloud/cdrs/CDRSExport.h>
namespace AlibabaCloud
{
namespace Dms_enterprise
namespace CDRS
{
namespace Model
{
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT CheckFinishMissionResult : public ServiceResult
class ALIBABACLOUD_CDRS_EXPORT PredictTrajectoryDestinationResult : public ServiceResult
{
public:
CheckFinishMissionResult();
explicit CheckFinishMissionResult(const std::string &payload);
~CheckFinishMissionResult();
bool getHasFinish()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
PredictTrajectoryDestinationResult();
explicit PredictTrajectoryDestinationResult(const std::string &payload);
~PredictTrajectoryDestinationResult();
std::string getMessage()const;
std::string getData()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
bool hasFinish_;
std::string errorCode_;
std::string errorMessage_;
std::string message_;
std::string data_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_CHECKFINISHMISSIONRESULT_H_
#endif // !ALIBABACLOUD_CDRS_MODEL_PREDICTTRAJECTORYDESTINATIONRESULT_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_QUERYTRAJECTORYBYIDREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_QUERYTRAJECTORYBYIDREQUEST_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 QueryTrajectoryByIdRequest : public RpcServiceRequest
{
public:
struct DeviceList
{
std::string deviceId;
};
struct IdList
{
std::string idType;
std::string idValue;
};
public:
QueryTrajectoryByIdRequest();
~QueryTrajectoryByIdRequest();
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::vector<DeviceList> getDeviceList()const;
void setDeviceList(const std::vector<DeviceList>& deviceList);
std::vector<IdList> getIdList()const;
void setIdList(const std::vector<IdList>& idList);
private:
std::string corpId_;
std::string endTime_;
std::string startTime_;
std::vector<DeviceList> deviceList_;
std::vector<IdList> idList_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_QUERYTRAJECTORYBYIDREQUEST_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_QUERYTRAJECTORYBYIDRESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_QUERYTRAJECTORYBYIDRESULT_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 QueryTrajectoryByIdResult : public ServiceResult
{
public:
QueryTrajectoryByIdResult();
explicit QueryTrajectoryByIdResult(const std::string &payload);
~QueryTrajectoryByIdResult();
std::string getMessage()const;
std::string getData()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_QUERYTRAJECTORYBYIDRESULT_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_RECALLTRAJECTORYBYCOORDINATEREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_RECALLTRAJECTORYBYCOORDINATEREQUEST_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 RecallTrajectoryByCoordinateRequest : public RpcServiceRequest
{
public:
struct PointList
{
float latitude;
float longitude;
};
public:
RecallTrajectoryByCoordinateRequest();
~RecallTrajectoryByCoordinateRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::vector<PointList> getPointList()const;
void setPointList(const std::vector<PointList>& pointList);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
int getDeltaDistance()const;
void setDeltaDistance(int deltaDistance);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::vector<std::string> getOutputIdTypeList()const;
void setOutputIdTypeList(const std::vector<std::string>& outputIdTypeList);
int getDeltaTime()const;
void setDeltaTime(int deltaTime);
int getOutputIdCount()const;
void setOutputIdCount(int outputIdCount);
private:
std::string corpId_;
std::vector<PointList> pointList_;
std::string endTime_;
int deltaDistance_;
std::string startTime_;
std::vector<std::string> outputIdTypeList_;
int deltaTime_;
int outputIdCount_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_RECALLTRAJECTORYBYCOORDINATEREQUEST_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_RECALLTRAJECTORYBYCOORDINATERESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_RECALLTRAJECTORYBYCOORDINATERESULT_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 RecallTrajectoryByCoordinateResult : public ServiceResult
{
public:
RecallTrajectoryByCoordinateResult();
explicit RecallTrajectoryByCoordinateResult(const std::string &payload);
~RecallTrajectoryByCoordinateResult();
std::string getMessage()const;
std::string getData()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_RECALLTRAJECTORYBYCOORDINATERESULT_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_RECALLTRAJECTORYBYIDREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_RECALLTRAJECTORYBYIDREQUEST_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 RecallTrajectoryByIdRequest : public RpcServiceRequest
{
public:
RecallTrajectoryByIdRequest();
~RecallTrajectoryByIdRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getIdValue()const;
void setIdValue(const std::string& idValue);
int getDeltaDistance()const;
void setDeltaDistance(int deltaDistance);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getIdType()const;
void setIdType(const std::string& idType);
std::vector<std::string> getOutputIdTypeList()const;
void setOutputIdTypeList(const std::vector<std::string>& outputIdTypeList);
int getDeltaTime()const;
void setDeltaTime(int deltaTime);
int getOutputIdCount()const;
void setOutputIdCount(int outputIdCount);
private:
std::string corpId_;
std::string endTime_;
std::string idValue_;
int deltaDistance_;
std::string startTime_;
std::string idType_;
std::vector<std::string> outputIdTypeList_;
int deltaTime_;
int outputIdCount_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_RECALLTRAJECTORYBYIDREQUEST_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_RECALLTRAJECTORYBYIDRESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_RECALLTRAJECTORYBYIDRESULT_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 RecallTrajectoryByIdResult : public ServiceResult
{
public:
RecallTrajectoryByIdResult();
explicit RecallTrajectoryByIdResult(const std::string &payload);
~RecallTrajectoryByIdResult();
std::string getMessage()const;
std::string getData()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_RECALLTRAJECTORYBYIDRESULT_H_

View File

@@ -47,6 +47,8 @@ namespace AlibabaCloud
void set_NameSpace(const std::string& _nameSpace);
std::string getName()const;
void setName(const std::string& name);
std::string getAggregateSceneCode()const;
void setAggregateSceneCode(const std::string& aggregateSceneCode);
private:
std::string corpId_;
@@ -55,6 +57,7 @@ namespace AlibabaCloud
std::string appName_;
std::string _nameSpace_;
std::string name_;
std::string aggregateSceneCode_;
};
}

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_VALIDATETRAJECTORYREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_VALIDATETRAJECTORYREQUEST_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 ValidateTrajectoryRequest : public RpcServiceRequest
{
public:
ValidateTrajectoryRequest();
~ValidateTrajectoryRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getIdValue()const;
void setIdValue(const std::string& idValue);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getIdType()const;
void setIdType(const std::string& idType);
private:
std::string corpId_;
std::string endTime_;
std::string idValue_;
std::string startTime_;
std::string idType_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_VALIDATETRAJECTORYREQUEST_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_VALIDATETRAJECTORYRESULT_H_
#define ALIBABACLOUD_CDRS_MODEL_VALIDATETRAJECTORYRESULT_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 ValidateTrajectoryResult : public ServiceResult
{
public:
ValidateTrajectoryResult();
explicit ValidateTrajectoryResult(const std::string &payload);
~ValidateTrajectoryResult();
std::string getMessage()const;
std::string getData()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_VALIDATETRAJECTORYRESULT_H_

View File

@@ -159,6 +159,42 @@ CDRSClient::CreateProjectOutcomeCallable CDRSClient::createProjectCallable(const
return task->get_future();
}
CDRSClient::DetectTrajectoryRegularPatternOutcome CDRSClient::detectTrajectoryRegularPattern(const DetectTrajectoryRegularPatternRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DetectTrajectoryRegularPatternOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DetectTrajectoryRegularPatternOutcome(DetectTrajectoryRegularPatternResult(outcome.result()));
else
return DetectTrajectoryRegularPatternOutcome(outcome.error());
}
void CDRSClient::detectTrajectoryRegularPatternAsync(const DetectTrajectoryRegularPatternRequest& request, const DetectTrajectoryRegularPatternAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, detectTrajectoryRegularPattern(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::DetectTrajectoryRegularPatternOutcomeCallable CDRSClient::detectTrajectoryRegularPatternCallable(const DetectTrajectoryRegularPatternRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DetectTrajectoryRegularPatternOutcome()>>(
[this, request]()
{
return this->detectTrajectoryRegularPattern(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::GetCdrsMonitorListOutcome CDRSClient::getCdrsMonitorList(const GetCdrsMonitorListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -231,6 +267,78 @@ CDRSClient::GetCdrsMonitorResultOutcomeCallable CDRSClient::getCdrsMonitorResult
return task->get_future();
}
CDRSClient::IntersectTrajectoryOutcome CDRSClient::intersectTrajectory(const IntersectTrajectoryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return IntersectTrajectoryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return IntersectTrajectoryOutcome(IntersectTrajectoryResult(outcome.result()));
else
return IntersectTrajectoryOutcome(outcome.error());
}
void CDRSClient::intersectTrajectoryAsync(const IntersectTrajectoryRequest& request, const IntersectTrajectoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, intersectTrajectory(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::IntersectTrajectoryOutcomeCallable CDRSClient::intersectTrajectoryCallable(const IntersectTrajectoryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<IntersectTrajectoryOutcome()>>(
[this, request]()
{
return this->intersectTrajectory(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::ListAreaHotSpotMetricsOutcome CDRSClient::listAreaHotSpotMetrics(const ListAreaHotSpotMetricsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListAreaHotSpotMetricsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListAreaHotSpotMetricsOutcome(ListAreaHotSpotMetricsResult(outcome.result()));
else
return ListAreaHotSpotMetricsOutcome(outcome.error());
}
void CDRSClient::listAreaHotSpotMetricsAsync(const ListAreaHotSpotMetricsRequest& request, const ListAreaHotSpotMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listAreaHotSpotMetrics(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::ListAreaHotSpotMetricsOutcomeCallable CDRSClient::listAreaHotSpotMetricsCallable(const ListAreaHotSpotMetricsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListAreaHotSpotMetricsOutcome()>>(
[this, request]()
{
return this->listAreaHotSpotMetrics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::ListCityMapAoisOutcome CDRSClient::listCityMapAois(const ListCityMapAoisRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -483,6 +591,78 @@ CDRSClient::ListCorpMetricsOutcomeCallable CDRSClient::listCorpMetricsCallable(c
return task->get_future();
}
CDRSClient::ListCorpMetricsStatisticOutcome CDRSClient::listCorpMetricsStatistic(const ListCorpMetricsStatisticRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListCorpMetricsStatisticOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListCorpMetricsStatisticOutcome(ListCorpMetricsStatisticResult(outcome.result()));
else
return ListCorpMetricsStatisticOutcome(outcome.error());
}
void CDRSClient::listCorpMetricsStatisticAsync(const ListCorpMetricsStatisticRequest& request, const ListCorpMetricsStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listCorpMetricsStatistic(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::ListCorpMetricsStatisticOutcomeCallable CDRSClient::listCorpMetricsStatisticCallable(const ListCorpMetricsStatisticRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListCorpMetricsStatisticOutcome()>>(
[this, request]()
{
return this->listCorpMetricsStatistic(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::ListCorpTrackDetailOutcome CDRSClient::listCorpTrackDetail(const ListCorpTrackDetailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListCorpTrackDetailOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListCorpTrackDetailOutcome(ListCorpTrackDetailResult(outcome.result()));
else
return ListCorpTrackDetailOutcome(outcome.error());
}
void CDRSClient::listCorpTrackDetailAsync(const ListCorpTrackDetailRequest& request, const ListCorpTrackDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listCorpTrackDetail(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::ListCorpTrackDetailOutcomeCallable CDRSClient::listCorpTrackDetailCallable(const ListCorpTrackDetailRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListCorpTrackDetailOutcome()>>(
[this, request]()
{
return this->listCorpTrackDetail(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::ListDataStatisticsOutcome CDRSClient::listDataStatistics(const ListDataStatisticsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -699,6 +879,42 @@ CDRSClient::ListDevicePersonStatisticsOutcomeCallable CDRSClient::listDevicePers
return task->get_future();
}
CDRSClient::ListDeviceRelationOutcome CDRSClient::listDeviceRelation(const ListDeviceRelationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListDeviceRelationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListDeviceRelationOutcome(ListDeviceRelationResult(outcome.result()));
else
return ListDeviceRelationOutcome(outcome.error());
}
void CDRSClient::listDeviceRelationAsync(const ListDeviceRelationRequest& request, const ListDeviceRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listDeviceRelation(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::ListDeviceRelationOutcomeCallable CDRSClient::listDeviceRelationCallable(const ListDeviceRelationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListDeviceRelationOutcome()>>(
[this, request]()
{
return this->listDeviceRelation(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::ListMapRouteDetailsOutcome CDRSClient::listMapRouteDetails(const ListMapRouteDetailsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1095,6 +1311,42 @@ CDRSClient::ListStructureStatisticsOutcomeCallable CDRSClient::listStructureStat
return task->get_future();
}
CDRSClient::ListTagMetricsOutcome CDRSClient::listTagMetrics(const ListTagMetricsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListTagMetricsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListTagMetricsOutcome(ListTagMetricsResult(outcome.result()));
else
return ListTagMetricsOutcome(outcome.error());
}
void CDRSClient::listTagMetricsAsync(const ListTagMetricsRequest& request, const ListTagMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listTagMetrics(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::ListTagMetricsOutcomeCallable CDRSClient::listTagMetricsCallable(const ListTagMetricsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListTagMetricsOutcome()>>(
[this, request]()
{
return this->listTagMetrics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::ListVehicleDetailsOutcome CDRSClient::listVehicleDetails(const ListVehicleDetailsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1275,6 +1527,222 @@ CDRSClient::ListVehicleTrackOutcomeCallable CDRSClient::listVehicleTrackCallable
return task->get_future();
}
CDRSClient::PaginateDeviceOutcome CDRSClient::paginateDevice(const PaginateDeviceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return PaginateDeviceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return PaginateDeviceOutcome(PaginateDeviceResult(outcome.result()));
else
return PaginateDeviceOutcome(outcome.error());
}
void CDRSClient::paginateDeviceAsync(const PaginateDeviceRequest& request, const PaginateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, paginateDevice(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::PaginateDeviceOutcomeCallable CDRSClient::paginateDeviceCallable(const PaginateDeviceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<PaginateDeviceOutcome()>>(
[this, request]()
{
return this->paginateDevice(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::PaginateProjectOutcome CDRSClient::paginateProject(const PaginateProjectRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return PaginateProjectOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return PaginateProjectOutcome(PaginateProjectResult(outcome.result()));
else
return PaginateProjectOutcome(outcome.error());
}
void CDRSClient::paginateProjectAsync(const PaginateProjectRequest& request, const PaginateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, paginateProject(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::PaginateProjectOutcomeCallable CDRSClient::paginateProjectCallable(const PaginateProjectRequest &request) const
{
auto task = std::make_shared<std::packaged_task<PaginateProjectOutcome()>>(
[this, request]()
{
return this->paginateProject(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::PredictTrajectoryDestinationOutcome CDRSClient::predictTrajectoryDestination(const PredictTrajectoryDestinationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return PredictTrajectoryDestinationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return PredictTrajectoryDestinationOutcome(PredictTrajectoryDestinationResult(outcome.result()));
else
return PredictTrajectoryDestinationOutcome(outcome.error());
}
void CDRSClient::predictTrajectoryDestinationAsync(const PredictTrajectoryDestinationRequest& request, const PredictTrajectoryDestinationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, predictTrajectoryDestination(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::PredictTrajectoryDestinationOutcomeCallable CDRSClient::predictTrajectoryDestinationCallable(const PredictTrajectoryDestinationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<PredictTrajectoryDestinationOutcome()>>(
[this, request]()
{
return this->predictTrajectoryDestination(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::QueryTrajectoryByIdOutcome CDRSClient::queryTrajectoryById(const QueryTrajectoryByIdRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryTrajectoryByIdOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryTrajectoryByIdOutcome(QueryTrajectoryByIdResult(outcome.result()));
else
return QueryTrajectoryByIdOutcome(outcome.error());
}
void CDRSClient::queryTrajectoryByIdAsync(const QueryTrajectoryByIdRequest& request, const QueryTrajectoryByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryTrajectoryById(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::QueryTrajectoryByIdOutcomeCallable CDRSClient::queryTrajectoryByIdCallable(const QueryTrajectoryByIdRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryTrajectoryByIdOutcome()>>(
[this, request]()
{
return this->queryTrajectoryById(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::RecallTrajectoryByCoordinateOutcome CDRSClient::recallTrajectoryByCoordinate(const RecallTrajectoryByCoordinateRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RecallTrajectoryByCoordinateOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RecallTrajectoryByCoordinateOutcome(RecallTrajectoryByCoordinateResult(outcome.result()));
else
return RecallTrajectoryByCoordinateOutcome(outcome.error());
}
void CDRSClient::recallTrajectoryByCoordinateAsync(const RecallTrajectoryByCoordinateRequest& request, const RecallTrajectoryByCoordinateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, recallTrajectoryByCoordinate(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::RecallTrajectoryByCoordinateOutcomeCallable CDRSClient::recallTrajectoryByCoordinateCallable(const RecallTrajectoryByCoordinateRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RecallTrajectoryByCoordinateOutcome()>>(
[this, request]()
{
return this->recallTrajectoryByCoordinate(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::RecallTrajectoryByIdOutcome CDRSClient::recallTrajectoryById(const RecallTrajectoryByIdRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RecallTrajectoryByIdOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RecallTrajectoryByIdOutcome(RecallTrajectoryByIdResult(outcome.result()));
else
return RecallTrajectoryByIdOutcome(outcome.error());
}
void CDRSClient::recallTrajectoryByIdAsync(const RecallTrajectoryByIdRequest& request, const RecallTrajectoryByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, recallTrajectoryById(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::RecallTrajectoryByIdOutcomeCallable CDRSClient::recallTrajectoryByIdCallable(const RecallTrajectoryByIdRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RecallTrajectoryByIdOutcome()>>(
[this, request]()
{
return this->recallTrajectoryById(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::RecognizeImageOutcome CDRSClient::recognizeImage(const RecognizeImageRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1491,3 +1959,39 @@ CDRSClient::UpdateProjectOutcomeCallable CDRSClient::updateProjectCallable(const
return task->get_future();
}
CDRSClient::ValidateTrajectoryOutcome CDRSClient::validateTrajectory(const ValidateTrajectoryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ValidateTrajectoryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ValidateTrajectoryOutcome(ValidateTrajectoryResult(outcome.result()));
else
return ValidateTrajectoryOutcome(outcome.error());
}
void CDRSClient::validateTrajectoryAsync(const ValidateTrajectoryRequest& request, const ValidateTrajectoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, validateTrajectory(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::ValidateTrajectoryOutcomeCallable CDRSClient::validateTrajectoryCallable(const ValidateTrajectoryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ValidateTrajectoryOutcome()>>(
[this, request]()
{
return this->validateTrajectory(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -115,17 +115,6 @@ void AddCdrsMonitorRequest::setBatchIndicator(int batchIndicator)
setBodyParameter("BatchIndicator", std::to_string(batchIndicator));
}
std::string AddCdrsMonitorRequest::getBizId()const
{
return bizId_;
}
void AddCdrsMonitorRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setBodyParameter("BizId", bizId);
}
int AddCdrsMonitorRequest::getNotifierTimeOut()const
{
return notifierTimeOut_;

View File

@@ -93,3 +93,14 @@ void CreateProjectRequest::setName(const std::string& name)
setBodyParameter("Name", name);
}
std::string CreateProjectRequest::getAggregateSceneCode()const
{
return aggregateSceneCode_;
}
void CreateProjectRequest::setAggregateSceneCode(const std::string& aggregateSceneCode)
{
aggregateSceneCode_ = aggregateSceneCode;
setBodyParameter("AggregateSceneCode", aggregateSceneCode);
}

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/cdrs/model/DetectTrajectoryRegularPatternRequest.h>
using AlibabaCloud::CDRS::Model::DetectTrajectoryRegularPatternRequest;
DetectTrajectoryRegularPatternRequest::DetectTrajectoryRegularPatternRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "DetectTrajectoryRegularPattern")
{
setMethod(HttpRequest::Method::Post);
}
DetectTrajectoryRegularPatternRequest::~DetectTrajectoryRegularPatternRequest()
{}
std::string DetectTrajectoryRegularPatternRequest::getPredictDate()const
{
return predictDate_;
}
void DetectTrajectoryRegularPatternRequest::setPredictDate(const std::string& predictDate)
{
predictDate_ = predictDate;
setBodyParameter("PredictDate", predictDate);
}
std::string DetectTrajectoryRegularPatternRequest::getCorpId()const
{
return corpId_;
}
void DetectTrajectoryRegularPatternRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string DetectTrajectoryRegularPatternRequest::getIdValue()const
{
return idValue_;
}
void DetectTrajectoryRegularPatternRequest::setIdValue(const std::string& idValue)
{
idValue_ = idValue;
setBodyParameter("IdValue", idValue);
}
std::string DetectTrajectoryRegularPatternRequest::getIdType()const
{
return idType_;
}
void DetectTrajectoryRegularPatternRequest::setIdType(const std::string& idType)
{
idType_ = idType;
setBodyParameter("IdType", idType);
}

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.
*/
#include <alibabacloud/cdrs/model/DetectTrajectoryRegularPatternResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
DetectTrajectoryRegularPatternResult::DetectTrajectoryRegularPatternResult() :
ServiceResult()
{}
DetectTrajectoryRegularPatternResult::DetectTrajectoryRegularPatternResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectTrajectoryRegularPatternResult::~DetectTrajectoryRegularPatternResult()
{}
void DetectTrajectoryRegularPatternResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string DetectTrajectoryRegularPatternResult::getMessage()const
{
return message_;
}
std::string DetectTrajectoryRegularPatternResult::getData()const
{
return data_;
}
int DetectTrajectoryRegularPatternResult::getCode()const
{
return code_;
}
bool DetectTrajectoryRegularPatternResult::getSuccess()const
{
return success_;
}

View File

@@ -66,6 +66,11 @@ void GetCdrsMonitorResultResult::parse(const std::string &payload)
recordsItemObject.monitorPicUrl = dataNodeRecordsRecordsItem["MonitorPicUrl"].asString();
if(!dataNodeRecordsRecordsItem["TargetPicUrl"].isNull())
recordsItemObject.targetPicUrl = dataNodeRecordsRecordsItem["TargetPicUrl"].asString();
if(!dataNodeRecordsRecordsItem["TaskId"].isNull())
recordsItemObject.taskId = dataNodeRecordsRecordsItem["TaskId"].asString();
auto extendInfoNode = value["ExtendInfo"];
if(!extendInfoNode["PlateNo"].isNull())
recordsItemObject.extendInfo.plateNo = extendInfoNode["PlateNo"].asString();
data_.records.push_back(recordsItemObject);
}
if(!value["Code"].isNull())

View File

@@ -0,0 +1,100 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/IntersectTrajectoryRequest.h>
using AlibabaCloud::CDRS::Model::IntersectTrajectoryRequest;
IntersectTrajectoryRequest::IntersectTrajectoryRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "IntersectTrajectory")
{
setMethod(HttpRequest::Method::Post);
}
IntersectTrajectoryRequest::~IntersectTrajectoryRequest()
{}
std::string IntersectTrajectoryRequest::getCorpId()const
{
return corpId_;
}
void IntersectTrajectoryRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string IntersectTrajectoryRequest::getEndTime()const
{
return endTime_;
}
void IntersectTrajectoryRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
int IntersectTrajectoryRequest::getDeltaDistance()const
{
return deltaDistance_;
}
void IntersectTrajectoryRequest::setDeltaDistance(int deltaDistance)
{
deltaDistance_ = deltaDistance;
setBodyParameter("DeltaDistance", std::to_string(deltaDistance));
}
std::string IntersectTrajectoryRequest::getStartTime()const
{
return startTime_;
}
void IntersectTrajectoryRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
int IntersectTrajectoryRequest::getDeltaTime()const
{
return deltaTime_;
}
void IntersectTrajectoryRequest::setDeltaTime(int deltaTime)
{
deltaTime_ = deltaTime;
setBodyParameter("DeltaTime", std::to_string(deltaTime));
}
std::vector<IntersectTrajectoryRequest::IdList> IntersectTrajectoryRequest::getIdList()const
{
return idList_;
}
void IntersectTrajectoryRequest::setIdList(const std::vector<IdList>& idList)
{
idList_ = idList;
for(int dep1 = 0; dep1!= idList.size(); dep1++) {
auto idListObj = idList.at(dep1);
std::string idListObjStr = "IdList." + std::to_string(dep1 + 1);
setParameter(idListObjStr + ".IdType", idListObj.idType);
setParameter(idListObjStr + ".IdValue", idListObj.idValue);
}
}

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.
*/
#include <alibabacloud/cdrs/model/IntersectTrajectoryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
IntersectTrajectoryResult::IntersectTrajectoryResult() :
ServiceResult()
{}
IntersectTrajectoryResult::IntersectTrajectoryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
IntersectTrajectoryResult::~IntersectTrajectoryResult()
{}
void IntersectTrajectoryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string IntersectTrajectoryResult::getMessage()const
{
return message_;
}
std::string IntersectTrajectoryResult::getData()const
{
return data_;
}
int IntersectTrajectoryResult::getCode()const
{
return code_;
}
bool IntersectTrajectoryResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/ListAreaHotSpotMetricsRequest.h>
using AlibabaCloud::CDRS::Model::ListAreaHotSpotMetricsRequest;
ListAreaHotSpotMetricsRequest::ListAreaHotSpotMetricsRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "ListAreaHotSpotMetrics")
{
setMethod(HttpRequest::Method::Post);
}
ListAreaHotSpotMetricsRequest::~ListAreaHotSpotMetricsRequest()
{}
std::string ListAreaHotSpotMetricsRequest::getSchema()const
{
return schema_;
}
void ListAreaHotSpotMetricsRequest::setSchema(const std::string& schema)
{
schema_ = schema;
setBodyParameter("Schema", schema);
}
std::string ListAreaHotSpotMetricsRequest::getCorpId()const
{
return corpId_;
}
void ListAreaHotSpotMetricsRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string ListAreaHotSpotMetricsRequest::getEndTime()const
{
return endTime_;
}
void ListAreaHotSpotMetricsRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
std::string ListAreaHotSpotMetricsRequest::getStartTime()const
{
return startTime_;
}
void ListAreaHotSpotMetricsRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
std::string ListAreaHotSpotMetricsRequest::getDeviceId()const
{
return deviceId_;
}
void ListAreaHotSpotMetricsRequest::setDeviceId(const std::string& deviceId)
{
deviceId_ = deviceId;
setBodyParameter("DeviceId", deviceId);
}
std::string ListAreaHotSpotMetricsRequest::getPageNumber()const
{
return pageNumber_;
}
void ListAreaHotSpotMetricsRequest::setPageNumber(const std::string& pageNumber)
{
pageNumber_ = pageNumber;
setBodyParameter("PageNumber", pageNumber);
}
std::string ListAreaHotSpotMetricsRequest::getPageSize()const
{
return pageSize_;
}
void ListAreaHotSpotMetricsRequest::setPageSize(const std::string& pageSize)
{
pageSize_ = pageSize;
setBodyParameter("PageSize", pageSize);
}
std::string ListAreaHotSpotMetricsRequest::getPersonId()const
{
return personId_;
}
void ListAreaHotSpotMetricsRequest::setPersonId(const std::string& personId)
{
personId_ = personId;
setBodyParameter("PersonId", personId);
}

View File

@@ -0,0 +1,100 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/ListAreaHotSpotMetricsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
ListAreaHotSpotMetricsResult::ListAreaHotSpotMetricsResult() :
ServiceResult()
{}
ListAreaHotSpotMetricsResult::ListAreaHotSpotMetricsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListAreaHotSpotMetricsResult::~ListAreaHotSpotMetricsResult()
{}
void ListAreaHotSpotMetricsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["DataItem"];
for (auto valueDataDataItem : allDataNode)
{
DataItem dataObject;
if(!valueDataDataItem["Times"].isNull())
dataObject.times = valueDataDataItem["Times"].asString();
if(!valueDataDataItem["Coordinates"].isNull())
dataObject.coordinates = valueDataDataItem["Coordinates"].asString();
if(!valueDataDataItem["DeviceId"].isNull())
dataObject.deviceId = valueDataDataItem["DeviceId"].asString();
if(!valueDataDataItem["PersonId"].isNull())
dataObject.personId = valueDataDataItem["PersonId"].asString();
if(!valueDataDataItem["IntervalTime"].isNull())
dataObject.intervalTime = valueDataDataItem["IntervalTime"].asString();
data_.push_back(dataObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["PageNumber"].isNull())
pageNumber_ = value["PageNumber"].asString();
if(!value["PageSize"].isNull())
pageSize_ = value["PageSize"].asString();
if(!value["TotalCount"].isNull())
totalCount_ = value["TotalCount"].asString();
}
std::string ListAreaHotSpotMetricsResult::getTotalCount()const
{
return totalCount_;
}
std::string ListAreaHotSpotMetricsResult::getMessage()const
{
return message_;
}
std::string ListAreaHotSpotMetricsResult::getPageSize()const
{
return pageSize_;
}
std::string ListAreaHotSpotMetricsResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<ListAreaHotSpotMetricsResult::DataItem> ListAreaHotSpotMetricsResult::getData()const
{
return data_;
}
std::string ListAreaHotSpotMetricsResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,139 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/ListCorpMetricsStatisticRequest.h>
using AlibabaCloud::CDRS::Model::ListCorpMetricsStatisticRequest;
ListCorpMetricsStatisticRequest::ListCorpMetricsStatisticRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "ListCorpMetricsStatistic")
{
setMethod(HttpRequest::Method::Post);
}
ListCorpMetricsStatisticRequest::~ListCorpMetricsStatisticRequest()
{}
std::string ListCorpMetricsStatisticRequest::getSchema()const
{
return schema_;
}
void ListCorpMetricsStatisticRequest::setSchema(const std::string& schema)
{
schema_ = schema;
setBodyParameter("Schema", schema);
}
std::string ListCorpMetricsStatisticRequest::getCorpId()const
{
return corpId_;
}
void ListCorpMetricsStatisticRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string ListCorpMetricsStatisticRequest::getEndTime()const
{
return endTime_;
}
void ListCorpMetricsStatisticRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
std::string ListCorpMetricsStatisticRequest::getStartTime()const
{
return startTime_;
}
void ListCorpMetricsStatisticRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
long ListCorpMetricsStatisticRequest::getPageNumber()const
{
return pageNumber_;
}
void ListCorpMetricsStatisticRequest::setPageNumber(long pageNumber)
{
pageNumber_ = pageNumber;
setBodyParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListCorpMetricsStatisticRequest::getDeviceGroupList()const
{
return deviceGroupList_;
}
void ListCorpMetricsStatisticRequest::setDeviceGroupList(const std::string& deviceGroupList)
{
deviceGroupList_ = deviceGroupList;
setBodyParameter("DeviceGroupList", deviceGroupList);
}
std::string ListCorpMetricsStatisticRequest::getTagCode()const
{
return tagCode_;
}
void ListCorpMetricsStatisticRequest::setTagCode(const std::string& tagCode)
{
tagCode_ = tagCode;
setBodyParameter("TagCode", tagCode);
}
std::string ListCorpMetricsStatisticRequest::getUserGroupList()const
{
return userGroupList_;
}
void ListCorpMetricsStatisticRequest::setUserGroupList(const std::string& userGroupList)
{
userGroupList_ = userGroupList;
setBodyParameter("UserGroupList", userGroupList);
}
long ListCorpMetricsStatisticRequest::getPageSize()const
{
return pageSize_;
}
void ListCorpMetricsStatisticRequest::setPageSize(long pageSize)
{
pageSize_ = pageSize;
setBodyParameter("PageSize", std::to_string(pageSize));
}
std::string ListCorpMetricsStatisticRequest::getDeviceIdList()const
{
return deviceIdList_;
}
void ListCorpMetricsStatisticRequest::setDeviceIdList(const std::string& deviceIdList)
{
deviceIdList_ = deviceIdList;
setBodyParameter("DeviceIdList", deviceIdList);
}

View File

@@ -0,0 +1,115 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/ListCorpMetricsStatisticResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
ListCorpMetricsStatisticResult::ListCorpMetricsStatisticResult() :
ServiceResult()
{}
ListCorpMetricsStatisticResult::ListCorpMetricsStatisticResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListCorpMetricsStatisticResult::~ListCorpMetricsStatisticResult()
{}
void ListCorpMetricsStatisticResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["DataItem"];
for (auto valueDataDataItem : allDataNode)
{
DataItem dataObject;
if(!valueDataDataItem["CorpId"].isNull())
dataObject.corpId = valueDataDataItem["CorpId"].asString();
if(!valueDataDataItem["PersonId"].isNull())
dataObject.personId = valueDataDataItem["PersonId"].asString();
if(!valueDataDataItem["DeviceGroupId"].isNull())
dataObject.deviceGroupId = valueDataDataItem["DeviceGroupId"].asString();
if(!valueDataDataItem["DeviceId"].isNull())
dataObject.deviceId = valueDataDataItem["DeviceId"].asString();
if(!valueDataDataItem["UserGroupId"].isNull())
dataObject.userGroupId = valueDataDataItem["UserGroupId"].asString();
if(!valueDataDataItem["TagMetrics"].isNull())
dataObject.tagMetrics = valueDataDataItem["TagMetrics"].asString();
if(!valueDataDataItem["TagCode"].isNull())
dataObject.tagCode = valueDataDataItem["TagCode"].asString();
if(!valueDataDataItem["TagValue"].isNull())
dataObject.tagValue = valueDataDataItem["TagValue"].asString();
if(!valueDataDataItem["DateId"].isNull())
dataObject.dateId = valueDataDataItem["DateId"].asString();
data_.push_back(dataObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString();
}
int ListCorpMetricsStatisticResult::getTotalCount()const
{
return totalCount_;
}
int ListCorpMetricsStatisticResult::getPageSize()const
{
return pageSize_;
}
std::string ListCorpMetricsStatisticResult::getMessage()const
{
return message_;
}
int ListCorpMetricsStatisticResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<ListCorpMetricsStatisticResult::DataItem> ListCorpMetricsStatisticResult::getData()const
{
return data_;
}
std::string ListCorpMetricsStatisticResult::getCode()const
{
return code_;
}
std::string ListCorpMetricsStatisticResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/ListCorpTrackDetailRequest.h>
using AlibabaCloud::CDRS::Model::ListCorpTrackDetailRequest;
ListCorpTrackDetailRequest::ListCorpTrackDetailRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "ListCorpTrackDetail")
{
setMethod(HttpRequest::Method::Post);
}
ListCorpTrackDetailRequest::~ListCorpTrackDetailRequest()
{}
std::string ListCorpTrackDetailRequest::getSchema()const
{
return schema_;
}
void ListCorpTrackDetailRequest::setSchema(const std::string& schema)
{
schema_ = schema;
setBodyParameter("Schema", schema);
}
std::string ListCorpTrackDetailRequest::getCorpId()const
{
return corpId_;
}
void ListCorpTrackDetailRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string ListCorpTrackDetailRequest::getEndTime()const
{
return endTime_;
}
void ListCorpTrackDetailRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
std::string ListCorpTrackDetailRequest::getStartTime()const
{
return startTime_;
}
void ListCorpTrackDetailRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
std::string ListCorpTrackDetailRequest::getPageNumber()const
{
return pageNumber_;
}
void ListCorpTrackDetailRequest::setPageNumber(const std::string& pageNumber)
{
pageNumber_ = pageNumber;
setBodyParameter("PageNumber", pageNumber);
}
std::string ListCorpTrackDetailRequest::getPageSize()const
{
return pageSize_;
}
void ListCorpTrackDetailRequest::setPageSize(const std::string& pageSize)
{
pageSize_ = pageSize;
setBodyParameter("PageSize", pageSize);
}
std::string ListCorpTrackDetailRequest::getDataSourceId()const
{
return dataSourceId_;
}
void ListCorpTrackDetailRequest::setDataSourceId(const std::string& dataSourceId)
{
dataSourceId_ = dataSourceId;
setBodyParameter("DataSourceId", dataSourceId);
}
std::string ListCorpTrackDetailRequest::getPersonId()const
{
return personId_;
}
void ListCorpTrackDetailRequest::setPersonId(const std::string& personId)
{
personId_ = personId;
setBodyParameter("PersonId", personId);
}

View File

@@ -0,0 +1,119 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/ListCorpTrackDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
ListCorpTrackDetailResult::ListCorpTrackDetailResult() :
ServiceResult()
{}
ListCorpTrackDetailResult::ListCorpTrackDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListCorpTrackDetailResult::~ListCorpTrackDetailResult()
{}
void ListCorpTrackDetailResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["DataItem"];
for (auto valueDataDataItem : allDataNode)
{
DataItem dataObject;
if(!valueDataDataItem["Date"].isNull())
dataObject.date = valueDataDataItem["Date"].asString();
if(!valueDataDataItem["LastTime"].isNull())
dataObject.lastTime = valueDataDataItem["LastTime"].asString();
if(!valueDataDataItem["StartTime"].isNull())
dataObject.startTime = valueDataDataItem["StartTime"].asString();
if(!valueDataDataItem["EndSourceImage"].isNull())
dataObject.endSourceImage = valueDataDataItem["EndSourceImage"].asString();
if(!valueDataDataItem["DeviceId"].isNull())
dataObject.deviceId = valueDataDataItem["DeviceId"].asString();
if(!valueDataDataItem["StartTargetImage"].isNull())
dataObject.startTargetImage = valueDataDataItem["StartTargetImage"].asString();
if(!valueDataDataItem["GroupId"].isNull())
dataObject.groupId = valueDataDataItem["GroupId"].asString();
if(!valueDataDataItem["PersonId"].isNull())
dataObject.personId = valueDataDataItem["PersonId"].asString();
if(!valueDataDataItem["StartSourceImage"].isNull())
dataObject.startSourceImage = valueDataDataItem["StartSourceImage"].asString();
if(!valueDataDataItem["CorpId"].isNull())
dataObject.corpId = valueDataDataItem["CorpId"].asString();
if(!valueDataDataItem["EndTargetImage"].isNull())
dataObject.endTargetImage = valueDataDataItem["EndTargetImage"].asString();
data_.push_back(dataObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString();
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
}
int ListCorpTrackDetailResult::getTotalCount()const
{
return totalCount_;
}
std::string ListCorpTrackDetailResult::getMessage()const
{
return message_;
}
int ListCorpTrackDetailResult::getPageSize()const
{
return pageSize_;
}
int ListCorpTrackDetailResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<ListCorpTrackDetailResult::DataItem> ListCorpTrackDetailResult::getData()const
{
return data_;
}
std::string ListCorpTrackDetailResult::getCode()const
{
return code_;
}
std::string ListCorpTrackDetailResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/ListDeviceRelationRequest.h>
using AlibabaCloud::CDRS::Model::ListDeviceRelationRequest;
ListDeviceRelationRequest::ListDeviceRelationRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "ListDeviceRelation")
{
setMethod(HttpRequest::Method::Post);
}
ListDeviceRelationRequest::~ListDeviceRelationRequest()
{}
std::string ListDeviceRelationRequest::getDeviceId()const
{
return deviceId_;
}
void ListDeviceRelationRequest::setDeviceId(const std::string& deviceId)
{
deviceId_ = deviceId;
setBodyParameter("DeviceId", deviceId);
}
std::string ListDeviceRelationRequest::getAppName()const
{
return appName_;
}
void ListDeviceRelationRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setBodyParameter("AppName", appName);
}
std::string ListDeviceRelationRequest::get_NameSpace()const
{
return _nameSpace_;
}
void ListDeviceRelationRequest::set_NameSpace(const std::string& _nameSpace)
{
_nameSpace_ = _nameSpace;
setBodyParameter("_NameSpace", _nameSpace);
}

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.
*/
#include <alibabacloud/cdrs/model/ListDeviceRelationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
ListDeviceRelationResult::ListDeviceRelationResult() :
ServiceResult()
{}
ListDeviceRelationResult::ListDeviceRelationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListDeviceRelationResult::~ListDeviceRelationResult()
{}
void ListDeviceRelationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["DataItem"];
for (auto valueDataDataItem : allDataNode)
{
DataItem dataObject;
if(!valueDataDataItem["CorpId"].isNull())
dataObject.corpId = valueDataDataItem["CorpId"].asString();
data_.push_back(dataObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string ListDeviceRelationResult::getMessage()const
{
return message_;
}
std::vector<ListDeviceRelationResult::DataItem> ListDeviceRelationResult::getData()const
{
return data_;
}
std::string ListDeviceRelationResult::getCode()const
{
return code_;
}

View File

@@ -49,8 +49,10 @@ void ListMetricsResult::parse(const std::string &payload)
dataObject.tagCode = valueDataDataItem["TagCode"].asString();
if(!valueDataDataItem["TagValue"].isNull())
dataObject.tagValue = valueDataDataItem["TagValue"].asString();
if(!valueDataDataItem["DateTime"].isNull())
dataObject.dateTime1 = valueDataDataItem["DateTime"].asString();
if(!valueDataDataItem["TagMetric"].isNull())
dataObject.tagMetric = valueDataDataItem["TagMetric"].asString();
if(!valueDataDataItem["CorpId"].isNull())
dataObject.corpId = valueDataDataItem["CorpId"].asString();
data_.push_back(dataObject);
}
if(!value["Code"].isNull())

View File

@@ -38,6 +38,17 @@ void ListPersonResultRequest::setProfession(const std::string& profession)
setBodyParameter("Profession", profession);
}
std::string ListPersonResultRequest::getSchema()const
{
return schema_;
}
void ListPersonResultRequest::setSchema(const std::string& schema)
{
schema_ = schema;
setBodyParameter("Schema", schema);
}
std::string ListPersonResultRequest::getCorpId()const
{
return corpId_;

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/ListTagMetricsRequest.h>
using AlibabaCloud::CDRS::Model::ListTagMetricsRequest;
ListTagMetricsRequest::ListTagMetricsRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "ListTagMetrics")
{
setMethod(HttpRequest::Method::Post);
}
ListTagMetricsRequest::~ListTagMetricsRequest()
{}
std::string ListTagMetricsRequest::getSchema()const
{
return schema_;
}
void ListTagMetricsRequest::setSchema(const std::string& schema)
{
schema_ = schema;
setBodyParameter("Schema", schema);
}
std::string ListTagMetricsRequest::getCorpId()const
{
return corpId_;
}
void ListTagMetricsRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string ListTagMetricsRequest::getEndTime()const
{
return endTime_;
}
void ListTagMetricsRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
std::string ListTagMetricsRequest::getStartTime()const
{
return startTime_;
}
void ListTagMetricsRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
std::string ListTagMetricsRequest::getPageNumber()const
{
return pageNumber_;
}
void ListTagMetricsRequest::setPageNumber(const std::string& pageNumber)
{
pageNumber_ = pageNumber;
setBodyParameter("PageNumber", pageNumber);
}
std::string ListTagMetricsRequest::getTagCode()const
{
return tagCode_;
}
void ListTagMetricsRequest::setTagCode(const std::string& tagCode)
{
tagCode_ = tagCode;
setBodyParameter("TagCode", tagCode);
}
std::string ListTagMetricsRequest::getPageSize()const
{
return pageSize_;
}
void ListTagMetricsRequest::setPageSize(const std::string& pageSize)
{
pageSize_ = pageSize;
setBodyParameter("PageSize", pageSize);
}
std::string ListTagMetricsRequest::getAggregateType()const
{
return aggregateType_;
}
void ListTagMetricsRequest::setAggregateType(const std::string& aggregateType)
{
aggregateType_ = aggregateType;
setBodyParameter("AggregateType", aggregateType);
}

View File

@@ -0,0 +1,100 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/ListTagMetricsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
ListTagMetricsResult::ListTagMetricsResult() :
ServiceResult()
{}
ListTagMetricsResult::ListTagMetricsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListTagMetricsResult::~ListTagMetricsResult()
{}
void ListTagMetricsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["DataItem"];
for (auto valueDataDataItem : allDataNode)
{
DataItem dataObject;
if(!valueDataDataItem["DateTime"].isNull())
dataObject.dateTime = valueDataDataItem["DateTime"].asString();
if(!valueDataDataItem["TagCode"].isNull())
dataObject.tagCode = valueDataDataItem["TagCode"].asString();
if(!valueDataDataItem["TagValue"].isNull())
dataObject.tagValue = valueDataDataItem["TagValue"].asString();
if(!valueDataDataItem["TagMetric"].isNull())
dataObject.tagMetric = valueDataDataItem["TagMetric"].asString();
if(!valueDataDataItem["CorpId"].isNull())
dataObject.corpId = valueDataDataItem["CorpId"].asString();
data_.push_back(dataObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["PageNumber"].isNull())
pageNumber_ = value["PageNumber"].asString();
if(!value["PageSize"].isNull())
pageSize_ = value["PageSize"].asString();
if(!value["TotalCount"].isNull())
totalCount_ = value["TotalCount"].asString();
}
std::string ListTagMetricsResult::getTotalCount()const
{
return totalCount_;
}
std::string ListTagMetricsResult::getMessage()const
{
return message_;
}
std::string ListTagMetricsResult::getPageSize()const
{
return pageSize_;
}
std::string ListTagMetricsResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<ListTagMetricsResult::DataItem> ListTagMetricsResult::getData()const
{
return data_;
}
std::string ListTagMetricsResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/PaginateDeviceRequest.h>
using AlibabaCloud::CDRS::Model::PaginateDeviceRequest;
PaginateDeviceRequest::PaginateDeviceRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "PaginateDevice")
{
setMethod(HttpRequest::Method::Post);
}
PaginateDeviceRequest::~PaginateDeviceRequest()
{}
std::string PaginateDeviceRequest::getCorpId()const
{
return corpId_;
}
void PaginateDeviceRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
long PaginateDeviceRequest::getPageNumber()const
{
return pageNumber_;
}
void PaginateDeviceRequest::setPageNumber(long pageNumber)
{
pageNumber_ = pageNumber;
setBodyParameter("PageNumber", std::to_string(pageNumber));
}
bool PaginateDeviceRequest::getCountTotalNum()const
{
return countTotalNum_;
}
void PaginateDeviceRequest::setCountTotalNum(bool countTotalNum)
{
countTotalNum_ = countTotalNum;
setBodyParameter("CountTotalNum", countTotalNum ? "true" : "false");
}
std::string PaginateDeviceRequest::getAppName()const
{
return appName_;
}
void PaginateDeviceRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setBodyParameter("AppName", appName);
}
std::string PaginateDeviceRequest::get_NameSpace()const
{
return _nameSpace_;
}
void PaginateDeviceRequest::set_NameSpace(const std::string& _nameSpace)
{
_nameSpace_ = _nameSpace;
setBodyParameter("_NameSpace", _nameSpace);
}
long PaginateDeviceRequest::getPageSize()const
{
return pageSize_;
}
void PaginateDeviceRequest::setPageSize(long pageSize)
{
pageSize_ = pageSize;
setBodyParameter("PageSize", std::to_string(pageSize));
}

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.
*/
#include <alibabacloud/cdrs/model/PaginateDeviceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
PaginateDeviceResult::PaginateDeviceResult() :
ServiceResult()
{}
PaginateDeviceResult::PaginateDeviceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
PaginateDeviceResult::~PaginateDeviceResult()
{}
void PaginateDeviceResult::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["PageNumber"].isNull())
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
auto allRecordsNode = dataNode["Records"]["RecordsItem"];
for (auto dataNodeRecordsRecordsItem : allRecordsNode)
{
Data::RecordsItem recordsItemObject;
if(!dataNodeRecordsRecordsItem["DeviceId"].isNull())
recordsItemObject.deviceId = dataNodeRecordsRecordsItem["DeviceId"].asString();
data_.records.push_back(recordsItemObject);
}
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
}
std::string PaginateDeviceResult::getMessage()const
{
return message_;
}
PaginateDeviceResult::Data PaginateDeviceResult::getData()const
{
return data_;
}
std::string PaginateDeviceResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/PaginateProjectRequest.h>
using AlibabaCloud::CDRS::Model::PaginateProjectRequest;
PaginateProjectRequest::PaginateProjectRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "PaginateProject")
{
setMethod(HttpRequest::Method::Post);
}
PaginateProjectRequest::~PaginateProjectRequest()
{}
std::string PaginateProjectRequest::getType()const
{
return type_;
}
void PaginateProjectRequest::setType(const std::string& type)
{
type_ = type;
setBodyParameter("Type", type);
}
long PaginateProjectRequest::getPageNumber()const
{
return pageNumber_;
}
void PaginateProjectRequest::setPageNumber(long pageNumber)
{
pageNumber_ = pageNumber;
setBodyParameter("PageNumber", std::to_string(pageNumber));
}
bool PaginateProjectRequest::getCountTotalNum()const
{
return countTotalNum_;
}
void PaginateProjectRequest::setCountTotalNum(bool countTotalNum)
{
countTotalNum_ = countTotalNum;
setBodyParameter("CountTotalNum", countTotalNum ? "true" : "false");
}
std::string PaginateProjectRequest::getAppName()const
{
return appName_;
}
void PaginateProjectRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setBodyParameter("AppName", appName);
}
std::string PaginateProjectRequest::get_NameSpace()const
{
return _nameSpace_;
}
void PaginateProjectRequest::set_NameSpace(const std::string& _nameSpace)
{
_nameSpace_ = _nameSpace;
setBodyParameter("_NameSpace", _nameSpace);
}
long PaginateProjectRequest::getPageSize()const
{
return pageSize_;
}
void PaginateProjectRequest::setPageSize(long pageSize)
{
pageSize_ = pageSize;
setBodyParameter("PageSize", std::to_string(pageSize));
}
std::string PaginateProjectRequest::getNameLike()const
{
return nameLike_;
}
void PaginateProjectRequest::setNameLike(const std::string& nameLike)
{
nameLike_ = nameLike;
setBodyParameter("NameLike", nameLike);
}

View File

@@ -0,0 +1,96 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/PaginateProjectResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
PaginateProjectResult::PaginateProjectResult() :
ServiceResult()
{}
PaginateProjectResult::PaginateProjectResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
PaginateProjectResult::~PaginateProjectResult()
{}
void PaginateProjectResult::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["PageNumber"].isNull())
data_.pageNumber = std::stoi(dataNode["PageNumber"].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["TotalPage"].isNull())
data_.totalPage = std::stoi(dataNode["TotalPage"].asString());
auto allRecordsNode = dataNode["Records"]["RecordsItem"];
for (auto dataNodeRecordsRecordsItem : allRecordsNode)
{
Data::RecordsItem recordsItemObject;
if(!dataNodeRecordsRecordsItem["UserId"].isNull())
recordsItemObject.userId = dataNodeRecordsRecordsItem["UserId"].asString();
if(!dataNodeRecordsRecordsItem["Type"].isNull())
recordsItemObject.type = dataNodeRecordsRecordsItem["Type"].asString();
if(!dataNodeRecordsRecordsItem["CorpId"].isNull())
recordsItemObject.corpId = dataNodeRecordsRecordsItem["CorpId"].asString();
if(!dataNodeRecordsRecordsItem["Name"].isNull())
recordsItemObject.name = dataNodeRecordsRecordsItem["Name"].asString();
if(!dataNodeRecordsRecordsItem["CreatedTime"].isNull())
recordsItemObject.createdTime = dataNodeRecordsRecordsItem["CreatedTime"].asString();
if(!dataNodeRecordsRecordsItem["ModifiedTime"].isNull())
recordsItemObject.modifiedTime = dataNodeRecordsRecordsItem["ModifiedTime"].asString();
if(!dataNodeRecordsRecordsItem["Icon"].isNull())
recordsItemObject.icon = dataNodeRecordsRecordsItem["Icon"].asString();
if(!dataNodeRecordsRecordsItem["Description"].isNull())
recordsItemObject.description = dataNodeRecordsRecordsItem["Description"].asString();
if(!dataNodeRecordsRecordsItem["AggregateSceneCode"].isNull())
recordsItemObject.aggregateSceneCode = dataNodeRecordsRecordsItem["AggregateSceneCode"].asString();
data_.records.push_back(recordsItemObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string PaginateProjectResult::getMessage()const
{
return message_;
}
PaginateProjectResult::Data PaginateProjectResult::getData()const
{
return data_;
}
std::string PaginateProjectResult::getCode()const
{
return code_;
}

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/cdrs/model/PredictTrajectoryDestinationRequest.h>
using AlibabaCloud::CDRS::Model::PredictTrajectoryDestinationRequest;
PredictTrajectoryDestinationRequest::PredictTrajectoryDestinationRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "PredictTrajectoryDestination")
{
setMethod(HttpRequest::Method::Post);
}
PredictTrajectoryDestinationRequest::~PredictTrajectoryDestinationRequest()
{}
std::string PredictTrajectoryDestinationRequest::getCorpId()const
{
return corpId_;
}
void PredictTrajectoryDestinationRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string PredictTrajectoryDestinationRequest::getIdValue()const
{
return idValue_;
}
void PredictTrajectoryDestinationRequest::setIdValue(const std::string& idValue)
{
idValue_ = idValue;
setBodyParameter("IdValue", idValue);
}
std::string PredictTrajectoryDestinationRequest::getIdType()const
{
return idType_;
}
void PredictTrajectoryDestinationRequest::setIdType(const std::string& idType)
{
idType_ = idType;
setBodyParameter("IdType", idType);
}
int PredictTrajectoryDestinationRequest::getPredictTimeSpan()const
{
return predictTimeSpan_;
}
void PredictTrajectoryDestinationRequest::setPredictTimeSpan(int predictTimeSpan)
{
predictTimeSpan_ = predictTimeSpan;
setBodyParameter("PredictTimeSpan", std::to_string(predictTimeSpan));
}

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.
*/
#include <alibabacloud/cdrs/model/PredictTrajectoryDestinationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
PredictTrajectoryDestinationResult::PredictTrajectoryDestinationResult() :
ServiceResult()
{}
PredictTrajectoryDestinationResult::PredictTrajectoryDestinationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
PredictTrajectoryDestinationResult::~PredictTrajectoryDestinationResult()
{}
void PredictTrajectoryDestinationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string PredictTrajectoryDestinationResult::getMessage()const
{
return message_;
}
std::string PredictTrajectoryDestinationResult::getData()const
{
return data_;
}
int PredictTrajectoryDestinationResult::getCode()const
{
return code_;
}
bool PredictTrajectoryDestinationResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/QueryTrajectoryByIdRequest.h>
using AlibabaCloud::CDRS::Model::QueryTrajectoryByIdRequest;
QueryTrajectoryByIdRequest::QueryTrajectoryByIdRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "QueryTrajectoryById")
{
setMethod(HttpRequest::Method::Post);
}
QueryTrajectoryByIdRequest::~QueryTrajectoryByIdRequest()
{}
std::string QueryTrajectoryByIdRequest::getCorpId()const
{
return corpId_;
}
void QueryTrajectoryByIdRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string QueryTrajectoryByIdRequest::getEndTime()const
{
return endTime_;
}
void QueryTrajectoryByIdRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
std::string QueryTrajectoryByIdRequest::getStartTime()const
{
return startTime_;
}
void QueryTrajectoryByIdRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
std::vector<QueryTrajectoryByIdRequest::DeviceList> QueryTrajectoryByIdRequest::getDeviceList()const
{
return deviceList_;
}
void QueryTrajectoryByIdRequest::setDeviceList(const std::vector<DeviceList>& deviceList)
{
deviceList_ = deviceList;
for(int dep1 = 0; dep1!= deviceList.size(); dep1++) {
auto deviceListObj = deviceList.at(dep1);
std::string deviceListObjStr = "DeviceList." + std::to_string(dep1 + 1);
setParameter(deviceListObjStr + ".DeviceId", deviceListObj.deviceId);
}
}
std::vector<QueryTrajectoryByIdRequest::IdList> QueryTrajectoryByIdRequest::getIdList()const
{
return idList_;
}
void QueryTrajectoryByIdRequest::setIdList(const std::vector<IdList>& idList)
{
idList_ = idList;
for(int dep1 = 0; dep1!= idList.size(); dep1++) {
auto idListObj = idList.at(dep1);
std::string idListObjStr = "IdList." + std::to_string(dep1 + 1);
setParameter(idListObjStr + ".IdType", idListObj.idType);
setParameter(idListObjStr + ".IdValue", idListObj.idValue);
}
}

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.
*/
#include <alibabacloud/cdrs/model/QueryTrajectoryByIdResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
QueryTrajectoryByIdResult::QueryTrajectoryByIdResult() :
ServiceResult()
{}
QueryTrajectoryByIdResult::QueryTrajectoryByIdResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryTrajectoryByIdResult::~QueryTrajectoryByIdResult()
{}
void QueryTrajectoryByIdResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string QueryTrajectoryByIdResult::getMessage()const
{
return message_;
}
std::string QueryTrajectoryByIdResult::getData()const
{
return data_;
}
int QueryTrajectoryByIdResult::getCode()const
{
return code_;
}
bool QueryTrajectoryByIdResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,124 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/RecallTrajectoryByCoordinateRequest.h>
using AlibabaCloud::CDRS::Model::RecallTrajectoryByCoordinateRequest;
RecallTrajectoryByCoordinateRequest::RecallTrajectoryByCoordinateRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "RecallTrajectoryByCoordinate")
{
setMethod(HttpRequest::Method::Post);
}
RecallTrajectoryByCoordinateRequest::~RecallTrajectoryByCoordinateRequest()
{}
std::string RecallTrajectoryByCoordinateRequest::getCorpId()const
{
return corpId_;
}
void RecallTrajectoryByCoordinateRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::vector<RecallTrajectoryByCoordinateRequest::PointList> RecallTrajectoryByCoordinateRequest::getPointList()const
{
return pointList_;
}
void RecallTrajectoryByCoordinateRequest::setPointList(const std::vector<PointList>& pointList)
{
pointList_ = pointList;
for(int dep1 = 0; dep1!= pointList.size(); dep1++) {
auto pointListObj = pointList.at(dep1);
std::string pointListObjStr = "PointList." + std::to_string(dep1 + 1);
setParameter(pointListObjStr + ".Latitude", std::to_string(pointListObj.latitude));
setParameter(pointListObjStr + ".Longitude", std::to_string(pointListObj.longitude));
}
}
std::string RecallTrajectoryByCoordinateRequest::getEndTime()const
{
return endTime_;
}
void RecallTrajectoryByCoordinateRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
int RecallTrajectoryByCoordinateRequest::getDeltaDistance()const
{
return deltaDistance_;
}
void RecallTrajectoryByCoordinateRequest::setDeltaDistance(int deltaDistance)
{
deltaDistance_ = deltaDistance;
setBodyParameter("DeltaDistance", std::to_string(deltaDistance));
}
std::string RecallTrajectoryByCoordinateRequest::getStartTime()const
{
return startTime_;
}
void RecallTrajectoryByCoordinateRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
std::vector<std::string> RecallTrajectoryByCoordinateRequest::getOutputIdTypeList()const
{
return outputIdTypeList_;
}
void RecallTrajectoryByCoordinateRequest::setOutputIdTypeList(const std::vector<std::string>& outputIdTypeList)
{
outputIdTypeList_ = outputIdTypeList;
for(int dep1 = 0; dep1!= outputIdTypeList.size(); dep1++) {
setBodyParameter("OutputIdTypeList."+ std::to_string(dep1), outputIdTypeList.at(dep1));
}
}
int RecallTrajectoryByCoordinateRequest::getDeltaTime()const
{
return deltaTime_;
}
void RecallTrajectoryByCoordinateRequest::setDeltaTime(int deltaTime)
{
deltaTime_ = deltaTime;
setBodyParameter("DeltaTime", std::to_string(deltaTime));
}
int RecallTrajectoryByCoordinateRequest::getOutputIdCount()const
{
return outputIdCount_;
}
void RecallTrajectoryByCoordinateRequest::setOutputIdCount(int outputIdCount)
{
outputIdCount_ = outputIdCount;
setBodyParameter("OutputIdCount", std::to_string(outputIdCount));
}

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.
*/
#include <alibabacloud/cdrs/model/RecallTrajectoryByCoordinateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
RecallTrajectoryByCoordinateResult::RecallTrajectoryByCoordinateResult() :
ServiceResult()
{}
RecallTrajectoryByCoordinateResult::RecallTrajectoryByCoordinateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RecallTrajectoryByCoordinateResult::~RecallTrajectoryByCoordinateResult()
{}
void RecallTrajectoryByCoordinateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string RecallTrajectoryByCoordinateResult::getMessage()const
{
return message_;
}
std::string RecallTrajectoryByCoordinateResult::getData()const
{
return data_;
}
int RecallTrajectoryByCoordinateResult::getCode()const
{
return code_;
}
bool RecallTrajectoryByCoordinateResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,130 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/RecallTrajectoryByIdRequest.h>
using AlibabaCloud::CDRS::Model::RecallTrajectoryByIdRequest;
RecallTrajectoryByIdRequest::RecallTrajectoryByIdRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "RecallTrajectoryById")
{
setMethod(HttpRequest::Method::Post);
}
RecallTrajectoryByIdRequest::~RecallTrajectoryByIdRequest()
{}
std::string RecallTrajectoryByIdRequest::getCorpId()const
{
return corpId_;
}
void RecallTrajectoryByIdRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string RecallTrajectoryByIdRequest::getEndTime()const
{
return endTime_;
}
void RecallTrajectoryByIdRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
std::string RecallTrajectoryByIdRequest::getIdValue()const
{
return idValue_;
}
void RecallTrajectoryByIdRequest::setIdValue(const std::string& idValue)
{
idValue_ = idValue;
setBodyParameter("IdValue", idValue);
}
int RecallTrajectoryByIdRequest::getDeltaDistance()const
{
return deltaDistance_;
}
void RecallTrajectoryByIdRequest::setDeltaDistance(int deltaDistance)
{
deltaDistance_ = deltaDistance;
setBodyParameter("DeltaDistance", std::to_string(deltaDistance));
}
std::string RecallTrajectoryByIdRequest::getStartTime()const
{
return startTime_;
}
void RecallTrajectoryByIdRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
std::string RecallTrajectoryByIdRequest::getIdType()const
{
return idType_;
}
void RecallTrajectoryByIdRequest::setIdType(const std::string& idType)
{
idType_ = idType;
setBodyParameter("IdType", idType);
}
std::vector<std::string> RecallTrajectoryByIdRequest::getOutputIdTypeList()const
{
return outputIdTypeList_;
}
void RecallTrajectoryByIdRequest::setOutputIdTypeList(const std::vector<std::string>& outputIdTypeList)
{
outputIdTypeList_ = outputIdTypeList;
for(int dep1 = 0; dep1!= outputIdTypeList.size(); dep1++) {
setBodyParameter("OutputIdTypeList."+ std::to_string(dep1), outputIdTypeList.at(dep1));
}
}
int RecallTrajectoryByIdRequest::getDeltaTime()const
{
return deltaTime_;
}
void RecallTrajectoryByIdRequest::setDeltaTime(int deltaTime)
{
deltaTime_ = deltaTime;
setBodyParameter("DeltaTime", std::to_string(deltaTime));
}
int RecallTrajectoryByIdRequest::getOutputIdCount()const
{
return outputIdCount_;
}
void RecallTrajectoryByIdRequest::setOutputIdCount(int outputIdCount)
{
outputIdCount_ = outputIdCount;
setBodyParameter("OutputIdCount", std::to_string(outputIdCount));
}

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.
*/
#include <alibabacloud/cdrs/model/RecallTrajectoryByIdResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
RecallTrajectoryByIdResult::RecallTrajectoryByIdResult() :
ServiceResult()
{}
RecallTrajectoryByIdResult::RecallTrajectoryByIdResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RecallTrajectoryByIdResult::~RecallTrajectoryByIdResult()
{}
void RecallTrajectoryByIdResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string RecallTrajectoryByIdResult::getMessage()const
{
return message_;
}
std::string RecallTrajectoryByIdResult::getData()const
{
return data_;
}
int RecallTrajectoryByIdResult::getCode()const
{
return code_;
}
bool RecallTrajectoryByIdResult::getSuccess()const
{
return success_;
}

View File

@@ -93,3 +93,14 @@ void UpdateProjectRequest::setName(const std::string& name)
setBodyParameter("Name", name);
}
std::string UpdateProjectRequest::getAggregateSceneCode()const
{
return aggregateSceneCode_;
}
void UpdateProjectRequest::setAggregateSceneCode(const std::string& aggregateSceneCode)
{
aggregateSceneCode_ = aggregateSceneCode;
setBodyParameter("AggregateSceneCode", aggregateSceneCode);
}

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/cdrs/model/ValidateTrajectoryRequest.h>
using AlibabaCloud::CDRS::Model::ValidateTrajectoryRequest;
ValidateTrajectoryRequest::ValidateTrajectoryRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "ValidateTrajectory")
{
setMethod(HttpRequest::Method::Post);
}
ValidateTrajectoryRequest::~ValidateTrajectoryRequest()
{}
std::string ValidateTrajectoryRequest::getCorpId()const
{
return corpId_;
}
void ValidateTrajectoryRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string ValidateTrajectoryRequest::getEndTime()const
{
return endTime_;
}
void ValidateTrajectoryRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
std::string ValidateTrajectoryRequest::getIdValue()const
{
return idValue_;
}
void ValidateTrajectoryRequest::setIdValue(const std::string& idValue)
{
idValue_ = idValue;
setBodyParameter("IdValue", idValue);
}
std::string ValidateTrajectoryRequest::getStartTime()const
{
return startTime_;
}
void ValidateTrajectoryRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
std::string ValidateTrajectoryRequest::getIdType()const
{
return idType_;
}
void ValidateTrajectoryRequest::setIdType(const std::string& idType)
{
idType_ = idType;
setBodyParameter("IdType", idType);
}

View File

@@ -14,58 +14,58 @@
* limitations under the License.
*/
#include <alibabacloud/dms-enterprise/model/CheckFinishMissionResult.h>
#include <alibabacloud/cdrs/model/ValidateTrajectoryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dms_enterprise;
using namespace AlibabaCloud::Dms_enterprise::Model;
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
CheckFinishMissionResult::CheckFinishMissionResult() :
ValidateTrajectoryResult::ValidateTrajectoryResult() :
ServiceResult()
{}
CheckFinishMissionResult::CheckFinishMissionResult(const std::string &payload) :
ValidateTrajectoryResult::ValidateTrajectoryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckFinishMissionResult::~CheckFinishMissionResult()
ValidateTrajectoryResult::~ValidateTrajectoryResult()
{}
void CheckFinishMissionResult::parse(const std::string &payload)
void ValidateTrajectoryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["HasFinish"].isNull())
hasFinish_ = value["HasFinish"].asString() == "true";
}
bool CheckFinishMissionResult::getHasFinish()const
std::string ValidateTrajectoryResult::getMessage()const
{
return hasFinish_;
return message_;
}
std::string CheckFinishMissionResult::getErrorCode()const
std::string ValidateTrajectoryResult::getData()const
{
return errorCode_;
return data_;
}
std::string CheckFinishMissionResult::getErrorMessage()const
int ValidateTrajectoryResult::getCode()const
{
return errorMessage_;
return code_;
}
bool CheckFinishMissionResult::getSuccess()const
bool ValidateTrajectoryResult::getSuccess()const
{
return success_;
}

View File

@@ -23,8 +23,6 @@ set(dms-enterprise_public_header
set(dms-enterprise_public_header_model
include/alibabacloud/dms-enterprise/model/ApproveOrderRequest.h
include/alibabacloud/dms-enterprise/model/ApproveOrderResult.h
include/alibabacloud/dms-enterprise/model/CheckFinishMissionRequest.h
include/alibabacloud/dms-enterprise/model/CheckFinishMissionResult.h
include/alibabacloud/dms-enterprise/model/CloseOrderRequest.h
include/alibabacloud/dms-enterprise/model/CloseOrderResult.h
include/alibabacloud/dms-enterprise/model/CreateOrderRequest.h
@@ -136,8 +134,6 @@ set(dms-enterprise_src
src/Dms-enterpriseClient.cc
src/model/ApproveOrderRequest.cc
src/model/ApproveOrderResult.cc
src/model/CheckFinishMissionRequest.cc
src/model/CheckFinishMissionResult.cc
src/model/CloseOrderRequest.cc
src/model/CloseOrderResult.cc
src/model/CreateOrderRequest.cc

View File

@@ -24,8 +24,6 @@
#include "Dms_enterpriseExport.h"
#include "model/ApproveOrderRequest.h"
#include "model/ApproveOrderResult.h"
#include "model/CheckFinishMissionRequest.h"
#include "model/CheckFinishMissionResult.h"
#include "model/CloseOrderRequest.h"
#include "model/CloseOrderResult.h"
#include "model/CreateOrderRequest.h"
@@ -144,9 +142,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ApproveOrderResult> ApproveOrderOutcome;
typedef std::future<ApproveOrderOutcome> ApproveOrderOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::ApproveOrderRequest&, const ApproveOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApproveOrderAsyncHandler;
typedef Outcome<Error, Model::CheckFinishMissionResult> CheckFinishMissionOutcome;
typedef std::future<CheckFinishMissionOutcome> CheckFinishMissionOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::CheckFinishMissionRequest&, const CheckFinishMissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckFinishMissionAsyncHandler;
typedef Outcome<Error, Model::CloseOrderResult> CloseOrderOutcome;
typedef std::future<CloseOrderOutcome> CloseOrderOutcomeCallable;
typedef std::function<void(const Dms_enterpriseClient*, const Model::CloseOrderRequest&, const CloseOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseOrderAsyncHandler;
@@ -314,9 +309,6 @@ namespace AlibabaCloud
ApproveOrderOutcome approveOrder(const Model::ApproveOrderRequest &request)const;
void approveOrderAsync(const Model::ApproveOrderRequest& request, const ApproveOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ApproveOrderOutcomeCallable approveOrderCallable(const Model::ApproveOrderRequest& request) const;
CheckFinishMissionOutcome checkFinishMission(const Model::CheckFinishMissionRequest &request)const;
void checkFinishMissionAsync(const Model::CheckFinishMissionRequest& request, const CheckFinishMissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckFinishMissionOutcomeCallable checkFinishMissionCallable(const Model::CheckFinishMissionRequest& request) const;
CloseOrderOutcome closeOrder(const Model::CloseOrderRequest &request)const;
void closeOrderAsync(const Model::CloseOrderRequest& request, const CloseOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CloseOrderOutcomeCallable closeOrderCallable(const Model::CloseOrderRequest& request) const;

View File

@@ -35,20 +35,20 @@ namespace AlibabaCloud
DeleteInstanceRequest();
~DeleteInstanceRequest();
int getPort()const;
void setPort(int port);
std::string getHost()const;
void setHost(const std::string& host);
long getTid()const;
void setTid(long tid);
std::string getSid()const;
void setSid(const std::string& sid);
int getPort()const;
void setPort(int port);
std::string getHost()const;
void setHost(const std::string& host);
private:
int port_;
std::string host_;
long tid_;
std::string sid_;
int port_;
std::string host_;
};
}

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