MOPEN SDK Auto Released By everettli.ll,Version:1.20.4
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
126
mopen/include/alibabacloud/mopen/MoPenClient.h
Normal file
126
mopen/include/alibabacloud/mopen/MoPenClient.h
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* 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_MOPEN_MOPENCLIENT_H_
|
||||
#define ALIBABACLOUD_MOPEN_MOPENCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "MoPenExport.h"
|
||||
#include "model/MopenCreateGroupRequest.h"
|
||||
#include "model/MopenCreateGroupResult.h"
|
||||
#include "model/MoPenQueryCanvasRequest.h"
|
||||
#include "model/MoPenQueryCanvasResult.h"
|
||||
#include "model/MoPenDeleteGroupMemberRequest.h"
|
||||
#include "model/MoPenDeleteGroupMemberResult.h"
|
||||
#include "model/MoPenDoRecognizeRequest.h"
|
||||
#include "model/MoPenDoRecognizeResult.h"
|
||||
#include "model/MoPenBindIsvRequest.h"
|
||||
#include "model/MoPenBindIsvResult.h"
|
||||
#include "model/MoPenAddGroupMemberRequest.h"
|
||||
#include "model/MoPenAddGroupMemberResult.h"
|
||||
#include "model/MoPenCreateDeviceRequest.h"
|
||||
#include "model/MoPenCreateDeviceResult.h"
|
||||
#include "model/MoPenSendMqttMessageRequest.h"
|
||||
#include "model/MoPenSendMqttMessageResult.h"
|
||||
#include "model/MoPenFindGroupRequest.h"
|
||||
#include "model/MoPenFindGroupResult.h"
|
||||
#include "model/MoPenDeleteGroupRequest.h"
|
||||
#include "model/MoPenDeleteGroupResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::MopenCreateGroupResult> MopenCreateGroupOutcome;
|
||||
typedef std::future<MopenCreateGroupOutcome> MopenCreateGroupOutcomeCallable;
|
||||
typedef std::function<void(const MoPenClient*, const Model::MopenCreateGroupRequest&, const MopenCreateGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MopenCreateGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoPenQueryCanvasResult> MoPenQueryCanvasOutcome;
|
||||
typedef std::future<MoPenQueryCanvasOutcome> MoPenQueryCanvasOutcomeCallable;
|
||||
typedef std::function<void(const MoPenClient*, const Model::MoPenQueryCanvasRequest&, const MoPenQueryCanvasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoPenQueryCanvasAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoPenDeleteGroupMemberResult> MoPenDeleteGroupMemberOutcome;
|
||||
typedef std::future<MoPenDeleteGroupMemberOutcome> MoPenDeleteGroupMemberOutcomeCallable;
|
||||
typedef std::function<void(const MoPenClient*, const Model::MoPenDeleteGroupMemberRequest&, const MoPenDeleteGroupMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoPenDeleteGroupMemberAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoPenDoRecognizeResult> MoPenDoRecognizeOutcome;
|
||||
typedef std::future<MoPenDoRecognizeOutcome> MoPenDoRecognizeOutcomeCallable;
|
||||
typedef std::function<void(const MoPenClient*, const Model::MoPenDoRecognizeRequest&, const MoPenDoRecognizeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoPenDoRecognizeAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoPenBindIsvResult> MoPenBindIsvOutcome;
|
||||
typedef std::future<MoPenBindIsvOutcome> MoPenBindIsvOutcomeCallable;
|
||||
typedef std::function<void(const MoPenClient*, const Model::MoPenBindIsvRequest&, const MoPenBindIsvOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoPenBindIsvAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoPenAddGroupMemberResult> MoPenAddGroupMemberOutcome;
|
||||
typedef std::future<MoPenAddGroupMemberOutcome> MoPenAddGroupMemberOutcomeCallable;
|
||||
typedef std::function<void(const MoPenClient*, const Model::MoPenAddGroupMemberRequest&, const MoPenAddGroupMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoPenAddGroupMemberAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoPenCreateDeviceResult> MoPenCreateDeviceOutcome;
|
||||
typedef std::future<MoPenCreateDeviceOutcome> MoPenCreateDeviceOutcomeCallable;
|
||||
typedef std::function<void(const MoPenClient*, const Model::MoPenCreateDeviceRequest&, const MoPenCreateDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoPenCreateDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoPenSendMqttMessageResult> MoPenSendMqttMessageOutcome;
|
||||
typedef std::future<MoPenSendMqttMessageOutcome> MoPenSendMqttMessageOutcomeCallable;
|
||||
typedef std::function<void(const MoPenClient*, const Model::MoPenSendMqttMessageRequest&, const MoPenSendMqttMessageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoPenSendMqttMessageAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoPenFindGroupResult> MoPenFindGroupOutcome;
|
||||
typedef std::future<MoPenFindGroupOutcome> MoPenFindGroupOutcomeCallable;
|
||||
typedef std::function<void(const MoPenClient*, const Model::MoPenFindGroupRequest&, const MoPenFindGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoPenFindGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoPenDeleteGroupResult> MoPenDeleteGroupOutcome;
|
||||
typedef std::future<MoPenDeleteGroupOutcome> MoPenDeleteGroupOutcomeCallable;
|
||||
typedef std::function<void(const MoPenClient*, const Model::MoPenDeleteGroupRequest&, const MoPenDeleteGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoPenDeleteGroupAsyncHandler;
|
||||
|
||||
MoPenClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
MoPenClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
MoPenClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~MoPenClient();
|
||||
MopenCreateGroupOutcome mopenCreateGroup(const Model::MopenCreateGroupRequest &request)const;
|
||||
void mopenCreateGroupAsync(const Model::MopenCreateGroupRequest& request, const MopenCreateGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MopenCreateGroupOutcomeCallable mopenCreateGroupCallable(const Model::MopenCreateGroupRequest& request) const;
|
||||
MoPenQueryCanvasOutcome moPenQueryCanvas(const Model::MoPenQueryCanvasRequest &request)const;
|
||||
void moPenQueryCanvasAsync(const Model::MoPenQueryCanvasRequest& request, const MoPenQueryCanvasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoPenQueryCanvasOutcomeCallable moPenQueryCanvasCallable(const Model::MoPenQueryCanvasRequest& request) const;
|
||||
MoPenDeleteGroupMemberOutcome moPenDeleteGroupMember(const Model::MoPenDeleteGroupMemberRequest &request)const;
|
||||
void moPenDeleteGroupMemberAsync(const Model::MoPenDeleteGroupMemberRequest& request, const MoPenDeleteGroupMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoPenDeleteGroupMemberOutcomeCallable moPenDeleteGroupMemberCallable(const Model::MoPenDeleteGroupMemberRequest& request) const;
|
||||
MoPenDoRecognizeOutcome moPenDoRecognize(const Model::MoPenDoRecognizeRequest &request)const;
|
||||
void moPenDoRecognizeAsync(const Model::MoPenDoRecognizeRequest& request, const MoPenDoRecognizeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoPenDoRecognizeOutcomeCallable moPenDoRecognizeCallable(const Model::MoPenDoRecognizeRequest& request) const;
|
||||
MoPenBindIsvOutcome moPenBindIsv(const Model::MoPenBindIsvRequest &request)const;
|
||||
void moPenBindIsvAsync(const Model::MoPenBindIsvRequest& request, const MoPenBindIsvAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoPenBindIsvOutcomeCallable moPenBindIsvCallable(const Model::MoPenBindIsvRequest& request) const;
|
||||
MoPenAddGroupMemberOutcome moPenAddGroupMember(const Model::MoPenAddGroupMemberRequest &request)const;
|
||||
void moPenAddGroupMemberAsync(const Model::MoPenAddGroupMemberRequest& request, const MoPenAddGroupMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoPenAddGroupMemberOutcomeCallable moPenAddGroupMemberCallable(const Model::MoPenAddGroupMemberRequest& request) const;
|
||||
MoPenCreateDeviceOutcome moPenCreateDevice(const Model::MoPenCreateDeviceRequest &request)const;
|
||||
void moPenCreateDeviceAsync(const Model::MoPenCreateDeviceRequest& request, const MoPenCreateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoPenCreateDeviceOutcomeCallable moPenCreateDeviceCallable(const Model::MoPenCreateDeviceRequest& request) const;
|
||||
MoPenSendMqttMessageOutcome moPenSendMqttMessage(const Model::MoPenSendMqttMessageRequest &request)const;
|
||||
void moPenSendMqttMessageAsync(const Model::MoPenSendMqttMessageRequest& request, const MoPenSendMqttMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoPenSendMqttMessageOutcomeCallable moPenSendMqttMessageCallable(const Model::MoPenSendMqttMessageRequest& request) const;
|
||||
MoPenFindGroupOutcome moPenFindGroup(const Model::MoPenFindGroupRequest &request)const;
|
||||
void moPenFindGroupAsync(const Model::MoPenFindGroupRequest& request, const MoPenFindGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoPenFindGroupOutcomeCallable moPenFindGroupCallable(const Model::MoPenFindGroupRequest& request) const;
|
||||
MoPenDeleteGroupOutcome moPenDeleteGroup(const Model::MoPenDeleteGroupRequest &request)const;
|
||||
void moPenDeleteGroupAsync(const Model::MoPenDeleteGroupRequest& request, const MoPenDeleteGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoPenDeleteGroupOutcomeCallable moPenDeleteGroupCallable(const Model::MoPenDeleteGroupRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_MOPEN_MOPENCLIENT_H_
|
||||
32
mopen/include/alibabacloud/mopen/MoPenExport.h
Normal file
32
mopen/include/alibabacloud/mopen/MoPenExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MOPENEXPORT_H_
|
||||
#define ALIBABACLOUD_MOPEN_MOPENEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_MOPEN_LIBRARY)
|
||||
# define ALIBABACLOUD_MOPEN_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_MOPEN_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_MOPEN_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_MOPEN_MOPENEXPORT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENADDGROUPMEMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENADDGROUPMEMBERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenAddGroupMemberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MoPenAddGroupMemberRequest();
|
||||
~MoPenAddGroupMemberRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string deviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENADDGROUPMEMBERREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENADDGROUPMEMBERRESULT_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENADDGROUPMEMBERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenAddGroupMemberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MoPenAddGroupMemberResult();
|
||||
explicit MoPenAddGroupMemberResult(const std::string &payload);
|
||||
~MoPenAddGroupMemberResult();
|
||||
std::string getDescription()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string description_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENADDGROUPMEMBERRESULT_H_
|
||||
51
mopen/include/alibabacloud/mopen/model/MoPenBindIsvRequest.h
Normal file
51
mopen/include/alibabacloud/mopen/model/MoPenBindIsvRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENBINDISVREQUEST_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENBINDISVREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenBindIsvRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MoPenBindIsvRequest();
|
||||
~MoPenBindIsvRequest();
|
||||
|
||||
std::string getOrderKey()const;
|
||||
void setOrderKey(const std::string& orderKey);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
|
||||
private:
|
||||
std::string orderKey_;
|
||||
std::string deviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENBINDISVREQUEST_H_
|
||||
57
mopen/include/alibabacloud/mopen/model/MoPenBindIsvResult.h
Normal file
57
mopen/include/alibabacloud/mopen/model/MoPenBindIsvResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENBINDISVRESULT_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENBINDISVRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenBindIsvResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MoPenBindIsvResult();
|
||||
explicit MoPenBindIsvResult(const std::string &payload);
|
||||
~MoPenBindIsvResult();
|
||||
std::string getDescription()const;
|
||||
std::string getMessage()const;
|
||||
bool getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string description_;
|
||||
std::string message_;
|
||||
bool code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENBINDISVRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENCREATEDEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENCREATEDEVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenCreateDeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MoPenCreateDeviceRequest();
|
||||
~MoPenCreateDeviceRequest();
|
||||
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
int getDeviceType()const;
|
||||
void setDeviceType(int deviceType);
|
||||
|
||||
private:
|
||||
std::string deviceName_;
|
||||
int deviceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENCREATEDEVICEREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENCREATEDEVICERESULT_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENCREATEDEVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenCreateDeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string deviceSecret;
|
||||
std::string product;
|
||||
std::string deviceName;
|
||||
};
|
||||
|
||||
|
||||
MoPenCreateDeviceResult();
|
||||
explicit MoPenCreateDeviceResult(const std::string &payload);
|
||||
~MoPenCreateDeviceResult();
|
||||
std::string getDescription()const;
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
bool getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string description_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
bool code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENCREATEDEVICERESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENDELETEGROUPMEMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENDELETEGROUPMEMBERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenDeleteGroupMemberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MoPenDeleteGroupMemberRequest();
|
||||
~MoPenDeleteGroupMemberRequest();
|
||||
|
||||
long getGroupId()const;
|
||||
void setGroupId(long groupId);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
|
||||
private:
|
||||
long groupId_;
|
||||
std::string deviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENDELETEGROUPMEMBERREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENDELETEGROUPMEMBERRESULT_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENDELETEGROUPMEMBERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenDeleteGroupMemberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MoPenDeleteGroupMemberResult();
|
||||
explicit MoPenDeleteGroupMemberResult(const std::string &payload);
|
||||
~MoPenDeleteGroupMemberResult();
|
||||
std::string getDescription()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string description_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENDELETEGROUPMEMBERRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENDELETEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENDELETEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenDeleteGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MoPenDeleteGroupRequest();
|
||||
~MoPenDeleteGroupRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENDELETEGROUPREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENDELETEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENDELETEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenDeleteGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MoPenDeleteGroupResult();
|
||||
explicit MoPenDeleteGroupResult(const std::string &payload);
|
||||
~MoPenDeleteGroupResult();
|
||||
std::string getDescription()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string description_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENDELETEGROUPRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENDORECOGNIZEREQUEST_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENDORECOGNIZEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenDoRecognizeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MoPenDoRecognizeRequest();
|
||||
~MoPenDoRecognizeRequest();
|
||||
|
||||
long getCanvasId()const;
|
||||
void setCanvasId(long canvasId);
|
||||
int getEndY()const;
|
||||
void setEndY(int endY);
|
||||
int getEndX()const;
|
||||
void setEndX(int endX);
|
||||
std::string getJsonConf()const;
|
||||
void setJsonConf(const std::string& jsonConf);
|
||||
std::string getExportType()const;
|
||||
void setExportType(const std::string& exportType);
|
||||
int getStartY()const;
|
||||
void setStartY(int startY);
|
||||
int getStartX()const;
|
||||
void setStartX(int startX);
|
||||
|
||||
private:
|
||||
long canvasId_;
|
||||
int endY_;
|
||||
int endX_;
|
||||
std::string jsonConf_;
|
||||
std::string exportType_;
|
||||
int startY_;
|
||||
int startX_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENDORECOGNIZEREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENDORECOGNIZERESULT_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENDORECOGNIZERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenDoRecognizeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string resultType;
|
||||
std::string result;
|
||||
long canvasId;
|
||||
};
|
||||
|
||||
|
||||
MoPenDoRecognizeResult();
|
||||
explicit MoPenDoRecognizeResult(const std::string &payload);
|
||||
~MoPenDoRecognizeResult();
|
||||
std::string getDescription()const;
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string description_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENDORECOGNIZERESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENFINDGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENFINDGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenFindGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MoPenFindGroupRequest();
|
||||
~MoPenFindGroupRequest();
|
||||
|
||||
std::string getCreator()const;
|
||||
void setCreator(const std::string& creator);
|
||||
|
||||
private:
|
||||
std::string creator_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENFINDGROUPREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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_MOPEN_MODEL_MOPENFINDGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENFINDGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenFindGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string creator;
|
||||
std::string groupId;
|
||||
};
|
||||
|
||||
|
||||
MoPenFindGroupResult();
|
||||
explicit MoPenFindGroupResult(const std::string &payload);
|
||||
~MoPenFindGroupResult();
|
||||
std::string getDescription()const;
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
std::string getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string description_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
std::string success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENFINDGROUPRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENQUERYCANVASREQUEST_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENQUERYCANVASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenQueryCanvasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MoPenQueryCanvasRequest();
|
||||
~MoPenQueryCanvasRequest();
|
||||
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
std::string getSessionId()const;
|
||||
void setSessionId(const std::string& sessionId);
|
||||
int getPageId()const;
|
||||
void setPageId(int pageId);
|
||||
int getStatus()const;
|
||||
void setStatus(int status);
|
||||
|
||||
private:
|
||||
std::string deviceName_;
|
||||
std::string sessionId_;
|
||||
int pageId_;
|
||||
int status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENQUERYCANVASREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENQUERYCANVASRESULT_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENQUERYCANVASRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenQueryCanvasResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Canvas
|
||||
{
|
||||
int pageId;
|
||||
std::string lastModified;
|
||||
int status;
|
||||
std::string attribute;
|
||||
std::string createTime;
|
||||
long id;
|
||||
std::string sessionId;
|
||||
std::string url;
|
||||
std::string deviceName;
|
||||
};
|
||||
std::vector<Canvas> canvasList;
|
||||
};
|
||||
|
||||
|
||||
MoPenQueryCanvasResult();
|
||||
explicit MoPenQueryCanvasResult(const std::string &payload);
|
||||
~MoPenQueryCanvasResult();
|
||||
std::string getDescription()const;
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string description_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENQUERYCANVASRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENSENDMQTTMESSAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENSENDMQTTMESSAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenSendMqttMessageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MoPenSendMqttMessageRequest();
|
||||
~MoPenSendMqttMessageRequest();
|
||||
|
||||
std::string getPayload()const;
|
||||
void setPayload(const std::string& payload);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
|
||||
private:
|
||||
std::string payload_;
|
||||
std::string deviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENSENDMQTTMESSAGEREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENSENDMQTTMESSAGERESULT_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENSENDMQTTMESSAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MoPenSendMqttMessageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MoPenSendMqttMessageResult();
|
||||
explicit MoPenSendMqttMessageResult(const std::string &payload);
|
||||
~MoPenSendMqttMessageResult();
|
||||
std::string getDescription()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string description_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENSENDMQTTMESSAGERESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENCREATEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENCREATEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MopenCreateGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MopenCreateGroupRequest();
|
||||
~MopenCreateGroupRequest();
|
||||
|
||||
std::string getCreator()const;
|
||||
void setCreator(const std::string& creator);
|
||||
|
||||
private:
|
||||
std::string creator_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENCREATEGROUPREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_MOPEN_MODEL_MOPENCREATEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_MOPEN_MODEL_MOPENCREATEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/mopen/MoPenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace MoPen
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_MOPEN_EXPORT MopenCreateGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string groupId;
|
||||
};
|
||||
|
||||
|
||||
MopenCreateGroupResult();
|
||||
explicit MopenCreateGroupResult(const std::string &payload);
|
||||
~MopenCreateGroupResult();
|
||||
std::string getResqusetId()const;
|
||||
std::string getDescription()const;
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
std::string getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string resqusetId_;
|
||||
std::string description_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
std::string success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_MOPEN_MODEL_MOPENCREATEGROUPRESULT_H_
|
||||
Reference in New Issue
Block a user