Compare commits
42 Commits
Push-patch
...
Drds-patch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f76139580d | ||
|
|
444bea3a37 | ||
|
|
6a7977923c | ||
|
|
b4903d0fd0 | ||
|
|
838459913d | ||
|
|
d689d06eb7 | ||
|
|
dcb1633973 | ||
|
|
a180b00ed8 | ||
|
|
0ccab36f2f | ||
|
|
cc8cf316cd | ||
|
|
1908e64fa6 | ||
|
|
8f6d6d4d1d | ||
|
|
e5ea19cdfb | ||
|
|
55c7cdde91 | ||
|
|
836913a2a9 | ||
|
|
b34cb31a9a | ||
|
|
8ef1e983c1 | ||
|
|
3845e06de3 | ||
|
|
a349057ec2 | ||
|
|
0cf373bc60 | ||
|
|
1309d87fdb | ||
|
|
a46f82a069 | ||
|
|
b7d2e0b4a6 | ||
|
|
6eacc742a1 | ||
|
|
3c4d33ab51 | ||
|
|
cf6cbae712 | ||
|
|
6dc38f165b | ||
|
|
6393d2204b | ||
|
|
f4138c76d6 | ||
|
|
d7a89ac3dc | ||
|
|
b98f01cab4 | ||
|
|
675ab8f60f | ||
|
|
9fd70bc2bf | ||
|
|
ee91c28732 | ||
|
|
ec9ecb41d2 | ||
|
|
272e447860 | ||
|
|
3af83f0124 | ||
|
|
2f31a44faf | ||
|
|
512b1bb5c5 | ||
|
|
564c05144a | ||
|
|
8aa1d22f90 | ||
|
|
14ebba9911 |
126
CHANGELOG
126
CHANGELOG
@@ -1,3 +1,129 @@
|
|||||||
|
2020-10-28 Version: patch
|
||||||
|
- Supported golang sdk.
|
||||||
|
- Fixed some bugs for drds.
|
||||||
|
|
||||||
|
2020-10-27 Version: patch
|
||||||
|
- Support DescribePendingMaintenanceAction.
|
||||||
|
- Support ModifyPendingMaintenanceAction.
|
||||||
|
- Support DescribePendingMaintenanceActions.
|
||||||
|
|
||||||
|
2020-10-27 Version: patch
|
||||||
|
- Generated 2020-05-18 for `dataworks-public`.
|
||||||
|
|
||||||
|
2020-10-27 Version: patch
|
||||||
|
- Support Sampling for jaeger.
|
||||||
|
|
||||||
|
2020-10-27 Version: patch
|
||||||
|
- Fix bug.
|
||||||
|
|
||||||
|
2020-10-27 Version: patch
|
||||||
|
- Add role authority management.
|
||||||
|
|
||||||
|
2020-10-26 Version: patch
|
||||||
|
- Generated 2014-05-26 for `Ecs`.
|
||||||
|
|
||||||
|
2020-10-26 Version: patch
|
||||||
|
- Generated 2016-11-01 for `live`.
|
||||||
|
|
||||||
|
2020-10-26 Version: patch
|
||||||
|
- Supported PaymentType for DescribeDnsProductInstance.
|
||||||
|
|
||||||
|
2020-10-26 Version: patch
|
||||||
|
- Update ScalingConfig parameters.
|
||||||
|
|
||||||
|
2020-10-23 Version: patch
|
||||||
|
- Change Configuration.
|
||||||
|
|
||||||
|
2020-10-23 Version: patch
|
||||||
|
- Update DetectLungNodule.
|
||||||
|
|
||||||
|
2020-10-23 Version: patch
|
||||||
|
- Support feedback.
|
||||||
|
|
||||||
|
2020-10-22 Version: patch
|
||||||
|
- Add Pipeline Member api.
|
||||||
|
|
||||||
|
2020-10-22 Version: patch
|
||||||
|
- Update data API.
|
||||||
|
|
||||||
|
2020-10-22 Version: patch
|
||||||
|
- Update cert API.
|
||||||
|
|
||||||
|
2020-10-22 Version: patch
|
||||||
|
- Update data API.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- DescribeAvailableResource support AcceptLanguage.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Change Documentation configuration.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Cloud Storage Gateway openapi sdk is released.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Release latest features.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Change Documentation configuration.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Change Documentation configuration.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Update cert API.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Add PHP sdk.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Update Scdn API.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Support modifyInstnaceType.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Add LivenessFaceVerify API.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Update Configuration.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Add isv interface.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Generated 2016-11-01 for `live`.
|
||||||
|
|
||||||
|
2020-10-19 Version: patch
|
||||||
|
- Add a new interface for asynchronous image translation.
|
||||||
|
|
||||||
|
2020-10-19 Version: patch
|
||||||
|
- Metering 1019.
|
||||||
|
|
||||||
|
2020-10-19 Version: patch
|
||||||
|
- Metering 1019.
|
||||||
|
|
||||||
|
2020-10-19 Version: patch
|
||||||
|
- Metering 1019.
|
||||||
|
|
||||||
|
2020-10-17 Version: patch
|
||||||
|
- Metering.
|
||||||
|
|
||||||
|
2020-10-17 Version: patch
|
||||||
|
- Metering.
|
||||||
|
|
||||||
|
2020-10-16 Version: patch
|
||||||
|
- Metering.
|
||||||
|
|
||||||
|
2020-10-16 Version: patch
|
||||||
|
- Metering.
|
||||||
|
|
||||||
|
2020-10-16 Version: patch
|
||||||
|
- Metering.
|
||||||
|
|
||||||
|
2020-10-16 Version: patch
|
||||||
|
- Metering.
|
||||||
|
|
||||||
2020-10-16 Version: patch
|
2020-10-16 Version: patch
|
||||||
- Supported AndroidNotificationNotifyId for Push and MassPush.
|
- Supported AndroidNotificationNotifyId for Push and MassPush.
|
||||||
- Supported iOSNotificationCollapseId for Push and MassPush.
|
- Supported iOSNotificationCollapseId for Push and MassPush.
|
||||||
|
|||||||
@@ -77,6 +77,18 @@ set(alidns_public_header_model
|
|||||||
include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h
|
include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h
|
||||||
include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h
|
include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h
|
||||||
include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h
|
include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohAccountStatisticsRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohAccountStatisticsResult.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsResult.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryResult.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsResult.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryResult.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohUserInfoRequest.h
|
||||||
|
include/alibabacloud/alidns/model/DescribeDohUserInfoResult.h
|
||||||
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoRequest.h
|
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoRequest.h
|
||||||
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoResult.h
|
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoResult.h
|
||||||
include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h
|
include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h
|
||||||
@@ -262,6 +274,18 @@ set(alidns_src
|
|||||||
src/model/DescribeDnsProductInstanceResult.cc
|
src/model/DescribeDnsProductInstanceResult.cc
|
||||||
src/model/DescribeDnsProductInstancesRequest.cc
|
src/model/DescribeDnsProductInstancesRequest.cc
|
||||||
src/model/DescribeDnsProductInstancesResult.cc
|
src/model/DescribeDnsProductInstancesResult.cc
|
||||||
|
src/model/DescribeDohAccountStatisticsRequest.cc
|
||||||
|
src/model/DescribeDohAccountStatisticsResult.cc
|
||||||
|
src/model/DescribeDohDomainStatisticsRequest.cc
|
||||||
|
src/model/DescribeDohDomainStatisticsResult.cc
|
||||||
|
src/model/DescribeDohDomainStatisticsSummaryRequest.cc
|
||||||
|
src/model/DescribeDohDomainStatisticsSummaryResult.cc
|
||||||
|
src/model/DescribeDohSubDomainStatisticsRequest.cc
|
||||||
|
src/model/DescribeDohSubDomainStatisticsResult.cc
|
||||||
|
src/model/DescribeDohSubDomainStatisticsSummaryRequest.cc
|
||||||
|
src/model/DescribeDohSubDomainStatisticsSummaryResult.cc
|
||||||
|
src/model/DescribeDohUserInfoRequest.cc
|
||||||
|
src/model/DescribeDohUserInfoResult.cc
|
||||||
src/model/DescribeDomainDnssecInfoRequest.cc
|
src/model/DescribeDomainDnssecInfoRequest.cc
|
||||||
src/model/DescribeDomainDnssecInfoResult.cc
|
src/model/DescribeDomainDnssecInfoResult.cc
|
||||||
src/model/DescribeDomainGroupsRequest.cc
|
src/model/DescribeDomainGroupsRequest.cc
|
||||||
|
|||||||
@@ -78,6 +78,18 @@
|
|||||||
#include "model/DescribeDnsProductInstanceResult.h"
|
#include "model/DescribeDnsProductInstanceResult.h"
|
||||||
#include "model/DescribeDnsProductInstancesRequest.h"
|
#include "model/DescribeDnsProductInstancesRequest.h"
|
||||||
#include "model/DescribeDnsProductInstancesResult.h"
|
#include "model/DescribeDnsProductInstancesResult.h"
|
||||||
|
#include "model/DescribeDohAccountStatisticsRequest.h"
|
||||||
|
#include "model/DescribeDohAccountStatisticsResult.h"
|
||||||
|
#include "model/DescribeDohDomainStatisticsRequest.h"
|
||||||
|
#include "model/DescribeDohDomainStatisticsResult.h"
|
||||||
|
#include "model/DescribeDohDomainStatisticsSummaryRequest.h"
|
||||||
|
#include "model/DescribeDohDomainStatisticsSummaryResult.h"
|
||||||
|
#include "model/DescribeDohSubDomainStatisticsRequest.h"
|
||||||
|
#include "model/DescribeDohSubDomainStatisticsResult.h"
|
||||||
|
#include "model/DescribeDohSubDomainStatisticsSummaryRequest.h"
|
||||||
|
#include "model/DescribeDohSubDomainStatisticsSummaryResult.h"
|
||||||
|
#include "model/DescribeDohUserInfoRequest.h"
|
||||||
|
#include "model/DescribeDohUserInfoResult.h"
|
||||||
#include "model/DescribeDomainDnssecInfoRequest.h"
|
#include "model/DescribeDomainDnssecInfoRequest.h"
|
||||||
#include "model/DescribeDomainDnssecInfoResult.h"
|
#include "model/DescribeDomainDnssecInfoResult.h"
|
||||||
#include "model/DescribeDomainGroupsRequest.h"
|
#include "model/DescribeDomainGroupsRequest.h"
|
||||||
@@ -297,6 +309,24 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeDnsProductInstancesResult> DescribeDnsProductInstancesOutcome;
|
typedef Outcome<Error, Model::DescribeDnsProductInstancesResult> DescribeDnsProductInstancesOutcome;
|
||||||
typedef std::future<DescribeDnsProductInstancesOutcome> DescribeDnsProductInstancesOutcomeCallable;
|
typedef std::future<DescribeDnsProductInstancesOutcome> DescribeDnsProductInstancesOutcomeCallable;
|
||||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsProductInstancesRequest&, const DescribeDnsProductInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsProductInstancesAsyncHandler;
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsProductInstancesRequest&, const DescribeDnsProductInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsProductInstancesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDohAccountStatisticsResult> DescribeDohAccountStatisticsOutcome;
|
||||||
|
typedef std::future<DescribeDohAccountStatisticsOutcome> DescribeDohAccountStatisticsOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohAccountStatisticsRequest&, const DescribeDohAccountStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohAccountStatisticsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDohDomainStatisticsResult> DescribeDohDomainStatisticsOutcome;
|
||||||
|
typedef std::future<DescribeDohDomainStatisticsOutcome> DescribeDohDomainStatisticsOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohDomainStatisticsRequest&, const DescribeDohDomainStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohDomainStatisticsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDohDomainStatisticsSummaryResult> DescribeDohDomainStatisticsSummaryOutcome;
|
||||||
|
typedef std::future<DescribeDohDomainStatisticsSummaryOutcome> DescribeDohDomainStatisticsSummaryOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohDomainStatisticsSummaryRequest&, const DescribeDohDomainStatisticsSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohDomainStatisticsSummaryAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDohSubDomainStatisticsResult> DescribeDohSubDomainStatisticsOutcome;
|
||||||
|
typedef std::future<DescribeDohSubDomainStatisticsOutcome> DescribeDohSubDomainStatisticsOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohSubDomainStatisticsRequest&, const DescribeDohSubDomainStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohSubDomainStatisticsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDohSubDomainStatisticsSummaryResult> DescribeDohSubDomainStatisticsSummaryOutcome;
|
||||||
|
typedef std::future<DescribeDohSubDomainStatisticsSummaryOutcome> DescribeDohSubDomainStatisticsSummaryOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohSubDomainStatisticsSummaryRequest&, const DescribeDohSubDomainStatisticsSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohSubDomainStatisticsSummaryAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDohUserInfoResult> DescribeDohUserInfoOutcome;
|
||||||
|
typedef std::future<DescribeDohUserInfoOutcome> DescribeDohUserInfoOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDohUserInfoRequest&, const DescribeDohUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDohUserInfoAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeDomainDnssecInfoResult> DescribeDomainDnssecInfoOutcome;
|
typedef Outcome<Error, Model::DescribeDomainDnssecInfoResult> DescribeDomainDnssecInfoOutcome;
|
||||||
typedef std::future<DescribeDomainDnssecInfoOutcome> DescribeDomainDnssecInfoOutcomeCallable;
|
typedef std::future<DescribeDomainDnssecInfoOutcome> DescribeDomainDnssecInfoOutcomeCallable;
|
||||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainDnssecInfoRequest&, const DescribeDomainDnssecInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainDnssecInfoAsyncHandler;
|
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainDnssecInfoRequest&, const DescribeDomainDnssecInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainDnssecInfoAsyncHandler;
|
||||||
@@ -575,6 +605,24 @@ namespace AlibabaCloud
|
|||||||
DescribeDnsProductInstancesOutcome describeDnsProductInstances(const Model::DescribeDnsProductInstancesRequest &request)const;
|
DescribeDnsProductInstancesOutcome describeDnsProductInstances(const Model::DescribeDnsProductInstancesRequest &request)const;
|
||||||
void describeDnsProductInstancesAsync(const Model::DescribeDnsProductInstancesRequest& request, const DescribeDnsProductInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeDnsProductInstancesAsync(const Model::DescribeDnsProductInstancesRequest& request, const DescribeDnsProductInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeDnsProductInstancesOutcomeCallable describeDnsProductInstancesCallable(const Model::DescribeDnsProductInstancesRequest& request) const;
|
DescribeDnsProductInstancesOutcomeCallable describeDnsProductInstancesCallable(const Model::DescribeDnsProductInstancesRequest& request) const;
|
||||||
|
DescribeDohAccountStatisticsOutcome describeDohAccountStatistics(const Model::DescribeDohAccountStatisticsRequest &request)const;
|
||||||
|
void describeDohAccountStatisticsAsync(const Model::DescribeDohAccountStatisticsRequest& request, const DescribeDohAccountStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDohAccountStatisticsOutcomeCallable describeDohAccountStatisticsCallable(const Model::DescribeDohAccountStatisticsRequest& request) const;
|
||||||
|
DescribeDohDomainStatisticsOutcome describeDohDomainStatistics(const Model::DescribeDohDomainStatisticsRequest &request)const;
|
||||||
|
void describeDohDomainStatisticsAsync(const Model::DescribeDohDomainStatisticsRequest& request, const DescribeDohDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDohDomainStatisticsOutcomeCallable describeDohDomainStatisticsCallable(const Model::DescribeDohDomainStatisticsRequest& request) const;
|
||||||
|
DescribeDohDomainStatisticsSummaryOutcome describeDohDomainStatisticsSummary(const Model::DescribeDohDomainStatisticsSummaryRequest &request)const;
|
||||||
|
void describeDohDomainStatisticsSummaryAsync(const Model::DescribeDohDomainStatisticsSummaryRequest& request, const DescribeDohDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDohDomainStatisticsSummaryOutcomeCallable describeDohDomainStatisticsSummaryCallable(const Model::DescribeDohDomainStatisticsSummaryRequest& request) const;
|
||||||
|
DescribeDohSubDomainStatisticsOutcome describeDohSubDomainStatistics(const Model::DescribeDohSubDomainStatisticsRequest &request)const;
|
||||||
|
void describeDohSubDomainStatisticsAsync(const Model::DescribeDohSubDomainStatisticsRequest& request, const DescribeDohSubDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDohSubDomainStatisticsOutcomeCallable describeDohSubDomainStatisticsCallable(const Model::DescribeDohSubDomainStatisticsRequest& request) const;
|
||||||
|
DescribeDohSubDomainStatisticsSummaryOutcome describeDohSubDomainStatisticsSummary(const Model::DescribeDohSubDomainStatisticsSummaryRequest &request)const;
|
||||||
|
void describeDohSubDomainStatisticsSummaryAsync(const Model::DescribeDohSubDomainStatisticsSummaryRequest& request, const DescribeDohSubDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDohSubDomainStatisticsSummaryOutcomeCallable describeDohSubDomainStatisticsSummaryCallable(const Model::DescribeDohSubDomainStatisticsSummaryRequest& request) const;
|
||||||
|
DescribeDohUserInfoOutcome describeDohUserInfo(const Model::DescribeDohUserInfoRequest &request)const;
|
||||||
|
void describeDohUserInfoAsync(const Model::DescribeDohUserInfoRequest& request, const DescribeDohUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDohUserInfoOutcomeCallable describeDohUserInfoCallable(const Model::DescribeDohUserInfoRequest& request) const;
|
||||||
DescribeDomainDnssecInfoOutcome describeDomainDnssecInfo(const Model::DescribeDomainDnssecInfoRequest &request)const;
|
DescribeDomainDnssecInfoOutcome describeDomainDnssecInfo(const Model::DescribeDomainDnssecInfoRequest &request)const;
|
||||||
void describeDomainDnssecInfoAsync(const Model::DescribeDomainDnssecInfoRequest& request, const DescribeDomainDnssecInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeDomainDnssecInfoAsync(const Model::DescribeDomainDnssecInfoRequest& request, const DescribeDomainDnssecInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeDomainDnssecInfoOutcomeCallable describeDomainDnssecInfoCallable(const Model::DescribeDomainDnssecInfoRequest& request) const;
|
DescribeDomainDnssecInfoOutcomeCallable describeDomainDnssecInfoCallable(const Model::DescribeDomainDnssecInfoRequest& request) const;
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ namespace AlibabaCloud
|
|||||||
std::string getDnsSecurity()const;
|
std::string getDnsSecurity()const;
|
||||||
long getURLForwardCount()const;
|
long getURLForwardCount()const;
|
||||||
long getTTLMinValue()const;
|
long getTTLMinValue()const;
|
||||||
|
std::string getPaymentType()const;
|
||||||
std::string getVersionName()const;
|
std::string getVersionName()const;
|
||||||
std::string getOverseaLine()const;
|
std::string getOverseaLine()const;
|
||||||
std::string getISPRegionLines()const;
|
std::string getISPRegionLines()const;
|
||||||
@@ -87,6 +88,7 @@ namespace AlibabaCloud
|
|||||||
std::string dnsSecurity_;
|
std::string dnsSecurity_;
|
||||||
long uRLForwardCount_;
|
long uRLForwardCount_;
|
||||||
long tTLMinValue_;
|
long tTLMinValue_;
|
||||||
|
std::string paymentType_;
|
||||||
std::string versionName_;
|
std::string versionName_;
|
||||||
std::string overseaLine_;
|
std::string overseaLine_;
|
||||||
std::string iSPRegionLines_;
|
std::string iSPRegionLines_;
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ namespace AlibabaCloud
|
|||||||
std::string dnsSecurity;
|
std::string dnsSecurity;
|
||||||
long uRLForwardCount;
|
long uRLForwardCount;
|
||||||
long tTLMinValue;
|
long tTLMinValue;
|
||||||
|
std::string paymentType;
|
||||||
std::string versionName;
|
std::string versionName;
|
||||||
std::string overseaLine;
|
std::string overseaLine;
|
||||||
std::string iSPRegionLines;
|
std::string iSPRegionLines;
|
||||||
|
|||||||
@@ -14,41 +14,41 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSREQUEST_H_
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSREQUEST_H_
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSREQUEST_H_
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Cloudesl
|
namespace Alidns
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramPositionsRequest : public RpcServiceRequest
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohAccountStatisticsRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DescribePlanogramPositionsRequest();
|
DescribeDohAccountStatisticsRequest();
|
||||||
~DescribePlanogramPositionsRequest();
|
~DescribeDohAccountStatisticsRequest();
|
||||||
|
|
||||||
std::string getStoreId()const;
|
std::string getStartDate()const;
|
||||||
void setStoreId(const std::string& storeId);
|
void setStartDate(const std::string& startDate);
|
||||||
int getLayer()const;
|
std::string getEndDate()const;
|
||||||
void setLayer(int layer);
|
void setEndDate(const std::string& endDate);
|
||||||
std::string getShelf()const;
|
std::string getLang()const;
|
||||||
void setShelf(const std::string& shelf);
|
void setLang(const std::string& lang);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string storeId_;
|
std::string startDate_;
|
||||||
int layer_;
|
std::string endDate_;
|
||||||
std::string shelf_;
|
std::string lang_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSREQUEST_H_
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSREQUEST_H_
|
||||||
@@ -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_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohAccountStatisticsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Statistic
|
||||||
|
{
|
||||||
|
long totalCount;
|
||||||
|
long v4HttpCount;
|
||||||
|
long v6HttpCount;
|
||||||
|
long timestamp;
|
||||||
|
long v4HttpsCount;
|
||||||
|
long v6HttpsCount;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDohAccountStatisticsResult();
|
||||||
|
explicit DescribeDohAccountStatisticsResult(const std::string &payload);
|
||||||
|
~DescribeDohAccountStatisticsResult();
|
||||||
|
std::vector<Statistic> getStatistics()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<Statistic> statistics_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSRESULT_H_
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohDomainStatisticsRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeDohDomainStatisticsRequest();
|
||||||
|
~DescribeDohDomainStatisticsRequest();
|
||||||
|
|
||||||
|
std::string getDomainName()const;
|
||||||
|
void setDomainName(const std::string& domainName);
|
||||||
|
std::string getStartDate()const;
|
||||||
|
void setStartDate(const std::string& startDate);
|
||||||
|
std::string getEndDate()const;
|
||||||
|
void setEndDate(const std::string& endDate);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string domainName_;
|
||||||
|
std::string startDate_;
|
||||||
|
std::string endDate_;
|
||||||
|
std::string lang_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSREQUEST_H_
|
||||||
@@ -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_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohDomainStatisticsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Statistic
|
||||||
|
{
|
||||||
|
long totalCount;
|
||||||
|
long v4HttpCount;
|
||||||
|
long v6HttpCount;
|
||||||
|
long timestamp;
|
||||||
|
long v4HttpsCount;
|
||||||
|
long v6HttpsCount;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsResult();
|
||||||
|
explicit DescribeDohDomainStatisticsResult(const std::string &payload);
|
||||||
|
~DescribeDohDomainStatisticsResult();
|
||||||
|
std::vector<Statistic> getStatistics()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<Statistic> statistics_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSRESULT_H_
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohDomainStatisticsSummaryRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeDohDomainStatisticsSummaryRequest();
|
||||||
|
~DescribeDohDomainStatisticsSummaryRequest();
|
||||||
|
|
||||||
|
std::string getDomainName()const;
|
||||||
|
void setDomainName(const std::string& domainName);
|
||||||
|
std::string getOrderBy()const;
|
||||||
|
void setOrderBy(const std::string& orderBy);
|
||||||
|
std::string getStartDate()const;
|
||||||
|
void setStartDate(const std::string& startDate);
|
||||||
|
int getPageNumber()const;
|
||||||
|
void setPageNumber(int pageNumber);
|
||||||
|
std::string getEndDate()const;
|
||||||
|
void setEndDate(const std::string& endDate);
|
||||||
|
int getPageSize()const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
std::string getDirection()const;
|
||||||
|
void setDirection(const std::string& direction);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string domainName_;
|
||||||
|
std::string orderBy_;
|
||||||
|
std::string startDate_;
|
||||||
|
int pageNumber_;
|
||||||
|
std::string endDate_;
|
||||||
|
int pageSize_;
|
||||||
|
std::string lang_;
|
||||||
|
std::string direction_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohDomainStatisticsSummaryResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Statistic
|
||||||
|
{
|
||||||
|
long totalCount;
|
||||||
|
long ipCount;
|
||||||
|
std::string domainName;
|
||||||
|
long v4HttpCount;
|
||||||
|
long v6HttpCount;
|
||||||
|
long httpCount;
|
||||||
|
long httpsCount;
|
||||||
|
long v4HttpsCount;
|
||||||
|
long v6HttpsCount;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsSummaryResult();
|
||||||
|
explicit DescribeDohDomainStatisticsSummaryResult(const std::string &payload);
|
||||||
|
~DescribeDohDomainStatisticsSummaryResult();
|
||||||
|
int getPageSize()const;
|
||||||
|
int getPageNumber()const;
|
||||||
|
int getTotalPages()const;
|
||||||
|
int getTotalItems()const;
|
||||||
|
std::vector<Statistic> getStatistics()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int pageSize_;
|
||||||
|
int pageNumber_;
|
||||||
|
int totalPages_;
|
||||||
|
int totalItems_;
|
||||||
|
std::vector<Statistic> statistics_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohSubDomainStatisticsRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeDohSubDomainStatisticsRequest();
|
||||||
|
~DescribeDohSubDomainStatisticsRequest();
|
||||||
|
|
||||||
|
std::string getStartDate()const;
|
||||||
|
void setStartDate(const std::string& startDate);
|
||||||
|
std::string getEndDate()const;
|
||||||
|
void setEndDate(const std::string& endDate);
|
||||||
|
std::string getSubDomain()const;
|
||||||
|
void setSubDomain(const std::string& subDomain);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string startDate_;
|
||||||
|
std::string endDate_;
|
||||||
|
std::string subDomain_;
|
||||||
|
std::string lang_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSREQUEST_H_
|
||||||
@@ -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_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohSubDomainStatisticsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Statistic
|
||||||
|
{
|
||||||
|
long totalCount;
|
||||||
|
long v4HttpCount;
|
||||||
|
long v6HttpCount;
|
||||||
|
long timestamp;
|
||||||
|
long v4HttpsCount;
|
||||||
|
long v6HttpsCount;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsResult();
|
||||||
|
explicit DescribeDohSubDomainStatisticsResult(const std::string &payload);
|
||||||
|
~DescribeDohSubDomainStatisticsResult();
|
||||||
|
std::vector<Statistic> getStatistics()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<Statistic> statistics_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSRESULT_H_
|
||||||
@@ -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_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohSubDomainStatisticsSummaryRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeDohSubDomainStatisticsSummaryRequest();
|
||||||
|
~DescribeDohSubDomainStatisticsSummaryRequest();
|
||||||
|
|
||||||
|
std::string getDomainName()const;
|
||||||
|
void setDomainName(const std::string& domainName);
|
||||||
|
std::string getOrderBy()const;
|
||||||
|
void setOrderBy(const std::string& orderBy);
|
||||||
|
std::string getStartDate()const;
|
||||||
|
void setStartDate(const std::string& startDate);
|
||||||
|
int getPageNumber()const;
|
||||||
|
void setPageNumber(int pageNumber);
|
||||||
|
std::string getEndDate()const;
|
||||||
|
void setEndDate(const std::string& endDate);
|
||||||
|
int getPageSize()const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::string getSubDomain()const;
|
||||||
|
void setSubDomain(const std::string& subDomain);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
std::string getDirection()const;
|
||||||
|
void setDirection(const std::string& direction);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string domainName_;
|
||||||
|
std::string orderBy_;
|
||||||
|
std::string startDate_;
|
||||||
|
int pageNumber_;
|
||||||
|
std::string endDate_;
|
||||||
|
int pageSize_;
|
||||||
|
std::string subDomain_;
|
||||||
|
std::string lang_;
|
||||||
|
std::string direction_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohSubDomainStatisticsSummaryResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Statistic
|
||||||
|
{
|
||||||
|
std::string subDomain;
|
||||||
|
long totalCount;
|
||||||
|
long ipCount;
|
||||||
|
long v4HttpCount;
|
||||||
|
long v6HttpCount;
|
||||||
|
long httpCount;
|
||||||
|
long httpsCount;
|
||||||
|
long v4HttpsCount;
|
||||||
|
long v6HttpsCount;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsSummaryResult();
|
||||||
|
explicit DescribeDohSubDomainStatisticsSummaryResult(const std::string &payload);
|
||||||
|
~DescribeDohSubDomainStatisticsSummaryResult();
|
||||||
|
int getPageSize()const;
|
||||||
|
int getPageNumber()const;
|
||||||
|
int getTotalPages()const;
|
||||||
|
int getTotalItems()const;
|
||||||
|
std::vector<Statistic> getStatistics()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int pageSize_;
|
||||||
|
int pageNumber_;
|
||||||
|
int totalPages_;
|
||||||
|
int totalItems_;
|
||||||
|
std::vector<Statistic> statistics_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFOREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFOREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohUserInfoRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeDohUserInfoRequest();
|
||||||
|
~DescribeDohUserInfoRequest();
|
||||||
|
|
||||||
|
std::string getStartDate()const;
|
||||||
|
void setStartDate(const std::string& startDate);
|
||||||
|
std::string getEndDate()const;
|
||||||
|
void setEndDate(const std::string& endDate);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string startDate_;
|
||||||
|
std::string endDate_;
|
||||||
|
std::string lang_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFOREQUEST_H_
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_ALIDNS_MODEL_DESCRIBEDOHUSERINFORESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFORESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alidns
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohUserInfoResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDohUserInfoResult();
|
||||||
|
explicit DescribeDohUserInfoResult(const std::string &payload);
|
||||||
|
~DescribeDohUserInfoResult();
|
||||||
|
int getSubDomainCount()const;
|
||||||
|
long getPdnsId()const;
|
||||||
|
int getDomainCount()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int subDomainCount_;
|
||||||
|
long pdnsId_;
|
||||||
|
int domainCount_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFORESULT_H_
|
||||||
@@ -50,6 +50,7 @@ namespace AlibabaCloud
|
|||||||
bool getRegionLines()const;
|
bool getRegionLines()const;
|
||||||
bool getAliDomain()const;
|
bool getAliDomain()const;
|
||||||
bool getSlaveDns()const;
|
bool getSlaveDns()const;
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
std::string getDomainName()const;
|
std::string getDomainName()const;
|
||||||
std::string getInstanceId()const;
|
std::string getInstanceId()const;
|
||||||
std::string getPunyCode()const;
|
std::string getPunyCode()const;
|
||||||
@@ -74,6 +75,7 @@ namespace AlibabaCloud
|
|||||||
bool regionLines_;
|
bool regionLines_;
|
||||||
bool aliDomain_;
|
bool aliDomain_;
|
||||||
bool slaveDns_;
|
bool slaveDns_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string domainName_;
|
std::string domainName_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
std::string punyCode_;
|
std::string punyCode_;
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
|||||||
};
|
};
|
||||||
std::string groupName;
|
std::string groupName;
|
||||||
bool aliDomain;
|
bool aliDomain;
|
||||||
|
std::string resourceGroupId;
|
||||||
std::string domainName;
|
std::string domainName;
|
||||||
std::string instanceId;
|
std::string instanceId;
|
||||||
std::string createTime;
|
std::string createTime;
|
||||||
|
|||||||
@@ -1059,6 +1059,222 @@ AlidnsClient::DescribeDnsProductInstancesOutcomeCallable AlidnsClient::describeD
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohAccountStatisticsOutcome AlidnsClient::describeDohAccountStatistics(const DescribeDohAccountStatisticsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDohAccountStatisticsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDohAccountStatisticsOutcome(DescribeDohAccountStatisticsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDohAccountStatisticsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::describeDohAccountStatisticsAsync(const DescribeDohAccountStatisticsRequest& request, const DescribeDohAccountStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDohAccountStatistics(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohAccountStatisticsOutcomeCallable AlidnsClient::describeDohAccountStatisticsCallable(const DescribeDohAccountStatisticsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDohAccountStatisticsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDohAccountStatistics(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohDomainStatisticsOutcome AlidnsClient::describeDohDomainStatistics(const DescribeDohDomainStatisticsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDohDomainStatisticsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDohDomainStatisticsOutcome(DescribeDohDomainStatisticsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDohDomainStatisticsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::describeDohDomainStatisticsAsync(const DescribeDohDomainStatisticsRequest& request, const DescribeDohDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDohDomainStatistics(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohDomainStatisticsOutcomeCallable AlidnsClient::describeDohDomainStatisticsCallable(const DescribeDohDomainStatisticsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDohDomainStatisticsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDohDomainStatistics(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohDomainStatisticsSummaryOutcome AlidnsClient::describeDohDomainStatisticsSummary(const DescribeDohDomainStatisticsSummaryRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDohDomainStatisticsSummaryOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDohDomainStatisticsSummaryOutcome(DescribeDohDomainStatisticsSummaryResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDohDomainStatisticsSummaryOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::describeDohDomainStatisticsSummaryAsync(const DescribeDohDomainStatisticsSummaryRequest& request, const DescribeDohDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDohDomainStatisticsSummary(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohDomainStatisticsSummaryOutcomeCallable AlidnsClient::describeDohDomainStatisticsSummaryCallable(const DescribeDohDomainStatisticsSummaryRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDohDomainStatisticsSummaryOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDohDomainStatisticsSummary(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohSubDomainStatisticsOutcome AlidnsClient::describeDohSubDomainStatistics(const DescribeDohSubDomainStatisticsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDohSubDomainStatisticsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDohSubDomainStatisticsOutcome(DescribeDohSubDomainStatisticsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDohSubDomainStatisticsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::describeDohSubDomainStatisticsAsync(const DescribeDohSubDomainStatisticsRequest& request, const DescribeDohSubDomainStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDohSubDomainStatistics(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohSubDomainStatisticsOutcomeCallable AlidnsClient::describeDohSubDomainStatisticsCallable(const DescribeDohSubDomainStatisticsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDohSubDomainStatisticsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDohSubDomainStatistics(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohSubDomainStatisticsSummaryOutcome AlidnsClient::describeDohSubDomainStatisticsSummary(const DescribeDohSubDomainStatisticsSummaryRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDohSubDomainStatisticsSummaryOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDohSubDomainStatisticsSummaryOutcome(DescribeDohSubDomainStatisticsSummaryResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDohSubDomainStatisticsSummaryOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::describeDohSubDomainStatisticsSummaryAsync(const DescribeDohSubDomainStatisticsSummaryRequest& request, const DescribeDohSubDomainStatisticsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDohSubDomainStatisticsSummary(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohSubDomainStatisticsSummaryOutcomeCallable AlidnsClient::describeDohSubDomainStatisticsSummaryCallable(const DescribeDohSubDomainStatisticsSummaryRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDohSubDomainStatisticsSummaryOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDohSubDomainStatisticsSummary(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohUserInfoOutcome AlidnsClient::describeDohUserInfo(const DescribeDohUserInfoRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDohUserInfoOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDohUserInfoOutcome(DescribeDohUserInfoResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDohUserInfoOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlidnsClient::describeDohUserInfoAsync(const DescribeDohUserInfoRequest& request, const DescribeDohUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDohUserInfo(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlidnsClient::DescribeDohUserInfoOutcomeCallable AlidnsClient::describeDohUserInfoCallable(const DescribeDohUserInfoRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDohUserInfoOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDohUserInfo(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AlidnsClient::DescribeDomainDnssecInfoOutcome AlidnsClient::describeDomainDnssecInfo(const DescribeDomainDnssecInfoRequest &request) const
|
AlidnsClient::DescribeDomainDnssecInfoOutcome AlidnsClient::describeDomainDnssecInfo(const DescribeDomainDnssecInfoRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
@@ -104,6 +104,8 @@ void DescribeDnsProductInstanceResult::parse(const std::string &payload)
|
|||||||
bindDomainUsedCount_ = std::stol(value["BindDomainUsedCount"].asString());
|
bindDomainUsedCount_ = std::stol(value["BindDomainUsedCount"].asString());
|
||||||
if(!value["DnsSecurity"].isNull())
|
if(!value["DnsSecurity"].isNull())
|
||||||
dnsSecurity_ = value["DnsSecurity"].asString();
|
dnsSecurity_ = value["DnsSecurity"].asString();
|
||||||
|
if(!value["PaymentType"].isNull())
|
||||||
|
paymentType_ = value["PaymentType"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -177,6 +179,11 @@ long DescribeDnsProductInstanceResult::getTTLMinValue()const
|
|||||||
return tTLMinValue_;
|
return tTLMinValue_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDnsProductInstanceResult::getPaymentType()const
|
||||||
|
{
|
||||||
|
return paymentType_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeDnsProductInstanceResult::getVersionName()const
|
std::string DescribeDnsProductInstanceResult::getVersionName()const
|
||||||
{
|
{
|
||||||
return versionName_;
|
return versionName_;
|
||||||
|
|||||||
@@ -105,6 +105,8 @@ void DescribeDnsProductInstancesResult::parse(const std::string &payload)
|
|||||||
dnsProductsObject.bindDomainUsedCount = std::stol(valueDnsProductsDnsProduct["BindDomainUsedCount"].asString());
|
dnsProductsObject.bindDomainUsedCount = std::stol(valueDnsProductsDnsProduct["BindDomainUsedCount"].asString());
|
||||||
if(!valueDnsProductsDnsProduct["DnsSecurity"].isNull())
|
if(!valueDnsProductsDnsProduct["DnsSecurity"].isNull())
|
||||||
dnsProductsObject.dnsSecurity = valueDnsProductsDnsProduct["DnsSecurity"].asString();
|
dnsProductsObject.dnsSecurity = valueDnsProductsDnsProduct["DnsSecurity"].asString();
|
||||||
|
if(!valueDnsProductsDnsProduct["PaymentType"].isNull())
|
||||||
|
dnsProductsObject.paymentType = valueDnsProductsDnsProduct["PaymentType"].asString();
|
||||||
dnsProducts_.push_back(dnsProductsObject);
|
dnsProducts_.push_back(dnsProductsObject);
|
||||||
}
|
}
|
||||||
if(!value["TotalCount"].isNull())
|
if(!value["TotalCount"].isNull())
|
||||||
|
|||||||
62
alidns/src/model/DescribeDohAccountStatisticsRequest.cc
Normal file
62
alidns/src/model/DescribeDohAccountStatisticsRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohAccountStatisticsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DescribeDohAccountStatisticsRequest;
|
||||||
|
|
||||||
|
DescribeDohAccountStatisticsRequest::DescribeDohAccountStatisticsRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohAccountStatistics")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohAccountStatisticsRequest::~DescribeDohAccountStatisticsRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDohAccountStatisticsRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohAccountStatisticsRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohAccountStatisticsRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohAccountStatisticsRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohAccountStatisticsRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohAccountStatisticsRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
67
alidns/src/model/DescribeDohAccountStatisticsResult.cc
Normal file
67
alidns/src/model/DescribeDohAccountStatisticsResult.cc
Normal 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/alidns/model/DescribeDohAccountStatisticsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DescribeDohAccountStatisticsResult::DescribeDohAccountStatisticsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDohAccountStatisticsResult::DescribeDohAccountStatisticsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohAccountStatisticsResult::~DescribeDohAccountStatisticsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDohAccountStatisticsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||||
|
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||||
|
{
|
||||||
|
Statistic statisticsObject;
|
||||||
|
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||||
|
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||||
|
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||||
|
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||||
|
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||||
|
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||||
|
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||||
|
statistics_.push_back(statisticsObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDohAccountStatisticsResult::Statistic> DescribeDohAccountStatisticsResult::getStatistics()const
|
||||||
|
{
|
||||||
|
return statistics_;
|
||||||
|
}
|
||||||
|
|
||||||
73
alidns/src/model/DescribeDohDomainStatisticsRequest.cc
Normal file
73
alidns/src/model/DescribeDohDomainStatisticsRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DescribeDohDomainStatisticsRequest;
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsRequest::DescribeDohDomainStatisticsRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohDomainStatistics")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsRequest::~DescribeDohDomainStatisticsRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsRequest::getDomainName()const
|
||||||
|
{
|
||||||
|
return domainName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsRequest::setDomainName(const std::string& domainName)
|
||||||
|
{
|
||||||
|
domainName_ = domainName;
|
||||||
|
setParameter("DomainName", domainName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
67
alidns/src/model/DescribeDohDomainStatisticsResult.cc
Normal file
67
alidns/src/model/DescribeDohDomainStatisticsResult.cc
Normal 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/alidns/model/DescribeDohDomainStatisticsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsResult::DescribeDohDomainStatisticsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsResult::DescribeDohDomainStatisticsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsResult::~DescribeDohDomainStatisticsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||||
|
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||||
|
{
|
||||||
|
Statistic statisticsObject;
|
||||||
|
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||||
|
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||||
|
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||||
|
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||||
|
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||||
|
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||||
|
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||||
|
statistics_.push_back(statisticsObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDohDomainStatisticsResult::Statistic> DescribeDohDomainStatisticsResult::getStatistics()const
|
||||||
|
{
|
||||||
|
return statistics_;
|
||||||
|
}
|
||||||
|
|
||||||
117
alidns/src/model/DescribeDohDomainStatisticsSummaryRequest.cc
Normal file
117
alidns/src/model/DescribeDohDomainStatisticsSummaryRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DescribeDohDomainStatisticsSummaryRequest;
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsSummaryRequest::DescribeDohDomainStatisticsSummaryRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohDomainStatisticsSummary")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsSummaryRequest::~DescribeDohDomainStatisticsSummaryRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsSummaryRequest::getDomainName()const
|
||||||
|
{
|
||||||
|
return domainName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setDomainName(const std::string& domainName)
|
||||||
|
{
|
||||||
|
domainName_ = domainName;
|
||||||
|
setParameter("DomainName", domainName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsSummaryRequest::getOrderBy()const
|
||||||
|
{
|
||||||
|
return orderBy_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
|
||||||
|
{
|
||||||
|
orderBy_ = orderBy;
|
||||||
|
setParameter("OrderBy", orderBy);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsSummaryRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohDomainStatisticsSummaryRequest::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setPageNumber(int pageNumber)
|
||||||
|
{
|
||||||
|
pageNumber_ = pageNumber;
|
||||||
|
setParameter("PageNumber", std::to_string(pageNumber));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsSummaryRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohDomainStatisticsSummaryRequest::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setPageSize(int pageSize)
|
||||||
|
{
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter("PageSize", std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsSummaryRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohDomainStatisticsSummaryRequest::getDirection()const
|
||||||
|
{
|
||||||
|
return direction_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryRequest::setDirection(const std::string& direction)
|
||||||
|
{
|
||||||
|
direction_ = direction;
|
||||||
|
setParameter("Direction", direction);
|
||||||
|
}
|
||||||
|
|
||||||
101
alidns/src/model/DescribeDohDomainStatisticsSummaryResult.cc
Normal file
101
alidns/src/model/DescribeDohDomainStatisticsSummaryResult.cc
Normal 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/alidns/model/DescribeDohDomainStatisticsSummaryResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsSummaryResult::DescribeDohDomainStatisticsSummaryResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsSummaryResult::DescribeDohDomainStatisticsSummaryResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohDomainStatisticsSummaryResult::~DescribeDohDomainStatisticsSummaryResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDohDomainStatisticsSummaryResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||||
|
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||||
|
{
|
||||||
|
Statistic statisticsObject;
|
||||||
|
if(!valueStatisticsStatistic["DomainName"].isNull())
|
||||||
|
statisticsObject.domainName = valueStatisticsStatistic["DomainName"].asString();
|
||||||
|
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||||
|
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||||
|
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||||
|
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||||
|
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||||
|
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["IpCount"].isNull())
|
||||||
|
statisticsObject.ipCount = std::stol(valueStatisticsStatistic["IpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["HttpCount"].isNull())
|
||||||
|
statisticsObject.httpCount = std::stol(valueStatisticsStatistic["HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["HttpsCount"].isNull())
|
||||||
|
statisticsObject.httpsCount = std::stol(valueStatisticsStatistic["HttpsCount"].asString());
|
||||||
|
statistics_.push_back(statisticsObject);
|
||||||
|
}
|
||||||
|
if(!value["TotalItems"].isNull())
|
||||||
|
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||||
|
if(!value["TotalPages"].isNull())
|
||||||
|
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||||
|
if(!value["PageSize"].isNull())
|
||||||
|
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||||
|
if(!value["PageNumber"].isNull())
|
||||||
|
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohDomainStatisticsSummaryResult::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohDomainStatisticsSummaryResult::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohDomainStatisticsSummaryResult::getTotalPages()const
|
||||||
|
{
|
||||||
|
return totalPages_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohDomainStatisticsSummaryResult::getTotalItems()const
|
||||||
|
{
|
||||||
|
return totalItems_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDohDomainStatisticsSummaryResult::Statistic> DescribeDohDomainStatisticsSummaryResult::getStatistics()const
|
||||||
|
{
|
||||||
|
return statistics_;
|
||||||
|
}
|
||||||
|
|
||||||
73
alidns/src/model/DescribeDohSubDomainStatisticsRequest.cc
Normal file
73
alidns/src/model/DescribeDohSubDomainStatisticsRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DescribeDohSubDomainStatisticsRequest;
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsRequest::DescribeDohSubDomainStatisticsRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohSubDomainStatistics")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsRequest::~DescribeDohSubDomainStatisticsRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsRequest::getSubDomain()const
|
||||||
|
{
|
||||||
|
return subDomain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsRequest::setSubDomain(const std::string& subDomain)
|
||||||
|
{
|
||||||
|
subDomain_ = subDomain;
|
||||||
|
setParameter("SubDomain", subDomain);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
67
alidns/src/model/DescribeDohSubDomainStatisticsResult.cc
Normal file
67
alidns/src/model/DescribeDohSubDomainStatisticsResult.cc
Normal 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/alidns/model/DescribeDohSubDomainStatisticsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsResult::DescribeDohSubDomainStatisticsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsResult::DescribeDohSubDomainStatisticsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsResult::~DescribeDohSubDomainStatisticsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||||
|
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||||
|
{
|
||||||
|
Statistic statisticsObject;
|
||||||
|
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||||
|
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||||
|
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||||
|
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||||
|
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||||
|
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||||
|
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||||
|
statistics_.push_back(statisticsObject);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDohSubDomainStatisticsResult::Statistic> DescribeDohSubDomainStatisticsResult::getStatistics()const
|
||||||
|
{
|
||||||
|
return statistics_;
|
||||||
|
}
|
||||||
|
|
||||||
128
alidns/src/model/DescribeDohSubDomainStatisticsSummaryRequest.cc
Normal file
128
alidns/src/model/DescribeDohSubDomainStatisticsSummaryRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/alidns/model/DescribeDohSubDomainStatisticsSummaryRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DescribeDohSubDomainStatisticsSummaryRequest;
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsSummaryRequest::DescribeDohSubDomainStatisticsSummaryRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohSubDomainStatisticsSummary")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsSummaryRequest::~DescribeDohSubDomainStatisticsSummaryRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getDomainName()const
|
||||||
|
{
|
||||||
|
return domainName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setDomainName(const std::string& domainName)
|
||||||
|
{
|
||||||
|
domainName_ = domainName;
|
||||||
|
setParameter("DomainName", domainName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getOrderBy()const
|
||||||
|
{
|
||||||
|
return orderBy_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
|
||||||
|
{
|
||||||
|
orderBy_ = orderBy;
|
||||||
|
setParameter("OrderBy", orderBy);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohSubDomainStatisticsSummaryRequest::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setPageNumber(int pageNumber)
|
||||||
|
{
|
||||||
|
pageNumber_ = pageNumber;
|
||||||
|
setParameter("PageNumber", std::to_string(pageNumber));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohSubDomainStatisticsSummaryRequest::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setPageSize(int pageSize)
|
||||||
|
{
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter("PageSize", std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getSubDomain()const
|
||||||
|
{
|
||||||
|
return subDomain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setSubDomain(const std::string& subDomain)
|
||||||
|
{
|
||||||
|
subDomain_ = subDomain;
|
||||||
|
setParameter("SubDomain", subDomain);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohSubDomainStatisticsSummaryRequest::getDirection()const
|
||||||
|
{
|
||||||
|
return direction_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryRequest::setDirection(const std::string& direction)
|
||||||
|
{
|
||||||
|
direction_ = direction;
|
||||||
|
setParameter("Direction", direction);
|
||||||
|
}
|
||||||
|
|
||||||
101
alidns/src/model/DescribeDohSubDomainStatisticsSummaryResult.cc
Normal file
101
alidns/src/model/DescribeDohSubDomainStatisticsSummaryResult.cc
Normal 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/alidns/model/DescribeDohSubDomainStatisticsSummaryResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsSummaryResult::DescribeDohSubDomainStatisticsSummaryResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsSummaryResult::DescribeDohSubDomainStatisticsSummaryResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohSubDomainStatisticsSummaryResult::~DescribeDohSubDomainStatisticsSummaryResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDohSubDomainStatisticsSummaryResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||||
|
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||||
|
{
|
||||||
|
Statistic statisticsObject;
|
||||||
|
if(!valueStatisticsStatistic["SubDomain"].isNull())
|
||||||
|
statisticsObject.subDomain = valueStatisticsStatistic["SubDomain"].asString();
|
||||||
|
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||||
|
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||||
|
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||||
|
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||||
|
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||||
|
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["IpCount"].isNull())
|
||||||
|
statisticsObject.ipCount = std::stol(valueStatisticsStatistic["IpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["HttpCount"].isNull())
|
||||||
|
statisticsObject.httpCount = std::stol(valueStatisticsStatistic["HttpCount"].asString());
|
||||||
|
if(!valueStatisticsStatistic["HttpsCount"].isNull())
|
||||||
|
statisticsObject.httpsCount = std::stol(valueStatisticsStatistic["HttpsCount"].asString());
|
||||||
|
statistics_.push_back(statisticsObject);
|
||||||
|
}
|
||||||
|
if(!value["TotalItems"].isNull())
|
||||||
|
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||||
|
if(!value["TotalPages"].isNull())
|
||||||
|
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||||
|
if(!value["PageSize"].isNull())
|
||||||
|
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||||
|
if(!value["PageNumber"].isNull())
|
||||||
|
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohSubDomainStatisticsSummaryResult::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohSubDomainStatisticsSummaryResult::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohSubDomainStatisticsSummaryResult::getTotalPages()const
|
||||||
|
{
|
||||||
|
return totalPages_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohSubDomainStatisticsSummaryResult::getTotalItems()const
|
||||||
|
{
|
||||||
|
return totalItems_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeDohSubDomainStatisticsSummaryResult::Statistic> DescribeDohSubDomainStatisticsSummaryResult::getStatistics()const
|
||||||
|
{
|
||||||
|
return statistics_;
|
||||||
|
}
|
||||||
|
|
||||||
62
alidns/src/model/DescribeDohUserInfoRequest.cc
Normal file
62
alidns/src/model/DescribeDohUserInfoRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohUserInfoRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alidns::Model::DescribeDohUserInfoRequest;
|
||||||
|
|
||||||
|
DescribeDohUserInfoRequest::DescribeDohUserInfoRequest() :
|
||||||
|
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohUserInfo")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohUserInfoRequest::~DescribeDohUserInfoRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDohUserInfoRequest::getStartDate()const
|
||||||
|
{
|
||||||
|
return startDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohUserInfoRequest::setStartDate(const std::string& startDate)
|
||||||
|
{
|
||||||
|
startDate_ = startDate;
|
||||||
|
setParameter("StartDate", startDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohUserInfoRequest::getEndDate()const
|
||||||
|
{
|
||||||
|
return endDate_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohUserInfoRequest::setEndDate(const std::string& endDate)
|
||||||
|
{
|
||||||
|
endDate_ = endDate;
|
||||||
|
setParameter("EndDate", endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDohUserInfoRequest::getLang()const
|
||||||
|
{
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDohUserInfoRequest::setLang(const std::string& lang)
|
||||||
|
{
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter("Lang", lang);
|
||||||
|
}
|
||||||
|
|
||||||
65
alidns/src/model/DescribeDohUserInfoResult.cc
Normal file
65
alidns/src/model/DescribeDohUserInfoResult.cc
Normal 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alidns/model/DescribeDohUserInfoResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alidns;
|
||||||
|
using namespace AlibabaCloud::Alidns::Model;
|
||||||
|
|
||||||
|
DescribeDohUserInfoResult::DescribeDohUserInfoResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDohUserInfoResult::DescribeDohUserInfoResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDohUserInfoResult::~DescribeDohUserInfoResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDohUserInfoResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["PdnsId"].isNull())
|
||||||
|
pdnsId_ = std::stol(value["PdnsId"].asString());
|
||||||
|
if(!value["DomainCount"].isNull())
|
||||||
|
domainCount_ = std::stoi(value["DomainCount"].asString());
|
||||||
|
if(!value["SubDomainCount"].isNull())
|
||||||
|
subDomainCount_ = std::stoi(value["SubDomainCount"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohUserInfoResult::getSubDomainCount()const
|
||||||
|
{
|
||||||
|
return subDomainCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeDohUserInfoResult::getPdnsId()const
|
||||||
|
{
|
||||||
|
return pdnsId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeDohUserInfoResult::getDomainCount()const
|
||||||
|
{
|
||||||
|
return domainCount_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -93,6 +93,8 @@ void DescribeDomainInfoResult::parse(const std::string &payload)
|
|||||||
inClean_ = value["InClean"].asString() == "true";
|
inClean_ = value["InClean"].asString() == "true";
|
||||||
if(!value["SlaveDns"].isNull())
|
if(!value["SlaveDns"].isNull())
|
||||||
slaveDns_ = value["SlaveDns"].asString() == "true";
|
slaveDns_ = value["SlaveDns"].asString() == "true";
|
||||||
|
if(!value["ResourceGroupId"].isNull())
|
||||||
|
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -126,6 +128,11 @@ bool DescribeDomainInfoResult::getSlaveDns()const
|
|||||||
return slaveDns_;
|
return slaveDns_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDomainInfoResult::getResourceGroupId()const
|
||||||
|
{
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeDomainInfoResult::getDomainName()const
|
std::string DescribeDomainInfoResult::getDomainName()const
|
||||||
{
|
{
|
||||||
return domainName_;
|
return domainName_;
|
||||||
|
|||||||
@@ -77,6 +77,8 @@ void DescribeDomainsResult::parse(const std::string &payload)
|
|||||||
domainsObject.createTime = valueDomainsDomain["CreateTime"].asString();
|
domainsObject.createTime = valueDomainsDomain["CreateTime"].asString();
|
||||||
if(!valueDomainsDomain["CreateTimestamp"].isNull())
|
if(!valueDomainsDomain["CreateTimestamp"].isNull())
|
||||||
domainsObject.createTimestamp = std::stol(valueDomainsDomain["CreateTimestamp"].asString());
|
domainsObject.createTimestamp = std::stol(valueDomainsDomain["CreateTimestamp"].asString());
|
||||||
|
if(!valueDomainsDomain["ResourceGroupId"].isNull())
|
||||||
|
domainsObject.resourceGroupId = valueDomainsDomain["ResourceGroupId"].asString();
|
||||||
auto allTagsNode = allDomainsNode["Tags"]["Tag"];
|
auto allTagsNode = allDomainsNode["Tags"]["Tag"];
|
||||||
for (auto allDomainsNodeTagsTag : allTagsNode)
|
for (auto allDomainsNodeTagsTag : allTagsNode)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ set(alimt_public_header
|
|||||||
set(alimt_public_header_model
|
set(alimt_public_header_model
|
||||||
include/alibabacloud/alimt/model/CreateDocTranslateTaskRequest.h
|
include/alibabacloud/alimt/model/CreateDocTranslateTaskRequest.h
|
||||||
include/alibabacloud/alimt/model/CreateDocTranslateTaskResult.h
|
include/alibabacloud/alimt/model/CreateDocTranslateTaskResult.h
|
||||||
|
include/alibabacloud/alimt/model/CreateImageTranslateTaskRequest.h
|
||||||
|
include/alibabacloud/alimt/model/CreateImageTranslateTaskResult.h
|
||||||
include/alibabacloud/alimt/model/GetDetectLanguageRequest.h
|
include/alibabacloud/alimt/model/GetDetectLanguageRequest.h
|
||||||
include/alibabacloud/alimt/model/GetDetectLanguageResult.h
|
include/alibabacloud/alimt/model/GetDetectLanguageResult.h
|
||||||
include/alibabacloud/alimt/model/GetDocTranslateTaskRequest.h
|
include/alibabacloud/alimt/model/GetDocTranslateTaskRequest.h
|
||||||
@@ -31,6 +33,8 @@ set(alimt_public_header_model
|
|||||||
include/alibabacloud/alimt/model/GetImageDiagnoseResult.h
|
include/alibabacloud/alimt/model/GetImageDiagnoseResult.h
|
||||||
include/alibabacloud/alimt/model/GetImageTranslateRequest.h
|
include/alibabacloud/alimt/model/GetImageTranslateRequest.h
|
||||||
include/alibabacloud/alimt/model/GetImageTranslateResult.h
|
include/alibabacloud/alimt/model/GetImageTranslateResult.h
|
||||||
|
include/alibabacloud/alimt/model/GetImageTranslateTaskRequest.h
|
||||||
|
include/alibabacloud/alimt/model/GetImageTranslateTaskResult.h
|
||||||
include/alibabacloud/alimt/model/GetTitleDiagnoseRequest.h
|
include/alibabacloud/alimt/model/GetTitleDiagnoseRequest.h
|
||||||
include/alibabacloud/alimt/model/GetTitleDiagnoseResult.h
|
include/alibabacloud/alimt/model/GetTitleDiagnoseResult.h
|
||||||
include/alibabacloud/alimt/model/GetTitleGenerateRequest.h
|
include/alibabacloud/alimt/model/GetTitleGenerateRequest.h
|
||||||
@@ -50,6 +54,8 @@ set(alimt_src
|
|||||||
src/AlimtClient.cc
|
src/AlimtClient.cc
|
||||||
src/model/CreateDocTranslateTaskRequest.cc
|
src/model/CreateDocTranslateTaskRequest.cc
|
||||||
src/model/CreateDocTranslateTaskResult.cc
|
src/model/CreateDocTranslateTaskResult.cc
|
||||||
|
src/model/CreateImageTranslateTaskRequest.cc
|
||||||
|
src/model/CreateImageTranslateTaskResult.cc
|
||||||
src/model/GetDetectLanguageRequest.cc
|
src/model/GetDetectLanguageRequest.cc
|
||||||
src/model/GetDetectLanguageResult.cc
|
src/model/GetDetectLanguageResult.cc
|
||||||
src/model/GetDocTranslateTaskRequest.cc
|
src/model/GetDocTranslateTaskRequest.cc
|
||||||
@@ -58,6 +64,8 @@ set(alimt_src
|
|||||||
src/model/GetImageDiagnoseResult.cc
|
src/model/GetImageDiagnoseResult.cc
|
||||||
src/model/GetImageTranslateRequest.cc
|
src/model/GetImageTranslateRequest.cc
|
||||||
src/model/GetImageTranslateResult.cc
|
src/model/GetImageTranslateResult.cc
|
||||||
|
src/model/GetImageTranslateTaskRequest.cc
|
||||||
|
src/model/GetImageTranslateTaskResult.cc
|
||||||
src/model/GetTitleDiagnoseRequest.cc
|
src/model/GetTitleDiagnoseRequest.cc
|
||||||
src/model/GetTitleDiagnoseResult.cc
|
src/model/GetTitleDiagnoseResult.cc
|
||||||
src/model/GetTitleGenerateRequest.cc
|
src/model/GetTitleGenerateRequest.cc
|
||||||
|
|||||||
@@ -24,6 +24,8 @@
|
|||||||
#include "AlimtExport.h"
|
#include "AlimtExport.h"
|
||||||
#include "model/CreateDocTranslateTaskRequest.h"
|
#include "model/CreateDocTranslateTaskRequest.h"
|
||||||
#include "model/CreateDocTranslateTaskResult.h"
|
#include "model/CreateDocTranslateTaskResult.h"
|
||||||
|
#include "model/CreateImageTranslateTaskRequest.h"
|
||||||
|
#include "model/CreateImageTranslateTaskResult.h"
|
||||||
#include "model/GetDetectLanguageRequest.h"
|
#include "model/GetDetectLanguageRequest.h"
|
||||||
#include "model/GetDetectLanguageResult.h"
|
#include "model/GetDetectLanguageResult.h"
|
||||||
#include "model/GetDocTranslateTaskRequest.h"
|
#include "model/GetDocTranslateTaskRequest.h"
|
||||||
@@ -32,6 +34,8 @@
|
|||||||
#include "model/GetImageDiagnoseResult.h"
|
#include "model/GetImageDiagnoseResult.h"
|
||||||
#include "model/GetImageTranslateRequest.h"
|
#include "model/GetImageTranslateRequest.h"
|
||||||
#include "model/GetImageTranslateResult.h"
|
#include "model/GetImageTranslateResult.h"
|
||||||
|
#include "model/GetImageTranslateTaskRequest.h"
|
||||||
|
#include "model/GetImageTranslateTaskResult.h"
|
||||||
#include "model/GetTitleDiagnoseRequest.h"
|
#include "model/GetTitleDiagnoseRequest.h"
|
||||||
#include "model/GetTitleDiagnoseResult.h"
|
#include "model/GetTitleDiagnoseResult.h"
|
||||||
#include "model/GetTitleGenerateRequest.h"
|
#include "model/GetTitleGenerateRequest.h"
|
||||||
@@ -58,6 +62,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::CreateDocTranslateTaskResult> CreateDocTranslateTaskOutcome;
|
typedef Outcome<Error, Model::CreateDocTranslateTaskResult> CreateDocTranslateTaskOutcome;
|
||||||
typedef std::future<CreateDocTranslateTaskOutcome> CreateDocTranslateTaskOutcomeCallable;
|
typedef std::future<CreateDocTranslateTaskOutcome> CreateDocTranslateTaskOutcomeCallable;
|
||||||
typedef std::function<void(const AlimtClient*, const Model::CreateDocTranslateTaskRequest&, const CreateDocTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDocTranslateTaskAsyncHandler;
|
typedef std::function<void(const AlimtClient*, const Model::CreateDocTranslateTaskRequest&, const CreateDocTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDocTranslateTaskAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateImageTranslateTaskResult> CreateImageTranslateTaskOutcome;
|
||||||
|
typedef std::future<CreateImageTranslateTaskOutcome> CreateImageTranslateTaskOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlimtClient*, const Model::CreateImageTranslateTaskRequest&, const CreateImageTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateImageTranslateTaskAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetDetectLanguageResult> GetDetectLanguageOutcome;
|
typedef Outcome<Error, Model::GetDetectLanguageResult> GetDetectLanguageOutcome;
|
||||||
typedef std::future<GetDetectLanguageOutcome> GetDetectLanguageOutcomeCallable;
|
typedef std::future<GetDetectLanguageOutcome> GetDetectLanguageOutcomeCallable;
|
||||||
typedef std::function<void(const AlimtClient*, const Model::GetDetectLanguageRequest&, const GetDetectLanguageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDetectLanguageAsyncHandler;
|
typedef std::function<void(const AlimtClient*, const Model::GetDetectLanguageRequest&, const GetDetectLanguageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDetectLanguageAsyncHandler;
|
||||||
@@ -70,6 +77,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::GetImageTranslateResult> GetImageTranslateOutcome;
|
typedef Outcome<Error, Model::GetImageTranslateResult> GetImageTranslateOutcome;
|
||||||
typedef std::future<GetImageTranslateOutcome> GetImageTranslateOutcomeCallable;
|
typedef std::future<GetImageTranslateOutcome> GetImageTranslateOutcomeCallable;
|
||||||
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateRequest&, const GetImageTranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateAsyncHandler;
|
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateRequest&, const GetImageTranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetImageTranslateTaskResult> GetImageTranslateTaskOutcome;
|
||||||
|
typedef std::future<GetImageTranslateTaskOutcome> GetImageTranslateTaskOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateTaskRequest&, const GetImageTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateTaskAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetTitleDiagnoseResult> GetTitleDiagnoseOutcome;
|
typedef Outcome<Error, Model::GetTitleDiagnoseResult> GetTitleDiagnoseOutcome;
|
||||||
typedef std::future<GetTitleDiagnoseOutcome> GetTitleDiagnoseOutcomeCallable;
|
typedef std::future<GetTitleDiagnoseOutcome> GetTitleDiagnoseOutcomeCallable;
|
||||||
typedef std::function<void(const AlimtClient*, const Model::GetTitleDiagnoseRequest&, const GetTitleDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleDiagnoseAsyncHandler;
|
typedef std::function<void(const AlimtClient*, const Model::GetTitleDiagnoseRequest&, const GetTitleDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleDiagnoseAsyncHandler;
|
||||||
@@ -99,6 +109,9 @@ namespace AlibabaCloud
|
|||||||
CreateDocTranslateTaskOutcome createDocTranslateTask(const Model::CreateDocTranslateTaskRequest &request)const;
|
CreateDocTranslateTaskOutcome createDocTranslateTask(const Model::CreateDocTranslateTaskRequest &request)const;
|
||||||
void createDocTranslateTaskAsync(const Model::CreateDocTranslateTaskRequest& request, const CreateDocTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createDocTranslateTaskAsync(const Model::CreateDocTranslateTaskRequest& request, const CreateDocTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateDocTranslateTaskOutcomeCallable createDocTranslateTaskCallable(const Model::CreateDocTranslateTaskRequest& request) const;
|
CreateDocTranslateTaskOutcomeCallable createDocTranslateTaskCallable(const Model::CreateDocTranslateTaskRequest& request) const;
|
||||||
|
CreateImageTranslateTaskOutcome createImageTranslateTask(const Model::CreateImageTranslateTaskRequest &request)const;
|
||||||
|
void createImageTranslateTaskAsync(const Model::CreateImageTranslateTaskRequest& request, const CreateImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateImageTranslateTaskOutcomeCallable createImageTranslateTaskCallable(const Model::CreateImageTranslateTaskRequest& request) const;
|
||||||
GetDetectLanguageOutcome getDetectLanguage(const Model::GetDetectLanguageRequest &request)const;
|
GetDetectLanguageOutcome getDetectLanguage(const Model::GetDetectLanguageRequest &request)const;
|
||||||
void getDetectLanguageAsync(const Model::GetDetectLanguageRequest& request, const GetDetectLanguageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getDetectLanguageAsync(const Model::GetDetectLanguageRequest& request, const GetDetectLanguageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetDetectLanguageOutcomeCallable getDetectLanguageCallable(const Model::GetDetectLanguageRequest& request) const;
|
GetDetectLanguageOutcomeCallable getDetectLanguageCallable(const Model::GetDetectLanguageRequest& request) const;
|
||||||
@@ -111,6 +124,9 @@ namespace AlibabaCloud
|
|||||||
GetImageTranslateOutcome getImageTranslate(const Model::GetImageTranslateRequest &request)const;
|
GetImageTranslateOutcome getImageTranslate(const Model::GetImageTranslateRequest &request)const;
|
||||||
void getImageTranslateAsync(const Model::GetImageTranslateRequest& request, const GetImageTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getImageTranslateAsync(const Model::GetImageTranslateRequest& request, const GetImageTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetImageTranslateOutcomeCallable getImageTranslateCallable(const Model::GetImageTranslateRequest& request) const;
|
GetImageTranslateOutcomeCallable getImageTranslateCallable(const Model::GetImageTranslateRequest& request) const;
|
||||||
|
GetImageTranslateTaskOutcome getImageTranslateTask(const Model::GetImageTranslateTaskRequest &request)const;
|
||||||
|
void getImageTranslateTaskAsync(const Model::GetImageTranslateTaskRequest& request, const GetImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetImageTranslateTaskOutcomeCallable getImageTranslateTaskCallable(const Model::GetImageTranslateTaskRequest& request) const;
|
||||||
GetTitleDiagnoseOutcome getTitleDiagnose(const Model::GetTitleDiagnoseRequest &request)const;
|
GetTitleDiagnoseOutcome getTitleDiagnose(const Model::GetTitleDiagnoseRequest &request)const;
|
||||||
void getTitleDiagnoseAsync(const Model::GetTitleDiagnoseRequest& request, const GetTitleDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getTitleDiagnoseAsync(const Model::GetTitleDiagnoseRequest& request, const GetTitleDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetTitleDiagnoseOutcomeCallable getTitleDiagnoseCallable(const Model::GetTitleDiagnoseRequest& request) const;
|
GetTitleDiagnoseOutcomeCallable getTitleDiagnoseCallable(const Model::GetTitleDiagnoseRequest& request) const;
|
||||||
|
|||||||
@@ -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_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alimt/AlimtExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alimt
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIMT_EXPORT CreateImageTranslateTaskRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateImageTranslateTaskRequest();
|
||||||
|
~CreateImageTranslateTaskRequest();
|
||||||
|
|
||||||
|
std::string getSourceLanguage()const;
|
||||||
|
void setSourceLanguage(const std::string& sourceLanguage);
|
||||||
|
std::string getClientToken()const;
|
||||||
|
void setClientToken(const std::string& clientToken);
|
||||||
|
std::string getUrlList()const;
|
||||||
|
void setUrlList(const std::string& urlList);
|
||||||
|
std::string getExtra()const;
|
||||||
|
void setExtra(const std::string& extra);
|
||||||
|
std::string getTargetLanguage()const;
|
||||||
|
void setTargetLanguage(const std::string& targetLanguage);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string sourceLanguage_;
|
||||||
|
std::string clientToken_;
|
||||||
|
std::string urlList_;
|
||||||
|
std::string extra_;
|
||||||
|
std::string targetLanguage_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alimt/AlimtExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alimt
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIMT_EXPORT CreateImageTranslateTaskResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string taskId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult();
|
||||||
|
explicit CreateImageTranslateTaskResult(const std::string &payload);
|
||||||
|
~CreateImageTranslateTaskResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
int getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
int code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_H_
|
||||||
@@ -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_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alimt/AlimtExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alimt
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIMT_EXPORT GetImageTranslateTaskRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
GetImageTranslateTaskRequest();
|
||||||
|
~GetImageTranslateTaskRequest();
|
||||||
|
|
||||||
|
std::string getTaskId()const;
|
||||||
|
void setTaskId(const std::string& taskId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string taskId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_H_
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_ALIMT_MODEL_GETIMAGETRANSLATETASKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alimt/AlimtExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alimt
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIMT_EXPORT GetImageTranslateTaskResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string imageData;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult();
|
||||||
|
explicit GetImageTranslateTaskResult(const std::string &payload);
|
||||||
|
~GetImageTranslateTaskResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
int getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
int code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKRESULT_H_
|
||||||
@@ -87,6 +87,42 @@ AlimtClient::CreateDocTranslateTaskOutcomeCallable AlimtClient::createDocTransla
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AlimtClient::CreateImageTranslateTaskOutcome AlimtClient::createImageTranslateTask(const CreateImageTranslateTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CreateImageTranslateTaskOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CreateImageTranslateTaskOutcome(CreateImageTranslateTaskResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CreateImageTranslateTaskOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlimtClient::createImageTranslateTaskAsync(const CreateImageTranslateTaskRequest& request, const CreateImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, createImageTranslateTask(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlimtClient::CreateImageTranslateTaskOutcomeCallable AlimtClient::createImageTranslateTaskCallable(const CreateImageTranslateTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CreateImageTranslateTaskOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->createImageTranslateTask(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AlimtClient::GetDetectLanguageOutcome AlimtClient::getDetectLanguage(const GetDetectLanguageRequest &request) const
|
AlimtClient::GetDetectLanguageOutcome AlimtClient::getDetectLanguage(const GetDetectLanguageRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -231,6 +267,42 @@ AlimtClient::GetImageTranslateOutcomeCallable AlimtClient::getImageTranslateCall
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AlimtClient::GetImageTranslateTaskOutcome AlimtClient::getImageTranslateTask(const GetImageTranslateTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return GetImageTranslateTaskOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return GetImageTranslateTaskOutcome(GetImageTranslateTaskResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return GetImageTranslateTaskOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlimtClient::getImageTranslateTaskAsync(const GetImageTranslateTaskRequest& request, const GetImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, getImageTranslateTask(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlimtClient::GetImageTranslateTaskOutcomeCallable AlimtClient::getImageTranslateTaskCallable(const GetImageTranslateTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<GetImageTranslateTaskOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->getImageTranslateTask(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AlimtClient::GetTitleDiagnoseOutcome AlimtClient::getTitleDiagnose(const GetTitleDiagnoseRequest &request) const
|
AlimtClient::GetTitleDiagnoseOutcome AlimtClient::getTitleDiagnose(const GetTitleDiagnoseRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
84
alimt/src/model/CreateImageTranslateTaskRequest.cc
Normal file
84
alimt/src/model/CreateImageTranslateTaskRequest.cc
Normal 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alimt/model/CreateImageTranslateTaskRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alimt::Model::CreateImageTranslateTaskRequest;
|
||||||
|
|
||||||
|
CreateImageTranslateTaskRequest::CreateImageTranslateTaskRequest() :
|
||||||
|
RpcServiceRequest("alimt", "2018-10-12", "CreateImageTranslateTask")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateImageTranslateTaskRequest::~CreateImageTranslateTaskRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getSourceLanguage()const
|
||||||
|
{
|
||||||
|
return sourceLanguage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||||
|
{
|
||||||
|
sourceLanguage_ = sourceLanguage;
|
||||||
|
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getClientToken()const
|
||||||
|
{
|
||||||
|
return clientToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setClientToken(const std::string& clientToken)
|
||||||
|
{
|
||||||
|
clientToken_ = clientToken;
|
||||||
|
setBodyParameter("ClientToken", clientToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getUrlList()const
|
||||||
|
{
|
||||||
|
return urlList_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setUrlList(const std::string& urlList)
|
||||||
|
{
|
||||||
|
urlList_ = urlList;
|
||||||
|
setBodyParameter("UrlList", urlList);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getExtra()const
|
||||||
|
{
|
||||||
|
return extra_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setExtra(const std::string& extra)
|
||||||
|
{
|
||||||
|
extra_ = extra;
|
||||||
|
setBodyParameter("Extra", extra);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getTargetLanguage()const
|
||||||
|
{
|
||||||
|
return targetLanguage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||||
|
{
|
||||||
|
targetLanguage_ = targetLanguage;
|
||||||
|
setBodyParameter("TargetLanguage", targetLanguage);
|
||||||
|
}
|
||||||
|
|
||||||
66
alimt/src/model/CreateImageTranslateTaskResult.cc
Normal file
66
alimt/src/model/CreateImageTranslateTaskResult.cc
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alimt/model/CreateImageTranslateTaskResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alimt;
|
||||||
|
using namespace AlibabaCloud::Alimt::Model;
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult::CreateImageTranslateTaskResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult::CreateImageTranslateTaskResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult::~CreateImageTranslateTaskResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto dataNode = value["Data"];
|
||||||
|
if(!dataNode["TaskId"].isNull())
|
||||||
|
data_.taskId = dataNode["TaskId"].asString();
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = std::stoi(value["Code"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult::Data CreateImageTranslateTaskResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int CreateImageTranslateTaskResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
40
alimt/src/model/GetImageTranslateTaskRequest.cc
Normal file
40
alimt/src/model/GetImageTranslateTaskRequest.cc
Normal 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/alimt/model/GetImageTranslateTaskRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alimt::Model::GetImageTranslateTaskRequest;
|
||||||
|
|
||||||
|
GetImageTranslateTaskRequest::GetImageTranslateTaskRequest() :
|
||||||
|
RpcServiceRequest("alimt", "2018-10-12", "GetImageTranslateTask")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetImageTranslateTaskRequest::~GetImageTranslateTaskRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string GetImageTranslateTaskRequest::getTaskId()const
|
||||||
|
{
|
||||||
|
return taskId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetImageTranslateTaskRequest::setTaskId(const std::string& taskId)
|
||||||
|
{
|
||||||
|
taskId_ = taskId;
|
||||||
|
setBodyParameter("TaskId", taskId);
|
||||||
|
}
|
||||||
|
|
||||||
66
alimt/src/model/GetImageTranslateTaskResult.cc
Normal file
66
alimt/src/model/GetImageTranslateTaskResult.cc
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alimt/model/GetImageTranslateTaskResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alimt;
|
||||||
|
using namespace AlibabaCloud::Alimt::Model;
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult::GetImageTranslateTaskResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult::GetImageTranslateTaskResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult::~GetImageTranslateTaskResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void GetImageTranslateTaskResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto dataNode = value["Data"];
|
||||||
|
if(!dataNode["ImageData"].isNull())
|
||||||
|
data_.imageData = dataNode["ImageData"].asString();
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = std::stoi(value["Code"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetImageTranslateTaskResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult::Data GetImageTranslateTaskResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int GetImageTranslateTaskResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -83,6 +83,8 @@ set(cloudauth_public_header_model
|
|||||||
include/alibabacloud/cloudauth/model/InitFaceVerifyResult.h
|
include/alibabacloud/cloudauth/model/InitFaceVerifyResult.h
|
||||||
include/alibabacloud/cloudauth/model/InitSmartVerifyRequest.h
|
include/alibabacloud/cloudauth/model/InitSmartVerifyRequest.h
|
||||||
include/alibabacloud/cloudauth/model/InitSmartVerifyResult.h
|
include/alibabacloud/cloudauth/model/InitSmartVerifyResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/LivenessFaceVerifyRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/LivenessFaceVerifyResult.h
|
||||||
include/alibabacloud/cloudauth/model/ModifyDeviceInfoRequest.h
|
include/alibabacloud/cloudauth/model/ModifyDeviceInfoRequest.h
|
||||||
include/alibabacloud/cloudauth/model/ModifyDeviceInfoResult.h
|
include/alibabacloud/cloudauth/model/ModifyDeviceInfoResult.h
|
||||||
include/alibabacloud/cloudauth/model/SubmitMaterialsRequest.h
|
include/alibabacloud/cloudauth/model/SubmitMaterialsRequest.h
|
||||||
@@ -162,6 +164,8 @@ set(cloudauth_src
|
|||||||
src/model/InitFaceVerifyResult.cc
|
src/model/InitFaceVerifyResult.cc
|
||||||
src/model/InitSmartVerifyRequest.cc
|
src/model/InitSmartVerifyRequest.cc
|
||||||
src/model/InitSmartVerifyResult.cc
|
src/model/InitSmartVerifyResult.cc
|
||||||
|
src/model/LivenessFaceVerifyRequest.cc
|
||||||
|
src/model/LivenessFaceVerifyResult.cc
|
||||||
src/model/ModifyDeviceInfoRequest.cc
|
src/model/ModifyDeviceInfoRequest.cc
|
||||||
src/model/ModifyDeviceInfoResult.cc
|
src/model/ModifyDeviceInfoResult.cc
|
||||||
src/model/SubmitMaterialsRequest.cc
|
src/model/SubmitMaterialsRequest.cc
|
||||||
|
|||||||
@@ -84,6 +84,8 @@
|
|||||||
#include "model/InitFaceVerifyResult.h"
|
#include "model/InitFaceVerifyResult.h"
|
||||||
#include "model/InitSmartVerifyRequest.h"
|
#include "model/InitSmartVerifyRequest.h"
|
||||||
#include "model/InitSmartVerifyResult.h"
|
#include "model/InitSmartVerifyResult.h"
|
||||||
|
#include "model/LivenessFaceVerifyRequest.h"
|
||||||
|
#include "model/LivenessFaceVerifyResult.h"
|
||||||
#include "model/ModifyDeviceInfoRequest.h"
|
#include "model/ModifyDeviceInfoRequest.h"
|
||||||
#include "model/ModifyDeviceInfoResult.h"
|
#include "model/ModifyDeviceInfoResult.h"
|
||||||
#include "model/SubmitMaterialsRequest.h"
|
#include "model/SubmitMaterialsRequest.h"
|
||||||
@@ -200,6 +202,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::InitSmartVerifyResult> InitSmartVerifyOutcome;
|
typedef Outcome<Error, Model::InitSmartVerifyResult> InitSmartVerifyOutcome;
|
||||||
typedef std::future<InitSmartVerifyOutcome> InitSmartVerifyOutcomeCallable;
|
typedef std::future<InitSmartVerifyOutcome> InitSmartVerifyOutcomeCallable;
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::InitSmartVerifyRequest&, const InitSmartVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InitSmartVerifyAsyncHandler;
|
typedef std::function<void(const CloudauthClient*, const Model::InitSmartVerifyRequest&, const InitSmartVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InitSmartVerifyAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::LivenessFaceVerifyResult> LivenessFaceVerifyOutcome;
|
||||||
|
typedef std::future<LivenessFaceVerifyOutcome> LivenessFaceVerifyOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::LivenessFaceVerifyRequest&, const LivenessFaceVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LivenessFaceVerifyAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ModifyDeviceInfoResult> ModifyDeviceInfoOutcome;
|
typedef Outcome<Error, Model::ModifyDeviceInfoResult> ModifyDeviceInfoOutcome;
|
||||||
typedef std::future<ModifyDeviceInfoOutcome> ModifyDeviceInfoOutcomeCallable;
|
typedef std::future<ModifyDeviceInfoOutcome> ModifyDeviceInfoOutcomeCallable;
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::ModifyDeviceInfoRequest&, const ModifyDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceInfoAsyncHandler;
|
typedef std::function<void(const CloudauthClient*, const Model::ModifyDeviceInfoRequest&, const ModifyDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceInfoAsyncHandler;
|
||||||
@@ -319,6 +324,9 @@ namespace AlibabaCloud
|
|||||||
InitSmartVerifyOutcome initSmartVerify(const Model::InitSmartVerifyRequest &request)const;
|
InitSmartVerifyOutcome initSmartVerify(const Model::InitSmartVerifyRequest &request)const;
|
||||||
void initSmartVerifyAsync(const Model::InitSmartVerifyRequest& request, const InitSmartVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void initSmartVerifyAsync(const Model::InitSmartVerifyRequest& request, const InitSmartVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
InitSmartVerifyOutcomeCallable initSmartVerifyCallable(const Model::InitSmartVerifyRequest& request) const;
|
InitSmartVerifyOutcomeCallable initSmartVerifyCallable(const Model::InitSmartVerifyRequest& request) const;
|
||||||
|
LivenessFaceVerifyOutcome livenessFaceVerify(const Model::LivenessFaceVerifyRequest &request)const;
|
||||||
|
void livenessFaceVerifyAsync(const Model::LivenessFaceVerifyRequest& request, const LivenessFaceVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
LivenessFaceVerifyOutcomeCallable livenessFaceVerifyCallable(const Model::LivenessFaceVerifyRequest& request) const;
|
||||||
ModifyDeviceInfoOutcome modifyDeviceInfo(const Model::ModifyDeviceInfoRequest &request)const;
|
ModifyDeviceInfoOutcome modifyDeviceInfo(const Model::ModifyDeviceInfoRequest &request)const;
|
||||||
void modifyDeviceInfoAsync(const Model::ModifyDeviceInfoRequest& request, const ModifyDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyDeviceInfoAsync(const Model::ModifyDeviceInfoRequest& request, const ModifyDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyDeviceInfoOutcomeCallable modifyDeviceInfoCallable(const Model::ModifyDeviceInfoRequest& request) const;
|
ModifyDeviceInfoOutcomeCallable modifyDeviceInfoCallable(const Model::ModifyDeviceInfoRequest& request) const;
|
||||||
|
|||||||
@@ -67,8 +67,12 @@ namespace AlibabaCloud
|
|||||||
void setSceneId(long sceneId);
|
void setSceneId(long sceneId);
|
||||||
std::string getOssBucketName()const;
|
std::string getOssBucketName()const;
|
||||||
void setOssBucketName(const std::string& ossBucketName);
|
void setOssBucketName(const std::string& ossBucketName);
|
||||||
|
std::string getCallbackToken()const;
|
||||||
|
void setCallbackToken(const std::string& callbackToken);
|
||||||
std::string getReturnUrl()const;
|
std::string getReturnUrl()const;
|
||||||
void setReturnUrl(const std::string& returnUrl);
|
void setReturnUrl(const std::string& returnUrl);
|
||||||
|
std::string getCallbackUrl()const;
|
||||||
|
void setCallbackUrl(const std::string& callbackUrl);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string productCode_;
|
std::string productCode_;
|
||||||
@@ -87,7 +91,9 @@ namespace AlibabaCloud
|
|||||||
std::string mobile_;
|
std::string mobile_;
|
||||||
long sceneId_;
|
long sceneId_;
|
||||||
std::string ossBucketName_;
|
std::string ossBucketName_;
|
||||||
|
std::string callbackToken_;
|
||||||
std::string returnUrl_;
|
std::string returnUrl_;
|
||||||
|
std::string callbackUrl_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,14 +35,12 @@ namespace AlibabaCloud
|
|||||||
InitSmartVerifyRequest();
|
InitSmartVerifyRequest();
|
||||||
~InitSmartVerifyRequest();
|
~InitSmartVerifyRequest();
|
||||||
|
|
||||||
std::string getIp()const;
|
|
||||||
void setIp(const std::string& ip);
|
|
||||||
std::string getCertName()const;
|
|
||||||
void setCertName(const std::string& certName);
|
|
||||||
std::string getMobile()const;
|
|
||||||
void setMobile(const std::string& mobile);
|
|
||||||
std::string getUserId()const;
|
std::string getUserId()const;
|
||||||
void setUserId(const std::string& userId);
|
void setUserId(const std::string& userId);
|
||||||
|
std::string getCertifyId()const;
|
||||||
|
void setCertifyId(const std::string& certifyId);
|
||||||
|
std::string getFacePictureBase64()const;
|
||||||
|
void setFacePictureBase64(const std::string& facePictureBase64);
|
||||||
std::string getMode()const;
|
std::string getMode()const;
|
||||||
void setMode(const std::string& mode);
|
void setMode(const std::string& mode);
|
||||||
std::string getCertNo()const;
|
std::string getCertNo()const;
|
||||||
@@ -51,25 +49,48 @@ namespace AlibabaCloud
|
|||||||
void setOuterOrderNo(const std::string& outerOrderNo);
|
void setOuterOrderNo(const std::string& outerOrderNo);
|
||||||
std::string getCertType()const;
|
std::string getCertType()const;
|
||||||
void setCertType(const std::string& certType);
|
void setCertType(const std::string& certType);
|
||||||
long getSceneId()const;
|
|
||||||
void setSceneId(long sceneId);
|
|
||||||
std::string getMetaInfo()const;
|
std::string getMetaInfo()const;
|
||||||
void setMetaInfo(const std::string& metaInfo);
|
void setMetaInfo(const std::string& metaInfo);
|
||||||
std::string getOcr()const;
|
std::string getOcr()const;
|
||||||
void setOcr(const std::string& ocr);
|
void setOcr(const std::string& ocr);
|
||||||
|
std::string getOssObjectName()const;
|
||||||
|
void setOssObjectName(const std::string& ossObjectName);
|
||||||
|
std::string getFacePictureUrl()const;
|
||||||
|
void setFacePictureUrl(const std::string& facePictureUrl);
|
||||||
|
std::string getIp()const;
|
||||||
|
void setIp(const std::string& ip);
|
||||||
|
std::string getCertName()const;
|
||||||
|
void setCertName(const std::string& certName);
|
||||||
|
std::string getMobile()const;
|
||||||
|
void setMobile(const std::string& mobile);
|
||||||
|
long getSceneId()const;
|
||||||
|
void setSceneId(long sceneId);
|
||||||
|
std::string getCallbackToken()const;
|
||||||
|
void setCallbackToken(const std::string& callbackToken);
|
||||||
|
std::string getOssBucketName()const;
|
||||||
|
void setOssBucketName(const std::string& ossBucketName);
|
||||||
|
std::string getCallbackUrl()const;
|
||||||
|
void setCallbackUrl(const std::string& callbackUrl);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string ip_;
|
|
||||||
std::string certName_;
|
|
||||||
std::string mobile_;
|
|
||||||
std::string userId_;
|
std::string userId_;
|
||||||
|
std::string certifyId_;
|
||||||
|
std::string facePictureBase64_;
|
||||||
std::string mode_;
|
std::string mode_;
|
||||||
std::string certNo_;
|
std::string certNo_;
|
||||||
std::string outerOrderNo_;
|
std::string outerOrderNo_;
|
||||||
std::string certType_;
|
std::string certType_;
|
||||||
long sceneId_;
|
|
||||||
std::string metaInfo_;
|
std::string metaInfo_;
|
||||||
std::string ocr_;
|
std::string ocr_;
|
||||||
|
std::string ossObjectName_;
|
||||||
|
std::string facePictureUrl_;
|
||||||
|
std::string ip_;
|
||||||
|
std::string certName_;
|
||||||
|
std::string mobile_;
|
||||||
|
long sceneId_;
|
||||||
|
std::string callbackToken_;
|
||||||
|
std::string ossBucketName_;
|
||||||
|
std::string callbackUrl_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYREQUEST_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 LivenessFaceVerifyRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
LivenessFaceVerifyRequest();
|
||||||
|
~LivenessFaceVerifyRequest();
|
||||||
|
|
||||||
|
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 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 getOuterOrderNo()const;
|
||||||
|
void setOuterOrderNo(const std::string& outerOrderNo);
|
||||||
|
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);
|
||||||
|
std::string getModel()const;
|
||||||
|
void setModel(const std::string& model);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string productCode_;
|
||||||
|
std::string ossObjectName_;
|
||||||
|
std::string faceContrastPicture_;
|
||||||
|
std::string ip_;
|
||||||
|
std::string mobile_;
|
||||||
|
std::string deviceToken_;
|
||||||
|
std::string userId_;
|
||||||
|
std::string certifyId_;
|
||||||
|
std::string outerOrderNo_;
|
||||||
|
std::string faceContrastPictureUrl_;
|
||||||
|
long sceneId_;
|
||||||
|
std::string ossBucketName_;
|
||||||
|
std::string model_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYREQUEST_H_
|
||||||
@@ -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_LIVENESSFACEVERIFYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYRESULT_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 LivenessFaceVerifyResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct ResultObject
|
||||||
|
{
|
||||||
|
std::string passed;
|
||||||
|
std::string materialInfo;
|
||||||
|
std::string subCode;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
LivenessFaceVerifyResult();
|
||||||
|
explicit LivenessFaceVerifyResult(const std::string &payload);
|
||||||
|
~LivenessFaceVerifyResult();
|
||||||
|
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_LIVENESSFACEVERIFYRESULT_H_
|
||||||
@@ -1167,6 +1167,42 @@ CloudauthClient::InitSmartVerifyOutcomeCallable CloudauthClient::initSmartVerify
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CloudauthClient::LivenessFaceVerifyOutcome CloudauthClient::livenessFaceVerify(const LivenessFaceVerifyRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return LivenessFaceVerifyOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return LivenessFaceVerifyOutcome(LivenessFaceVerifyResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return LivenessFaceVerifyOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::livenessFaceVerifyAsync(const LivenessFaceVerifyRequest& request, const LivenessFaceVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, livenessFaceVerify(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::LivenessFaceVerifyOutcomeCallable CloudauthClient::livenessFaceVerifyCallable(const LivenessFaceVerifyRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<LivenessFaceVerifyOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->livenessFaceVerify(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CloudauthClient::ModifyDeviceInfoOutcome CloudauthClient::modifyDeviceInfo(const ModifyDeviceInfoRequest &request) const
|
CloudauthClient::ModifyDeviceInfoOutcome CloudauthClient::modifyDeviceInfo(const ModifyDeviceInfoRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
@@ -203,6 +203,17 @@ void InitFaceVerifyRequest::setOssBucketName(const std::string& ossBucketName)
|
|||||||
setParameter("OssBucketName", ossBucketName);
|
setParameter("OssBucketName", ossBucketName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string InitFaceVerifyRequest::getCallbackToken()const
|
||||||
|
{
|
||||||
|
return callbackToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitFaceVerifyRequest::setCallbackToken(const std::string& callbackToken)
|
||||||
|
{
|
||||||
|
callbackToken_ = callbackToken;
|
||||||
|
setParameter("CallbackToken", callbackToken);
|
||||||
|
}
|
||||||
|
|
||||||
std::string InitFaceVerifyRequest::getReturnUrl()const
|
std::string InitFaceVerifyRequest::getReturnUrl()const
|
||||||
{
|
{
|
||||||
return returnUrl_;
|
return returnUrl_;
|
||||||
@@ -214,3 +225,14 @@ void InitFaceVerifyRequest::setReturnUrl(const std::string& returnUrl)
|
|||||||
setParameter("ReturnUrl", returnUrl);
|
setParameter("ReturnUrl", returnUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string InitFaceVerifyRequest::getCallbackUrl()const
|
||||||
|
{
|
||||||
|
return callbackUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitFaceVerifyRequest::setCallbackUrl(const std::string& callbackUrl)
|
||||||
|
{
|
||||||
|
callbackUrl_ = callbackUrl;
|
||||||
|
setParameter("CallbackUrl", callbackUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -27,39 +27,6 @@ InitSmartVerifyRequest::InitSmartVerifyRequest() :
|
|||||||
InitSmartVerifyRequest::~InitSmartVerifyRequest()
|
InitSmartVerifyRequest::~InitSmartVerifyRequest()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
std::string InitSmartVerifyRequest::getIp()const
|
|
||||||
{
|
|
||||||
return ip_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void InitSmartVerifyRequest::setIp(const std::string& ip)
|
|
||||||
{
|
|
||||||
ip_ = ip;
|
|
||||||
setBodyParameter("Ip", ip);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string InitSmartVerifyRequest::getCertName()const
|
|
||||||
{
|
|
||||||
return certName_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void InitSmartVerifyRequest::setCertName(const std::string& certName)
|
|
||||||
{
|
|
||||||
certName_ = certName;
|
|
||||||
setBodyParameter("CertName", certName);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string InitSmartVerifyRequest::getMobile()const
|
|
||||||
{
|
|
||||||
return mobile_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void InitSmartVerifyRequest::setMobile(const std::string& mobile)
|
|
||||||
{
|
|
||||||
mobile_ = mobile;
|
|
||||||
setBodyParameter("Mobile", mobile);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string InitSmartVerifyRequest::getUserId()const
|
std::string InitSmartVerifyRequest::getUserId()const
|
||||||
{
|
{
|
||||||
return userId_;
|
return userId_;
|
||||||
@@ -71,6 +38,28 @@ void InitSmartVerifyRequest::setUserId(const std::string& userId)
|
|||||||
setBodyParameter("UserId", userId);
|
setBodyParameter("UserId", userId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getCertifyId()const
|
||||||
|
{
|
||||||
|
return certifyId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setCertifyId(const std::string& certifyId)
|
||||||
|
{
|
||||||
|
certifyId_ = certifyId;
|
||||||
|
setBodyParameter("CertifyId", certifyId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getFacePictureBase64()const
|
||||||
|
{
|
||||||
|
return facePictureBase64_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setFacePictureBase64(const std::string& facePictureBase64)
|
||||||
|
{
|
||||||
|
facePictureBase64_ = facePictureBase64;
|
||||||
|
setBodyParameter("FacePictureBase64", facePictureBase64);
|
||||||
|
}
|
||||||
|
|
||||||
std::string InitSmartVerifyRequest::getMode()const
|
std::string InitSmartVerifyRequest::getMode()const
|
||||||
{
|
{
|
||||||
return mode_;
|
return mode_;
|
||||||
@@ -115,17 +104,6 @@ void InitSmartVerifyRequest::setCertType(const std::string& certType)
|
|||||||
setBodyParameter("CertType", certType);
|
setBodyParameter("CertType", certType);
|
||||||
}
|
}
|
||||||
|
|
||||||
long InitSmartVerifyRequest::getSceneId()const
|
|
||||||
{
|
|
||||||
return sceneId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void InitSmartVerifyRequest::setSceneId(long sceneId)
|
|
||||||
{
|
|
||||||
sceneId_ = sceneId;
|
|
||||||
setBodyParameter("SceneId", std::to_string(sceneId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string InitSmartVerifyRequest::getMetaInfo()const
|
std::string InitSmartVerifyRequest::getMetaInfo()const
|
||||||
{
|
{
|
||||||
return metaInfo_;
|
return metaInfo_;
|
||||||
@@ -148,3 +126,102 @@ void InitSmartVerifyRequest::setOcr(const std::string& ocr)
|
|||||||
setBodyParameter("Ocr", ocr);
|
setBodyParameter("Ocr", ocr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getOssObjectName()const
|
||||||
|
{
|
||||||
|
return ossObjectName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setOssObjectName(const std::string& ossObjectName)
|
||||||
|
{
|
||||||
|
ossObjectName_ = ossObjectName;
|
||||||
|
setBodyParameter("OssObjectName", ossObjectName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getFacePictureUrl()const
|
||||||
|
{
|
||||||
|
return facePictureUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setFacePictureUrl(const std::string& facePictureUrl)
|
||||||
|
{
|
||||||
|
facePictureUrl_ = facePictureUrl;
|
||||||
|
setBodyParameter("FacePictureUrl", facePictureUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getIp()const
|
||||||
|
{
|
||||||
|
return ip_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setIp(const std::string& ip)
|
||||||
|
{
|
||||||
|
ip_ = ip;
|
||||||
|
setBodyParameter("Ip", ip);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getCertName()const
|
||||||
|
{
|
||||||
|
return certName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setCertName(const std::string& certName)
|
||||||
|
{
|
||||||
|
certName_ = certName;
|
||||||
|
setBodyParameter("CertName", certName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getMobile()const
|
||||||
|
{
|
||||||
|
return mobile_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setMobile(const std::string& mobile)
|
||||||
|
{
|
||||||
|
mobile_ = mobile;
|
||||||
|
setBodyParameter("Mobile", mobile);
|
||||||
|
}
|
||||||
|
|
||||||
|
long InitSmartVerifyRequest::getSceneId()const
|
||||||
|
{
|
||||||
|
return sceneId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setSceneId(long sceneId)
|
||||||
|
{
|
||||||
|
sceneId_ = sceneId;
|
||||||
|
setBodyParameter("SceneId", std::to_string(sceneId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getCallbackToken()const
|
||||||
|
{
|
||||||
|
return callbackToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setCallbackToken(const std::string& callbackToken)
|
||||||
|
{
|
||||||
|
callbackToken_ = callbackToken;
|
||||||
|
setBodyParameter("CallbackToken", callbackToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getOssBucketName()const
|
||||||
|
{
|
||||||
|
return ossBucketName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setOssBucketName(const std::string& ossBucketName)
|
||||||
|
{
|
||||||
|
ossBucketName_ = ossBucketName;
|
||||||
|
setBodyParameter("OssBucketName", ossBucketName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getCallbackUrl()const
|
||||||
|
{
|
||||||
|
return callbackUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setCallbackUrl(const std::string& callbackUrl)
|
||||||
|
{
|
||||||
|
callbackUrl_ = callbackUrl;
|
||||||
|
setBodyParameter("CallbackUrl", callbackUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
172
cloudauth/src/model/LivenessFaceVerifyRequest.cc
Normal file
172
cloudauth/src/model/LivenessFaceVerifyRequest.cc
Normal file
@@ -0,0 +1,172 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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/LivenessFaceVerifyRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::LivenessFaceVerifyRequest;
|
||||||
|
|
||||||
|
LivenessFaceVerifyRequest::LivenessFaceVerifyRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "LivenessFaceVerify")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
LivenessFaceVerifyRequest::~LivenessFaceVerifyRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getProductCode()const
|
||||||
|
{
|
||||||
|
return productCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setProductCode(const std::string& productCode)
|
||||||
|
{
|
||||||
|
productCode_ = productCode;
|
||||||
|
setBodyParameter("ProductCode", productCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getOssObjectName()const
|
||||||
|
{
|
||||||
|
return ossObjectName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setOssObjectName(const std::string& ossObjectName)
|
||||||
|
{
|
||||||
|
ossObjectName_ = ossObjectName;
|
||||||
|
setBodyParameter("OssObjectName", ossObjectName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getFaceContrastPicture()const
|
||||||
|
{
|
||||||
|
return faceContrastPicture_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setFaceContrastPicture(const std::string& faceContrastPicture)
|
||||||
|
{
|
||||||
|
faceContrastPicture_ = faceContrastPicture;
|
||||||
|
setBodyParameter("FaceContrastPicture", faceContrastPicture);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getIp()const
|
||||||
|
{
|
||||||
|
return ip_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setIp(const std::string& ip)
|
||||||
|
{
|
||||||
|
ip_ = ip;
|
||||||
|
setBodyParameter("Ip", ip);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getMobile()const
|
||||||
|
{
|
||||||
|
return mobile_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setMobile(const std::string& mobile)
|
||||||
|
{
|
||||||
|
mobile_ = mobile;
|
||||||
|
setBodyParameter("Mobile", mobile);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getDeviceToken()const
|
||||||
|
{
|
||||||
|
return deviceToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setDeviceToken(const std::string& deviceToken)
|
||||||
|
{
|
||||||
|
deviceToken_ = deviceToken;
|
||||||
|
setBodyParameter("DeviceToken", deviceToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getUserId()const
|
||||||
|
{
|
||||||
|
return userId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setUserId(const std::string& userId)
|
||||||
|
{
|
||||||
|
userId_ = userId;
|
||||||
|
setBodyParameter("UserId", userId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getCertifyId()const
|
||||||
|
{
|
||||||
|
return certifyId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setCertifyId(const std::string& certifyId)
|
||||||
|
{
|
||||||
|
certifyId_ = certifyId;
|
||||||
|
setBodyParameter("CertifyId", certifyId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getOuterOrderNo()const
|
||||||
|
{
|
||||||
|
return outerOrderNo_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setOuterOrderNo(const std::string& outerOrderNo)
|
||||||
|
{
|
||||||
|
outerOrderNo_ = outerOrderNo;
|
||||||
|
setBodyParameter("OuterOrderNo", outerOrderNo);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getFaceContrastPictureUrl()const
|
||||||
|
{
|
||||||
|
return faceContrastPictureUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setFaceContrastPictureUrl(const std::string& faceContrastPictureUrl)
|
||||||
|
{
|
||||||
|
faceContrastPictureUrl_ = faceContrastPictureUrl;
|
||||||
|
setBodyParameter("FaceContrastPictureUrl", faceContrastPictureUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
long LivenessFaceVerifyRequest::getSceneId()const
|
||||||
|
{
|
||||||
|
return sceneId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setSceneId(long sceneId)
|
||||||
|
{
|
||||||
|
sceneId_ = sceneId;
|
||||||
|
setBodyParameter("SceneId", std::to_string(sceneId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getOssBucketName()const
|
||||||
|
{
|
||||||
|
return ossBucketName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setOssBucketName(const std::string& ossBucketName)
|
||||||
|
{
|
||||||
|
ossBucketName_ = ossBucketName;
|
||||||
|
setBodyParameter("OssBucketName", ossBucketName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getModel()const
|
||||||
|
{
|
||||||
|
return model_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setModel(const std::string& model)
|
||||||
|
{
|
||||||
|
model_ = model;
|
||||||
|
setParameter("Model", model);
|
||||||
|
}
|
||||||
|
|
||||||
70
cloudauth/src/model/LivenessFaceVerifyResult.cc
Normal file
70
cloudauth/src/model/LivenessFaceVerifyResult.cc
Normal 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/LivenessFaceVerifyResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
LivenessFaceVerifyResult::LivenessFaceVerifyResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
LivenessFaceVerifyResult::LivenessFaceVerifyResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
LivenessFaceVerifyResult::~LivenessFaceVerifyResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyResult::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["MaterialInfo"].isNull())
|
||||||
|
resultObject_.materialInfo = resultObjectNode["MaterialInfo"].asString();
|
||||||
|
if(!resultObjectNode["SubCode"].isNull())
|
||||||
|
resultObject_.subCode = resultObjectNode["SubCode"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
LivenessFaceVerifyResult::ResultObject LivenessFaceVerifyResult::getResultObject()const
|
||||||
|
{
|
||||||
|
return resultObject_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -21,145 +21,101 @@ set(cloudesl_public_header
|
|||||||
include/alibabacloud/cloudesl/CloudeslExport.h )
|
include/alibabacloud/cloudesl/CloudeslExport.h )
|
||||||
|
|
||||||
set(cloudesl_public_header_model
|
set(cloudesl_public_header_model
|
||||||
include/alibabacloud/cloudesl/model/ActivateApDeviceRequest.h
|
include/alibabacloud/cloudesl/model/ActivateApServiceRequest.h
|
||||||
include/alibabacloud/cloudesl/model/ActivateApDeviceResult.h
|
include/alibabacloud/cloudesl/model/ActivateApServiceResult.h
|
||||||
include/alibabacloud/cloudesl/model/AddApDeviceRequest.h
|
include/alibabacloud/cloudesl/model/ActivateApService2Request.h
|
||||||
include/alibabacloud/cloudesl/model/AddApDeviceResult.h
|
include/alibabacloud/cloudesl/model/ActivateApService2Result.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/BatchInsertItemsRequest.h
|
||||||
include/alibabacloud/cloudesl/model/BatchInsertItemsResult.h
|
include/alibabacloud/cloudesl/model/BatchInsertItemsResult.h
|
||||||
|
include/alibabacloud/cloudesl/model/BindApStoreServiceRequest.h
|
||||||
|
include/alibabacloud/cloudesl/model/BindApStoreServiceResult.h
|
||||||
include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h
|
include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h
|
||||||
include/alibabacloud/cloudesl/model/BindEslDeviceResult.h
|
include/alibabacloud/cloudesl/model/BindEslDeviceResult.h
|
||||||
include/alibabacloud/cloudesl/model/ComposePlanogramPositionsRequest.h
|
include/alibabacloud/cloudesl/model/BindEslDeviceShelfRequest.h
|
||||||
include/alibabacloud/cloudesl/model/ComposePlanogramPositionsResult.h
|
include/alibabacloud/cloudesl/model/BindEslDeviceShelfResult.h
|
||||||
include/alibabacloud/cloudesl/model/CreateStoreRequest.h
|
include/alibabacloud/cloudesl/model/CreateStoreRequest.h
|
||||||
include/alibabacloud/cloudesl/model/CreateStoreResult.h
|
include/alibabacloud/cloudesl/model/CreateStoreResult.h
|
||||||
include/alibabacloud/cloudesl/model/DeleteApDeviceRequest.h
|
include/alibabacloud/cloudesl/model/DeleteApServiceRequest.h
|
||||||
include/alibabacloud/cloudesl/model/DeleteApDeviceResult.h
|
include/alibabacloud/cloudesl/model/DeleteApServiceResult.h
|
||||||
include/alibabacloud/cloudesl/model/DeletePlanogramShelfRequest.h
|
include/alibabacloud/cloudesl/model/DeleteEslDeviceRequest.h
|
||||||
include/alibabacloud/cloudesl/model/DeletePlanogramShelfResult.h
|
include/alibabacloud/cloudesl/model/DeleteEslDeviceResult.h
|
||||||
|
include/alibabacloud/cloudesl/model/DeleteItemRequest.h
|
||||||
|
include/alibabacloud/cloudesl/model/DeleteItemResult.h
|
||||||
|
include/alibabacloud/cloudesl/model/DeleteItemBySkuIdRequest.h
|
||||||
|
include/alibabacloud/cloudesl/model/DeleteItemBySkuIdResult.h
|
||||||
include/alibabacloud/cloudesl/model/DeleteStoreRequest.h
|
include/alibabacloud/cloudesl/model/DeleteStoreRequest.h
|
||||||
include/alibabacloud/cloudesl/model/DeleteStoreResult.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/DescribeAlarmsRequest.h
|
||||||
include/alibabacloud/cloudesl/model/DescribeAlarmsResult.h
|
include/alibabacloud/cloudesl/model/DescribeAlarmsResult.h
|
||||||
include/alibabacloud/cloudesl/model/DescribeApDevicesRequest.h
|
include/alibabacloud/cloudesl/model/DescribeCompanyRequest.h
|
||||||
include/alibabacloud/cloudesl/model/DescribeApDevicesResult.h
|
include/alibabacloud/cloudesl/model/DescribeCompanyResult.h
|
||||||
include/alibabacloud/cloudesl/model/DescribeBindersRequest.h
|
|
||||||
include/alibabacloud/cloudesl/model/DescribeBindersResult.h
|
|
||||||
include/alibabacloud/cloudesl/model/DescribeEslDevicesRequest.h
|
include/alibabacloud/cloudesl/model/DescribeEslDevicesRequest.h
|
||||||
include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h
|
include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h
|
||||||
include/alibabacloud/cloudesl/model/DescribeItemsRequest.h
|
include/alibabacloud/cloudesl/model/DescribeItemsRequest.h
|
||||||
include/alibabacloud/cloudesl/model/DescribeItemsResult.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/DescribeStoresRequest.h
|
||||||
include/alibabacloud/cloudesl/model/DescribeStoresResult.h
|
include/alibabacloud/cloudesl/model/DescribeStoresResult.h
|
||||||
include/alibabacloud/cloudesl/model/DescribeUserLogRequest.h
|
include/alibabacloud/cloudesl/model/DescribeUserOperationLogRequest.h
|
||||||
include/alibabacloud/cloudesl/model/DescribeUserLogResult.h
|
include/alibabacloud/cloudesl/model/DescribeUserOperationLogResult.h
|
||||||
include/alibabacloud/cloudesl/model/DescribeUsersRequest.h
|
include/alibabacloud/cloudesl/model/DescribeUserRamPolicyRequest.h
|
||||||
include/alibabacloud/cloudesl/model/DescribeUsersResult.h
|
include/alibabacloud/cloudesl/model/DescribeUserRamPolicyResult.h
|
||||||
include/alibabacloud/cloudesl/model/DissociatePlanogramRailRequest.h
|
include/alibabacloud/cloudesl/model/SearchApServiceRequest.h
|
||||||
include/alibabacloud/cloudesl/model/DissociatePlanogramRailResult.h
|
include/alibabacloud/cloudesl/model/SearchApServiceResult.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/UnbindEslDeviceRequest.h
|
||||||
include/alibabacloud/cloudesl/model/UnbindEslDeviceResult.h
|
include/alibabacloud/cloudesl/model/UnbindEslDeviceResult.h
|
||||||
include/alibabacloud/cloudesl/model/UpdateEslDeviceLightRequest.h
|
include/alibabacloud/cloudesl/model/UnbindEslDeviceShelfRequest.h
|
||||||
include/alibabacloud/cloudesl/model/UpdateEslDeviceLightResult.h
|
include/alibabacloud/cloudesl/model/UnbindEslDeviceShelfResult.h
|
||||||
include/alibabacloud/cloudesl/model/UpdateStoreRequest.h
|
include/alibabacloud/cloudesl/model/UpdateStoreRequest.h
|
||||||
include/alibabacloud/cloudesl/model/UpdateStoreResult.h
|
include/alibabacloud/cloudesl/model/UpdateStoreResult.h )
|
||||||
include/alibabacloud/cloudesl/model/UpdateStoreConfigRequest.h
|
|
||||||
include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h )
|
|
||||||
|
|
||||||
set(cloudesl_src
|
set(cloudesl_src
|
||||||
src/CloudeslClient.cc
|
src/CloudeslClient.cc
|
||||||
src/model/ActivateApDeviceRequest.cc
|
src/model/ActivateApServiceRequest.cc
|
||||||
src/model/ActivateApDeviceResult.cc
|
src/model/ActivateApServiceResult.cc
|
||||||
src/model/AddApDeviceRequest.cc
|
src/model/ActivateApService2Request.cc
|
||||||
src/model/AddApDeviceResult.cc
|
src/model/ActivateApService2Result.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/BatchInsertItemsRequest.cc
|
||||||
src/model/BatchInsertItemsResult.cc
|
src/model/BatchInsertItemsResult.cc
|
||||||
|
src/model/BindApStoreServiceRequest.cc
|
||||||
|
src/model/BindApStoreServiceResult.cc
|
||||||
src/model/BindEslDeviceRequest.cc
|
src/model/BindEslDeviceRequest.cc
|
||||||
src/model/BindEslDeviceResult.cc
|
src/model/BindEslDeviceResult.cc
|
||||||
src/model/ComposePlanogramPositionsRequest.cc
|
src/model/BindEslDeviceShelfRequest.cc
|
||||||
src/model/ComposePlanogramPositionsResult.cc
|
src/model/BindEslDeviceShelfResult.cc
|
||||||
src/model/CreateStoreRequest.cc
|
src/model/CreateStoreRequest.cc
|
||||||
src/model/CreateStoreResult.cc
|
src/model/CreateStoreResult.cc
|
||||||
src/model/DeleteApDeviceRequest.cc
|
src/model/DeleteApServiceRequest.cc
|
||||||
src/model/DeleteApDeviceResult.cc
|
src/model/DeleteApServiceResult.cc
|
||||||
src/model/DeletePlanogramShelfRequest.cc
|
src/model/DeleteEslDeviceRequest.cc
|
||||||
src/model/DeletePlanogramShelfResult.cc
|
src/model/DeleteEslDeviceResult.cc
|
||||||
|
src/model/DeleteItemRequest.cc
|
||||||
|
src/model/DeleteItemResult.cc
|
||||||
|
src/model/DeleteItemBySkuIdRequest.cc
|
||||||
|
src/model/DeleteItemBySkuIdResult.cc
|
||||||
src/model/DeleteStoreRequest.cc
|
src/model/DeleteStoreRequest.cc
|
||||||
src/model/DeleteStoreResult.cc
|
src/model/DeleteStoreResult.cc
|
||||||
src/model/DeleteUserRequest.cc
|
|
||||||
src/model/DeleteUserResult.cc
|
|
||||||
src/model/DescribeAlarmsRequest.cc
|
src/model/DescribeAlarmsRequest.cc
|
||||||
src/model/DescribeAlarmsResult.cc
|
src/model/DescribeAlarmsResult.cc
|
||||||
src/model/DescribeApDevicesRequest.cc
|
src/model/DescribeCompanyRequest.cc
|
||||||
src/model/DescribeApDevicesResult.cc
|
src/model/DescribeCompanyResult.cc
|
||||||
src/model/DescribeBindersRequest.cc
|
|
||||||
src/model/DescribeBindersResult.cc
|
|
||||||
src/model/DescribeEslDevicesRequest.cc
|
src/model/DescribeEslDevicesRequest.cc
|
||||||
src/model/DescribeEslDevicesResult.cc
|
src/model/DescribeEslDevicesResult.cc
|
||||||
src/model/DescribeItemsRequest.cc
|
src/model/DescribeItemsRequest.cc
|
||||||
src/model/DescribeItemsResult.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/DescribeStoresRequest.cc
|
||||||
src/model/DescribeStoresResult.cc
|
src/model/DescribeStoresResult.cc
|
||||||
src/model/DescribeUserLogRequest.cc
|
src/model/DescribeUserOperationLogRequest.cc
|
||||||
src/model/DescribeUserLogResult.cc
|
src/model/DescribeUserOperationLogResult.cc
|
||||||
src/model/DescribeUsersRequest.cc
|
src/model/DescribeUserRamPolicyRequest.cc
|
||||||
src/model/DescribeUsersResult.cc
|
src/model/DescribeUserRamPolicyResult.cc
|
||||||
src/model/DissociatePlanogramRailRequest.cc
|
src/model/SearchApServiceRequest.cc
|
||||||
src/model/DissociatePlanogramRailResult.cc
|
src/model/SearchApServiceResult.cc
|
||||||
src/model/GetUserRequest.cc
|
|
||||||
src/model/GetUserResult.cc
|
|
||||||
src/model/UnassignUserRequest.cc
|
|
||||||
src/model/UnassignUserResult.cc
|
|
||||||
src/model/UnbindEslDeviceRequest.cc
|
src/model/UnbindEslDeviceRequest.cc
|
||||||
src/model/UnbindEslDeviceResult.cc
|
src/model/UnbindEslDeviceResult.cc
|
||||||
src/model/UpdateEslDeviceLightRequest.cc
|
src/model/UnbindEslDeviceShelfRequest.cc
|
||||||
src/model/UpdateEslDeviceLightResult.cc
|
src/model/UnbindEslDeviceShelfResult.cc
|
||||||
src/model/UpdateStoreRequest.cc
|
src/model/UpdateStoreRequest.cc
|
||||||
src/model/UpdateStoreResult.cc
|
src/model/UpdateStoreResult.cc )
|
||||||
src/model/UpdateStoreConfigRequest.cc
|
|
||||||
src/model/UpdateStoreConfigResult.cc )
|
|
||||||
|
|
||||||
add_library(cloudesl ${LIB_TYPE}
|
add_library(cloudesl ${LIB_TYPE}
|
||||||
${cloudesl_public_header}
|
${cloudesl_public_header}
|
||||||
|
|||||||
@@ -22,74 +22,52 @@
|
|||||||
#include <alibabacloud/core/EndpointProvider.h>
|
#include <alibabacloud/core/EndpointProvider.h>
|
||||||
#include <alibabacloud/core/RpcServiceClient.h>
|
#include <alibabacloud/core/RpcServiceClient.h>
|
||||||
#include "CloudeslExport.h"
|
#include "CloudeslExport.h"
|
||||||
#include "model/ActivateApDeviceRequest.h"
|
#include "model/ActivateApServiceRequest.h"
|
||||||
#include "model/ActivateApDeviceResult.h"
|
#include "model/ActivateApServiceResult.h"
|
||||||
#include "model/AddApDeviceRequest.h"
|
#include "model/ActivateApService2Request.h"
|
||||||
#include "model/AddApDeviceResult.h"
|
#include "model/ActivateApService2Result.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/BatchInsertItemsRequest.h"
|
||||||
#include "model/BatchInsertItemsResult.h"
|
#include "model/BatchInsertItemsResult.h"
|
||||||
|
#include "model/BindApStoreServiceRequest.h"
|
||||||
|
#include "model/BindApStoreServiceResult.h"
|
||||||
#include "model/BindEslDeviceRequest.h"
|
#include "model/BindEslDeviceRequest.h"
|
||||||
#include "model/BindEslDeviceResult.h"
|
#include "model/BindEslDeviceResult.h"
|
||||||
#include "model/ComposePlanogramPositionsRequest.h"
|
#include "model/BindEslDeviceShelfRequest.h"
|
||||||
#include "model/ComposePlanogramPositionsResult.h"
|
#include "model/BindEslDeviceShelfResult.h"
|
||||||
#include "model/CreateStoreRequest.h"
|
#include "model/CreateStoreRequest.h"
|
||||||
#include "model/CreateStoreResult.h"
|
#include "model/CreateStoreResult.h"
|
||||||
#include "model/DeleteApDeviceRequest.h"
|
#include "model/DeleteApServiceRequest.h"
|
||||||
#include "model/DeleteApDeviceResult.h"
|
#include "model/DeleteApServiceResult.h"
|
||||||
#include "model/DeletePlanogramShelfRequest.h"
|
#include "model/DeleteEslDeviceRequest.h"
|
||||||
#include "model/DeletePlanogramShelfResult.h"
|
#include "model/DeleteEslDeviceResult.h"
|
||||||
|
#include "model/DeleteItemRequest.h"
|
||||||
|
#include "model/DeleteItemResult.h"
|
||||||
|
#include "model/DeleteItemBySkuIdRequest.h"
|
||||||
|
#include "model/DeleteItemBySkuIdResult.h"
|
||||||
#include "model/DeleteStoreRequest.h"
|
#include "model/DeleteStoreRequest.h"
|
||||||
#include "model/DeleteStoreResult.h"
|
#include "model/DeleteStoreResult.h"
|
||||||
#include "model/DeleteUserRequest.h"
|
|
||||||
#include "model/DeleteUserResult.h"
|
|
||||||
#include "model/DescribeAlarmsRequest.h"
|
#include "model/DescribeAlarmsRequest.h"
|
||||||
#include "model/DescribeAlarmsResult.h"
|
#include "model/DescribeAlarmsResult.h"
|
||||||
#include "model/DescribeApDevicesRequest.h"
|
#include "model/DescribeCompanyRequest.h"
|
||||||
#include "model/DescribeApDevicesResult.h"
|
#include "model/DescribeCompanyResult.h"
|
||||||
#include "model/DescribeBindersRequest.h"
|
|
||||||
#include "model/DescribeBindersResult.h"
|
|
||||||
#include "model/DescribeEslDevicesRequest.h"
|
#include "model/DescribeEslDevicesRequest.h"
|
||||||
#include "model/DescribeEslDevicesResult.h"
|
#include "model/DescribeEslDevicesResult.h"
|
||||||
#include "model/DescribeItemsRequest.h"
|
#include "model/DescribeItemsRequest.h"
|
||||||
#include "model/DescribeItemsResult.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/DescribeStoresRequest.h"
|
||||||
#include "model/DescribeStoresResult.h"
|
#include "model/DescribeStoresResult.h"
|
||||||
#include "model/DescribeUserLogRequest.h"
|
#include "model/DescribeUserOperationLogRequest.h"
|
||||||
#include "model/DescribeUserLogResult.h"
|
#include "model/DescribeUserOperationLogResult.h"
|
||||||
#include "model/DescribeUsersRequest.h"
|
#include "model/DescribeUserRamPolicyRequest.h"
|
||||||
#include "model/DescribeUsersResult.h"
|
#include "model/DescribeUserRamPolicyResult.h"
|
||||||
#include "model/DissociatePlanogramRailRequest.h"
|
#include "model/SearchApServiceRequest.h"
|
||||||
#include "model/DissociatePlanogramRailResult.h"
|
#include "model/SearchApServiceResult.h"
|
||||||
#include "model/GetUserRequest.h"
|
|
||||||
#include "model/GetUserResult.h"
|
|
||||||
#include "model/UnassignUserRequest.h"
|
|
||||||
#include "model/UnassignUserResult.h"
|
|
||||||
#include "model/UnbindEslDeviceRequest.h"
|
#include "model/UnbindEslDeviceRequest.h"
|
||||||
#include "model/UnbindEslDeviceResult.h"
|
#include "model/UnbindEslDeviceResult.h"
|
||||||
#include "model/UpdateEslDeviceLightRequest.h"
|
#include "model/UnbindEslDeviceShelfRequest.h"
|
||||||
#include "model/UpdateEslDeviceLightResult.h"
|
#include "model/UnbindEslDeviceShelfResult.h"
|
||||||
#include "model/UpdateStoreRequest.h"
|
#include "model/UpdateStoreRequest.h"
|
||||||
#include "model/UpdateStoreResult.h"
|
#include "model/UpdateStoreResult.h"
|
||||||
#include "model/UpdateStoreConfigRequest.h"
|
|
||||||
#include "model/UpdateStoreConfigResult.h"
|
|
||||||
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
@@ -99,215 +77,149 @@ namespace AlibabaCloud
|
|||||||
class ALIBABACLOUD_CLOUDESL_EXPORT CloudeslClient : public RpcServiceClient
|
class ALIBABACLOUD_CLOUDESL_EXPORT CloudeslClient : public RpcServiceClient
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef Outcome<Error, Model::ActivateApDeviceResult> ActivateApDeviceOutcome;
|
typedef Outcome<Error, Model::ActivateApServiceResult> ActivateApServiceOutcome;
|
||||||
typedef std::future<ActivateApDeviceOutcome> ActivateApDeviceOutcomeCallable;
|
typedef std::future<ActivateApServiceOutcome> ActivateApServiceOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::ActivateApDeviceRequest&, const ActivateApDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActivateApDeviceAsyncHandler;
|
typedef std::function<void(const CloudeslClient*, const Model::ActivateApServiceRequest&, const ActivateApServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActivateApServiceAsyncHandler;
|
||||||
typedef Outcome<Error, Model::AddApDeviceResult> AddApDeviceOutcome;
|
typedef Outcome<Error, Model::ActivateApService2Result> ActivateApService2Outcome;
|
||||||
typedef std::future<AddApDeviceOutcome> AddApDeviceOutcomeCallable;
|
typedef std::future<ActivateApService2Outcome> ActivateApService2OutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::AddApDeviceRequest&, const AddApDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddApDeviceAsyncHandler;
|
typedef std::function<void(const CloudeslClient*, const Model::ActivateApService2Request&, const ActivateApService2Outcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActivateApService2AsyncHandler;
|
||||||
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 Outcome<Error, Model::BatchInsertItemsResult> BatchInsertItemsOutcome;
|
||||||
typedef std::future<BatchInsertItemsOutcome> BatchInsertItemsOutcomeCallable;
|
typedef std::future<BatchInsertItemsOutcome> BatchInsertItemsOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::BatchInsertItemsRequest&, const BatchInsertItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchInsertItemsAsyncHandler;
|
typedef std::function<void(const CloudeslClient*, const Model::BatchInsertItemsRequest&, const BatchInsertItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchInsertItemsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::BindApStoreServiceResult> BindApStoreServiceOutcome;
|
||||||
|
typedef std::future<BindApStoreServiceOutcome> BindApStoreServiceOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudeslClient*, const Model::BindApStoreServiceRequest&, const BindApStoreServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindApStoreServiceAsyncHandler;
|
||||||
typedef Outcome<Error, Model::BindEslDeviceResult> BindEslDeviceOutcome;
|
typedef Outcome<Error, Model::BindEslDeviceResult> BindEslDeviceOutcome;
|
||||||
typedef std::future<BindEslDeviceOutcome> BindEslDeviceOutcomeCallable;
|
typedef std::future<BindEslDeviceOutcome> BindEslDeviceOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::BindEslDeviceRequest&, const BindEslDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindEslDeviceAsyncHandler;
|
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 Outcome<Error, Model::BindEslDeviceShelfResult> BindEslDeviceShelfOutcome;
|
||||||
typedef std::future<ComposePlanogramPositionsOutcome> ComposePlanogramPositionsOutcomeCallable;
|
typedef std::future<BindEslDeviceShelfOutcome> BindEslDeviceShelfOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::ComposePlanogramPositionsRequest&, const ComposePlanogramPositionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ComposePlanogramPositionsAsyncHandler;
|
typedef std::function<void(const CloudeslClient*, const Model::BindEslDeviceShelfRequest&, const BindEslDeviceShelfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindEslDeviceShelfAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CreateStoreResult> CreateStoreOutcome;
|
typedef Outcome<Error, Model::CreateStoreResult> CreateStoreOutcome;
|
||||||
typedef std::future<CreateStoreOutcome> CreateStoreOutcomeCallable;
|
typedef std::future<CreateStoreOutcome> CreateStoreOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::CreateStoreRequest&, const CreateStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateStoreAsyncHandler;
|
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 Outcome<Error, Model::DeleteApServiceResult> DeleteApServiceOutcome;
|
||||||
typedef std::future<DeleteApDeviceOutcome> DeleteApDeviceOutcomeCallable;
|
typedef std::future<DeleteApServiceOutcome> DeleteApServiceOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::DeleteApDeviceRequest&, const DeleteApDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteApDeviceAsyncHandler;
|
typedef std::function<void(const CloudeslClient*, const Model::DeleteApServiceRequest&, const DeleteApServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteApServiceAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DeletePlanogramShelfResult> DeletePlanogramShelfOutcome;
|
typedef Outcome<Error, Model::DeleteEslDeviceResult> DeleteEslDeviceOutcome;
|
||||||
typedef std::future<DeletePlanogramShelfOutcome> DeletePlanogramShelfOutcomeCallable;
|
typedef std::future<DeleteEslDeviceOutcome> DeleteEslDeviceOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::DeletePlanogramShelfRequest&, const DeletePlanogramShelfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePlanogramShelfAsyncHandler;
|
typedef std::function<void(const CloudeslClient*, const Model::DeleteEslDeviceRequest&, const DeleteEslDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEslDeviceAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteItemResult> DeleteItemOutcome;
|
||||||
|
typedef std::future<DeleteItemOutcome> DeleteItemOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudeslClient*, const Model::DeleteItemRequest&, const DeleteItemOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteItemAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteItemBySkuIdResult> DeleteItemBySkuIdOutcome;
|
||||||
|
typedef std::future<DeleteItemBySkuIdOutcome> DeleteItemBySkuIdOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudeslClient*, const Model::DeleteItemBySkuIdRequest&, const DeleteItemBySkuIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteItemBySkuIdAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DeleteStoreResult> DeleteStoreOutcome;
|
typedef Outcome<Error, Model::DeleteStoreResult> DeleteStoreOutcome;
|
||||||
typedef std::future<DeleteStoreOutcome> DeleteStoreOutcomeCallable;
|
typedef std::future<DeleteStoreOutcome> DeleteStoreOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::DeleteStoreRequest&, const DeleteStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStoreAsyncHandler;
|
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 Outcome<Error, Model::DescribeAlarmsResult> DescribeAlarmsOutcome;
|
||||||
typedef std::future<DescribeAlarmsOutcome> DescribeAlarmsOutcomeCallable;
|
typedef std::future<DescribeAlarmsOutcome> DescribeAlarmsOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeAlarmsRequest&, const DescribeAlarmsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAlarmsAsyncHandler;
|
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 Outcome<Error, Model::DescribeCompanyResult> DescribeCompanyOutcome;
|
||||||
typedef std::future<DescribeApDevicesOutcome> DescribeApDevicesOutcomeCallable;
|
typedef std::future<DescribeCompanyOutcome> DescribeCompanyOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeApDevicesRequest&, const DescribeApDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeApDevicesAsyncHandler;
|
typedef std::function<void(const CloudeslClient*, const Model::DescribeCompanyRequest&, const DescribeCompanyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCompanyAsyncHandler;
|
||||||
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 Outcome<Error, Model::DescribeEslDevicesResult> DescribeEslDevicesOutcome;
|
||||||
typedef std::future<DescribeEslDevicesOutcome> DescribeEslDevicesOutcomeCallable;
|
typedef std::future<DescribeEslDevicesOutcome> DescribeEslDevicesOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeEslDevicesRequest&, const DescribeEslDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEslDevicesAsyncHandler;
|
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 Outcome<Error, Model::DescribeItemsResult> DescribeItemsOutcome;
|
||||||
typedef std::future<DescribeItemsOutcome> DescribeItemsOutcomeCallable;
|
typedef std::future<DescribeItemsOutcome> DescribeItemsOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeItemsRequest&, const DescribeItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeItemsAsyncHandler;
|
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 Outcome<Error, Model::DescribeStoresResult> DescribeStoresOutcome;
|
||||||
typedef std::future<DescribeStoresOutcome> DescribeStoresOutcomeCallable;
|
typedef std::future<DescribeStoresOutcome> DescribeStoresOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeStoresRequest&, const DescribeStoresOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStoresAsyncHandler;
|
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 Outcome<Error, Model::DescribeUserOperationLogResult> DescribeUserOperationLogOutcome;
|
||||||
typedef std::future<DescribeUserLogOutcome> DescribeUserLogOutcomeCallable;
|
typedef std::future<DescribeUserOperationLogOutcome> DescribeUserOperationLogOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeUserLogRequest&, const DescribeUserLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserLogAsyncHandler;
|
typedef std::function<void(const CloudeslClient*, const Model::DescribeUserOperationLogRequest&, const DescribeUserOperationLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserOperationLogAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeUsersResult> DescribeUsersOutcome;
|
typedef Outcome<Error, Model::DescribeUserRamPolicyResult> DescribeUserRamPolicyOutcome;
|
||||||
typedef std::future<DescribeUsersOutcome> DescribeUsersOutcomeCallable;
|
typedef std::future<DescribeUserRamPolicyOutcome> DescribeUserRamPolicyOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeUsersRequest&, const DescribeUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUsersAsyncHandler;
|
typedef std::function<void(const CloudeslClient*, const Model::DescribeUserRamPolicyRequest&, const DescribeUserRamPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserRamPolicyAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DissociatePlanogramRailResult> DissociatePlanogramRailOutcome;
|
typedef Outcome<Error, Model::SearchApServiceResult> SearchApServiceOutcome;
|
||||||
typedef std::future<DissociatePlanogramRailOutcome> DissociatePlanogramRailOutcomeCallable;
|
typedef std::future<SearchApServiceOutcome> SearchApServiceOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::DissociatePlanogramRailRequest&, const DissociatePlanogramRailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DissociatePlanogramRailAsyncHandler;
|
typedef std::function<void(const CloudeslClient*, const Model::SearchApServiceRequest&, const SearchApServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchApServiceAsyncHandler;
|
||||||
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 Outcome<Error, Model::UnbindEslDeviceResult> UnbindEslDeviceOutcome;
|
||||||
typedef std::future<UnbindEslDeviceOutcome> UnbindEslDeviceOutcomeCallable;
|
typedef std::future<UnbindEslDeviceOutcome> UnbindEslDeviceOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::UnbindEslDeviceRequest&, const UnbindEslDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindEslDeviceAsyncHandler;
|
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 Outcome<Error, Model::UnbindEslDeviceShelfResult> UnbindEslDeviceShelfOutcome;
|
||||||
typedef std::future<UpdateEslDeviceLightOutcome> UpdateEslDeviceLightOutcomeCallable;
|
typedef std::future<UnbindEslDeviceShelfOutcome> UnbindEslDeviceShelfOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::UpdateEslDeviceLightRequest&, const UpdateEslDeviceLightOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateEslDeviceLightAsyncHandler;
|
typedef std::function<void(const CloudeslClient*, const Model::UnbindEslDeviceShelfRequest&, const UnbindEslDeviceShelfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindEslDeviceShelfAsyncHandler;
|
||||||
typedef Outcome<Error, Model::UpdateStoreResult> UpdateStoreOutcome;
|
typedef Outcome<Error, Model::UpdateStoreResult> UpdateStoreOutcome;
|
||||||
typedef std::future<UpdateStoreOutcome> UpdateStoreOutcomeCallable;
|
typedef std::future<UpdateStoreOutcome> UpdateStoreOutcomeCallable;
|
||||||
typedef std::function<void(const CloudeslClient*, const Model::UpdateStoreRequest&, const UpdateStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateStoreAsyncHandler;
|
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 Credentials &credentials, const ClientConfiguration &configuration);
|
||||||
CloudeslClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, 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(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||||
~CloudeslClient();
|
~CloudeslClient();
|
||||||
ActivateApDeviceOutcome activateApDevice(const Model::ActivateApDeviceRequest &request)const;
|
ActivateApServiceOutcome activateApService(const Model::ActivateApServiceRequest &request)const;
|
||||||
void activateApDeviceAsync(const Model::ActivateApDeviceRequest& request, const ActivateApDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void activateApServiceAsync(const Model::ActivateApServiceRequest& request, const ActivateApServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ActivateApDeviceOutcomeCallable activateApDeviceCallable(const Model::ActivateApDeviceRequest& request) const;
|
ActivateApServiceOutcomeCallable activateApServiceCallable(const Model::ActivateApServiceRequest& request) const;
|
||||||
AddApDeviceOutcome addApDevice(const Model::AddApDeviceRequest &request)const;
|
ActivateApService2Outcome activateApService2(const Model::ActivateApService2Request &request)const;
|
||||||
void addApDeviceAsync(const Model::AddApDeviceRequest& request, const AddApDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void activateApService2Async(const Model::ActivateApService2Request& request, const ActivateApService2AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
AddApDeviceOutcomeCallable addApDeviceCallable(const Model::AddApDeviceRequest& request) const;
|
ActivateApService2OutcomeCallable activateApService2Callable(const Model::ActivateApService2Request& 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;
|
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;
|
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;
|
BatchInsertItemsOutcomeCallable batchInsertItemsCallable(const Model::BatchInsertItemsRequest& request) const;
|
||||||
|
BindApStoreServiceOutcome bindApStoreService(const Model::BindApStoreServiceRequest &request)const;
|
||||||
|
void bindApStoreServiceAsync(const Model::BindApStoreServiceRequest& request, const BindApStoreServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
BindApStoreServiceOutcomeCallable bindApStoreServiceCallable(const Model::BindApStoreServiceRequest& request) const;
|
||||||
BindEslDeviceOutcome bindEslDevice(const Model::BindEslDeviceRequest &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;
|
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;
|
BindEslDeviceOutcomeCallable bindEslDeviceCallable(const Model::BindEslDeviceRequest& request) const;
|
||||||
ComposePlanogramPositionsOutcome composePlanogramPositions(const Model::ComposePlanogramPositionsRequest &request)const;
|
BindEslDeviceShelfOutcome bindEslDeviceShelf(const Model::BindEslDeviceShelfRequest &request)const;
|
||||||
void composePlanogramPositionsAsync(const Model::ComposePlanogramPositionsRequest& request, const ComposePlanogramPositionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void bindEslDeviceShelfAsync(const Model::BindEslDeviceShelfRequest& request, const BindEslDeviceShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ComposePlanogramPositionsOutcomeCallable composePlanogramPositionsCallable(const Model::ComposePlanogramPositionsRequest& request) const;
|
BindEslDeviceShelfOutcomeCallable bindEslDeviceShelfCallable(const Model::BindEslDeviceShelfRequest& request) const;
|
||||||
CreateStoreOutcome createStore(const Model::CreateStoreRequest &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;
|
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;
|
CreateStoreOutcomeCallable createStoreCallable(const Model::CreateStoreRequest& request) const;
|
||||||
DeleteApDeviceOutcome deleteApDevice(const Model::DeleteApDeviceRequest &request)const;
|
DeleteApServiceOutcome deleteApService(const Model::DeleteApServiceRequest &request)const;
|
||||||
void deleteApDeviceAsync(const Model::DeleteApDeviceRequest& request, const DeleteApDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteApServiceAsync(const Model::DeleteApServiceRequest& request, const DeleteApServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteApDeviceOutcomeCallable deleteApDeviceCallable(const Model::DeleteApDeviceRequest& request) const;
|
DeleteApServiceOutcomeCallable deleteApServiceCallable(const Model::DeleteApServiceRequest& request) const;
|
||||||
DeletePlanogramShelfOutcome deletePlanogramShelf(const Model::DeletePlanogramShelfRequest &request)const;
|
DeleteEslDeviceOutcome deleteEslDevice(const Model::DeleteEslDeviceRequest &request)const;
|
||||||
void deletePlanogramShelfAsync(const Model::DeletePlanogramShelfRequest& request, const DeletePlanogramShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteEslDeviceAsync(const Model::DeleteEslDeviceRequest& request, const DeleteEslDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeletePlanogramShelfOutcomeCallable deletePlanogramShelfCallable(const Model::DeletePlanogramShelfRequest& request) const;
|
DeleteEslDeviceOutcomeCallable deleteEslDeviceCallable(const Model::DeleteEslDeviceRequest& request) const;
|
||||||
|
DeleteItemOutcome deleteItem(const Model::DeleteItemRequest &request)const;
|
||||||
|
void deleteItemAsync(const Model::DeleteItemRequest& request, const DeleteItemAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteItemOutcomeCallable deleteItemCallable(const Model::DeleteItemRequest& request) const;
|
||||||
|
DeleteItemBySkuIdOutcome deleteItemBySkuId(const Model::DeleteItemBySkuIdRequest &request)const;
|
||||||
|
void deleteItemBySkuIdAsync(const Model::DeleteItemBySkuIdRequest& request, const DeleteItemBySkuIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteItemBySkuIdOutcomeCallable deleteItemBySkuIdCallable(const Model::DeleteItemBySkuIdRequest& request) const;
|
||||||
DeleteStoreOutcome deleteStore(const Model::DeleteStoreRequest &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;
|
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;
|
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;
|
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;
|
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;
|
DescribeAlarmsOutcomeCallable describeAlarmsCallable(const Model::DescribeAlarmsRequest& request) const;
|
||||||
DescribeApDevicesOutcome describeApDevices(const Model::DescribeApDevicesRequest &request)const;
|
DescribeCompanyOutcome describeCompany(const Model::DescribeCompanyRequest &request)const;
|
||||||
void describeApDevicesAsync(const Model::DescribeApDevicesRequest& request, const DescribeApDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeCompanyAsync(const Model::DescribeCompanyRequest& request, const DescribeCompanyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeApDevicesOutcomeCallable describeApDevicesCallable(const Model::DescribeApDevicesRequest& request) const;
|
DescribeCompanyOutcomeCallable describeCompanyCallable(const Model::DescribeCompanyRequest& 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;
|
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;
|
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;
|
DescribeEslDevicesOutcomeCallable describeEslDevicesCallable(const Model::DescribeEslDevicesRequest& request) const;
|
||||||
DescribeItemsOutcome describeItems(const Model::DescribeItemsRequest &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;
|
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;
|
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;
|
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;
|
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;
|
DescribeStoresOutcomeCallable describeStoresCallable(const Model::DescribeStoresRequest& request) const;
|
||||||
DescribeUserLogOutcome describeUserLog(const Model::DescribeUserLogRequest &request)const;
|
DescribeUserOperationLogOutcome describeUserOperationLog(const Model::DescribeUserOperationLogRequest &request)const;
|
||||||
void describeUserLogAsync(const Model::DescribeUserLogRequest& request, const DescribeUserLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeUserOperationLogAsync(const Model::DescribeUserOperationLogRequest& request, const DescribeUserOperationLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeUserLogOutcomeCallable describeUserLogCallable(const Model::DescribeUserLogRequest& request) const;
|
DescribeUserOperationLogOutcomeCallable describeUserOperationLogCallable(const Model::DescribeUserOperationLogRequest& request) const;
|
||||||
DescribeUsersOutcome describeUsers(const Model::DescribeUsersRequest &request)const;
|
DescribeUserRamPolicyOutcome describeUserRamPolicy(const Model::DescribeUserRamPolicyRequest &request)const;
|
||||||
void describeUsersAsync(const Model::DescribeUsersRequest& request, const DescribeUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeUserRamPolicyAsync(const Model::DescribeUserRamPolicyRequest& request, const DescribeUserRamPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeUsersOutcomeCallable describeUsersCallable(const Model::DescribeUsersRequest& request) const;
|
DescribeUserRamPolicyOutcomeCallable describeUserRamPolicyCallable(const Model::DescribeUserRamPolicyRequest& request) const;
|
||||||
DissociatePlanogramRailOutcome dissociatePlanogramRail(const Model::DissociatePlanogramRailRequest &request)const;
|
SearchApServiceOutcome searchApService(const Model::SearchApServiceRequest &request)const;
|
||||||
void dissociatePlanogramRailAsync(const Model::DissociatePlanogramRailRequest& request, const DissociatePlanogramRailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void searchApServiceAsync(const Model::SearchApServiceRequest& request, const SearchApServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DissociatePlanogramRailOutcomeCallable dissociatePlanogramRailCallable(const Model::DissociatePlanogramRailRequest& request) const;
|
SearchApServiceOutcomeCallable searchApServiceCallable(const Model::SearchApServiceRequest& 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;
|
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;
|
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;
|
UnbindEslDeviceOutcomeCallable unbindEslDeviceCallable(const Model::UnbindEslDeviceRequest& request) const;
|
||||||
UpdateEslDeviceLightOutcome updateEslDeviceLight(const Model::UpdateEslDeviceLightRequest &request)const;
|
UnbindEslDeviceShelfOutcome unbindEslDeviceShelf(const Model::UnbindEslDeviceShelfRequest &request)const;
|
||||||
void updateEslDeviceLightAsync(const Model::UpdateEslDeviceLightRequest& request, const UpdateEslDeviceLightAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void unbindEslDeviceShelfAsync(const Model::UnbindEslDeviceShelfRequest& request, const UnbindEslDeviceShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateEslDeviceLightOutcomeCallable updateEslDeviceLightCallable(const Model::UpdateEslDeviceLightRequest& request) const;
|
UnbindEslDeviceShelfOutcomeCallable unbindEslDeviceShelfCallable(const Model::UnbindEslDeviceShelfRequest& request) const;
|
||||||
UpdateStoreOutcome updateStore(const Model::UpdateStoreRequest &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;
|
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;
|
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:
|
private:
|
||||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDAPDEVICEREQUEST_H_
|
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICE2REQUEST_H_
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_ADDAPDEVICEREQUEST_H_
|
#define ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICE2REQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,22 +28,19 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT AddApDeviceRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CLOUDESL_EXPORT ActivateApService2Request : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AddApDeviceRequest();
|
ActivateApService2Request();
|
||||||
~AddApDeviceRequest();
|
~ActivateApService2Request();
|
||||||
|
|
||||||
std::string getRemark()const;
|
|
||||||
void setRemark(const std::string& remark);
|
|
||||||
std::string getApMac()const;
|
std::string getApMac()const;
|
||||||
void setApMac(const std::string& apMac);
|
void setApMac(const std::string& apMac);
|
||||||
std::string getStoreId()const;
|
std::string getStoreId()const;
|
||||||
void setStoreId(const std::string& storeId);
|
void setStoreId(const std::string& storeId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string remark_;
|
|
||||||
std::string apMac_;
|
std::string apMac_;
|
||||||
std::string storeId_;
|
std::string storeId_;
|
||||||
|
|
||||||
@@ -51,4 +48,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDAPDEVICEREQUEST_H_
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICE2REQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDUSERRESULT_H_
|
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICE2RESULT_H_
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_ADDUSERRESULT_H_
|
#define ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICE2RESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,19 +29,16 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT AddUserResult : public ServiceResult
|
class ALIBABACLOUD_CLOUDESL_EXPORT ActivateApService2Result : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
AddUserResult();
|
ActivateApService2Result();
|
||||||
explicit AddUserResult(const std::string &payload);
|
explicit ActivateApService2Result(const std::string &payload);
|
||||||
~AddUserResult();
|
~ActivateApService2Result();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
std::string getDynamicCode()const;
|
|
||||||
std::string getErrorCode()const;
|
std::string getErrorCode()const;
|
||||||
std::string getDynamicMessage()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
std::string getCode()const;
|
std::string getCode()const;
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
@@ -49,10 +46,7 @@ namespace AlibabaCloud
|
|||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
std::string dynamicCode_;
|
|
||||||
std::string errorCode_;
|
std::string errorCode_;
|
||||||
std::string dynamicMessage_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
std::string code_;
|
std::string code_;
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
@@ -60,4 +54,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDUSERRESULT_H_
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICE2RESULT_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPDEVICEREQUEST_H_
|
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICEREQUEST_H_
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPDEVICEREQUEST_H_
|
#define ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICEREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT ActivateApDeviceRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CLOUDESL_EXPORT ActivateApServiceRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ActivateApDeviceRequest();
|
ActivateApServiceRequest();
|
||||||
~ActivateApDeviceRequest();
|
~ActivateApServiceRequest();
|
||||||
|
|
||||||
std::string getApMac()const;
|
std::string getApMac()const;
|
||||||
void setApMac(const std::string& apMac);
|
void setApMac(const std::string& apMac);
|
||||||
@@ -48,4 +48,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPDEVICEREQUEST_H_
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICEREQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ASSIGNUSERRESULT_H_
|
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICERESULT_H_
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_ASSIGNUSERRESULT_H_
|
#define ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICERESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,35 +29,27 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT AssignUserResult : public ServiceResult
|
class ALIBABACLOUD_CLOUDESL_EXPORT ActivateApServiceResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
AssignUserResult();
|
ActivateApServiceResult();
|
||||||
explicit AssignUserResult(const std::string &payload);
|
explicit ActivateApServiceResult(const std::string &payload);
|
||||||
~AssignUserResult();
|
~ActivateApServiceResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
std::string getDynamicCode()const;
|
|
||||||
std::string getErrorCode()const;
|
std::string getErrorCode()const;
|
||||||
std::string getDynamicMessage()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
std::string getCode()const;
|
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
std::string dynamicCode_;
|
|
||||||
std::string errorCode_;
|
std::string errorCode_;
|
||||||
std::string dynamicMessage_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
std::string code_;
|
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ASSIGNUSERRESULT_H_
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ACTIVATEAPSERVICERESULT_H_
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_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_
|
|
||||||
@@ -35,54 +35,45 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
int memberPrice;
|
int memberPrice;
|
||||||
int actionPrice;
|
int actionPrice;
|
||||||
|
std::string productionPlace;
|
||||||
bool beSourceCode;
|
bool beSourceCode;
|
||||||
|
std::string storeId;
|
||||||
std::string brandName;
|
std::string brandName;
|
||||||
std::string promotionStart;
|
std::string promotionStart;
|
||||||
|
std::string sourceCode;
|
||||||
|
long itemId;
|
||||||
|
std::string extraAttribute;
|
||||||
|
std::string companyId;
|
||||||
std::string priceUnit;
|
std::string priceUnit;
|
||||||
std::string rank;
|
std::string rank;
|
||||||
int itemInfoIndex;
|
|
||||||
std::string itemBarCode;
|
std::string itemBarCode;
|
||||||
std::string customizeFeatureK;
|
|
||||||
std::string customizeFeatureL;
|
|
||||||
std::string customizeFeatureM;
|
|
||||||
bool bePromotion;
|
bool bePromotion;
|
||||||
std::string customizeFeatureN;
|
|
||||||
std::string customizeFeatureO;
|
|
||||||
std::string promotionEnd;
|
std::string promotionEnd;
|
||||||
std::string itemTitle;
|
std::string itemTitle;
|
||||||
|
int originalPrice;
|
||||||
|
std::string itemShortTitle;
|
||||||
std::string customizeFeatureC;
|
std::string customizeFeatureC;
|
||||||
std::string customizeFeatureD;
|
|
||||||
std::string itemQrCode;
|
std::string itemQrCode;
|
||||||
std::string customizeFeatureE;
|
std::string customizeFeatureD;
|
||||||
std::string inventoryStatus;
|
|
||||||
std::string promotionReason;
|
std::string promotionReason;
|
||||||
|
std::string customizeFeatureE;
|
||||||
std::string customizeFeatureF;
|
std::string customizeFeatureF;
|
||||||
|
std::string forestSecondId;
|
||||||
std::string customizeFeatureG;
|
std::string customizeFeatureG;
|
||||||
std::string customizeFeatureH;
|
std::string customizeFeatureH;
|
||||||
std::string customizeFeatureI;
|
std::string customizeFeatureI;
|
||||||
std::string customizeFeatureJ;
|
std::string customizeFeatureJ;
|
||||||
|
std::string optionGroups;
|
||||||
|
std::string modelNumber;
|
||||||
|
std::string saleSpec;
|
||||||
std::string customizeFeatureA;
|
std::string customizeFeatureA;
|
||||||
std::string customizeFeatureB;
|
std::string customizeFeatureB;
|
||||||
int suggestPrice;
|
int suggestPrice;
|
||||||
std::string forestFirstId;
|
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 categoryName;
|
||||||
std::string taxFee;
|
|
||||||
std::string energyEfficiency;
|
std::string energyEfficiency;
|
||||||
std::string promotionText;
|
|
||||||
std::string skuId;
|
std::string skuId;
|
||||||
|
std::string promotionText;
|
||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -45,24 +45,16 @@ namespace AlibabaCloud
|
|||||||
explicit BatchInsertItemsResult(const std::string &payload);
|
explicit BatchInsertItemsResult(const std::string &payload);
|
||||||
~BatchInsertItemsResult();
|
~BatchInsertItemsResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
std::string getDynamicCode()const;
|
|
||||||
std::string getErrorCode()const;
|
std::string getErrorCode()const;
|
||||||
std::string getDynamicMessage()const;
|
|
||||||
std::vector<BatchResult> getBatchResults()const;
|
std::vector<BatchResult> getBatchResults()const;
|
||||||
std::string getErrorMessage()const;
|
|
||||||
std::string getCode()const;
|
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
std::string dynamicCode_;
|
|
||||||
std::string errorCode_;
|
std::string errorCode_;
|
||||||
std::string dynamicMessage_;
|
|
||||||
std::vector<BatchResult> batchResults_;
|
std::vector<BatchResult> batchResults_;
|
||||||
std::string errorMessage_;
|
|
||||||
std::string code_;
|
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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_BINDAPSTORESERVICEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDESL_MODEL_BINDAPSTORESERVICEREQUEST_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 BindApStoreServiceRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
BindApStoreServiceRequest();
|
||||||
|
~BindApStoreServiceRequest();
|
||||||
|
|
||||||
|
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_BINDAPSTORESERVICEREQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDAPDEVICERESULT_H_
|
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_BINDAPSTORESERVICERESULT_H_
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_ADDAPDEVICERESULT_H_
|
#define ALIBABACLOUD_CLOUDESL_MODEL_BINDAPSTORESERVICERESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,35 +29,27 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT AddApDeviceResult : public ServiceResult
|
class ALIBABACLOUD_CLOUDESL_EXPORT BindApStoreServiceResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
AddApDeviceResult();
|
BindApStoreServiceResult();
|
||||||
explicit AddApDeviceResult(const std::string &payload);
|
explicit BindApStoreServiceResult(const std::string &payload);
|
||||||
~AddApDeviceResult();
|
~BindApStoreServiceResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
std::string getDynamicCode()const;
|
|
||||||
std::string getErrorCode()const;
|
std::string getErrorCode()const;
|
||||||
std::string getDynamicMessage()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
std::string getCode()const;
|
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
std::string dynamicCode_;
|
|
||||||
std::string errorCode_;
|
std::string errorCode_;
|
||||||
std::string dynamicMessage_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
std::string code_;
|
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDAPDEVICERESULT_H_
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BINDAPSTORESERVICERESULT_H_
|
||||||
@@ -35,24 +35,15 @@ namespace AlibabaCloud
|
|||||||
BindEslDeviceRequest();
|
BindEslDeviceRequest();
|
||||||
~BindEslDeviceRequest();
|
~BindEslDeviceRequest();
|
||||||
|
|
||||||
std::string getColumn()const;
|
|
||||||
void setColumn(const std::string& column);
|
|
||||||
std::string getStoreId()const;
|
std::string getStoreId()const;
|
||||||
void setStoreId(const std::string& storeId);
|
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;
|
std::string getEslBarCode()const;
|
||||||
void setEslBarCode(const std::string& eslBarCode);
|
void setEslBarCode(const std::string& eslBarCode);
|
||||||
std::string getItemBarCode()const;
|
std::string getItemBarCode()const;
|
||||||
void setItemBarCode(const std::string& itemBarCode);
|
void setItemBarCode(const std::string& itemBarCode);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string column_;
|
|
||||||
std::string storeId_;
|
std::string storeId_;
|
||||||
int layer_;
|
|
||||||
std::string shelf_;
|
|
||||||
std::string eslBarCode_;
|
std::string eslBarCode_;
|
||||||
std::string itemBarCode_;
|
std::string itemBarCode_;
|
||||||
|
|
||||||
|
|||||||
@@ -38,22 +38,14 @@ namespace AlibabaCloud
|
|||||||
explicit BindEslDeviceResult(const std::string &payload);
|
explicit BindEslDeviceResult(const std::string &payload);
|
||||||
~BindEslDeviceResult();
|
~BindEslDeviceResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
std::string getDynamicCode()const;
|
|
||||||
std::string getErrorCode()const;
|
std::string getErrorCode()const;
|
||||||
std::string getDynamicMessage()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
std::string getCode()const;
|
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
std::string dynamicCode_;
|
|
||||||
std::string errorCode_;
|
std::string errorCode_;
|
||||||
std::string dynamicMessage_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
std::string code_;
|
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFREQUEST_H_
|
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_BINDESLDEVICESHELFREQUEST_H_
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFREQUEST_H_
|
#define ALIBABACLOUD_CLOUDESL_MODEL_BINDESLDEVICESHELFREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,27 +28,27 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT AddPlanogramShelfRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CLOUDESL_EXPORT BindEslDeviceShelfRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AddPlanogramShelfRequest();
|
BindEslDeviceShelfRequest();
|
||||||
~AddPlanogramShelfRequest();
|
~BindEslDeviceShelfRequest();
|
||||||
|
|
||||||
std::string getShelfType()const;
|
|
||||||
void setShelfType(const std::string& shelfType);
|
|
||||||
std::string getStoreId()const;
|
std::string getStoreId()const;
|
||||||
void setStoreId(const std::string& storeId);
|
void setStoreId(const std::string& storeId);
|
||||||
std::string getShelf()const;
|
std::string getShelfCode()const;
|
||||||
void setShelf(const std::string& shelf);
|
void setShelfCode(const std::string& shelfCode);
|
||||||
|
std::string getEslBarCode()const;
|
||||||
|
void setEslBarCode(const std::string& eslBarCode);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string shelfType_;
|
|
||||||
std::string storeId_;
|
std::string storeId_;
|
||||||
std::string shelf_;
|
std::string shelfCode_;
|
||||||
|
std::string eslBarCode_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFREQUEST_H_
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BINDESLDEVICESHELFREQUEST_H_
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_BINDESLDEVICESHELFRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDESL_MODEL_BINDESLDEVICESHELFRESULT_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 BindEslDeviceShelfResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
BindEslDeviceShelfResult();
|
||||||
|
explicit BindEslDeviceShelfResult(const std::string &payload);
|
||||||
|
~BindEslDeviceShelfResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_BINDESLDEVICESHELFRESULT_H_
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSREQUEST_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
||||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Cloudesl
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT ComposePlanogramPositionsRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
struct ShelfPositionInfo
|
|
||||||
{
|
|
||||||
float offsetFrom;
|
|
||||||
float depth;
|
|
||||||
std::string column;
|
|
||||||
int facing;
|
|
||||||
float offsetTo;
|
|
||||||
std::string itemBarCode;
|
|
||||||
};
|
|
||||||
|
|
||||||
public:
|
|
||||||
ComposePlanogramPositionsRequest();
|
|
||||||
~ComposePlanogramPositionsRequest();
|
|
||||||
|
|
||||||
std::string getActionType()const;
|
|
||||||
void setActionType(const std::string& actionType);
|
|
||||||
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_
|
|
||||||
@@ -39,16 +39,28 @@ namespace AlibabaCloud
|
|||||||
void setStoreName(const std::string& storeName);
|
void setStoreName(const std::string& storeName);
|
||||||
std::string getParentId()const;
|
std::string getParentId()const;
|
||||||
void setParentId(const std::string& parentId);
|
void setParentId(const std::string& parentId);
|
||||||
|
std::string getCompanyId()const;
|
||||||
|
void setCompanyId(const std::string& companyId);
|
||||||
|
std::string getBrand()const;
|
||||||
|
void setBrand(const std::string& brand);
|
||||||
|
std::string getComments()const;
|
||||||
|
void setComments(const std::string& comments);
|
||||||
|
std::string getGroups()const;
|
||||||
|
void setGroups(const std::string& groups);
|
||||||
std::string getPhone()const;
|
std::string getPhone()const;
|
||||||
void setPhone(const std::string& phone);
|
void setPhone(const std::string& phone);
|
||||||
std::string getUserStoreCode()const;
|
std::string getOutId()const;
|
||||||
void setUserStoreCode(const std::string& userStoreCode);
|
void setOutId(const std::string& outId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string storeName_;
|
std::string storeName_;
|
||||||
std::string parentId_;
|
std::string parentId_;
|
||||||
|
std::string companyId_;
|
||||||
|
std::string brand_;
|
||||||
|
std::string comments_;
|
||||||
|
std::string groups_;
|
||||||
std::string phone_;
|
std::string phone_;
|
||||||
std::string userStoreCode_;
|
std::string outId_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,11 +39,7 @@ namespace AlibabaCloud
|
|||||||
~CreateStoreResult();
|
~CreateStoreResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
std::string getStoreId()const;
|
std::string getStoreId()const;
|
||||||
std::string getDynamicCode()const;
|
|
||||||
std::string getErrorCode()const;
|
std::string getErrorCode()const;
|
||||||
std::string getDynamicMessage()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
std::string getCode()const;
|
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -51,11 +47,7 @@ namespace AlibabaCloud
|
|||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
std::string storeId_;
|
std::string storeId_;
|
||||||
std::string dynamicCode_;
|
|
||||||
std::string errorCode_;
|
std::string errorCode_;
|
||||||
std::string dynamicMessage_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
std::string code_;
|
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPDEVICEREQUEST_H_
|
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPSERVICEREQUEST_H_
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPDEVICEREQUEST_H_
|
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPSERVICEREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteApDeviceRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteApServiceRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DeleteApDeviceRequest();
|
DeleteApServiceRequest();
|
||||||
~DeleteApDeviceRequest();
|
~DeleteApServiceRequest();
|
||||||
|
|
||||||
std::string getApMac()const;
|
std::string getApMac()const;
|
||||||
void setApMac(const std::string& apMac);
|
void setApMac(const std::string& apMac);
|
||||||
@@ -48,4 +48,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPDEVICEREQUEST_H_
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPSERVICEREQUEST_H_
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_DELETEAPSERVICERESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPSERVICERESULT_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 DeleteApServiceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteApServiceResult();
|
||||||
|
explicit DeleteApServiceResult(const std::string &payload);
|
||||||
|
~DeleteApServiceResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEAPSERVICERESULT_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEESLDEVICEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEESLDEVICEREQUEST_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 DeleteEslDeviceRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteEslDeviceRequest();
|
||||||
|
~DeleteEslDeviceRequest();
|
||||||
|
|
||||||
|
std::string getStoreId()const;
|
||||||
|
void setStoreId(const std::string& storeId);
|
||||||
|
std::string getEslBarCode()const;
|
||||||
|
void setEslBarCode(const std::string& eslBarCode);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string storeId_;
|
||||||
|
std::string eslBarCode_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEESLDEVICEREQUEST_H_
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_DELETEESLDEVICERESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEESLDEVICERESULT_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 DeleteEslDeviceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteEslDeviceResult();
|
||||||
|
explicit DeleteEslDeviceResult(const std::string &payload);
|
||||||
|
~DeleteEslDeviceResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEESLDEVICERESULT_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORECONFIGREQUEST_H_
|
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMBYSKUIDREQUEST_H_
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORECONFIGREQUEST_H_
|
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMBYSKUIDREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,21 +28,24 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribeStoreConfigRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteItemBySkuIdRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DescribeStoreConfigRequest();
|
DeleteItemBySkuIdRequest();
|
||||||
~DescribeStoreConfigRequest();
|
~DeleteItemBySkuIdRequest();
|
||||||
|
|
||||||
std::string getStoreId()const;
|
std::string getStoreId()const;
|
||||||
void setStoreId(const std::string& storeId);
|
void setStoreId(const std::string& storeId);
|
||||||
|
std::string getSkuId()const;
|
||||||
|
void setSkuId(const std::string& skuId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string storeId_;
|
std::string storeId_;
|
||||||
|
std::string skuId_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORECONFIGREQUEST_H_
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMBYSKUIDREQUEST_H_
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_DELETEITEMBYSKUIDRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMBYSKUIDRESULT_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 DeleteItemBySkuIdResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteItemBySkuIdResult();
|
||||||
|
explicit DeleteItemBySkuIdResult(const std::string &payload);
|
||||||
|
~DeleteItemBySkuIdResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMBYSKUIDRESULT_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESREQUEST_H_
|
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMREQUEST_H_
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESREQUEST_H_
|
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,21 +28,24 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramShelvesRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteItemRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DescribePlanogramShelvesRequest();
|
DeleteItemRequest();
|
||||||
~DescribePlanogramShelvesRequest();
|
~DeleteItemRequest();
|
||||||
|
|
||||||
std::string getStoreId()const;
|
std::string getStoreId()const;
|
||||||
void setStoreId(const std::string& storeId);
|
void setStoreId(const std::string& storeId);
|
||||||
|
std::string getItemBarCode()const;
|
||||||
|
void setItemBarCode(const std::string& itemBarCode);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string storeId_;
|
std::string storeId_;
|
||||||
|
std::string itemBarCode_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESREQUEST_H_
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMREQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEUSERRESULT_H_
|
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMRESULT_H_
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEUSERRESULT_H_
|
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,35 +29,27 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteUserResult : public ServiceResult
|
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteItemResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
DeleteUserResult();
|
DeleteItemResult();
|
||||||
explicit DeleteUserResult(const std::string &payload);
|
explicit DeleteItemResult(const std::string &payload);
|
||||||
~DeleteUserResult();
|
~DeleteItemResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
std::string getDynamicCode()const;
|
|
||||||
std::string getErrorCode()const;
|
std::string getErrorCode()const;
|
||||||
std::string getDynamicMessage()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
std::string getCode()const;
|
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
std::string dynamicCode_;
|
|
||||||
std::string errorCode_;
|
std::string errorCode_;
|
||||||
std::string dynamicMessage_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
std::string code_;
|
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEUSERRESULT_H_
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMRESULT_H_
|
||||||
@@ -38,22 +38,14 @@ namespace AlibabaCloud
|
|||||||
explicit DeleteStoreResult(const std::string &payload);
|
explicit DeleteStoreResult(const std::string &payload);
|
||||||
~DeleteStoreResult();
|
~DeleteStoreResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
std::string getDynamicCode()const;
|
|
||||||
std::string getErrorCode()const;
|
std::string getErrorCode()const;
|
||||||
std::string getDynamicMessage()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
std::string getCode()const;
|
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
std::string dynamicCode_;
|
|
||||||
std::string errorCode_;
|
std::string errorCode_;
|
||||||
std::string dynamicMessage_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
std::string code_;
|
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -39,8 +39,12 @@ namespace AlibabaCloud
|
|||||||
void setStoreId(const std::string& storeId);
|
void setStoreId(const std::string& storeId);
|
||||||
int getPageNumber()const;
|
int getPageNumber()const;
|
||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
|
std::string getFromAlarmTime()const;
|
||||||
|
void setFromAlarmTime(const std::string& fromAlarmTime);
|
||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
|
std::string getToAlarmTime()const;
|
||||||
|
void setToAlarmTime(const std::string& toAlarmTime);
|
||||||
std::string getAlarmType()const;
|
std::string getAlarmType()const;
|
||||||
void setAlarmType(const std::string& alarmType);
|
void setAlarmType(const std::string& alarmType);
|
||||||
std::string getAlarmStatus()const;
|
std::string getAlarmStatus()const;
|
||||||
@@ -49,18 +53,17 @@ namespace AlibabaCloud
|
|||||||
void setErrorType(const std::string& errorType);
|
void setErrorType(const std::string& errorType);
|
||||||
std::string getAlarmId()const;
|
std::string getAlarmId()const;
|
||||||
void setAlarmId(const std::string& alarmId);
|
void setAlarmId(const std::string& alarmId);
|
||||||
std::string getDeviceMac()const;
|
|
||||||
void setDeviceMac(const std::string& deviceMac);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string storeId_;
|
std::string storeId_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
|
std::string fromAlarmTime_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
|
std::string toAlarmTime_;
|
||||||
std::string alarmType_;
|
std::string alarmType_;
|
||||||
std::string alarmStatus_;
|
std::string alarmStatus_;
|
||||||
std::string errorType_;
|
std::string errorType_;
|
||||||
std::string alarmId_;
|
std::string alarmId_;
|
||||||
std::string deviceMac_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,22 +35,21 @@ namespace AlibabaCloud
|
|||||||
struct AlarmInfo
|
struct AlarmInfo
|
||||||
{
|
{
|
||||||
std::string alarmId;
|
std::string alarmId;
|
||||||
std::string retryGmtCreate;
|
std::string companyId;
|
||||||
std::string alarmType;
|
std::string alarmType;
|
||||||
std::string deviceBarCode;
|
std::string deviceBarCode;
|
||||||
std::string deviceMac;
|
std::string deviceMac;
|
||||||
std::string itemBarCode;
|
std::string itemBarCode;
|
||||||
std::string remark;
|
std::string vendor;
|
||||||
std::string deviceType;
|
std::string deviceType;
|
||||||
std::string storeId;
|
|
||||||
std::string errorType;
|
std::string errorType;
|
||||||
|
std::string storeId;
|
||||||
std::string alarmTime;
|
std::string alarmTime;
|
||||||
std::string dealUserId;
|
long dealUserId;
|
||||||
std::string itemTitle;
|
std::string itemTitle;
|
||||||
std::string retryGmtModified;
|
|
||||||
std::string alarmStatus;
|
std::string alarmStatus;
|
||||||
|
std::string model;
|
||||||
std::string dealTime;
|
std::string dealTime;
|
||||||
long retryTimes;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -58,30 +57,22 @@ namespace AlibabaCloud
|
|||||||
explicit DescribeAlarmsResult(const std::string &payload);
|
explicit DescribeAlarmsResult(const std::string &payload);
|
||||||
~DescribeAlarmsResult();
|
~DescribeAlarmsResult();
|
||||||
int getTotalCount()const;
|
int getTotalCount()const;
|
||||||
int getPageSize()const;
|
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
|
int getPageSize()const;
|
||||||
int getPageNumber()const;
|
int getPageNumber()const;
|
||||||
std::vector<AlarmInfo> getAlarms()const;
|
std::vector<AlarmInfo> getAlarms()const;
|
||||||
std::string getDynamicCode()const;
|
|
||||||
std::string getErrorCode()const;
|
std::string getErrorCode()const;
|
||||||
std::string getDynamicMessage()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
std::string getCode()const;
|
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
int totalCount_;
|
int totalCount_;
|
||||||
int pageSize_;
|
|
||||||
std::string message_;
|
std::string message_;
|
||||||
|
int pageSize_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::vector<AlarmInfo> alarms_;
|
std::vector<AlarmInfo> alarms_;
|
||||||
std::string dynamicCode_;
|
|
||||||
std::string errorCode_;
|
std::string errorCode_;
|
||||||
std::string dynamicMessage_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
std::string code_;
|
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,96 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_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_
|
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_GETUSERREQUEST_H_
|
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYREQUEST_H_
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_GETUSERREQUEST_H_
|
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,21 +28,18 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT GetUserRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CLOUDESL_EXPORT DescribeCompanyRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GetUserRequest();
|
DescribeCompanyRequest();
|
||||||
~GetUserRequest();
|
~DescribeCompanyRequest();
|
||||||
|
|
||||||
std::string getUserId()const;
|
|
||||||
void setUserId(const std::string& userId);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string userId_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_GETUSERREQUEST_H_
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYREQUEST_H_
|
||||||
@@ -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_CLOUDESL_MODEL_DESCRIBECOMPANYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYRESULT_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 DescribeCompanyResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DescribeCompanyResult();
|
||||||
|
explicit DescribeCompanyResult(const std::string &payload);
|
||||||
|
~DescribeCompanyResult();
|
||||||
|
std::string getStatus()const;
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getCompanyId()const;
|
||||||
|
std::string getPlatform()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string status_;
|
||||||
|
std::string message_;
|
||||||
|
std::string companyId_;
|
||||||
|
std::string platform_;
|
||||||
|
std::string errorCode_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECOMPANYRESULT_H_
|
||||||
@@ -35,32 +35,47 @@ namespace AlibabaCloud
|
|||||||
DescribeEslDevicesRequest();
|
DescribeEslDevicesRequest();
|
||||||
~DescribeEslDevicesRequest();
|
~DescribeEslDevicesRequest();
|
||||||
|
|
||||||
std::string getType()const;
|
|
||||||
void setType(const std::string& type);
|
|
||||||
std::string getStoreId()const;
|
std::string getStoreId()const;
|
||||||
void setStoreId(const std::string& storeId);
|
void setStoreId(const std::string& storeId);
|
||||||
|
std::string getType()const;
|
||||||
|
void setType(const std::string& type);
|
||||||
|
std::string getMac()const;
|
||||||
|
void setMac(const std::string& mac);
|
||||||
int getPageNumber()const;
|
int getPageNumber()const;
|
||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
std::string getEslBarCode()const;
|
std::string getEslBarCode()const;
|
||||||
void setEslBarCode(const std::string& eslBarCode);
|
void setEslBarCode(const std::string& eslBarCode);
|
||||||
|
std::string getVendor()const;
|
||||||
|
void setVendor(const std::string& vendor);
|
||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
|
std::string getItemBarCode()const;
|
||||||
|
void setItemBarCode(const std::string& itemBarCode);
|
||||||
std::string getEslStatus()const;
|
std::string getEslStatus()const;
|
||||||
void setEslStatus(const std::string& eslStatus);
|
void setEslStatus(const std::string& eslStatus);
|
||||||
int getToBatteryLevel()const;
|
int getToBatteryLevel()const;
|
||||||
void setToBatteryLevel(int toBatteryLevel);
|
void setToBatteryLevel(int toBatteryLevel);
|
||||||
int getFromBatteryLevel()const;
|
int getFromBatteryLevel()const;
|
||||||
void setFromBatteryLevel(int fromBatteryLevel);
|
void setFromBatteryLevel(int fromBatteryLevel);
|
||||||
|
std::string getShelfCode()const;
|
||||||
|
void setShelfCode(const std::string& shelfCode);
|
||||||
|
bool getBeBind()const;
|
||||||
|
void setBeBind(bool beBind);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string type_;
|
|
||||||
std::string storeId_;
|
std::string storeId_;
|
||||||
|
std::string type_;
|
||||||
|
std::string mac_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string eslBarCode_;
|
std::string eslBarCode_;
|
||||||
|
std::string vendor_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
|
std::string itemBarCode_;
|
||||||
std::string eslStatus_;
|
std::string eslStatus_;
|
||||||
int toBatteryLevel_;
|
int toBatteryLevel_;
|
||||||
int fromBatteryLevel_;
|
int fromBatteryLevel_;
|
||||||
|
std::string shelfCode_;
|
||||||
|
bool beBind_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,16 +34,27 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct EslDeviceInfo
|
struct EslDeviceInfo
|
||||||
{
|
{
|
||||||
|
int itemActionPrice;
|
||||||
|
int batteryLevel;
|
||||||
|
std::string itemPriceUnit;
|
||||||
|
std::string companyId;
|
||||||
|
std::string itemBarCode;
|
||||||
|
std::string vendor;
|
||||||
|
std::string screenHeight;
|
||||||
|
std::string lastCommunicateTime;
|
||||||
|
long itemId;
|
||||||
|
std::string mac;
|
||||||
|
std::string beBind;
|
||||||
std::string eslBarCode;
|
std::string eslBarCode;
|
||||||
std::string type;
|
std::string type;
|
||||||
int batteryLevel;
|
|
||||||
std::string storeId;
|
std::string storeId;
|
||||||
|
std::string connectAp;
|
||||||
|
std::string itemTitle;
|
||||||
std::string model;
|
std::string model;
|
||||||
int screenWidth;
|
std::string screenWidth;
|
||||||
std::string eslStatus;
|
std::string eslStatus;
|
||||||
int screenHeight;
|
std::string positionCode;
|
||||||
std::string lastCommunicateTime;
|
std::string shelfCode;
|
||||||
std::string mac;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -51,30 +62,22 @@ namespace AlibabaCloud
|
|||||||
explicit DescribeEslDevicesResult(const std::string &payload);
|
explicit DescribeEslDevicesResult(const std::string &payload);
|
||||||
~DescribeEslDevicesResult();
|
~DescribeEslDevicesResult();
|
||||||
int getTotalCount()const;
|
int getTotalCount()const;
|
||||||
int getPageSize()const;
|
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
|
int getPageSize()const;
|
||||||
int getPageNumber()const;
|
int getPageNumber()const;
|
||||||
std::vector<EslDeviceInfo> getEslDevices()const;
|
std::vector<EslDeviceInfo> getEslDevices()const;
|
||||||
std::string getDynamicCode()const;
|
|
||||||
std::string getErrorCode()const;
|
std::string getErrorCode()const;
|
||||||
std::string getDynamicMessage()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
std::string getCode()const;
|
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
int totalCount_;
|
int totalCount_;
|
||||||
int pageSize_;
|
|
||||||
std::string message_;
|
std::string message_;
|
||||||
|
int pageSize_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::vector<EslDeviceInfo> eslDevices_;
|
std::vector<EslDeviceInfo> eslDevices_;
|
||||||
std::string dynamicCode_;
|
|
||||||
std::string errorCode_;
|
std::string errorCode_;
|
||||||
std::string dynamicMessage_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
std::string code_;
|
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ namespace AlibabaCloud
|
|||||||
void setStoreId(const std::string& storeId);
|
void setStoreId(const std::string& storeId);
|
||||||
int getPageNumber()const;
|
int getPageNumber()const;
|
||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
std::string getItemId()const;
|
long getItemId()const;
|
||||||
void setItemId(const std::string& itemId);
|
void setItemId(long itemId);
|
||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getItemBarCode()const;
|
std::string getItemBarCode()const;
|
||||||
@@ -49,17 +49,20 @@ namespace AlibabaCloud
|
|||||||
void setBePromotion(bool bePromotion);
|
void setBePromotion(bool bePromotion);
|
||||||
std::string getItemTitle()const;
|
std::string getItemTitle()const;
|
||||||
void setItemTitle(const std::string& itemTitle);
|
void setItemTitle(const std::string& itemTitle);
|
||||||
|
std::string getShelfCode()const;
|
||||||
|
void setShelfCode(const std::string& shelfCode);
|
||||||
std::string getSkuId()const;
|
std::string getSkuId()const;
|
||||||
void setSkuId(const std::string& skuId);
|
void setSkuId(const std::string& skuId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string storeId_;
|
std::string storeId_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string itemId_;
|
long itemId_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string itemBarCode_;
|
std::string itemBarCode_;
|
||||||
bool bePromotion_;
|
bool bePromotion_;
|
||||||
std::string itemTitle_;
|
std::string itemTitle_;
|
||||||
|
std::string shelfCode_;
|
||||||
std::string skuId_;
|
std::string skuId_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -34,56 +34,48 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct ItemInfo
|
struct ItemInfo
|
||||||
{
|
{
|
||||||
|
int suggestPrice;
|
||||||
std::string saleSpec;
|
std::string saleSpec;
|
||||||
|
std::string sourceCode;
|
||||||
int originalPrice;
|
int originalPrice;
|
||||||
std::string promotionStart;
|
std::string promotionStart;
|
||||||
std::string itemId;
|
std::string itemBarCode;
|
||||||
std::string promotionEnd;
|
long itemId;
|
||||||
std::string brandName;
|
std::string brandName;
|
||||||
|
std::string promotionEnd;
|
||||||
std::string energyEfficiency;
|
std::string energyEfficiency;
|
||||||
std::string inventoryStatus;
|
std::string itemShortTitle;
|
||||||
std::string manufacturer;
|
std::string storeId;
|
||||||
std::string taxFee;
|
std::string itemTitle;
|
||||||
std::string customizeFeatureJ;
|
std::string productionPlace;
|
||||||
|
std::string extraAttribute;
|
||||||
|
std::string positionCode;
|
||||||
std::string modelNumber;
|
std::string modelNumber;
|
||||||
|
std::string customizeFeatureJ;
|
||||||
|
std::string forestFirstId;
|
||||||
std::string customizeFeatureI;
|
std::string customizeFeatureI;
|
||||||
|
std::string optionGroups;
|
||||||
std::string customizeFeatureH;
|
std::string customizeFeatureH;
|
||||||
std::string customizeFeatureG;
|
|
||||||
std::string promotionReason;
|
std::string promotionReason;
|
||||||
|
std::string customizeFeatureG;
|
||||||
|
std::string companyId;
|
||||||
std::string customizeFeatureF;
|
std::string customizeFeatureF;
|
||||||
std::string customizeFeatureE;
|
std::string customizeFeatureE;
|
||||||
std::string customizeFeatureD;
|
std::string customizeFeatureD;
|
||||||
std::string customizeFeatureC;
|
std::string customizeFeatureC;
|
||||||
std::string customizeFeatureO;
|
int actionPrice;
|
||||||
std::string customizeFeatureN;
|
std::string rank;
|
||||||
std::string customizeFeatureM;
|
std::string forestSecondId;
|
||||||
std::string customizeFeatureL;
|
std::string promotionText;
|
||||||
std::string customizeFeatureK;
|
|
||||||
int itemInfoIndex;
|
|
||||||
std::string itemQrCode;
|
std::string itemQrCode;
|
||||||
|
std::string priceUnit;
|
||||||
std::string customizeFeatureB;
|
std::string customizeFeatureB;
|
||||||
|
std::string categoryName;
|
||||||
|
bool beSourceCode;
|
||||||
std::string customizeFeatureA;
|
std::string customizeFeatureA;
|
||||||
int memberPrice;
|
int memberPrice;
|
||||||
std::string skuId;
|
std::string skuId;
|
||||||
bool bePromotion;
|
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;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -95,11 +87,7 @@ namespace AlibabaCloud
|
|||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
int getPageNumber()const;
|
int getPageNumber()const;
|
||||||
std::vector<ItemInfo> getItems()const;
|
std::vector<ItemInfo> getItems()const;
|
||||||
std::string getDynamicCode()const;
|
|
||||||
std::string getErrorCode()const;
|
std::string getErrorCode()const;
|
||||||
std::string getDynamicMessage()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
std::string getCode()const;
|
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -110,11 +98,7 @@ namespace AlibabaCloud
|
|||||||
int pageSize_;
|
int pageSize_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::vector<ItemInfo> items_;
|
std::vector<ItemInfo> items_;
|
||||||
std::string dynamicCode_;
|
|
||||||
std::string errorCode_;
|
std::string errorCode_;
|
||||||
std::string dynamicMessage_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
std::string code_;
|
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,86 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESRESULT_H_
|
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESRESULT_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <utility>
|
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
|
||||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Cloudesl
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramEslDevicesResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
struct EslDeviceLayerInfo
|
|
||||||
{
|
|
||||||
struct EslDevicePositionInfo
|
|
||||||
{
|
|
||||||
struct EslDevicePlanogramInfo
|
|
||||||
{
|
|
||||||
std::string eslModel;
|
|
||||||
std::string eslBarCode;
|
|
||||||
std::string itemTitle;
|
|
||||||
std::string itemBarCode;
|
|
||||||
};
|
|
||||||
std::vector<EslDevicePositionInfo::EslDevicePlanogramInfo> eslDevicePlanogramInfos;
|
|
||||||
std::string column;
|
|
||||||
};
|
|
||||||
int layer;
|
|
||||||
std::vector<EslDeviceLayerInfo::EslDevicePositionInfo> eslDevicePositionInfos;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
DescribePlanogramEslDevicesResult();
|
|
||||||
explicit DescribePlanogramEslDevicesResult(const std::string &payload);
|
|
||||||
~DescribePlanogramEslDevicesResult();
|
|
||||||
std::string getMessage()const;
|
|
||||||
std::string getStoreId()const;
|
|
||||||
std::string getShelf()const;
|
|
||||||
std::string getDynamicCode()const;
|
|
||||||
std::string getDynamicMessage()const;
|
|
||||||
std::string getErrorCode()const;
|
|
||||||
std::vector<EslDeviceLayerInfo> getEslDeviceLayerInfos()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
std::string getCode()const;
|
|
||||||
bool getSuccess()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
std::string message_;
|
|
||||||
std::string storeId_;
|
|
||||||
std::string shelf_;
|
|
||||||
std::string dynamicCode_;
|
|
||||||
std::string dynamicMessage_;
|
|
||||||
std::string errorCode_;
|
|
||||||
std::vector<EslDeviceLayerInfo> eslDeviceLayerInfos_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
std::string code_;
|
|
||||||
bool success_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESRESULT_H_
|
|
||||||
@@ -1,85 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSRESULT_H_
|
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSRESULT_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <utility>
|
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
|
||||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Cloudesl
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramPositionsResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
struct LayerInfo
|
|
||||||
{
|
|
||||||
struct ShelfPositionInfo
|
|
||||||
{
|
|
||||||
int facing;
|
|
||||||
float offsetTo;
|
|
||||||
std::string column;
|
|
||||||
std::string itemTitle;
|
|
||||||
std::string itemBarCode;
|
|
||||||
float offsetFrom;
|
|
||||||
float depth;
|
|
||||||
};
|
|
||||||
std::string layerOrigin;
|
|
||||||
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_
|
|
||||||
@@ -47,8 +47,10 @@ namespace AlibabaCloud
|
|||||||
void setToDate(const std::string& toDate);
|
void setToDate(const std::string& toDate);
|
||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getUserStoreCode()const;
|
std::string getBrand()const;
|
||||||
void setUserStoreCode(const std::string& userStoreCode);
|
void setBrand(const std::string& brand);
|
||||||
|
std::string getGroups()const;
|
||||||
|
void setGroups(const std::string& groups);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string storeName_;
|
std::string storeName_;
|
||||||
@@ -57,7 +59,8 @@ namespace AlibabaCloud
|
|||||||
std::string fromDate_;
|
std::string fromDate_;
|
||||||
std::string toDate_;
|
std::string toDate_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string userStoreCode_;
|
std::string brand_;
|
||||||
|
std::string groups_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,13 +34,17 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct StoreInfo
|
struct StoreInfo
|
||||||
{
|
{
|
||||||
|
std::string brand;
|
||||||
std::string parentId;
|
std::string parentId;
|
||||||
std::string gmtCreate;
|
std::string gmtCreate;
|
||||||
std::string userStoreCode;
|
std::string companyId;
|
||||||
std::string storeName;
|
|
||||||
std::string storeId;
|
std::string storeId;
|
||||||
|
std::string storeName;
|
||||||
std::string phone;
|
std::string phone;
|
||||||
|
std::string groups;
|
||||||
|
std::string comments;
|
||||||
std::string gmtModified;
|
std::string gmtModified;
|
||||||
|
std::string outId;
|
||||||
std::string level;
|
std::string level;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -52,12 +56,8 @@ namespace AlibabaCloud
|
|||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
int getPageNumber()const;
|
int getPageNumber()const;
|
||||||
std::string getDynamicCode()const;
|
|
||||||
std::vector<StoreInfo> getStores()const;
|
std::vector<StoreInfo> getStores()const;
|
||||||
std::string getErrorCode()const;
|
std::string getErrorCode()const;
|
||||||
std::string getDynamicMessage()const;
|
|
||||||
std::string getErrorMessage()const;
|
|
||||||
std::string getCode()const;
|
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -67,12 +67,8 @@ namespace AlibabaCloud
|
|||||||
std::string message_;
|
std::string message_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string dynamicCode_;
|
|
||||||
std::vector<StoreInfo> stores_;
|
std::vector<StoreInfo> stores_;
|
||||||
std::string errorCode_;
|
std::string errorCode_;
|
||||||
std::string dynamicMessage_;
|
|
||||||
std::string errorMessage_;
|
|
||||||
std::string code_;
|
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,92 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_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_
|
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGREQUEST_H_
|
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSEROPERATIONLOGREQUEST_H_
|
||||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGREQUEST_H_
|
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSEROPERATIONLOGREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,23 +28,23 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribeUserLogRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CLOUDESL_EXPORT DescribeUserOperationLogRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DescribeUserLogRequest();
|
DescribeUserOperationLogRequest();
|
||||||
~DescribeUserLogRequest();
|
~DescribeUserOperationLogRequest();
|
||||||
|
|
||||||
|
long getOperateUserId()const;
|
||||||
|
void setOperateUserId(long operateUserId);
|
||||||
std::string getStoreId()const;
|
std::string getStoreId()const;
|
||||||
void setStoreId(const std::string& storeId);
|
void setStoreId(const std::string& storeId);
|
||||||
std::string getUserId()const;
|
|
||||||
void setUserId(const std::string& userId);
|
|
||||||
int getPageNumber()const;
|
int getPageNumber()const;
|
||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
std::string getFromDate()const;
|
std::string getFromDate()const;
|
||||||
void setFromDate(const std::string& fromDate);
|
void setFromDate(const std::string& fromDate);
|
||||||
std::string getOperationStatus()const;
|
long getItemId()const;
|
||||||
void setOperationStatus(const std::string& operationStatus);
|
void setItemId(long itemId);
|
||||||
std::string getToDate()const;
|
std::string getToDate()const;
|
||||||
void setToDate(const std::string& toDate);
|
void setToDate(const std::string& toDate);
|
||||||
std::string getEslBarCode()const;
|
std::string getEslBarCode()const;
|
||||||
@@ -53,29 +53,32 @@ namespace AlibabaCloud
|
|||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getItemBarCode()const;
|
std::string getItemBarCode()const;
|
||||||
void setItemBarCode(const std::string& itemBarCode);
|
void setItemBarCode(const std::string& itemBarCode);
|
||||||
std::string getItemShortTitle()const;
|
std::string getItemTitle()const;
|
||||||
void setItemShortTitle(const std::string& itemShortTitle);
|
void setItemTitle(const std::string& itemTitle);
|
||||||
std::string getOperationType()const;
|
std::string getOperateStatus()const;
|
||||||
void setOperationType(const std::string& operationType);
|
void setOperateStatus(const std::string& operateStatus);
|
||||||
std::string getLogId()const;
|
bool getReverse()const;
|
||||||
void setLogId(const std::string& logId);
|
void setReverse(bool reverse);
|
||||||
|
std::string getOperateType()const;
|
||||||
|
void setOperateType(const std::string& operateType);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
long operateUserId_;
|
||||||
std::string storeId_;
|
std::string storeId_;
|
||||||
std::string userId_;
|
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string fromDate_;
|
std::string fromDate_;
|
||||||
std::string operationStatus_;
|
long itemId_;
|
||||||
std::string toDate_;
|
std::string toDate_;
|
||||||
std::string eslBarCode_;
|
std::string eslBarCode_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string itemBarCode_;
|
std::string itemBarCode_;
|
||||||
std::string itemShortTitle_;
|
std::string itemTitle_;
|
||||||
std::string operationType_;
|
std::string operateStatus_;
|
||||||
std::string logId_;
|
bool reverse_;
|
||||||
|
std::string operateType_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSERLOGREQUEST_H_
|
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEUSEROPERATIONLOGREQUEST_H_
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user