Generated 2020-02-01 for cloudesl.

This commit is contained in:
sdk-team
2021-10-15 06:41:20 +00:00
parent 1862b4677d
commit bdb663548a
19 changed files with 644 additions and 1 deletions

View File

@@ -34,6 +34,8 @@
#include "model/BatchInsertItemsResult.h"
#include "model/BindEslDeviceRequest.h"
#include "model/BindEslDeviceResult.h"
#include "model/ConfirmServerLocationRequest.h"
#include "model/ConfirmServerLocationResult.h"
#include "model/CreateStoreRequest.h"
#include "model/CreateStoreResult.h"
#include "model/DeleteApDeviceRequest.h"
@@ -50,6 +52,8 @@
#include "model/DescribeBindersResult.h"
#include "model/DescribeClientPackageRequest.h"
#include "model/DescribeClientPackageResult.h"
#include "model/DescribeEslDeviceRequest.h"
#include "model/DescribeEslDeviceResult.h"
#include "model/DescribeEslDevicesRequest.h"
#include "model/DescribeEslDevicesResult.h"
#include "model/DescribeItemsRequest.h"
@@ -101,6 +105,9 @@ namespace AlibabaCloud
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::ConfirmServerLocationResult> ConfirmServerLocationOutcome;
typedef std::future<ConfirmServerLocationOutcome> ConfirmServerLocationOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::ConfirmServerLocationRequest&, const ConfirmServerLocationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfirmServerLocationAsyncHandler;
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;
@@ -125,6 +132,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeClientPackageResult> DescribeClientPackageOutcome;
typedef std::future<DescribeClientPackageOutcome> DescribeClientPackageOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeClientPackageRequest&, const DescribeClientPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClientPackageAsyncHandler;
typedef Outcome<Error, Model::DescribeEslDeviceResult> DescribeEslDeviceOutcome;
typedef std::future<DescribeEslDeviceOutcome> DescribeEslDeviceOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeEslDeviceRequest&, const DescribeEslDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEslDeviceAsyncHandler;
typedef Outcome<Error, Model::DescribeEslDevicesResult> DescribeEslDevicesOutcome;
typedef std::future<DescribeEslDevicesOutcome> DescribeEslDevicesOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeEslDevicesRequest&, const DescribeEslDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEslDevicesAsyncHandler;
@@ -184,6 +194,9 @@ namespace AlibabaCloud
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;
ConfirmServerLocationOutcome confirmServerLocation(const Model::ConfirmServerLocationRequest &request)const;
void confirmServerLocationAsync(const Model::ConfirmServerLocationRequest& request, const ConfirmServerLocationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfirmServerLocationOutcomeCallable confirmServerLocationCallable(const Model::ConfirmServerLocationRequest& 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;
@@ -208,6 +221,9 @@ namespace AlibabaCloud
DescribeClientPackageOutcome describeClientPackage(const Model::DescribeClientPackageRequest &request)const;
void describeClientPackageAsync(const Model::DescribeClientPackageRequest& request, const DescribeClientPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClientPackageOutcomeCallable describeClientPackageCallable(const Model::DescribeClientPackageRequest& request) const;
DescribeEslDeviceOutcome describeEslDevice(const Model::DescribeEslDeviceRequest &request)const;
void describeEslDeviceAsync(const Model::DescribeEslDeviceRequest& request, const DescribeEslDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEslDeviceOutcomeCallable describeEslDeviceCallable(const Model::DescribeEslDeviceRequest& request) const;
DescribeEslDevicesOutcome describeEslDevices(const Model::DescribeEslDevicesRequest &request)const;
void describeEslDevicesAsync(const Model::DescribeEslDevicesRequest& request, const DescribeEslDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEslDevicesOutcomeCallable describeEslDevicesCallable(const Model::DescribeEslDevicesRequest& request) const;

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_CONFIRMSERVERLOCATIONRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_CONFIRMSERVERLOCATIONRESULT_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 ConfirmServerLocationResult : public ServiceResult
{
public:
ConfirmServerLocationResult();
explicit ConfirmServerLocationResult(const std::string &payload);
~ConfirmServerLocationResult();
std::string getMessage()const;
std::string getErrorCode()const;
std::string getErrorMessage()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string errorCode_;
std::string errorMessage_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_CONFIRMSERVERLOCATIONRESULT_H_

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setExtraParams(const std::string& extraParams);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTimeZone()const;
void setTimeZone(const std::string& timeZone);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getParentId()const;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
private:
std::string extraParams_;
std::string clientToken_;
std::string timeZone_;
std::string storeName_;
std::string parentId_;
std::string userStoreCode_;

View File

@@ -0,0 +1,60 @@
/*
* 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_DESCRIBEESLDEVICEREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICEREQUEST_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 DescribeEslDeviceRequest : public RpcServiceRequest
{
public:
DescribeEslDeviceRequest();
~DescribeEslDeviceRequest();
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
long getPageNumber()const;
void setPageNumber(long pageNumber);
std::string getFromDate()const;
void setFromDate(const std::string& fromDate);
std::string getToDate()const;
void setToDate(const std::string& toDate);
long getPageSize()const;
void setPageSize(long pageSize);
private:
std::string storeId_;
long pageNumber_;
std::string fromDate_;
std::string toDate_;
long pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICEREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICERESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICERESULT_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 DescribeEslDeviceResult : public ServiceResult
{
public:
struct EslDetailsItem
{
std::string status;
std::string eslBarCode;
std::string itemShortTitle;
std::string storeId;
std::string lastUpdateTime;
long itemBarCode;
long itemId;
};
DescribeEslDeviceResult();
explicit DescribeEslDeviceResult(const std::string &payload);
~DescribeEslDeviceResult();
long getTotalCount()const;
long getPageSize()const;
long getPageNumber()const;
std::vector<EslDetailsItem> getEslDetails()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
long pageSize_;
long pageNumber_;
std::vector<EslDetailsItem> eslDetails_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICERESULT_H_

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
std::string parentId;
std::string gmtCreate;
std::string userStoreCode;
std::string timeZone;
std::string storeName;
std::string storeId;
std::string phone;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getTimezone()const;
void setTimezone(const std::string& timezone);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getStoreId()const;
@@ -50,6 +52,7 @@ namespace AlibabaCloud
private:
std::string extraParams_;
std::string timezone_;
std::string storeName_;
std::string storeId_;
std::string templateVersion_;