Add Gis open service add data api.
This commit is contained in:
@@ -164,8 +164,6 @@
|
||||
#include "model/CreateRuleResult.h"
|
||||
#include "model/CreateRuleActionRequest.h"
|
||||
#include "model/CreateRuleActionResult.h"
|
||||
#include "model/CreateRulengDistributeJobRequest.h"
|
||||
#include "model/CreateRulengDistributeJobResult.h"
|
||||
#include "model/CreateSceneRuleRequest.h"
|
||||
#include "model/CreateSceneRuleResult.h"
|
||||
#include "model/CreateSoundCodeRequest.h"
|
||||
@@ -312,6 +310,10 @@
|
||||
#include "model/GetThingTemplateResult.h"
|
||||
#include "model/GetThingTopoRequest.h"
|
||||
#include "model/GetThingTopoResult.h"
|
||||
#include "model/GisQueryDeviceLocationRequest.h"
|
||||
#include "model/GisQueryDeviceLocationResult.h"
|
||||
#include "model/GisSearchDeviceTraceRequest.h"
|
||||
#include "model/GisSearchDeviceTraceResult.h"
|
||||
#include "model/ImportThingModelTslRequest.h"
|
||||
#include "model/ImportThingModelTslResult.h"
|
||||
#include "model/InvokeDataAPIServiceRequest.h"
|
||||
@@ -354,8 +356,6 @@
|
||||
#include "model/ListRuleActionsResult.h"
|
||||
#include "model/ListTaskRequest.h"
|
||||
#include "model/ListTaskResult.h"
|
||||
#include "model/ListTaskByPageRequest.h"
|
||||
#include "model/ListTaskByPageResult.h"
|
||||
#include "model/ListThingModelVersionRequest.h"
|
||||
#include "model/ListThingModelVersionResult.h"
|
||||
#include "model/ListThingTemplatesRequest.h"
|
||||
@@ -590,8 +590,6 @@
|
||||
#include "model/SpeechByCombinationResult.h"
|
||||
#include "model/SpeechBySynthesisRequest.h"
|
||||
#include "model/SpeechBySynthesisResult.h"
|
||||
#include "model/StartAIBoxForceSyncRequest.h"
|
||||
#include "model/StartAIBoxForceSyncResult.h"
|
||||
#include "model/StartRuleRequest.h"
|
||||
#include "model/StartRuleResult.h"
|
||||
#include "model/StopRuleRequest.h"
|
||||
@@ -878,9 +876,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateRuleActionResult> CreateRuleActionOutcome;
|
||||
typedef std::future<CreateRuleActionOutcome> CreateRuleActionOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateRuleActionRequest&, const CreateRuleActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRuleActionAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateRulengDistributeJobResult> CreateRulengDistributeJobOutcome;
|
||||
typedef std::future<CreateRulengDistributeJobOutcome> CreateRulengDistributeJobOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateRulengDistributeJobRequest&, const CreateRulengDistributeJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRulengDistributeJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSceneRuleResult> CreateSceneRuleOutcome;
|
||||
typedef std::future<CreateSceneRuleOutcome> CreateSceneRuleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateSceneRuleRequest&, const CreateSceneRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSceneRuleAsyncHandler;
|
||||
@@ -1100,6 +1095,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetThingTopoResult> GetThingTopoOutcome;
|
||||
typedef std::future<GetThingTopoOutcome> GetThingTopoOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetThingTopoRequest&, const GetThingTopoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetThingTopoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GisQueryDeviceLocationResult> GisQueryDeviceLocationOutcome;
|
||||
typedef std::future<GisQueryDeviceLocationOutcome> GisQueryDeviceLocationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GisQueryDeviceLocationRequest&, const GisQueryDeviceLocationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GisQueryDeviceLocationAsyncHandler;
|
||||
typedef Outcome<Error, Model::GisSearchDeviceTraceResult> GisSearchDeviceTraceOutcome;
|
||||
typedef std::future<GisSearchDeviceTraceOutcome> GisSearchDeviceTraceOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GisSearchDeviceTraceRequest&, const GisSearchDeviceTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GisSearchDeviceTraceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ImportThingModelTslResult> ImportThingModelTslOutcome;
|
||||
typedef std::future<ImportThingModelTslOutcome> ImportThingModelTslOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::ImportThingModelTslRequest&, const ImportThingModelTslOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImportThingModelTslAsyncHandler;
|
||||
@@ -1163,9 +1164,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListTaskResult> ListTaskOutcome;
|
||||
typedef std::future<ListTaskOutcome> ListTaskOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::ListTaskRequest&, const ListTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTaskByPageResult> ListTaskByPageOutcome;
|
||||
typedef std::future<ListTaskByPageOutcome> ListTaskByPageOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::ListTaskByPageRequest&, const ListTaskByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTaskByPageAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListThingModelVersionResult> ListThingModelVersionOutcome;
|
||||
typedef std::future<ListThingModelVersionOutcome> ListThingModelVersionOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::ListThingModelVersionRequest&, const ListThingModelVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListThingModelVersionAsyncHandler;
|
||||
@@ -1517,9 +1515,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SpeechBySynthesisResult> SpeechBySynthesisOutcome;
|
||||
typedef std::future<SpeechBySynthesisOutcome> SpeechBySynthesisOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::SpeechBySynthesisRequest&, const SpeechBySynthesisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SpeechBySynthesisAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartAIBoxForceSyncResult> StartAIBoxForceSyncOutcome;
|
||||
typedef std::future<StartAIBoxForceSyncOutcome> StartAIBoxForceSyncOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::StartAIBoxForceSyncRequest&, const StartAIBoxForceSyncOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartAIBoxForceSyncAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartRuleResult> StartRuleOutcome;
|
||||
typedef std::future<StartRuleOutcome> StartRuleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::StartRuleRequest&, const StartRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartRuleAsyncHandler;
|
||||
@@ -1834,9 +1829,6 @@ namespace AlibabaCloud
|
||||
CreateRuleActionOutcome createRuleAction(const Model::CreateRuleActionRequest &request)const;
|
||||
void createRuleActionAsync(const Model::CreateRuleActionRequest& request, const CreateRuleActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateRuleActionOutcomeCallable createRuleActionCallable(const Model::CreateRuleActionRequest& request) const;
|
||||
CreateRulengDistributeJobOutcome createRulengDistributeJob(const Model::CreateRulengDistributeJobRequest &request)const;
|
||||
void createRulengDistributeJobAsync(const Model::CreateRulengDistributeJobRequest& request, const CreateRulengDistributeJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateRulengDistributeJobOutcomeCallable createRulengDistributeJobCallable(const Model::CreateRulengDistributeJobRequest& request) const;
|
||||
CreateSceneRuleOutcome createSceneRule(const Model::CreateSceneRuleRequest &request)const;
|
||||
void createSceneRuleAsync(const Model::CreateSceneRuleRequest& request, const CreateSceneRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSceneRuleOutcomeCallable createSceneRuleCallable(const Model::CreateSceneRuleRequest& request) const;
|
||||
@@ -2056,6 +2048,12 @@ namespace AlibabaCloud
|
||||
GetThingTopoOutcome getThingTopo(const Model::GetThingTopoRequest &request)const;
|
||||
void getThingTopoAsync(const Model::GetThingTopoRequest& request, const GetThingTopoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetThingTopoOutcomeCallable getThingTopoCallable(const Model::GetThingTopoRequest& request) const;
|
||||
GisQueryDeviceLocationOutcome gisQueryDeviceLocation(const Model::GisQueryDeviceLocationRequest &request)const;
|
||||
void gisQueryDeviceLocationAsync(const Model::GisQueryDeviceLocationRequest& request, const GisQueryDeviceLocationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GisQueryDeviceLocationOutcomeCallable gisQueryDeviceLocationCallable(const Model::GisQueryDeviceLocationRequest& request) const;
|
||||
GisSearchDeviceTraceOutcome gisSearchDeviceTrace(const Model::GisSearchDeviceTraceRequest &request)const;
|
||||
void gisSearchDeviceTraceAsync(const Model::GisSearchDeviceTraceRequest& request, const GisSearchDeviceTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GisSearchDeviceTraceOutcomeCallable gisSearchDeviceTraceCallable(const Model::GisSearchDeviceTraceRequest& request) const;
|
||||
ImportThingModelTslOutcome importThingModelTsl(const Model::ImportThingModelTslRequest &request)const;
|
||||
void importThingModelTslAsync(const Model::ImportThingModelTslRequest& request, const ImportThingModelTslAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ImportThingModelTslOutcomeCallable importThingModelTslCallable(const Model::ImportThingModelTslRequest& request) const;
|
||||
@@ -2119,9 +2117,6 @@ namespace AlibabaCloud
|
||||
ListTaskOutcome listTask(const Model::ListTaskRequest &request)const;
|
||||
void listTaskAsync(const Model::ListTaskRequest& request, const ListTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTaskOutcomeCallable listTaskCallable(const Model::ListTaskRequest& request) const;
|
||||
ListTaskByPageOutcome listTaskByPage(const Model::ListTaskByPageRequest &request)const;
|
||||
void listTaskByPageAsync(const Model::ListTaskByPageRequest& request, const ListTaskByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTaskByPageOutcomeCallable listTaskByPageCallable(const Model::ListTaskByPageRequest& request) const;
|
||||
ListThingModelVersionOutcome listThingModelVersion(const Model::ListThingModelVersionRequest &request)const;
|
||||
void listThingModelVersionAsync(const Model::ListThingModelVersionRequest& request, const ListThingModelVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListThingModelVersionOutcomeCallable listThingModelVersionCallable(const Model::ListThingModelVersionRequest& request) const;
|
||||
@@ -2473,9 +2468,6 @@ namespace AlibabaCloud
|
||||
SpeechBySynthesisOutcome speechBySynthesis(const Model::SpeechBySynthesisRequest &request)const;
|
||||
void speechBySynthesisAsync(const Model::SpeechBySynthesisRequest& request, const SpeechBySynthesisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SpeechBySynthesisOutcomeCallable speechBySynthesisCallable(const Model::SpeechBySynthesisRequest& request) const;
|
||||
StartAIBoxForceSyncOutcome startAIBoxForceSync(const Model::StartAIBoxForceSyncRequest &request)const;
|
||||
void startAIBoxForceSyncAsync(const Model::StartAIBoxForceSyncRequest& request, const StartAIBoxForceSyncAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartAIBoxForceSyncOutcomeCallable startAIBoxForceSyncCallable(const Model::StartAIBoxForceSyncRequest& request) const;
|
||||
StartRuleOutcome startRule(const Model::StartRuleRequest &request)const;
|
||||
void startRuleAsync(const Model::StartRuleRequest& request, const StartRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartRuleOutcomeCallable startRuleCallable(const Model::StartRuleRequest& request) const;
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_IOT_MODEL_CREATERULENGDISTRIBUTEJOBRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_CREATERULENGDISTRIBUTEJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT CreateRulengDistributeJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateRulengDistributeJobResult();
|
||||
explicit CreateRulengDistributeJobResult(const std::string &payload);
|
||||
~CreateRulengDistributeJobResult();
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_CREATERULENGDISTRIBUTEJOBRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_STARTAIBOXFORCESYNCREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_STARTAIBOXFORCESYNCREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_GISQUERYDEVICELOCATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_GISQUERYDEVICELOCATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,22 +28,31 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT StartAIBoxForceSyncRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_IOT_EXPORT GisQueryDeviceLocationRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct ThingList
|
||||
{
|
||||
std::string productKey;
|
||||
std::string deviceName;
|
||||
};
|
||||
|
||||
public:
|
||||
StartAIBoxForceSyncRequest();
|
||||
~StartAIBoxForceSyncRequest();
|
||||
GisQueryDeviceLocationRequest();
|
||||
~GisQueryDeviceLocationRequest();
|
||||
|
||||
std::string getIotId()const;
|
||||
void setIotId(const std::string& iotId);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::vector<ThingList> getThingList()const;
|
||||
void setThingList(const std::vector<ThingList>& thingList);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string iotId_;
|
||||
std::string iotInstanceId_;
|
||||
std::vector<ThingList> thingList_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
@@ -51,4 +60,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_STARTAIBOXFORCESYNCREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_GISQUERYDEVICELOCATIONREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_LISTTASKBYPAGERESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_LISTTASKBYPAGERESULT_H_
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_GISQUERYDEVICELOCATIONRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_GISQUERYDEVICELOCATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,34 +29,28 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT ListTaskByPageResult : public ServiceResult
|
||||
class ALIBABACLOUD_IOT_EXPORT GisQueryDeviceLocationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataItem
|
||||
{
|
||||
std::string status;
|
||||
std::string iotId;
|
||||
int progress;
|
||||
std::string taskId;
|
||||
std::string productName;
|
||||
std::string statusDetail;
|
||||
std::string jobName;
|
||||
std::string utcModified;
|
||||
std::string utcQueueTime;
|
||||
std::string jobId;
|
||||
int coordinateSystem;
|
||||
std::string ip;
|
||||
std::string country;
|
||||
float latitude;
|
||||
long adcode;
|
||||
std::string city;
|
||||
float longitude;
|
||||
std::string productKey;
|
||||
std::string province;
|
||||
std::string deviceName;
|
||||
};
|
||||
|
||||
|
||||
ListTaskByPageResult();
|
||||
explicit ListTaskByPageResult(const std::string &payload);
|
||||
~ListTaskByPageResult();
|
||||
int getPageSize()const;
|
||||
int getPageCount()const;
|
||||
int getTotal()const;
|
||||
GisQueryDeviceLocationResult();
|
||||
explicit GisQueryDeviceLocationResult(const std::string &payload);
|
||||
~GisQueryDeviceLocationResult();
|
||||
std::vector<DataItem> getData()const;
|
||||
int getPage()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -64,11 +58,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageCount_;
|
||||
int total_;
|
||||
std::vector<DataItem> data_;
|
||||
int page_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
@@ -77,4 +67,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_LISTTASKBYPAGERESULT_H_
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_GISQUERYDEVICELOCATIONRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_CREATERULENGDISTRIBUTEJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_CREATERULENGDISTRIBUTEJOBREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_GISSEARCHDEVICETRACEREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_GISSEARCHDEVICETRACEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,33 +28,42 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT CreateRulengDistributeJobRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_IOT_EXPORT GisSearchDeviceTraceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateRulengDistributeJobRequest();
|
||||
~CreateRulengDistributeJobRequest();
|
||||
GisSearchDeviceTraceRequest();
|
||||
~GisSearchDeviceTraceRequest();
|
||||
|
||||
std::string getSourceInstanceId()const;
|
||||
void setSourceInstanceId(const std::string& sourceInstanceId);
|
||||
int getMapMatch()const;
|
||||
void setMapMatch(int mapMatch);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getProductKey()const;
|
||||
void setProductKey(const std::string& productKey);
|
||||
std::string getTargetInstanceId()const;
|
||||
void setTargetInstanceId(const std::string& targetInstanceId);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
|
||||
private:
|
||||
std::string sourceInstanceId_;
|
||||
int mapMatch_;
|
||||
long startTime_;
|
||||
std::string iotInstanceId_;
|
||||
long endTime_;
|
||||
std::string productKey_;
|
||||
std::string targetInstanceId_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
std::string deviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_CREATERULENGDISTRIBUTEJOBREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_GISSEARCHDEVICETRACEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_STARTAIBOXFORCESYNCRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_STARTAIBOXFORCESYNCRESULT_H_
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_GISSEARCHDEVICETRACERESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_GISSEARCHDEVICETRACERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,15 +29,26 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT StartAIBoxForceSyncResult : public ServiceResult
|
||||
class ALIBABACLOUD_IOT_EXPORT GisSearchDeviceTraceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct PointsItem
|
||||
{
|
||||
long locateTime;
|
||||
std::string location;
|
||||
};
|
||||
std::vector<PointsItem> points;
|
||||
std::string productKey;
|
||||
std::string deviceName;
|
||||
};
|
||||
|
||||
|
||||
StartAIBoxForceSyncResult();
|
||||
explicit StartAIBoxForceSyncResult(const std::string &payload);
|
||||
~StartAIBoxForceSyncResult();
|
||||
bool getData()const;
|
||||
GisSearchDeviceTraceResult();
|
||||
explicit GisSearchDeviceTraceResult(const std::string &payload);
|
||||
~GisSearchDeviceTraceResult();
|
||||
Data getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -45,7 +56,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool data_;
|
||||
Data data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
@@ -54,4 +65,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_STARTAIBOXFORCESYNCRESULT_H_
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_GISSEARCHDEVICETRACERESULT_H_
|
||||
@@ -1,75 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_IOT_MODEL_LISTTASKBYPAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_LISTTASKBYPAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT ListTaskByPageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListTaskByPageRequest();
|
||||
~ListTaskByPageRequest();
|
||||
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
std::string getPageNo()const;
|
||||
void setPageNo(const std::string& pageNo);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
std::string getDevice()const;
|
||||
void setDevice(const std::string& device);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string jobId_;
|
||||
std::string iotInstanceId_;
|
||||
std::string pageSize_;
|
||||
std::string jobName_;
|
||||
std::string pageNo_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
std::string deviceName_;
|
||||
std::string device_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_LISTTASKBYPAGEREQUEST_H_
|
||||
Reference in New Issue
Block a user