Iot_20180120 build sdk.
This commit is contained in:
@@ -284,8 +284,6 @@
|
||||
#include "model/GetGatewayBySubDeviceResult.h"
|
||||
#include "model/GetLoraNodesTaskRequest.h"
|
||||
#include "model/GetLoraNodesTaskResult.h"
|
||||
#include "model/GetNodesAddingTaskRequest.h"
|
||||
#include "model/GetNodesAddingTaskResult.h"
|
||||
#include "model/GetRuleRequest.h"
|
||||
#include "model/GetRuleResult.h"
|
||||
#include "model/GetRuleActionRequest.h"
|
||||
@@ -1056,9 +1054,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetLoraNodesTaskResult> GetLoraNodesTaskOutcome;
|
||||
typedef std::future<GetLoraNodesTaskOutcome> GetLoraNodesTaskOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetLoraNodesTaskRequest&, const GetLoraNodesTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLoraNodesTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetNodesAddingTaskResult> GetNodesAddingTaskOutcome;
|
||||
typedef std::future<GetNodesAddingTaskOutcome> GetNodesAddingTaskOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetNodesAddingTaskRequest&, const GetNodesAddingTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetNodesAddingTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetRuleResult> GetRuleOutcome;
|
||||
typedef std::future<GetRuleOutcome> GetRuleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetRuleRequest&, const GetRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRuleAsyncHandler;
|
||||
@@ -2009,9 +2004,6 @@ namespace AlibabaCloud
|
||||
GetLoraNodesTaskOutcome getLoraNodesTask(const Model::GetLoraNodesTaskRequest &request)const;
|
||||
void getLoraNodesTaskAsync(const Model::GetLoraNodesTaskRequest& request, const GetLoraNodesTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLoraNodesTaskOutcomeCallable getLoraNodesTaskCallable(const Model::GetLoraNodesTaskRequest& request) const;
|
||||
GetNodesAddingTaskOutcome getNodesAddingTask(const Model::GetNodesAddingTaskRequest &request)const;
|
||||
void getNodesAddingTaskAsync(const Model::GetNodesAddingTaskRequest& request, const GetNodesAddingTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetNodesAddingTaskOutcomeCallable getNodesAddingTaskCallable(const Model::GetNodesAddingTaskRequest& request) const;
|
||||
GetRuleOutcome getRule(const Model::GetRuleRequest &request)const;
|
||||
void getRuleAsync(const Model::GetRuleRequest& request, const GetRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetRuleOutcomeCallable getRuleCallable(const Model::GetRuleRequest& request) const;
|
||||
|
||||
@@ -1,60 +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_GETNODESADDINGTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_GETNODESADDINGTASKREQUEST_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 GetNodesAddingTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetNodesAddingTaskRequest();
|
||||
~GetNodesAddingTaskRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string iotInstanceId_;
|
||||
std::string taskId_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_GETNODESADDINGTASKREQUEST_H_
|
||||
@@ -1,65 +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_GETNODESADDINGTASKRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_GETNODESADDINGTASKRESULT_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 GetNodesAddingTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetNodesAddingTaskResult();
|
||||
explicit GetNodesAddingTaskResult(const std::string &payload);
|
||||
~GetNodesAddingTaskResult();
|
||||
std::vector<std::string> getSuccessDevEuis()const;
|
||||
long getTotalCount()const;
|
||||
std::string getTaskId()const;
|
||||
std::string getErrorMessage()const;
|
||||
long getSuccessCount()const;
|
||||
std::string getCode()const;
|
||||
std::string getTaskState()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> successDevEuis_;
|
||||
long totalCount_;
|
||||
std::string taskId_;
|
||||
std::string errorMessage_;
|
||||
long successCount_;
|
||||
std::string code_;
|
||||
std::string taskState_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_GETNODESADDINGTASKRESULT_H_
|
||||
Reference in New Issue
Block a user