Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba67c01925 | ||
|
|
e89b92569f | ||
|
|
b5a6f66a29 | ||
|
|
b3c82e1e45 | ||
|
|
fe5bdbf24a | ||
|
|
a0c0379235 |
20
CHANGELOG
20
CHANGELOG
@@ -1,3 +1,23 @@
|
||||
2021-07-07 Version: 1.36.809
|
||||
- Support FilterKey for RestoreInstance.
|
||||
- DescribeInstanceAttribute add return argument BackupLogStartTime.
|
||||
- Add RemoveSubInstance for Global Distributed Cache.
|
||||
|
||||
2021-07-07 Version: 1.36.808
|
||||
- Supported AAA for BBB.
|
||||
|
||||
2021-07-05 Version: 1.36.807
|
||||
- Supported deleteItem for sdk.
|
||||
|
||||
2021-07-02 Version: 1.36.806
|
||||
- Fix DescribeInstance EncryptionType.
|
||||
|
||||
2021-07-02 Version: 1.36.805
|
||||
- Release RecognizeQuotaInvoice RecognizeTicketInvoice RecognizePdf.
|
||||
|
||||
2021-07-02 Version: 1.36.804
|
||||
- Release AnalyzeChestVessel.
|
||||
|
||||
2021-06-28 Version: 1.36.803
|
||||
- Edit ListRetcodeApps.
|
||||
- Edit SearchRetcodeAppByPage.
|
||||
|
||||
@@ -25,36 +25,24 @@ set(cloudesl_public_header_model
|
||||
include/alibabacloud/cloudesl/model/ActivateApDeviceResult.h
|
||||
include/alibabacloud/cloudesl/model/AddApDeviceRequest.h
|
||||
include/alibabacloud/cloudesl/model/AddApDeviceResult.h
|
||||
include/alibabacloud/cloudesl/model/AddPlanogramShelfRequest.h
|
||||
include/alibabacloud/cloudesl/model/AddPlanogramShelfResult.h
|
||||
include/alibabacloud/cloudesl/model/AddRoleActionsRequest.h
|
||||
include/alibabacloud/cloudesl/model/AddRoleActionsResult.h
|
||||
include/alibabacloud/cloudesl/model/AddUserRequest.h
|
||||
include/alibabacloud/cloudesl/model/AddUserResult.h
|
||||
include/alibabacloud/cloudesl/model/AssignUserRequest.h
|
||||
include/alibabacloud/cloudesl/model/AssignUserResult.h
|
||||
include/alibabacloud/cloudesl/model/AssociatePlanogramRailRequest.h
|
||||
include/alibabacloud/cloudesl/model/AssociatePlanogramRailResult.h
|
||||
include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h
|
||||
include/alibabacloud/cloudesl/model/BatchInsertItemsResult.h
|
||||
include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h
|
||||
include/alibabacloud/cloudesl/model/BindEslDeviceResult.h
|
||||
include/alibabacloud/cloudesl/model/ComposePlanogramPositionsRequest.h
|
||||
include/alibabacloud/cloudesl/model/ComposePlanogramPositionsResult.h
|
||||
include/alibabacloud/cloudesl/model/CreateStoreRequest.h
|
||||
include/alibabacloud/cloudesl/model/CreateStoreResult.h
|
||||
include/alibabacloud/cloudesl/model/DeleteApDeviceRequest.h
|
||||
include/alibabacloud/cloudesl/model/DeleteApDeviceResult.h
|
||||
include/alibabacloud/cloudesl/model/DeletePlanogramShelfRequest.h
|
||||
include/alibabacloud/cloudesl/model/DeletePlanogramShelfResult.h
|
||||
include/alibabacloud/cloudesl/model/DeleteRoleActionsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DeleteRoleActionsResult.h
|
||||
include/alibabacloud/cloudesl/model/DeleteItemRequest.h
|
||||
include/alibabacloud/cloudesl/model/DeleteItemResult.h
|
||||
include/alibabacloud/cloudesl/model/DeleteStoreRequest.h
|
||||
include/alibabacloud/cloudesl/model/DeleteStoreResult.h
|
||||
include/alibabacloud/cloudesl/model/DeleteUserRequest.h
|
||||
include/alibabacloud/cloudesl/model/DeleteUserResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeAlarmsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeAlarmsResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeApDevicesRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeApDevicesResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeBindersRequest.h
|
||||
@@ -65,28 +53,14 @@ set(cloudesl_public_header_model
|
||||
include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeItemsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeItemsResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramEslDevicesRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramEslDevicesResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramPositionsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramPositionsResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramRailsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramRailsResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramShelvesRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramShelvesResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeRoleActionsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeRoleActionsResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeStoreConfigRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeStoreConfigResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeStoreStatisticsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeStoreStatisticsResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeStoresRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeStoresResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeUserLogRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeUserLogResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeUsersRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeUsersResult.h
|
||||
include/alibabacloud/cloudesl/model/DissociatePlanogramRailRequest.h
|
||||
include/alibabacloud/cloudesl/model/DissociatePlanogramRailResult.h
|
||||
include/alibabacloud/cloudesl/model/GetUserRequest.h
|
||||
include/alibabacloud/cloudesl/model/GetUserResult.h
|
||||
include/alibabacloud/cloudesl/model/UnassignUserRequest.h
|
||||
@@ -98,9 +72,7 @@ set(cloudesl_public_header_model
|
||||
include/alibabacloud/cloudesl/model/UpdateStoreRequest.h
|
||||
include/alibabacloud/cloudesl/model/UpdateStoreResult.h
|
||||
include/alibabacloud/cloudesl/model/UpdateStoreConfigRequest.h
|
||||
include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h
|
||||
include/alibabacloud/cloudesl/model/UpdateUserRequest.h
|
||||
include/alibabacloud/cloudesl/model/UpdateUserResult.h )
|
||||
include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h )
|
||||
|
||||
set(cloudesl_src
|
||||
src/CloudeslClient.cc
|
||||
@@ -108,36 +80,24 @@ set(cloudesl_src
|
||||
src/model/ActivateApDeviceResult.cc
|
||||
src/model/AddApDeviceRequest.cc
|
||||
src/model/AddApDeviceResult.cc
|
||||
src/model/AddPlanogramShelfRequest.cc
|
||||
src/model/AddPlanogramShelfResult.cc
|
||||
src/model/AddRoleActionsRequest.cc
|
||||
src/model/AddRoleActionsResult.cc
|
||||
src/model/AddUserRequest.cc
|
||||
src/model/AddUserResult.cc
|
||||
src/model/AssignUserRequest.cc
|
||||
src/model/AssignUserResult.cc
|
||||
src/model/AssociatePlanogramRailRequest.cc
|
||||
src/model/AssociatePlanogramRailResult.cc
|
||||
src/model/BatchInsertItemsRequest.cc
|
||||
src/model/BatchInsertItemsResult.cc
|
||||
src/model/BindEslDeviceRequest.cc
|
||||
src/model/BindEslDeviceResult.cc
|
||||
src/model/ComposePlanogramPositionsRequest.cc
|
||||
src/model/ComposePlanogramPositionsResult.cc
|
||||
src/model/CreateStoreRequest.cc
|
||||
src/model/CreateStoreResult.cc
|
||||
src/model/DeleteApDeviceRequest.cc
|
||||
src/model/DeleteApDeviceResult.cc
|
||||
src/model/DeletePlanogramShelfRequest.cc
|
||||
src/model/DeletePlanogramShelfResult.cc
|
||||
src/model/DeleteRoleActionsRequest.cc
|
||||
src/model/DeleteRoleActionsResult.cc
|
||||
src/model/DeleteItemRequest.cc
|
||||
src/model/DeleteItemResult.cc
|
||||
src/model/DeleteStoreRequest.cc
|
||||
src/model/DeleteStoreResult.cc
|
||||
src/model/DeleteUserRequest.cc
|
||||
src/model/DeleteUserResult.cc
|
||||
src/model/DescribeAlarmsRequest.cc
|
||||
src/model/DescribeAlarmsResult.cc
|
||||
src/model/DescribeApDevicesRequest.cc
|
||||
src/model/DescribeApDevicesResult.cc
|
||||
src/model/DescribeBindersRequest.cc
|
||||
@@ -148,28 +108,14 @@ set(cloudesl_src
|
||||
src/model/DescribeEslDevicesResult.cc
|
||||
src/model/DescribeItemsRequest.cc
|
||||
src/model/DescribeItemsResult.cc
|
||||
src/model/DescribePlanogramEslDevicesRequest.cc
|
||||
src/model/DescribePlanogramEslDevicesResult.cc
|
||||
src/model/DescribePlanogramPositionsRequest.cc
|
||||
src/model/DescribePlanogramPositionsResult.cc
|
||||
src/model/DescribePlanogramRailsRequest.cc
|
||||
src/model/DescribePlanogramRailsResult.cc
|
||||
src/model/DescribePlanogramShelvesRequest.cc
|
||||
src/model/DescribePlanogramShelvesResult.cc
|
||||
src/model/DescribeRoleActionsRequest.cc
|
||||
src/model/DescribeRoleActionsResult.cc
|
||||
src/model/DescribeStoreConfigRequest.cc
|
||||
src/model/DescribeStoreConfigResult.cc
|
||||
src/model/DescribeStoreStatisticsRequest.cc
|
||||
src/model/DescribeStoreStatisticsResult.cc
|
||||
src/model/DescribeStoresRequest.cc
|
||||
src/model/DescribeStoresResult.cc
|
||||
src/model/DescribeUserLogRequest.cc
|
||||
src/model/DescribeUserLogResult.cc
|
||||
src/model/DescribeUsersRequest.cc
|
||||
src/model/DescribeUsersResult.cc
|
||||
src/model/DissociatePlanogramRailRequest.cc
|
||||
src/model/DissociatePlanogramRailResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/UnassignUserRequest.cc
|
||||
@@ -181,9 +127,7 @@ set(cloudesl_src
|
||||
src/model/UpdateStoreRequest.cc
|
||||
src/model/UpdateStoreResult.cc
|
||||
src/model/UpdateStoreConfigRequest.cc
|
||||
src/model/UpdateStoreConfigResult.cc
|
||||
src/model/UpdateUserRequest.cc
|
||||
src/model/UpdateUserResult.cc )
|
||||
src/model/UpdateStoreConfigResult.cc )
|
||||
|
||||
add_library(cloudesl ${LIB_TYPE}
|
||||
${cloudesl_public_header}
|
||||
|
||||
@@ -26,36 +26,24 @@
|
||||
#include "model/ActivateApDeviceResult.h"
|
||||
#include "model/AddApDeviceRequest.h"
|
||||
#include "model/AddApDeviceResult.h"
|
||||
#include "model/AddPlanogramShelfRequest.h"
|
||||
#include "model/AddPlanogramShelfResult.h"
|
||||
#include "model/AddRoleActionsRequest.h"
|
||||
#include "model/AddRoleActionsResult.h"
|
||||
#include "model/AddUserRequest.h"
|
||||
#include "model/AddUserResult.h"
|
||||
#include "model/AssignUserRequest.h"
|
||||
#include "model/AssignUserResult.h"
|
||||
#include "model/AssociatePlanogramRailRequest.h"
|
||||
#include "model/AssociatePlanogramRailResult.h"
|
||||
#include "model/BatchInsertItemsRequest.h"
|
||||
#include "model/BatchInsertItemsResult.h"
|
||||
#include "model/BindEslDeviceRequest.h"
|
||||
#include "model/BindEslDeviceResult.h"
|
||||
#include "model/ComposePlanogramPositionsRequest.h"
|
||||
#include "model/ComposePlanogramPositionsResult.h"
|
||||
#include "model/CreateStoreRequest.h"
|
||||
#include "model/CreateStoreResult.h"
|
||||
#include "model/DeleteApDeviceRequest.h"
|
||||
#include "model/DeleteApDeviceResult.h"
|
||||
#include "model/DeletePlanogramShelfRequest.h"
|
||||
#include "model/DeletePlanogramShelfResult.h"
|
||||
#include "model/DeleteRoleActionsRequest.h"
|
||||
#include "model/DeleteRoleActionsResult.h"
|
||||
#include "model/DeleteItemRequest.h"
|
||||
#include "model/DeleteItemResult.h"
|
||||
#include "model/DeleteStoreRequest.h"
|
||||
#include "model/DeleteStoreResult.h"
|
||||
#include "model/DeleteUserRequest.h"
|
||||
#include "model/DeleteUserResult.h"
|
||||
#include "model/DescribeAlarmsRequest.h"
|
||||
#include "model/DescribeAlarmsResult.h"
|
||||
#include "model/DescribeApDevicesRequest.h"
|
||||
#include "model/DescribeApDevicesResult.h"
|
||||
#include "model/DescribeBindersRequest.h"
|
||||
@@ -66,28 +54,14 @@
|
||||
#include "model/DescribeEslDevicesResult.h"
|
||||
#include "model/DescribeItemsRequest.h"
|
||||
#include "model/DescribeItemsResult.h"
|
||||
#include "model/DescribePlanogramEslDevicesRequest.h"
|
||||
#include "model/DescribePlanogramEslDevicesResult.h"
|
||||
#include "model/DescribePlanogramPositionsRequest.h"
|
||||
#include "model/DescribePlanogramPositionsResult.h"
|
||||
#include "model/DescribePlanogramRailsRequest.h"
|
||||
#include "model/DescribePlanogramRailsResult.h"
|
||||
#include "model/DescribePlanogramShelvesRequest.h"
|
||||
#include "model/DescribePlanogramShelvesResult.h"
|
||||
#include "model/DescribeRoleActionsRequest.h"
|
||||
#include "model/DescribeRoleActionsResult.h"
|
||||
#include "model/DescribeStoreConfigRequest.h"
|
||||
#include "model/DescribeStoreConfigResult.h"
|
||||
#include "model/DescribeStoreStatisticsRequest.h"
|
||||
#include "model/DescribeStoreStatisticsResult.h"
|
||||
#include "model/DescribeStoresRequest.h"
|
||||
#include "model/DescribeStoresResult.h"
|
||||
#include "model/DescribeUserLogRequest.h"
|
||||
#include "model/DescribeUserLogResult.h"
|
||||
#include "model/DescribeUsersRequest.h"
|
||||
#include "model/DescribeUsersResult.h"
|
||||
#include "model/DissociatePlanogramRailRequest.h"
|
||||
#include "model/DissociatePlanogramRailResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/UnassignUserRequest.h"
|
||||
@@ -100,8 +74,6 @@
|
||||
#include "model/UpdateStoreResult.h"
|
||||
#include "model/UpdateStoreConfigRequest.h"
|
||||
#include "model/UpdateStoreConfigResult.h"
|
||||
#include "model/UpdateUserRequest.h"
|
||||
#include "model/UpdateUserResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -117,51 +89,33 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AddApDeviceResult> AddApDeviceOutcome;
|
||||
typedef std::future<AddApDeviceOutcome> AddApDeviceOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::AddApDeviceRequest&, const AddApDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddApDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddPlanogramShelfResult> AddPlanogramShelfOutcome;
|
||||
typedef std::future<AddPlanogramShelfOutcome> AddPlanogramShelfOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::AddPlanogramShelfRequest&, const AddPlanogramShelfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPlanogramShelfAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddRoleActionsResult> AddRoleActionsOutcome;
|
||||
typedef std::future<AddRoleActionsOutcome> AddRoleActionsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::AddRoleActionsRequest&, const AddRoleActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddRoleActionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddUserResult> AddUserOutcome;
|
||||
typedef std::future<AddUserOutcome> AddUserOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::AddUserRequest&, const AddUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::AssignUserResult> AssignUserOutcome;
|
||||
typedef std::future<AssignUserOutcome> AssignUserOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::AssignUserRequest&, const AssignUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssignUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::AssociatePlanogramRailResult> AssociatePlanogramRailOutcome;
|
||||
typedef std::future<AssociatePlanogramRailOutcome> AssociatePlanogramRailOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::AssociatePlanogramRailRequest&, const AssociatePlanogramRailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssociatePlanogramRailAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchInsertItemsResult> BatchInsertItemsOutcome;
|
||||
typedef std::future<BatchInsertItemsOutcome> BatchInsertItemsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::BatchInsertItemsRequest&, const BatchInsertItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchInsertItemsAsyncHandler;
|
||||
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::ComposePlanogramPositionsResult> ComposePlanogramPositionsOutcome;
|
||||
typedef std::future<ComposePlanogramPositionsOutcome> ComposePlanogramPositionsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::ComposePlanogramPositionsRequest&, const ComposePlanogramPositionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ComposePlanogramPositionsAsyncHandler;
|
||||
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;
|
||||
typedef Outcome<Error, Model::DeleteApDeviceResult> DeleteApDeviceOutcome;
|
||||
typedef std::future<DeleteApDeviceOutcome> DeleteApDeviceOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DeleteApDeviceRequest&, const DeleteApDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteApDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePlanogramShelfResult> DeletePlanogramShelfOutcome;
|
||||
typedef std::future<DeletePlanogramShelfOutcome> DeletePlanogramShelfOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DeletePlanogramShelfRequest&, const DeletePlanogramShelfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePlanogramShelfAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRoleActionsResult> DeleteRoleActionsOutcome;
|
||||
typedef std::future<DeleteRoleActionsOutcome> DeleteRoleActionsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DeleteRoleActionsRequest&, const DeleteRoleActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRoleActionsAsyncHandler;
|
||||
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::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::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;
|
||||
typedef Outcome<Error, Model::DescribeAlarmsResult> DescribeAlarmsOutcome;
|
||||
typedef std::future<DescribeAlarmsOutcome> DescribeAlarmsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeAlarmsRequest&, const DescribeAlarmsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAlarmsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeApDevicesResult> DescribeApDevicesOutcome;
|
||||
typedef std::future<DescribeApDevicesOutcome> DescribeApDevicesOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeApDevicesRequest&, const DescribeApDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeApDevicesAsyncHandler;
|
||||
@@ -177,27 +131,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeItemsResult> DescribeItemsOutcome;
|
||||
typedef std::future<DescribeItemsOutcome> DescribeItemsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeItemsRequest&, const DescribeItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeItemsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePlanogramEslDevicesResult> DescribePlanogramEslDevicesOutcome;
|
||||
typedef std::future<DescribePlanogramEslDevicesOutcome> DescribePlanogramEslDevicesOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribePlanogramEslDevicesRequest&, const DescribePlanogramEslDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePlanogramEslDevicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePlanogramPositionsResult> DescribePlanogramPositionsOutcome;
|
||||
typedef std::future<DescribePlanogramPositionsOutcome> DescribePlanogramPositionsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribePlanogramPositionsRequest&, const DescribePlanogramPositionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePlanogramPositionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePlanogramRailsResult> DescribePlanogramRailsOutcome;
|
||||
typedef std::future<DescribePlanogramRailsOutcome> DescribePlanogramRailsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribePlanogramRailsRequest&, const DescribePlanogramRailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePlanogramRailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePlanogramShelvesResult> DescribePlanogramShelvesOutcome;
|
||||
typedef std::future<DescribePlanogramShelvesOutcome> DescribePlanogramShelvesOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribePlanogramShelvesRequest&, const DescribePlanogramShelvesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePlanogramShelvesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRoleActionsResult> DescribeRoleActionsOutcome;
|
||||
typedef std::future<DescribeRoleActionsOutcome> DescribeRoleActionsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeRoleActionsRequest&, const DescribeRoleActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRoleActionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeStoreConfigResult> DescribeStoreConfigOutcome;
|
||||
typedef std::future<DescribeStoreConfigOutcome> DescribeStoreConfigOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeStoreConfigRequest&, const DescribeStoreConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStoreConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeStoreStatisticsResult> DescribeStoreStatisticsOutcome;
|
||||
typedef std::future<DescribeStoreStatisticsOutcome> DescribeStoreStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeStoreStatisticsRequest&, const DescribeStoreStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStoreStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeStoresResult> DescribeStoresOutcome;
|
||||
typedef std::future<DescribeStoresOutcome> DescribeStoresOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeStoresRequest&, const DescribeStoresOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStoresAsyncHandler;
|
||||
@@ -207,9 +143,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeUsersResult> DescribeUsersOutcome;
|
||||
typedef std::future<DescribeUsersOutcome> DescribeUsersOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeUsersRequest&, const DescribeUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::DissociatePlanogramRailResult> DissociatePlanogramRailOutcome;
|
||||
typedef std::future<DissociatePlanogramRailOutcome> DissociatePlanogramRailOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DissociatePlanogramRailRequest&, const DissociatePlanogramRailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DissociatePlanogramRailAsyncHandler;
|
||||
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;
|
||||
@@ -228,9 +161,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateStoreConfigResult> UpdateStoreConfigOutcome;
|
||||
typedef std::future<UpdateStoreConfigOutcome> UpdateStoreConfigOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::UpdateStoreConfigRequest&, const UpdateStoreConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateStoreConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateUserResult> UpdateUserOutcome;
|
||||
typedef std::future<UpdateUserOutcome> UpdateUserOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::UpdateUserRequest&, const UpdateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateUserAsyncHandler;
|
||||
|
||||
CloudeslClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CloudeslClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -242,51 +172,33 @@ namespace AlibabaCloud
|
||||
AddApDeviceOutcome addApDevice(const Model::AddApDeviceRequest &request)const;
|
||||
void addApDeviceAsync(const Model::AddApDeviceRequest& request, const AddApDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddApDeviceOutcomeCallable addApDeviceCallable(const Model::AddApDeviceRequest& request) const;
|
||||
AddPlanogramShelfOutcome addPlanogramShelf(const Model::AddPlanogramShelfRequest &request)const;
|
||||
void addPlanogramShelfAsync(const Model::AddPlanogramShelfRequest& request, const AddPlanogramShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddPlanogramShelfOutcomeCallable addPlanogramShelfCallable(const Model::AddPlanogramShelfRequest& request) const;
|
||||
AddRoleActionsOutcome addRoleActions(const Model::AddRoleActionsRequest &request)const;
|
||||
void addRoleActionsAsync(const Model::AddRoleActionsRequest& request, const AddRoleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddRoleActionsOutcomeCallable addRoleActionsCallable(const Model::AddRoleActionsRequest& request) const;
|
||||
AddUserOutcome addUser(const Model::AddUserRequest &request)const;
|
||||
void addUserAsync(const Model::AddUserRequest& request, const AddUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddUserOutcomeCallable addUserCallable(const Model::AddUserRequest& request) const;
|
||||
AssignUserOutcome assignUser(const Model::AssignUserRequest &request)const;
|
||||
void assignUserAsync(const Model::AssignUserRequest& request, const AssignUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AssignUserOutcomeCallable assignUserCallable(const Model::AssignUserRequest& request) const;
|
||||
AssociatePlanogramRailOutcome associatePlanogramRail(const Model::AssociatePlanogramRailRequest &request)const;
|
||||
void associatePlanogramRailAsync(const Model::AssociatePlanogramRailRequest& request, const AssociatePlanogramRailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AssociatePlanogramRailOutcomeCallable associatePlanogramRailCallable(const Model::AssociatePlanogramRailRequest& request) const;
|
||||
BatchInsertItemsOutcome batchInsertItems(const Model::BatchInsertItemsRequest &request)const;
|
||||
void batchInsertItemsAsync(const Model::BatchInsertItemsRequest& request, const BatchInsertItemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchInsertItemsOutcomeCallable batchInsertItemsCallable(const Model::BatchInsertItemsRequest& 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;
|
||||
ComposePlanogramPositionsOutcome composePlanogramPositions(const Model::ComposePlanogramPositionsRequest &request)const;
|
||||
void composePlanogramPositionsAsync(const Model::ComposePlanogramPositionsRequest& request, const ComposePlanogramPositionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ComposePlanogramPositionsOutcomeCallable composePlanogramPositionsCallable(const Model::ComposePlanogramPositionsRequest& 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;
|
||||
DeleteApDeviceOutcome deleteApDevice(const Model::DeleteApDeviceRequest &request)const;
|
||||
void deleteApDeviceAsync(const Model::DeleteApDeviceRequest& request, const DeleteApDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteApDeviceOutcomeCallable deleteApDeviceCallable(const Model::DeleteApDeviceRequest& request) const;
|
||||
DeletePlanogramShelfOutcome deletePlanogramShelf(const Model::DeletePlanogramShelfRequest &request)const;
|
||||
void deletePlanogramShelfAsync(const Model::DeletePlanogramShelfRequest& request, const DeletePlanogramShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePlanogramShelfOutcomeCallable deletePlanogramShelfCallable(const Model::DeletePlanogramShelfRequest& request) const;
|
||||
DeleteRoleActionsOutcome deleteRoleActions(const Model::DeleteRoleActionsRequest &request)const;
|
||||
void deleteRoleActionsAsync(const Model::DeleteRoleActionsRequest& request, const DeleteRoleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRoleActionsOutcomeCallable deleteRoleActionsCallable(const Model::DeleteRoleActionsRequest& request) const;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
DescribeAlarmsOutcome describeAlarms(const Model::DescribeAlarmsRequest &request)const;
|
||||
void describeAlarmsAsync(const Model::DescribeAlarmsRequest& request, const DescribeAlarmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAlarmsOutcomeCallable describeAlarmsCallable(const Model::DescribeAlarmsRequest& request) const;
|
||||
DescribeApDevicesOutcome describeApDevices(const Model::DescribeApDevicesRequest &request)const;
|
||||
void describeApDevicesAsync(const Model::DescribeApDevicesRequest& request, const DescribeApDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeApDevicesOutcomeCallable describeApDevicesCallable(const Model::DescribeApDevicesRequest& request) const;
|
||||
@@ -302,27 +214,9 @@ namespace AlibabaCloud
|
||||
DescribeItemsOutcome describeItems(const Model::DescribeItemsRequest &request)const;
|
||||
void describeItemsAsync(const Model::DescribeItemsRequest& request, const DescribeItemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeItemsOutcomeCallable describeItemsCallable(const Model::DescribeItemsRequest& request) const;
|
||||
DescribePlanogramEslDevicesOutcome describePlanogramEslDevices(const Model::DescribePlanogramEslDevicesRequest &request)const;
|
||||
void describePlanogramEslDevicesAsync(const Model::DescribePlanogramEslDevicesRequest& request, const DescribePlanogramEslDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePlanogramEslDevicesOutcomeCallable describePlanogramEslDevicesCallable(const Model::DescribePlanogramEslDevicesRequest& request) const;
|
||||
DescribePlanogramPositionsOutcome describePlanogramPositions(const Model::DescribePlanogramPositionsRequest &request)const;
|
||||
void describePlanogramPositionsAsync(const Model::DescribePlanogramPositionsRequest& request, const DescribePlanogramPositionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePlanogramPositionsOutcomeCallable describePlanogramPositionsCallable(const Model::DescribePlanogramPositionsRequest& request) const;
|
||||
DescribePlanogramRailsOutcome describePlanogramRails(const Model::DescribePlanogramRailsRequest &request)const;
|
||||
void describePlanogramRailsAsync(const Model::DescribePlanogramRailsRequest& request, const DescribePlanogramRailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePlanogramRailsOutcomeCallable describePlanogramRailsCallable(const Model::DescribePlanogramRailsRequest& request) const;
|
||||
DescribePlanogramShelvesOutcome describePlanogramShelves(const Model::DescribePlanogramShelvesRequest &request)const;
|
||||
void describePlanogramShelvesAsync(const Model::DescribePlanogramShelvesRequest& request, const DescribePlanogramShelvesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePlanogramShelvesOutcomeCallable describePlanogramShelvesCallable(const Model::DescribePlanogramShelvesRequest& request) const;
|
||||
DescribeRoleActionsOutcome describeRoleActions(const Model::DescribeRoleActionsRequest &request)const;
|
||||
void describeRoleActionsAsync(const Model::DescribeRoleActionsRequest& request, const DescribeRoleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRoleActionsOutcomeCallable describeRoleActionsCallable(const Model::DescribeRoleActionsRequest& request) const;
|
||||
DescribeStoreConfigOutcome describeStoreConfig(const Model::DescribeStoreConfigRequest &request)const;
|
||||
void describeStoreConfigAsync(const Model::DescribeStoreConfigRequest& request, const DescribeStoreConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeStoreConfigOutcomeCallable describeStoreConfigCallable(const Model::DescribeStoreConfigRequest& request) const;
|
||||
DescribeStoreStatisticsOutcome describeStoreStatistics(const Model::DescribeStoreStatisticsRequest &request)const;
|
||||
void describeStoreStatisticsAsync(const Model::DescribeStoreStatisticsRequest& request, const DescribeStoreStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeStoreStatisticsOutcomeCallable describeStoreStatisticsCallable(const Model::DescribeStoreStatisticsRequest& request) const;
|
||||
DescribeStoresOutcome describeStores(const Model::DescribeStoresRequest &request)const;
|
||||
void describeStoresAsync(const Model::DescribeStoresRequest& request, const DescribeStoresAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeStoresOutcomeCallable describeStoresCallable(const Model::DescribeStoresRequest& request) const;
|
||||
@@ -332,9 +226,6 @@ namespace AlibabaCloud
|
||||
DescribeUsersOutcome describeUsers(const Model::DescribeUsersRequest &request)const;
|
||||
void describeUsersAsync(const Model::DescribeUsersRequest& request, const DescribeUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUsersOutcomeCallable describeUsersCallable(const Model::DescribeUsersRequest& request) const;
|
||||
DissociatePlanogramRailOutcome dissociatePlanogramRail(const Model::DissociatePlanogramRailRequest &request)const;
|
||||
void dissociatePlanogramRailAsync(const Model::DissociatePlanogramRailRequest& request, const DissociatePlanogramRailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DissociatePlanogramRailOutcomeCallable dissociatePlanogramRailCallable(const Model::DissociatePlanogramRailRequest& 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;
|
||||
@@ -353,9 +244,6 @@ namespace AlibabaCloud
|
||||
UpdateStoreConfigOutcome updateStoreConfig(const Model::UpdateStoreConfigRequest &request)const;
|
||||
void updateStoreConfigAsync(const Model::UpdateStoreConfigRequest& request, const UpdateStoreConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateStoreConfigOutcomeCallable updateStoreConfigCallable(const Model::UpdateStoreConfigRequest& request) const;
|
||||
UpdateUserOutcome updateUser(const Model::UpdateUserRequest &request)const;
|
||||
void updateUserAsync(const Model::UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateUserOutcomeCallable updateUserCallable(const Model::UpdateUserRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFREQUEST_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 AddPlanogramShelfRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddPlanogramShelfRequest();
|
||||
~AddPlanogramShelfRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getShelfType()const;
|
||||
void setShelfType(const std::string& shelfType);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
std::string getZone()const;
|
||||
void setZone(const std::string& zone);
|
||||
std::string getShelf()const;
|
||||
void setShelf(const std::string& shelf);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string clientToken_;
|
||||
std::string shelfType_;
|
||||
std::string storeId_;
|
||||
std::string zone_;
|
||||
std::string shelf_;
|
||||
std::string category_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFREQUEST_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFRESULT_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 AddPlanogramShelfResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddPlanogramShelfResult();
|
||||
explicit AddPlanogramShelfResult(const std::string &payload);
|
||||
~AddPlanogramShelfResult();
|
||||
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_ADDPLANOGRAMSHELFRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSREQUEST_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 AddRoleActionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddRoleActionsRequest();
|
||||
~AddRoleActionsRequest();
|
||||
|
||||
std::string getRoleCode()const;
|
||||
void setRoleCode(const std::string& roleCode);
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getAccessControlLists()const;
|
||||
void setAccessControlLists(const std::string& accessControlLists);
|
||||
|
||||
private:
|
||||
std::string roleCode_;
|
||||
std::string extraParams_;
|
||||
std::string clientToken_;
|
||||
std::string accessControlLists_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSREQUEST_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSRESULT_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 AddRoleActionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddRoleActionsResult();
|
||||
explicit AddRoleActionsResult(const std::string &payload);
|
||||
~AddRoleActionsResult();
|
||||
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_ADDROLEACTIONSRESULT_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ASSOCIATEPLANOGRAMRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_ASSOCIATEPLANOGRAMRAILREQUEST_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 AssociatePlanogramRailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AssociatePlanogramRailRequest();
|
||||
~AssociatePlanogramRailRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
int getLayer()const;
|
||||
void setLayer(int layer);
|
||||
std::string getShelf()const;
|
||||
void setShelf(const std::string& shelf);
|
||||
std::string getRailCode()const;
|
||||
void setRailCode(const std::string& railCode);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
int layer_;
|
||||
std::string shelf_;
|
||||
std::string railCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ASSOCIATEPLANOGRAMRAILREQUEST_H_
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSREQUEST_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 ComposePlanogramPositionsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct ShelfPositionInfo
|
||||
{
|
||||
float offsetFrom;
|
||||
float depth;
|
||||
std::string column;
|
||||
int facing;
|
||||
float offsetTo;
|
||||
std::string itemBarCode;
|
||||
};
|
||||
|
||||
public:
|
||||
ComposePlanogramPositionsRequest();
|
||||
~ComposePlanogramPositionsRequest();
|
||||
|
||||
std::string getActionType()const;
|
||||
void setActionType(const std::string& actionType);
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
int getLayer()const;
|
||||
void setLayer(int layer);
|
||||
std::string getLayerOrigin()const;
|
||||
void setLayerOrigin(const std::string& layerOrigin);
|
||||
bool getBeAutoRefresh()const;
|
||||
void setBeAutoRefresh(bool beAutoRefresh);
|
||||
std::string getShelf()const;
|
||||
void setShelf(const std::string& shelf);
|
||||
std::vector<ShelfPositionInfo> getShelfPositionInfo()const;
|
||||
void setShelfPositionInfo(const std::vector<ShelfPositionInfo>& shelfPositionInfo);
|
||||
|
||||
private:
|
||||
std::string actionType_;
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
int layer_;
|
||||
std::string layerOrigin_;
|
||||
bool beAutoRefresh_;
|
||||
std::string shelf_;
|
||||
std::vector<ShelfPositionInfo> shelfPositionInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSREQUEST_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSRESULT_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 ComposePlanogramPositionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ComposePlanogramPositionsResult();
|
||||
explicit ComposePlanogramPositionsResult(const std::string &payload);
|
||||
~ComposePlanogramPositionsResult();
|
||||
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_COMPOSEPLANOGRAMPOSITIONSRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,27 +28,27 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DissociatePlanogramRailRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteItemRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DissociatePlanogramRailRequest();
|
||||
~DissociatePlanogramRailRequest();
|
||||
DeleteItemRequest();
|
||||
~DeleteItemRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
std::string getRailCode()const;
|
||||
void setRailCode(const std::string& railCode);
|
||||
std::string getItemBarCode()const;
|
||||
void setItemBarCode(const std::string& itemBarCode);
|
||||
bool getUnbindEslDevice()const;
|
||||
void setUnbindEslDevice(bool unbindEslDevice);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
std::string railCode_;
|
||||
std::string itemBarCode_;
|
||||
bool unbindEslDevice_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,18 +29,18 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT UpdateUserResult : public ServiceResult
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteItemResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateUserResult();
|
||||
explicit UpdateUserResult(const std::string &payload);
|
||||
~UpdateUserResult();
|
||||
DeleteItemResult();
|
||||
explicit DeleteItemResult(const std::string &payload);
|
||||
~DeleteItemResult();
|
||||
std::string getMessage()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -50,8 +50,8 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string message_;
|
||||
std::string dynamicCode_;
|
||||
std::string errorCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
@@ -60,4 +60,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFREQUEST_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 DeletePlanogramShelfRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeletePlanogramShelfRequest();
|
||||
~DeletePlanogramShelfRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
bool getBeAutoRefresh()const;
|
||||
void setBeAutoRefresh(bool beAutoRefresh);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
std::string getShelf()const;
|
||||
void setShelf(const std::string& shelf);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
bool beAutoRefresh_;
|
||||
std::string storeId_;
|
||||
std::string shelf_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFREQUEST_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEROLEACTIONSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEROLEACTIONSRESULT_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 DeleteRoleActionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteRoleActionsResult();
|
||||
explicit DeleteRoleActionsResult(const std::string &payload);
|
||||
~DeleteRoleActionsResult();
|
||||
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_DELETEROLEACTIONSRESULT_H_
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEALARMSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEALARMSREQUEST_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 DescribeAlarmsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAlarmsRequest();
|
||||
~DescribeAlarmsRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getAlarmType()const;
|
||||
void setAlarmType(const std::string& alarmType);
|
||||
std::string getAlarmStatus()const;
|
||||
void setAlarmStatus(const std::string& alarmStatus);
|
||||
std::string getErrorType()const;
|
||||
void setErrorType(const std::string& errorType);
|
||||
std::string getAlarmId()const;
|
||||
void setAlarmId(const std::string& alarmId);
|
||||
std::string getDeviceMac()const;
|
||||
void setDeviceMac(const std::string& deviceMac);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string alarmType_;
|
||||
std::string alarmStatus_;
|
||||
std::string errorType_;
|
||||
std::string alarmId_;
|
||||
std::string deviceMac_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEALARMSREQUEST_H_
|
||||
@@ -1,91 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEALARMSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEALARMSRESULT_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 DescribeAlarmsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AlarmInfo
|
||||
{
|
||||
std::string alarmId;
|
||||
std::string retryGmtCreate;
|
||||
std::string alarmType;
|
||||
std::string deviceBarCode;
|
||||
std::string deviceMac;
|
||||
std::string itemBarCode;
|
||||
std::string remark;
|
||||
std::string deviceType;
|
||||
std::string storeId;
|
||||
std::string errorType;
|
||||
std::string alarmTime;
|
||||
std::string dealUserId;
|
||||
std::string itemTitle;
|
||||
std::string retryGmtModified;
|
||||
std::string alarmStatus;
|
||||
std::string dealTime;
|
||||
long retryTimes;
|
||||
};
|
||||
|
||||
|
||||
DescribeAlarmsResult();
|
||||
explicit DescribeAlarmsResult(const std::string &payload);
|
||||
~DescribeAlarmsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
std::string getMessage()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<AlarmInfo> getAlarms()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_;
|
||||
int pageSize_;
|
||||
std::string message_;
|
||||
int pageNumber_;
|
||||
std::vector<AlarmInfo> alarms_;
|
||||
std::string dynamicCode_;
|
||||
std::string errorCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEALARMSRESULT_H_
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string eslBarCode;
|
||||
std::string type;
|
||||
int eslSignal;
|
||||
int batteryLevel;
|
||||
std::string storeId;
|
||||
std::string model;
|
||||
|
||||
@@ -71,6 +71,7 @@ namespace AlibabaCloud
|
||||
std::string sourceCode;
|
||||
std::string gmtModified;
|
||||
std::string itemBarCode;
|
||||
std::string templateSceneId;
|
||||
int salesPrice;
|
||||
std::string itemShortTitle;
|
||||
std::string itemPicUrl;
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESREQUEST_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 DescribePlanogramEslDevicesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePlanogramEslDevicesRequest();
|
||||
~DescribePlanogramEslDevicesRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
int getLayer()const;
|
||||
void setLayer(int layer);
|
||||
std::string getEslBarCode()const;
|
||||
void setEslBarCode(const std::string& eslBarCode);
|
||||
std::string getShelf()const;
|
||||
void setShelf(const std::string& shelf);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
int layer_;
|
||||
std::string eslBarCode_;
|
||||
std::string shelf_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESREQUEST_H_
|
||||
@@ -1,86 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESRESULT_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 DescribePlanogramEslDevicesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct EslDeviceLayerInfo
|
||||
{
|
||||
struct EslDevicePositionInfo
|
||||
{
|
||||
struct EslDevicePlanogramInfo
|
||||
{
|
||||
std::string eslModel;
|
||||
std::string eslBarCode;
|
||||
std::string itemTitle;
|
||||
std::string itemBarCode;
|
||||
};
|
||||
std::vector<EslDevicePositionInfo::EslDevicePlanogramInfo> eslDevicePlanogramInfos;
|
||||
std::string column;
|
||||
};
|
||||
int layer;
|
||||
std::vector<EslDeviceLayerInfo::EslDevicePositionInfo> eslDevicePositionInfos;
|
||||
};
|
||||
|
||||
|
||||
DescribePlanogramEslDevicesResult();
|
||||
explicit DescribePlanogramEslDevicesResult(const std::string &payload);
|
||||
~DescribePlanogramEslDevicesResult();
|
||||
std::string getMessage()const;
|
||||
std::string getStoreId()const;
|
||||
std::string getShelf()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrorCode()const;
|
||||
std::vector<EslDeviceLayerInfo> getEslDeviceLayerInfos()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 storeId_;
|
||||
std::string shelf_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorCode_;
|
||||
std::vector<EslDeviceLayerInfo> eslDeviceLayerInfos_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSREQUEST_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 DescribePlanogramPositionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePlanogramPositionsRequest();
|
||||
~DescribePlanogramPositionsRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
int getLayer()const;
|
||||
void setLayer(int layer);
|
||||
std::string getShelf()const;
|
||||
void setShelf(const std::string& shelf);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
int layer_;
|
||||
std::string shelf_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSREQUEST_H_
|
||||
@@ -1,88 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSRESULT_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 DescribePlanogramPositionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LayerInfo
|
||||
{
|
||||
struct ShelfPositionInfo
|
||||
{
|
||||
int facing;
|
||||
float offsetTo;
|
||||
std::string column;
|
||||
std::string itemTitle;
|
||||
std::string itemBarCode;
|
||||
float offsetFrom;
|
||||
float depth;
|
||||
};
|
||||
std::string layerOrigin;
|
||||
std::string railCode;
|
||||
int layer;
|
||||
std::vector<LayerInfo::ShelfPositionInfo> shelfPositionInfos;
|
||||
};
|
||||
|
||||
|
||||
DescribePlanogramPositionsResult();
|
||||
explicit DescribePlanogramPositionsResult(const std::string &payload);
|
||||
~DescribePlanogramPositionsResult();
|
||||
std::string getMessage()const;
|
||||
std::string getStoreId()const;
|
||||
std::string getShelfType()const;
|
||||
std::string getShelf()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::vector<LayerInfo> getLayerInfos()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrorCode()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 storeId_;
|
||||
std::string shelfType_;
|
||||
std::string shelf_;
|
||||
std::string dynamicCode_;
|
||||
std::vector<LayerInfo> layerInfos_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSRESULT_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSREQUEST_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 DescribePlanogramRailsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePlanogramRailsRequest();
|
||||
~DescribePlanogramRailsRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
int getLayer()const;
|
||||
void setLayer(int layer);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getShelf()const;
|
||||
void setShelf(const std::string& shelf);
|
||||
std::string getRailCode()const;
|
||||
void setRailCode(const std::string& railCode);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
int layer_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string shelf_;
|
||||
std::string railCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSREQUEST_H_
|
||||
@@ -1,80 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSRESULT_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 DescribePlanogramRailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PlanogramRailInfo
|
||||
{
|
||||
std::string railCode;
|
||||
std::string shelf;
|
||||
int gapUnit;
|
||||
int layer;
|
||||
};
|
||||
|
||||
|
||||
DescribePlanogramRailsResult();
|
||||
explicit DescribePlanogramRailsResult(const std::string &payload);
|
||||
~DescribePlanogramRailsResult();
|
||||
std::vector<PlanogramRailInfo> getPlanogramRailInfos()const;
|
||||
int getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
std::string getStoreId()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PlanogramRailInfo> planogramRailInfos_;
|
||||
int totalCount_;
|
||||
std::string message_;
|
||||
std::string storeId_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESREQUEST_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 DescribePlanogramShelvesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePlanogramShelvesRequest();
|
||||
~DescribePlanogramShelvesRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESREQUEST_H_
|
||||
@@ -1,86 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESRESULT_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 DescribePlanogramShelvesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ShelfInfo
|
||||
{
|
||||
struct LayerInfo
|
||||
{
|
||||
int layer;
|
||||
};
|
||||
std::string category;
|
||||
std::string shelfType;
|
||||
std::string zone;
|
||||
std::string shelf;
|
||||
std::vector<ShelfInfo::LayerInfo> layerInfos;
|
||||
bool beMatch;
|
||||
};
|
||||
|
||||
|
||||
DescribePlanogramShelvesResult();
|
||||
explicit DescribePlanogramShelvesResult(const std::string &payload);
|
||||
~DescribePlanogramShelvesResult();
|
||||
std::vector<ShelfInfo> getShelfInfos()const;
|
||||
int getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
std::string getStoreId()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ShelfInfo> shelfInfos_;
|
||||
int totalCount_;
|
||||
std::string message_;
|
||||
std::string storeId_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESRESULT_H_
|
||||
@@ -1,75 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEROLEACTIONSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEROLEACTIONSRESULT_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 DescribeRoleActionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RoleAclInfo
|
||||
{
|
||||
struct RoleActionInfo
|
||||
{
|
||||
std::string code;
|
||||
};
|
||||
std::vector<RoleAclInfo::RoleActionInfo> accessControlLists;
|
||||
std::string roleCode;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeRoleActionsResult();
|
||||
explicit DescribeRoleActionsResult(const std::string &payload);
|
||||
~DescribeRoleActionsResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<RoleAclInfo> getRoleAclInfos()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::vector<RoleAclInfo> roleAclInfos_;
|
||||
std::string dynamicCode_;
|
||||
std::string errorCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEROLEACTIONSRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESTATISTICSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESTATISTICSREQUEST_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 DescribeStoreStatisticsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeStoreStatisticsRequest();
|
||||
~DescribeStoreStatisticsRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
std::string getFromDate()const;
|
||||
void setFromDate(const std::string& fromDate);
|
||||
std::string getToDate()const;
|
||||
void setToDate(const std::string& toDate);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
std::string fromDate_;
|
||||
std::string toDate_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESTATISTICSREQUEST_H_
|
||||
@@ -1,81 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESTATISTICSRESULT_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 DescribeStoreStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct StoreStatisticsInfo
|
||||
{
|
||||
std::string storeName;
|
||||
int bindEsl;
|
||||
int bindItem;
|
||||
std::string statisticsTime;
|
||||
int sendFailEsl;
|
||||
int lowBatteryEsl;
|
||||
int offlineEslDevice;
|
||||
int displayFailEsl;
|
||||
int activeApDevice;
|
||||
std::string storeId;
|
||||
int updateEsl;
|
||||
int updateFailureEsl;
|
||||
int abnormalEsl;
|
||||
};
|
||||
|
||||
|
||||
DescribeStoreStatisticsResult();
|
||||
explicit DescribeStoreStatisticsResult(const std::string &payload);
|
||||
~DescribeStoreStatisticsResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<StoreStatisticsInfo> getStoreStatisticsInfoList()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::vector<StoreStatisticsInfo> storeStatisticsInfoList_;
|
||||
std::string dynamicCode_;
|
||||
std::string errorCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESTATISTICSRESULT_H_
|
||||
@@ -43,6 +43,7 @@ namespace AlibabaCloud
|
||||
std::string itemId;
|
||||
std::string gmtCreate;
|
||||
std::string eslBarCode;
|
||||
int eslSignal;
|
||||
std::string priceUnit;
|
||||
std::string itemShortTitle;
|
||||
std::string storeId;
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILRESULT_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 DissociatePlanogramRailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DissociatePlanogramRailResult();
|
||||
explicit DissociatePlanogramRailResult(const std::string &payload);
|
||||
~DissociatePlanogramRailResult();
|
||||
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_DISSOCIATEPLANOGRAMRAILRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERREQUEST_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 UpdateUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateUserRequest();
|
||||
~UpdateUserRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getDingTalkUserId()const;
|
||||
void setDingTalkUserId(const std::string& dingTalkUserId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getDingTalkCompanyId()const;
|
||||
void setDingTalkCompanyId(const std::string& dingTalkCompanyId);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string dingTalkUserId_;
|
||||
std::string userId_;
|
||||
std::string dingTalkCompanyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERREQUEST_H_
|
||||
@@ -123,78 +123,6 @@ CloudeslClient::AddApDeviceOutcomeCallable CloudeslClient::addApDeviceCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::AddPlanogramShelfOutcome CloudeslClient::addPlanogramShelf(const AddPlanogramShelfRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddPlanogramShelfOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddPlanogramShelfOutcome(AddPlanogramShelfResult(outcome.result()));
|
||||
else
|
||||
return AddPlanogramShelfOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::addPlanogramShelfAsync(const AddPlanogramShelfRequest& request, const AddPlanogramShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addPlanogramShelf(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::AddPlanogramShelfOutcomeCallable CloudeslClient::addPlanogramShelfCallable(const AddPlanogramShelfRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddPlanogramShelfOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addPlanogramShelf(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::AddRoleActionsOutcome CloudeslClient::addRoleActions(const AddRoleActionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddRoleActionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddRoleActionsOutcome(AddRoleActionsResult(outcome.result()));
|
||||
else
|
||||
return AddRoleActionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::addRoleActionsAsync(const AddRoleActionsRequest& request, const AddRoleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addRoleActions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::AddRoleActionsOutcomeCallable CloudeslClient::addRoleActionsCallable(const AddRoleActionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddRoleActionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addRoleActions(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::AddUserOutcome CloudeslClient::addUser(const AddUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -267,42 +195,6 @@ CloudeslClient::AssignUserOutcomeCallable CloudeslClient::assignUserCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::AssociatePlanogramRailOutcome CloudeslClient::associatePlanogramRail(const AssociatePlanogramRailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AssociatePlanogramRailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AssociatePlanogramRailOutcome(AssociatePlanogramRailResult(outcome.result()));
|
||||
else
|
||||
return AssociatePlanogramRailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::associatePlanogramRailAsync(const AssociatePlanogramRailRequest& request, const AssociatePlanogramRailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, associatePlanogramRail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::AssociatePlanogramRailOutcomeCallable CloudeslClient::associatePlanogramRailCallable(const AssociatePlanogramRailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AssociatePlanogramRailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->associatePlanogramRail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::BatchInsertItemsOutcome CloudeslClient::batchInsertItems(const BatchInsertItemsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,42 +267,6 @@ CloudeslClient::BindEslDeviceOutcomeCallable CloudeslClient::bindEslDeviceCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::ComposePlanogramPositionsOutcome CloudeslClient::composePlanogramPositions(const ComposePlanogramPositionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ComposePlanogramPositionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ComposePlanogramPositionsOutcome(ComposePlanogramPositionsResult(outcome.result()));
|
||||
else
|
||||
return ComposePlanogramPositionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::composePlanogramPositionsAsync(const ComposePlanogramPositionsRequest& request, const ComposePlanogramPositionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, composePlanogramPositions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::ComposePlanogramPositionsOutcomeCallable CloudeslClient::composePlanogramPositionsCallable(const ComposePlanogramPositionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ComposePlanogramPositionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->composePlanogramPositions(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::CreateStoreOutcome CloudeslClient::createStore(const CreateStoreRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -483,72 +339,36 @@ CloudeslClient::DeleteApDeviceOutcomeCallable CloudeslClient::deleteApDeviceCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DeletePlanogramShelfOutcome CloudeslClient::deletePlanogramShelf(const DeletePlanogramShelfRequest &request) const
|
||||
CloudeslClient::DeleteItemOutcome CloudeslClient::deleteItem(const DeleteItemRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeletePlanogramShelfOutcome(endpointOutcome.error());
|
||||
return DeleteItemOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeletePlanogramShelfOutcome(DeletePlanogramShelfResult(outcome.result()));
|
||||
return DeleteItemOutcome(DeleteItemResult(outcome.result()));
|
||||
else
|
||||
return DeletePlanogramShelfOutcome(outcome.error());
|
||||
return DeleteItemOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::deletePlanogramShelfAsync(const DeletePlanogramShelfRequest& request, const DeletePlanogramShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void CloudeslClient::deleteItemAsync(const DeleteItemRequest& request, const DeleteItemAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deletePlanogramShelf(request), context);
|
||||
handler(this, request, deleteItem(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DeletePlanogramShelfOutcomeCallable CloudeslClient::deletePlanogramShelfCallable(const DeletePlanogramShelfRequest &request) const
|
||||
CloudeslClient::DeleteItemOutcomeCallable CloudeslClient::deleteItemCallable(const DeleteItemRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeletePlanogramShelfOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<DeleteItemOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deletePlanogramShelf(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DeleteRoleActionsOutcome CloudeslClient::deleteRoleActions(const DeleteRoleActionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteRoleActionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteRoleActionsOutcome(DeleteRoleActionsResult(outcome.result()));
|
||||
else
|
||||
return DeleteRoleActionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::deleteRoleActionsAsync(const DeleteRoleActionsRequest& request, const DeleteRoleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteRoleActions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DeleteRoleActionsOutcomeCallable CloudeslClient::deleteRoleActionsCallable(const DeleteRoleActionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteRoleActionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteRoleActions(request);
|
||||
return this->deleteItem(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -627,42 +447,6 @@ CloudeslClient::DeleteUserOutcomeCallable CloudeslClient::deleteUserCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeAlarmsOutcome CloudeslClient::describeAlarms(const DescribeAlarmsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAlarmsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAlarmsOutcome(DescribeAlarmsResult(outcome.result()));
|
||||
else
|
||||
return DescribeAlarmsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describeAlarmsAsync(const DescribeAlarmsRequest& request, const DescribeAlarmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAlarms(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeAlarmsOutcomeCallable CloudeslClient::describeAlarmsCallable(const DescribeAlarmsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAlarmsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAlarms(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeApDevicesOutcome CloudeslClient::describeApDevices(const DescribeApDevicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -843,186 +627,6 @@ CloudeslClient::DescribeItemsOutcomeCallable CloudeslClient::describeItemsCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramEslDevicesOutcome CloudeslClient::describePlanogramEslDevices(const DescribePlanogramEslDevicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribePlanogramEslDevicesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribePlanogramEslDevicesOutcome(DescribePlanogramEslDevicesResult(outcome.result()));
|
||||
else
|
||||
return DescribePlanogramEslDevicesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describePlanogramEslDevicesAsync(const DescribePlanogramEslDevicesRequest& request, const DescribePlanogramEslDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describePlanogramEslDevices(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramEslDevicesOutcomeCallable CloudeslClient::describePlanogramEslDevicesCallable(const DescribePlanogramEslDevicesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribePlanogramEslDevicesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describePlanogramEslDevices(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramPositionsOutcome CloudeslClient::describePlanogramPositions(const DescribePlanogramPositionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribePlanogramPositionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribePlanogramPositionsOutcome(DescribePlanogramPositionsResult(outcome.result()));
|
||||
else
|
||||
return DescribePlanogramPositionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describePlanogramPositionsAsync(const DescribePlanogramPositionsRequest& request, const DescribePlanogramPositionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describePlanogramPositions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramPositionsOutcomeCallable CloudeslClient::describePlanogramPositionsCallable(const DescribePlanogramPositionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribePlanogramPositionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describePlanogramPositions(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramRailsOutcome CloudeslClient::describePlanogramRails(const DescribePlanogramRailsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribePlanogramRailsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribePlanogramRailsOutcome(DescribePlanogramRailsResult(outcome.result()));
|
||||
else
|
||||
return DescribePlanogramRailsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describePlanogramRailsAsync(const DescribePlanogramRailsRequest& request, const DescribePlanogramRailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describePlanogramRails(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramRailsOutcomeCallable CloudeslClient::describePlanogramRailsCallable(const DescribePlanogramRailsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribePlanogramRailsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describePlanogramRails(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramShelvesOutcome CloudeslClient::describePlanogramShelves(const DescribePlanogramShelvesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribePlanogramShelvesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribePlanogramShelvesOutcome(DescribePlanogramShelvesResult(outcome.result()));
|
||||
else
|
||||
return DescribePlanogramShelvesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describePlanogramShelvesAsync(const DescribePlanogramShelvesRequest& request, const DescribePlanogramShelvesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describePlanogramShelves(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramShelvesOutcomeCallable CloudeslClient::describePlanogramShelvesCallable(const DescribePlanogramShelvesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribePlanogramShelvesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describePlanogramShelves(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeRoleActionsOutcome CloudeslClient::describeRoleActions(const DescribeRoleActionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRoleActionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRoleActionsOutcome(DescribeRoleActionsResult(outcome.result()));
|
||||
else
|
||||
return DescribeRoleActionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describeRoleActionsAsync(const DescribeRoleActionsRequest& request, const DescribeRoleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRoleActions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeRoleActionsOutcomeCallable CloudeslClient::describeRoleActionsCallable(const DescribeRoleActionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRoleActionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRoleActions(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeStoreConfigOutcome CloudeslClient::describeStoreConfig(const DescribeStoreConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1059,42 +663,6 @@ CloudeslClient::DescribeStoreConfigOutcomeCallable CloudeslClient::describeStore
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeStoreStatisticsOutcome CloudeslClient::describeStoreStatistics(const DescribeStoreStatisticsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeStoreStatisticsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeStoreStatisticsOutcome(DescribeStoreStatisticsResult(outcome.result()));
|
||||
else
|
||||
return DescribeStoreStatisticsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describeStoreStatisticsAsync(const DescribeStoreStatisticsRequest& request, const DescribeStoreStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeStoreStatistics(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeStoreStatisticsOutcomeCallable CloudeslClient::describeStoreStatisticsCallable(const DescribeStoreStatisticsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeStoreStatisticsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeStoreStatistics(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeStoresOutcome CloudeslClient::describeStores(const DescribeStoresRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1203,42 +771,6 @@ CloudeslClient::DescribeUsersOutcomeCallable CloudeslClient::describeUsersCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DissociatePlanogramRailOutcome CloudeslClient::dissociatePlanogramRail(const DissociatePlanogramRailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DissociatePlanogramRailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DissociatePlanogramRailOutcome(DissociatePlanogramRailResult(outcome.result()));
|
||||
else
|
||||
return DissociatePlanogramRailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::dissociatePlanogramRailAsync(const DissociatePlanogramRailRequest& request, const DissociatePlanogramRailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, dissociatePlanogramRail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DissociatePlanogramRailOutcomeCallable CloudeslClient::dissociatePlanogramRailCallable(const DissociatePlanogramRailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DissociatePlanogramRailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->dissociatePlanogramRail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::GetUserOutcome CloudeslClient::getUser(const GetUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1455,39 +987,3 @@ CloudeslClient::UpdateStoreConfigOutcomeCallable CloudeslClient::updateStoreConf
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::UpdateUserOutcome CloudeslClient::updateUser(const UpdateUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateUserOutcome(UpdateUserResult(outcome.result()));
|
||||
else
|
||||
return UpdateUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::updateUserAsync(const UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::UpdateUserOutcomeCallable CloudeslClient::updateUserCallable(const UpdateUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/AddPlanogramShelfRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::AddPlanogramShelfRequest;
|
||||
|
||||
AddPlanogramShelfRequest::AddPlanogramShelfRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "AddPlanogramShelf")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddPlanogramShelfRequest::~AddPlanogramShelfRequest()
|
||||
{}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setBodyParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getShelfType()const
|
||||
{
|
||||
return shelfType_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setShelfType(const std::string& shelfType)
|
||||
{
|
||||
shelfType_ = shelfType;
|
||||
setBodyParameter("ShelfType", shelfType);
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setStoreId(const std::string& storeId)
|
||||
{
|
||||
storeId_ = storeId;
|
||||
setBodyParameter("StoreId", storeId);
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getZone()const
|
||||
{
|
||||
return zone_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setZone(const std::string& zone)
|
||||
{
|
||||
zone_ = zone;
|
||||
setBodyParameter("Zone", zone);
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setShelf(const std::string& shelf)
|
||||
{
|
||||
shelf_ = shelf;
|
||||
setBodyParameter("Shelf", shelf);
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getCategory()const
|
||||
{
|
||||
return category_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setCategory(const std::string& category)
|
||||
{
|
||||
category_ = category;
|
||||
setBodyParameter("Category", category);
|
||||
}
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/AddPlanogramShelfResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
AddPlanogramShelfResult::AddPlanogramShelfResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddPlanogramShelfResult::AddPlanogramShelfResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddPlanogramShelfResult::~AddPlanogramShelfResult()
|
||||
{}
|
||||
|
||||
void AddPlanogramShelfResult::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["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";
|
||||
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool AddPlanogramShelfResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/AddRoleActionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::AddRoleActionsRequest;
|
||||
|
||||
AddRoleActionsRequest::AddRoleActionsRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "AddRoleActions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddRoleActionsRequest::~AddRoleActionsRequest()
|
||||
{}
|
||||
|
||||
std::string AddRoleActionsRequest::getRoleCode()const
|
||||
{
|
||||
return roleCode_;
|
||||
}
|
||||
|
||||
void AddRoleActionsRequest::setRoleCode(const std::string& roleCode)
|
||||
{
|
||||
roleCode_ = roleCode;
|
||||
setBodyParameter("RoleCode", roleCode);
|
||||
}
|
||||
|
||||
std::string AddRoleActionsRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void AddRoleActionsRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string AddRoleActionsRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddRoleActionsRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setBodyParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddRoleActionsRequest::getAccessControlLists()const
|
||||
{
|
||||
return accessControlLists_;
|
||||
}
|
||||
|
||||
void AddRoleActionsRequest::setAccessControlLists(const std::string& accessControlLists)
|
||||
{
|
||||
accessControlLists_ = accessControlLists;
|
||||
setBodyParameter("AccessControlLists", accessControlLists);
|
||||
}
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/AddRoleActionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
AddRoleActionsResult::AddRoleActionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddRoleActionsResult::AddRoleActionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddRoleActionsResult::~AddRoleActionsResult()
|
||||
{}
|
||||
|
||||
void AddRoleActionsResult::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["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";
|
||||
|
||||
}
|
||||
|
||||
std::string AddRoleActionsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string AddRoleActionsResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string AddRoleActionsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string AddRoleActionsResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string AddRoleActionsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string AddRoleActionsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool AddRoleActionsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/AssociatePlanogramRailRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::AssociatePlanogramRailRequest;
|
||||
|
||||
AssociatePlanogramRailRequest::AssociatePlanogramRailRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "AssociatePlanogramRail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AssociatePlanogramRailRequest::~AssociatePlanogramRailRequest()
|
||||
{}
|
||||
|
||||
std::string AssociatePlanogramRailRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void AssociatePlanogramRailRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string AssociatePlanogramRailRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
void AssociatePlanogramRailRequest::setStoreId(const std::string& storeId)
|
||||
{
|
||||
storeId_ = storeId;
|
||||
setBodyParameter("StoreId", storeId);
|
||||
}
|
||||
|
||||
int AssociatePlanogramRailRequest::getLayer()const
|
||||
{
|
||||
return layer_;
|
||||
}
|
||||
|
||||
void AssociatePlanogramRailRequest::setLayer(int layer)
|
||||
{
|
||||
layer_ = layer;
|
||||
setBodyParameter("Layer", std::to_string(layer));
|
||||
}
|
||||
|
||||
std::string AssociatePlanogramRailRequest::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
}
|
||||
|
||||
void AssociatePlanogramRailRequest::setShelf(const std::string& shelf)
|
||||
{
|
||||
shelf_ = shelf;
|
||||
setBodyParameter("Shelf", shelf);
|
||||
}
|
||||
|
||||
std::string AssociatePlanogramRailRequest::getRailCode()const
|
||||
{
|
||||
return railCode_;
|
||||
}
|
||||
|
||||
void AssociatePlanogramRailRequest::setRailCode(const std::string& railCode)
|
||||
{
|
||||
railCode_ = railCode;
|
||||
setBodyParameter("RailCode", railCode);
|
||||
}
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/AssociatePlanogramRailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
AssociatePlanogramRailResult::AssociatePlanogramRailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AssociatePlanogramRailResult::AssociatePlanogramRailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AssociatePlanogramRailResult::~AssociatePlanogramRailResult()
|
||||
{}
|
||||
|
||||
void AssociatePlanogramRailResult::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["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";
|
||||
|
||||
}
|
||||
|
||||
std::string AssociatePlanogramRailResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string AssociatePlanogramRailResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string AssociatePlanogramRailResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string AssociatePlanogramRailResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string AssociatePlanogramRailResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string AssociatePlanogramRailResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool AssociatePlanogramRailResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,126 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/ComposePlanogramPositionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::ComposePlanogramPositionsRequest;
|
||||
|
||||
ComposePlanogramPositionsRequest::ComposePlanogramPositionsRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "ComposePlanogramPositions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ComposePlanogramPositionsRequest::~ComposePlanogramPositionsRequest()
|
||||
{}
|
||||
|
||||
std::string ComposePlanogramPositionsRequest::getActionType()const
|
||||
{
|
||||
return actionType_;
|
||||
}
|
||||
|
||||
void ComposePlanogramPositionsRequest::setActionType(const std::string& actionType)
|
||||
{
|
||||
actionType_ = actionType;
|
||||
setBodyParameter("ActionType", actionType);
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void ComposePlanogramPositionsRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
void ComposePlanogramPositionsRequest::setStoreId(const std::string& storeId)
|
||||
{
|
||||
storeId_ = storeId;
|
||||
setBodyParameter("StoreId", storeId);
|
||||
}
|
||||
|
||||
int ComposePlanogramPositionsRequest::getLayer()const
|
||||
{
|
||||
return layer_;
|
||||
}
|
||||
|
||||
void ComposePlanogramPositionsRequest::setLayer(int layer)
|
||||
{
|
||||
layer_ = layer;
|
||||
setBodyParameter("Layer", std::to_string(layer));
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsRequest::getLayerOrigin()const
|
||||
{
|
||||
return layerOrigin_;
|
||||
}
|
||||
|
||||
void ComposePlanogramPositionsRequest::setLayerOrigin(const std::string& layerOrigin)
|
||||
{
|
||||
layerOrigin_ = layerOrigin;
|
||||
setBodyParameter("LayerOrigin", layerOrigin);
|
||||
}
|
||||
|
||||
bool ComposePlanogramPositionsRequest::getBeAutoRefresh()const
|
||||
{
|
||||
return beAutoRefresh_;
|
||||
}
|
||||
|
||||
void ComposePlanogramPositionsRequest::setBeAutoRefresh(bool beAutoRefresh)
|
||||
{
|
||||
beAutoRefresh_ = beAutoRefresh;
|
||||
setBodyParameter("BeAutoRefresh", beAutoRefresh ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsRequest::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
}
|
||||
|
||||
void ComposePlanogramPositionsRequest::setShelf(const std::string& shelf)
|
||||
{
|
||||
shelf_ = shelf;
|
||||
setBodyParameter("Shelf", shelf);
|
||||
}
|
||||
|
||||
std::vector<ComposePlanogramPositionsRequest::ShelfPositionInfo> ComposePlanogramPositionsRequest::getShelfPositionInfo()const
|
||||
{
|
||||
return shelfPositionInfo_;
|
||||
}
|
||||
|
||||
void ComposePlanogramPositionsRequest::setShelfPositionInfo(const std::vector<ShelfPositionInfo>& shelfPositionInfo)
|
||||
{
|
||||
shelfPositionInfo_ = shelfPositionInfo;
|
||||
for(int dep1 = 0; dep1!= shelfPositionInfo.size(); dep1++) {
|
||||
auto shelfPositionInfoObj = shelfPositionInfo.at(dep1);
|
||||
std::string shelfPositionInfoObjStr = "ShelfPositionInfo." + std::to_string(dep1 + 1);
|
||||
setParameter(shelfPositionInfoObjStr + ".OffsetFrom", std::to_string(shelfPositionInfoObj.offsetFrom));
|
||||
setParameter(shelfPositionInfoObjStr + ".Depth", std::to_string(shelfPositionInfoObj.depth));
|
||||
setParameter(shelfPositionInfoObjStr + ".Column", shelfPositionInfoObj.column);
|
||||
setParameter(shelfPositionInfoObjStr + ".Facing", std::to_string(shelfPositionInfoObj.facing));
|
||||
setParameter(shelfPositionInfoObjStr + ".OffsetTo", std::to_string(shelfPositionInfoObj.offsetTo));
|
||||
setParameter(shelfPositionInfoObjStr + ".ItemBarCode", shelfPositionInfoObj.itemBarCode);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/ComposePlanogramPositionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
ComposePlanogramPositionsResult::ComposePlanogramPositionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ComposePlanogramPositionsResult::ComposePlanogramPositionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ComposePlanogramPositionsResult::~ComposePlanogramPositionsResult()
|
||||
{}
|
||||
|
||||
void ComposePlanogramPositionsResult::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["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";
|
||||
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ComposePlanogramPositionsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
62
cloudesl/src/model/DeleteItemRequest.cc
Normal file
62
cloudesl/src/model/DeleteItemRequest.cc
Normal 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/DeleteItemRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::DeleteItemRequest;
|
||||
|
||||
DeleteItemRequest::DeleteItemRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "DeleteItem")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteItemRequest::~DeleteItemRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteItemRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
void DeleteItemRequest::setStoreId(const std::string& storeId)
|
||||
{
|
||||
storeId_ = storeId;
|
||||
setBodyParameter("StoreId", storeId);
|
||||
}
|
||||
|
||||
std::string DeleteItemRequest::getItemBarCode()const
|
||||
{
|
||||
return itemBarCode_;
|
||||
}
|
||||
|
||||
void DeleteItemRequest::setItemBarCode(const std::string& itemBarCode)
|
||||
{
|
||||
itemBarCode_ = itemBarCode;
|
||||
setBodyParameter("ItemBarCode", itemBarCode);
|
||||
}
|
||||
|
||||
bool DeleteItemRequest::getUnbindEslDevice()const
|
||||
{
|
||||
return unbindEslDevice_;
|
||||
}
|
||||
|
||||
void DeleteItemRequest::setUnbindEslDevice(bool unbindEslDevice)
|
||||
{
|
||||
unbindEslDevice_ = unbindEslDevice;
|
||||
setBodyParameter("UnbindEslDevice", unbindEslDevice ? "true" : "false");
|
||||
}
|
||||
|
||||
@@ -14,79 +14,79 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/UpdateUserResult.h>
|
||||
#include <alibabacloud/cloudesl/model/DeleteItemResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
UpdateUserResult::UpdateUserResult() :
|
||||
DeleteItemResult::DeleteItemResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateUserResult::UpdateUserResult(const std::string &payload) :
|
||||
DeleteItemResult::DeleteItemResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateUserResult::~UpdateUserResult()
|
||||
DeleteItemResult::~DeleteItemResult()
|
||||
{}
|
||||
|
||||
void UpdateUserResult::parse(const std::string &payload)
|
||||
void DeleteItemResult::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["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["DynamicCode"].isNull())
|
||||
dynamicCode_ = value["DynamicCode"].asString();
|
||||
if(!value["DynamicMessage"].isNull())
|
||||
dynamicMessage_ = value["DynamicMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string UpdateUserResult::getMessage()const
|
||||
std::string DeleteItemResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string UpdateUserResult::getDynamicCode()const
|
||||
std::string DeleteItemResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string UpdateUserResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string UpdateUserResult::getDynamicMessage()const
|
||||
std::string DeleteItemResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string UpdateUserResult::getErrorMessage()const
|
||||
std::string DeleteItemResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteItemResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string UpdateUserResult::getCode()const
|
||||
std::string DeleteItemResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool UpdateUserResult::getSuccess()const
|
||||
bool DeleteItemResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DeletePlanogramShelfRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::DeletePlanogramShelfRequest;
|
||||
|
||||
DeletePlanogramShelfRequest::DeletePlanogramShelfRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "DeletePlanogramShelf")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeletePlanogramShelfRequest::~DeletePlanogramShelfRequest()
|
||||
{}
|
||||
|
||||
std::string DeletePlanogramShelfRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void DeletePlanogramShelfRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
bool DeletePlanogramShelfRequest::getBeAutoRefresh()const
|
||||
{
|
||||
return beAutoRefresh_;
|
||||
}
|
||||
|
||||
void DeletePlanogramShelfRequest::setBeAutoRefresh(bool beAutoRefresh)
|
||||
{
|
||||
beAutoRefresh_ = beAutoRefresh;
|
||||
setBodyParameter("BeAutoRefresh", beAutoRefresh ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeletePlanogramShelfRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
void DeletePlanogramShelfRequest::setStoreId(const std::string& storeId)
|
||||
{
|
||||
storeId_ = storeId;
|
||||
setBodyParameter("StoreId", storeId);
|
||||
}
|
||||
|
||||
std::string DeletePlanogramShelfRequest::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
}
|
||||
|
||||
void DeletePlanogramShelfRequest::setShelf(const std::string& shelf)
|
||||
{
|
||||
shelf_ = shelf;
|
||||
setBodyParameter("Shelf", shelf);
|
||||
}
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DeletePlanogramShelfResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
DeletePlanogramShelfResult::DeletePlanogramShelfResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeletePlanogramShelfResult::DeletePlanogramShelfResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeletePlanogramShelfResult::~DeletePlanogramShelfResult()
|
||||
{}
|
||||
|
||||
void DeletePlanogramShelfResult::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["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";
|
||||
|
||||
}
|
||||
|
||||
std::string DeletePlanogramShelfResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DeletePlanogramShelfResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string DeletePlanogramShelfResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeletePlanogramShelfResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string DeletePlanogramShelfResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string DeletePlanogramShelfResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DeletePlanogramShelfResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DeleteRoleActionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::DeleteRoleActionsRequest;
|
||||
|
||||
DeleteRoleActionsRequest::DeleteRoleActionsRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "DeleteRoleActions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteRoleActionsRequest::~DeleteRoleActionsRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteRoleActionsRequest::getRoleCode()const
|
||||
{
|
||||
return roleCode_;
|
||||
}
|
||||
|
||||
void DeleteRoleActionsRequest::setRoleCode(const std::string& roleCode)
|
||||
{
|
||||
roleCode_ = roleCode;
|
||||
setBodyParameter("RoleCode", roleCode);
|
||||
}
|
||||
|
||||
std::string DeleteRoleActionsRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void DeleteRoleActionsRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string DeleteRoleActionsRequest::getAccessControlLists()const
|
||||
{
|
||||
return accessControlLists_;
|
||||
}
|
||||
|
||||
void DeleteRoleActionsRequest::setAccessControlLists(const std::string& accessControlLists)
|
||||
{
|
||||
accessControlLists_ = accessControlLists;
|
||||
setBodyParameter("AccessControlLists", accessControlLists);
|
||||
}
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DeleteRoleActionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
DeleteRoleActionsResult::DeleteRoleActionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteRoleActionsResult::DeleteRoleActionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteRoleActionsResult::~DeleteRoleActionsResult()
|
||||
{}
|
||||
|
||||
void DeleteRoleActionsResult::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["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";
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteRoleActionsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DeleteRoleActionsResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string DeleteRoleActionsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteRoleActionsResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string DeleteRoleActionsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string DeleteRoleActionsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DeleteRoleActionsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,128 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribeAlarmsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::DescribeAlarmsRequest;
|
||||
|
||||
DescribeAlarmsRequest::DescribeAlarmsRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "DescribeAlarms")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAlarmsRequest::~DescribeAlarmsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAlarmsRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void DescribeAlarmsRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string DescribeAlarmsRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
void DescribeAlarmsRequest::setStoreId(const std::string& storeId)
|
||||
{
|
||||
storeId_ = storeId;
|
||||
setBodyParameter("StoreId", storeId);
|
||||
}
|
||||
|
||||
int DescribeAlarmsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeAlarmsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeAlarmsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeAlarmsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeAlarmsRequest::getAlarmType()const
|
||||
{
|
||||
return alarmType_;
|
||||
}
|
||||
|
||||
void DescribeAlarmsRequest::setAlarmType(const std::string& alarmType)
|
||||
{
|
||||
alarmType_ = alarmType;
|
||||
setBodyParameter("AlarmType", alarmType);
|
||||
}
|
||||
|
||||
std::string DescribeAlarmsRequest::getAlarmStatus()const
|
||||
{
|
||||
return alarmStatus_;
|
||||
}
|
||||
|
||||
void DescribeAlarmsRequest::setAlarmStatus(const std::string& alarmStatus)
|
||||
{
|
||||
alarmStatus_ = alarmStatus;
|
||||
setBodyParameter("AlarmStatus", alarmStatus);
|
||||
}
|
||||
|
||||
std::string DescribeAlarmsRequest::getErrorType()const
|
||||
{
|
||||
return errorType_;
|
||||
}
|
||||
|
||||
void DescribeAlarmsRequest::setErrorType(const std::string& errorType)
|
||||
{
|
||||
errorType_ = errorType;
|
||||
setBodyParameter("ErrorType", errorType);
|
||||
}
|
||||
|
||||
std::string DescribeAlarmsRequest::getAlarmId()const
|
||||
{
|
||||
return alarmId_;
|
||||
}
|
||||
|
||||
void DescribeAlarmsRequest::setAlarmId(const std::string& alarmId)
|
||||
{
|
||||
alarmId_ = alarmId;
|
||||
setBodyParameter("AlarmId", alarmId);
|
||||
}
|
||||
|
||||
std::string DescribeAlarmsRequest::getDeviceMac()const
|
||||
{
|
||||
return deviceMac_;
|
||||
}
|
||||
|
||||
void DescribeAlarmsRequest::setDeviceMac(const std::string& deviceMac)
|
||||
{
|
||||
deviceMac_ = deviceMac;
|
||||
setBodyParameter("DeviceMac", deviceMac);
|
||||
}
|
||||
|
||||
@@ -1,159 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribeAlarmsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
DescribeAlarmsResult::DescribeAlarmsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAlarmsResult::DescribeAlarmsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAlarmsResult::~DescribeAlarmsResult()
|
||||
{}
|
||||
|
||||
void DescribeAlarmsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAlarmsNode = value["Alarms"]["AlarmInfo"];
|
||||
for (auto valueAlarmsAlarmInfo : allAlarmsNode)
|
||||
{
|
||||
AlarmInfo alarmsObject;
|
||||
if(!valueAlarmsAlarmInfo["Remark"].isNull())
|
||||
alarmsObject.remark = valueAlarmsAlarmInfo["Remark"].asString();
|
||||
if(!valueAlarmsAlarmInfo["StoreId"].isNull())
|
||||
alarmsObject.storeId = valueAlarmsAlarmInfo["StoreId"].asString();
|
||||
if(!valueAlarmsAlarmInfo["DeviceBarCode"].isNull())
|
||||
alarmsObject.deviceBarCode = valueAlarmsAlarmInfo["DeviceBarCode"].asString();
|
||||
if(!valueAlarmsAlarmInfo["DealUserId"].isNull())
|
||||
alarmsObject.dealUserId = valueAlarmsAlarmInfo["DealUserId"].asString();
|
||||
if(!valueAlarmsAlarmInfo["DeviceType"].isNull())
|
||||
alarmsObject.deviceType = valueAlarmsAlarmInfo["DeviceType"].asString();
|
||||
if(!valueAlarmsAlarmInfo["ItemTitle"].isNull())
|
||||
alarmsObject.itemTitle = valueAlarmsAlarmInfo["ItemTitle"].asString();
|
||||
if(!valueAlarmsAlarmInfo["AlarmTime"].isNull())
|
||||
alarmsObject.alarmTime = valueAlarmsAlarmInfo["AlarmTime"].asString();
|
||||
if(!valueAlarmsAlarmInfo["ErrorType"].isNull())
|
||||
alarmsObject.errorType = valueAlarmsAlarmInfo["ErrorType"].asString();
|
||||
if(!valueAlarmsAlarmInfo["DeviceMac"].isNull())
|
||||
alarmsObject.deviceMac = valueAlarmsAlarmInfo["DeviceMac"].asString();
|
||||
if(!valueAlarmsAlarmInfo["AlarmId"].isNull())
|
||||
alarmsObject.alarmId = valueAlarmsAlarmInfo["AlarmId"].asString();
|
||||
if(!valueAlarmsAlarmInfo["RetryGmtCreate"].isNull())
|
||||
alarmsObject.retryGmtCreate = valueAlarmsAlarmInfo["RetryGmtCreate"].asString();
|
||||
if(!valueAlarmsAlarmInfo["RetryGmtModified"].isNull())
|
||||
alarmsObject.retryGmtModified = valueAlarmsAlarmInfo["RetryGmtModified"].asString();
|
||||
if(!valueAlarmsAlarmInfo["ItemBarCode"].isNull())
|
||||
alarmsObject.itemBarCode = valueAlarmsAlarmInfo["ItemBarCode"].asString();
|
||||
if(!valueAlarmsAlarmInfo["RetryTimes"].isNull())
|
||||
alarmsObject.retryTimes = std::stol(valueAlarmsAlarmInfo["RetryTimes"].asString());
|
||||
if(!valueAlarmsAlarmInfo["DealTime"].isNull())
|
||||
alarmsObject.dealTime = valueAlarmsAlarmInfo["DealTime"].asString();
|
||||
if(!valueAlarmsAlarmInfo["AlarmType"].isNull())
|
||||
alarmsObject.alarmType = valueAlarmsAlarmInfo["AlarmType"].asString();
|
||||
if(!valueAlarmsAlarmInfo["AlarmStatus"].isNull())
|
||||
alarmsObject.alarmStatus = valueAlarmsAlarmInfo["AlarmStatus"].asString();
|
||||
alarms_.push_back(alarmsObject);
|
||||
}
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].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";
|
||||
|
||||
}
|
||||
|
||||
int DescribeAlarmsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeAlarmsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeAlarmsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int DescribeAlarmsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAlarmsResult::AlarmInfo> DescribeAlarmsResult::getAlarms()const
|
||||
{
|
||||
return alarms_;
|
||||
}
|
||||
|
||||
std::string DescribeAlarmsResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string DescribeAlarmsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DescribeAlarmsResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string DescribeAlarmsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string DescribeAlarmsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribeAlarmsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -63,6 +63,8 @@ void DescribeEslDevicesResult::parse(const std::string &payload)
|
||||
eslDevicesObject.screenWidth = std::stoi(valueEslDevicesEslDeviceInfo["ScreenWidth"].asString());
|
||||
if(!valueEslDevicesEslDeviceInfo["ScreenHeight"].isNull())
|
||||
eslDevicesObject.screenHeight = std::stoi(valueEslDevicesEslDeviceInfo["ScreenHeight"].asString());
|
||||
if(!valueEslDevicesEslDeviceInfo["EslSignal"].isNull())
|
||||
eslDevicesObject.eslSignal = std::stoi(valueEslDevicesEslDeviceInfo["EslSignal"].asString());
|
||||
eslDevices_.push_back(eslDevicesObject);
|
||||
}
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
|
||||
@@ -149,6 +149,8 @@ void DescribeItemsResult::parse(const std::string &payload)
|
||||
itemsObject.gmtModified = valueItemsItemInfo["GmtModified"].asString();
|
||||
if(!valueItemsItemInfo["BeMember"].isNull())
|
||||
itemsObject.beMember = valueItemsItemInfo["BeMember"].asString() == "true";
|
||||
if(!valueItemsItemInfo["TemplateSceneId"].isNull())
|
||||
itemsObject.templateSceneId = valueItemsItemInfo["TemplateSceneId"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribePlanogramEslDevicesRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::DescribePlanogramEslDevicesRequest;
|
||||
|
||||
DescribePlanogramEslDevicesRequest::DescribePlanogramEslDevicesRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "DescribePlanogramEslDevices")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribePlanogramEslDevicesRequest::~DescribePlanogramEslDevicesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribePlanogramEslDevicesRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void DescribePlanogramEslDevicesRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string DescribePlanogramEslDevicesRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
void DescribePlanogramEslDevicesRequest::setStoreId(const std::string& storeId)
|
||||
{
|
||||
storeId_ = storeId;
|
||||
setBodyParameter("StoreId", storeId);
|
||||
}
|
||||
|
||||
int DescribePlanogramEslDevicesRequest::getLayer()const
|
||||
{
|
||||
return layer_;
|
||||
}
|
||||
|
||||
void DescribePlanogramEslDevicesRequest::setLayer(int layer)
|
||||
{
|
||||
layer_ = layer;
|
||||
setBodyParameter("Layer", std::to_string(layer));
|
||||
}
|
||||
|
||||
std::string DescribePlanogramEslDevicesRequest::getEslBarCode()const
|
||||
{
|
||||
return eslBarCode_;
|
||||
}
|
||||
|
||||
void DescribePlanogramEslDevicesRequest::setEslBarCode(const std::string& eslBarCode)
|
||||
{
|
||||
eslBarCode_ = eslBarCode;
|
||||
setBodyParameter("EslBarCode", eslBarCode);
|
||||
}
|
||||
|
||||
std::string DescribePlanogramEslDevicesRequest::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
}
|
||||
|
||||
void DescribePlanogramEslDevicesRequest::setShelf(const std::string& shelf)
|
||||
{
|
||||
shelf_ = shelf;
|
||||
setBodyParameter("Shelf", shelf);
|
||||
}
|
||||
|
||||
@@ -1,142 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribePlanogramEslDevicesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
DescribePlanogramEslDevicesResult::DescribePlanogramEslDevicesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribePlanogramEslDevicesResult::DescribePlanogramEslDevicesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribePlanogramEslDevicesResult::~DescribePlanogramEslDevicesResult()
|
||||
{}
|
||||
|
||||
void DescribePlanogramEslDevicesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEslDeviceLayerInfosNode = value["EslDeviceLayerInfos"]["EslDeviceLayerInfo"];
|
||||
for (auto valueEslDeviceLayerInfosEslDeviceLayerInfo : allEslDeviceLayerInfosNode)
|
||||
{
|
||||
EslDeviceLayerInfo eslDeviceLayerInfosObject;
|
||||
if(!valueEslDeviceLayerInfosEslDeviceLayerInfo["Layer"].isNull())
|
||||
eslDeviceLayerInfosObject.layer = std::stoi(valueEslDeviceLayerInfosEslDeviceLayerInfo["Layer"].asString());
|
||||
auto allEslDevicePositionInfosNode = valueEslDeviceLayerInfosEslDeviceLayerInfo["EslDevicePositionInfos"]["EslDevicePositionInfo"];
|
||||
for (auto valueEslDeviceLayerInfosEslDeviceLayerInfoEslDevicePositionInfosEslDevicePositionInfo : allEslDevicePositionInfosNode)
|
||||
{
|
||||
EslDeviceLayerInfo::EslDevicePositionInfo eslDevicePositionInfosObject;
|
||||
if(!valueEslDeviceLayerInfosEslDeviceLayerInfoEslDevicePositionInfosEslDevicePositionInfo["Column"].isNull())
|
||||
eslDevicePositionInfosObject.column = valueEslDeviceLayerInfosEslDeviceLayerInfoEslDevicePositionInfosEslDevicePositionInfo["Column"].asString();
|
||||
auto allEslDevicePlanogramInfosNode = valueEslDeviceLayerInfosEslDeviceLayerInfoEslDevicePositionInfosEslDevicePositionInfo["EslDevicePlanogramInfos"]["EslDevicePlanogramInfo"];
|
||||
for (auto valueEslDeviceLayerInfosEslDeviceLayerInfoEslDevicePositionInfosEslDevicePositionInfoEslDevicePlanogramInfosEslDevicePlanogramInfo : allEslDevicePlanogramInfosNode)
|
||||
{
|
||||
EslDeviceLayerInfo::EslDevicePositionInfo::EslDevicePlanogramInfo eslDevicePlanogramInfosObject;
|
||||
if(!valueEslDeviceLayerInfosEslDeviceLayerInfoEslDevicePositionInfosEslDevicePositionInfoEslDevicePlanogramInfosEslDevicePlanogramInfo["EslBarCode"].isNull())
|
||||
eslDevicePlanogramInfosObject.eslBarCode = valueEslDeviceLayerInfosEslDeviceLayerInfoEslDevicePositionInfosEslDevicePositionInfoEslDevicePlanogramInfosEslDevicePlanogramInfo["EslBarCode"].asString();
|
||||
if(!valueEslDeviceLayerInfosEslDeviceLayerInfoEslDevicePositionInfosEslDevicePositionInfoEslDevicePlanogramInfosEslDevicePlanogramInfo["EslModel"].isNull())
|
||||
eslDevicePlanogramInfosObject.eslModel = valueEslDeviceLayerInfosEslDeviceLayerInfoEslDevicePositionInfosEslDevicePositionInfoEslDevicePlanogramInfosEslDevicePlanogramInfo["EslModel"].asString();
|
||||
if(!valueEslDeviceLayerInfosEslDeviceLayerInfoEslDevicePositionInfosEslDevicePositionInfoEslDevicePlanogramInfosEslDevicePlanogramInfo["ItemBarCode"].isNull())
|
||||
eslDevicePlanogramInfosObject.itemBarCode = valueEslDeviceLayerInfosEslDeviceLayerInfoEslDevicePositionInfosEslDevicePositionInfoEslDevicePlanogramInfosEslDevicePlanogramInfo["ItemBarCode"].asString();
|
||||
if(!valueEslDeviceLayerInfosEslDeviceLayerInfoEslDevicePositionInfosEslDevicePositionInfoEslDevicePlanogramInfosEslDevicePlanogramInfo["ItemTitle"].isNull())
|
||||
eslDevicePlanogramInfosObject.itemTitle = valueEslDeviceLayerInfosEslDeviceLayerInfoEslDevicePositionInfosEslDevicePositionInfoEslDevicePlanogramInfosEslDevicePlanogramInfo["ItemTitle"].asString();
|
||||
eslDevicePositionInfosObject.eslDevicePlanogramInfos.push_back(eslDevicePlanogramInfosObject);
|
||||
}
|
||||
eslDeviceLayerInfosObject.eslDevicePositionInfos.push_back(eslDevicePositionInfosObject);
|
||||
}
|
||||
eslDeviceLayerInfos_.push_back(eslDeviceLayerInfosObject);
|
||||
}
|
||||
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["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Shelf"].isNull())
|
||||
shelf_ = value["Shelf"].asString();
|
||||
if(!value["StoreId"].isNull())
|
||||
storeId_ = value["StoreId"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string DescribePlanogramEslDevicesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramEslDevicesResult::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramEslDevicesResult::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramEslDevicesResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramEslDevicesResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramEslDevicesResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::vector<DescribePlanogramEslDevicesResult::EslDeviceLayerInfo> DescribePlanogramEslDevicesResult::getEslDeviceLayerInfos()const
|
||||
{
|
||||
return eslDeviceLayerInfos_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramEslDevicesResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramEslDevicesResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribePlanogramEslDevicesResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribePlanogramPositionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::DescribePlanogramPositionsRequest;
|
||||
|
||||
DescribePlanogramPositionsRequest::DescribePlanogramPositionsRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "DescribePlanogramPositions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribePlanogramPositionsRequest::~DescribePlanogramPositionsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribePlanogramPositionsRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void DescribePlanogramPositionsRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string DescribePlanogramPositionsRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
void DescribePlanogramPositionsRequest::setStoreId(const std::string& storeId)
|
||||
{
|
||||
storeId_ = storeId;
|
||||
setBodyParameter("StoreId", storeId);
|
||||
}
|
||||
|
||||
int DescribePlanogramPositionsRequest::getLayer()const
|
||||
{
|
||||
return layer_;
|
||||
}
|
||||
|
||||
void DescribePlanogramPositionsRequest::setLayer(int layer)
|
||||
{
|
||||
layer_ = layer;
|
||||
setBodyParameter("Layer", std::to_string(layer));
|
||||
}
|
||||
|
||||
std::string DescribePlanogramPositionsRequest::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
}
|
||||
|
||||
void DescribePlanogramPositionsRequest::setShelf(const std::string& shelf)
|
||||
{
|
||||
shelf_ = shelf;
|
||||
setBodyParameter("Shelf", shelf);
|
||||
}
|
||||
|
||||
@@ -1,151 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribePlanogramPositionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
DescribePlanogramPositionsResult::DescribePlanogramPositionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribePlanogramPositionsResult::DescribePlanogramPositionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribePlanogramPositionsResult::~DescribePlanogramPositionsResult()
|
||||
{}
|
||||
|
||||
void DescribePlanogramPositionsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLayerInfosNode = value["LayerInfos"]["LayerInfo"];
|
||||
for (auto valueLayerInfosLayerInfo : allLayerInfosNode)
|
||||
{
|
||||
LayerInfo layerInfosObject;
|
||||
if(!valueLayerInfosLayerInfo["Layer"].isNull())
|
||||
layerInfosObject.layer = std::stoi(valueLayerInfosLayerInfo["Layer"].asString());
|
||||
if(!valueLayerInfosLayerInfo["LayerOrigin"].isNull())
|
||||
layerInfosObject.layerOrigin = valueLayerInfosLayerInfo["LayerOrigin"].asString();
|
||||
if(!valueLayerInfosLayerInfo["RailCode"].isNull())
|
||||
layerInfosObject.railCode = valueLayerInfosLayerInfo["RailCode"].asString();
|
||||
auto allShelfPositionInfosNode = valueLayerInfosLayerInfo["ShelfPositionInfos"]["ShelfPositionInfo"];
|
||||
for (auto valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo : allShelfPositionInfosNode)
|
||||
{
|
||||
LayerInfo::ShelfPositionInfo shelfPositionInfosObject;
|
||||
if(!valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["Column"].isNull())
|
||||
shelfPositionInfosObject.column = valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["Column"].asString();
|
||||
if(!valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["Depth"].isNull())
|
||||
shelfPositionInfosObject.depth = std::stof(valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["Depth"].asString());
|
||||
if(!valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["Facing"].isNull())
|
||||
shelfPositionInfosObject.facing = std::stoi(valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["Facing"].asString());
|
||||
if(!valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["ItemBarCode"].isNull())
|
||||
shelfPositionInfosObject.itemBarCode = valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["ItemBarCode"].asString();
|
||||
if(!valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["ItemTitle"].isNull())
|
||||
shelfPositionInfosObject.itemTitle = valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["ItemTitle"].asString();
|
||||
if(!valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["OffsetFrom"].isNull())
|
||||
shelfPositionInfosObject.offsetFrom = std::stof(valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["OffsetFrom"].asString());
|
||||
if(!valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["OffsetTo"].isNull())
|
||||
shelfPositionInfosObject.offsetTo = std::stof(valueLayerInfosLayerInfoShelfPositionInfosShelfPositionInfo["OffsetTo"].asString());
|
||||
layerInfosObject.shelfPositionInfos.push_back(shelfPositionInfosObject);
|
||||
}
|
||||
layerInfos_.push_back(layerInfosObject);
|
||||
}
|
||||
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["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Shelf"].isNull())
|
||||
shelf_ = value["Shelf"].asString();
|
||||
if(!value["StoreId"].isNull())
|
||||
storeId_ = value["StoreId"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ShelfType"].isNull())
|
||||
shelfType_ = value["ShelfType"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribePlanogramPositionsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramPositionsResult::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramPositionsResult::getShelfType()const
|
||||
{
|
||||
return shelfType_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramPositionsResult::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramPositionsResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::vector<DescribePlanogramPositionsResult::LayerInfo> DescribePlanogramPositionsResult::getLayerInfos()const
|
||||
{
|
||||
return layerInfos_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramPositionsResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramPositionsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramPositionsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramPositionsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribePlanogramPositionsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribePlanogramRailsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::DescribePlanogramRailsRequest;
|
||||
|
||||
DescribePlanogramRailsRequest::DescribePlanogramRailsRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "DescribePlanogramRails")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribePlanogramRailsRequest::~DescribePlanogramRailsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribePlanogramRailsRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void DescribePlanogramRailsRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string DescribePlanogramRailsRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
void DescribePlanogramRailsRequest::setStoreId(const std::string& storeId)
|
||||
{
|
||||
storeId_ = storeId;
|
||||
setBodyParameter("StoreId", storeId);
|
||||
}
|
||||
|
||||
int DescribePlanogramRailsRequest::getLayer()const
|
||||
{
|
||||
return layer_;
|
||||
}
|
||||
|
||||
void DescribePlanogramRailsRequest::setLayer(int layer)
|
||||
{
|
||||
layer_ = layer;
|
||||
setBodyParameter("Layer", std::to_string(layer));
|
||||
}
|
||||
|
||||
int DescribePlanogramRailsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribePlanogramRailsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribePlanogramRailsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribePlanogramRailsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribePlanogramRailsRequest::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
}
|
||||
|
||||
void DescribePlanogramRailsRequest::setShelf(const std::string& shelf)
|
||||
{
|
||||
shelf_ = shelf;
|
||||
setBodyParameter("Shelf", shelf);
|
||||
}
|
||||
|
||||
std::string DescribePlanogramRailsRequest::getRailCode()const
|
||||
{
|
||||
return railCode_;
|
||||
}
|
||||
|
||||
void DescribePlanogramRailsRequest::setRailCode(const std::string& railCode)
|
||||
{
|
||||
railCode_ = railCode;
|
||||
setBodyParameter("RailCode", railCode);
|
||||
}
|
||||
|
||||
@@ -1,140 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribePlanogramRailsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
DescribePlanogramRailsResult::DescribePlanogramRailsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribePlanogramRailsResult::DescribePlanogramRailsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribePlanogramRailsResult::~DescribePlanogramRailsResult()
|
||||
{}
|
||||
|
||||
void DescribePlanogramRailsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPlanogramRailInfosNode = value["PlanogramRailInfos"]["PlanogramRailInfo"];
|
||||
for (auto valuePlanogramRailInfosPlanogramRailInfo : allPlanogramRailInfosNode)
|
||||
{
|
||||
PlanogramRailInfo planogramRailInfosObject;
|
||||
if(!valuePlanogramRailInfosPlanogramRailInfo["Shelf"].isNull())
|
||||
planogramRailInfosObject.shelf = valuePlanogramRailInfosPlanogramRailInfo["Shelf"].asString();
|
||||
if(!valuePlanogramRailInfosPlanogramRailInfo["RailCode"].isNull())
|
||||
planogramRailInfosObject.railCode = valuePlanogramRailInfosPlanogramRailInfo["RailCode"].asString();
|
||||
if(!valuePlanogramRailInfosPlanogramRailInfo["Layer"].isNull())
|
||||
planogramRailInfosObject.layer = std::stoi(valuePlanogramRailInfosPlanogramRailInfo["Layer"].asString());
|
||||
if(!valuePlanogramRailInfosPlanogramRailInfo["GapUnit"].isNull())
|
||||
planogramRailInfosObject.gapUnit = std::stoi(valuePlanogramRailInfosPlanogramRailInfo["GapUnit"].asString());
|
||||
planogramRailInfos_.push_back(planogramRailInfosObject);
|
||||
}
|
||||
if(!value["DynamicMessage"].isNull())
|
||||
dynamicMessage_ = value["DynamicMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["DynamicCode"].isNull())
|
||||
dynamicCode_ = value["DynamicCode"].asString();
|
||||
if(!value["StoreId"].isNull())
|
||||
storeId_ = value["StoreId"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribePlanogramRailsResult::PlanogramRailInfo> DescribePlanogramRailsResult::getPlanogramRailInfos()const
|
||||
{
|
||||
return planogramRailInfos_;
|
||||
}
|
||||
|
||||
int DescribePlanogramRailsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramRailsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramRailsResult::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
int DescribePlanogramRailsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribePlanogramRailsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramRailsResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramRailsResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramRailsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramRailsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramRailsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribePlanogramRailsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribePlanogramShelvesRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::DescribePlanogramShelvesRequest;
|
||||
|
||||
DescribePlanogramShelvesRequest::DescribePlanogramShelvesRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "DescribePlanogramShelves")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribePlanogramShelvesRequest::~DescribePlanogramShelvesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribePlanogramShelvesRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void DescribePlanogramShelvesRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string DescribePlanogramShelvesRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
void DescribePlanogramShelvesRequest::setStoreId(const std::string& storeId)
|
||||
{
|
||||
storeId_ = storeId;
|
||||
setBodyParameter("StoreId", storeId);
|
||||
}
|
||||
|
||||
int DescribePlanogramShelvesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribePlanogramShelvesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribePlanogramShelvesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribePlanogramShelvesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
@@ -1,150 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribePlanogramShelvesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
DescribePlanogramShelvesResult::DescribePlanogramShelvesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribePlanogramShelvesResult::DescribePlanogramShelvesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribePlanogramShelvesResult::~DescribePlanogramShelvesResult()
|
||||
{}
|
||||
|
||||
void DescribePlanogramShelvesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allShelfInfosNode = value["ShelfInfos"]["ShelfInfo"];
|
||||
for (auto valueShelfInfosShelfInfo : allShelfInfosNode)
|
||||
{
|
||||
ShelfInfo shelfInfosObject;
|
||||
if(!valueShelfInfosShelfInfo["Shelf"].isNull())
|
||||
shelfInfosObject.shelf = valueShelfInfosShelfInfo["Shelf"].asString();
|
||||
if(!valueShelfInfosShelfInfo["BeMatch"].isNull())
|
||||
shelfInfosObject.beMatch = valueShelfInfosShelfInfo["BeMatch"].asString() == "true";
|
||||
if(!valueShelfInfosShelfInfo["Zone"].isNull())
|
||||
shelfInfosObject.zone = valueShelfInfosShelfInfo["Zone"].asString();
|
||||
if(!valueShelfInfosShelfInfo["Category"].isNull())
|
||||
shelfInfosObject.category = valueShelfInfosShelfInfo["Category"].asString();
|
||||
if(!valueShelfInfosShelfInfo["ShelfType"].isNull())
|
||||
shelfInfosObject.shelfType = valueShelfInfosShelfInfo["ShelfType"].asString();
|
||||
auto allLayerInfosNode = valueShelfInfosShelfInfo["LayerInfos"]["LayerInfo"];
|
||||
for (auto valueShelfInfosShelfInfoLayerInfosLayerInfo : allLayerInfosNode)
|
||||
{
|
||||
ShelfInfo::LayerInfo layerInfosObject;
|
||||
if(!valueShelfInfosShelfInfoLayerInfosLayerInfo["Layer"].isNull())
|
||||
layerInfosObject.layer = std::stoi(valueShelfInfosShelfInfoLayerInfosLayerInfo["Layer"].asString());
|
||||
shelfInfosObject.layerInfos.push_back(layerInfosObject);
|
||||
}
|
||||
shelfInfos_.push_back(shelfInfosObject);
|
||||
}
|
||||
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["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["StoreId"].isNull())
|
||||
storeId_ = value["StoreId"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
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());
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribePlanogramShelvesResult::ShelfInfo> DescribePlanogramShelvesResult::getShelfInfos()const
|
||||
{
|
||||
return shelfInfos_;
|
||||
}
|
||||
|
||||
int DescribePlanogramShelvesResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramShelvesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramShelvesResult::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
int DescribePlanogramShelvesResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribePlanogramShelvesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramShelvesResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramShelvesResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramShelvesResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramShelvesResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string DescribePlanogramShelvesResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribePlanogramShelvesResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribeRoleActionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::DescribeRoleActionsRequest;
|
||||
|
||||
DescribeRoleActionsRequest::DescribeRoleActionsRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "DescribeRoleActions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeRoleActionsRequest::~DescribeRoleActionsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeRoleActionsRequest::getRoleCode()const
|
||||
{
|
||||
return roleCode_;
|
||||
}
|
||||
|
||||
void DescribeRoleActionsRequest::setRoleCode(const std::string& roleCode)
|
||||
{
|
||||
roleCode_ = roleCode;
|
||||
setBodyParameter("RoleCode", roleCode);
|
||||
}
|
||||
|
||||
std::string DescribeRoleActionsRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void DescribeRoleActionsRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
@@ -1,116 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribeRoleActionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
DescribeRoleActionsResult::DescribeRoleActionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeRoleActionsResult::DescribeRoleActionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeRoleActionsResult::~DescribeRoleActionsResult()
|
||||
{}
|
||||
|
||||
void DescribeRoleActionsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRoleAclInfosNode = value["RoleAclInfos"]["RoleAclInfo"];
|
||||
for (auto valueRoleAclInfosRoleAclInfo : allRoleAclInfosNode)
|
||||
{
|
||||
RoleAclInfo roleAclInfosObject;
|
||||
if(!valueRoleAclInfosRoleAclInfo["RoleCode"].isNull())
|
||||
roleAclInfosObject.roleCode = valueRoleAclInfosRoleAclInfo["RoleCode"].asString();
|
||||
if(!valueRoleAclInfosRoleAclInfo["Name"].isNull())
|
||||
roleAclInfosObject.name = valueRoleAclInfosRoleAclInfo["Name"].asString();
|
||||
auto allAccessControlListsNode = valueRoleAclInfosRoleAclInfo["AccessControlLists"]["RoleActionInfo"];
|
||||
for (auto valueRoleAclInfosRoleAclInfoAccessControlListsRoleActionInfo : allAccessControlListsNode)
|
||||
{
|
||||
RoleAclInfo::RoleActionInfo accessControlListsObject;
|
||||
if(!valueRoleAclInfosRoleAclInfoAccessControlListsRoleActionInfo["Code"].isNull())
|
||||
accessControlListsObject.code = valueRoleAclInfosRoleAclInfoAccessControlListsRoleActionInfo["Code"].asString();
|
||||
roleAclInfosObject.accessControlLists.push_back(accessControlListsObject);
|
||||
}
|
||||
roleAclInfos_.push_back(roleAclInfosObject);
|
||||
}
|
||||
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";
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeRoleActionsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<DescribeRoleActionsResult::RoleAclInfo> DescribeRoleActionsResult::getRoleAclInfos()const
|
||||
{
|
||||
return roleAclInfos_;
|
||||
}
|
||||
|
||||
std::string DescribeRoleActionsResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string DescribeRoleActionsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DescribeRoleActionsResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string DescribeRoleActionsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string DescribeRoleActionsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribeRoleActionsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribeStoreStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::DescribeStoreStatisticsRequest;
|
||||
|
||||
DescribeStoreStatisticsRequest::DescribeStoreStatisticsRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "DescribeStoreStatistics")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeStoreStatisticsRequest::~DescribeStoreStatisticsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeStoreStatisticsRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void DescribeStoreStatisticsRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string DescribeStoreStatisticsRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
void DescribeStoreStatisticsRequest::setStoreId(const std::string& storeId)
|
||||
{
|
||||
storeId_ = storeId;
|
||||
setBodyParameter("StoreId", storeId);
|
||||
}
|
||||
|
||||
std::string DescribeStoreStatisticsRequest::getFromDate()const
|
||||
{
|
||||
return fromDate_;
|
||||
}
|
||||
|
||||
void DescribeStoreStatisticsRequest::setFromDate(const std::string& fromDate)
|
||||
{
|
||||
fromDate_ = fromDate;
|
||||
setBodyParameter("FromDate", fromDate);
|
||||
}
|
||||
|
||||
std::string DescribeStoreStatisticsRequest::getToDate()const
|
||||
{
|
||||
return toDate_;
|
||||
}
|
||||
|
||||
void DescribeStoreStatisticsRequest::setToDate(const std::string& toDate)
|
||||
{
|
||||
toDate_ = toDate;
|
||||
setBodyParameter("ToDate", toDate);
|
||||
}
|
||||
|
||||
@@ -1,130 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DescribeStoreStatisticsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
DescribeStoreStatisticsResult::DescribeStoreStatisticsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeStoreStatisticsResult::DescribeStoreStatisticsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeStoreStatisticsResult::~DescribeStoreStatisticsResult()
|
||||
{}
|
||||
|
||||
void DescribeStoreStatisticsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStoreStatisticsInfoListNode = value["StoreStatisticsInfoList"]["StoreStatisticsInfo"];
|
||||
for (auto valueStoreStatisticsInfoListStoreStatisticsInfo : allStoreStatisticsInfoListNode)
|
||||
{
|
||||
StoreStatisticsInfo storeStatisticsInfoListObject;
|
||||
if(!valueStoreStatisticsInfoListStoreStatisticsInfo["SendFailEsl"].isNull())
|
||||
storeStatisticsInfoListObject.sendFailEsl = std::stoi(valueStoreStatisticsInfoListStoreStatisticsInfo["SendFailEsl"].asString());
|
||||
if(!valueStoreStatisticsInfoListStoreStatisticsInfo["DisplayFailEsl"].isNull())
|
||||
storeStatisticsInfoListObject.displayFailEsl = std::stoi(valueStoreStatisticsInfoListStoreStatisticsInfo["DisplayFailEsl"].asString());
|
||||
if(!valueStoreStatisticsInfoListStoreStatisticsInfo["StoreName"].isNull())
|
||||
storeStatisticsInfoListObject.storeName = valueStoreStatisticsInfoListStoreStatisticsInfo["StoreName"].asString();
|
||||
if(!valueStoreStatisticsInfoListStoreStatisticsInfo["ActiveApDevice"].isNull())
|
||||
storeStatisticsInfoListObject.activeApDevice = std::stoi(valueStoreStatisticsInfoListStoreStatisticsInfo["ActiveApDevice"].asString());
|
||||
if(!valueStoreStatisticsInfoListStoreStatisticsInfo["UpdateFailureEsl"].isNull())
|
||||
storeStatisticsInfoListObject.updateFailureEsl = std::stoi(valueStoreStatisticsInfoListStoreStatisticsInfo["UpdateFailureEsl"].asString());
|
||||
if(!valueStoreStatisticsInfoListStoreStatisticsInfo["UpdateEsl"].isNull())
|
||||
storeStatisticsInfoListObject.updateEsl = std::stoi(valueStoreStatisticsInfoListStoreStatisticsInfo["UpdateEsl"].asString());
|
||||
if(!valueStoreStatisticsInfoListStoreStatisticsInfo["OfflineEslDevice"].isNull())
|
||||
storeStatisticsInfoListObject.offlineEslDevice = std::stoi(valueStoreStatisticsInfoListStoreStatisticsInfo["OfflineEslDevice"].asString());
|
||||
if(!valueStoreStatisticsInfoListStoreStatisticsInfo["StatisticsTime"].isNull())
|
||||
storeStatisticsInfoListObject.statisticsTime = valueStoreStatisticsInfoListStoreStatisticsInfo["StatisticsTime"].asString();
|
||||
if(!valueStoreStatisticsInfoListStoreStatisticsInfo["StoreId"].isNull())
|
||||
storeStatisticsInfoListObject.storeId = valueStoreStatisticsInfoListStoreStatisticsInfo["StoreId"].asString();
|
||||
if(!valueStoreStatisticsInfoListStoreStatisticsInfo["BindEsl"].isNull())
|
||||
storeStatisticsInfoListObject.bindEsl = std::stoi(valueStoreStatisticsInfoListStoreStatisticsInfo["BindEsl"].asString());
|
||||
if(!valueStoreStatisticsInfoListStoreStatisticsInfo["AbnormalEsl"].isNull())
|
||||
storeStatisticsInfoListObject.abnormalEsl = std::stoi(valueStoreStatisticsInfoListStoreStatisticsInfo["AbnormalEsl"].asString());
|
||||
if(!valueStoreStatisticsInfoListStoreStatisticsInfo["LowBatteryEsl"].isNull())
|
||||
storeStatisticsInfoListObject.lowBatteryEsl = std::stoi(valueStoreStatisticsInfoListStoreStatisticsInfo["LowBatteryEsl"].asString());
|
||||
if(!valueStoreStatisticsInfoListStoreStatisticsInfo["BindItem"].isNull())
|
||||
storeStatisticsInfoListObject.bindItem = std::stoi(valueStoreStatisticsInfoListStoreStatisticsInfo["BindItem"].asString());
|
||||
storeStatisticsInfoList_.push_back(storeStatisticsInfoListObject);
|
||||
}
|
||||
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";
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeStoreStatisticsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<DescribeStoreStatisticsResult::StoreStatisticsInfo> DescribeStoreStatisticsResult::getStoreStatisticsInfoList()const
|
||||
{
|
||||
return storeStatisticsInfoList_;
|
||||
}
|
||||
|
||||
std::string DescribeStoreStatisticsResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string DescribeStoreStatisticsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DescribeStoreStatisticsResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string DescribeStoreStatisticsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string DescribeStoreStatisticsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribeStoreStatisticsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -79,6 +79,8 @@ void DescribeUserLogResult::parse(const std::string &payload)
|
||||
userLogsObject.bePromotion = valueUserLogsUserLogInfo["BePromotion"].asString() == "true";
|
||||
if(!valueUserLogsUserLogInfo["UserId"].isNull())
|
||||
userLogsObject.userId = valueUserLogsUserLogInfo["UserId"].asString();
|
||||
if(!valueUserLogsUserLogInfo["EslSignal"].isNull())
|
||||
userLogsObject.eslSignal = std::stoi(valueUserLogsUserLogInfo["EslSignal"].asString());
|
||||
userLogs_.push_back(userLogsObject);
|
||||
}
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DissociatePlanogramRailRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::DissociatePlanogramRailRequest;
|
||||
|
||||
DissociatePlanogramRailRequest::DissociatePlanogramRailRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "DissociatePlanogramRail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DissociatePlanogramRailRequest::~DissociatePlanogramRailRequest()
|
||||
{}
|
||||
|
||||
std::string DissociatePlanogramRailRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void DissociatePlanogramRailRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string DissociatePlanogramRailRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
void DissociatePlanogramRailRequest::setStoreId(const std::string& storeId)
|
||||
{
|
||||
storeId_ = storeId;
|
||||
setBodyParameter("StoreId", storeId);
|
||||
}
|
||||
|
||||
std::string DissociatePlanogramRailRequest::getRailCode()const
|
||||
{
|
||||
return railCode_;
|
||||
}
|
||||
|
||||
void DissociatePlanogramRailRequest::setRailCode(const std::string& railCode)
|
||||
{
|
||||
railCode_ = railCode;
|
||||
setBodyParameter("RailCode", railCode);
|
||||
}
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/DissociatePlanogramRailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
DissociatePlanogramRailResult::DissociatePlanogramRailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DissociatePlanogramRailResult::DissociatePlanogramRailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DissociatePlanogramRailResult::~DissociatePlanogramRailResult()
|
||||
{}
|
||||
|
||||
void DissociatePlanogramRailResult::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["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";
|
||||
|
||||
}
|
||||
|
||||
std::string DissociatePlanogramRailResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DissociatePlanogramRailResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string DissociatePlanogramRailResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DissociatePlanogramRailResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string DissociatePlanogramRailResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string DissociatePlanogramRailResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DissociatePlanogramRailResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/UpdateUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::UpdateUserRequest;
|
||||
|
||||
UpdateUserRequest::UpdateUserRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "UpdateUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateUserRequest::~UpdateUserRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateUserRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void UpdateUserRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string UpdateUserRequest::getDingTalkUserId()const
|
||||
{
|
||||
return dingTalkUserId_;
|
||||
}
|
||||
|
||||
void UpdateUserRequest::setDingTalkUserId(const std::string& dingTalkUserId)
|
||||
{
|
||||
dingTalkUserId_ = dingTalkUserId;
|
||||
setBodyParameter("DingTalkUserId", dingTalkUserId);
|
||||
}
|
||||
|
||||
std::string UpdateUserRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void UpdateUserRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string UpdateUserRequest::getDingTalkCompanyId()const
|
||||
{
|
||||
return dingTalkCompanyId_;
|
||||
}
|
||||
|
||||
void UpdateUserRequest::setDingTalkCompanyId(const std::string& dingTalkCompanyId)
|
||||
{
|
||||
dingTalkCompanyId_ = dingTalkCompanyId;
|
||||
setBodyParameter("DingTalkCompanyId", dingTalkCompanyId);
|
||||
}
|
||||
|
||||
122
eipanycast/CMakeLists.txt
Normal file
122
eipanycast/CMakeLists.txt
Normal file
@@ -0,0 +1,122 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(eipanycast_public_header
|
||||
include/alibabacloud/eipanycast/EipanycastClient.h
|
||||
include/alibabacloud/eipanycast/EipanycastExport.h )
|
||||
|
||||
set(eipanycast_public_header_model
|
||||
include/alibabacloud/eipanycast/model/AllocateAnycastEipAddressRequest.h
|
||||
include/alibabacloud/eipanycast/model/AllocateAnycastEipAddressResult.h
|
||||
include/alibabacloud/eipanycast/model/AssociateAnycastEipAddressRequest.h
|
||||
include/alibabacloud/eipanycast/model/AssociateAnycastEipAddressResult.h
|
||||
include/alibabacloud/eipanycast/model/DescribeAnycastEipAddressRequest.h
|
||||
include/alibabacloud/eipanycast/model/DescribeAnycastEipAddressResult.h
|
||||
include/alibabacloud/eipanycast/model/DescribeAnycastPopLocationsRequest.h
|
||||
include/alibabacloud/eipanycast/model/DescribeAnycastPopLocationsResult.h
|
||||
include/alibabacloud/eipanycast/model/DescribeAnycastServerRegionsRequest.h
|
||||
include/alibabacloud/eipanycast/model/DescribeAnycastServerRegionsResult.h
|
||||
include/alibabacloud/eipanycast/model/ListAnycastEipAddressesRequest.h
|
||||
include/alibabacloud/eipanycast/model/ListAnycastEipAddressesResult.h
|
||||
include/alibabacloud/eipanycast/model/ModifyAnycastEipAddressAttributeRequest.h
|
||||
include/alibabacloud/eipanycast/model/ModifyAnycastEipAddressAttributeResult.h
|
||||
include/alibabacloud/eipanycast/model/ModifyAnycastEipAddressSpecRequest.h
|
||||
include/alibabacloud/eipanycast/model/ModifyAnycastEipAddressSpecResult.h
|
||||
include/alibabacloud/eipanycast/model/ReleaseAnycastEipAddressRequest.h
|
||||
include/alibabacloud/eipanycast/model/ReleaseAnycastEipAddressResult.h
|
||||
include/alibabacloud/eipanycast/model/UnassociateAnycastEipAddressRequest.h
|
||||
include/alibabacloud/eipanycast/model/UnassociateAnycastEipAddressResult.h )
|
||||
|
||||
set(eipanycast_src
|
||||
src/EipanycastClient.cc
|
||||
src/model/AllocateAnycastEipAddressRequest.cc
|
||||
src/model/AllocateAnycastEipAddressResult.cc
|
||||
src/model/AssociateAnycastEipAddressRequest.cc
|
||||
src/model/AssociateAnycastEipAddressResult.cc
|
||||
src/model/DescribeAnycastEipAddressRequest.cc
|
||||
src/model/DescribeAnycastEipAddressResult.cc
|
||||
src/model/DescribeAnycastPopLocationsRequest.cc
|
||||
src/model/DescribeAnycastPopLocationsResult.cc
|
||||
src/model/DescribeAnycastServerRegionsRequest.cc
|
||||
src/model/DescribeAnycastServerRegionsResult.cc
|
||||
src/model/ListAnycastEipAddressesRequest.cc
|
||||
src/model/ListAnycastEipAddressesResult.cc
|
||||
src/model/ModifyAnycastEipAddressAttributeRequest.cc
|
||||
src/model/ModifyAnycastEipAddressAttributeResult.cc
|
||||
src/model/ModifyAnycastEipAddressSpecRequest.cc
|
||||
src/model/ModifyAnycastEipAddressSpecResult.cc
|
||||
src/model/ReleaseAnycastEipAddressRequest.cc
|
||||
src/model/ReleaseAnycastEipAddressResult.cc
|
||||
src/model/UnassociateAnycastEipAddressRequest.cc
|
||||
src/model/UnassociateAnycastEipAddressResult.cc )
|
||||
|
||||
add_library(eipanycast ${LIB_TYPE}
|
||||
${eipanycast_public_header}
|
||||
${eipanycast_public_header_model}
|
||||
${eipanycast_src})
|
||||
|
||||
set_target_properties(eipanycast
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}eipanycast
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(eipanycast
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_EIPANYCAST_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(eipanycast
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(eipanycast
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(eipanycast
|
||||
jsoncpp)
|
||||
target_include_directories(eipanycast
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(eipanycast
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(eipanycast
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(eipanycast
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(eipanycast
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${eipanycast_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/eipanycast)
|
||||
install(FILES ${eipanycast_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/eipanycast/model)
|
||||
install(TARGETS eipanycast
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
126
eipanycast/include/alibabacloud/eipanycast/EipanycastClient.h
Normal file
126
eipanycast/include/alibabacloud/eipanycast/EipanycastClient.h
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIPANYCAST_EIPANYCASTCLIENT_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_EIPANYCASTCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "EipanycastExport.h"
|
||||
#include "model/AllocateAnycastEipAddressRequest.h"
|
||||
#include "model/AllocateAnycastEipAddressResult.h"
|
||||
#include "model/AssociateAnycastEipAddressRequest.h"
|
||||
#include "model/AssociateAnycastEipAddressResult.h"
|
||||
#include "model/DescribeAnycastEipAddressRequest.h"
|
||||
#include "model/DescribeAnycastEipAddressResult.h"
|
||||
#include "model/DescribeAnycastPopLocationsRequest.h"
|
||||
#include "model/DescribeAnycastPopLocationsResult.h"
|
||||
#include "model/DescribeAnycastServerRegionsRequest.h"
|
||||
#include "model/DescribeAnycastServerRegionsResult.h"
|
||||
#include "model/ListAnycastEipAddressesRequest.h"
|
||||
#include "model/ListAnycastEipAddressesResult.h"
|
||||
#include "model/ModifyAnycastEipAddressAttributeRequest.h"
|
||||
#include "model/ModifyAnycastEipAddressAttributeResult.h"
|
||||
#include "model/ModifyAnycastEipAddressSpecRequest.h"
|
||||
#include "model/ModifyAnycastEipAddressSpecResult.h"
|
||||
#include "model/ReleaseAnycastEipAddressRequest.h"
|
||||
#include "model/ReleaseAnycastEipAddressResult.h"
|
||||
#include "model/UnassociateAnycastEipAddressRequest.h"
|
||||
#include "model/UnassociateAnycastEipAddressResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT EipanycastClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AllocateAnycastEipAddressResult> AllocateAnycastEipAddressOutcome;
|
||||
typedef std::future<AllocateAnycastEipAddressOutcome> AllocateAnycastEipAddressOutcomeCallable;
|
||||
typedef std::function<void(const EipanycastClient*, const Model::AllocateAnycastEipAddressRequest&, const AllocateAnycastEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateAnycastEipAddressAsyncHandler;
|
||||
typedef Outcome<Error, Model::AssociateAnycastEipAddressResult> AssociateAnycastEipAddressOutcome;
|
||||
typedef std::future<AssociateAnycastEipAddressOutcome> AssociateAnycastEipAddressOutcomeCallable;
|
||||
typedef std::function<void(const EipanycastClient*, const Model::AssociateAnycastEipAddressRequest&, const AssociateAnycastEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssociateAnycastEipAddressAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAnycastEipAddressResult> DescribeAnycastEipAddressOutcome;
|
||||
typedef std::future<DescribeAnycastEipAddressOutcome> DescribeAnycastEipAddressOutcomeCallable;
|
||||
typedef std::function<void(const EipanycastClient*, const Model::DescribeAnycastEipAddressRequest&, const DescribeAnycastEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAnycastEipAddressAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAnycastPopLocationsResult> DescribeAnycastPopLocationsOutcome;
|
||||
typedef std::future<DescribeAnycastPopLocationsOutcome> DescribeAnycastPopLocationsOutcomeCallable;
|
||||
typedef std::function<void(const EipanycastClient*, const Model::DescribeAnycastPopLocationsRequest&, const DescribeAnycastPopLocationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAnycastPopLocationsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAnycastServerRegionsResult> DescribeAnycastServerRegionsOutcome;
|
||||
typedef std::future<DescribeAnycastServerRegionsOutcome> DescribeAnycastServerRegionsOutcomeCallable;
|
||||
typedef std::function<void(const EipanycastClient*, const Model::DescribeAnycastServerRegionsRequest&, const DescribeAnycastServerRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAnycastServerRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAnycastEipAddressesResult> ListAnycastEipAddressesOutcome;
|
||||
typedef std::future<ListAnycastEipAddressesOutcome> ListAnycastEipAddressesOutcomeCallable;
|
||||
typedef std::function<void(const EipanycastClient*, const Model::ListAnycastEipAddressesRequest&, const ListAnycastEipAddressesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAnycastEipAddressesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAnycastEipAddressAttributeResult> ModifyAnycastEipAddressAttributeOutcome;
|
||||
typedef std::future<ModifyAnycastEipAddressAttributeOutcome> ModifyAnycastEipAddressAttributeOutcomeCallable;
|
||||
typedef std::function<void(const EipanycastClient*, const Model::ModifyAnycastEipAddressAttributeRequest&, const ModifyAnycastEipAddressAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAnycastEipAddressAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAnycastEipAddressSpecResult> ModifyAnycastEipAddressSpecOutcome;
|
||||
typedef std::future<ModifyAnycastEipAddressSpecOutcome> ModifyAnycastEipAddressSpecOutcomeCallable;
|
||||
typedef std::function<void(const EipanycastClient*, const Model::ModifyAnycastEipAddressSpecRequest&, const ModifyAnycastEipAddressSpecOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAnycastEipAddressSpecAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReleaseAnycastEipAddressResult> ReleaseAnycastEipAddressOutcome;
|
||||
typedef std::future<ReleaseAnycastEipAddressOutcome> ReleaseAnycastEipAddressOutcomeCallable;
|
||||
typedef std::function<void(const EipanycastClient*, const Model::ReleaseAnycastEipAddressRequest&, const ReleaseAnycastEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseAnycastEipAddressAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnassociateAnycastEipAddressResult> UnassociateAnycastEipAddressOutcome;
|
||||
typedef std::future<UnassociateAnycastEipAddressOutcome> UnassociateAnycastEipAddressOutcomeCallable;
|
||||
typedef std::function<void(const EipanycastClient*, const Model::UnassociateAnycastEipAddressRequest&, const UnassociateAnycastEipAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnassociateAnycastEipAddressAsyncHandler;
|
||||
|
||||
EipanycastClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
EipanycastClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
EipanycastClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~EipanycastClient();
|
||||
AllocateAnycastEipAddressOutcome allocateAnycastEipAddress(const Model::AllocateAnycastEipAddressRequest &request)const;
|
||||
void allocateAnycastEipAddressAsync(const Model::AllocateAnycastEipAddressRequest& request, const AllocateAnycastEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AllocateAnycastEipAddressOutcomeCallable allocateAnycastEipAddressCallable(const Model::AllocateAnycastEipAddressRequest& request) const;
|
||||
AssociateAnycastEipAddressOutcome associateAnycastEipAddress(const Model::AssociateAnycastEipAddressRequest &request)const;
|
||||
void associateAnycastEipAddressAsync(const Model::AssociateAnycastEipAddressRequest& request, const AssociateAnycastEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AssociateAnycastEipAddressOutcomeCallable associateAnycastEipAddressCallable(const Model::AssociateAnycastEipAddressRequest& request) const;
|
||||
DescribeAnycastEipAddressOutcome describeAnycastEipAddress(const Model::DescribeAnycastEipAddressRequest &request)const;
|
||||
void describeAnycastEipAddressAsync(const Model::DescribeAnycastEipAddressRequest& request, const DescribeAnycastEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAnycastEipAddressOutcomeCallable describeAnycastEipAddressCallable(const Model::DescribeAnycastEipAddressRequest& request) const;
|
||||
DescribeAnycastPopLocationsOutcome describeAnycastPopLocations(const Model::DescribeAnycastPopLocationsRequest &request)const;
|
||||
void describeAnycastPopLocationsAsync(const Model::DescribeAnycastPopLocationsRequest& request, const DescribeAnycastPopLocationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAnycastPopLocationsOutcomeCallable describeAnycastPopLocationsCallable(const Model::DescribeAnycastPopLocationsRequest& request) const;
|
||||
DescribeAnycastServerRegionsOutcome describeAnycastServerRegions(const Model::DescribeAnycastServerRegionsRequest &request)const;
|
||||
void describeAnycastServerRegionsAsync(const Model::DescribeAnycastServerRegionsRequest& request, const DescribeAnycastServerRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAnycastServerRegionsOutcomeCallable describeAnycastServerRegionsCallable(const Model::DescribeAnycastServerRegionsRequest& request) const;
|
||||
ListAnycastEipAddressesOutcome listAnycastEipAddresses(const Model::ListAnycastEipAddressesRequest &request)const;
|
||||
void listAnycastEipAddressesAsync(const Model::ListAnycastEipAddressesRequest& request, const ListAnycastEipAddressesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAnycastEipAddressesOutcomeCallable listAnycastEipAddressesCallable(const Model::ListAnycastEipAddressesRequest& request) const;
|
||||
ModifyAnycastEipAddressAttributeOutcome modifyAnycastEipAddressAttribute(const Model::ModifyAnycastEipAddressAttributeRequest &request)const;
|
||||
void modifyAnycastEipAddressAttributeAsync(const Model::ModifyAnycastEipAddressAttributeRequest& request, const ModifyAnycastEipAddressAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAnycastEipAddressAttributeOutcomeCallable modifyAnycastEipAddressAttributeCallable(const Model::ModifyAnycastEipAddressAttributeRequest& request) const;
|
||||
ModifyAnycastEipAddressSpecOutcome modifyAnycastEipAddressSpec(const Model::ModifyAnycastEipAddressSpecRequest &request)const;
|
||||
void modifyAnycastEipAddressSpecAsync(const Model::ModifyAnycastEipAddressSpecRequest& request, const ModifyAnycastEipAddressSpecAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAnycastEipAddressSpecOutcomeCallable modifyAnycastEipAddressSpecCallable(const Model::ModifyAnycastEipAddressSpecRequest& request) const;
|
||||
ReleaseAnycastEipAddressOutcome releaseAnycastEipAddress(const Model::ReleaseAnycastEipAddressRequest &request)const;
|
||||
void releaseAnycastEipAddressAsync(const Model::ReleaseAnycastEipAddressRequest& request, const ReleaseAnycastEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReleaseAnycastEipAddressOutcomeCallable releaseAnycastEipAddressCallable(const Model::ReleaseAnycastEipAddressRequest& request) const;
|
||||
UnassociateAnycastEipAddressOutcome unassociateAnycastEipAddress(const Model::UnassociateAnycastEipAddressRequest &request)const;
|
||||
void unassociateAnycastEipAddressAsync(const Model::UnassociateAnycastEipAddressRequest& request, const UnassociateAnycastEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnassociateAnycastEipAddressOutcomeCallable unassociateAnycastEipAddressCallable(const Model::UnassociateAnycastEipAddressRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_EIPANYCASTCLIENT_H_
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIPANYCAST_EIPANYCASTEXPORT_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_EIPANYCASTEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_EIPANYCAST_LIBRARY)
|
||||
# define ALIBABACLOUD_EIPANYCAST_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_EIPANYCAST_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_EIPANYCAST_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_EIPANYCASTEXPORT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIPANYCAST_MODEL_ALLOCATEANYCASTEIPADDRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_ALLOCATEANYCASTEIPADDRESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT AllocateAnycastEipAddressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AllocateAnycastEipAddressRequest();
|
||||
~AllocateAnycastEipAddressRequest();
|
||||
|
||||
std::string getBandwidth()const;
|
||||
void setBandwidth(const std::string& bandwidth);
|
||||
std::string getServiceLocation()const;
|
||||
void setServiceLocation(const std::string& serviceLocation);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getInternetChargeType()const;
|
||||
void setInternetChargeType(const std::string& internetChargeType);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getInstanceChargeType()const;
|
||||
void setInstanceChargeType(const std::string& instanceChargeType);
|
||||
|
||||
private:
|
||||
std::string bandwidth_;
|
||||
std::string serviceLocation_;
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
std::string regionId_;
|
||||
std::string internetChargeType_;
|
||||
std::string name_;
|
||||
std::string instanceChargeType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_ALLOCATEANYCASTEIPADDRESSREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_EIPANYCAST_MODEL_ALLOCATEANYCASTEIPADDRESSRESULT_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_ALLOCATEANYCASTEIPADDRESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT AllocateAnycastEipAddressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AllocateAnycastEipAddressResult();
|
||||
explicit AllocateAnycastEipAddressResult(const std::string &payload);
|
||||
~AllocateAnycastEipAddressResult();
|
||||
std::string getAnycastId()const;
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string anycastId_;
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_ALLOCATEANYCASTEIPADDRESSRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIPANYCAST_MODEL_ASSOCIATEANYCASTEIPADDRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_ASSOCIATEANYCASTEIPADDRESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT AssociateAnycastEipAddressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AssociateAnycastEipAddressRequest();
|
||||
~AssociateAnycastEipAddressRequest();
|
||||
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBindInstanceType()const;
|
||||
void setBindInstanceType(const std::string& bindInstanceType);
|
||||
std::string getBindInstanceRegionId()const;
|
||||
void setBindInstanceRegionId(const std::string& bindInstanceRegionId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAnycastId()const;
|
||||
void setAnycastId(const std::string& anycastId);
|
||||
std::string getBindInstanceId()const;
|
||||
void setBindInstanceId(const std::string& bindInstanceId);
|
||||
|
||||
private:
|
||||
bool dryRun_;
|
||||
std::string clientToken_;
|
||||
std::string bindInstanceType_;
|
||||
std::string bindInstanceRegionId_;
|
||||
std::string regionId_;
|
||||
std::string anycastId_;
|
||||
std::string bindInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_ASSOCIATEANYCASTEIPADDRESSREQUEST_H_
|
||||
@@ -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_EIPANYCAST_MODEL_ASSOCIATEANYCASTEIPADDRESSRESULT_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_ASSOCIATEANYCASTEIPADDRESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT AssociateAnycastEipAddressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AssociateAnycastEipAddressResult();
|
||||
explicit AssociateAnycastEipAddressResult(const std::string &payload);
|
||||
~AssociateAnycastEipAddressResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_ASSOCIATEANYCASTEIPADDRESSRESULT_H_
|
||||
@@ -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_EIPANYCAST_MODEL_DESCRIBEANYCASTEIPADDRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTEIPADDRESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT DescribeAnycastEipAddressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAnycastEipAddressRequest();
|
||||
~DescribeAnycastEipAddressRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAnycastId()const;
|
||||
void setAnycastId(const std::string& anycastId);
|
||||
std::string getBindInstanceId()const;
|
||||
void setBindInstanceId(const std::string& bindInstanceId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string anycastId_;
|
||||
std::string bindInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTEIPADDRESSREQUEST_H_
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTEIPADDRESSRESULT_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTEIPADDRESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT DescribeAnycastEipAddressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AnycastEipBindInfo
|
||||
{
|
||||
std::string bindInstanceId;
|
||||
std::string bindTime;
|
||||
std::string bindInstanceType;
|
||||
std::string bindInstanceRegionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeAnycastEipAddressResult();
|
||||
explicit DescribeAnycastEipAddressResult(const std::string &payload);
|
||||
~DescribeAnycastEipAddressResult();
|
||||
std::string getStatus()const;
|
||||
std::string getDescription()const;
|
||||
std::string getInstanceChargeType()const;
|
||||
std::string getCreateTime()const;
|
||||
std::vector<AnycastEipBindInfo> getAnycastEipBindInfoList()const;
|
||||
std::string getBusinessStatus()const;
|
||||
std::string getName()const;
|
||||
std::string getInternetChargeType()const;
|
||||
std::string getAnycastId()const;
|
||||
std::string getServiceLocation()const;
|
||||
int getBandwidth()const;
|
||||
std::string getIpAddress()const;
|
||||
std::string getBid()const;
|
||||
long getAliUid()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::string description_;
|
||||
std::string instanceChargeType_;
|
||||
std::string createTime_;
|
||||
std::vector<AnycastEipBindInfo> anycastEipBindInfoList_;
|
||||
std::string businessStatus_;
|
||||
std::string name_;
|
||||
std::string internetChargeType_;
|
||||
std::string anycastId_;
|
||||
std::string serviceLocation_;
|
||||
int bandwidth_;
|
||||
std::string ipAddress_;
|
||||
std::string bid_;
|
||||
long aliUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTEIPADDRESSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTPOPLOCATIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTPOPLOCATIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT DescribeAnycastPopLocationsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAnycastPopLocationsRequest();
|
||||
~DescribeAnycastPopLocationsRequest();
|
||||
|
||||
std::string getServiceLocation()const;
|
||||
void setServiceLocation(const std::string& serviceLocation);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string serviceLocation_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTPOPLOCATIONSREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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_EIPANYCAST_MODEL_DESCRIBEANYCASTPOPLOCATIONSRESULT_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTPOPLOCATIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT DescribeAnycastPopLocationsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AnycastPopLocation
|
||||
{
|
||||
std::string regionName;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeAnycastPopLocationsResult();
|
||||
explicit DescribeAnycastPopLocationsResult(const std::string &payload);
|
||||
~DescribeAnycastPopLocationsResult();
|
||||
std::vector<AnycastPopLocation> getAnycastPopLocationList()const;
|
||||
std::string getCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AnycastPopLocation> anycastPopLocationList_;
|
||||
std::string count_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTPOPLOCATIONSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTSERVERREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTSERVERREGIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT DescribeAnycastServerRegionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAnycastServerRegionsRequest();
|
||||
~DescribeAnycastServerRegionsRequest();
|
||||
|
||||
std::string getServiceLocation()const;
|
||||
void setServiceLocation(const std::string& serviceLocation);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string serviceLocation_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTSERVERREGIONSREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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_EIPANYCAST_MODEL_DESCRIBEANYCASTSERVERREGIONSRESULT_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTSERVERREGIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT DescribeAnycastServerRegionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AnycastServerRegion
|
||||
{
|
||||
std::string regionName;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
DescribeAnycastServerRegionsResult();
|
||||
explicit DescribeAnycastServerRegionsResult(const std::string &payload);
|
||||
~DescribeAnycastServerRegionsResult();
|
||||
std::string getCount()const;
|
||||
std::vector<AnycastServerRegion> getAnycastServerRegionList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string count_;
|
||||
std::vector<AnycastServerRegion> anycastServerRegionList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_DESCRIBEANYCASTSERVERREGIONSRESULT_H_
|
||||
@@ -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_EIPANYCAST_MODEL_LISTANYCASTEIPADDRESSESREQUEST_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_LISTANYCASTEIPADDRESSESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT ListAnycastEipAddressesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListAnycastEipAddressesRequest();
|
||||
~ListAnycastEipAddressesRequest();
|
||||
|
||||
std::string getBusinessStatus()const;
|
||||
void setBusinessStatus(const std::string& businessStatus);
|
||||
std::string getServiceLocation()const;
|
||||
void setServiceLocation(const std::string& serviceLocation);
|
||||
std::string getAnycastEipAddress()const;
|
||||
void setAnycastEipAddress(const std::string& anycastEipAddress);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getInternetChargeType()const;
|
||||
void setInternetChargeType(const std::string& internetChargeType);
|
||||
std::string getAnycastId()const;
|
||||
void setAnycastId(const std::string& anycastId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::vector<std::string> getBindInstanceIds()const;
|
||||
void setBindInstanceIds(const std::vector<std::string>& bindInstanceIds);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
std::string getInstanceChargeType()const;
|
||||
void setInstanceChargeType(const std::string& instanceChargeType);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string businessStatus_;
|
||||
std::string serviceLocation_;
|
||||
std::string anycastEipAddress_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::string internetChargeType_;
|
||||
std::string anycastId_;
|
||||
std::string name_;
|
||||
std::vector<std::string> bindInstanceIds_;
|
||||
int maxResults_;
|
||||
std::string instanceChargeType_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_LISTANYCASTEIPADDRESSESREQUEST_H_
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* 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_EIPANYCAST_MODEL_LISTANYCASTEIPADDRESSESRESULT_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_LISTANYCASTEIPADDRESSESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT ListAnycastEipAddressesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Anycast
|
||||
{
|
||||
struct AnycastEipBindInfo
|
||||
{
|
||||
std::string bindInstanceId;
|
||||
std::string bindTime;
|
||||
std::string bindInstanceType;
|
||||
std::string bindInstanceRegionId;
|
||||
};
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string instanceChargeType;
|
||||
std::string createTime;
|
||||
std::vector<Anycast::AnycastEipBindInfo> anycastEipBindInfoList;
|
||||
std::string businessStatus;
|
||||
std::string name;
|
||||
std::string internetChargeType;
|
||||
std::string anycastId;
|
||||
std::string serviceLocation;
|
||||
int bandwidth;
|
||||
std::string ipAddress;
|
||||
std::string bid;
|
||||
long aliUid;
|
||||
};
|
||||
|
||||
|
||||
ListAnycastEipAddressesResult();
|
||||
explicit ListAnycastEipAddressesResult(const std::string &payload);
|
||||
~ListAnycastEipAddressesResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<Anycast> getAnycastList()const;
|
||||
std::string getNextToken()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<Anycast> anycastList_;
|
||||
std::string nextToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_LISTANYCASTEIPADDRESSESRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIPANYCAST_MODEL_MODIFYANYCASTEIPADDRESSATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_MODIFYANYCASTEIPADDRESSATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT ModifyAnycastEipAddressAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyAnycastEipAddressAttributeRequest();
|
||||
~ModifyAnycastEipAddressAttributeRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAnycastId()const;
|
||||
void setAnycastId(const std::string& anycastId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string regionId_;
|
||||
std::string anycastId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_MODIFYANYCASTEIPADDRESSATTRIBUTEREQUEST_H_
|
||||
@@ -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_EIPANYCAST_MODEL_MODIFYANYCASTEIPADDRESSATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_MODIFYANYCASTEIPADDRESSATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT ModifyAnycastEipAddressAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyAnycastEipAddressAttributeResult();
|
||||
explicit ModifyAnycastEipAddressAttributeResult(const std::string &payload);
|
||||
~ModifyAnycastEipAddressAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_MODIFYANYCASTEIPADDRESSATTRIBUTERESULT_H_
|
||||
@@ -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_EIPANYCAST_MODEL_MODIFYANYCASTEIPADDRESSSPECREQUEST_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_MODIFYANYCASTEIPADDRESSSPECREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT ModifyAnycastEipAddressSpecRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyAnycastEipAddressSpecRequest();
|
||||
~ModifyAnycastEipAddressSpecRequest();
|
||||
|
||||
std::string getBandwidth()const;
|
||||
void setBandwidth(const std::string& bandwidth);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAnycastId()const;
|
||||
void setAnycastId(const std::string& anycastId);
|
||||
|
||||
private:
|
||||
std::string bandwidth_;
|
||||
std::string regionId_;
|
||||
std::string anycastId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_MODIFYANYCASTEIPADDRESSSPECREQUEST_H_
|
||||
@@ -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_EIPANYCAST_MODEL_MODIFYANYCASTEIPADDRESSSPECRESULT_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_MODIFYANYCASTEIPADDRESSSPECRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT ModifyAnycastEipAddressSpecResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyAnycastEipAddressSpecResult();
|
||||
explicit ModifyAnycastEipAddressSpecResult(const std::string &payload);
|
||||
~ModifyAnycastEipAddressSpecResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_MODIFYANYCASTEIPADDRESSSPECRESULT_H_
|
||||
@@ -14,41 +14,41 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HBASE_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_EIPANYCAST_MODEL_RELEASEANYCASTEIPADDRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_RELEASEANYCASTEIPADDRESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hbase/HBaseExport.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace HBase
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HBASE_EXPORT DescribeUserEncryptionKeyListRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT ReleaseAnycastEipAddressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeUserEncryptionKeyListRequest();
|
||||
~DescribeUserEncryptionKeyListRequest();
|
||||
ReleaseAnycastEipAddressRequest();
|
||||
~ReleaseAnycastEipAddressRequest();
|
||||
|
||||
std::string getPageNumber()const;
|
||||
void setPageNumber(const std::string& pageNumber);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
std::string getAnycastId()const;
|
||||
void setAnycastId(const std::string& anycastId);
|
||||
|
||||
private:
|
||||
std::string pageNumber_;
|
||||
std::string clientToken_;
|
||||
std::string regionId_;
|
||||
std::string pageSize_;
|
||||
std::string anycastId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_RELEASEANYCASTEIPADDRESSREQUEST_H_
|
||||
@@ -14,42 +14,36 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HBASE_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTRESULT_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_EIPANYCAST_MODEL_RELEASEANYCASTEIPADDRESSRESULT_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_RELEASEANYCASTEIPADDRESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hbase/HBaseExport.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace HBase
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HBASE_EXPORT DescribeUserEncryptionKeyListResult : public ServiceResult
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT ReleaseAnycastEipAddressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct KmsKeysItem
|
||||
{
|
||||
std::string keyId;
|
||||
};
|
||||
|
||||
|
||||
DescribeUserEncryptionKeyListResult();
|
||||
explicit DescribeUserEncryptionKeyListResult(const std::string &payload);
|
||||
~DescribeUserEncryptionKeyListResult();
|
||||
std::vector<KmsKeysItem> getKmsKeys()const;
|
||||
ReleaseAnycastEipAddressResult();
|
||||
explicit ReleaseAnycastEipAddressResult(const std::string &payload);
|
||||
~ReleaseAnycastEipAddressResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<KmsKeysItem> kmsKeys_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_RELEASEANYCASTEIPADDRESSRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIPANYCAST_MODEL_UNASSOCIATEANYCASTEIPADDRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_UNASSOCIATEANYCASTEIPADDRESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT UnassociateAnycastEipAddressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnassociateAnycastEipAddressRequest();
|
||||
~UnassociateAnycastEipAddressRequest();
|
||||
|
||||
std::string getDryRun()const;
|
||||
void setDryRun(const std::string& dryRun);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBindInstanceType()const;
|
||||
void setBindInstanceType(const std::string& bindInstanceType);
|
||||
std::string getBindInstanceRegionId()const;
|
||||
void setBindInstanceRegionId(const std::string& bindInstanceRegionId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAnycastId()const;
|
||||
void setAnycastId(const std::string& anycastId);
|
||||
std::string getBindInstanceId()const;
|
||||
void setBindInstanceId(const std::string& bindInstanceId);
|
||||
|
||||
private:
|
||||
std::string dryRun_;
|
||||
std::string clientToken_;
|
||||
std::string bindInstanceType_;
|
||||
std::string bindInstanceRegionId_;
|
||||
std::string regionId_;
|
||||
std::string anycastId_;
|
||||
std::string bindInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_UNASSOCIATEANYCASTEIPADDRESSREQUEST_H_
|
||||
@@ -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_EIPANYCAST_MODEL_UNASSOCIATEANYCASTEIPADDRESSRESULT_H_
|
||||
#define ALIBABACLOUD_EIPANYCAST_MODEL_UNASSOCIATEANYCASTEIPADDRESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eipanycast/EipanycastExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eipanycast
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIPANYCAST_EXPORT UnassociateAnycastEipAddressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UnassociateAnycastEipAddressResult();
|
||||
explicit UnassociateAnycastEipAddressResult(const std::string &payload);
|
||||
~UnassociateAnycastEipAddressResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIPANYCAST_MODEL_UNASSOCIATEANYCASTEIPADDRESSRESULT_H_
|
||||
413
eipanycast/src/EipanycastClient.cc
Normal file
413
eipanycast/src/EipanycastClient.cc
Normal file
@@ -0,0 +1,413 @@
|
||||
/*
|
||||
* 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/eipanycast/EipanycastClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::Eipanycast;
|
||||
using namespace AlibabaCloud::Eipanycast::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "Eipanycast";
|
||||
}
|
||||
|
||||
EipanycastClient::EipanycastClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "eipanycast");
|
||||
}
|
||||
|
||||
EipanycastClient::EipanycastClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "eipanycast");
|
||||
}
|
||||
|
||||
EipanycastClient::EipanycastClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "eipanycast");
|
||||
}
|
||||
|
||||
EipanycastClient::~EipanycastClient()
|
||||
{}
|
||||
|
||||
EipanycastClient::AllocateAnycastEipAddressOutcome EipanycastClient::allocateAnycastEipAddress(const AllocateAnycastEipAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AllocateAnycastEipAddressOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AllocateAnycastEipAddressOutcome(AllocateAnycastEipAddressResult(outcome.result()));
|
||||
else
|
||||
return AllocateAnycastEipAddressOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EipanycastClient::allocateAnycastEipAddressAsync(const AllocateAnycastEipAddressRequest& request, const AllocateAnycastEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, allocateAnycastEipAddress(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EipanycastClient::AllocateAnycastEipAddressOutcomeCallable EipanycastClient::allocateAnycastEipAddressCallable(const AllocateAnycastEipAddressRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AllocateAnycastEipAddressOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->allocateAnycastEipAddress(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EipanycastClient::AssociateAnycastEipAddressOutcome EipanycastClient::associateAnycastEipAddress(const AssociateAnycastEipAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AssociateAnycastEipAddressOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AssociateAnycastEipAddressOutcome(AssociateAnycastEipAddressResult(outcome.result()));
|
||||
else
|
||||
return AssociateAnycastEipAddressOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EipanycastClient::associateAnycastEipAddressAsync(const AssociateAnycastEipAddressRequest& request, const AssociateAnycastEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, associateAnycastEipAddress(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EipanycastClient::AssociateAnycastEipAddressOutcomeCallable EipanycastClient::associateAnycastEipAddressCallable(const AssociateAnycastEipAddressRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AssociateAnycastEipAddressOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->associateAnycastEipAddress(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EipanycastClient::DescribeAnycastEipAddressOutcome EipanycastClient::describeAnycastEipAddress(const DescribeAnycastEipAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAnycastEipAddressOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAnycastEipAddressOutcome(DescribeAnycastEipAddressResult(outcome.result()));
|
||||
else
|
||||
return DescribeAnycastEipAddressOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EipanycastClient::describeAnycastEipAddressAsync(const DescribeAnycastEipAddressRequest& request, const DescribeAnycastEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAnycastEipAddress(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EipanycastClient::DescribeAnycastEipAddressOutcomeCallable EipanycastClient::describeAnycastEipAddressCallable(const DescribeAnycastEipAddressRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAnycastEipAddressOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAnycastEipAddress(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EipanycastClient::DescribeAnycastPopLocationsOutcome EipanycastClient::describeAnycastPopLocations(const DescribeAnycastPopLocationsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAnycastPopLocationsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAnycastPopLocationsOutcome(DescribeAnycastPopLocationsResult(outcome.result()));
|
||||
else
|
||||
return DescribeAnycastPopLocationsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EipanycastClient::describeAnycastPopLocationsAsync(const DescribeAnycastPopLocationsRequest& request, const DescribeAnycastPopLocationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAnycastPopLocations(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EipanycastClient::DescribeAnycastPopLocationsOutcomeCallable EipanycastClient::describeAnycastPopLocationsCallable(const DescribeAnycastPopLocationsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAnycastPopLocationsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAnycastPopLocations(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EipanycastClient::DescribeAnycastServerRegionsOutcome EipanycastClient::describeAnycastServerRegions(const DescribeAnycastServerRegionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAnycastServerRegionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAnycastServerRegionsOutcome(DescribeAnycastServerRegionsResult(outcome.result()));
|
||||
else
|
||||
return DescribeAnycastServerRegionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EipanycastClient::describeAnycastServerRegionsAsync(const DescribeAnycastServerRegionsRequest& request, const DescribeAnycastServerRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAnycastServerRegions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EipanycastClient::DescribeAnycastServerRegionsOutcomeCallable EipanycastClient::describeAnycastServerRegionsCallable(const DescribeAnycastServerRegionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAnycastServerRegionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAnycastServerRegions(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EipanycastClient::ListAnycastEipAddressesOutcome EipanycastClient::listAnycastEipAddresses(const ListAnycastEipAddressesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListAnycastEipAddressesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListAnycastEipAddressesOutcome(ListAnycastEipAddressesResult(outcome.result()));
|
||||
else
|
||||
return ListAnycastEipAddressesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EipanycastClient::listAnycastEipAddressesAsync(const ListAnycastEipAddressesRequest& request, const ListAnycastEipAddressesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listAnycastEipAddresses(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EipanycastClient::ListAnycastEipAddressesOutcomeCallable EipanycastClient::listAnycastEipAddressesCallable(const ListAnycastEipAddressesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListAnycastEipAddressesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listAnycastEipAddresses(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EipanycastClient::ModifyAnycastEipAddressAttributeOutcome EipanycastClient::modifyAnycastEipAddressAttribute(const ModifyAnycastEipAddressAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyAnycastEipAddressAttributeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyAnycastEipAddressAttributeOutcome(ModifyAnycastEipAddressAttributeResult(outcome.result()));
|
||||
else
|
||||
return ModifyAnycastEipAddressAttributeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EipanycastClient::modifyAnycastEipAddressAttributeAsync(const ModifyAnycastEipAddressAttributeRequest& request, const ModifyAnycastEipAddressAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyAnycastEipAddressAttribute(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EipanycastClient::ModifyAnycastEipAddressAttributeOutcomeCallable EipanycastClient::modifyAnycastEipAddressAttributeCallable(const ModifyAnycastEipAddressAttributeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyAnycastEipAddressAttributeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyAnycastEipAddressAttribute(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EipanycastClient::ModifyAnycastEipAddressSpecOutcome EipanycastClient::modifyAnycastEipAddressSpec(const ModifyAnycastEipAddressSpecRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyAnycastEipAddressSpecOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyAnycastEipAddressSpecOutcome(ModifyAnycastEipAddressSpecResult(outcome.result()));
|
||||
else
|
||||
return ModifyAnycastEipAddressSpecOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EipanycastClient::modifyAnycastEipAddressSpecAsync(const ModifyAnycastEipAddressSpecRequest& request, const ModifyAnycastEipAddressSpecAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyAnycastEipAddressSpec(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EipanycastClient::ModifyAnycastEipAddressSpecOutcomeCallable EipanycastClient::modifyAnycastEipAddressSpecCallable(const ModifyAnycastEipAddressSpecRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyAnycastEipAddressSpecOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyAnycastEipAddressSpec(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EipanycastClient::ReleaseAnycastEipAddressOutcome EipanycastClient::releaseAnycastEipAddress(const ReleaseAnycastEipAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ReleaseAnycastEipAddressOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ReleaseAnycastEipAddressOutcome(ReleaseAnycastEipAddressResult(outcome.result()));
|
||||
else
|
||||
return ReleaseAnycastEipAddressOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EipanycastClient::releaseAnycastEipAddressAsync(const ReleaseAnycastEipAddressRequest& request, const ReleaseAnycastEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, releaseAnycastEipAddress(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EipanycastClient::ReleaseAnycastEipAddressOutcomeCallable EipanycastClient::releaseAnycastEipAddressCallable(const ReleaseAnycastEipAddressRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ReleaseAnycastEipAddressOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->releaseAnycastEipAddress(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EipanycastClient::UnassociateAnycastEipAddressOutcome EipanycastClient::unassociateAnycastEipAddress(const UnassociateAnycastEipAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UnassociateAnycastEipAddressOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UnassociateAnycastEipAddressOutcome(UnassociateAnycastEipAddressResult(outcome.result()));
|
||||
else
|
||||
return UnassociateAnycastEipAddressOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EipanycastClient::unassociateAnycastEipAddressAsync(const UnassociateAnycastEipAddressRequest& request, const UnassociateAnycastEipAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, unassociateAnycastEipAddress(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EipanycastClient::UnassociateAnycastEipAddressOutcomeCallable EipanycastClient::unassociateAnycastEipAddressCallable(const UnassociateAnycastEipAddressRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UnassociateAnycastEipAddressOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->unassociateAnycastEipAddress(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
117
eipanycast/src/model/AllocateAnycastEipAddressRequest.cc
Normal file
117
eipanycast/src/model/AllocateAnycastEipAddressRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eipanycast/model/AllocateAnycastEipAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Eipanycast::Model::AllocateAnycastEipAddressRequest;
|
||||
|
||||
AllocateAnycastEipAddressRequest::AllocateAnycastEipAddressRequest() :
|
||||
RpcServiceRequest("eipanycast", "2020-03-09", "AllocateAnycastEipAddress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AllocateAnycastEipAddressRequest::~AllocateAnycastEipAddressRequest()
|
||||
{}
|
||||
|
||||
std::string AllocateAnycastEipAddressRequest::getBandwidth()const
|
||||
{
|
||||
return bandwidth_;
|
||||
}
|
||||
|
||||
void AllocateAnycastEipAddressRequest::setBandwidth(const std::string& bandwidth)
|
||||
{
|
||||
bandwidth_ = bandwidth;
|
||||
setParameter("Bandwidth", bandwidth);
|
||||
}
|
||||
|
||||
std::string AllocateAnycastEipAddressRequest::getServiceLocation()const
|
||||
{
|
||||
return serviceLocation_;
|
||||
}
|
||||
|
||||
void AllocateAnycastEipAddressRequest::setServiceLocation(const std::string& serviceLocation)
|
||||
{
|
||||
serviceLocation_ = serviceLocation;
|
||||
setParameter("ServiceLocation", serviceLocation);
|
||||
}
|
||||
|
||||
std::string AllocateAnycastEipAddressRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AllocateAnycastEipAddressRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AllocateAnycastEipAddressRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void AllocateAnycastEipAddressRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string AllocateAnycastEipAddressRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AllocateAnycastEipAddressRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AllocateAnycastEipAddressRequest::getInternetChargeType()const
|
||||
{
|
||||
return internetChargeType_;
|
||||
}
|
||||
|
||||
void AllocateAnycastEipAddressRequest::setInternetChargeType(const std::string& internetChargeType)
|
||||
{
|
||||
internetChargeType_ = internetChargeType;
|
||||
setParameter("InternetChargeType", internetChargeType);
|
||||
}
|
||||
|
||||
std::string AllocateAnycastEipAddressRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AllocateAnycastEipAddressRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AllocateAnycastEipAddressRequest::getInstanceChargeType()const
|
||||
{
|
||||
return instanceChargeType_;
|
||||
}
|
||||
|
||||
void AllocateAnycastEipAddressRequest::setInstanceChargeType(const std::string& instanceChargeType)
|
||||
{
|
||||
instanceChargeType_ = instanceChargeType;
|
||||
setParameter("InstanceChargeType", instanceChargeType);
|
||||
}
|
||||
|
||||
58
eipanycast/src/model/AllocateAnycastEipAddressResult.cc
Normal file
58
eipanycast/src/model/AllocateAnycastEipAddressResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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/eipanycast/model/AllocateAnycastEipAddressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eipanycast;
|
||||
using namespace AlibabaCloud::Eipanycast::Model;
|
||||
|
||||
AllocateAnycastEipAddressResult::AllocateAnycastEipAddressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AllocateAnycastEipAddressResult::AllocateAnycastEipAddressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AllocateAnycastEipAddressResult::~AllocateAnycastEipAddressResult()
|
||||
{}
|
||||
|
||||
void AllocateAnycastEipAddressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AnycastId"].isNull())
|
||||
anycastId_ = value["AnycastId"].asString();
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AllocateAnycastEipAddressResult::getAnycastId()const
|
||||
{
|
||||
return anycastId_;
|
||||
}
|
||||
|
||||
std::string AllocateAnycastEipAddressResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
106
eipanycast/src/model/AssociateAnycastEipAddressRequest.cc
Normal file
106
eipanycast/src/model/AssociateAnycastEipAddressRequest.cc
Normal 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/eipanycast/model/AssociateAnycastEipAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Eipanycast::Model::AssociateAnycastEipAddressRequest;
|
||||
|
||||
AssociateAnycastEipAddressRequest::AssociateAnycastEipAddressRequest() :
|
||||
RpcServiceRequest("eipanycast", "2020-03-09", "AssociateAnycastEipAddress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AssociateAnycastEipAddressRequest::~AssociateAnycastEipAddressRequest()
|
||||
{}
|
||||
|
||||
bool AssociateAnycastEipAddressRequest::getDryRun()const
|
||||
{
|
||||
return dryRun_;
|
||||
}
|
||||
|
||||
void AssociateAnycastEipAddressRequest::setDryRun(bool dryRun)
|
||||
{
|
||||
dryRun_ = dryRun;
|
||||
setParameter("DryRun", dryRun ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AssociateAnycastEipAddressRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AssociateAnycastEipAddressRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AssociateAnycastEipAddressRequest::getBindInstanceType()const
|
||||
{
|
||||
return bindInstanceType_;
|
||||
}
|
||||
|
||||
void AssociateAnycastEipAddressRequest::setBindInstanceType(const std::string& bindInstanceType)
|
||||
{
|
||||
bindInstanceType_ = bindInstanceType;
|
||||
setParameter("BindInstanceType", bindInstanceType);
|
||||
}
|
||||
|
||||
std::string AssociateAnycastEipAddressRequest::getBindInstanceRegionId()const
|
||||
{
|
||||
return bindInstanceRegionId_;
|
||||
}
|
||||
|
||||
void AssociateAnycastEipAddressRequest::setBindInstanceRegionId(const std::string& bindInstanceRegionId)
|
||||
{
|
||||
bindInstanceRegionId_ = bindInstanceRegionId;
|
||||
setParameter("BindInstanceRegionId", bindInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string AssociateAnycastEipAddressRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AssociateAnycastEipAddressRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AssociateAnycastEipAddressRequest::getAnycastId()const
|
||||
{
|
||||
return anycastId_;
|
||||
}
|
||||
|
||||
void AssociateAnycastEipAddressRequest::setAnycastId(const std::string& anycastId)
|
||||
{
|
||||
anycastId_ = anycastId;
|
||||
setParameter("AnycastId", anycastId);
|
||||
}
|
||||
|
||||
std::string AssociateAnycastEipAddressRequest::getBindInstanceId()const
|
||||
{
|
||||
return bindInstanceId_;
|
||||
}
|
||||
|
||||
void AssociateAnycastEipAddressRequest::setBindInstanceId(const std::string& bindInstanceId)
|
||||
{
|
||||
bindInstanceId_ = bindInstanceId;
|
||||
setParameter("BindInstanceId", bindInstanceId);
|
||||
}
|
||||
|
||||
44
eipanycast/src/model/AssociateAnycastEipAddressResult.cc
Normal file
44
eipanycast/src/model/AssociateAnycastEipAddressResult.cc
Normal 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/eipanycast/model/AssociateAnycastEipAddressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eipanycast;
|
||||
using namespace AlibabaCloud::Eipanycast::Model;
|
||||
|
||||
AssociateAnycastEipAddressResult::AssociateAnycastEipAddressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AssociateAnycastEipAddressResult::AssociateAnycastEipAddressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AssociateAnycastEipAddressResult::~AssociateAnycastEipAddressResult()
|
||||
{}
|
||||
|
||||
void AssociateAnycastEipAddressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
62
eipanycast/src/model/DescribeAnycastEipAddressRequest.cc
Normal file
62
eipanycast/src/model/DescribeAnycastEipAddressRequest.cc
Normal 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/eipanycast/model/DescribeAnycastEipAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Eipanycast::Model::DescribeAnycastEipAddressRequest;
|
||||
|
||||
DescribeAnycastEipAddressRequest::DescribeAnycastEipAddressRequest() :
|
||||
RpcServiceRequest("eipanycast", "2020-03-09", "DescribeAnycastEipAddress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAnycastEipAddressRequest::~DescribeAnycastEipAddressRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAnycastEipAddressRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAnycastEipAddressRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeAnycastEipAddressRequest::getAnycastId()const
|
||||
{
|
||||
return anycastId_;
|
||||
}
|
||||
|
||||
void DescribeAnycastEipAddressRequest::setAnycastId(const std::string& anycastId)
|
||||
{
|
||||
anycastId_ = anycastId;
|
||||
setParameter("AnycastId", anycastId);
|
||||
}
|
||||
|
||||
std::string DescribeAnycastEipAddressRequest::getBindInstanceId()const
|
||||
{
|
||||
return bindInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeAnycastEipAddressRequest::setBindInstanceId(const std::string& bindInstanceId)
|
||||
{
|
||||
bindInstanceId_ = bindInstanceId;
|
||||
setParameter("BindInstanceId", bindInstanceId);
|
||||
}
|
||||
|
||||
154
eipanycast/src/model/DescribeAnycastEipAddressResult.cc
Normal file
154
eipanycast/src/model/DescribeAnycastEipAddressResult.cc
Normal file
@@ -0,0 +1,154 @@
|
||||
/*
|
||||
* 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/eipanycast/model/DescribeAnycastEipAddressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eipanycast;
|
||||
using namespace AlibabaCloud::Eipanycast::Model;
|
||||
|
||||
DescribeAnycastEipAddressResult::DescribeAnycastEipAddressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAnycastEipAddressResult::DescribeAnycastEipAddressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAnycastEipAddressResult::~DescribeAnycastEipAddressResult()
|
||||
{}
|
||||
|
||||
void DescribeAnycastEipAddressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAnycastEipBindInfoListNode = value["AnycastEipBindInfoList"]["AnycastEipBindInfo"];
|
||||
for (auto valueAnycastEipBindInfoListAnycastEipBindInfo : allAnycastEipBindInfoListNode)
|
||||
{
|
||||
AnycastEipBindInfo anycastEipBindInfoListObject;
|
||||
if(!valueAnycastEipBindInfoListAnycastEipBindInfo["BindInstanceId"].isNull())
|
||||
anycastEipBindInfoListObject.bindInstanceId = valueAnycastEipBindInfoListAnycastEipBindInfo["BindInstanceId"].asString();
|
||||
if(!valueAnycastEipBindInfoListAnycastEipBindInfo["BindInstanceType"].isNull())
|
||||
anycastEipBindInfoListObject.bindInstanceType = valueAnycastEipBindInfoListAnycastEipBindInfo["BindInstanceType"].asString();
|
||||
if(!valueAnycastEipBindInfoListAnycastEipBindInfo["BindTime"].isNull())
|
||||
anycastEipBindInfoListObject.bindTime = valueAnycastEipBindInfoListAnycastEipBindInfo["BindTime"].asString();
|
||||
if(!valueAnycastEipBindInfoListAnycastEipBindInfo["BindInstanceRegionId"].isNull())
|
||||
anycastEipBindInfoListObject.bindInstanceRegionId = valueAnycastEipBindInfoListAnycastEipBindInfo["BindInstanceRegionId"].asString();
|
||||
anycastEipBindInfoList_.push_back(anycastEipBindInfoListObject);
|
||||
}
|
||||
if(!value["AnycastId"].isNull())
|
||||
anycastId_ = value["AnycastId"].asString();
|
||||
if(!value["IpAddress"].isNull())
|
||||
ipAddress_ = value["IpAddress"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
description_ = value["Description"].asString();
|
||||
if(!value["Bandwidth"].isNull())
|
||||
bandwidth_ = std::stoi(value["Bandwidth"].asString());
|
||||
if(!value["InstanceChargeType"].isNull())
|
||||
instanceChargeType_ = value["InstanceChargeType"].asString();
|
||||
if(!value["InternetChargeType"].isNull())
|
||||
internetChargeType_ = value["InternetChargeType"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = value["CreateTime"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["ServiceLocation"].isNull())
|
||||
serviceLocation_ = value["ServiceLocation"].asString();
|
||||
if(!value["AliUid"].isNull())
|
||||
aliUid_ = std::stol(value["AliUid"].asString());
|
||||
if(!value["Bid"].isNull())
|
||||
bid_ = value["Bid"].asString();
|
||||
if(!value["BusinessStatus"].isNull())
|
||||
businessStatus_ = value["BusinessStatus"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeAnycastEipAddressResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::string DescribeAnycastEipAddressResult::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
std::string DescribeAnycastEipAddressResult::getInstanceChargeType()const
|
||||
{
|
||||
return instanceChargeType_;
|
||||
}
|
||||
|
||||
std::string DescribeAnycastEipAddressResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAnycastEipAddressResult::AnycastEipBindInfo> DescribeAnycastEipAddressResult::getAnycastEipBindInfoList()const
|
||||
{
|
||||
return anycastEipBindInfoList_;
|
||||
}
|
||||
|
||||
std::string DescribeAnycastEipAddressResult::getBusinessStatus()const
|
||||
{
|
||||
return businessStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeAnycastEipAddressResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
std::string DescribeAnycastEipAddressResult::getInternetChargeType()const
|
||||
{
|
||||
return internetChargeType_;
|
||||
}
|
||||
|
||||
std::string DescribeAnycastEipAddressResult::getAnycastId()const
|
||||
{
|
||||
return anycastId_;
|
||||
}
|
||||
|
||||
std::string DescribeAnycastEipAddressResult::getServiceLocation()const
|
||||
{
|
||||
return serviceLocation_;
|
||||
}
|
||||
|
||||
int DescribeAnycastEipAddressResult::getBandwidth()const
|
||||
{
|
||||
return bandwidth_;
|
||||
}
|
||||
|
||||
std::string DescribeAnycastEipAddressResult::getIpAddress()const
|
||||
{
|
||||
return ipAddress_;
|
||||
}
|
||||
|
||||
std::string DescribeAnycastEipAddressResult::getBid()const
|
||||
{
|
||||
return bid_;
|
||||
}
|
||||
|
||||
long DescribeAnycastEipAddressResult::getAliUid()const
|
||||
{
|
||||
return aliUid_;
|
||||
}
|
||||
|
||||
51
eipanycast/src/model/DescribeAnycastPopLocationsRequest.cc
Normal file
51
eipanycast/src/model/DescribeAnycastPopLocationsRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eipanycast/model/DescribeAnycastPopLocationsRequest.h>
|
||||
|
||||
using AlibabaCloud::Eipanycast::Model::DescribeAnycastPopLocationsRequest;
|
||||
|
||||
DescribeAnycastPopLocationsRequest::DescribeAnycastPopLocationsRequest() :
|
||||
RpcServiceRequest("eipanycast", "2020-03-09", "DescribeAnycastPopLocations")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAnycastPopLocationsRequest::~DescribeAnycastPopLocationsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAnycastPopLocationsRequest::getServiceLocation()const
|
||||
{
|
||||
return serviceLocation_;
|
||||
}
|
||||
|
||||
void DescribeAnycastPopLocationsRequest::setServiceLocation(const std::string& serviceLocation)
|
||||
{
|
||||
serviceLocation_ = serviceLocation;
|
||||
setParameter("ServiceLocation", serviceLocation);
|
||||
}
|
||||
|
||||
std::string DescribeAnycastPopLocationsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAnycastPopLocationsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
66
eipanycast/src/model/DescribeAnycastPopLocationsResult.cc
Normal file
66
eipanycast/src/model/DescribeAnycastPopLocationsResult.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eipanycast/model/DescribeAnycastPopLocationsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eipanycast;
|
||||
using namespace AlibabaCloud::Eipanycast::Model;
|
||||
|
||||
DescribeAnycastPopLocationsResult::DescribeAnycastPopLocationsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAnycastPopLocationsResult::DescribeAnycastPopLocationsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAnycastPopLocationsResult::~DescribeAnycastPopLocationsResult()
|
||||
{}
|
||||
|
||||
void DescribeAnycastPopLocationsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAnycastPopLocationListNode = value["AnycastPopLocationList"]["AnycastPopLocation"];
|
||||
for (auto valueAnycastPopLocationListAnycastPopLocation : allAnycastPopLocationListNode)
|
||||
{
|
||||
AnycastPopLocation anycastPopLocationListObject;
|
||||
if(!valueAnycastPopLocationListAnycastPopLocation["RegionId"].isNull())
|
||||
anycastPopLocationListObject.regionId = valueAnycastPopLocationListAnycastPopLocation["RegionId"].asString();
|
||||
if(!valueAnycastPopLocationListAnycastPopLocation["RegionName"].isNull())
|
||||
anycastPopLocationListObject.regionName = valueAnycastPopLocationListAnycastPopLocation["RegionName"].asString();
|
||||
anycastPopLocationList_.push_back(anycastPopLocationListObject);
|
||||
}
|
||||
if(!value["Count"].isNull())
|
||||
count_ = value["Count"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeAnycastPopLocationsResult::AnycastPopLocation> DescribeAnycastPopLocationsResult::getAnycastPopLocationList()const
|
||||
{
|
||||
return anycastPopLocationList_;
|
||||
}
|
||||
|
||||
std::string DescribeAnycastPopLocationsResult::getCount()const
|
||||
{
|
||||
return count_;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user