Compare commits

..

14 Commits

Author SHA1 Message Date
sdk-team
0dc704dbaa Fix ListPIpelineTemplates. 2021-07-09 08:06:15 +00:00
sdk-team
97c5e2c422 Generated 2019-01-01 for Cassandra. 2021-07-08 06:14:43 +00:00
sdk-team
34d72f2b3b Support APP auth. 2021-07-08 04:02:55 +00:00
sdk-team
ff3b6aec0a Generated 2016-11-01 for live. 2021-07-08 02:32:29 +00:00
sdk-team
cf6a43062a Supported DescribeGlobalDatabaseNetworks set pages. 2021-07-07 13:13:37 +00:00
sdk-team
6877b35beb Add ModifyResourceGroup API. 2021-07-07 08:34:24 +00:00
sdk-team
ba67c01925 Support FilterKey for RestoreInstance. 2021-07-07 08:32:22 +00:00
sdk-team
e89b92569f Supported AAA for BBB. 2021-07-07 02:32:44 +00:00
sdk-team
b5a6f66a29 Supported deleteItem for sdk. 2021-07-05 06:43:17 +00:00
sdk-team
b3c82e1e45 Fix DescribeInstance EncryptionType. 2021-07-02 07:43:22 +00:00
sdk-team
fe5bdbf24a Release RecognizeQuotaInvoice RecognizeTicketInvoice RecognizePdf. 2021-07-02 03:25:20 +00:00
sdk-team
a0c0379235 Release AnalyzeChestVessel. 2021-07-02 03:02:38 +00:00
sdk-team
f3e060235c Edit ListRetcodeApps. 2021-06-28 12:08:51 +00:00
sdk-team
ec69dc6bc1 Support GetSQLReviewOptimizeDetail,ListSQLReviewOriginSQL Order API. 2021-06-28 07:42:56 +00:00
484 changed files with 15592 additions and 12351 deletions

View File

@@ -1,3 +1,48 @@
2021-07-09 Version: 1.36.815
- Fix ListPIpelineTemplates.
2021-07-08 Version: 1.36.814
- Generated 2019-01-01 for `Cassandra`.
2021-07-08 Version: 1.36.813
- Support APP auth.
2021-07-08 Version: 1.36.812
- Generated 2016-11-01 for `live`.
2021-07-07 Version: 1.36.811
- Supported DescribeGlobalDatabaseNetworks set pages.
2021-07-07 Version: 1.36.810
- Add ModifyResourceGroup API.
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.
2021-06-28 Version: 1.36.802
- Support GetSQLReviewOptimizeDetail,ListSQLReviewOriginSQL Order API.
2021-06-25 Version: 1.36.801
- Supported new features for outbound.

View File

@@ -1 +1 @@
1.36.801
1.36.815

View File

