Compare commits

..

6 Commits

Author SHA1 Message Date
sdk-team
636e24a33f Add trace api. 2020-04-03 19:52:25 +08:00
sdk-team
cc1b078ff1 Support shelf type for planogram position. 2020-04-03 18:17:04 +08:00
sdk-team
30fd9f48a0 Support namespaces. 2020-04-03 10:54:39 +08:00
sdk-team
c911315170 Add API ContrastFaceVerify. 2020-04-02 17:57:12 +08:00
sdk-team
26e49b09e1 Support for WaitTimeSeconds for DescribeExecution. 2020-04-02 02:54:57 +08:00
sdk-team
677473908b DescribeVerifyToken API Add Parameters-UserIp and UserPhoneNumber and UserRegistTime. 2020-04-01 20:18:17 +08:00
181 changed files with 15071 additions and 31 deletions

View File

@@ -1,3 +1,22 @@
2020-04-03 Version: 1.36.340
- Add trace api.
- Add prometheus api.
2020-04-03 Version: 1.36.339
- Support shelf type for planogram position.
2020-04-03 Version: 1.36.338
- Support namespaces.
2020-04-02 Version: 1.36.337
- Add API ContrastFaceVerify.
2020-04-02 Version: 1.36.336
- Support for WaitTimeSeconds for DescribeExecution.
2020-04-01 Version: 1.36.335
- DescribeVerifyToken API Add Parameters-UserIp and UserPhoneNumber and UserRegistTime.
2020-04-01 Version: 1.36.334
- Parameters is string in StartExecution Response.

View File

@@ -1 +1 @@
1.36.334
1.36.340

View File

@@ -35,6 +35,8 @@ set(acm_public_header_model
include/alibabacloud/acm/model/DescribeConfigurationResult.h
include/alibabacloud/acm/model/DescribeNamespaceRequest.h
include/alibabacloud/acm/model/DescribeNamespaceResult.h
include/alibabacloud/acm/model/DescribeNamespacesRequest.h
include/alibabacloud/acm/model/DescribeNamespacesResult.h
include/alibabacloud/acm/model/UpdateNamespaceRequest.h
include/alibabacloud/acm/model/UpdateNamespaceResult.h )
@@ -54,6 +56,8 @@ set(acm_src
src/model/DescribeConfigurationResult.cc
src/model/DescribeNamespaceRequest.cc
src/model/DescribeNamespaceResult.cc
src/model/DescribeNamespacesRequest.cc
src/model/DescribeNamespacesResult.cc
src/model/UpdateNamespaceRequest.cc
src/model/UpdateNamespaceResult.cc )

View File

