Add Mutimedia Screen API Support.

This commit is contained in:
sdk-team
2022-07-18 13:18:50 +00:00
parent f2759cebfa
commit 6f86a0ac33
90 changed files with 6013 additions and 67 deletions

View File

@@ -1,3 +1,6 @@
2022-07-18 Version: 1.36.1185
- Add Mutimedia Screen API Support.
2022-07-18 Version: 1.36.1184
- Change cspm ListCheckResult api.

View File

@@ -1 +1 @@
1.36.1184
1.36.1185

View File

@@ -41,10 +41,18 @@ set(cloudesl_public_header_model
include/alibabacloud/cloudesl/model/BatchInsertItemsResult.h
include/alibabacloud/cloudesl/model/BatchUpdateEventRequest.h
include/alibabacloud/cloudesl/model/BatchUpdateEventResult.h
include/alibabacloud/cloudesl/model/BindDeviceLayoutRequest.h
include/alibabacloud/cloudesl/model/BindDeviceLayoutResult.h
include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h
include/alibabacloud/cloudesl/model/BindEslDeviceResult.h
include/alibabacloud/cloudesl/model/CheckServiceLinkedRoleForDeletingRequest.h
include/alibabacloud/cloudesl/model/CheckServiceLinkedRoleForDeletingResult.h
include/alibabacloud/cloudesl/model/CopyCompanyTemplateViewRequest.h
include/alibabacloud/cloudesl/model/CopyCompanyTemplateViewResult.h
include/alibabacloud/cloudesl/model/CopyLayoutRequest.h
include/alibabacloud/cloudesl/model/CopyLayoutResult.h
include/alibabacloud/cloudesl/model/CopyTemplateGroupRequest.h
include/alibabacloud/cloudesl/model/CopyTemplateGroupResult.h
include/alibabacloud/cloudesl/model/CreateStoreRequest.h
include/alibabacloud/cloudesl/model/CreateStoreResult.h
include/alibabacloud/cloudesl/model/DeleteApDeviceRequest.h
@@ -53,10 +61,14 @@ set(cloudesl_public_header_model
include/alibabacloud/cloudesl/model/DeleteCompanyTemplateResult.h
include/alibabacloud/cloudesl/model/DeleteItemRequest.h
include/alibabacloud/cloudesl/model/DeleteItemResult.h
include/alibabacloud/cloudesl/model/DeleteLayoutRequest.h
include/alibabacloud/cloudesl/model/DeleteLayoutResult.h
include/alibabacloud/cloudesl/model/DeleteMaterialRequest.h
include/alibabacloud/cloudesl/model/DeleteMaterialResult.h
include/alibabacloud/cloudesl/model/DeleteStoreRequest.h
include/alibabacloud/cloudesl/model/DeleteStoreResult.h
include/alibabacloud/cloudesl/model/DeleteTemplateGroupRequest.h
include/alibabacloud/cloudesl/model/DeleteTemplateGroupResult.h
include/alibabacloud/cloudesl/model/DeleteUserRequest.h
include/alibabacloud/cloudesl/model/DeleteUserResult.h
include/alibabacloud/cloudesl/model/DescribeApDevicesRequest.h
@@ -101,22 +113,44 @@ set(cloudesl_public_header_model
include/alibabacloud/cloudesl/model/DescribeUsersResult.h
include/alibabacloud/cloudesl/model/ExportEslDevicesRequest.h
include/alibabacloud/cloudesl/model/ExportEslDevicesResult.h
include/alibabacloud/cloudesl/model/GetAddMaterialStatusRequest.h
include/alibabacloud/cloudesl/model/GetAddMaterialStatusResult.h
include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureRequest.h
include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureResult.h
include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureByJobRequest.h
include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureByJobResult.h
include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureNewRequest.h
include/alibabacloud/cloudesl/model/GetCompanyTemplatePictureNewResult.h
include/alibabacloud/cloudesl/model/GetEslDevicesRequest.h
include/alibabacloud/cloudesl/model/GetEslDevicesResult.h
include/alibabacloud/cloudesl/model/GetItemMaterialRequest.h
include/alibabacloud/cloudesl/model/GetItemMaterialResult.h
include/alibabacloud/cloudesl/model/GetUserRequest.h
include/alibabacloud/cloudesl/model/GetUserResult.h
include/alibabacloud/cloudesl/model/QueryContainerListRequest.h
include/alibabacloud/cloudesl/model/QueryContainerListResult.h
include/alibabacloud/cloudesl/model/QueryLayoutByDeviceRequest.h
include/alibabacloud/cloudesl/model/QueryLayoutByDeviceResult.h
include/alibabacloud/cloudesl/model/QueryLayoutDetailRequest.h
include/alibabacloud/cloudesl/model/QueryLayoutDetailResult.h
include/alibabacloud/cloudesl/model/QueryTemplateGroupListRequest.h
include/alibabacloud/cloudesl/model/QueryTemplateGroupListResult.h
include/alibabacloud/cloudesl/model/QueryTemplateListByGroupIdRequest.h
include/alibabacloud/cloudesl/model/QueryTemplateListByGroupIdResult.h
include/alibabacloud/cloudesl/model/SaveLayoutRequest.h
include/alibabacloud/cloudesl/model/SaveLayoutResult.h
include/alibabacloud/cloudesl/model/SaveTemplateGroupRequest.h
include/alibabacloud/cloudesl/model/SaveTemplateGroupResult.h
include/alibabacloud/cloudesl/model/SyncAddMaterialRequest.h
include/alibabacloud/cloudesl/model/SyncAddMaterialResult.h
include/alibabacloud/cloudesl/model/UnassignUserRequest.h
include/alibabacloud/cloudesl/model/UnassignUserResult.h
include/alibabacloud/cloudesl/model/UnbindEslDeviceRequest.h
include/alibabacloud/cloudesl/model/UnbindEslDeviceResult.h
include/alibabacloud/cloudesl/model/UpdateCompanyTemplateRequest.h
include/alibabacloud/cloudesl/model/UpdateCompanyTemplateResult.h
include/alibabacloud/cloudesl/model/UpdateCompanyTemplateViewRequest.h
include/alibabacloud/cloudesl/model/UpdateCompanyTemplateViewResult.h
include/alibabacloud/cloudesl/model/UpdateEslDeviceLightRequest.h
include/alibabacloud/cloudesl/model/UpdateEslDeviceLightResult.h
include/alibabacloud/cloudesl/model/UpdateItemMaterialRequest.h
@@ -152,10 +186,18 @@ set(cloudesl_src
src/model/BatchInsertItemsResult.cc
src/model/BatchUpdateEventRequest.cc
src/model/BatchUpdateEventResult.cc
src/model/BindDeviceLayoutRequest.cc
src/model/BindDeviceLayoutResult.cc
src/model/BindEslDeviceRequest.cc
src/model/BindEslDeviceResult.cc
src/model/CheckServiceLinkedRoleForDeletingRequest.cc
src/model/CheckServiceLinkedRoleForDeletingResult.cc
src/model/CopyCompanyTemplateViewRequest.cc
src/model/CopyCompanyTemplateViewResult.cc
src/model/CopyLayoutRequest.cc
src/model/CopyLayoutResult.cc
src/model/CopyTemplateGroupRequest.cc
src/model/CopyTemplateGroupResult.cc
src/model/CreateStoreRequest.cc
src/model/CreateStoreResult.cc
src/model/DeleteApDeviceRequest.cc
@@ -164,10 +206,14 @@ set(cloudesl_src
src/model/DeleteCompanyTemplateResult.cc
src/model/DeleteItemRequest.cc
src/model/DeleteItemResult.cc
src/model/DeleteLayoutRequest.cc
src/model/DeleteLayoutResult.cc
src/model/DeleteMaterialRequest.cc
src/model/DeleteMaterialResult.cc
src/model/DeleteStoreRequest.cc
src/model/DeleteStoreResult.cc
src/model/DeleteTemplateGroupRequest.cc
src/model/DeleteTemplateGroupResult.cc
src/model/DeleteUserRequest.cc
src/model/DeleteUserResult.cc
src/model/DescribeApDevicesRequest.cc
@@ -212,22 +258,44 @@ set(cloudesl_src
src/model/DescribeUsersResult.cc
src/model/ExportEslDevicesRequest.cc
src/model/ExportEslDevicesResult.cc
src/model/GetAddMaterialStatusRequest.cc
src/model/GetAddMaterialStatusResult.cc
src/model/GetCompanyTemplatePictureRequest.cc
src/model/GetCompanyTemplatePictureResult.cc
src/model/GetCompanyTemplatePictureByJobRequest.cc
src/model/GetCompanyTemplatePictureByJobResult.cc
src/model/GetCompanyTemplatePictureNewRequest.cc
src/model/GetCompanyTemplatePictureNewResult.cc
src/model/GetEslDevicesRequest.cc
src/model/GetEslDevicesResult.cc
src/model/GetItemMaterialRequest.cc
src/model/GetItemMaterialResult.cc
src/model/GetUserRequest.cc
src/model/GetUserResult.cc
src/model/QueryContainerListRequest.cc
src/model/QueryContainerListResult.cc
src/model/QueryLayoutByDeviceRequest.cc
src/model/QueryLayoutByDeviceResult.cc
src/model/QueryLayoutDetailRequest.cc
src/model/QueryLayoutDetailResult.cc
src/model/QueryTemplateGroupListRequest.cc
src/model/QueryTemplateGroupListResult.cc
src/model/QueryTemplateListByGroupIdRequest.cc
src/model/QueryTemplateListByGroupIdResult.cc
src/model/SaveLayoutRequest.cc
src/model/SaveLayoutResult.cc
src/model/SaveTemplateGroupRequest.cc
src/model/SaveTemplateGroupResult.cc
src/model/SyncAddMaterialRequest.cc
src/model/SyncAddMaterialResult.cc
src/model/UnassignUserRequest.cc
src/model/UnassignUserResult.cc
src/model/UnbindEslDeviceRequest.cc
src/model/UnbindEslDeviceResult.cc
src/model/UpdateCompanyTemplateRequest.cc
src/model/UpdateCompanyTemplateResult.cc
src/model/UpdateCompanyTemplateViewRequest.cc
src/model/UpdateCompanyTemplateViewResult.cc
src/model/UpdateEslDeviceLightRequest.cc
src/model/UpdateEslDeviceLightResult.cc
src/model/UpdateItemMaterialRequest.cc

View File

@@ -42,10 +42,18 @@
#include "model/BatchInsertItemsResult.h"
#include "model/BatchUpdateEventRequest.h"
#include "model/BatchUpdateEventResult.h"
#include "model/BindDeviceLayoutRequest.h"
#include "model/BindDeviceLayoutResult.h"
#include "model/BindEslDeviceRequest.h"
#include "model/BindEslDeviceResult.h"
#include "model/CheckServiceLinkedRoleForDeletingRequest.h"
#include "model/CheckServiceLinkedRoleForDeletingResult.h"
#include "model/CopyCompanyTemplateViewRequest.h"
#include "model/CopyCompanyTemplateViewResult.h"
#include "model/CopyLayoutRequest.h"
#include "model/CopyLayoutResult.h"
#include "model/CopyTemplateGroupRequest.h"
#include "model/CopyTemplateGroupResult.h"
#include "model/CreateStoreRequest.h"
#include "model/CreateStoreResult.h"
#include "model/DeleteApDeviceRequest.h"
@@ -54,10 +62,14 @@
#include "model/DeleteCompanyTemplateResult.h"
#include "model/DeleteItemRequest.h"
#include "model/DeleteItemResult.h"
#include "model/DeleteLayoutRequest.h"
#include "model/DeleteLayoutResult.h"
#include "model/DeleteMaterialRequest.h"
#include "model/DeleteMaterialResult.h"
#include "model/DeleteStoreRequest.h"
#include "model/DeleteStoreResult.h"
#include "model/DeleteTemplateGroupRequest.h"
#include "model/DeleteTemplateGroupResult.h"
#include "model/DeleteUserRequest.h"
#include "model/DeleteUserResult.h"
#include "model/DescribeApDevicesRequest.h"
@@ -102,22 +114,44 @@
#include "model/DescribeUsersResult.h"
#include "model/ExportEslDevicesRequest.h"
#include "model/ExportEslDevicesResult.h"
#include "model/GetAddMaterialStatusRequest.h"
#include "model/GetAddMaterialStatusResult.h"
#include "model/GetCompanyTemplatePictureRequest.h"
#include "model/GetCompanyTemplatePictureResult.h"
#include "model/GetCompanyTemplatePictureByJobRequest.h"
#include "model/GetCompanyTemplatePictureByJobResult.h"
#include "model/GetCompanyTemplatePictureNewRequest.h"
#include "model/GetCompanyTemplatePictureNewResult.h"
#include "model/GetEslDevicesRequest.h"
#include "model/GetEslDevicesResult.h"
#include "model/GetItemMaterialRequest.h"
#include "model/GetItemMaterialResult.h"
#include "model/GetUserRequest.h"
#include "model/GetUserResult.h"
#include "model/QueryContainerListRequest.h"
#include "model/QueryContainerListResult.h"
#include "model/QueryLayoutByDeviceRequest.h"
#include "model/QueryLayoutByDeviceResult.h"
#include "model/QueryLayoutDetailRequest.h"
#include "model/QueryLayoutDetailResult.h"
#include "model/QueryTemplateGroupListRequest.h"
#include "model/QueryTemplateGroupListResult.h"
#include "model/QueryTemplateListByGroupIdRequest.h"
#include "model/QueryTemplateListByGroupIdResult.h"
#include "model/SaveLayoutRequest.h"
#include "model/SaveLayoutResult.h"
#include "model/SaveTemplateGroupRequest.h"
#include "model/SaveTemplateGroupResult.h"
#include "model/SyncAddMaterialRequest.h"
#include "model/SyncAddMaterialResult.h"
#include "model/UnassignUserRequest.h"
#include "model/UnassignUserResult.h"
#include "model/UnbindEslDeviceRequest.h"
#include "model/UnbindEslDeviceResult.h"
#include "model/UpdateCompanyTemplateRequest.h"
#include "model/UpdateCompanyTemplateResult.h"
#include "model/UpdateCompanyTemplateViewRequest.h"
#include "model/UpdateCompanyTemplateViewResult.h"
#include "model/UpdateEslDeviceLightRequest.h"
#include "model/UpdateEslDeviceLightResult.h"
#include "model/UpdateItemMaterialRequest.h"
@@ -169,12 +203,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::BatchUpdateEventResult> BatchUpdateEventOutcome;
typedef std::future<BatchUpdateEventOutcome> BatchUpdateEventOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::BatchUpdateEventRequest&, const BatchUpdateEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchUpdateEventAsyncHandler;
typedef Outcome<Error, Model::BindDeviceLayoutResult> BindDeviceLayoutOutcome;
typedef std::future<BindDeviceLayoutOutcome> BindDeviceLayoutOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::BindDeviceLayoutRequest&, const BindDeviceLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindDeviceLayoutAsyncHandler;
typedef Outcome<Error, Model::BindEslDeviceResult> BindEslDeviceOutcome;
typedef std::future<BindEslDeviceOutcome> BindEslDeviceOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::BindEslDeviceRequest&, const BindEslDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindEslDeviceAsyncHandler;
typedef Outcome<Error, Model::CheckServiceLinkedRoleForDeletingResult> CheckServiceLinkedRoleForDeletingOutcome;
typedef std::future<CheckServiceLinkedRoleForDeletingOutcome> CheckServiceLinkedRoleForDeletingOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::CheckServiceLinkedRoleForDeletingRequest&, const CheckServiceLinkedRoleForDeletingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckServiceLinkedRoleForDeletingAsyncHandler;
typedef Outcome<Error, Model::CopyCompanyTemplateViewResult> CopyCompanyTemplateViewOutcome;
typedef std::future<CopyCompanyTemplateViewOutcome> CopyCompanyTemplateViewOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::CopyCompanyTemplateViewRequest&, const CopyCompanyTemplateViewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CopyCompanyTemplateViewAsyncHandler;
typedef Outcome<Error, Model::CopyLayoutResult> CopyLayoutOutcome;
typedef std::future<CopyLayoutOutcome> CopyLayoutOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::CopyLayoutRequest&, const CopyLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CopyLayoutAsyncHandler;
typedef Outcome<Error, Model::CopyTemplateGroupResult> CopyTemplateGroupOutcome;
typedef std::future<CopyTemplateGroupOutcome> CopyTemplateGroupOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::CopyTemplateGroupRequest&, const CopyTemplateGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CopyTemplateGroupAsyncHandler;
typedef Outcome<Error, Model::CreateStoreResult> CreateStoreOutcome;
typedef std::future<CreateStoreOutcome> CreateStoreOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::CreateStoreRequest&, const CreateStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateStoreAsyncHandler;
@@ -187,12 +233,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteItemResult> DeleteItemOutcome;
typedef std::future<DeleteItemOutcome> DeleteItemOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DeleteItemRequest&, const DeleteItemOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteItemAsyncHandler;
typedef Outcome<Error, Model::DeleteLayoutResult> DeleteLayoutOutcome;
typedef std::future<DeleteLayoutOutcome> DeleteLayoutOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DeleteLayoutRequest&, const DeleteLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLayoutAsyncHandler;
typedef Outcome<Error, Model::DeleteMaterialResult> DeleteMaterialOutcome;
typedef std::future<DeleteMaterialOutcome> DeleteMaterialOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DeleteMaterialRequest&, const DeleteMaterialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMaterialAsyncHandler;
typedef Outcome<Error, Model::DeleteStoreResult> DeleteStoreOutcome;
typedef std::future<DeleteStoreOutcome> DeleteStoreOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DeleteStoreRequest&, const DeleteStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStoreAsyncHandler;
typedef Outcome<Error, Model::DeleteTemplateGroupResult> DeleteTemplateGroupOutcome;
typedef std::future<DeleteTemplateGroupOutcome> DeleteTemplateGroupOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DeleteTemplateGroupRequest&, const DeleteTemplateGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTemplateGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteUserResult> DeleteUserOutcome;
typedef std::future<DeleteUserOutcome> DeleteUserOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DeleteUserRequest&, const DeleteUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserAsyncHandler;
@@ -259,6 +311,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ExportEslDevicesResult> ExportEslDevicesOutcome;
typedef std::future<ExportEslDevicesOutcome> ExportEslDevicesOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::ExportEslDevicesRequest&, const ExportEslDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportEslDevicesAsyncHandler;
typedef Outcome<Error, Model::GetAddMaterialStatusResult> GetAddMaterialStatusOutcome;
typedef std::future<GetAddMaterialStatusOutcome> GetAddMaterialStatusOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::GetAddMaterialStatusRequest&, const GetAddMaterialStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddMaterialStatusAsyncHandler;
typedef Outcome<Error, Model::GetCompanyTemplatePictureResult> GetCompanyTemplatePictureOutcome;
typedef std::future<GetCompanyTemplatePictureOutcome> GetCompanyTemplatePictureOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::GetCompanyTemplatePictureRequest&, const GetCompanyTemplatePictureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCompanyTemplatePictureAsyncHandler;
@@ -268,12 +323,36 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetCompanyTemplatePictureNewResult> GetCompanyTemplatePictureNewOutcome;
typedef std::future<GetCompanyTemplatePictureNewOutcome> GetCompanyTemplatePictureNewOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::GetCompanyTemplatePictureNewRequest&, const GetCompanyTemplatePictureNewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCompanyTemplatePictureNewAsyncHandler;
typedef Outcome<Error, Model::GetEslDevicesResult> GetEslDevicesOutcome;
typedef std::future<GetEslDevicesOutcome> GetEslDevicesOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::GetEslDevicesRequest&, const GetEslDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEslDevicesAsyncHandler;
typedef Outcome<Error, Model::GetItemMaterialResult> GetItemMaterialOutcome;
typedef std::future<GetItemMaterialOutcome> GetItemMaterialOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::GetItemMaterialRequest&, const GetItemMaterialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetItemMaterialAsyncHandler;
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
typedef Outcome<Error, Model::QueryContainerListResult> QueryContainerListOutcome;
typedef std::future<QueryContainerListOutcome> QueryContainerListOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::QueryContainerListRequest&, const QueryContainerListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryContainerListAsyncHandler;
typedef Outcome<Error, Model::QueryLayoutByDeviceResult> QueryLayoutByDeviceOutcome;
typedef std::future<QueryLayoutByDeviceOutcome> QueryLayoutByDeviceOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::QueryLayoutByDeviceRequest&, const QueryLayoutByDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryLayoutByDeviceAsyncHandler;
typedef Outcome<Error, Model::QueryLayoutDetailResult> QueryLayoutDetailOutcome;
typedef std::future<QueryLayoutDetailOutcome> QueryLayoutDetailOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::QueryLayoutDetailRequest&, const QueryLayoutDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryLayoutDetailAsyncHandler;
typedef Outcome<Error, Model::QueryTemplateGroupListResult> QueryTemplateGroupListOutcome;
typedef std::future<QueryTemplateGroupListOutcome> QueryTemplateGroupListOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::QueryTemplateGroupListRequest&, const QueryTemplateGroupListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTemplateGroupListAsyncHandler;
typedef Outcome<Error, Model::QueryTemplateListByGroupIdResult> QueryTemplateListByGroupIdOutcome;
typedef std::future<QueryTemplateListByGroupIdOutcome> QueryTemplateListByGroupIdOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::QueryTemplateListByGroupIdRequest&, const QueryTemplateListByGroupIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTemplateListByGroupIdAsyncHandler;
typedef Outcome<Error, Model::SaveLayoutResult> SaveLayoutOutcome;
typedef std::future<SaveLayoutOutcome> SaveLayoutOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::SaveLayoutRequest&, const SaveLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveLayoutAsyncHandler;
typedef Outcome<Error, Model::SaveTemplateGroupResult> SaveTemplateGroupOutcome;
typedef std::future<SaveTemplateGroupOutcome> SaveTemplateGroupOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::SaveTemplateGroupRequest&, const SaveTemplateGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveTemplateGroupAsyncHandler;
typedef Outcome<Error, Model::SyncAddMaterialResult> SyncAddMaterialOutcome;
typedef std::future<SyncAddMaterialOutcome> SyncAddMaterialOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::SyncAddMaterialRequest&, const SyncAddMaterialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SyncAddMaterialAsyncHandler;
@@ -283,6 +362,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UnbindEslDeviceResult> UnbindEslDeviceOutcome;
typedef std::future<UnbindEslDeviceOutcome> UnbindEslDeviceOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::UnbindEslDeviceRequest&, const UnbindEslDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindEslDeviceAsyncHandler;
typedef Outcome<Error, Model::UpdateCompanyTemplateResult> UpdateCompanyTemplateOutcome;
typedef std::future<UpdateCompanyTemplateOutcome> UpdateCompanyTemplateOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::UpdateCompanyTemplateRequest&, const UpdateCompanyTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCompanyTemplateAsyncHandler;
typedef Outcome<Error, Model::UpdateCompanyTemplateViewResult> UpdateCompanyTemplateViewOutcome;
typedef std::future<UpdateCompanyTemplateViewOutcome> UpdateCompanyTemplateViewOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::UpdateCompanyTemplateViewRequest&, const UpdateCompanyTemplateViewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCompanyTemplateViewAsyncHandler;
typedef Outcome<Error, Model::UpdateEslDeviceLightResult> UpdateEslDeviceLightOutcome;
typedef std::future<UpdateEslDeviceLightOutcome> UpdateEslDeviceLightOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::UpdateEslDeviceLightRequest&, const UpdateEslDeviceLightOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateEslDeviceLightAsyncHandler;
@@ -336,12 +421,24 @@ namespace AlibabaCloud
BatchUpdateEventOutcome batchUpdateEvent(const Model::BatchUpdateEventRequest &request)const;
void batchUpdateEventAsync(const Model::BatchUpdateEventRequest& request, const BatchUpdateEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchUpdateEventOutcomeCallable batchUpdateEventCallable(const Model::BatchUpdateEventRequest& request) const;
BindDeviceLayoutOutcome bindDeviceLayout(const Model::BindDeviceLayoutRequest &request)const;
void bindDeviceLayoutAsync(const Model::BindDeviceLayoutRequest& request, const BindDeviceLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BindDeviceLayoutOutcomeCallable bindDeviceLayoutCallable(const Model::BindDeviceLayoutRequest& request) const;
BindEslDeviceOutcome bindEslDevice(const Model::BindEslDeviceRequest &request)const;
void bindEslDeviceAsync(const Model::BindEslDeviceRequest& request, const BindEslDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BindEslDeviceOutcomeCallable bindEslDeviceCallable(const Model::BindEslDeviceRequest& request) const;
CheckServiceLinkedRoleForDeletingOutcome checkServiceLinkedRoleForDeleting(const Model::CheckServiceLinkedRoleForDeletingRequest &request)const;
void checkServiceLinkedRoleForDeletingAsync(const Model::CheckServiceLinkedRoleForDeletingRequest& request, const CheckServiceLinkedRoleForDeletingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckServiceLinkedRoleForDeletingOutcomeCallable checkServiceLinkedRoleForDeletingCallable(const Model::CheckServiceLinkedRoleForDeletingRequest& request) const;
CopyCompanyTemplateViewOutcome copyCompanyTemplateView(const Model::CopyCompanyTemplateViewRequest &request)const;
void copyCompanyTemplateViewAsync(const Model::CopyCompanyTemplateViewRequest& request, const CopyCompanyTemplateViewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CopyCompanyTemplateViewOutcomeCallable copyCompanyTemplateViewCallable(const Model::CopyCompanyTemplateViewRequest& request) const;
CopyLayoutOutcome copyLayout(const Model::CopyLayoutRequest &request)const;
void copyLayoutAsync(const Model::CopyLayoutRequest& request, const CopyLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CopyLayoutOutcomeCallable copyLayoutCallable(const Model::CopyLayoutRequest& request) const;
CopyTemplateGroupOutcome copyTemplateGroup(const Model::CopyTemplateGroupRequest &request)const;
void copyTemplateGroupAsync(const Model::CopyTemplateGroupRequest& request, const CopyTemplateGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CopyTemplateGroupOutcomeCallable copyTemplateGroupCallable(const Model::CopyTemplateGroupRequest& request) const;
CreateStoreOutcome createStore(const Model::CreateStoreRequest &request)const;
void createStoreAsync(const Model::CreateStoreRequest& request, const CreateStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateStoreOutcomeCallable createStoreCallable(const Model::CreateStoreRequest& request) const;
@@ -354,12 +451,18 @@ namespace AlibabaCloud
DeleteItemOutcome deleteItem(const Model::DeleteItemRequest &request)const;
void deleteItemAsync(const Model::DeleteItemRequest& request, const DeleteItemAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteItemOutcomeCallable deleteItemCallable(const Model::DeleteItemRequest& request) const;
DeleteLayoutOutcome deleteLayout(const Model::DeleteLayoutRequest &request)const;
void deleteLayoutAsync(const Model::DeleteLayoutRequest& request, const DeleteLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteLayoutOutcomeCallable deleteLayoutCallable(const Model::DeleteLayoutRequest& request) const;
DeleteMaterialOutcome deleteMaterial(const Model::DeleteMaterialRequest &request)const;
void deleteMaterialAsync(const Model::DeleteMaterialRequest& request, const DeleteMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteMaterialOutcomeCallable deleteMaterialCallable(const Model::DeleteMaterialRequest& request) const;
DeleteStoreOutcome deleteStore(const Model::DeleteStoreRequest &request)const;
void deleteStoreAsync(const Model::DeleteStoreRequest& request, const DeleteStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteStoreOutcomeCallable deleteStoreCallable(const Model::DeleteStoreRequest& request) const;
DeleteTemplateGroupOutcome deleteTemplateGroup(const Model::DeleteTemplateGroupRequest &request)const;
void deleteTemplateGroupAsync(const Model::DeleteTemplateGroupRequest& request, const DeleteTemplateGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTemplateGroupOutcomeCallable deleteTemplateGroupCallable(const Model::DeleteTemplateGroupRequest& request) const;
DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const;
void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const;
@@ -426,6 +529,9 @@ namespace AlibabaCloud
ExportEslDevicesOutcome exportEslDevices(const Model::ExportEslDevicesRequest &request)const;
void exportEslDevicesAsync(const Model::ExportEslDevicesRequest& request, const ExportEslDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExportEslDevicesOutcomeCallable exportEslDevicesCallable(const Model::ExportEslDevicesRequest& request) const;
GetAddMaterialStatusOutcome getAddMaterialStatus(const Model::GetAddMaterialStatusRequest &request)const;
void getAddMaterialStatusAsync(const Model::GetAddMaterialStatusRequest& request, const GetAddMaterialStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAddMaterialStatusOutcomeCallable getAddMaterialStatusCallable(const Model::GetAddMaterialStatusRequest& request) const;
GetCompanyTemplatePictureOutcome getCompanyTemplatePicture(const Model::GetCompanyTemplatePictureRequest &request)const;
void getCompanyTemplatePictureAsync(const Model::GetCompanyTemplatePictureRequest& request, const GetCompanyTemplatePictureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCompanyTemplatePictureOutcomeCallable getCompanyTemplatePictureCallable(const Model::GetCompanyTemplatePictureRequest& request) const;
@@ -435,12 +541,36 @@ namespace AlibabaCloud
GetCompanyTemplatePictureNewOutcome getCompanyTemplatePictureNew(const Model::GetCompanyTemplatePictureNewRequest &request)const;
void getCompanyTemplatePictureNewAsync(const Model::GetCompanyTemplatePictureNewRequest& request, const GetCompanyTemplatePictureNewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCompanyTemplatePictureNewOutcomeCallable getCompanyTemplatePictureNewCallable(const Model::GetCompanyTemplatePictureNewRequest& request) const;
GetEslDevicesOutcome getEslDevices(const Model::GetEslDevicesRequest &request)const;
void getEslDevicesAsync(const Model::GetEslDevicesRequest& request, const GetEslDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetEslDevicesOutcomeCallable getEslDevicesCallable(const Model::GetEslDevicesRequest& request) const;
GetItemMaterialOutcome getItemMaterial(const Model::GetItemMaterialRequest &request)const;
void getItemMaterialAsync(const Model::GetItemMaterialRequest& request, const GetItemMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetItemMaterialOutcomeCallable getItemMaterialCallable(const Model::GetItemMaterialRequest& request) const;
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
QueryContainerListOutcome queryContainerList(const Model::QueryContainerListRequest &request)const;
void queryContainerListAsync(const Model::QueryContainerListRequest& request, const QueryContainerListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryContainerListOutcomeCallable queryContainerListCallable(const Model::QueryContainerListRequest& request) const;
QueryLayoutByDeviceOutcome queryLayoutByDevice(const Model::QueryLayoutByDeviceRequest &request)const;
void queryLayoutByDeviceAsync(const Model::QueryLayoutByDeviceRequest& request, const QueryLayoutByDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryLayoutByDeviceOutcomeCallable queryLayoutByDeviceCallable(const Model::QueryLayoutByDeviceRequest& request) const;
QueryLayoutDetailOutcome queryLayoutDetail(const Model::QueryLayoutDetailRequest &request)const;
void queryLayoutDetailAsync(const Model::QueryLayoutDetailRequest& request, const QueryLayoutDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryLayoutDetailOutcomeCallable queryLayoutDetailCallable(const Model::QueryLayoutDetailRequest& request) const;
QueryTemplateGroupListOutcome queryTemplateGroupList(const Model::QueryTemplateGroupListRequest &request)const;
void queryTemplateGroupListAsync(const Model::QueryTemplateGroupListRequest& request, const QueryTemplateGroupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryTemplateGroupListOutcomeCallable queryTemplateGroupListCallable(const Model::QueryTemplateGroupListRequest& request) const;
QueryTemplateListByGroupIdOutcome queryTemplateListByGroupId(const Model::QueryTemplateListByGroupIdRequest &request)const;
void queryTemplateListByGroupIdAsync(const Model::QueryTemplateListByGroupIdRequest& request, const QueryTemplateListByGroupIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryTemplateListByGroupIdOutcomeCallable queryTemplateListByGroupIdCallable(const Model::QueryTemplateListByGroupIdRequest& request) const;
SaveLayoutOutcome saveLayout(const Model::SaveLayoutRequest &request)const;
void saveLayoutAsync(const Model::SaveLayoutRequest& request, const SaveLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveLayoutOutcomeCallable saveLayoutCallable(const Model::SaveLayoutRequest& request) const;
SaveTemplateGroupOutcome saveTemplateGroup(const Model::SaveTemplateGroupRequest &request)const;
void saveTemplateGroupAsync(const Model::SaveTemplateGroupRequest& request, const SaveTemplateGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveTemplateGroupOutcomeCallable saveTemplateGroupCallable(const Model::SaveTemplateGroupRequest& request) const;
SyncAddMaterialOutcome syncAddMaterial(const Model::SyncAddMaterialRequest &request)const;
void syncAddMaterialAsync(const Model::SyncAddMaterialRequest& request, const SyncAddMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SyncAddMaterialOutcomeCallable syncAddMaterialCallable(const Model::SyncAddMaterialRequest& request) const;
@@ -450,6 +580,12 @@ namespace AlibabaCloud
UnbindEslDeviceOutcome unbindEslDevice(const Model::UnbindEslDeviceRequest &request)const;
void unbindEslDeviceAsync(const Model::UnbindEslDeviceRequest& request, const UnbindEslDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnbindEslDeviceOutcomeCallable unbindEslDeviceCallable(const Model::UnbindEslDeviceRequest& request) const;
UpdateCompanyTemplateOutcome updateCompanyTemplate(const Model::UpdateCompanyTemplateRequest &request)const;
void updateCompanyTemplateAsync(const Model::UpdateCompanyTemplateRequest& request, const UpdateCompanyTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateCompanyTemplateOutcomeCallable updateCompanyTemplateCallable(const Model::UpdateCompanyTemplateRequest& request) const;
UpdateCompanyTemplateViewOutcome updateCompanyTemplateView(const Model::UpdateCompanyTemplateViewRequest &request)const;
void updateCompanyTemplateViewAsync(const Model::UpdateCompanyTemplateViewRequest& request, const UpdateCompanyTemplateViewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateCompanyTemplateViewOutcomeCallable updateCompanyTemplateViewCallable(const Model::UpdateCompanyTemplateViewRequest& request) const;
UpdateEslDeviceLightOutcome updateEslDeviceLight(const Model::UpdateEslDeviceLightRequest &request)const;
void updateEslDeviceLightAsync(const Model::UpdateEslDeviceLightRequest& request, const UpdateEslDeviceLightAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateEslDeviceLightOutcomeCallable updateEslDeviceLightCallable(const Model::UpdateEslDeviceLightRequest& request) const;

View File

@@ -55,8 +55,12 @@ namespace AlibabaCloud
void setIfDefault(bool ifDefault);
std::string getTemplateName()const;
void setTemplateName(const std::string& templateName);
std::string getTemplateSceneId()const;
void setTemplateSceneId(const std::string& templateSceneId);
bool getIfSourceCode()const;
void setIfSourceCode(bool ifSourceCode);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
bool getIfMember()const;
void setIfMember(bool ifMember);
int getLayout()const;
@@ -75,7 +79,9 @@ namespace AlibabaCloud
std::string vendor_;
bool ifDefault_;
std::string templateName_;
std::string templateSceneId_;
bool ifSourceCode_;
std::string groupId_;
bool ifMember_;
int layout_;
bool ifOutOfInventory_;

View File

@@ -88,6 +88,7 @@ namespace AlibabaCloud
std::string itemPicUrl;
std::string forestSecondId;
std::string supplierName;
bool beClearance;
std::string material;
std::string modelNumber;
std::string saleSpec;

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_CLOUDESL_MODEL_BINDDEVICELAYOUTREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_BINDDEVICELAYOUTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT BindDeviceLayoutRequest : public RpcServiceRequest
{
public:
BindDeviceLayoutRequest();
~BindDeviceLayoutRequest();
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
std::string getLayoutId()const;
void setLayoutId(const std::string& layoutId);
std::string getEslBarCode()const;
void setEslBarCode(const std::string& eslBarCode);
private:
std::string storeId_;
std::string layoutId_;
std::string eslBarCode_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BINDDEVICELAYOUTREQUEST_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_CLOUDESL_MODEL_BINDDEVICELAYOUTRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_BINDDEVICELAYOUTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT BindDeviceLayoutResult : public ServiceResult
{
public:
BindDeviceLayoutResult();
explicit BindDeviceLayoutResult(const std::string &payload);
~BindDeviceLayoutResult();
std::string getMessage()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BINDDEVICELAYOUTRESULT_H_

View File

@@ -37,27 +37,39 @@ namespace AlibabaCloud
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getContainerName()const;
void setContainerName(const std::string& containerName);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
std::string getLayoutId()const;
void setLayoutId(const std::string& layoutId);
int getLayer()const;
void setLayer(int layer);
std::string getEslBarCode()const;
void setEslBarCode(const std::string& eslBarCode);
std::string getLayoutName()const;
void setLayoutName(const std::string& layoutName);
std::string getItemBarCode()const;
void setItemBarCode(const std::string& itemBarCode);
std::string getColumn()const;
void setColumn(const std::string& column);
std::string getShelf()const;
void setShelf(const std::string& shelf);
std::string getContainerId()const;
void setContainerId(const std::string& containerId);
private:
std::string extraParams_;
std::string containerName_;
std::string storeId_;
std::string layoutId_;
int layer_;
std::string eslBarCode_;
std::string layoutName_;
std::string itemBarCode_;
std::string column_;
std::string shelf_;
std::string containerId_;
};
}

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_CLOUDESL_MODEL_COPYCOMPANYTEMPLATEVIEWREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_COPYCOMPANYTEMPLATEVIEWREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT CopyCompanyTemplateViewRequest : public RpcServiceRequest
{
public:
CopyCompanyTemplateViewRequest();
~CopyCompanyTemplateViewRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getTargetName()const;
void setTargetName(const std::string& targetName);
std::string getModelId()const;
void setModelId(const std::string& modelId);
std::string getTargetVersion()const;
void setTargetVersion(const std::string& targetVersion);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
long getTargetGroupId()const;
void setTargetGroupId(long targetGroupId);
private:
std::string extraParams_;
std::string targetName_;
std::string modelId_;
std::string targetVersion_;
std::string templateId_;
long targetGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COPYCOMPANYTEMPLATEVIEWREQUEST_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_CLOUDESL_MODEL_COPYCOMPANYTEMPLATEVIEWRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_COPYCOMPANYTEMPLATEVIEWRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT CopyCompanyTemplateViewResult : public ServiceResult
{
public:
CopyCompanyTemplateViewResult();
explicit CopyCompanyTemplateViewResult(const std::string &payload);
~CopyCompanyTemplateViewResult();
std::string getMessage()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COPYCOMPANYTEMPLATEVIEWRESULT_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_CLOUDESL_MODEL_COPYLAYOUTREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_COPYLAYOUTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT CopyLayoutRequest : public RpcServiceRequest
{
public:
CopyLayoutRequest();
~CopyLayoutRequest();
long getLayoutId()const;
void setLayoutId(long layoutId);
std::string getTemplateVersion()const;
void setTemplateVersion(const std::string& templateVersion);
std::string getEslModelId()const;
void setEslModelId(const std::string& eslModelId);
private:
long layoutId_;
std::string templateVersion_;
std::string eslModelId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COPYLAYOUTREQUEST_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_CLOUDESL_MODEL_COPYLAYOUTRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_COPYLAYOUTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT CopyLayoutResult : public ServiceResult
{
public:
CopyLayoutResult();
explicit CopyLayoutResult(const std::string &payload);
~CopyLayoutResult();
std::string getMessage()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COPYLAYOUTRESULT_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_CLOUDESL_MODEL_COPYTEMPLATEGROUPREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_COPYTEMPLATEGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT CopyTemplateGroupRequest : public RpcServiceRequest
{
public:
CopyTemplateGroupRequest();
~CopyTemplateGroupRequest();
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getTemplateVersion()const;
void setTemplateVersion(const std::string& templateVersion);
std::string getEslModelId()const;
void setEslModelId(const std::string& eslModelId);
private:
std::string groupId_;
std::string templateVersion_;
std::string eslModelId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COPYTEMPLATEGROUPREQUEST_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_CLOUDESL_MODEL_COPYTEMPLATEGROUPRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_COPYTEMPLATEGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT CopyTemplateGroupResult : public ServiceResult
{
public:
CopyTemplateGroupResult();
explicit CopyTemplateGroupResult(const std::string &payload);
~CopyTemplateGroupResult();
std::string getMessage()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COPYTEMPLATEGROUPRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETELAYOUTREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETELAYOUTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteLayoutRequest : public RpcServiceRequest
{
public:
DeleteLayoutRequest();
~DeleteLayoutRequest();
std::string getLayoutId()const;
void setLayoutId(const std::string& layoutId);
private:
std::string layoutId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETELAYOUTREQUEST_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_CLOUDESL_MODEL_DELETELAYOUTRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETELAYOUTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteLayoutResult : public ServiceResult
{
public:
DeleteLayoutResult();
explicit DeleteLayoutResult(const std::string &payload);
~DeleteLayoutResult();
std::string getMessage()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETELAYOUTRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETETEMPLATEGROUPREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETETEMPLATEGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteTemplateGroupRequest : public RpcServiceRequest
{
public:
DeleteTemplateGroupRequest();
~DeleteTemplateGroupRequest();
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
private:
std::string groupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETETEMPLATEGROUPREQUEST_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_CLOUDESL_MODEL_DELETETEMPLATEGROUPRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETETEMPLATEGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteTemplateGroupResult : public ServiceResult
{
public:
DeleteTemplateGroupResult();
explicit DeleteTemplateGroupResult(const std::string &payload);
~DeleteTemplateGroupResult();
std::string getMessage()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETETEMPLATEGROUPRESULT_H_

View File

@@ -36,8 +36,8 @@ namespace AlibabaCloud
{
std::string bindId;
std::string originalPrice;
std::string gmtModified;
std::string actionPrice;
std::string gmtModified;
std::string eslPic;
std::string promotionStart;
std::string itemBarCode;
@@ -50,12 +50,13 @@ namespace AlibabaCloud
std::string priceUnit;
std::string itemShortTitle;
std::string storeId;
std::string containerName;
std::string itemTitle;
std::string eslStatus;
std::string skuId;
std::string templateId;
std::string eslConnectAp;
std::string eslStatus;
bool bePromotion;
std::string eslConnectAp;
std::string templateId;
};

View File

@@ -34,18 +34,20 @@ namespace AlibabaCloud
public:
struct EslDeviceInfo
{
int batteryLevel;
std::string layoutId;
int screenHeight;
std::string lastCommunicateTime;
std::string mac;
std::string type;
std::string eslBarCode;
int eslSignal;
int batteryLevel;
std::string storeId;
std::string typeEncode;
std::string model;
int screenWidth;
int screenHeight;
std::string layoutName;
std::string eslStatus;
std::string lastCommunicateTime;
std::string mac;
};

View File

@@ -89,6 +89,7 @@ namespace AlibabaCloud
std::string itemTitle;
bool beMember;
std::string productionPlace;
bool beClearance;
std::string forestFirstId;
int actionPrice;
std::string rank;

View File

@@ -42,6 +42,7 @@ namespace AlibabaCloud
long height;
std::string eslSize;
std::string scene;
std::string templateSceneId;
std::string eslType;
long width;
std::string templateId;

View File

@@ -0,0 +1,45 @@
/*
* 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_CLOUDESL_MODEL_GETADDMATERIALSTATUSREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_GETADDMATERIALSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT GetAddMaterialStatusRequest : public RpcServiceRequest
{
public:
GetAddMaterialStatusRequest();
~GetAddMaterialStatusRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETADDMATERIALSTATUSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_CLOUDESL_MODEL_GETADDMATERIALSTATUSRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_GETADDMATERIALSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT GetAddMaterialStatusResult : public ServiceResult
{
public:
GetAddMaterialStatusResult();
explicit GetAddMaterialStatusResult(const std::string &payload);
~GetAddMaterialStatusResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETADDMATERIALSTATUSRESULT_H_

View File

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

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_GETESLDEVICESRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_GETESLDEVICESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT GetEslDevicesResult : public ServiceResult
{
public:
GetEslDevicesResult();
explicit GetEslDevicesResult(const std::string &payload);
~GetEslDevicesResult();
std::string getEslBarCode()const;
std::string getType()const;
std::string getMessage()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string eslBarCode_;
std::string type_;
std::string message_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETESLDEVICESRESULT_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_CLOUDESL_MODEL_QUERYCONTAINERLISTREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYCONTAINERLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT QueryContainerListRequest : public RpcServiceRequest
{
public:
QueryContainerListRequest();
~QueryContainerListRequest();
std::string getLayoutId()const;
void setLayoutId(const std::string& layoutId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string layoutId_;
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYCONTAINERLISTREQUEST_H_

View File

@@ -0,0 +1,85 @@
/*
* 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_CLOUDESL_MODEL_QUERYCONTAINERLISTRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYCONTAINERLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT QueryContainerListResult : public ServiceResult
{
public:
struct Container
{
int leftPx;
std::string groupName;
std::string demoTemplateName;
std::string description;
std::string containerId;
std::string containerName;
std::string demoTemplateId;
int widthPx;
int heightPx;
int topPx;
std::string groupId;
};
QueryContainerListResult();
explicit QueryContainerListResult(const std::string &payload);
~QueryContainerListResult();
int getTotalCount()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<Container> getContainerList()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string message_;
int pageSize_;
int pageNumber_;
std::vector<Container> containerList_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYCONTAINERLISTRESULT_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_CLOUDESL_MODEL_QUERYLAYOUTBYDEVICEREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTBYDEVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT QueryLayoutByDeviceRequest : public RpcServiceRequest
{
public:
QueryLayoutByDeviceRequest();
~QueryLayoutByDeviceRequest();
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getTemplateVersion()const;
void setTemplateVersion(const std::string& templateVersion);
std::string getEslBarCode()const;
void setEslBarCode(const std::string& eslBarCode);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getEslModelId()const;
void setEslModelId(const std::string& eslModelId);
private:
std::string storeId_;
int pageNumber_;
std::string templateVersion_;
std::string eslBarCode_;
int pageSize_;
std::string eslModelId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTBYDEVICEREQUEST_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_CLOUDESL_MODEL_QUERYLAYOUTBYDEVICERESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTBYDEVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT QueryLayoutByDeviceResult : public ServiceResult
{
public:
struct Layout
{
std::string brand;
bool isBind;
std::string description;
std::string layoutId;
std::string layoutName;
std::string basePic;
std::string layoutTemplateId;
};
QueryLayoutByDeviceResult();
explicit QueryLayoutByDeviceResult(const std::string &payload);
~QueryLayoutByDeviceResult();
int getTotalCount()const;
std::vector<Layout> getLayoutList()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<Layout> layoutList_;
std::string message_;
int pageSize_;
int pageNumber_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTBYDEVICERESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTDETAILREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT QueryLayoutDetailRequest : public RpcServiceRequest
{
public:
QueryLayoutDetailRequest();
~QueryLayoutDetailRequest();
long getLayoutId()const;
void setLayoutId(long layoutId);
private:
long layoutId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTDETAILREQUEST_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_CLOUDESL_MODEL_QUERYLAYOUTDETAILRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT QueryLayoutDetailResult : public ServiceResult
{
public:
QueryLayoutDetailResult();
explicit QueryLayoutDetailResult(const std::string &payload);
~QueryLayoutDetailResult();
std::string getDescription()const;
std::string getMessage()const;
std::string getEslModelId()const;
long getLayoutId()const;
std::string getTemplateVersion()const;
std::string getDynamicMessage()const;
std::string getBrandId()const;
std::string getCode()const;
long getLayoutTemplateId()const;
bool getSuccess()const;
std::string getLayoutName()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
protected:
void parse(const std::string &payload);
private:
std::string description_;
std::string message_;
std::string eslModelId_;
long layoutId_;
std::string templateVersion_;
std::string dynamicMessage_;
std::string brandId_;
std::string code_;
long layoutTemplateId_;
bool success_;
std::string layoutName_;
std::string dynamicCode_;
std::string errorCode_;
std::string errorMessage_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYLAYOUTDETAILRESULT_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_CLOUDESL_MODEL_QUERYTEMPLATEGROUPLISTREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATEGROUPLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT QueryTemplateGroupListRequest : public RpcServiceRequest
{
public:
QueryTemplateGroupListRequest();
~QueryTemplateGroupListRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getTemplateVersion()const;
void setTemplateVersion(const std::string& templateVersion);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getEslModelId()const;
void setEslModelId(const std::string& eslModelId);
int getWidthPx()const;
void setWidthPx(int widthPx);
std::string getGroupIds()const;
void setGroupIds(const std::string& groupIds);
int getHeightPx()const;
void setHeightPx(int heightPx);
private:
int pageNumber_;
std::string templateVersion_;
int pageSize_;
std::string eslModelId_;
int widthPx_;
std::string groupIds_;
int heightPx_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATEGROUPLISTREQUEST_H_

View File

@@ -0,0 +1,80 @@
/*
* 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_CLOUDESL_MODEL_QUERYTEMPLATEGROUPLISTRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATEGROUPLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT QueryTemplateGroupListResult : public ServiceResult
{
public:
struct TemplateGroup
{
std::string groupName;
std::string relation;
std::string description;
int widthPx;
int heightPx;
std::string groupId;
};
QueryTemplateGroupListResult();
explicit QueryTemplateGroupListResult(const std::string &payload);
~QueryTemplateGroupListResult();
int getTotalCount()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
std::string getDynamicCode()const;
std::vector<TemplateGroup> getTemplateGroupList()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string message_;
int pageSize_;
int pageNumber_;
std::string dynamicCode_;
std::vector<TemplateGroup> templateGroupList_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATEGROUPLISTRESULT_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_CLOUDESL_MODEL_QUERYTEMPLATELISTBYGROUPIDREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATELISTBYGROUPIDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT QueryTemplateListByGroupIdRequest : public RpcServiceRequest
{
public:
QueryTemplateListByGroupIdRequest();
~QueryTemplateListByGroupIdRequest();
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string groupId_;
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATELISTBYGROUPIDREQUEST_H_

View File

@@ -0,0 +1,88 @@
/*
* 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_CLOUDESL_MODEL_QUERYTEMPLATELISTBYGROUPIDRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATELISTBYGROUPIDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT QueryTemplateListByGroupIdResult : public ServiceResult
{
public:
struct _Template
{
std::string templateVersion;
std::string basePicture;
std::string scene;
std::string templateSceneId;
std::string groupId;
std::string brand;
bool relation;
std::string layout;
std::string templateName;
long height;
std::string eslSize;
std::string eslType;
long width;
std::string templateId;
};
QueryTemplateListByGroupIdResult();
explicit QueryTemplateListByGroupIdResult(const std::string &payload);
~QueryTemplateListByGroupIdResult();
int getTotalCount()const;
std::vector<_Template> getTemplateList()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<_Template> templateList_;
std::string message_;
int pageSize_;
int pageNumber_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_QUERYTEMPLATELISTBYGROUPIDRESULT_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_CLOUDESL_MODEL_SAVELAYOUTREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_SAVELAYOUTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT SaveLayoutRequest : public RpcServiceRequest
{
public:
SaveLayoutRequest();
~SaveLayoutRequest();
std::string getLayoutId()const;
void setLayoutId(const std::string& layoutId);
std::string getTemplateVersion()const;
void setTemplateVersion(const std::string& templateVersion);
std::string getLayoutName()const;
void setLayoutName(const std::string& layoutName);
std::string getEslModelId()const;
void setEslModelId(const std::string& eslModelId);
private:
std::string layoutId_;
std::string templateVersion_;
std::string layoutName_;
std::string eslModelId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_SAVELAYOUTREQUEST_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_CLOUDESL_MODEL_SAVELAYOUTRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_SAVELAYOUTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT SaveLayoutResult : public ServiceResult
{
public:
SaveLayoutResult();
explicit SaveLayoutResult(const std::string &payload);
~SaveLayoutResult();
std::string getMessage()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_SAVELAYOUTRESULT_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_CLOUDESL_MODEL_SAVETEMPLATEGROUPREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_SAVETEMPLATEGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT SaveTemplateGroupRequest : public RpcServiceRequest
{
public:
SaveTemplateGroupRequest();
~SaveTemplateGroupRequest();
std::string getTemplateVersion()const;
void setTemplateVersion(const std::string& templateVersion);
std::string getEslModelId()const;
void setEslModelId(const std::string& eslModelId);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
int getWidthPx()const;
void setWidthPx(int widthPx);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
int getHeightPx()const;
void setHeightPx(int heightPx);
private:
std::string templateVersion_;
std::string eslModelId_;
std::string groupId_;
int widthPx_;
std::string groupName_;
int heightPx_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_SAVETEMPLATEGROUPREQUEST_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_CLOUDESL_MODEL_SAVETEMPLATEGROUPRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_SAVETEMPLATEGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT SaveTemplateGroupResult : public ServiceResult
{
public:
SaveTemplateGroupResult();
explicit SaveTemplateGroupResult(const std::string &payload);
~SaveTemplateGroupResult();
std::string getMessage()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_SAVETEMPLATEGROUPRESULT_H_

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getContainerName()const;
void setContainerName(const std::string& containerName);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getLayer()const;
@@ -52,6 +54,7 @@ namespace AlibabaCloud
private:
std::string extraParams_;
std::string containerName_;
std::string storeId_;
int layer_;
std::string eslBarCode_;

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_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT UpdateCompanyTemplateRequest : public RpcServiceRequest
{
public:
UpdateCompanyTemplateRequest();
~UpdateCompanyTemplateRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getScene()const;
void setScene(const std::string& scene);
std::string getTemplateVersion()const;
void setTemplateVersion(const std::string& templateVersion);
std::string getTemplateName()const;
void setTemplateName(const std::string& templateName);
std::string getTemplateSceneId()const;
void setTemplateSceneId(const std::string& templateSceneId);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
private:
std::string extraParams_;
std::string scene_;
std::string templateVersion_;
std::string templateName_;
std::string templateSceneId_;
std::string templateId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEREQUEST_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_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATERESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT UpdateCompanyTemplateResult : public ServiceResult
{
public:
UpdateCompanyTemplateResult();
explicit UpdateCompanyTemplateResult(const std::string &payload);
~UpdateCompanyTemplateResult();
std::string getMessage()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEVIEWREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEVIEWREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT UpdateCompanyTemplateViewRequest : public RpcServiceRequest
{
public:
UpdateCompanyTemplateViewRequest();
~UpdateCompanyTemplateViewRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getData()const;
void setData(const std::string& data);
private:
std::string extraParams_;
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEVIEWREQUEST_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_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEVIEWRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEVIEWRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT UpdateCompanyTemplateViewResult : public ServiceResult
{
public:
UpdateCompanyTemplateViewResult();
explicit UpdateCompanyTemplateViewResult(const std::string &payload);
~UpdateCompanyTemplateViewResult();
std::string getMessage()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATECOMPANYTEMPLATEVIEWRESULT_H_

View File

@@ -411,6 +411,42 @@ CloudeslClient::BatchUpdateEventOutcomeCallable CloudeslClient::batchUpdateEvent
return task->get_future();
}
CloudeslClient::BindDeviceLayoutOutcome CloudeslClient::bindDeviceLayout(const BindDeviceLayoutRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BindDeviceLayoutOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BindDeviceLayoutOutcome(BindDeviceLayoutResult(outcome.result()));
else
return BindDeviceLayoutOutcome(outcome.error());
}
void CloudeslClient::bindDeviceLayoutAsync(const BindDeviceLayoutRequest& request, const BindDeviceLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, bindDeviceLayout(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::BindDeviceLayoutOutcomeCallable CloudeslClient::bindDeviceLayoutCallable(const BindDeviceLayoutRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BindDeviceLayoutOutcome()>>(
[this, request]()
{
return this->bindDeviceLayout(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::BindEslDeviceOutcome CloudeslClient::bindEslDevice(const BindEslDeviceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -483,6 +519,114 @@ CloudeslClient::CheckServiceLinkedRoleForDeletingOutcomeCallable CloudeslClient:
return task->get_future();
}
CloudeslClient::CopyCompanyTemplateViewOutcome CloudeslClient::copyCompanyTemplateView(const CopyCompanyTemplateViewRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CopyCompanyTemplateViewOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CopyCompanyTemplateViewOutcome(CopyCompanyTemplateViewResult(outcome.result()));
else
return CopyCompanyTemplateViewOutcome(outcome.error());
}
void CloudeslClient::copyCompanyTemplateViewAsync(const CopyCompanyTemplateViewRequest& request, const CopyCompanyTemplateViewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, copyCompanyTemplateView(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::CopyCompanyTemplateViewOutcomeCallable CloudeslClient::copyCompanyTemplateViewCallable(const CopyCompanyTemplateViewRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CopyCompanyTemplateViewOutcome()>>(
[this, request]()
{
return this->copyCompanyTemplateView(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::CopyLayoutOutcome CloudeslClient::copyLayout(const CopyLayoutRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CopyLayoutOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CopyLayoutOutcome(CopyLayoutResult(outcome.result()));
else
return CopyLayoutOutcome(outcome.error());
}
void CloudeslClient::copyLayoutAsync(const CopyLayoutRequest& request, const CopyLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, copyLayout(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::CopyLayoutOutcomeCallable CloudeslClient::copyLayoutCallable(const CopyLayoutRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CopyLayoutOutcome()>>(
[this, request]()
{
return this->copyLayout(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::CopyTemplateGroupOutcome CloudeslClient::copyTemplateGroup(const CopyTemplateGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CopyTemplateGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CopyTemplateGroupOutcome(CopyTemplateGroupResult(outcome.result()));
else
return CopyTemplateGroupOutcome(outcome.error());
}
void CloudeslClient::copyTemplateGroupAsync(const CopyTemplateGroupRequest& request, const CopyTemplateGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, copyTemplateGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::CopyTemplateGroupOutcomeCallable CloudeslClient::copyTemplateGroupCallable(const CopyTemplateGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CopyTemplateGroupOutcome()>>(
[this, request]()
{
return this->copyTemplateGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::CreateStoreOutcome CloudeslClient::createStore(const CreateStoreRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -627,6 +771,42 @@ CloudeslClient::DeleteItemOutcomeCallable CloudeslClient::deleteItemCallable(con
return task->get_future();
}
CloudeslClient::DeleteLayoutOutcome CloudeslClient::deleteLayout(const DeleteLayoutRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteLayoutOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteLayoutOutcome(DeleteLayoutResult(outcome.result()));
else
return DeleteLayoutOutcome(outcome.error());
}
void CloudeslClient::deleteLayoutAsync(const DeleteLayoutRequest& request, const DeleteLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteLayout(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::DeleteLayoutOutcomeCallable CloudeslClient::deleteLayoutCallable(const DeleteLayoutRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteLayoutOutcome()>>(
[this, request]()
{
return this->deleteLayout(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::DeleteMaterialOutcome CloudeslClient::deleteMaterial(const DeleteMaterialRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -699,6 +879,42 @@ CloudeslClient::DeleteStoreOutcomeCallable CloudeslClient::deleteStoreCallable(c
return task->get_future();
}
CloudeslClient::DeleteTemplateGroupOutcome CloudeslClient::deleteTemplateGroup(const DeleteTemplateGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteTemplateGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteTemplateGroupOutcome(DeleteTemplateGroupResult(outcome.result()));
else
return DeleteTemplateGroupOutcome(outcome.error());
}
void CloudeslClient::deleteTemplateGroupAsync(const DeleteTemplateGroupRequest& request, const DeleteTemplateGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteTemplateGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::DeleteTemplateGroupOutcomeCallable CloudeslClient::deleteTemplateGroupCallable(const DeleteTemplateGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteTemplateGroupOutcome()>>(
[this, request]()
{
return this->deleteTemplateGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::DeleteUserOutcome CloudeslClient::deleteUser(const DeleteUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1491,6 +1707,42 @@ CloudeslClient::ExportEslDevicesOutcomeCallable CloudeslClient::exportEslDevices
return task->get_future();
}
CloudeslClient::GetAddMaterialStatusOutcome CloudeslClient::getAddMaterialStatus(const GetAddMaterialStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAddMaterialStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAddMaterialStatusOutcome(GetAddMaterialStatusResult(outcome.result()));
else
return GetAddMaterialStatusOutcome(outcome.error());
}
void CloudeslClient::getAddMaterialStatusAsync(const GetAddMaterialStatusRequest& request, const GetAddMaterialStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAddMaterialStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::GetAddMaterialStatusOutcomeCallable CloudeslClient::getAddMaterialStatusCallable(const GetAddMaterialStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAddMaterialStatusOutcome()>>(
[this, request]()
{
return this->getAddMaterialStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::GetCompanyTemplatePictureOutcome CloudeslClient::getCompanyTemplatePicture(const GetCompanyTemplatePictureRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1599,6 +1851,42 @@ CloudeslClient::GetCompanyTemplatePictureNewOutcomeCallable CloudeslClient::getC
return task->get_future();
}
CloudeslClient::GetEslDevicesOutcome CloudeslClient::getEslDevices(const GetEslDevicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetEslDevicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetEslDevicesOutcome(GetEslDevicesResult(outcome.result()));
else
return GetEslDevicesOutcome(outcome.error());
}
void CloudeslClient::getEslDevicesAsync(const GetEslDevicesRequest& request, const GetEslDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getEslDevices(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::GetEslDevicesOutcomeCallable CloudeslClient::getEslDevicesCallable(const GetEslDevicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetEslDevicesOutcome()>>(
[this, request]()
{
return this->getEslDevices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::GetItemMaterialOutcome CloudeslClient::getItemMaterial(const GetItemMaterialRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1671,6 +1959,258 @@ CloudeslClient::GetUserOutcomeCallable CloudeslClient::getUserCallable(const Get
return task->get_future();
}
CloudeslClient::QueryContainerListOutcome CloudeslClient::queryContainerList(const QueryContainerListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryContainerListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryContainerListOutcome(QueryContainerListResult(outcome.result()));
else
return QueryContainerListOutcome(outcome.error());
}
void CloudeslClient::queryContainerListAsync(const QueryContainerListRequest& request, const QueryContainerListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryContainerList(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::QueryContainerListOutcomeCallable CloudeslClient::queryContainerListCallable(const QueryContainerListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryContainerListOutcome()>>(
[this, request]()
{
return this->queryContainerList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::QueryLayoutByDeviceOutcome CloudeslClient::queryLayoutByDevice(const QueryLayoutByDeviceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryLayoutByDeviceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryLayoutByDeviceOutcome(QueryLayoutByDeviceResult(outcome.result()));
else
return QueryLayoutByDeviceOutcome(outcome.error());
}
void CloudeslClient::queryLayoutByDeviceAsync(const QueryLayoutByDeviceRequest& request, const QueryLayoutByDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryLayoutByDevice(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::QueryLayoutByDeviceOutcomeCallable CloudeslClient::queryLayoutByDeviceCallable(const QueryLayoutByDeviceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryLayoutByDeviceOutcome()>>(
[this, request]()
{
return this->queryLayoutByDevice(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::QueryLayoutDetailOutcome CloudeslClient::queryLayoutDetail(const QueryLayoutDetailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryLayoutDetailOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryLayoutDetailOutcome(QueryLayoutDetailResult(outcome.result()));
else
return QueryLayoutDetailOutcome(outcome.error());
}
void CloudeslClient::queryLayoutDetailAsync(const QueryLayoutDetailRequest& request, const QueryLayoutDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryLayoutDetail(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::QueryLayoutDetailOutcomeCallable CloudeslClient::queryLayoutDetailCallable(const QueryLayoutDetailRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryLayoutDetailOutcome()>>(
[this, request]()
{
return this->queryLayoutDetail(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::QueryTemplateGroupListOutcome CloudeslClient::queryTemplateGroupList(const QueryTemplateGroupListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryTemplateGroupListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryTemplateGroupListOutcome(QueryTemplateGroupListResult(outcome.result()));
else
return QueryTemplateGroupListOutcome(outcome.error());
}
void CloudeslClient::queryTemplateGroupListAsync(const QueryTemplateGroupListRequest& request, const QueryTemplateGroupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryTemplateGroupList(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::QueryTemplateGroupListOutcomeCallable CloudeslClient::queryTemplateGroupListCallable(const QueryTemplateGroupListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryTemplateGroupListOutcome()>>(
[this, request]()
{
return this->queryTemplateGroupList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::QueryTemplateListByGroupIdOutcome CloudeslClient::queryTemplateListByGroupId(const QueryTemplateListByGroupIdRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryTemplateListByGroupIdOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryTemplateListByGroupIdOutcome(QueryTemplateListByGroupIdResult(outcome.result()));
else
return QueryTemplateListByGroupIdOutcome(outcome.error());
}
void CloudeslClient::queryTemplateListByGroupIdAsync(const QueryTemplateListByGroupIdRequest& request, const QueryTemplateListByGroupIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryTemplateListByGroupId(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::QueryTemplateListByGroupIdOutcomeCallable CloudeslClient::queryTemplateListByGroupIdCallable(const QueryTemplateListByGroupIdRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryTemplateListByGroupIdOutcome()>>(
[this, request]()
{
return this->queryTemplateListByGroupId(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::SaveLayoutOutcome CloudeslClient::saveLayout(const SaveLayoutRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SaveLayoutOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SaveLayoutOutcome(SaveLayoutResult(outcome.result()));
else
return SaveLayoutOutcome(outcome.error());
}
void CloudeslClient::saveLayoutAsync(const SaveLayoutRequest& request, const SaveLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, saveLayout(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::SaveLayoutOutcomeCallable CloudeslClient::saveLayoutCallable(const SaveLayoutRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SaveLayoutOutcome()>>(
[this, request]()
{
return this->saveLayout(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::SaveTemplateGroupOutcome CloudeslClient::saveTemplateGroup(const SaveTemplateGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SaveTemplateGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SaveTemplateGroupOutcome(SaveTemplateGroupResult(outcome.result()));
else
return SaveTemplateGroupOutcome(outcome.error());
}
void CloudeslClient::saveTemplateGroupAsync(const SaveTemplateGroupRequest& request, const SaveTemplateGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, saveTemplateGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::SaveTemplateGroupOutcomeCallable CloudeslClient::saveTemplateGroupCallable(const SaveTemplateGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SaveTemplateGroupOutcome()>>(
[this, request]()
{
return this->saveTemplateGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::SyncAddMaterialOutcome CloudeslClient::syncAddMaterial(const SyncAddMaterialRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1779,6 +2319,78 @@ CloudeslClient::UnbindEslDeviceOutcomeCallable CloudeslClient::unbindEslDeviceCa
return task->get_future();
}
CloudeslClient::UpdateCompanyTemplateOutcome CloudeslClient::updateCompanyTemplate(const UpdateCompanyTemplateRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateCompanyTemplateOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateCompanyTemplateOutcome(UpdateCompanyTemplateResult(outcome.result()));
else
return UpdateCompanyTemplateOutcome(outcome.error());
}
void CloudeslClient::updateCompanyTemplateAsync(const UpdateCompanyTemplateRequest& request, const UpdateCompanyTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateCompanyTemplate(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::UpdateCompanyTemplateOutcomeCallable CloudeslClient::updateCompanyTemplateCallable(const UpdateCompanyTemplateRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateCompanyTemplateOutcome()>>(
[this, request]()
{
return this->updateCompanyTemplate(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::UpdateCompanyTemplateViewOutcome CloudeslClient::updateCompanyTemplateView(const UpdateCompanyTemplateViewRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateCompanyTemplateViewOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateCompanyTemplateViewOutcome(UpdateCompanyTemplateViewResult(outcome.result()));
else
return UpdateCompanyTemplateViewOutcome(outcome.error());
}
void CloudeslClient::updateCompanyTemplateViewAsync(const UpdateCompanyTemplateViewRequest& request, const UpdateCompanyTemplateViewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateCompanyTemplateView(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudeslClient::UpdateCompanyTemplateViewOutcomeCallable CloudeslClient::updateCompanyTemplateViewCallable(const UpdateCompanyTemplateViewRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateCompanyTemplateViewOutcome()>>(
[this, request]()
{
return this->updateCompanyTemplateView(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudeslClient::UpdateEslDeviceLightOutcome CloudeslClient::updateEslDeviceLight(const UpdateEslDeviceLightRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -137,6 +137,17 @@ void AddCompanyTemplateRequest::setTemplateName(const std::string& templateName)
setBodyParameter("TemplateName", templateName);
}
std::string AddCompanyTemplateRequest::getTemplateSceneId()const
{
return templateSceneId_;
}
void AddCompanyTemplateRequest::setTemplateSceneId(const std::string& templateSceneId)
{
templateSceneId_ = templateSceneId;
setBodyParameter("TemplateSceneId", templateSceneId);
}
bool AddCompanyTemplateRequest::getIfSourceCode()const
{
return ifSourceCode_;
@@ -148,6 +159,17 @@ void AddCompanyTemplateRequest::setIfSourceCode(bool ifSourceCode)
setBodyParameter("IfSourceCode", ifSourceCode ? "true" : "false");
}
std::string AddCompanyTemplateRequest::getGroupId()const
{
return groupId_;
}
void AddCompanyTemplateRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setBodyParameter("GroupId", groupId);
}
bool AddCompanyTemplateRequest::getIfMember()const
{
return ifMember_;

View File

@@ -126,6 +126,7 @@ void BatchInsertItemsRequest::setItemInfo(const std::vector<ItemInfo>& itemInfo)
setParameter(itemInfoObjStr + ".ItemPicUrl", itemInfoObj.itemPicUrl);
setParameter(itemInfoObjStr + ".ForestSecondId", itemInfoObj.forestSecondId);
setParameter(itemInfoObjStr + ".SupplierName", itemInfoObj.supplierName);
setParameter(itemInfoObjStr + ".BeClearance", itemInfoObj.beClearance ? "true" : "false");
setParameter(itemInfoObjStr + ".Material", itemInfoObj.material);
setParameter(itemInfoObjStr + ".ModelNumber", itemInfoObj.modelNumber);
setParameter(itemInfoObjStr + ".SaleSpec", itemInfoObj.saleSpec);

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/cloudesl/model/BindDeviceLayoutRequest.h>
using AlibabaCloud::Cloudesl::Model::BindDeviceLayoutRequest;
BindDeviceLayoutRequest::BindDeviceLayoutRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "BindDeviceLayout")
{
setMethod(HttpRequest::Method::Post);
}
BindDeviceLayoutRequest::~BindDeviceLayoutRequest()
{}
std::string BindDeviceLayoutRequest::getStoreId()const
{
return storeId_;
}
void BindDeviceLayoutRequest::setStoreId(const std::string& storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", storeId);
}
std::string BindDeviceLayoutRequest::getLayoutId()const
{
return layoutId_;
}
void BindDeviceLayoutRequest::setLayoutId(const std::string& layoutId)
{
layoutId_ = layoutId;
setBodyParameter("LayoutId", layoutId);
}
std::string BindDeviceLayoutRequest::getEslBarCode()const
{
return eslBarCode_;
}
void BindDeviceLayoutRequest::setEslBarCode(const std::string& eslBarCode)
{
eslBarCode_ = eslBarCode;
setBodyParameter("EslBarCode", eslBarCode);
}

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/cloudesl/model/BindDeviceLayoutResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
BindDeviceLayoutResult::BindDeviceLayoutResult() :
ServiceResult()
{}
BindDeviceLayoutResult::BindDeviceLayoutResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BindDeviceLayoutResult::~BindDeviceLayoutResult()
{}
void BindDeviceLayoutResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
}
std::string BindDeviceLayoutResult::getMessage()const
{
return message_;
}
std::string BindDeviceLayoutResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string BindDeviceLayoutResult::getErrorCode()const
{
return errorCode_;
}
std::string BindDeviceLayoutResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string BindDeviceLayoutResult::getErrorMessage()const
{
return errorMessage_;
}
std::string BindDeviceLayoutResult::getCode()const
{
return code_;
}
bool BindDeviceLayoutResult::getSuccess()const
{
return success_;
}

View File

@@ -38,6 +38,17 @@ void BindEslDeviceRequest::setExtraParams(const std::string& extraParams)
setBodyParameter("ExtraParams", extraParams);
}
std::string BindEslDeviceRequest::getContainerName()const
{
return containerName_;
}
void BindEslDeviceRequest::setContainerName(const std::string& containerName)
{
containerName_ = containerName;
setBodyParameter("ContainerName", containerName);
}
std::string BindEslDeviceRequest::getStoreId()const
{
return storeId_;
@@ -49,6 +60,17 @@ void BindEslDeviceRequest::setStoreId(const std::string& storeId)
setBodyParameter("StoreId", storeId);
}
std::string BindEslDeviceRequest::getLayoutId()const
{
return layoutId_;
}
void BindEslDeviceRequest::setLayoutId(const std::string& layoutId)
{
layoutId_ = layoutId;
setBodyParameter("LayoutId", layoutId);
}
int BindEslDeviceRequest::getLayer()const
{
return layer_;
@@ -71,6 +93,17 @@ void BindEslDeviceRequest::setEslBarCode(const std::string& eslBarCode)
setBodyParameter("EslBarCode", eslBarCode);
}
std::string BindEslDeviceRequest::getLayoutName()const
{
return layoutName_;
}
void BindEslDeviceRequest::setLayoutName(const std::string& layoutName)
{
layoutName_ = layoutName;
setBodyParameter("LayoutName", layoutName);
}
std::string BindEslDeviceRequest::getItemBarCode()const
{
return itemBarCode_;
@@ -104,3 +137,14 @@ void BindEslDeviceRequest::setShelf(const std::string& shelf)
setBodyParameter("Shelf", shelf);
}
std::string BindEslDeviceRequest::getContainerId()const
{
return containerId_;
}
void BindEslDeviceRequest::setContainerId(const std::string& containerId)
{
containerId_ = containerId;
setBodyParameter("ContainerId", containerId);
}

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/cloudesl/model/CopyCompanyTemplateViewRequest.h>
using AlibabaCloud::Cloudesl::Model::CopyCompanyTemplateViewRequest;
CopyCompanyTemplateViewRequest::CopyCompanyTemplateViewRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "CopyCompanyTemplateView")
{
setMethod(HttpRequest::Method::Post);
}
CopyCompanyTemplateViewRequest::~CopyCompanyTemplateViewRequest()
{}
std::string CopyCompanyTemplateViewRequest::getExtraParams()const
{
return extraParams_;
}
void CopyCompanyTemplateViewRequest::setExtraParams(const std::string& extraParams)
{
extraParams_ = extraParams;
setBodyParameter("ExtraParams", extraParams);
}
std::string CopyCompanyTemplateViewRequest::getTargetName()const
{
return targetName_;
}
void CopyCompanyTemplateViewRequest::setTargetName(const std::string& targetName)
{
targetName_ = targetName;
setBodyParameter("TargetName", targetName);
}
std::string CopyCompanyTemplateViewRequest::getModelId()const
{
return modelId_;
}
void CopyCompanyTemplateViewRequest::setModelId(const std::string& modelId)
{
modelId_ = modelId;
setBodyParameter("ModelId", modelId);
}
std::string CopyCompanyTemplateViewRequest::getTargetVersion()const
{
return targetVersion_;
}
void CopyCompanyTemplateViewRequest::setTargetVersion(const std::string& targetVersion)
{
targetVersion_ = targetVersion;
setBodyParameter("TargetVersion", targetVersion);
}
std::string CopyCompanyTemplateViewRequest::getTemplateId()const
{
return templateId_;
}
void CopyCompanyTemplateViewRequest::setTemplateId(const std::string& templateId)
{
templateId_ = templateId;
setBodyParameter("TemplateId", templateId);
}
long CopyCompanyTemplateViewRequest::getTargetGroupId()const
{
return targetGroupId_;
}
void CopyCompanyTemplateViewRequest::setTargetGroupId(long targetGroupId)
{
targetGroupId_ = targetGroupId;
setBodyParameter("TargetGroupId", std::to_string(targetGroupId));
}

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/cloudesl/model/CopyCompanyTemplateViewResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
CopyCompanyTemplateViewResult::CopyCompanyTemplateViewResult() :
ServiceResult()
{}
CopyCompanyTemplateViewResult::CopyCompanyTemplateViewResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CopyCompanyTemplateViewResult::~CopyCompanyTemplateViewResult()
{}
void CopyCompanyTemplateViewResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
}
std::string CopyCompanyTemplateViewResult::getMessage()const
{
return message_;
}
std::string CopyCompanyTemplateViewResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string CopyCompanyTemplateViewResult::getErrorCode()const
{
return errorCode_;
}
std::string CopyCompanyTemplateViewResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string CopyCompanyTemplateViewResult::getErrorMessage()const
{
return errorMessage_;
}
std::string CopyCompanyTemplateViewResult::getCode()const
{
return code_;
}
bool CopyCompanyTemplateViewResult::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/cloudesl/model/CopyLayoutRequest.h>
using AlibabaCloud::Cloudesl::Model::CopyLayoutRequest;
CopyLayoutRequest::CopyLayoutRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "CopyLayout")
{
setMethod(HttpRequest::Method::Post);
}
CopyLayoutRequest::~CopyLayoutRequest()
{}
long CopyLayoutRequest::getLayoutId()const
{
return layoutId_;
}
void CopyLayoutRequest::setLayoutId(long layoutId)
{
layoutId_ = layoutId;
setBodyParameter("LayoutId", std::to_string(layoutId));
}
std::string CopyLayoutRequest::getTemplateVersion()const
{
return templateVersion_;
}
void CopyLayoutRequest::setTemplateVersion(const std::string& templateVersion)
{
templateVersion_ = templateVersion;
setBodyParameter("TemplateVersion", templateVersion);
}
std::string CopyLayoutRequest::getEslModelId()const
{
return eslModelId_;
}
void CopyLayoutRequest::setEslModelId(const std::string& eslModelId)
{
eslModelId_ = eslModelId;
setBodyParameter("EslModelId", eslModelId);
}

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/cloudesl/model/CopyLayoutResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
CopyLayoutResult::CopyLayoutResult() :
ServiceResult()
{}
CopyLayoutResult::CopyLayoutResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CopyLayoutResult::~CopyLayoutResult()
{}
void CopyLayoutResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
}
std::string CopyLayoutResult::getMessage()const
{
return message_;
}
std::string CopyLayoutResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string CopyLayoutResult::getErrorCode()const
{
return errorCode_;
}
std::string CopyLayoutResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string CopyLayoutResult::getErrorMessage()const
{
return errorMessage_;
}
std::string CopyLayoutResult::getCode()const
{
return code_;
}
bool CopyLayoutResult::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/cloudesl/model/CopyTemplateGroupRequest.h>
using AlibabaCloud::Cloudesl::Model::CopyTemplateGroupRequest;
CopyTemplateGroupRequest::CopyTemplateGroupRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "CopyTemplateGroup")
{
setMethod(HttpRequest::Method::Post);
}
CopyTemplateGroupRequest::~CopyTemplateGroupRequest()
{}
std::string CopyTemplateGroupRequest::getGroupId()const
{
return groupId_;
}
void CopyTemplateGroupRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setBodyParameter("GroupId", groupId);
}
std::string CopyTemplateGroupRequest::getTemplateVersion()const
{
return templateVersion_;
}
void CopyTemplateGroupRequest::setTemplateVersion(const std::string& templateVersion)
{
templateVersion_ = templateVersion;
setBodyParameter("TemplateVersion", templateVersion);
}
std::string CopyTemplateGroupRequest::getEslModelId()const
{
return eslModelId_;
}
void CopyTemplateGroupRequest::setEslModelId(const std::string& eslModelId)
{
eslModelId_ = eslModelId;
setBodyParameter("EslModelId", eslModelId);
}

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/cloudesl/model/CopyTemplateGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
CopyTemplateGroupResult::CopyTemplateGroupResult() :
ServiceResult()
{}
CopyTemplateGroupResult::CopyTemplateGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CopyTemplateGroupResult::~CopyTemplateGroupResult()
{}
void CopyTemplateGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
}
std::string CopyTemplateGroupResult::getMessage()const
{
return message_;
}
std::string CopyTemplateGroupResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string CopyTemplateGroupResult::getErrorCode()const
{
return errorCode_;
}
std::string CopyTemplateGroupResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string CopyTemplateGroupResult::getErrorMessage()const
{
return errorMessage_;
}
std::string CopyTemplateGroupResult::getCode()const
{
return code_;
}
bool CopyTemplateGroupResult::getSuccess()const
{
return success_;
}

View File

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

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/cloudesl/model/DeleteLayoutResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
DeleteLayoutResult::DeleteLayoutResult() :
ServiceResult()
{}
DeleteLayoutResult::DeleteLayoutResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteLayoutResult::~DeleteLayoutResult()
{}
void DeleteLayoutResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
}
std::string DeleteLayoutResult::getMessage()const
{
return message_;
}
std::string DeleteLayoutResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string DeleteLayoutResult::getErrorCode()const
{
return errorCode_;
}
std::string DeleteLayoutResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string DeleteLayoutResult::getErrorMessage()const
{
return errorMessage_;
}
std::string DeleteLayoutResult::getCode()const
{
return code_;
}
bool DeleteLayoutResult::getSuccess()const
{
return success_;
}

View File

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

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/cloudesl/model/DeleteTemplateGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
DeleteTemplateGroupResult::DeleteTemplateGroupResult() :
ServiceResult()
{}
DeleteTemplateGroupResult::DeleteTemplateGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTemplateGroupResult::~DeleteTemplateGroupResult()
{}
void DeleteTemplateGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
}
std::string DeleteTemplateGroupResult::getMessage()const
{
return message_;
}
std::string DeleteTemplateGroupResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string DeleteTemplateGroupResult::getErrorCode()const
{
return errorCode_;
}
std::string DeleteTemplateGroupResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string DeleteTemplateGroupResult::getErrorMessage()const
{
return errorMessage_;
}
std::string DeleteTemplateGroupResult::getCode()const
{
return code_;
}
bool DeleteTemplateGroupResult::getSuccess()const
{
return success_;
}

View File

@@ -43,72 +43,74 @@ void DescribeBindersResult::parse(const std::string &payload)
for (auto valueEslItemBindInfosEslItemBindInfo : allEslItemBindInfosNode)
{
EslItemBindInfo eslItemBindInfosObject;
if(!valueEslItemBindInfosEslItemBindInfo["PromotionText"].isNull())
eslItemBindInfosObject.promotionText = valueEslItemBindInfosEslItemBindInfo["PromotionText"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["BindId"].isNull())
eslItemBindInfosObject.bindId = valueEslItemBindInfosEslItemBindInfo["BindId"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["StoreId"].isNull())
eslItemBindInfosObject.storeId = valueEslItemBindInfosEslItemBindInfo["StoreId"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["TemplateId"].isNull())
eslItemBindInfosObject.templateId = valueEslItemBindInfosEslItemBindInfo["TemplateId"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["EslPic"].isNull())
eslItemBindInfosObject.eslPic = valueEslItemBindInfosEslItemBindInfo["EslPic"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["EslStatus"].isNull())
eslItemBindInfosObject.eslStatus = valueEslItemBindInfosEslItemBindInfo["EslStatus"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["ItemTitle"].isNull())
eslItemBindInfosObject.itemTitle = valueEslItemBindInfosEslItemBindInfo["ItemTitle"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["OriginalPrice"].isNull())
eslItemBindInfosObject.originalPrice = valueEslItemBindInfosEslItemBindInfo["OriginalPrice"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["TemplateSceneId"].isNull())
eslItemBindInfosObject.templateSceneId = valueEslItemBindInfosEslItemBindInfo["TemplateSceneId"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["GmtModified"].isNull())
eslItemBindInfosObject.gmtModified = valueEslItemBindInfosEslItemBindInfo["GmtModified"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["ActionPrice"].isNull())
eslItemBindInfosObject.actionPrice = valueEslItemBindInfosEslItemBindInfo["ActionPrice"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["PriceUnit"].isNull())
eslItemBindInfosObject.priceUnit = valueEslItemBindInfosEslItemBindInfo["PriceUnit"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["EslConnectAp"].isNull())
eslItemBindInfosObject.eslConnectAp = valueEslItemBindInfosEslItemBindInfo["EslConnectAp"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["SkuId"].isNull())
eslItemBindInfosObject.skuId = valueEslItemBindInfosEslItemBindInfo["SkuId"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["EslBarCode"].isNull())
eslItemBindInfosObject.eslBarCode = valueEslItemBindInfosEslItemBindInfo["EslBarCode"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["ItemShortTitle"].isNull())
eslItemBindInfosObject.itemShortTitle = valueEslItemBindInfosEslItemBindInfo["ItemShortTitle"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["BePromotion"].isNull())
eslItemBindInfosObject.bePromotion = valueEslItemBindInfosEslItemBindInfo["BePromotion"].asString() == "true";
if(!valueEslItemBindInfosEslItemBindInfo["EslModel"].isNull())
eslItemBindInfosObject.eslModel = valueEslItemBindInfosEslItemBindInfo["EslModel"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["ItemBarCode"].isNull())
eslItemBindInfosObject.itemBarCode = valueEslItemBindInfosEslItemBindInfo["ItemBarCode"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["ItemId"].isNull())
eslItemBindInfosObject.itemId = valueEslItemBindInfosEslItemBindInfo["ItemId"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["TemplateSceneId"].isNull())
eslItemBindInfosObject.templateSceneId = valueEslItemBindInfosEslItemBindInfo["TemplateSceneId"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["ActionPrice"].isNull())
eslItemBindInfosObject.actionPrice = valueEslItemBindInfosEslItemBindInfo["ActionPrice"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["ItemTitle"].isNull())
eslItemBindInfosObject.itemTitle = valueEslItemBindInfosEslItemBindInfo["ItemTitle"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["PromotionStart"].isNull())
eslItemBindInfosObject.promotionStart = valueEslItemBindInfosEslItemBindInfo["PromotionStart"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["PriceUnit"].isNull())
eslItemBindInfosObject.priceUnit = valueEslItemBindInfosEslItemBindInfo["PriceUnit"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["OriginalPrice"].isNull())
eslItemBindInfosObject.originalPrice = valueEslItemBindInfosEslItemBindInfo["OriginalPrice"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["ItemId"].isNull())
eslItemBindInfosObject.itemId = valueEslItemBindInfosEslItemBindInfo["ItemId"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["GmtModified"].isNull())
eslItemBindInfosObject.gmtModified = valueEslItemBindInfosEslItemBindInfo["GmtModified"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["EslPic"].isNull())
eslItemBindInfosObject.eslPic = valueEslItemBindInfosEslItemBindInfo["EslPic"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["StoreId"].isNull())
eslItemBindInfosObject.storeId = valueEslItemBindInfosEslItemBindInfo["StoreId"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["ItemShortTitle"].isNull())
eslItemBindInfosObject.itemShortTitle = valueEslItemBindInfosEslItemBindInfo["ItemShortTitle"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["BindId"].isNull())
eslItemBindInfosObject.bindId = valueEslItemBindInfosEslItemBindInfo["BindId"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["PromotionText"].isNull())
eslItemBindInfosObject.promotionText = valueEslItemBindInfosEslItemBindInfo["PromotionText"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["EslModel"].isNull())
eslItemBindInfosObject.eslModel = valueEslItemBindInfosEslItemBindInfo["EslModel"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["BePromotion"].isNull())
eslItemBindInfosObject.bePromotion = valueEslItemBindInfosEslItemBindInfo["BePromotion"].asString() == "true";
if(!valueEslItemBindInfosEslItemBindInfo["SkuId"].isNull())
eslItemBindInfosObject.skuId = valueEslItemBindInfosEslItemBindInfo["SkuId"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["EslConnectAp"].isNull())
eslItemBindInfosObject.eslConnectAp = valueEslItemBindInfosEslItemBindInfo["EslConnectAp"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["EslStatus"].isNull())
eslItemBindInfosObject.eslStatus = valueEslItemBindInfosEslItemBindInfo["EslStatus"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["TemplateId"].isNull())
eslItemBindInfosObject.templateId = valueEslItemBindInfosEslItemBindInfo["TemplateId"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["PromotionEnd"].isNull())
eslItemBindInfosObject.promotionEnd = valueEslItemBindInfosEslItemBindInfo["PromotionEnd"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["ItemBarCode"].isNull())
eslItemBindInfosObject.itemBarCode = valueEslItemBindInfosEslItemBindInfo["ItemBarCode"].asString();
if(!valueEslItemBindInfosEslItemBindInfo["ContainerName"].isNull())
eslItemBindInfosObject.containerName = valueEslItemBindInfosEslItemBindInfo["ContainerName"].asString();
eslItemBindInfos_.push_back(eslItemBindInfosObject);
}
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
}

View File

@@ -67,6 +67,10 @@ void DescribeEslDevicesResult::parse(const std::string &payload)
eslDevicesObject.mac = valueEslDevicesEslDeviceInfo["Mac"].asString();
if(!valueEslDevicesEslDeviceInfo["TypeEncode"].isNull())
eslDevicesObject.typeEncode = valueEslDevicesEslDeviceInfo["TypeEncode"].asString();
if(!valueEslDevicesEslDeviceInfo["LayoutId"].isNull())
eslDevicesObject.layoutId = valueEslDevicesEslDeviceInfo["LayoutId"].asString();
if(!valueEslDevicesEslDeviceInfo["LayoutName"].isNull())
eslDevicesObject.layoutName = valueEslDevicesEslDeviceInfo["LayoutName"].asString();
eslDevices_.push_back(eslDevicesObject);
}
if(!value["ErrorMessage"].isNull())

View File

@@ -173,6 +173,8 @@ void DescribeItemsResult::parse(const std::string &payload)
itemsObject.promotionEnd = valueItemsItemInfo["PromotionEnd"].asString();
if(!valueItemsItemInfo["ItemBarCode"].isNull())
itemsObject.itemBarCode = valueItemsItemInfo["ItemBarCode"].asString();
if(!valueItemsItemInfo["BeClearance"].isNull())
itemsObject.beClearance = valueItemsItemInfo["BeClearance"].asString() == "true";
items_.push_back(itemsObject);
}
if(!value["TemplateSceneId"].isNull())

View File

@@ -65,6 +65,8 @@ void DescribeTemplateByModelResult::parse(const std::string &payload)
itemsObject.scene = valueItemsSelectItemInfo["Scene"].asString();
if(!valueItemsSelectItemInfo["Brand"].isNull())
itemsObject.brand = valueItemsSelectItemInfo["Brand"].asString();
if(!valueItemsSelectItemInfo["TemplateSceneId"].isNull())
itemsObject.templateSceneId = valueItemsSelectItemInfo["TemplateSceneId"].asString();
items_.push_back(itemsObject);
}
if(!value["ErrorMessage"].isNull())

View File

@@ -0,0 +1,29 @@
/*
* 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/cloudesl/model/GetAddMaterialStatusRequest.h>
using AlibabaCloud::Cloudesl::Model::GetAddMaterialStatusRequest;
GetAddMaterialStatusRequest::GetAddMaterialStatusRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "GetAddMaterialStatus")
{
setMethod(HttpRequest::Method::Post);
}
GetAddMaterialStatusRequest::~GetAddMaterialStatusRequest()
{}

View File

@@ -0,0 +1,44 @@
/*
* 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/cloudesl/model/GetAddMaterialStatusResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
GetAddMaterialStatusResult::GetAddMaterialStatusResult() :
ServiceResult()
{}
GetAddMaterialStatusResult::GetAddMaterialStatusResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAddMaterialStatusResult::~GetAddMaterialStatusResult()
{}
void GetAddMaterialStatusResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cloudesl/model/GetEslDevicesRequest.h>
using AlibabaCloud::Cloudesl::Model::GetEslDevicesRequest;
GetEslDevicesRequest::GetEslDevicesRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "GetEslDevices")
{
setMethod(HttpRequest::Method::Post);
}
GetEslDevicesRequest::~GetEslDevicesRequest()
{}
std::string GetEslDevicesRequest::getStoreId()const
{
return storeId_;
}
void GetEslDevicesRequest::setStoreId(const std::string& storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", storeId);
}
std::string GetEslDevicesRequest::getEslBarCode()const
{
return eslBarCode_;
}
void GetEslDevicesRequest::setEslBarCode(const std::string& eslBarCode)
{
eslBarCode_ = eslBarCode;
setBodyParameter("EslBarCode", eslBarCode);
}

View File

@@ -0,0 +1,107 @@
/*
* 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/cloudesl/model/GetEslDevicesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
GetEslDevicesResult::GetEslDevicesResult() :
ServiceResult()
{}
GetEslDevicesResult::GetEslDevicesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetEslDevicesResult::~GetEslDevicesResult()
{}
void GetEslDevicesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["EslBarCode"].isNull())
eslBarCode_ = value["EslBarCode"].asString();
if(!value["Type"].isNull())
type_ = value["Type"].asString();
}
std::string GetEslDevicesResult::getEslBarCode()const
{
return eslBarCode_;
}
std::string GetEslDevicesResult::getType()const
{
return type_;
}
std::string GetEslDevicesResult::getMessage()const
{
return message_;
}
std::string GetEslDevicesResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string GetEslDevicesResult::getErrorCode()const
{
return errorCode_;
}
std::string GetEslDevicesResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string GetEslDevicesResult::getErrorMessage()const
{
return errorMessage_;
}
std::string GetEslDevicesResult::getCode()const
{
return code_;
}
bool GetEslDevicesResult::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/cloudesl/model/QueryContainerListRequest.h>
using AlibabaCloud::Cloudesl::Model::QueryContainerListRequest;
QueryContainerListRequest::QueryContainerListRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "QueryContainerList")
{
setMethod(HttpRequest::Method::Post);
}
QueryContainerListRequest::~QueryContainerListRequest()
{}
std::string QueryContainerListRequest::getLayoutId()const
{
return layoutId_;
}
void QueryContainerListRequest::setLayoutId(const std::string& layoutId)
{
layoutId_ = layoutId;
setBodyParameter("LayoutId", layoutId);
}
int QueryContainerListRequest::getPageNumber()const
{
return pageNumber_;
}
void QueryContainerListRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setBodyParameter("PageNumber", std::to_string(pageNumber));
}
int QueryContainerListRequest::getPageSize()const
{
return pageSize_;
}
void QueryContainerListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setBodyParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -0,0 +1,147 @@
/*
* 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/cloudesl/model/QueryContainerListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
QueryContainerListResult::QueryContainerListResult() :
ServiceResult()
{}
QueryContainerListResult::QueryContainerListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryContainerListResult::~QueryContainerListResult()
{}
void QueryContainerListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allContainerListNode = value["ContainerList"]["Container"];
for (auto valueContainerListContainer : allContainerListNode)
{
Container containerListObject;
if(!valueContainerListContainer["ContainerId"].isNull())
containerListObject.containerId = valueContainerListContainer["ContainerId"].asString();
if(!valueContainerListContainer["ContainerName"].isNull())
containerListObject.containerName = valueContainerListContainer["ContainerName"].asString();
if(!valueContainerListContainer["Description"].isNull())
containerListObject.description = valueContainerListContainer["Description"].asString();
if(!valueContainerListContainer["TopPx"].isNull())
containerListObject.topPx = std::stoi(valueContainerListContainer["TopPx"].asString());
if(!valueContainerListContainer["LeftPx"].isNull())
containerListObject.leftPx = std::stoi(valueContainerListContainer["LeftPx"].asString());
if(!valueContainerListContainer["WidthPx"].isNull())
containerListObject.widthPx = std::stoi(valueContainerListContainer["WidthPx"].asString());
if(!valueContainerListContainer["HeightPx"].isNull())
containerListObject.heightPx = std::stoi(valueContainerListContainer["HeightPx"].asString());
if(!valueContainerListContainer["GroupId"].isNull())
containerListObject.groupId = valueContainerListContainer["GroupId"].asString();
if(!valueContainerListContainer["GroupName"].isNull())
containerListObject.groupName = valueContainerListContainer["GroupName"].asString();
if(!valueContainerListContainer["DemoTemplateId"].isNull())
containerListObject.demoTemplateId = valueContainerListContainer["DemoTemplateId"].asString();
if(!valueContainerListContainer["DemoTemplateName"].isNull())
containerListObject.demoTemplateName = valueContainerListContainer["DemoTemplateName"].asString();
containerList_.push_back(containerListObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
}
int QueryContainerListResult::getTotalCount()const
{
return totalCount_;
}
std::string QueryContainerListResult::getMessage()const
{
return message_;
}
int QueryContainerListResult::getPageSize()const
{
return pageSize_;
}
int QueryContainerListResult::getPageNumber()const
{
return pageNumber_;
}
std::vector<QueryContainerListResult::Container> QueryContainerListResult::getContainerList()const
{
return containerList_;
}
std::string QueryContainerListResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string QueryContainerListResult::getErrorCode()const
{
return errorCode_;
}
std::string QueryContainerListResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string QueryContainerListResult::getErrorMessage()const
{
return errorMessage_;
}
std::string QueryContainerListResult::getCode()const
{
return code_;
}
bool QueryContainerListResult::getSuccess()const
{
return success_;
}

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/cloudesl/model/QueryLayoutByDeviceRequest.h>
using AlibabaCloud::Cloudesl::Model::QueryLayoutByDeviceRequest;
QueryLayoutByDeviceRequest::QueryLayoutByDeviceRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "QueryLayoutByDevice")
{
setMethod(HttpRequest::Method::Post);
}
QueryLayoutByDeviceRequest::~QueryLayoutByDeviceRequest()
{}
std::string QueryLayoutByDeviceRequest::getStoreId()const
{
return storeId_;
}
void QueryLayoutByDeviceRequest::setStoreId(const std::string& storeId)
{
storeId_ = storeId;
setBodyParameter("StoreId", storeId);
}
int QueryLayoutByDeviceRequest::getPageNumber()const
{
return pageNumber_;
}
void QueryLayoutByDeviceRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setBodyParameter("PageNumber", std::to_string(pageNumber));
}
std::string QueryLayoutByDeviceRequest::getTemplateVersion()const
{
return templateVersion_;
}
void QueryLayoutByDeviceRequest::setTemplateVersion(const std::string& templateVersion)
{
templateVersion_ = templateVersion;
setBodyParameter("TemplateVersion", templateVersion);
}
std::string QueryLayoutByDeviceRequest::getEslBarCode()const
{
return eslBarCode_;
}
void QueryLayoutByDeviceRequest::setEslBarCode(const std::string& eslBarCode)
{
eslBarCode_ = eslBarCode;
setBodyParameter("EslBarCode", eslBarCode);
}
int QueryLayoutByDeviceRequest::getPageSize()const
{
return pageSize_;
}
void QueryLayoutByDeviceRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setBodyParameter("PageSize", std::to_string(pageSize));
}
std::string QueryLayoutByDeviceRequest::getEslModelId()const
{
return eslModelId_;
}
void QueryLayoutByDeviceRequest::setEslModelId(const std::string& eslModelId)
{
eslModelId_ = eslModelId;
setBodyParameter("EslModelId", eslModelId);
}

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/cloudesl/model/QueryLayoutByDeviceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
QueryLayoutByDeviceResult::QueryLayoutByDeviceResult() :
ServiceResult()
{}
QueryLayoutByDeviceResult::QueryLayoutByDeviceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryLayoutByDeviceResult::~QueryLayoutByDeviceResult()
{}
void QueryLayoutByDeviceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allLayoutListNode = value["LayoutList"]["Layout"];
for (auto valueLayoutListLayout : allLayoutListNode)
{
Layout layoutListObject;
if(!valueLayoutListLayout["LayoutId"].isNull())
layoutListObject.layoutId = valueLayoutListLayout["LayoutId"].asString();
if(!valueLayoutListLayout["LayoutName"].isNull())
layoutListObject.layoutName = valueLayoutListLayout["LayoutName"].asString();
if(!valueLayoutListLayout["Description"].isNull())
layoutListObject.description = valueLayoutListLayout["Description"].asString();
if(!valueLayoutListLayout["LayoutTemplateId"].isNull())
layoutListObject.layoutTemplateId = valueLayoutListLayout["LayoutTemplateId"].asString();
if(!valueLayoutListLayout["IsBind"].isNull())
layoutListObject.isBind = valueLayoutListLayout["IsBind"].asString() == "true";
if(!valueLayoutListLayout["Brand"].isNull())
layoutListObject.brand = valueLayoutListLayout["Brand"].asString();
if(!valueLayoutListLayout["BasePic"].isNull())
layoutListObject.basePic = valueLayoutListLayout["BasePic"].asString();
layoutList_.push_back(layoutListObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
}
int QueryLayoutByDeviceResult::getTotalCount()const
{
return totalCount_;
}
std::vector<QueryLayoutByDeviceResult::Layout> QueryLayoutByDeviceResult::getLayoutList()const
{
return layoutList_;
}
std::string QueryLayoutByDeviceResult::getMessage()const
{
return message_;
}
int QueryLayoutByDeviceResult::getPageSize()const
{
return pageSize_;
}
int QueryLayoutByDeviceResult::getPageNumber()const
{
return pageNumber_;
}
std::string QueryLayoutByDeviceResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string QueryLayoutByDeviceResult::getErrorCode()const
{
return errorCode_;
}
std::string QueryLayoutByDeviceResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string QueryLayoutByDeviceResult::getErrorMessage()const
{
return errorMessage_;
}
std::string QueryLayoutByDeviceResult::getCode()const
{
return code_;
}
bool QueryLayoutByDeviceResult::getSuccess()const
{
return success_;
}

View File

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

View File

@@ -0,0 +1,142 @@
/*
* 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/cloudesl/model/QueryLayoutDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
QueryLayoutDetailResult::QueryLayoutDetailResult() :
ServiceResult()
{}
QueryLayoutDetailResult::QueryLayoutDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryLayoutDetailResult::~QueryLayoutDetailResult()
{}
void QueryLayoutDetailResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["LayoutId"].isNull())
layoutId_ = std::stol(value["LayoutId"].asString());
if(!value["LayoutName"].isNull())
layoutName_ = value["LayoutName"].asString();
if(!value["Description"].isNull())
description_ = value["Description"].asString();
if(!value["LayoutTemplateId"].isNull())
layoutTemplateId_ = std::stol(value["LayoutTemplateId"].asString());
if(!value["EslModelId"].isNull())
eslModelId_ = value["EslModelId"].asString();
if(!value["TemplateVersion"].isNull())
templateVersion_ = value["TemplateVersion"].asString();
if(!value["BrandId"].isNull())
brandId_ = value["BrandId"].asString();
}
std::string QueryLayoutDetailResult::getDescription()const
{
return description_;
}
std::string QueryLayoutDetailResult::getMessage()const
{
return message_;
}
std::string QueryLayoutDetailResult::getEslModelId()const
{
return eslModelId_;
}
long QueryLayoutDetailResult::getLayoutId()const
{
return layoutId_;
}
std::string QueryLayoutDetailResult::getTemplateVersion()const
{
return templateVersion_;
}
std::string QueryLayoutDetailResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string QueryLayoutDetailResult::getBrandId()const
{
return brandId_;
}
std::string QueryLayoutDetailResult::getCode()const
{
return code_;
}
long QueryLayoutDetailResult::getLayoutTemplateId()const
{
return layoutTemplateId_;
}
bool QueryLayoutDetailResult::getSuccess()const
{
return success_;
}
std::string QueryLayoutDetailResult::getLayoutName()const
{
return layoutName_;
}
std::string QueryLayoutDetailResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string QueryLayoutDetailResult::getErrorCode()const
{
return errorCode_;
}
std::string QueryLayoutDetailResult::getErrorMessage()const
{
return errorMessage_;
}

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/cloudesl/model/QueryTemplateGroupListRequest.h>
using AlibabaCloud::Cloudesl::Model::QueryTemplateGroupListRequest;
QueryTemplateGroupListRequest::QueryTemplateGroupListRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "QueryTemplateGroupList")
{
setMethod(HttpRequest::Method::Post);
}
QueryTemplateGroupListRequest::~QueryTemplateGroupListRequest()
{}
int QueryTemplateGroupListRequest::getPageNumber()const
{
return pageNumber_;
}
void QueryTemplateGroupListRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setBodyParameter("PageNumber", std::to_string(pageNumber));
}
std::string QueryTemplateGroupListRequest::getTemplateVersion()const
{
return templateVersion_;
}
void QueryTemplateGroupListRequest::setTemplateVersion(const std::string& templateVersion)
{
templateVersion_ = templateVersion;
setBodyParameter("TemplateVersion", templateVersion);
}
int QueryTemplateGroupListRequest::getPageSize()const
{
return pageSize_;
}
void QueryTemplateGroupListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setBodyParameter("PageSize", std::to_string(pageSize));
}
std::string QueryTemplateGroupListRequest::getEslModelId()const
{
return eslModelId_;
}
void QueryTemplateGroupListRequest::setEslModelId(const std::string& eslModelId)
{
eslModelId_ = eslModelId;
setBodyParameter("EslModelId", eslModelId);
}
int QueryTemplateGroupListRequest::getWidthPx()const
{
return widthPx_;
}
void QueryTemplateGroupListRequest::setWidthPx(int widthPx)
{
widthPx_ = widthPx;
setBodyParameter("WidthPx", std::to_string(widthPx));
}
std::string QueryTemplateGroupListRequest::getGroupIds()const
{
return groupIds_;
}
void QueryTemplateGroupListRequest::setGroupIds(const std::string& groupIds)
{
groupIds_ = groupIds;
setBodyParameter("GroupIds", groupIds);
}
int QueryTemplateGroupListRequest::getHeightPx()const
{
return heightPx_;
}
void QueryTemplateGroupListRequest::setHeightPx(int heightPx)
{
heightPx_ = heightPx;
setBodyParameter("HeightPx", std::to_string(heightPx));
}

View File

@@ -0,0 +1,137 @@
/*
* 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/cloudesl/model/QueryTemplateGroupListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
QueryTemplateGroupListResult::QueryTemplateGroupListResult() :
ServiceResult()
{}
QueryTemplateGroupListResult::QueryTemplateGroupListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryTemplateGroupListResult::~QueryTemplateGroupListResult()
{}
void QueryTemplateGroupListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allTemplateGroupListNode = value["TemplateGroupList"]["TemplateGroup"];
for (auto valueTemplateGroupListTemplateGroup : allTemplateGroupListNode)
{
TemplateGroup templateGroupListObject;
if(!valueTemplateGroupListTemplateGroup["GroupId"].isNull())
templateGroupListObject.groupId = valueTemplateGroupListTemplateGroup["GroupId"].asString();
if(!valueTemplateGroupListTemplateGroup["GroupName"].isNull())
templateGroupListObject.groupName = valueTemplateGroupListTemplateGroup["GroupName"].asString();
if(!valueTemplateGroupListTemplateGroup["Description"].isNull())
templateGroupListObject.description = valueTemplateGroupListTemplateGroup["Description"].asString();
if(!valueTemplateGroupListTemplateGroup["WidthPx"].isNull())
templateGroupListObject.widthPx = std::stoi(valueTemplateGroupListTemplateGroup["WidthPx"].asString());
if(!valueTemplateGroupListTemplateGroup["HeightPx"].isNull())
templateGroupListObject.heightPx = std::stoi(valueTemplateGroupListTemplateGroup["HeightPx"].asString());
if(!valueTemplateGroupListTemplateGroup["Relation"].isNull())
templateGroupListObject.relation = valueTemplateGroupListTemplateGroup["Relation"].asString();
templateGroupList_.push_back(templateGroupListObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
}
int QueryTemplateGroupListResult::getTotalCount()const
{
return totalCount_;
}
std::string QueryTemplateGroupListResult::getMessage()const
{
return message_;
}
int QueryTemplateGroupListResult::getPageSize()const
{
return pageSize_;
}
int QueryTemplateGroupListResult::getPageNumber()const
{
return pageNumber_;
}
std::string QueryTemplateGroupListResult::getDynamicCode()const
{
return dynamicCode_;
}
std::vector<QueryTemplateGroupListResult::TemplateGroup> QueryTemplateGroupListResult::getTemplateGroupList()const
{
return templateGroupList_;
}
std::string QueryTemplateGroupListResult::getErrorCode()const
{
return errorCode_;
}
std::string QueryTemplateGroupListResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string QueryTemplateGroupListResult::getErrorMessage()const
{
return errorMessage_;
}
std::string QueryTemplateGroupListResult::getCode()const
{
return code_;
}
bool QueryTemplateGroupListResult::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/cloudesl/model/QueryTemplateListByGroupIdRequest.h>
using AlibabaCloud::Cloudesl::Model::QueryTemplateListByGroupIdRequest;
QueryTemplateListByGroupIdRequest::QueryTemplateListByGroupIdRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "QueryTemplateListByGroupId")
{
setMethod(HttpRequest::Method::Post);
}
QueryTemplateListByGroupIdRequest::~QueryTemplateListByGroupIdRequest()
{}
std::string QueryTemplateListByGroupIdRequest::getGroupId()const
{
return groupId_;
}
void QueryTemplateListByGroupIdRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setBodyParameter("GroupId", groupId);
}
int QueryTemplateListByGroupIdRequest::getPageNumber()const
{
return pageNumber_;
}
void QueryTemplateListByGroupIdRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setBodyParameter("PageNumber", std::to_string(pageNumber));
}
int QueryTemplateListByGroupIdRequest::getPageSize()const
{
return pageSize_;
}
void QueryTemplateListByGroupIdRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setBodyParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -0,0 +1,153 @@
/*
* 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/cloudesl/model/QueryTemplateListByGroupIdResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
QueryTemplateListByGroupIdResult::QueryTemplateListByGroupIdResult() :
ServiceResult()
{}
QueryTemplateListByGroupIdResult::QueryTemplateListByGroupIdResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryTemplateListByGroupIdResult::~QueryTemplateListByGroupIdResult()
{}
void QueryTemplateListByGroupIdResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allTemplateListNode = value["TemplateList"]["Template"];
for (auto valueTemplateListTemplate : allTemplateListNode)
{
_Template templateListObject;
if(!valueTemplateListTemplate["BasePicture"].isNull())
templateListObject.basePicture = valueTemplateListTemplate["BasePicture"].asString();
if(!valueTemplateListTemplate["TemplateId"].isNull())
templateListObject.templateId = valueTemplateListTemplate["TemplateId"].asString();
if(!valueTemplateListTemplate["TemplateName"].isNull())
templateListObject.templateName = valueTemplateListTemplate["TemplateName"].asString();
if(!valueTemplateListTemplate["EslSize"].isNull())
templateListObject.eslSize = valueTemplateListTemplate["EslSize"].asString();
if(!valueTemplateListTemplate["EslType"].isNull())
templateListObject.eslType = valueTemplateListTemplate["EslType"].asString();
if(!valueTemplateListTemplate["Width"].isNull())
templateListObject.width = std::stol(valueTemplateListTemplate["Width"].asString());
if(!valueTemplateListTemplate["Height"].isNull())
templateListObject.height = std::stol(valueTemplateListTemplate["Height"].asString());
if(!valueTemplateListTemplate["TemplateVersion"].isNull())
templateListObject.templateVersion = valueTemplateListTemplate["TemplateVersion"].asString();
if(!valueTemplateListTemplate["Layout"].isNull())
templateListObject.layout = valueTemplateListTemplate["Layout"].asString();
if(!valueTemplateListTemplate["Scene"].isNull())
templateListObject.scene = valueTemplateListTemplate["Scene"].asString();
if(!valueTemplateListTemplate["Brand"].isNull())
templateListObject.brand = valueTemplateListTemplate["Brand"].asString();
if(!valueTemplateListTemplate["GroupId"].isNull())
templateListObject.groupId = valueTemplateListTemplate["GroupId"].asString();
if(!valueTemplateListTemplate["TemplateSceneId"].isNull())
templateListObject.templateSceneId = valueTemplateListTemplate["TemplateSceneId"].asString();
if(!valueTemplateListTemplate["Relation"].isNull())
templateListObject.relation = valueTemplateListTemplate["Relation"].asString() == "true";
templateList_.push_back(templateListObject);
}
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].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 QueryTemplateListByGroupIdResult::getTotalCount()const
{
return totalCount_;
}
std::vector<QueryTemplateListByGroupIdResult::_Template> QueryTemplateListByGroupIdResult::getTemplateList()const
{
return templateList_;
}
std::string QueryTemplateListByGroupIdResult::getMessage()const
{
return message_;
}
int QueryTemplateListByGroupIdResult::getPageSize()const
{
return pageSize_;
}
int QueryTemplateListByGroupIdResult::getPageNumber()const
{
return pageNumber_;
}
std::string QueryTemplateListByGroupIdResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string QueryTemplateListByGroupIdResult::getErrorCode()const
{
return errorCode_;
}
std::string QueryTemplateListByGroupIdResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string QueryTemplateListByGroupIdResult::getErrorMessage()const
{
return errorMessage_;
}
std::string QueryTemplateListByGroupIdResult::getCode()const
{
return code_;
}
bool QueryTemplateListByGroupIdResult::getSuccess()const
{
return success_;
}

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/cloudesl/model/SaveLayoutRequest.h>
using AlibabaCloud::Cloudesl::Model::SaveLayoutRequest;
SaveLayoutRequest::SaveLayoutRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "SaveLayout")
{
setMethod(HttpRequest::Method::Post);
}
SaveLayoutRequest::~SaveLayoutRequest()
{}
std::string SaveLayoutRequest::getLayoutId()const
{
return layoutId_;
}
void SaveLayoutRequest::setLayoutId(const std::string& layoutId)
{
layoutId_ = layoutId;
setBodyParameter("LayoutId", layoutId);
}
std::string SaveLayoutRequest::getTemplateVersion()const
{
return templateVersion_;
}
void SaveLayoutRequest::setTemplateVersion(const std::string& templateVersion)
{
templateVersion_ = templateVersion;
setBodyParameter("TemplateVersion", templateVersion);
}
std::string SaveLayoutRequest::getLayoutName()const
{
return layoutName_;
}
void SaveLayoutRequest::setLayoutName(const std::string& layoutName)
{
layoutName_ = layoutName;
setBodyParameter("LayoutName", layoutName);
}
std::string SaveLayoutRequest::getEslModelId()const
{
return eslModelId_;
}
void SaveLayoutRequest::setEslModelId(const std::string& eslModelId)
{
eslModelId_ = eslModelId;
setBodyParameter("EslModelId", eslModelId);
}

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/cloudesl/model/SaveLayoutResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
SaveLayoutResult::SaveLayoutResult() :
ServiceResult()
{}
SaveLayoutResult::SaveLayoutResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SaveLayoutResult::~SaveLayoutResult()
{}
void SaveLayoutResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
}
std::string SaveLayoutResult::getMessage()const
{
return message_;
}
std::string SaveLayoutResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string SaveLayoutResult::getErrorCode()const
{
return errorCode_;
}
std::string SaveLayoutResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string SaveLayoutResult::getErrorMessage()const
{
return errorMessage_;
}
std::string SaveLayoutResult::getCode()const
{
return code_;
}
bool SaveLayoutResult::getSuccess()const
{
return success_;
}

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/cloudesl/model/SaveTemplateGroupRequest.h>
using AlibabaCloud::Cloudesl::Model::SaveTemplateGroupRequest;
SaveTemplateGroupRequest::SaveTemplateGroupRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "SaveTemplateGroup")
{
setMethod(HttpRequest::Method::Post);
}
SaveTemplateGroupRequest::~SaveTemplateGroupRequest()
{}
std::string SaveTemplateGroupRequest::getTemplateVersion()const
{
return templateVersion_;
}
void SaveTemplateGroupRequest::setTemplateVersion(const std::string& templateVersion)
{
templateVersion_ = templateVersion;
setBodyParameter("TemplateVersion", templateVersion);
}
std::string SaveTemplateGroupRequest::getEslModelId()const
{
return eslModelId_;
}
void SaveTemplateGroupRequest::setEslModelId(const std::string& eslModelId)
{
eslModelId_ = eslModelId;
setBodyParameter("EslModelId", eslModelId);
}
std::string SaveTemplateGroupRequest::getGroupId()const
{
return groupId_;
}
void SaveTemplateGroupRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setBodyParameter("GroupId", groupId);
}
int SaveTemplateGroupRequest::getWidthPx()const
{
return widthPx_;
}
void SaveTemplateGroupRequest::setWidthPx(int widthPx)
{
widthPx_ = widthPx;
setBodyParameter("WidthPx", std::to_string(widthPx));
}
std::string SaveTemplateGroupRequest::getGroupName()const
{
return groupName_;
}
void SaveTemplateGroupRequest::setGroupName(const std::string& groupName)
{
groupName_ = groupName;
setBodyParameter("GroupName", groupName);
}
int SaveTemplateGroupRequest::getHeightPx()const
{
return heightPx_;
}
void SaveTemplateGroupRequest::setHeightPx(int heightPx)
{
heightPx_ = heightPx;
setBodyParameter("HeightPx", std::to_string(heightPx));
}

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/cloudesl/model/SaveTemplateGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
SaveTemplateGroupResult::SaveTemplateGroupResult() :
ServiceResult()
{}
SaveTemplateGroupResult::SaveTemplateGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SaveTemplateGroupResult::~SaveTemplateGroupResult()
{}
void SaveTemplateGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
}
std::string SaveTemplateGroupResult::getMessage()const
{
return message_;
}
std::string SaveTemplateGroupResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string SaveTemplateGroupResult::getErrorCode()const
{
return errorCode_;
}
std::string SaveTemplateGroupResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string SaveTemplateGroupResult::getErrorMessage()const
{
return errorMessage_;
}
std::string SaveTemplateGroupResult::getCode()const
{
return code_;
}
bool SaveTemplateGroupResult::getSuccess()const
{
return success_;
}

View File

@@ -38,6 +38,17 @@ void UnbindEslDeviceRequest::setExtraParams(const std::string& extraParams)
setBodyParameter("ExtraParams", extraParams);
}
std::string UnbindEslDeviceRequest::getContainerName()const
{
return containerName_;
}
void UnbindEslDeviceRequest::setContainerName(const std::string& containerName)
{
containerName_ = containerName;
setBodyParameter("ContainerName", containerName);
}
std::string UnbindEslDeviceRequest::getStoreId()const
{
return storeId_;

View File

@@ -41,18 +41,18 @@ void UnbindEslDeviceResult::parse(const std::string &payload)
setRequestId(value["RequestId"].asString());
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
}

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/cloudesl/model/UpdateCompanyTemplateRequest.h>
using AlibabaCloud::Cloudesl::Model::UpdateCompanyTemplateRequest;
UpdateCompanyTemplateRequest::UpdateCompanyTemplateRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "UpdateCompanyTemplate")
{
setMethod(HttpRequest::Method::Post);
}
UpdateCompanyTemplateRequest::~UpdateCompanyTemplateRequest()
{}
std::string UpdateCompanyTemplateRequest::getExtraParams()const
{
return extraParams_;
}
void UpdateCompanyTemplateRequest::setExtraParams(const std::string& extraParams)
{
extraParams_ = extraParams;
setBodyParameter("ExtraParams", extraParams);
}
std::string UpdateCompanyTemplateRequest::getScene()const
{
return scene_;
}
void UpdateCompanyTemplateRequest::setScene(const std::string& scene)
{
scene_ = scene;
setBodyParameter("Scene", scene);
}
std::string UpdateCompanyTemplateRequest::getTemplateVersion()const
{
return templateVersion_;
}
void UpdateCompanyTemplateRequest::setTemplateVersion(const std::string& templateVersion)
{
templateVersion_ = templateVersion;
setBodyParameter("TemplateVersion", templateVersion);
}
std::string UpdateCompanyTemplateRequest::getTemplateName()const
{
return templateName_;
}
void UpdateCompanyTemplateRequest::setTemplateName(const std::string& templateName)
{
templateName_ = templateName;
setBodyParameter("TemplateName", templateName);
}
std::string UpdateCompanyTemplateRequest::getTemplateSceneId()const
{
return templateSceneId_;
}
void UpdateCompanyTemplateRequest::setTemplateSceneId(const std::string& templateSceneId)
{
templateSceneId_ = templateSceneId;
setBodyParameter("TemplateSceneId", templateSceneId);
}
std::string UpdateCompanyTemplateRequest::getTemplateId()const
{
return templateId_;
}
void UpdateCompanyTemplateRequest::setTemplateId(const std::string& templateId)
{
templateId_ = templateId;
setBodyParameter("TemplateId", templateId);
}

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/cloudesl/model/UpdateCompanyTemplateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
UpdateCompanyTemplateResult::UpdateCompanyTemplateResult() :
ServiceResult()
{}
UpdateCompanyTemplateResult::UpdateCompanyTemplateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UpdateCompanyTemplateResult::~UpdateCompanyTemplateResult()
{}
void UpdateCompanyTemplateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
}
std::string UpdateCompanyTemplateResult::getMessage()const
{
return message_;
}
std::string UpdateCompanyTemplateResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string UpdateCompanyTemplateResult::getErrorCode()const
{
return errorCode_;
}
std::string UpdateCompanyTemplateResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string UpdateCompanyTemplateResult::getErrorMessage()const
{
return errorMessage_;
}
std::string UpdateCompanyTemplateResult::getCode()const
{
return code_;
}
bool UpdateCompanyTemplateResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cloudesl/model/UpdateCompanyTemplateViewRequest.h>
using AlibabaCloud::Cloudesl::Model::UpdateCompanyTemplateViewRequest;
UpdateCompanyTemplateViewRequest::UpdateCompanyTemplateViewRequest() :
RpcServiceRequest("cloudesl", "2020-02-01", "UpdateCompanyTemplateView")
{
setMethod(HttpRequest::Method::Post);
}
UpdateCompanyTemplateViewRequest::~UpdateCompanyTemplateViewRequest()
{}
std::string UpdateCompanyTemplateViewRequest::getExtraParams()const
{
return extraParams_;
}
void UpdateCompanyTemplateViewRequest::setExtraParams(const std::string& extraParams)
{
extraParams_ = extraParams;
setBodyParameter("ExtraParams", extraParams);
}
std::string UpdateCompanyTemplateViewRequest::getData()const
{
return data_;
}
void UpdateCompanyTemplateViewRequest::setData(const std::string& data)
{
data_ = data;
setBodyParameter("Data", data);
}

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/cloudesl/model/UpdateCompanyTemplateViewResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudesl;
using namespace AlibabaCloud::Cloudesl::Model;
UpdateCompanyTemplateViewResult::UpdateCompanyTemplateViewResult() :
ServiceResult()
{}
UpdateCompanyTemplateViewResult::UpdateCompanyTemplateViewResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UpdateCompanyTemplateViewResult::~UpdateCompanyTemplateViewResult()
{}
void UpdateCompanyTemplateViewResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
}
std::string UpdateCompanyTemplateViewResult::getMessage()const
{
return message_;
}
std::string UpdateCompanyTemplateViewResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string UpdateCompanyTemplateViewResult::getErrorCode()const
{
return errorCode_;
}
std::string UpdateCompanyTemplateViewResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string UpdateCompanyTemplateViewResult::getErrorMessage()const
{
return errorMessage_;
}
std::string UpdateCompanyTemplateViewResult::getCode()const
{
return code_;
}
bool UpdateCompanyTemplateViewResult::getSuccess()const
{
return success_;
}