@@ -54,6 +54,7 @@ namespace AlibabaCloud
std::vector<std::string> groupingFields;
long groupWaitTime;
long groupId;
long repeatInterval;
};
struct NotifyRule
{
@@ -66,7 +67,9 @@ namespace AlibabaCloud
std::vector<std::string> notifyChannels;
std::vector<NotifyRule::NotifyObject> notifyObjects;
};
bool isRecover;
std::vector<GroupRule> groupRules;
std::string dispatchType;
std::string state;
long ruleId;
LabelMatchExpressionGrid labelMatchExpressionGrid;

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct RetcodeApp
{
std::string retcodeAppType;
long appId;
std::string pid;
std::string appName;

View File

@@ -79,6 +79,7 @@ namespace AlibabaCloud
long noticeEndTime;
};
std::string status;
bool hostByAlertManager;
MetricParam metricParam;
int alertVersion;
long taskId;

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{
struct RetcodeApp
{
std::string retcodeAppType;
std::string type;
long appId;
std::string userId;

View File

@@ -46,6 +46,10 @@ void DescribeDispatchRuleResult::parse(const std::string &payload)
dispatchRule_.name = dispatchRuleNode["Name"].asString();
if(!dispatchRuleNode["State"].isNull())
dispatchRule_.state = dispatchRuleNode["State"].asString();
if(!dispatchRuleNode["DispatchType"].isNull())
dispatchRule_.dispatchType = dispatchRuleNode["DispatchType"].asString();
if(!dispatchRuleNode["IsRecover"].isNull())
dispatchRule_.isRecover = dispatchRuleNode["IsRecover"].asString() == "true";
auto allGroupRulesNode = dispatchRuleNode["GroupRules"]["GroupRule"];
for (auto dispatchRuleNodeGroupRulesGroupRule : allGroupRulesNode)
{
@@ -56,6 +60,8 @@ void DescribeDispatchRuleResult::parse(const std::string &payload)
groupRuleObject.groupWaitTime = std::stol(dispatchRuleNodeGroupRulesGroupRule["GroupWaitTime"].asString());
if(!dispatchRuleNodeGroupRulesGroupRule["GroupInterval"].isNull())
groupRuleObject.groupInterval = std::stol(dispatchRuleNodeGroupRulesGroupRule["GroupInterval"].asString());
if(!dispatchRuleNodeGroupRulesGroupRule["RepeatInterval"].isNull())
groupRuleObject.repeatInterval = std::stol(dispatchRuleNodeGroupRulesGroupRule["RepeatInterval"].asString());
auto allGroupingFields = value["GroupingFields"]["GroupingField"];
for (auto value : allGroupingFields)
groupRuleObject.groupingFields.push_back(value.asString());

View File

@@ -49,6 +49,8 @@ void ListRetcodeAppsResult::parse(const std::string &payload)
retcodeAppsObject.pid = valueRetcodeAppsRetcodeApp["Pid"].asString();
if(!valueRetcodeAppsRetcodeApp["AppName"].isNull())
retcodeAppsObject.appName = valueRetcodeAppsRetcodeApp["AppName"].asString();
if(!valueRetcodeAppsRetcodeApp["RetcodeAppType"].isNull())
retcodeAppsObject.retcodeAppType = valueRetcodeAppsRetcodeApp["RetcodeAppType"].asString();
retcodeApps_.push_back(retcodeAppsObject);
}

View File

@@ -82,6 +82,8 @@ void SearchAlertRulesResult::parse(const std::string &payload)
alertRuleEntityObject.title = pageBeanNodeAlertRulesAlertRuleEntity["Title"].asString();
if(!pageBeanNodeAlertRulesAlertRuleEntity["ContactGroupIds"].isNull())
alertRuleEntityObject.contactGroupIds = pageBeanNodeAlertRulesAlertRuleEntity["ContactGroupIds"].asString();
if(!pageBeanNodeAlertRulesAlertRuleEntity["HostByAlertManager"].isNull())
alertRuleEntityObject.hostByAlertManager = pageBeanNodeAlertRulesAlertRuleEntity["HostByAlertManager"].asString() == "true";
auto alarmContextNode = value["AlarmContext"];
if(!alarmContextNode["AlarmContentTemplate"].isNull())
alertRuleEntityObject.alarmContext.alarmContentTemplate = alarmContextNode["AlarmContentTemplate"].asString();

View File

@@ -66,6 +66,8 @@ void SearchRetcodeAppByPageResult::parse(const std::string &payload)
retcodeAppObject.createTime = std::stol(pageBeanNodeRetcodeAppsRetcodeApp["CreateTime"].asString());
if(!pageBeanNodeRetcodeAppsRetcodeApp["UpdateTime"].isNull())
retcodeAppObject.updateTime = std::stol(pageBeanNodeRetcodeAppsRetcodeApp["UpdateTime"].asString());
if(!pageBeanNodeRetcodeAppsRetcodeApp["RetcodeAppType"].isNull())
retcodeAppObject.retcodeAppType = pageBeanNodeRetcodeAppsRetcodeApp["RetcodeAppType"].asString();
pageBean_.retcodeApps.push_back(retcodeAppObject);
}

View File

@@ -109,6 +109,8 @@ set(cassandra_public_header_model
include/alibabacloud/cassandra/model/ModifyParameterResult.h
include/alibabacloud/cassandra/model/ModifySecurityGroupsRequest.h
include/alibabacloud/cassandra/model/ModifySecurityGroupsResult.h
include/alibabacloud/cassandra/model/MoveResourceGroupRequest.h
include/alibabacloud/cassandra/model/MoveResourceGroupResult.h
include/alibabacloud/cassandra/model/PurgeClusterRequest.h
include/alibabacloud/cassandra/model/PurgeClusterResult.h
include/alibabacloud/cassandra/model/RebootClusterRequest.h
@@ -216,6 +218,8 @@ set(cassandra_src
src/model/ModifyParameterResult.cc
src/model/ModifySecurityGroupsRequest.cc
src/model/ModifySecurityGroupsResult.cc
src/model/MoveResourceGroupRequest.cc
src/model/MoveResourceGroupResult.cc
src/model/PurgeClusterRequest.cc
src/model/PurgeClusterResult.cc
src/model/RebootClusterRequest.cc

View File

@@ -110,6 +110,8 @@
#include "model/ModifyParameterResult.h"
#include "model/ModifySecurityGroupsRequest.h"
#include "model/ModifySecurityGroupsResult.h"
#include "model/MoveResourceGroupRequest.h"
#include "model/MoveResourceGroupResult.h"
#include "model/PurgeClusterRequest.h"
#include "model/PurgeClusterResult.h"
#include "model/RebootClusterRequest.h"
@@ -267,6 +269,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifySecurityGroupsResult> ModifySecurityGroupsOutcome;
typedef std::future<ModifySecurityGroupsOutcome> ModifySecurityGroupsOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::ModifySecurityGroupsRequest&, const ModifySecurityGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySecurityGroupsAsyncHandler;
typedef Outcome<Error, Model::MoveResourceGroupResult> MoveResourceGroupOutcome;
typedef std::future<MoveResourceGroupOutcome> MoveResourceGroupOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::MoveResourceGroupRequest&, const MoveResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveResourceGroupAsyncHandler;
typedef Outcome<Error, Model::PurgeClusterResult> PurgeClusterOutcome;
typedef std::future<PurgeClusterOutcome> PurgeClusterOutcomeCallable;
typedef std::function<void(const CassandraClient*, const Model::PurgeClusterRequest&, const PurgeClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PurgeClusterAsyncHandler;
@@ -428,6 +433,9 @@ namespace AlibabaCloud
ModifySecurityGroupsOutcome modifySecurityGroups(const Model::ModifySecurityGroupsRequest &request)const;
void modifySecurityGroupsAsync(const Model::ModifySecurityGroupsRequest& request, const ModifySecurityGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySecurityGroupsOutcomeCallable modifySecurityGroupsCallable(const Model::ModifySecurityGroupsRequest& request) const;
MoveResourceGroupOutcome moveResourceGroup(const Model::MoveResourceGroupRequest &request)const;
void moveResourceGroupAsync(const Model::MoveResourceGroupRequest& request, const MoveResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MoveResourceGroupOutcomeCallable moveResourceGroupCallable(const Model::MoveResourceGroupRequest& request) const;
PurgeClusterOutcome purgeCluster(const Model::PurgeClusterRequest &request)const;
void purgeClusterAsync(const Model::PurgeClusterRequest& request, const PurgeClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PurgeClusterOutcomeCallable purgeClusterCallable(const Model::PurgeClusterRequest& request) const;

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
AllocatePublicContactPointsRequest();
~AllocatePublicContactPointsRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getDataCenterId()const;
void setDataCenterId(const std::string& dataCenterId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
std::string clientToken_;
std::string dataCenterId_;
std::string clusterId_;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
CreateBackupPlanRequest();
~CreateBackupPlanRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
int getRetentionPeriod()const;
void setRetentionPeriod(int retentionPeriod);
std::string getDataCenterId()const;
@@ -49,6 +51,7 @@ namespace AlibabaCloud
void setBackupPeriod(const std::string& backupPeriod);
private:
std::string clientToken_;
int retentionPeriod_;
std::string dataCenterId_;
bool active_;

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setClientToken(const std::string& clientToken);
std::string getClusterName()const;
void setClusterName(const std::string& clusterName);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getPassword()const;
void setPassword(const std::string& password);
std::string getRegionId()const;
@@ -75,6 +77,7 @@ namespace AlibabaCloud
private:
std::string clientToken_;
std::string clusterName_;
std::string resourceGroupId_;
std::string password_;
std::string regionId_;
std::string instanceType_;

View File

@@ -43,6 +43,7 @@ namespace AlibabaCloud
std::string majorVersion;
int autoRenewPeriod;
std::string createdTime;
std::string resourceGroupId;
std::string clusterId;
std::string minorVersion;
std::string payType;

View File

@@ -45,6 +45,8 @@ namespace AlibabaCloud
void setClusterName(const std::string& clusterName);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
@@ -55,6 +57,7 @@ namespace AlibabaCloud
private:
std::string clusterName_;
int pageNumber_;
std::string resourceGroupId_;
std::string regionId_;
int pageSize_;
std::vector<Tag> tag_;

View File

@@ -43,6 +43,7 @@ namespace AlibabaCloud
std::string majorVersion;
int autoRenewPeriod;
std::string createdTime;
std::string resourceGroupId;
std::string clusterId;
std::string minorVersion;
std::string payType;

View File

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

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CASSANDRA_MODEL_MOVERESOURCEGROUPRESULT_H_
#define ALIBABACLOUD_CASSANDRA_MODEL_MOVERESOURCEGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cassandra/CassandraExport.h>
namespace AlibabaCloud
{
namespace Cassandra
{
namespace Model
{
class ALIBABACLOUD_CASSANDRA_EXPORT MoveResourceGroupResult : public ServiceResult
{
public:
MoveResourceGroupResult();
explicit MoveResourceGroupResult(const std::string &payload);
~MoveResourceGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_CASSANDRA_MODEL_MOVERESOURCEGROUPRESULT_H_

View File

@@ -1635,6 +1635,42 @@ CassandraClient::ModifySecurityGroupsOutcomeCallable CassandraClient::modifySecu
return task->get_future();
}
CassandraClient::MoveResourceGroupOutcome CassandraClient::moveResourceGroup(const MoveResourceGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return MoveResourceGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return MoveResourceGroupOutcome(MoveResourceGroupResult(outcome.result()));
else
return MoveResourceGroupOutcome(outcome.error());
}
void CassandraClient::moveResourceGroupAsync(const MoveResourceGroupRequest& request, const MoveResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, moveResourceGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
CassandraClient::MoveResourceGroupOutcomeCallable CassandraClient::moveResourceGroupCallable(const MoveResourceGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<MoveResourceGroupOutcome()>>(
[this, request]()
{
return this->moveResourceGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CassandraClient::PurgeClusterOutcome CassandraClient::purgeCluster(const PurgeClusterRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -27,6 +27,17 @@ AllocatePublicContactPointsRequest::AllocatePublicContactPointsRequest() :
AllocatePublicContactPointsRequest::~AllocatePublicContactPointsRequest()
{}
std::string AllocatePublicContactPointsRequest::getClientToken()const
{
return clientToken_;
}
void AllocatePublicContactPointsRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
std::string AllocatePublicContactPointsRequest::getDataCenterId()const
{
return dataCenterId_;

View File

@@ -27,6 +27,17 @@ CreateBackupPlanRequest::CreateBackupPlanRequest() :
CreateBackupPlanRequest::~CreateBackupPlanRequest()
{}
std::string CreateBackupPlanRequest::getClientToken()const
{
return clientToken_;
}
void CreateBackupPlanRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
int CreateBackupPlanRequest::getRetentionPeriod()const
{
return retentionPeriod_;

View File

@@ -49,6 +49,17 @@ void CreateClusterRequest::setClusterName(const std::string& clusterName)
setParameter("ClusterName", clusterName);
}
std::string CreateClusterRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateClusterRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateClusterRequest::getPassword()const
{
return password_;

View File

@@ -70,6 +70,8 @@ void DescribeClusterResult::parse(const std::string &payload)
cluster_.autoRenewal = clusterNode["AutoRenewal"].asString() == "true";
if(!clusterNode["AutoRenewPeriod"].isNull())
cluster_.autoRenewPeriod = std::stoi(clusterNode["AutoRenewPeriod"].asString());
if(!clusterNode["ResourceGroupId"].isNull())
cluster_.resourceGroupId = clusterNode["ResourceGroupId"].asString();
auto allTagsNode = clusterNode["Tags"]["Tag"];
for (auto clusterNodeTagsTag : allTagsNode)
{

View File

@@ -49,6 +49,17 @@ void DescribeClustersRequest::setPageNumber(int pageNumber)
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeClustersRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DescribeClustersRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DescribeClustersRequest::getRegionId()const
{
return regionId_;

View File

@@ -67,6 +67,8 @@ void DescribeClustersResult::parse(const std::string &payload)
clustersObject.autoRenewal = valueClustersCluster["AutoRenewal"].asString() == "true";
if(!valueClustersCluster["AutoRenewPeriod"].isNull())
clustersObject.autoRenewPeriod = std::stoi(valueClustersCluster["AutoRenewPeriod"].asString());
if(!valueClustersCluster["ResourceGroupId"].isNull())
clustersObject.resourceGroupId = valueClustersCluster["ResourceGroupId"].asString();
auto allTagsNode = valueClustersCluster["Tags"]["Tag"];
for (auto valueClustersClusterTagsTag : allTagsNode)
{

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cassandra/model/MoveResourceGroupRequest.h>
using AlibabaCloud::Cassandra::Model::MoveResourceGroupRequest;
MoveResourceGroupRequest::MoveResourceGroupRequest() :
RpcServiceRequest("cassandra", "2019-01-01", "MoveResourceGroup")
{
setMethod(HttpRequest::Method::Post);
}
MoveResourceGroupRequest::~MoveResourceGroupRequest()
{}
std::string MoveResourceGroupRequest::getClusterId()const
{
return clusterId_;
}
void MoveResourceGroupRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string MoveResourceGroupRequest::getNewResourceGroupId()const
{
return newResourceGroupId_;
}
void MoveResourceGroupRequest::setNewResourceGroupId(const std::string& newResourceGroupId)
{
newResourceGroupId_ = newResourceGroupId;
setParameter("NewResourceGroupId", newResourceGroupId);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cassandra/model/MoveResourceGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cassandra;
using namespace AlibabaCloud::Cassandra::Model;
MoveResourceGroupResult::MoveResourceGroupResult() :
ServiceResult()
{}
MoveResourceGroupResult::MoveResourceGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
MoveResourceGroupResult::~MoveResourceGroupResult()
{}
void MoveResourceGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -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}

View File

@@ -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_;

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{
std::string eslBarCode;
std::string type;
int eslSignal;
int batteryLevel;
std::string storeId;
std::string model;

View File

@@ -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;

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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;

View File

@@ -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_

View File

@@ -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();
}

View File

@@ -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);
}

View File

@@ -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_;
}

View File

@@ -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);
}

View File

@@ -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_;
}

View File

@@ -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);
}

View File

@@ -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_;
}

View File

@@ -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);
}
}

View File

@@ -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_;
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cloudesl/model/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");
}

View File

@@ -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_;
}

View File

@@ -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);
}

View File

@@ -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_;
}

View File

@@ -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);
}

View File

@@ -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_;
}

View File

@@ -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);
}