@@ -36,6 +36,8 @@
#include "model/DescribeConfigurationResult.h"
#include "model/DescribeNamespaceRequest.h"
#include "model/DescribeNamespaceResult.h"
#include "model/DescribeNamespacesRequest.h"
#include "model/DescribeNamespacesResult.h"
#include "model/UpdateNamespaceRequest.h"
#include "model/UpdateNamespaceResult.h"
@@ -68,6 +70,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeNamespaceResult> DescribeNamespaceOutcome;
typedef std::future<DescribeNamespaceOutcome> DescribeNamespaceOutcomeCallable;
typedef std::function<void(const AcmClient*, const Model::DescribeNamespaceRequest&, const DescribeNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNamespaceAsyncHandler;
typedef Outcome<Error, Model::DescribeNamespacesResult> DescribeNamespacesOutcome;
typedef std::future<DescribeNamespacesOutcome> DescribeNamespacesOutcomeCallable;
typedef std::function<void(const AcmClient*, const Model::DescribeNamespacesRequest&, const DescribeNamespacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNamespacesAsyncHandler;
typedef Outcome<Error, Model::UpdateNamespaceResult> UpdateNamespaceOutcome;
typedef std::future<UpdateNamespaceOutcome> UpdateNamespaceOutcomeCallable;
typedef std::function<void(const AcmClient*, const Model::UpdateNamespaceRequest&, const UpdateNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateNamespaceAsyncHandler;
@@ -97,6 +102,9 @@ namespace AlibabaCloud
DescribeNamespaceOutcome describeNamespace(const Model::DescribeNamespaceRequest &request)const;
void describeNamespaceAsync(const Model::DescribeNamespaceRequest& request, const DescribeNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeNamespaceOutcomeCallable describeNamespaceCallable(const Model::DescribeNamespaceRequest& request) const;
DescribeNamespacesOutcome describeNamespaces(const Model::DescribeNamespacesRequest &request)const;
void describeNamespacesAsync(const Model::DescribeNamespacesRequest& request, const DescribeNamespacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeNamespacesOutcomeCallable describeNamespacesCallable(const Model::DescribeNamespacesRequest& request) const;
UpdateNamespaceOutcome updateNamespace(const Model::UpdateNamespaceRequest &request)const;
void updateNamespaceAsync(const Model::UpdateNamespaceRequest& request, const UpdateNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateNamespaceOutcomeCallable updateNamespaceCallable(const Model::UpdateNamespaceRequest& 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_ACM_MODEL_DESCRIBENAMESPACESREQUEST_H_
#define ALIBABACLOUD_ACM_MODEL_DESCRIBENAMESPACESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/acm/AcmExport.h>
namespace AlibabaCloud
{
namespace Acm
{
namespace Model
{
class ALIBABACLOUD_ACM_EXPORT DescribeNamespacesRequest : public RoaServiceRequest
{
public:
DescribeNamespacesRequest();
~DescribeNamespacesRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_ACM_MODEL_DESCRIBENAMESPACESREQUEST_H_

View File

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

View File

@@ -303,6 +303,42 @@ AcmClient::DescribeNamespaceOutcomeCallable AcmClient::describeNamespaceCallable
return task->get_future();
}
AcmClient::DescribeNamespacesOutcome AcmClient::describeNamespaces(const DescribeNamespacesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeNamespacesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeNamespacesOutcome(DescribeNamespacesResult(outcome.result()));
else
return DescribeNamespacesOutcome(outcome.error());
}
void AcmClient::describeNamespacesAsync(const DescribeNamespacesRequest& request, const DescribeNamespacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeNamespaces(request), context);
};
asyncExecute(new Runnable(fn));
}
AcmClient::DescribeNamespacesOutcomeCallable AcmClient::describeNamespacesCallable(const DescribeNamespacesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeNamespacesOutcome()>>(
[this, request]()
{
return this->describeNamespaces(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AcmClient::UpdateNamespaceOutcome AcmClient::updateNamespace(const UpdateNamespaceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,30 @@
/*
* 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/acm/model/DescribeNamespacesRequest.h>
using AlibabaCloud::Acm::Model::DescribeNamespacesRequest;
DescribeNamespacesRequest::DescribeNamespacesRequest() :
RoaServiceRequest("acm", "2020-02-06")
{
setResourcePath("/diamond-ops/pop/namespace/list");
setMethod(HttpRequest::Method::Get);
}
DescribeNamespacesRequest::~DescribeNamespacesRequest()
{}

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/acm/model/DescribeNamespacesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Acm;
using namespace AlibabaCloud::Acm::Model;
DescribeNamespacesResult::DescribeNamespacesResult() :
ServiceResult()
{}
DescribeNamespacesResult::DescribeNamespacesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeNamespacesResult::~DescribeNamespacesResult()
{}
void DescribeNamespacesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allNamespacesNode = value["Namespaces"]["Namespace"];
for (auto valueNamespacesNamespace : allNamespacesNode)
{
_Namespace namespacesObject;
if(!valueNamespacesNamespace["ConfigCount"].isNull())
namespacesObject.configCount = std::stoi(valueNamespacesNamespace["ConfigCount"].asString());
if(!valueNamespacesNamespace["NamespaceId"].isNull())
namespacesObject.namespaceId = valueNamespacesNamespace["NamespaceId"].asString();
if(!valueNamespacesNamespace["NamespaceName"].isNull())
namespacesObject.namespaceName = valueNamespacesNamespace["NamespaceName"].asString();
if(!valueNamespacesNamespace["Quota"].isNull())
namespacesObject.quota = std::stoi(valueNamespacesNamespace["Quota"].asString());
if(!valueNamespacesNamespace["Type"].isNull())
namespacesObject.type = std::stoi(valueNamespacesNamespace["Type"].asString());
namespaces_.push_back(namespacesObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::vector<DescribeNamespacesResult::_Namespace> DescribeNamespacesResult::getNamespaces()const
{
return namespaces_;
}
std::string DescribeNamespacesResult::getMessage()const
{
return message_;
}
std::string DescribeNamespacesResult::getCode()const
{
return code_;
}

View File

@@ -35,12 +35,18 @@ set(arms_public_header_model
include/alibabacloud/arms/model/DeleteAlertRulesResult.h
include/alibabacloud/arms/model/DeleteRetcodeAppRequest.h
include/alibabacloud/arms/model/DeleteRetcodeAppResult.h
include/alibabacloud/arms/model/GetPrometheusApiTokenRequest.h
include/alibabacloud/arms/model/GetPrometheusApiTokenResult.h
include/alibabacloud/arms/model/GetRetcodeShareUrlRequest.h
include/alibabacloud/arms/model/GetRetcodeShareUrlResult.h
include/alibabacloud/arms/model/GetTraceRequest.h
include/alibabacloud/arms/model/GetTraceResult.h
include/alibabacloud/arms/model/ImportAppAlertRulesRequest.h
include/alibabacloud/arms/model/ImportAppAlertRulesResult.h
include/alibabacloud/arms/model/ImportCustomAlertRulesRequest.h
include/alibabacloud/arms/model/ImportCustomAlertRulesResult.h
include/alibabacloud/arms/model/ListClusterFromGrafanaRequest.h
include/alibabacloud/arms/model/ListClusterFromGrafanaResult.h
include/alibabacloud/arms/model/ListPromClustersRequest.h
include/alibabacloud/arms/model/ListPromClustersResult.h
include/alibabacloud/arms/model/ListRetcodeAppsRequest.h
@@ -67,6 +73,8 @@ set(arms_public_header_model
include/alibabacloud/arms/model/SearchTraceAppByNameResult.h
include/alibabacloud/arms/model/SearchTraceAppByPageRequest.h
include/alibabacloud/arms/model/SearchTraceAppByPageResult.h
include/alibabacloud/arms/model/SearchTracesRequest.h
include/alibabacloud/arms/model/SearchTracesResult.h
include/alibabacloud/arms/model/SetRetcodeShareStatusRequest.h
include/alibabacloud/arms/model/SetRetcodeShareStatusResult.h
include/alibabacloud/arms/model/StartAlertRequest.h
@@ -96,12 +104,18 @@ set(arms_src
src/model/DeleteAlertRulesResult.cc
src/model/DeleteRetcodeAppRequest.cc
src/model/DeleteRetcodeAppResult.cc
src/model/GetPrometheusApiTokenRequest.cc
src/model/GetPrometheusApiTokenResult.cc
src/model/GetRetcodeShareUrlRequest.cc
src/model/GetRetcodeShareUrlResult.cc
src/model/GetTraceRequest.cc
src/model/GetTraceResult.cc
src/model/ImportAppAlertRulesRequest.cc
src/model/ImportAppAlertRulesResult.cc
src/model/ImportCustomAlertRulesRequest.cc
src/model/ImportCustomAlertRulesResult.cc
src/model/ListClusterFromGrafanaRequest.cc
src/model/ListClusterFromGrafanaResult.cc
src/model/ListPromClustersRequest.cc
src/model/ListPromClustersResult.cc
src/model/ListRetcodeAppsRequest.cc
@@ -128,6 +142,8 @@ set(arms_src
src/model/SearchTraceAppByNameResult.cc
src/model/SearchTraceAppByPageRequest.cc
src/model/SearchTraceAppByPageResult.cc
src/model/SearchTracesRequest.cc
src/model/SearchTracesResult.cc
src/model/SetRetcodeShareStatusRequest.cc
src/model/SetRetcodeShareStatusResult.cc
src/model/StartAlertRequest.cc

View File

@@ -36,12 +36,18 @@
#include "model/DeleteAlertRulesResult.h"
#include "model/DeleteRetcodeAppRequest.h"
#include "model/DeleteRetcodeAppResult.h"
#include "model/GetPrometheusApiTokenRequest.h"
#include "model/GetPrometheusApiTokenResult.h"
#include "model/GetRetcodeShareUrlRequest.h"
#include "model/GetRetcodeShareUrlResult.h"
#include "model/GetTraceRequest.h"
#include "model/GetTraceResult.h"
#include "model/ImportAppAlertRulesRequest.h"
#include "model/ImportAppAlertRulesResult.h"
#include "model/ImportCustomAlertRulesRequest.h"
#include "model/ImportCustomAlertRulesResult.h"
#include "model/ListClusterFromGrafanaRequest.h"
#include "model/ListClusterFromGrafanaResult.h"
#include "model/ListPromClustersRequest.h"
#include "model/ListPromClustersResult.h"
#include "model/ListRetcodeAppsRequest.h"
@@ -68,6 +74,8 @@
#include "model/SearchTraceAppByNameResult.h"
#include "model/SearchTraceAppByPageRequest.h"
#include "model/SearchTraceAppByPageResult.h"
#include "model/SearchTracesRequest.h"
#include "model/SearchTracesResult.h"
#include "model/SetRetcodeShareStatusRequest.h"
#include "model/SetRetcodeShareStatusResult.h"
#include "model/StartAlertRequest.h"
@@ -110,15 +118,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteRetcodeAppResult> DeleteRetcodeAppOutcome;
typedef std::future<DeleteRetcodeAppOutcome> DeleteRetcodeAppOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DeleteRetcodeAppRequest&, const DeleteRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRetcodeAppAsyncHandler;
typedef Outcome<Error, Model::GetPrometheusApiTokenResult> GetPrometheusApiTokenOutcome;
typedef std::future<GetPrometheusApiTokenOutcome> GetPrometheusApiTokenOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetPrometheusApiTokenRequest&, const GetPrometheusApiTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPrometheusApiTokenAsyncHandler;
typedef Outcome<Error, Model::GetRetcodeShareUrlResult> GetRetcodeShareUrlOutcome;
typedef std::future<GetRetcodeShareUrlOutcome> GetRetcodeShareUrlOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetRetcodeShareUrlRequest&, const GetRetcodeShareUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRetcodeShareUrlAsyncHandler;
typedef Outcome<Error, Model::GetTraceResult> GetTraceOutcome;
typedef std::future<GetTraceOutcome> GetTraceOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetTraceRequest&, const GetTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTraceAsyncHandler;
typedef Outcome<Error, Model::ImportAppAlertRulesResult> ImportAppAlertRulesOutcome;
typedef std::future<ImportAppAlertRulesOutcome> ImportAppAlertRulesOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ImportAppAlertRulesRequest&, const ImportAppAlertRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImportAppAlertRulesAsyncHandler;
typedef Outcome<Error, Model::ImportCustomAlertRulesResult> ImportCustomAlertRulesOutcome;
typedef std::future<ImportCustomAlertRulesOutcome> ImportCustomAlertRulesOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ImportCustomAlertRulesRequest&, const ImportCustomAlertRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImportCustomAlertRulesAsyncHandler;
typedef Outcome<Error, Model::ListClusterFromGrafanaResult> ListClusterFromGrafanaOutcome;
typedef std::future<ListClusterFromGrafanaOutcome> ListClusterFromGrafanaOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ListClusterFromGrafanaRequest&, const ListClusterFromGrafanaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListClusterFromGrafanaAsyncHandler;
typedef Outcome<Error, Model::ListPromClustersResult> ListPromClustersOutcome;
typedef std::future<ListPromClustersOutcome> ListPromClustersOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ListPromClustersRequest&, const ListPromClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPromClustersAsyncHandler;
@@ -158,6 +175,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SearchTraceAppByPageResult> SearchTraceAppByPageOutcome;
typedef std::future<SearchTraceAppByPageOutcome> SearchTraceAppByPageOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SearchTraceAppByPageRequest&, const SearchTraceAppByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTraceAppByPageAsyncHandler;
typedef Outcome<Error, Model::SearchTracesResult> SearchTracesOutcome;
typedef std::future<SearchTracesOutcome> SearchTracesOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SearchTracesRequest&, const SearchTracesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTracesAsyncHandler;
typedef Outcome<Error, Model::SetRetcodeShareStatusResult> SetRetcodeShareStatusOutcome;
typedef std::future<SetRetcodeShareStatusOutcome> SetRetcodeShareStatusOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SetRetcodeShareStatusRequest&, const SetRetcodeShareStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetRetcodeShareStatusAsyncHandler;
@@ -202,15 +222,24 @@ namespace AlibabaCloud
DeleteRetcodeAppOutcome deleteRetcodeApp(const Model::DeleteRetcodeAppRequest &request)const;
void deleteRetcodeAppAsync(const Model::DeleteRetcodeAppRequest& request, const DeleteRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRetcodeAppOutcomeCallable deleteRetcodeAppCallable(const Model::DeleteRetcodeAppRequest& request) const;
GetPrometheusApiTokenOutcome getPrometheusApiToken(const Model::GetPrometheusApiTokenRequest &request)const;
void getPrometheusApiTokenAsync(const Model::GetPrometheusApiTokenRequest& request, const GetPrometheusApiTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPrometheusApiTokenOutcomeCallable getPrometheusApiTokenCallable(const Model::GetPrometheusApiTokenRequest& request) const;
GetRetcodeShareUrlOutcome getRetcodeShareUrl(const Model::GetRetcodeShareUrlRequest &request)const;
void getRetcodeShareUrlAsync(const Model::GetRetcodeShareUrlRequest& request, const GetRetcodeShareUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetRetcodeShareUrlOutcomeCallable getRetcodeShareUrlCallable(const Model::GetRetcodeShareUrlRequest& request) const;
GetTraceOutcome getTrace(const Model::GetTraceRequest &request)const;
void getTraceAsync(const Model::GetTraceRequest& request, const GetTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTraceOutcomeCallable getTraceCallable(const Model::GetTraceRequest& request) const;
ImportAppAlertRulesOutcome importAppAlertRules(const Model::ImportAppAlertRulesRequest &request)const;
void importAppAlertRulesAsync(const Model::ImportAppAlertRulesRequest& request, const ImportAppAlertRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ImportAppAlertRulesOutcomeCallable importAppAlertRulesCallable(const Model::ImportAppAlertRulesRequest& request) const;
ImportCustomAlertRulesOutcome importCustomAlertRules(const Model::ImportCustomAlertRulesRequest &request)const;
void importCustomAlertRulesAsync(const Model::ImportCustomAlertRulesRequest& request, const ImportCustomAlertRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ImportCustomAlertRulesOutcomeCallable importCustomAlertRulesCallable(const Model::ImportCustomAlertRulesRequest& request) const;
ListClusterFromGrafanaOutcome listClusterFromGrafana(const Model::ListClusterFromGrafanaRequest &request)const;
void listClusterFromGrafanaAsync(const Model::ListClusterFromGrafanaRequest& request, const ListClusterFromGrafanaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListClusterFromGrafanaOutcomeCallable listClusterFromGrafanaCallable(const Model::ListClusterFromGrafanaRequest& request) const;
ListPromClustersOutcome listPromClusters(const Model::ListPromClustersRequest &request)const;
void listPromClustersAsync(const Model::ListPromClustersRequest& request, const ListPromClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPromClustersOutcomeCallable listPromClustersCallable(const Model::ListPromClustersRequest& request) const;
@@ -250,6 +279,9 @@ namespace AlibabaCloud
SearchTraceAppByPageOutcome searchTraceAppByPage(const Model::SearchTraceAppByPageRequest &request)const;
void searchTraceAppByPageAsync(const Model::SearchTraceAppByPageRequest& request, const SearchTraceAppByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchTraceAppByPageOutcomeCallable searchTraceAppByPageCallable(const Model::SearchTraceAppByPageRequest& request) const;
SearchTracesOutcome searchTraces(const Model::SearchTracesRequest &request)const;
void searchTracesAsync(const Model::SearchTracesRequest& request, const SearchTracesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchTracesOutcomeCallable searchTracesCallable(const Model::SearchTracesRequest& request) const;
SetRetcodeShareStatusOutcome setRetcodeShareStatus(const Model::SetRetcodeShareStatusRequest &request)const;
void setRetcodeShareStatusAsync(const Model::SetRetcodeShareStatusRequest& request, const SetRetcodeShareStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetRetcodeShareStatusOutcomeCallable setRetcodeShareStatusCallable(const Model::SetRetcodeShareStatusRequest& request) const;

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETTRACERESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_GETTRACERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetTraceResult : public ServiceResult
{
public:
struct Span
{
struct TagEntry
{
std::string value;
std::string key;
};
struct LogEvent
{
struct TagEntry2
{
std::string value;
std::string key;
};
std::vector<LogEvent::TagEntry2> tagEntryList1;
long timestamp;
};
bool haveStack;
std::string serviceIp;
std::vector<Span::LogEvent> logEventList;
std::string operationName;
std::string serviceName;
std::string rpcId;
std::string traceID;
long duration;
std::vector<Span::TagEntry> tagEntryList;
long timestamp;
std::string resultCode;
};
GetTraceResult();
explicit GetTraceResult(const std::string &payload);
~GetTraceResult();
std::vector<Span> getSpans()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Span> spans_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTRACERESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_LISTCLUSTERFROMGRAFANAREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_LISTCLUSTERFROMGRAFANAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ListClusterFromGrafanaRequest : public RpcServiceRequest
{
public:
ListClusterFromGrafanaRequest();
~ListClusterFromGrafanaRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTCLUSTERFROMGRAFANAREQUEST_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_ARMS_MODEL_LISTCLUSTERFROMGRAFANARESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_LISTCLUSTERFROMGRAFANARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ListClusterFromGrafanaResult : public ServiceResult
{
public:
struct PromCluster
{
bool isControllerInstalled;
std::string stateJson;
std::string options;
int nodeNum;
std::string clusterId;
long installTime;
long createTime;
std::string controllerId;
std::string pluginsJsonArray;
std::string clusterType;
std::string agentStatus;
std::string extra;
std::string userId;
long lastHeartBeatTime;
long updateTime;
std::string clusterName;
long id;
std::string regionId;
};
ListClusterFromGrafanaResult();
explicit ListClusterFromGrafanaResult(const std::string &payload);
~ListClusterFromGrafanaResult();
std::vector<PromCluster> getPromClusterList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PromCluster> promClusterList_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTCLUSTERFROMGRAFANARESULT_H_

View File

@@ -0,0 +1,78 @@
/*
* 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_ARMS_MODEL_SEARCHTRACESREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT SearchTracesRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string value;
std::string key;
};
public:
SearchTracesRequest();
~SearchTracesRequest();
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
bool getReverse()const;
void setReverse(bool reverse);
long getMinDuration()const;
void setMinDuration(long minDuration);
std::string getServiceIp()const;
void setServiceIp(const std::string& serviceIp);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOperationName()const;
void setOperationName(const std::string& operationName);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
private:
long endTime_;
long startTime_;
bool reverse_;
long minDuration_;
std::string serviceIp_;
std::string regionId_;
std::string operationName_;
std::string serviceName_;
std::vector<Tag> tag_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESREQUEST_H_

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_ARMS_MODEL_SEARCHTRACESRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT SearchTracesResult : public ServiceResult
{
public:
struct TraceInfo
{
std::string serviceIp;
std::string operationName;
std::string serviceName;
std::string traceID;
long duration;
long timestamp;
};
SearchTracesResult();
explicit SearchTracesResult(const std::string &payload);
~SearchTracesResult();
std::vector<TraceInfo> getTraceInfos()const;
protected:
void parse(const std::string &payload);
private:
std::vector<TraceInfo> traceInfos_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESRESULT_H_

View File

@@ -303,6 +303,42 @@ ARMSClient::DeleteRetcodeAppOutcomeCallable ARMSClient::deleteRetcodeAppCallable
return task->get_future();
}
ARMSClient::GetPrometheusApiTokenOutcome ARMSClient::getPrometheusApiToken(const GetPrometheusApiTokenRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetPrometheusApiTokenOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetPrometheusApiTokenOutcome(GetPrometheusApiTokenResult(outcome.result()));
else
return GetPrometheusApiTokenOutcome(outcome.error());
}
void ARMSClient::getPrometheusApiTokenAsync(const GetPrometheusApiTokenRequest& request, const GetPrometheusApiTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getPrometheusApiToken(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetPrometheusApiTokenOutcomeCallable ARMSClient::getPrometheusApiTokenCallable(const GetPrometheusApiTokenRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetPrometheusApiTokenOutcome()>>(
[this, request]()
{
return this->getPrometheusApiToken(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetRetcodeShareUrlOutcome ARMSClient::getRetcodeShareUrl(const GetRetcodeShareUrlRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -339,6 +375,42 @@ ARMSClient::GetRetcodeShareUrlOutcomeCallable ARMSClient::getRetcodeShareUrlCall
return task->get_future();
}
ARMSClient::GetTraceOutcome ARMSClient::getTrace(const GetTraceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetTraceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetTraceOutcome(GetTraceResult(outcome.result()));
else
return GetTraceOutcome(outcome.error());
}
void ARMSClient::getTraceAsync(const GetTraceRequest& request, const GetTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getTrace(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetTraceOutcomeCallable ARMSClient::getTraceCallable(const GetTraceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetTraceOutcome()>>(
[this, request]()
{
return this->getTrace(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::ImportAppAlertRulesOutcome ARMSClient::importAppAlertRules(const ImportAppAlertRulesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -411,6 +483,42 @@ ARMSClient::ImportCustomAlertRulesOutcomeCallable ARMSClient::importCustomAlertR
return task->get_future();
}
ARMSClient::ListClusterFromGrafanaOutcome ARMSClient::listClusterFromGrafana(const ListClusterFromGrafanaRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListClusterFromGrafanaOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListClusterFromGrafanaOutcome(ListClusterFromGrafanaResult(outcome.result()));
else
return ListClusterFromGrafanaOutcome(outcome.error());
}
void ARMSClient::listClusterFromGrafanaAsync(const ListClusterFromGrafanaRequest& request, const ListClusterFromGrafanaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listClusterFromGrafana(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::ListClusterFromGrafanaOutcomeCallable ARMSClient::listClusterFromGrafanaCallable(const ListClusterFromGrafanaRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListClusterFromGrafanaOutcome()>>(
[this, request]()
{
return this->listClusterFromGrafana(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::ListPromClustersOutcome ARMSClient::listPromClusters(const ListPromClustersRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -879,6 +987,42 @@ ARMSClient::SearchTraceAppByPageOutcomeCallable ARMSClient::searchTraceAppByPage
return task->get_future();
}
ARMSClient::SearchTracesOutcome ARMSClient::searchTraces(const SearchTracesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SearchTracesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SearchTracesOutcome(SearchTracesResult(outcome.result()));
else
return SearchTracesOutcome(outcome.error());
}
void ARMSClient::searchTracesAsync(const SearchTracesRequest& request, const SearchTracesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, searchTraces(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::SearchTracesOutcomeCallable ARMSClient::searchTracesCallable(const SearchTracesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SearchTracesOutcome()>>(
[this, request]()
{
return this->searchTraces(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::SetRetcodeShareStatusOutcome ARMSClient::setRetcodeShareStatus(const SetRetcodeShareStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

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

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/arms/model/GetPrometheusApiTokenResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetPrometheusApiTokenResult::GetPrometheusApiTokenResult() :
ServiceResult()
{}
GetPrometheusApiTokenResult::GetPrometheusApiTokenResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetPrometheusApiTokenResult::~GetPrometheusApiTokenResult()
{}
void GetPrometheusApiTokenResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Token"].isNull())
token_ = value["Token"].asString();
}
std::string GetPrometheusApiTokenResult::getToken()const
{
return token_;
}

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/arms/model/GetTraceRequest.h>
using AlibabaCloud::ARMS::Model::GetTraceRequest;
GetTraceRequest::GetTraceRequest() :
RpcServiceRequest("arms", "2019-08-08", "GetTrace")
{
setMethod(HttpRequest::Method::Post);
}
GetTraceRequest::~GetTraceRequest()
{}
std::string GetTraceRequest::getTraceID()const
{
return traceID_;
}
void GetTraceRequest::setTraceID(const std::string& traceID)
{
traceID_ = traceID;
setParameter("TraceID", traceID);
}
std::string GetTraceRequest::getRegionId()const
{
return regionId_;
}
void GetTraceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

@@ -0,0 +1,101 @@
/*
* 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/arms/model/GetTraceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetTraceResult::GetTraceResult() :
ServiceResult()
{}
GetTraceResult::GetTraceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetTraceResult::~GetTraceResult()
{}
void GetTraceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allSpansNode = value["Spans"]["Span"];
for (auto valueSpansSpan : allSpansNode)
{
Span spansObject;
if(!valueSpansSpan["TraceID"].isNull())
spansObject.traceID = valueSpansSpan["TraceID"].asString();
if(!valueSpansSpan["OperationName"].isNull())
spansObject.operationName = valueSpansSpan["OperationName"].asString();
if(!valueSpansSpan["Duration"].isNull())
spansObject.duration = std::stol(valueSpansSpan["Duration"].asString());
if(!valueSpansSpan["ServiceName"].isNull())
spansObject.serviceName = valueSpansSpan["ServiceName"].asString();
if(!valueSpansSpan["ServiceIp"].isNull())
spansObject.serviceIp = valueSpansSpan["ServiceIp"].asString();
if(!valueSpansSpan["Timestamp"].isNull())
spansObject.timestamp = std::stol(valueSpansSpan["Timestamp"].asString());
if(!valueSpansSpan["RpcId"].isNull())
spansObject.rpcId = valueSpansSpan["RpcId"].asString();
if(!valueSpansSpan["ResultCode"].isNull())
spansObject.resultCode = valueSpansSpan["ResultCode"].asString();
if(!valueSpansSpan["HaveStack"].isNull())
spansObject.haveStack = valueSpansSpan["HaveStack"].asString() == "true";
auto allTagEntryListNode = allSpansNode["TagEntryList"]["TagEntry"];
for (auto allSpansNodeTagEntryListTagEntry : allTagEntryListNode)
{
Span::TagEntry tagEntryListObject;
if(!allSpansNodeTagEntryListTagEntry["Key"].isNull())
tagEntryListObject.key = allSpansNodeTagEntryListTagEntry["Key"].asString();
if(!allSpansNodeTagEntryListTagEntry["Value"].isNull())
tagEntryListObject.value = allSpansNodeTagEntryListTagEntry["Value"].asString();
spansObject.tagEntryList.push_back(tagEntryListObject);
}
auto allLogEventListNode = allSpansNode["LogEventList"]["LogEvent"];
for (auto allSpansNodeLogEventListLogEvent : allLogEventListNode)
{
Span::LogEvent logEventListObject;
if(!allSpansNodeLogEventListLogEvent["Timestamp"].isNull())
logEventListObject.timestamp = std::stol(allSpansNodeLogEventListLogEvent["Timestamp"].asString());
auto allTagEntryList1Node = allLogEventListNode["TagEntryList"]["TagEntry"];
for (auto allLogEventListNodeTagEntryListTagEntry : allTagEntryList1Node)
{
Span::LogEvent::TagEntry2 tagEntryList1Object;
if(!allLogEventListNodeTagEntryListTagEntry["Key"].isNull())
tagEntryList1Object.key = allLogEventListNodeTagEntryListTagEntry["Key"].asString();
if(!allLogEventListNodeTagEntryListTagEntry["Value"].isNull())
tagEntryList1Object.value = allLogEventListNodeTagEntryListTagEntry["Value"].asString();
logEventListObject.tagEntryList1.push_back(tagEntryList1Object);
}
spansObject.logEventList.push_back(logEventListObject);
}
spans_.push_back(spansObject);
}
}
std::vector<GetTraceResult::Span> GetTraceResult::getSpans()const
{
return spans_;
}

View File

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

View File

@@ -0,0 +1,91 @@
/*
* 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/arms/model/ListClusterFromGrafanaResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
ListClusterFromGrafanaResult::ListClusterFromGrafanaResult() :
ServiceResult()
{}
ListClusterFromGrafanaResult::ListClusterFromGrafanaResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListClusterFromGrafanaResult::~ListClusterFromGrafanaResult()
{}
void ListClusterFromGrafanaResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allPromClusterListNode = value["PromClusterList"]["PromCluster"];
for (auto valuePromClusterListPromCluster : allPromClusterListNode)
{
PromCluster promClusterListObject;
if(!valuePromClusterListPromCluster["Id"].isNull())
promClusterListObject.id = std::stol(valuePromClusterListPromCluster["Id"].asString());
if(!valuePromClusterListPromCluster["ClusterId"].isNull())
promClusterListObject.clusterId = valuePromClusterListPromCluster["ClusterId"].asString();
if(!valuePromClusterListPromCluster["ClusterName"].isNull())
promClusterListObject.clusterName = valuePromClusterListPromCluster["ClusterName"].asString();
if(!valuePromClusterListPromCluster["AgentStatus"].isNull())
promClusterListObject.agentStatus = valuePromClusterListPromCluster["AgentStatus"].asString();
if(!valuePromClusterListPromCluster["ClusterType"].isNull())
promClusterListObject.clusterType = valuePromClusterListPromCluster["ClusterType"].asString();
if(!valuePromClusterListPromCluster["ControllerId"].isNull())
promClusterListObject.controllerId = valuePromClusterListPromCluster["ControllerId"].asString();
if(!valuePromClusterListPromCluster["IsControllerInstalled"].isNull())
promClusterListObject.isControllerInstalled = valuePromClusterListPromCluster["IsControllerInstalled"].asString() == "true";
if(!valuePromClusterListPromCluster["UserId"].isNull())
promClusterListObject.userId = valuePromClusterListPromCluster["UserId"].asString();
if(!valuePromClusterListPromCluster["RegionId"].isNull())
promClusterListObject.regionId = valuePromClusterListPromCluster["RegionId"].asString();
if(!valuePromClusterListPromCluster["PluginsJsonArray"].isNull())
promClusterListObject.pluginsJsonArray = valuePromClusterListPromCluster["PluginsJsonArray"].asString();
if(!valuePromClusterListPromCluster["StateJson"].isNull())
promClusterListObject.stateJson = valuePromClusterListPromCluster["StateJson"].asString();
if(!valuePromClusterListPromCluster["NodeNum"].isNull())
promClusterListObject.nodeNum = std::stoi(valuePromClusterListPromCluster["NodeNum"].asString());
if(!valuePromClusterListPromCluster["CreateTime"].isNull())
promClusterListObject.createTime = std::stol(valuePromClusterListPromCluster["CreateTime"].asString());
if(!valuePromClusterListPromCluster["UpdateTime"].isNull())
promClusterListObject.updateTime = std::stol(valuePromClusterListPromCluster["UpdateTime"].asString());
if(!valuePromClusterListPromCluster["LastHeartBeatTime"].isNull())
promClusterListObject.lastHeartBeatTime = std::stol(valuePromClusterListPromCluster["LastHeartBeatTime"].asString());
if(!valuePromClusterListPromCluster["InstallTime"].isNull())
promClusterListObject.installTime = std::stol(valuePromClusterListPromCluster["InstallTime"].asString());
if(!valuePromClusterListPromCluster["Extra"].isNull())
promClusterListObject.extra = valuePromClusterListPromCluster["Extra"].asString();
if(!valuePromClusterListPromCluster["Options"].isNull())
promClusterListObject.options = valuePromClusterListPromCluster["Options"].asString();
promClusterList_.push_back(promClusterListObject);
}
}
std::vector<ListClusterFromGrafanaResult::PromCluster> ListClusterFromGrafanaResult::getPromClusterList()const
{
return promClusterList_;
}

View File

@@ -0,0 +1,133 @@
/*
* 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/arms/model/SearchTracesRequest.h>
using AlibabaCloud::ARMS::Model::SearchTracesRequest;
SearchTracesRequest::SearchTracesRequest() :
RpcServiceRequest("arms", "2019-08-08", "SearchTraces")
{
setMethod(HttpRequest::Method::Post);
}
SearchTracesRequest::~SearchTracesRequest()
{}
long SearchTracesRequest::getEndTime()const
{
return endTime_;
}
void SearchTracesRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setParameter("EndTime", std::to_string(endTime));
}
long SearchTracesRequest::getStartTime()const
{
return startTime_;
}
void SearchTracesRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setParameter("StartTime", std::to_string(startTime));
}
bool SearchTracesRequest::getReverse()const
{
return reverse_;
}
void SearchTracesRequest::setReverse(bool reverse)
{
reverse_ = reverse;
setParameter("Reverse", reverse ? "true" : "false");
}
long SearchTracesRequest::getMinDuration()const
{
return minDuration_;
}
void SearchTracesRequest::setMinDuration(long minDuration)
{
minDuration_ = minDuration;
setParameter("MinDuration", std::to_string(minDuration));
}
std::string SearchTracesRequest::getServiceIp()const
{
return serviceIp_;
}
void SearchTracesRequest::setServiceIp(const std::string& serviceIp)
{
serviceIp_ = serviceIp;
setParameter("ServiceIp", serviceIp);
}
std::string SearchTracesRequest::getRegionId()const
{
return regionId_;
}
void SearchTracesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string SearchTracesRequest::getOperationName()const
{
return operationName_;
}
void SearchTracesRequest::setOperationName(const std::string& operationName)
{
operationName_ = operationName;
setParameter("OperationName", operationName);
}
std::string SearchTracesRequest::getServiceName()const
{
return serviceName_;
}
void SearchTracesRequest::setServiceName(const std::string& serviceName)
{
serviceName_ = serviceName;
setParameter("ServiceName", serviceName);
}
std::vector<SearchTracesRequest::Tag> SearchTracesRequest::getTag()const
{
return tag_;
}
void SearchTracesRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/SearchTracesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
SearchTracesResult::SearchTracesResult() :
ServiceResult()
{}
SearchTracesResult::SearchTracesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SearchTracesResult::~SearchTracesResult()
{}
void SearchTracesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allTraceInfosNode = value["TraceInfos"]["TraceInfo"];
for (auto valueTraceInfosTraceInfo : allTraceInfosNode)
{
TraceInfo traceInfosObject;
if(!valueTraceInfosTraceInfo["TraceID"].isNull())
traceInfosObject.traceID = valueTraceInfosTraceInfo["TraceID"].asString();
if(!valueTraceInfosTraceInfo["OperationName"].isNull())
traceInfosObject.operationName = valueTraceInfosTraceInfo["OperationName"].asString();
if(!valueTraceInfosTraceInfo["ServiceName"].isNull())
traceInfosObject.serviceName = valueTraceInfosTraceInfo["ServiceName"].asString();
if(!valueTraceInfosTraceInfo["ServiceIp"].isNull())
traceInfosObject.serviceIp = valueTraceInfosTraceInfo["ServiceIp"].asString();
if(!valueTraceInfosTraceInfo["Duration"].isNull())
traceInfosObject.duration = std::stol(valueTraceInfosTraceInfo["Duration"].asString());
if(!valueTraceInfosTraceInfo["Timestamp"].isNull())
traceInfosObject.timestamp = std::stol(valueTraceInfosTraceInfo["Timestamp"].asString());
traceInfos_.push_back(traceInfosObject);
}
}
std::vector<SearchTracesResult::TraceInfo> SearchTracesResult::getTraceInfos()const
{
return traceInfos_;
}

View File

@@ -23,6 +23,8 @@ set(cloudauth_public_header
set(cloudauth_public_header_model
include/alibabacloud/cloudauth/model/CompareFacesRequest.h
include/alibabacloud/cloudauth/model/CompareFacesResult.h
include/alibabacloud/cloudauth/model/ContrastFaceVerifyRequest.h
include/alibabacloud/cloudauth/model/ContrastFaceVerifyResult.h
include/alibabacloud/cloudauth/model/CreateAuthKeyRequest.h
include/alibabacloud/cloudauth/model/CreateAuthKeyResult.h
include/alibabacloud/cloudauth/model/CreateRPSDKRequest.h
@@ -76,6 +78,8 @@ set(cloudauth_src
src/CloudauthClient.cc
src/model/CompareFacesRequest.cc
src/model/CompareFacesResult.cc
src/model/ContrastFaceVerifyRequest.cc
src/model/ContrastFaceVerifyResult.cc
src/model/CreateAuthKeyRequest.cc
src/model/CreateAuthKeyResult.cc
src/model/CreateRPSDKRequest.cc

View File

@@ -24,6 +24,8 @@
#include "CloudauthExport.h"
#include "model/CompareFacesRequest.h"
#include "model/CompareFacesResult.h"
#include "model/ContrastFaceVerifyRequest.h"
#include "model/ContrastFaceVerifyResult.h"
#include "model/CreateAuthKeyRequest.h"
#include "model/CreateAuthKeyResult.h"
#include "model/CreateRPSDKRequest.h"
@@ -84,6 +86,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CompareFacesResult> CompareFacesOutcome;
typedef std::future<CompareFacesOutcome> CompareFacesOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::CompareFacesRequest&, const CompareFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CompareFacesAsyncHandler;
typedef Outcome<Error, Model::ContrastFaceVerifyResult> ContrastFaceVerifyOutcome;
typedef std::future<ContrastFaceVerifyOutcome> ContrastFaceVerifyOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::ContrastFaceVerifyRequest&, const ContrastFaceVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ContrastFaceVerifyAsyncHandler;
typedef Outcome<Error, Model::CreateAuthKeyResult> CreateAuthKeyOutcome;
typedef std::future<CreateAuthKeyOutcome> CreateAuthKeyOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::CreateAuthKeyRequest&, const CreateAuthKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAuthKeyAsyncHandler;
@@ -164,6 +169,9 @@ namespace AlibabaCloud
CompareFacesOutcome compareFaces(const Model::CompareFacesRequest &request)const;
void compareFacesAsync(const Model::CompareFacesRequest& request, const CompareFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CompareFacesOutcomeCallable compareFacesCallable(const Model::CompareFacesRequest& request) const;
ContrastFaceVerifyOutcome contrastFaceVerify(const Model::ContrastFaceVerifyRequest &request)const;
void contrastFaceVerifyAsync(const Model::ContrastFaceVerifyRequest& request, const ContrastFaceVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ContrastFaceVerifyOutcomeCallable contrastFaceVerifyCallable(const Model::ContrastFaceVerifyRequest& request) const;
CreateAuthKeyOutcome createAuthKey(const Model::CreateAuthKeyRequest &request)const;
void createAuthKeyAsync(const Model::CreateAuthKeyRequest& request, const CreateAuthKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAuthKeyOutcomeCallable createAuthKeyCallable(const Model::CreateAuthKeyRequest& request) const;

View File

@@ -0,0 +1,90 @@
/*
* 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_CLOUDAUTH_MODEL_CONTRASTFACEVERIFYREQUEST_H_
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CONTRASTFACEVERIFYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudauth/CloudauthExport.h>
namespace AlibabaCloud
{
namespace Cloudauth
{
namespace Model
{
class ALIBABACLOUD_CLOUDAUTH_EXPORT ContrastFaceVerifyRequest : public RpcServiceRequest
{
public:
ContrastFaceVerifyRequest();
~ContrastFaceVerifyRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getOssObjectName()const;
void setOssObjectName(const std::string& ossObjectName);
std::string getFaceContrastPicture()const;
void setFaceContrastPicture(const std::string& faceContrastPicture);
std::string getCertName()const;
void setCertName(const std::string& certName);
std::string getIp()const;
void setIp(const std::string& ip);
std::string getMobile()const;
void setMobile(const std::string& mobile);
std::string getDeviceToken()const;
void setDeviceToken(const std::string& deviceToken);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getCertifyId()const;
void setCertifyId(const std::string& certifyId);
std::string getCertNo()const;
void setCertNo(const std::string& certNo);
std::string getOuterOrderNo()const;
void setOuterOrderNo(const std::string& outerOrderNo);
std::string getCertType()const;
void setCertType(const std::string& certType);
std::string getFaceContrastPictureUrl()const;
void setFaceContrastPictureUrl(const std::string& faceContrastPictureUrl);
long getSceneId()const;
void setSceneId(long sceneId);
std::string getOssBucketName()const;
void setOssBucketName(const std::string& ossBucketName);
private:
std::string productCode_;
std::string ossObjectName_;
std::string faceContrastPicture_;
std::string certName_;
std::string ip_;
std::string mobile_;
std::string deviceToken_;
std::string userId_;
std::string certifyId_;
std::string certNo_;
std::string outerOrderNo_;
std::string certType_;
std::string faceContrastPictureUrl_;
long sceneId_;
std::string ossBucketName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CONTRASTFACEVERIFYREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_CLOUDAUTH_MODEL_CONTRASTFACEVERIFYRESULT_H_
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CONTRASTFACEVERIFYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudauth/CloudauthExport.h>
namespace AlibabaCloud
{
namespace Cloudauth
{
namespace Model
{
class ALIBABACLOUD_CLOUDAUTH_EXPORT ContrastFaceVerifyResult : public ServiceResult
{
public:
struct ResultObject
{
std::string passed;
std::string identityInfo;
std::string materialInfo;
};
ContrastFaceVerifyResult();
explicit ContrastFaceVerifyResult(const std::string &payload);
~ContrastFaceVerifyResult();
ResultObject getResultObject()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
ResultObject resultObject_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CONTRASTFACEVERIFYRESULT_H_

View File

@@ -43,6 +43,8 @@ namespace AlibabaCloud
void setSourceIp(const std::string& sourceIp);
std::string getCallbackSeed()const;
void setCallbackSeed(const std::string& callbackSeed);
std::string getUserIp()const;
void setUserIp(const std::string& userIp);
std::string getIdCardBackImageUrl()const;
void setIdCardBackImageUrl(const std::string& idCardBackImageUrl);
std::string getIdCardNumber()const;
@@ -53,10 +55,14 @@ namespace AlibabaCloud
void setBizType(const std::string& bizType);
std::string getPassedRedirectUrl()const;
void setPassedRedirectUrl(const std::string& passedRedirectUrl);
long getUserRegistTime()const;
void setUserRegistTime(long userRegistTime);
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getName()const;
void setName(const std::string& name);
std::string getUserPhoneNumber()const;
void setUserPhoneNumber(const std::string& userPhoneNumber);
std::string getCallbackUrl()const;
void setCallbackUrl(const std::string& callbackUrl);
std::string getFailedRedirectUrl()const;
@@ -67,13 +73,16 @@ namespace AlibabaCloud
std::string userId_;
std::string sourceIp_;
std::string callbackSeed_;
std::string userIp_;
std::string idCardBackImageUrl_;
std::string idCardNumber_;
std::string idCardFrontImageUrl_;
std::string bizType_;
std::string passedRedirectUrl_;
long userRegistTime_;
std::string bizId_;
std::string name_;
std::string userPhoneNumber_;
std::string callbackUrl_;
std::string failedRedirectUrl_;

View File

@@ -39,31 +39,52 @@ namespace AlibabaCloud
void setProductCode(const std::string& productCode);
std::string getFaceContrastPicture()const;
void setFaceContrastPicture(const std::string& faceContrastPicture);
std::string getCertName()const;
void setCertName(const std::string& certName);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getCertifyId()const;
void setCertifyId(const std::string& certifyId);
std::string getCertNo()const;
void setCertNo(const std::string& certNo);
std::string getOuterOrderNo()const;
void setOuterOrderNo(const std::string& outerOrderNo);
std::string getCertType()const;
void setCertType(const std::string& certType);
long getSceneId()const;
void setSceneId(long sceneId);
std::string getReturnUrl()const;
void setReturnUrl(const std::string& returnUrl);
std::string getFaceContrastPictureUrl()const;
void setFaceContrastPictureUrl(const std::string& faceContrastPictureUrl);
std::string getMetaInfo()const;
void setMetaInfo(const std::string& metaInfo);
std::string getOssObjectName()const;
void setOssObjectName(const std::string& ossObjectName);
std::string getCertName()const;
void setCertName(const std::string& certName);
std::string getIp()const;
void setIp(const std::string& ip);
std::string getMobile()const;
void setMobile(const std::string& mobile);
long getSceneId()const;
void setSceneId(long sceneId);
std::string getOssBucketName()const;
void setOssBucketName(const std::string& ossBucketName);
std::string getReturnUrl()const;
void setReturnUrl(const std::string& returnUrl);
private:
std::string productCode_;
std::string faceContrastPicture_;
std::string certName_;
std::string userId_;
std::string certifyId_;
std::string certNo_;
std::string outerOrderNo_;
std::string certType_;
long sceneId_;
std::string returnUrl_;
std::string faceContrastPictureUrl_;
std::string metaInfo_;
std::string ossObjectName_;
std::string certName_;
std::string ip_;
std::string mobile_;
long sceneId_;
std::string ossBucketName_;
std::string returnUrl_;
};
}

View File

@@ -87,6 +87,42 @@ CloudauthClient::CompareFacesOutcomeCallable CloudauthClient::compareFacesCallab
return task->get_future();
}
CloudauthClient::ContrastFaceVerifyOutcome CloudauthClient::contrastFaceVerify(const ContrastFaceVerifyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ContrastFaceVerifyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ContrastFaceVerifyOutcome(ContrastFaceVerifyResult(outcome.result()));
else
return ContrastFaceVerifyOutcome(outcome.error());
}
void CloudauthClient::contrastFaceVerifyAsync(const ContrastFaceVerifyRequest& request, const ContrastFaceVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, contrastFaceVerify(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudauthClient::ContrastFaceVerifyOutcomeCallable CloudauthClient::contrastFaceVerifyCallable(const ContrastFaceVerifyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ContrastFaceVerifyOutcome()>>(
[this, request]()
{
return this->contrastFaceVerify(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudauthClient::CreateAuthKeyOutcome CloudauthClient::createAuthKey(const CreateAuthKeyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,194 @@
/*
* 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/cloudauth/model/ContrastFaceVerifyRequest.h>
using AlibabaCloud::Cloudauth::Model::ContrastFaceVerifyRequest;
ContrastFaceVerifyRequest::ContrastFaceVerifyRequest() :
RpcServiceRequest("cloudauth", "2019-03-07", "ContrastFaceVerify")
{
setMethod(HttpRequest::Method::Post);
}
ContrastFaceVerifyRequest::~ContrastFaceVerifyRequest()
{}
std::string ContrastFaceVerifyRequest::getProductCode()const
{
return productCode_;
}
void ContrastFaceVerifyRequest::setProductCode(const std::string& productCode)
{
productCode_ = productCode;
setParameter("ProductCode", productCode);
}
std::string ContrastFaceVerifyRequest::getOssObjectName()const
{
return ossObjectName_;
}
void ContrastFaceVerifyRequest::setOssObjectName(const std::string& ossObjectName)
{
ossObjectName_ = ossObjectName;
setParameter("OssObjectName", ossObjectName);
}
std::string ContrastFaceVerifyRequest::getFaceContrastPicture()const
{
return faceContrastPicture_;
}
void ContrastFaceVerifyRequest::setFaceContrastPicture(const std::string& faceContrastPicture)
{
faceContrastPicture_ = faceContrastPicture;
setParameter("FaceContrastPicture", faceContrastPicture);
}
std::string ContrastFaceVerifyRequest::getCertName()const
{
return certName_;
}
void ContrastFaceVerifyRequest::setCertName(const std::string& certName)
{
certName_ = certName;
setParameter("CertName", certName);
}
std::string ContrastFaceVerifyRequest::getIp()const
{
return ip_;
}
void ContrastFaceVerifyRequest::setIp(const std::string& ip)
{
ip_ = ip;
setParameter("Ip", ip);
}
std::string ContrastFaceVerifyRequest::getMobile()const
{
return mobile_;
}
void ContrastFaceVerifyRequest::setMobile(const std::string& mobile)
{
mobile_ = mobile;
setParameter("Mobile", mobile);
}
std::string ContrastFaceVerifyRequest::getDeviceToken()const
{
return deviceToken_;
}
void ContrastFaceVerifyRequest::setDeviceToken(const std::string& deviceToken)
{
deviceToken_ = deviceToken;
setParameter("DeviceToken", deviceToken);
}
std::string ContrastFaceVerifyRequest::getUserId()const
{
return userId_;
}
void ContrastFaceVerifyRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setParameter("UserId", userId);
}
std::string ContrastFaceVerifyRequest::getCertifyId()const
{
return certifyId_;
}
void ContrastFaceVerifyRequest::setCertifyId(const std::string& certifyId)
{
certifyId_ = certifyId;
setParameter("CertifyId", certifyId);
}
std::string ContrastFaceVerifyRequest::getCertNo()const
{
return certNo_;
}
void ContrastFaceVerifyRequest::setCertNo(const std::string& certNo)
{
certNo_ = certNo;
setParameter("CertNo", certNo);
}
std::string ContrastFaceVerifyRequest::getOuterOrderNo()const
{
return outerOrderNo_;
}
void ContrastFaceVerifyRequest::setOuterOrderNo(const std::string& outerOrderNo)
{
outerOrderNo_ = outerOrderNo;
setParameter("OuterOrderNo", outerOrderNo);
}
std::string ContrastFaceVerifyRequest::getCertType()const
{
return certType_;
}
void ContrastFaceVerifyRequest::setCertType(const std::string& certType)
{
certType_ = certType;
setParameter("CertType", certType);
}
std::string ContrastFaceVerifyRequest::getFaceContrastPictureUrl()const
{
return faceContrastPictureUrl_;
}
void ContrastFaceVerifyRequest::setFaceContrastPictureUrl(const std::string& faceContrastPictureUrl)
{
faceContrastPictureUrl_ = faceContrastPictureUrl;
setParameter("FaceContrastPictureUrl", faceContrastPictureUrl);
}
long ContrastFaceVerifyRequest::getSceneId()const
{
return sceneId_;
}
void ContrastFaceVerifyRequest::setSceneId(long sceneId)
{
sceneId_ = sceneId;
setParameter("SceneId", std::to_string(sceneId));
}
std::string ContrastFaceVerifyRequest::getOssBucketName()const
{
return ossBucketName_;
}
void ContrastFaceVerifyRequest::setOssBucketName(const std::string& ossBucketName)
{
ossBucketName_ = ossBucketName;
setParameter("OssBucketName", ossBucketName);
}

View File

@@ -0,0 +1,70 @@
/*
* 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/cloudauth/model/ContrastFaceVerifyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cloudauth;
using namespace AlibabaCloud::Cloudauth::Model;
ContrastFaceVerifyResult::ContrastFaceVerifyResult() :
ServiceResult()
{}
ContrastFaceVerifyResult::ContrastFaceVerifyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ContrastFaceVerifyResult::~ContrastFaceVerifyResult()
{}
void ContrastFaceVerifyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto resultObjectNode = value["ResultObject"];
if(!resultObjectNode["Passed"].isNull())
resultObject_.passed = resultObjectNode["Passed"].asString();
if(!resultObjectNode["IdentityInfo"].isNull())
resultObject_.identityInfo = resultObjectNode["IdentityInfo"].asString();
if(!resultObjectNode["MaterialInfo"].isNull())
resultObject_.materialInfo = resultObjectNode["MaterialInfo"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
}
ContrastFaceVerifyResult::ResultObject ContrastFaceVerifyResult::getResultObject()const
{
return resultObject_;
}
std::string ContrastFaceVerifyResult::getMessage()const
{
return message_;
}
std::string ContrastFaceVerifyResult::getCode()const
{
return code_;
}

View File

@@ -71,6 +71,17 @@ void DescribeVerifyTokenRequest::setCallbackSeed(const std::string& callbackSeed
setParameter("CallbackSeed", callbackSeed);
}
std::string DescribeVerifyTokenRequest::getUserIp()const
{
return userIp_;
}
void DescribeVerifyTokenRequest::setUserIp(const std::string& userIp)
{
userIp_ = userIp;
setParameter("UserIp", userIp);
}
std::string DescribeVerifyTokenRequest::getIdCardBackImageUrl()const
{
return idCardBackImageUrl_;
@@ -126,6 +137,17 @@ void DescribeVerifyTokenRequest::setPassedRedirectUrl(const std::string& passedR
setParameter("PassedRedirectUrl", passedRedirectUrl);
}
long DescribeVerifyTokenRequest::getUserRegistTime()const
{
return userRegistTime_;
}
void DescribeVerifyTokenRequest::setUserRegistTime(long userRegistTime)
{
userRegistTime_ = userRegistTime;
setParameter("UserRegistTime", std::to_string(userRegistTime));
}
std::string DescribeVerifyTokenRequest::getBizId()const
{
return bizId_;
@@ -148,6 +170,17 @@ void DescribeVerifyTokenRequest::setName(const std::string& name)
setParameter("Name", name);
}
std::string DescribeVerifyTokenRequest::getUserPhoneNumber()const
{
return userPhoneNumber_;
}
void DescribeVerifyTokenRequest::setUserPhoneNumber(const std::string& userPhoneNumber)
{
userPhoneNumber_ = userPhoneNumber;
setParameter("UserPhoneNumber", userPhoneNumber);
}
std::string DescribeVerifyTokenRequest::getCallbackUrl()const
{
return callbackUrl_;

View File

@@ -49,15 +49,26 @@ void InitFaceVerifyRequest::setFaceContrastPicture(const std::string& faceContra
setParameter("FaceContrastPicture", faceContrastPicture);
}
std::string InitFaceVerifyRequest::getCertName()const
std::string InitFaceVerifyRequest::getUserId()const
{
return certName_;
return userId_;
}
void InitFaceVerifyRequest::setCertName(const std::string& certName)
void InitFaceVerifyRequest::setUserId(const std::string& userId)
{
certName_ = certName;
setParameter("CertName", certName);
userId_ = userId;
setParameter("UserId", userId);
}
std::string InitFaceVerifyRequest::getCertifyId()const
{
return certifyId_;
}
void InitFaceVerifyRequest::setCertifyId(const std::string& certifyId)
{
certifyId_ = certifyId;
setParameter("CertifyId", certifyId);
}
std::string InitFaceVerifyRequest::getCertNo()const
@@ -93,26 +104,15 @@ void InitFaceVerifyRequest::setCertType(const std::string& certType)
setParameter("CertType", certType);
}
long InitFaceVerifyRequest::getSceneId()const
std::string InitFaceVerifyRequest::getFaceContrastPictureUrl()const
{
return sceneId_;
return faceContrastPictureUrl_;
}
void InitFaceVerifyRequest::setSceneId(long sceneId)
void InitFaceVerifyRequest::setFaceContrastPictureUrl(const std::string& faceContrastPictureUrl)
{
sceneId_ = sceneId;
setParameter("SceneId", std::to_string(sceneId));
}
std::string InitFaceVerifyRequest::getReturnUrl()const
{
return returnUrl_;
}
void InitFaceVerifyRequest::setReturnUrl(const std::string& returnUrl)
{
returnUrl_ = returnUrl;
setParameter("ReturnUrl", returnUrl);
faceContrastPictureUrl_ = faceContrastPictureUrl;
setParameter("FaceContrastPictureUrl", faceContrastPictureUrl);
}
std::string InitFaceVerifyRequest::getMetaInfo()const
@@ -126,3 +126,80 @@ void InitFaceVerifyRequest::setMetaInfo(const std::string& metaInfo)
setParameter("MetaInfo", metaInfo);
}
std::string InitFaceVerifyRequest::getOssObjectName()const
{
return ossObjectName_;
}
void InitFaceVerifyRequest::setOssObjectName(const std::string& ossObjectName)
{
ossObjectName_ = ossObjectName;
setParameter("OssObjectName", ossObjectName);
}
std::string InitFaceVerifyRequest::getCertName()const
{
return certName_;
}
void InitFaceVerifyRequest::setCertName(const std::string& certName)
{
certName_ = certName;
setParameter("CertName", certName);
}
std::string InitFaceVerifyRequest::getIp()const
{
return ip_;
}
void InitFaceVerifyRequest::setIp(const std::string& ip)
{
ip_ = ip;
setParameter("Ip", ip);
}
std::string InitFaceVerifyRequest::getMobile()const
{
return mobile_;
}
void InitFaceVerifyRequest::setMobile(const std::string& mobile)
{
mobile_ = mobile;
setParameter("Mobile", mobile);
}
long InitFaceVerifyRequest::getSceneId()const
{
return sceneId_;
}
void InitFaceVerifyRequest::setSceneId(long sceneId)
{
sceneId_ = sceneId;
setParameter("SceneId", std::to_string(sceneId));
}
std::string InitFaceVerifyRequest::getOssBucketName()const
{
return ossBucketName_;
}
void InitFaceVerifyRequest::setOssBucketName(const std::string& ossBucketName)
{
ossBucketName_ = ossBucketName;
setParameter("OssBucketName", ossBucketName);
}
std::string InitFaceVerifyRequest::getReturnUrl()const
{
return returnUrl_;
}
void InitFaceVerifyRequest::setReturnUrl(const std::string& returnUrl)
{
returnUrl_ = returnUrl;
setParameter("ReturnUrl", returnUrl);
}

218
cloudesl/CMakeLists.txt Normal file
View File

@@ -0,0 +1,218 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(cloudesl_public_header
include/alibabacloud/cloudesl/CloudeslClient.h
include/alibabacloud/cloudesl/CloudeslExport.h )
set(cloudesl_public_header_model
include/alibabacloud/cloudesl/model/ActivateApDeviceRequest.h
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/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/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
include/alibabacloud/cloudesl/model/DescribeBindersResult.h
include/alibabacloud/cloudesl/model/DescribeEslDevicesRequest.h
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/DescribeStoreConfigRequest.h
include/alibabacloud/cloudesl/model/DescribeStoreConfigResult.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
include/alibabacloud/cloudesl/model/UnassignUserResult.h
include/alibabacloud/cloudesl/model/UnbindEslDeviceRequest.h
include/alibabacloud/cloudesl/model/UnbindEslDeviceResult.h
include/alibabacloud/cloudesl/model/UpdateEslDeviceLightRequest.h
include/alibabacloud/cloudesl/model/UpdateEslDeviceLightResult.h
include/alibabacloud/cloudesl/model/UpdateStoreRequest.h
include/alibabacloud/cloudesl/model/UpdateStoreResult.h
include/alibabacloud/cloudesl/model/UpdateStoreConfigRequest.h
include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h )
set(cloudesl_src
src/CloudeslClient.cc
src/model/ActivateApDeviceRequest.cc
src/model/ActivateApDeviceResult.cc
src/model/AddApDeviceRequest.cc
src/model/AddApDeviceResult.cc
src/model/AddPlanogramShelfRequest.cc
src/model/AddPlanogramShelfResult.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/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
src/model/DescribeBindersResult.cc
src/model/DescribeEslDevicesRequest.cc
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/DescribeStoreConfigRequest.cc
src/model/DescribeStoreConfigResult.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
src/model/UnassignUserResult.cc
src/model/UnbindEslDeviceRequest.cc
src/model/UnbindEslDeviceResult.cc
src/model/UpdateEslDeviceLightRequest.cc
src/model/UpdateEslDeviceLightResult.cc
src/model/UpdateStoreRequest.cc
src/model/UpdateStoreResult.cc
src/model/UpdateStoreConfigRequest.cc
src/model/UpdateStoreConfigResult.cc )
add_library(cloudesl ${LIB_TYPE}
${cloudesl_public_header}
${cloudesl_public_header_model}
${cloudesl_src})
set_target_properties(cloudesl
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}cloudesl
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(cloudesl
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_CLOUDESL_LIBRARY)
endif()
target_include_directories(cloudesl
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(cloudesl
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(cloudesl
jsoncpp)
target_include_directories(cloudesl
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(cloudesl
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(cloudesl
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(cloudesl
PRIVATE /usr/include/jsoncpp)
target_link_libraries(cloudesl
jsoncpp)
endif()
install(FILES ${cloudesl_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cloudesl)
install(FILES ${cloudesl_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cloudesl/model)
install(TARGETS cloudesl
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,318 @@
/*
* 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_CLOUDESLCLIENT_H_
#define ALIBABACLOUD_CLOUDESL_CLOUDESLCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "CloudeslExport.h"
#include "model/ActivateApDeviceRequest.h"
#include "model/ActivateApDeviceResult.h"
#include "model/AddApDeviceRequest.h"
#include "model/AddApDeviceResult.h"
#include "model/AddPlanogramShelfRequest.h"
#include "model/AddPlanogramShelfResult.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/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"
#include "model/DescribeBindersResult.h"
#include "model/DescribeEslDevicesRequest.h"
#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/DescribeStoreConfigRequest.h"
#include "model/DescribeStoreConfigResult.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"
#include "model/UnassignUserResult.h"
#include "model/UnbindEslDeviceRequest.h"
#include "model/UnbindEslDeviceResult.h"
#include "model/UpdateEslDeviceLightRequest.h"
#include "model/UpdateEslDeviceLightResult.h"
#include "model/UpdateStoreRequest.h"
#include "model/UpdateStoreResult.h"
#include "model/UpdateStoreConfigRequest.h"
#include "model/UpdateStoreConfigResult.h"
namespace AlibabaCloud
{
namespace Cloudesl
{
class ALIBABACLOUD_CLOUDESL_EXPORT CloudeslClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::ActivateApDeviceResult> ActivateApDeviceOutcome;
typedef std::future<ActivateApDeviceOutcome> ActivateApDeviceOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::ActivateApDeviceRequest&, const ActivateApDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActivateApDeviceAsyncHandler;
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::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::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;
typedef Outcome<Error, Model::DescribeBindersResult> DescribeBindersOutcome;
typedef std::future<DescribeBindersOutcome> DescribeBindersOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeBindersRequest&, const DescribeBindersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBindersAsyncHandler;
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;
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::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::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;
typedef Outcome<Error, Model::DescribeUserLogResult> DescribeUserLogOutcome;
typedef std::future<DescribeUserLogOutcome> DescribeUserLogOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeUserLogRequest&, const DescribeUserLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserLogAsyncHandler;
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;
typedef Outcome<Error, Model::UnassignUserResult> UnassignUserOutcome;
typedef std::future<UnassignUserOutcome> UnassignUserOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::UnassignUserRequest&, const UnassignUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnassignUserAsyncHandler;
typedef Outcome<Error, Model::UnbindEslDeviceResult> UnbindEslDeviceOutcome;
typedef std::future<UnbindEslDeviceOutcome> UnbindEslDeviceOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::UnbindEslDeviceRequest&, const UnbindEslDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindEslDeviceAsyncHandler;
typedef Outcome<Error, Model::UpdateEslDeviceLightResult> UpdateEslDeviceLightOutcome;
typedef std::future<UpdateEslDeviceLightOutcome> UpdateEslDeviceLightOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::UpdateEslDeviceLightRequest&, const UpdateEslDeviceLightOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateEslDeviceLightAsyncHandler;
typedef Outcome<Error, Model::UpdateStoreResult> UpdateStoreOutcome;
typedef std::future<UpdateStoreOutcome> UpdateStoreOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::UpdateStoreRequest&, const UpdateStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateStoreAsyncHandler;
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;
CloudeslClient(const Credentials &credentials, const ClientConfiguration &configuration);
CloudeslClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
CloudeslClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~CloudeslClient();
ActivateApDeviceOutcome activateApDevice(const Model::ActivateApDeviceRequest &request)const;
void activateApDeviceAsync(const Model::ActivateApDeviceRequest& request, const ActivateApDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ActivateApDeviceOutcomeCallable activateApDeviceCallable(const Model::ActivateApDeviceRequest& request) const;
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;
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;
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;
DescribeBindersOutcome describeBinders(const Model::DescribeBindersRequest &request)const;
void describeBindersAsync(const Model::DescribeBindersRequest& request, const DescribeBindersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeBindersOutcomeCallable describeBindersCallable(const Model::DescribeBindersRequest& 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;
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;
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;
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;
DescribeUserLogOutcome describeUserLog(const Model::DescribeUserLogRequest &request)const;
void describeUserLogAsync(const Model::DescribeUserLogRequest& request, const DescribeUserLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserLogOutcomeCallable describeUserLogCallable(const Model::DescribeUserLogRequest& request) const;
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;
UnassignUserOutcome unassignUser(const Model::UnassignUserRequest &request)const;
void unassignUserAsync(const Model::UnassignUserRequest& request, const UnassignUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnassignUserOutcomeCallable unassignUserCallable(const Model::UnassignUserRequest& request) const;
UnbindEslDeviceOutcome unbindEslDevice(const Model::UnbindEslDeviceRequest &request)const;
void unbindEslDeviceAsync(const Model::UnbindEslDeviceRequest& request, const UnbindEslDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnbindEslDeviceOutcomeCallable unbindEslDeviceCallable(const Model::UnbindEslDeviceRequest& request) const;
UpdateEslDeviceLightOutcome updateEslDeviceLight(const Model::UpdateEslDeviceLightRequest &request)const;
void updateEslDeviceLightAsync(const Model::UpdateEslDeviceLightRequest& request, const UpdateEslDeviceLightAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateEslDeviceLightOutcomeCallable updateEslDeviceLightCallable(const Model::UpdateEslDeviceLightRequest& request) const;
UpdateStoreOutcome updateStore(const Model::UpdateStoreRequest &request)const;
void updateStoreAsync(const Model::UpdateStoreRequest& request, const UpdateStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateStoreOutcomeCallable updateStoreCallable(const Model::UpdateStoreRequest& request) const;
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;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_CLOUDESL_CLOUDESLCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_CLOUDESLEXPORT_H_
#define ALIBABACLOUD_CLOUDESL_CLOUDESLEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_CLOUDESL_LIBRARY)
# define ALIBABACLOUD_CLOUDESL_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_CLOUDESL_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_CLOUDESL_EXPORT
#endif
#endif // !ALIBABACLOUD_CLOUDESL_CLOUDESLEXPORT_H_

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_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 getShelfType()const;
void setShelfType(const std::string& shelfType);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
std::string getShelf()const;
void setShelf(const std::string& shelf);
private:
std::string shelfType_;
std::string storeId_;
std::string shelf_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFREQUEST_H_

View File

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

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,105 @@
/*
* 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_BATCHINSERTITEMSREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_BATCHINSERTITEMSREQUEST_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 BatchInsertItemsRequest : public RpcServiceRequest
{
public:
struct ItemInfo
{
int memberPrice;
int actionPrice;
bool beSourceCode;
std::string brandName;
std::string promotionStart;
std::string priceUnit;
std::string rank;
int itemInfoIndex;
std::string itemBarCode;
std::string customizeFeatureK;
std::string customizeFeatureL;
std::string customizeFeatureM;
bool bePromotion;
std::string customizeFeatureN;
std::string customizeFeatureO;
std::string promotionEnd;
std::string itemTitle;
std::string customizeFeatureC;
std::string customizeFeatureD;
std::string itemQrCode;
std::string customizeFeatureE;
std::string inventoryStatus;
std::string promotionReason;
std::string customizeFeatureF;
std::string customizeFeatureG;
std::string customizeFeatureH;
std::string customizeFeatureI;
std::string customizeFeatureJ;
std::string customizeFeatureA;
std::string customizeFeatureB;
int suggestPrice;
std::string forestFirstId;
std::string productionPlace;
std::string manufacturer;
std::string sourceCode;
std::string itemId;
int salesPrice;
int originalPrice;
std::string itemShortTitle;
std::string forestSecondId;
std::string itemPicUrl;
std::string supplierName;
std::string material;
std::string modelNumber;
std::string saleSpec;
std::string categoryName;
std::string taxFee;
std::string energyEfficiency;
std::string promotionText;
std::string skuId;
};
public:
BatchInsertItemsRequest();
~BatchInsertItemsRequest();
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
std::vector<ItemInfo> getItemInfo()const;
void setItemInfo(const std::vector<ItemInfo>& itemInfo);
private:
std::string storeId_;
std::vector<ItemInfo> itemInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BATCHINSERTITEMSREQUEST_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_CLOUDESL_MODEL_BATCHINSERTITEMSRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_BATCHINSERTITEMSRESULT_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 BatchInsertItemsResult : public ServiceResult
{
public:
struct BatchResult
{
std::string message;
int index;
std::string errorCode;
bool success;
};
BatchInsertItemsResult();
explicit BatchInsertItemsResult(const std::string &payload);
~BatchInsertItemsResult();
std::string getMessage()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::vector<BatchResult> getBatchResults()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::vector<BatchResult> batchResults_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BATCHINSERTITEMSRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_BINDESLDEVICEREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_BINDESLDEVICEREQUEST_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 BindEslDeviceRequest : public RpcServiceRequest
{
public:
BindEslDeviceRequest();
~BindEslDeviceRequest();
std::string getColumn()const;
void setColumn(const std::string& column);
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 getEslBarCode()const;
void setEslBarCode(const std::string& eslBarCode);
std::string getItemBarCode()const;
void setItemBarCode(const std::string& itemBarCode);
private:
std::string column_;
std::string storeId_;
int layer_;
std::string shelf_;
std::string eslBarCode_;
std::string itemBarCode_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BINDESLDEVICEREQUEST_H_

View File

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

View File

@@ -0,0 +1,76 @@
/*
* 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);
bool getBeAutoRefresh()const;
void setBeAutoRefresh(bool beAutoRefresh);
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 getLayerOrigin()const;
void setLayerOrigin(const std::string& layerOrigin);
std::vector<ShelfPositionInfo> getShelfPositionInfo()const;
void setShelfPositionInfo(const std::vector<ShelfPositionInfo>& shelfPositionInfo);
private:
std::string actionType_;
bool beAutoRefresh_;
std::string storeId_;
int layer_;
std::string shelf_;
std::string layerOrigin_;
std::vector<ShelfPositionInfo> shelfPositionInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSREQUEST_H_

View File

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

@@ -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_CREATESTOREREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_CREATESTOREREQUEST_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 CreateStoreRequest : public RpcServiceRequest
{
public:
CreateStoreRequest();
~CreateStoreRequest();
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getParentId()const;
void setParentId(const std::string& parentId);
std::string getPhone()const;
void setPhone(const std::string& phone);
std::string getUserStoreCode()const;
void setUserStoreCode(const std::string& userStoreCode);
private:
std::string storeName_;
std::string parentId_;
std::string phone_;
std::string userStoreCode_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_CREATESTOREREQUEST_H_

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

@@ -0,0 +1,91 @@
/*
* 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

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAPDEVICESREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAPDEVICESREQUEST_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 DescribeApDevicesRequest : public RpcServiceRequest
{
public:
DescribeApDevicesRequest();
~DescribeApDevicesRequest();
std::string getApMac()const;
void setApMac(const std::string& apMac);
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 getModel()const;
void setModel(const std::string& model);
bool getBeActivate()const;
void setBeActivate(bool beActivate);
bool getStatus()const;
void setStatus(bool status);
private:
std::string apMac_;
std::string storeId_;
int pageNumber_;
int pageSize_;
std::string model_;
bool beActivate_;
bool status_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAPDEVICESREQUEST_H_

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAPDEVICESRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAPDEVICESRESULT_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 DescribeApDevicesResult : public ServiceResult
{
public:
struct ApInfo
{
bool status;
bool beActivate;
std::string storeId;
std::string model;
std::string mac;
std::string remark;
};
DescribeApDevicesResult();
explicit DescribeApDevicesResult(const std::string &payload);
~DescribeApDevicesResult();
int getTotalCount()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
std::string getDynamicCode()const;
std::vector<ApInfo> getApDevices()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string message_;
int pageSize_;
int pageNumber_;
std::string dynamicCode_;
std::vector<ApInfo> apDevices_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEAPDEVICESRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEBINDERSREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEBINDERSREQUEST_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 DescribeBindersRequest : public RpcServiceRequest
{
public:
DescribeBindersRequest();
~DescribeBindersRequest();
std::string getItemTitle()const;
void setItemTitle(const std::string& itemTitle);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getEslBarCode()const;
void setEslBarCode(const std::string& eslBarCode);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getItemBarCode()const;
void setItemBarCode(const std::string& itemBarCode);
private:
std::string itemTitle_;
std::string storeId_;
int pageNumber_;
std::string eslBarCode_;
int pageSize_;
std::string itemBarCode_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEBINDERSREQUEST_H_

View File

@@ -0,0 +1,96 @@
/*
* 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_DESCRIBEBINDERSRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEBINDERSRESULT_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 DescribeBindersResult : public ServiceResult
{
public:
struct EslItemBindInfo
{
std::string bindId;
std::string originalPrice;
std::string gmtModified;
std::string actionPrice;
std::string eslPic;
std::string promotionStart;
std::string itemBarCode;
std::string templateSceneId;
std::string itemId;
std::string promotionText;
std::string promotionEnd;
std::string eslModel;
std::string eslBarCode;
std::string priceUnit;
std::string itemShortTitle;
std::string storeId;
std::string itemTitle;
std::string eslStatus;
std::string skuId;
std::string templateId;
std::string eslConnectAp;
bool bePromotion;
};
DescribeBindersResult();
explicit DescribeBindersResult(const std::string &payload);
~DescribeBindersResult();
int getTotalCount()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
std::vector<EslItemBindInfo> getEslItemBindInfos()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string message_;
int pageSize_;
int pageNumber_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
std::vector<EslItemBindInfo> eslItemBindInfos_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEBINDERSRESULT_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_DESCRIBEESLDEVICESREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICESREQUEST_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 DescribeEslDevicesRequest : public RpcServiceRequest
{
public:
DescribeEslDevicesRequest();
~DescribeEslDevicesRequest();
std::string getType()const;
void setType(const std::string& type);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getEslBarCode()const;
void setEslBarCode(const std::string& eslBarCode);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getEslStatus()const;
void setEslStatus(const std::string& eslStatus);
int getToBatteryLevel()const;
void setToBatteryLevel(int toBatteryLevel);
int getFromBatteryLevel()const;
void setFromBatteryLevel(int fromBatteryLevel);
private:
std::string type_;
std::string storeId_;
int pageNumber_;
std::string eslBarCode_;
int pageSize_;
std::string eslStatus_;
int toBatteryLevel_;
int fromBatteryLevel_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICESREQUEST_H_

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICESRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICESRESULT_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 DescribeEslDevicesResult : public ServiceResult
{
public:
struct EslDeviceInfo
{
std::string eslBarCode;
std::string type;
int batteryLevel;
std::string storeId;
std::string model;
int screenWidth;
std::string eslStatus;
int screenHeight;
std::string lastCommunicateTime;
std::string mac;
};
DescribeEslDevicesResult();
explicit DescribeEslDevicesResult(const std::string &payload);
~DescribeEslDevicesResult();
int getTotalCount()const;
int getPageSize()const;
std::string getMessage()const;
int getPageNumber()const;
std::vector<EslDeviceInfo> getEslDevices()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<EslDeviceInfo> eslDevices_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEESLDEVICESRESULT_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_DESCRIBEITEMSREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEITEMSREQUEST_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 DescribeItemsRequest : public RpcServiceRequest
{
public:
DescribeItemsRequest();
~DescribeItemsRequest();
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getItemId()const;
void setItemId(const std::string& itemId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getItemBarCode()const;
void setItemBarCode(const std::string& itemBarCode);
bool getBePromotion()const;
void setBePromotion(bool bePromotion);
std::string getItemTitle()const;
void setItemTitle(const std::string& itemTitle);
std::string getSkuId()const;
void setSkuId(const std::string& skuId);
private:
std::string storeId_;
int pageNumber_;
std::string itemId_;
int pageSize_;
std::string itemBarCode_;
bool bePromotion_;
std::string itemTitle_;
std::string skuId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEITEMSREQUEST_H_

View File

@@ -0,0 +1,124 @@
/*
* 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_DESCRIBEITEMSRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEITEMSRESULT_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 DescribeItemsResult : public ServiceResult
{
public:
struct ItemInfo
{
std::string saleSpec;
int originalPrice;
std::string promotionStart;
std::string itemId;
std::string promotionEnd;
std::string brandName;
std::string energyEfficiency;
std::string inventoryStatus;
std::string manufacturer;
std::string taxFee;
std::string customizeFeatureJ;
std::string modelNumber;
std::string customizeFeatureI;
std::string customizeFeatureH;
std::string customizeFeatureG;
std::string promotionReason;
std::string customizeFeatureF;
std::string customizeFeatureE;
std::string customizeFeatureD;
std::string customizeFeatureC;
std::string customizeFeatureO;
std::string customizeFeatureN;
std::string customizeFeatureM;
std::string customizeFeatureL;
std::string customizeFeatureK;
int itemInfoIndex;
std::string itemQrCode;
std::string customizeFeatureB;
std::string customizeFeatureA;
int memberPrice;
std::string skuId;
bool bePromotion;
int suggestPrice;
std::string sourceCode;
std::string itemBarCode;
int salesPrice;
std::string itemShortTitle;
std::string itemPicUrl;
std::string itemTitle;
std::string productionPlace;
std::string forestFirstId;
int actionPrice;
std::string material;
std::string rank;
std::string forestSecondId;
std::string promotionText;
std::string priceUnit;
std::string supplierName;
std::string categoryName;
bool beSourceCode;
};
DescribeItemsResult();
explicit DescribeItemsResult(const std::string &payload);
~DescribeItemsResult();
int getTotalCount()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<ItemInfo> getItems()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string message_;
int pageSize_;
int pageNumber_;
std::vector<ItemInfo> items_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEITEMSRESULT_H_

View File

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

View File

@@ -0,0 +1,86 @@
/*
* 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

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

View File

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

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_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 getStoreId()const;
void setStoreId(const std::string& storeId);
int getLayer()const;
void setLayer(int layer);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getShelf()const;
void setShelf(const std::string& shelf);
std::string getRailCode()const;
void setRailCode(const std::string& railCode);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string storeId_;
int layer_;
int pageNumber_;
std::string shelf_;
std::string railCode_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSREQUEST_H_

View File

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

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

View File

@@ -0,0 +1,76 @@
/*
* 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 shelf;
std::vector<ShelfInfo::LayerInfo> layerInfos;
};
DescribePlanogramShelvesResult();
explicit DescribePlanogramShelvesResult(const std::string &payload);
~DescribePlanogramShelvesResult();
std::vector<ShelfInfo> getShelfInfos()const;
std::string getMessage()const;
std::string getStoreId()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_;
std::string message_;
std::string storeId_;
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

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

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESREQUEST_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 DescribeStoresRequest : public RpcServiceRequest
{
public:
DescribeStoresRequest();
~DescribeStoresRequest();
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getFromDate()const;
void setFromDate(const std::string& fromDate);
std::string getToDate()const;
void setToDate(const std::string& toDate);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getUserStoreCode()const;
void setUserStoreCode(const std::string& userStoreCode);
private:
std::string storeName_;
std::string storeId_;
int pageNumber_;
std::string fromDate_;
std::string toDate_;
int pageSize_;
std::string userStoreCode_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESREQUEST_H_

View File

@@ -0,0 +1,82 @@
/*
* 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_DESCRIBESTORESRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESRESULT_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 DescribeStoresResult : public ServiceResult
{
public:
struct StoreInfo
{
std::string parentId;
std::string gmtCreate;
std::string userStoreCode;
std::string storeName;
std::string storeId;
std::string phone;
std::string gmtModified;
std::string level;
};
DescribeStoresResult();
explicit DescribeStoresResult(const std::string &payload);
~DescribeStoresResult();
int getTotalCount()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
std::string getDynamicCode()const;
std::vector<StoreInfo> getStores()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string message_;
int pageSize_;
int pageNumber_;
std::string dynamicCode_;
std::vector<StoreInfo> stores_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESRESULT_H_

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGREQUEST_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 DescribeUserLogRequest : public RpcServiceRequest
{
public:
DescribeUserLogRequest();
~DescribeUserLogRequest();
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
std::string getUserId()const;
void setUserId(const std::string& userId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getFromDate()const;
void setFromDate(const std::string& fromDate);
std::string getOperationStatus()const;
void setOperationStatus(const std::string& operationStatus);
std::string getToDate()const;
void setToDate(const std::string& toDate);
std::string getEslBarCode()const;
void setEslBarCode(const std::string& eslBarCode);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getItemBarCode()const;
void setItemBarCode(const std::string& itemBarCode);
std::string getItemShortTitle()const;
void setItemShortTitle(const std::string& itemShortTitle);
std::string getOperationType()const;
void setOperationType(const std::string& operationType);
std::string getLogId()const;
void setLogId(const std::string& logId);
private:
std::string storeId_;
std::string userId_;
int pageNumber_;
std::string fromDate_;
std::string operationStatus_;
std::string toDate_;
std::string eslBarCode_;
int pageSize_;
std::string itemBarCode_;
std::string itemShortTitle_;
std::string operationType_;
std::string logId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGREQUEST_H_

View File

@@ -0,0 +1,92 @@
/*
* 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_DESCRIBEUSERLOGRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGRESULT_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 DescribeUserLogResult : public ServiceResult
{
public:
struct UserLogInfo
{
std::string operationResponseTime;
std::string gmtModified;
std::string actionPrice;
std::string operationSendTime;
std::string itemBarCode;
std::string spendTime;
std::string itemId;
std::string gmtCreate;
std::string eslBarCode;
std::string priceUnit;
std::string itemShortTitle;
std::string storeId;
std::string userId;
std::string operationStatus;
std::string operationType;
std::string logId;
std::string resultCode;
bool bePromotion;
};
DescribeUserLogResult();
explicit DescribeUserLogResult(const std::string &payload);
~DescribeUserLogResult();
int getTotalCount()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
std::vector<UserLogInfo> getUserLogs()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string message_;
int pageSize_;
int pageNumber_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
std::vector<UserLogInfo> userLogs_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGRESULT_H_

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_DESCRIBEUSERSREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERSREQUEST_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 DescribeUsersRequest : public RpcServiceRequest
{
public:
DescribeUsersRequest();
~DescribeUsersRequest();
std::string getUserType()const;
void setUserType(const std::string& userType);
std::string getUserId()const;
void setUserId(const std::string& userId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getUserName()const;
void setUserName(const std::string& userName);
private:
std::string userType_;
std::string userId_;
int pageNumber_;
int pageSize_;
std::string userName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERSREQUEST_H_

View File

@@ -0,0 +1,78 @@
/*
* 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_DESCRIBEUSERSRESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERSRESULT_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 DescribeUsersResult : public ServiceResult
{
public:
struct UserInfo
{
std::string userName;
std::string userId;
std::string stores;
std::string userType;
};
DescribeUsersResult();
explicit DescribeUsersResult(const std::string &payload);
~DescribeUsersResult();
int getTotalCount()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
std::string getDynamicCode()const;
std::vector<UserInfo> getUsers()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string message_;
int pageSize_;
int pageNumber_;
std::string dynamicCode_;
std::vector<UserInfo> users_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERSRESULT_H_

View File

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

View File

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

View File

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

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