View File

@@ -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_;
}

View File

@@ -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())

View File

@@ -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())

View File

@@ -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);
}

View File

@@ -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_;
}

View File

@@ -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);
}

View File

@@ -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_;
}

View File

@@ -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);
}

View File

@@ -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_;
}

View File

@@ -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));
}

View File

@@ -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_;
}

View File

@@ -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);
}

View File

@@ -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_;
}

View File

@@ -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);
}

View File

@@ -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_;
}

View File

@@ -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())

View File

@@ -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);
}

View File

@@ -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_;
}

View File

@@ -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);
}

View File

@@ -167,8 +167,12 @@ set(dds_public_header_model
include/alibabacloud/dds/model/ModifyInstanceVpcAuthModeResult.h
include/alibabacloud/dds/model/ModifyNodeSpecRequest.h
include/alibabacloud/dds/model/ModifyNodeSpecResult.h
include/alibabacloud/dds/model/ModifyNodeSpecBatchRequest.h
include/alibabacloud/dds/model/ModifyNodeSpecBatchResult.h
include/alibabacloud/dds/model/ModifyParametersRequest.h
include/alibabacloud/dds/model/ModifyParametersResult.h
include/alibabacloud/dds/model/ModifyResourceGroupRequest.h
include/alibabacloud/dds/model/ModifyResourceGroupResult.h
include/alibabacloud/dds/model/ModifySecurityGroupConfigurationRequest.h
include/alibabacloud/dds/model/ModifySecurityGroupConfigurationResult.h
include/alibabacloud/dds/model/ModifySecurityIpsRequest.h
@@ -346,8 +350,12 @@ set(dds_src
src/model/ModifyInstanceVpcAuthModeResult.cc
src/model/ModifyNodeSpecRequest.cc
src/model/ModifyNodeSpecResult.cc
src/model/ModifyNodeSpecBatchRequest.cc
src/model/ModifyNodeSpecBatchResult.cc
src/model/ModifyParametersRequest.cc
src/model/ModifyParametersResult.cc
src/model/ModifyResourceGroupRequest.cc
src/model/ModifyResourceGroupResult.cc
src/model/ModifySecurityGroupConfigurationRequest.cc
src/model/ModifySecurityGroupConfigurationResult.cc
src/model/ModifySecurityIpsRequest.cc

View File

@@ -168,8 +168,12 @@
#include "model/ModifyInstanceVpcAuthModeResult.h"
#include "model/ModifyNodeSpecRequest.h"
#include "model/ModifyNodeSpecResult.h"
#include "model/ModifyNodeSpecBatchRequest.h"
#include "model/ModifyNodeSpecBatchResult.h"
#include "model/ModifyParametersRequest.h"
#include "model/ModifyParametersResult.h"
#include "model/ModifyResourceGroupRequest.h"
#include "model/ModifyResourceGroupResult.h"
#include "model/ModifySecurityGroupConfigurationRequest.h"
#include "model/ModifySecurityGroupConfigurationResult.h"
#include "model/ModifySecurityIpsRequest.h"
@@ -426,9 +430,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyNodeSpecResult> ModifyNodeSpecOutcome;
typedef std::future<ModifyNodeSpecOutcome> ModifyNodeSpecOutcomeCallable;
typedef std::function<void(const DdsClient*, const Model::ModifyNodeSpecRequest&, const ModifyNodeSpecOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyNodeSpecAsyncHandler;
typedef Outcome<Error, Model::ModifyNodeSpecBatchResult> ModifyNodeSpecBatchOutcome;
typedef std::future<ModifyNodeSpecBatchOutcome> ModifyNodeSpecBatchOutcomeCallable;
typedef std::function<void(const DdsClient*, const Model::ModifyNodeSpecBatchRequest&, const ModifyNodeSpecBatchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyNodeSpecBatchAsyncHandler;
typedef Outcome<Error, Model::ModifyParametersResult> ModifyParametersOutcome;
typedef std::future<ModifyParametersOutcome> ModifyParametersOutcomeCallable;
typedef std::function<void(const DdsClient*, const Model::ModifyParametersRequest&, const ModifyParametersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyParametersAsyncHandler;
typedef Outcome<Error, Model::ModifyResourceGroupResult> ModifyResourceGroupOutcome;
typedef std::future<ModifyResourceGroupOutcome> ModifyResourceGroupOutcomeCallable;
typedef std::function<void(const DdsClient*, const Model::ModifyResourceGroupRequest&, const ModifyResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyResourceGroupAsyncHandler;
typedef Outcome<Error, Model::ModifySecurityGroupConfigurationResult> ModifySecurityGroupConfigurationOutcome;
typedef std::future<ModifySecurityGroupConfigurationOutcome> ModifySecurityGroupConfigurationOutcomeCallable;
typedef std::function<void(const DdsClient*, const Model::ModifySecurityGroupConfigurationRequest&, const ModifySecurityGroupConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySecurityGroupConfigurationAsyncHandler;
@@ -695,9 +705,15 @@ namespace AlibabaCloud
ModifyNodeSpecOutcome modifyNodeSpec(const Model::ModifyNodeSpecRequest &request)const;
void modifyNodeSpecAsync(const Model::ModifyNodeSpecRequest& request, const ModifyNodeSpecAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyNodeSpecOutcomeCallable modifyNodeSpecCallable(const Model::ModifyNodeSpecRequest& request) const;
ModifyNodeSpecBatchOutcome modifyNodeSpecBatch(const Model::ModifyNodeSpecBatchRequest &request)const;
void modifyNodeSpecBatchAsync(const Model::ModifyNodeSpecBatchRequest& request, const ModifyNodeSpecBatchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyNodeSpecBatchOutcomeCallable modifyNodeSpecBatchCallable(const Model::ModifyNodeSpecBatchRequest& request) const;
ModifyParametersOutcome modifyParameters(const Model::ModifyParametersRequest &request)const;
void modifyParametersAsync(const Model::ModifyParametersRequest& request, const ModifyParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyParametersOutcomeCallable modifyParametersCallable(const Model::ModifyParametersRequest& request) const;
ModifyResourceGroupOutcome modifyResourceGroup(const Model::ModifyResourceGroupRequest &request)const;
void modifyResourceGroupAsync(const Model::ModifyResourceGroupRequest& request, const ModifyResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyResourceGroupOutcomeCallable modifyResourceGroupCallable(const Model::ModifyResourceGroupRequest& request) const;
ModifySecurityGroupConfigurationOutcome modifySecurityGroupConfiguration(const Model::ModifySecurityGroupConfigurationRequest &request)const;
void modifySecurityGroupConfigurationAsync(const Model::ModifySecurityGroupConfigurationRequest& request, const ModifySecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySecurityGroupConfigurationOutcomeCallable modifySecurityGroupConfigurationCallable(const Model::ModifySecurityGroupConfigurationRequest& request) const;

View File

@@ -43,6 +43,8 @@ namespace AlibabaCloud
void setClientToken(const std::string& clientToken);
int getReadonlyReplicas()const;
void setReadonlyReplicas(int readonlyReplicas);
std::string getCouponNo()const;
void setCouponNo(const std::string& couponNo);
std::string getNodeClass()const;
void setNodeClass(const std::string& nodeClass);
std::string getAccessKeyId()const;
@@ -51,6 +53,8 @@ namespace AlibabaCloud
void setSecurityToken(const std::string& securityToken);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getBusinessInfo()const;
void setBusinessInfo(const std::string& businessInfo);
bool getAutoPay()const;
void setAutoPay(bool autoPay);
std::string getFromApp()const;
@@ -69,10 +73,12 @@ namespace AlibabaCloud
std::string nodeType_;
std::string clientToken_;
int readonlyReplicas_;
std::string couponNo_;
std::string nodeClass_;
std::string accessKeyId_;
std::string securityToken_;
std::string dBInstanceId_;
std::string businessInfo_;
bool autoPay_;
std::string fromApp_;
std::string resourceOwnerAccount_;

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDS_MODEL_MODIFYNODESPECBATCHREQUEST_H_
#define ALIBABACLOUD_DDS_MODEL_MODIFYNODESPECBATCHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dds/DdsExport.h>
namespace AlibabaCloud
{
namespace Dds
{
namespace Model
{
class ALIBABACLOUD_DDS_EXPORT ModifyNodeSpecBatchRequest : public RpcServiceRequest
{
public:
ModifyNodeSpecBatchRequest();
~ModifyNodeSpecBatchRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getNodesInfo()const;
void setNodesInfo(const std::string& nodesInfo);
std::string getCouponNo()const;
void setCouponNo(const std::string& couponNo);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getEffectiveTime()const;
void setEffectiveTime(const std::string& effectiveTime);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getBusinessInfo()const;
void setBusinessInfo(const std::string& businessInfo);
bool getAutoPay()const;
void setAutoPay(bool autoPay);
std::string getFromApp()const;
void setFromApp(const std::string& fromApp);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getOrderType()const;
void setOrderType(const std::string& orderType);
private:
long resourceOwnerId_;
std::string clientToken_;
std::string nodesInfo_;
std::string couponNo_;
std::string accessKeyId_;
std::string securityToken_;
std::string regionId_;
std::string effectiveTime_;
std::string dBInstanceId_;
std::string businessInfo_;
bool autoPay_;
std::string fromApp_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string orderType_;
};
}
}
}
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYNODESPECBATCHREQUEST_H_

View File

@@ -14,50 +14,38 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSRESULT_H_
#ifndef ALIBABACLOUD_DDS_MODEL_MODIFYNODESPECBATCHRESULT_H_
#define ALIBABACLOUD_DDS_MODEL_MODIFYNODESPECBATCHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
#include <alibabacloud/dds/DdsExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
namespace Dds
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT AddRoleActionsResult : public ServiceResult
class ALIBABACLOUD_DDS_EXPORT ModifyNodeSpecBatchResult : 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;
ModifyNodeSpecBatchResult();
explicit ModifyNodeSpecBatchResult(const std::string &payload);
~ModifyNodeSpecBatchResult();
std::string getOrderId()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_;
std::string orderId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSRESULT_H_
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYNODESPECBATCHRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* 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_DDS_MODEL_MODIFYRESOURCEGROUPREQUEST_H_
#define ALIBABACLOUD_DDS_MODEL_MODIFYRESOURCEGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dds/DdsExport.h>
namespace AlibabaCloud
{
namespace Dds
{
namespace Model
{
class ALIBABACLOUD_DDS_EXPORT ModifyResourceGroupRequest : public RpcServiceRequest
{
public:
ModifyResourceGroupRequest();
~ModifyResourceGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string securityToken_;
std::string regionId_;
std::string dBInstanceId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYRESOURCEGROUPREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDS_MODEL_MODIFYRESOURCEGROUPRESULT_H_
#define ALIBABACLOUD_DDS_MODEL_MODIFYRESOURCEGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dds/DdsExport.h>
namespace AlibabaCloud
{
namespace Dds
{
namespace Model
{
class ALIBABACLOUD_DDS_EXPORT ModifyResourceGroupResult : public ServiceResult
{
public:
ModifyResourceGroupResult();
explicit ModifyResourceGroupResult(const std::string &payload);
~ModifyResourceGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYRESOURCEGROUPRESULT_H_

Some files were not shown because too many files have changed in this diff Show More