Compare commits

..

37 Commits

Author SHA1 Message Date
sdk-team
d689d06eb7 Add role authority management. 2020-10-27 02:33:55 +00:00
sdk-team
dcb1633973 Generated 2014-05-26 for Ecs. 2020-10-26 14:44:03 +00:00
sdk-team
a180b00ed8 Generated 2016-11-01 for live. 2020-10-26 09:29:39 +00:00
sdk-team
0ccab36f2f Supported PaymentType for DescribeDnsProductInstance. 2020-10-26 07:48:21 +00:00
sdk-team
cc8cf316cd Update ScalingConfig parameters. 2020-10-26 07:45:33 +00:00
sdk-team
1908e64fa6 Change Configuration. 2020-10-23 09:52:11 +00:00
sdk-team
8f6d6d4d1d Update DetectLungNodule. 2020-10-23 06:45:18 +00:00
sdk-team
e5ea19cdfb Support feedback. 2020-10-23 03:01:46 +00:00
sdk-team
55c7cdde91 Add Pipeline Member api. 2020-10-22 12:00:10 +00:00
sdk-team
836913a2a9 Update data API. 2020-10-22 11:03:56 +00:00
sdk-team
b34cb31a9a Update cert API. 2020-10-22 10:58:21 +00:00
sdk-team
8ef1e983c1 Update data API. 2020-10-22 10:57:52 +00:00
sdk-team
3845e06de3 DescribeAvailableResource support AcceptLanguage. 2020-10-21 12:31:56 +00:00
sdk-team
a349057ec2 Change Documentation configuration. 2020-10-21 10:10:32 +00:00
sdk-team
0cf373bc60 Cloud Storage Gateway openapi sdk is released. 2020-10-21 08:58:16 +00:00
sdk-team
1309d87fdb Release latest features. 2020-10-21 07:56:30 +00:00
sdk-team
a46f82a069 Change Documentation configuration. 2020-10-21 07:28:26 +00:00
sdk-team
b7d2e0b4a6 Change Documentation configuration. 2020-10-21 05:57:59 +00:00
sdk-team
6eacc742a1 Update cert API. 2020-10-21 02:08:30 +00:00
sdk-team
3c4d33ab51 Add PHP sdk. 2020-10-21 02:07:37 +00:00
sdk-team
cf6cbae712 Update Scdn API. 2020-10-21 02:06:58 +00:00
sdk-team
6dc38f165b Support modifyInstnaceType. 2020-10-20 13:23:52 +00:00
sdk-team
6393d2204b Add LivenessFaceVerify API. 2020-10-20 11:02:14 +00:00
sdk-team
f4138c76d6 Update Configuration. 2020-10-20 09:49:03 +00:00
sdk-team
d7a89ac3dc Add isv interface. 2020-10-20 07:51:00 +00:00
sdk-team
b98f01cab4 Generated 2016-11-01 for live. 2020-10-20 01:10:27 +00:00
sdk-team
675ab8f60f Add a new interface for asynchronous image translation. 2020-10-19 12:14:21 +00:00
sdk-team
9fd70bc2bf Metering 1019. 2020-10-19 09:09:57 +00:00
wb-hx510875
ee91c28732 fix: set http body with body parameters 2020-10-19 11:35:25 +08:00
sdk-team
ec9ecb41d2 Metering 1019. 2020-10-19 02:08:09 +00:00
sdk-team
272e447860 Metering 1019. 2020-10-19 02:01:12 +00:00
sdk-team
3af83f0124 Metering. 2020-10-17 12:39:03 +00:00
sdk-team
2f31a44faf Metering. 2020-10-17 03:02:33 +00:00
sdk-team
512b1bb5c5 Metering. 2020-10-16 15:46:32 +00:00
sdk-team
564c05144a Metering. 2020-10-16 15:01:41 +00:00
sdk-team
8aa1d22f90 Metering. 2020-10-16 14:47:58 +00:00
sdk-team
14ebba9911 Metering. 2020-10-16 14:25:12 +00:00
1280 changed files with 76123 additions and 1699 deletions

108
CHANGELOG
View File

@@ -1,3 +1,111 @@
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
- Supported AndroidNotificationNotifyId for Push and MassPush.
- Supported iOSNotificationCollapseId for Push and MassPush.

View File

@@ -77,6 +77,18 @@ set(alidns_public_header_model
include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h
include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.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/DescribeDomainDnssecInfoResult.h
include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h
@@ -262,6 +274,18 @@ set(alidns_src
src/model/DescribeDnsProductInstanceResult.cc
src/model/DescribeDnsProductInstancesRequest.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/DescribeDomainDnssecInfoResult.cc
src/model/DescribeDomainGroupsRequest.cc

View File

@@ -78,6 +78,18 @@
#include "model/DescribeDnsProductInstanceResult.h"
#include "model/DescribeDnsProductInstancesRequest.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/DescribeDomainDnssecInfoResult.h"
#include "model/DescribeDomainGroupsRequest.h"
@@ -297,6 +309,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDnsProductInstancesResult> DescribeDnsProductInstancesOutcome;
typedef std::future<DescribeDnsProductInstancesOutcome> DescribeDnsProductInstancesOutcomeCallable;
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 std::future<DescribeDomainDnssecInfoOutcome> DescribeDomainDnssecInfoOutcomeCallable;
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;
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;
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;
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;

View File

@@ -51,6 +51,7 @@ namespace AlibabaCloud
std::string getDnsSecurity()const;
long getURLForwardCount()const;
long getTTLMinValue()const;
std::string getPaymentType()const;
std::string getVersionName()const;
std::string getOverseaLine()const;
std::string getISPRegionLines()const;
@@ -87,6 +88,7 @@ namespace AlibabaCloud
std::string dnsSecurity_;
long uRLForwardCount_;
long tTLMinValue_;
std::string paymentType_;
std::string versionName_;
std::string overseaLine_;
std::string iSPRegionLines_;

View File

@@ -47,6 +47,7 @@ namespace AlibabaCloud
std::string dnsSecurity;
long uRLForwardCount;
long tTLMinValue;
std::string paymentType;
std::string versionName;
std::string overseaLine;
std::string iSPRegionLines;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -50,6 +50,7 @@ namespace AlibabaCloud
bool getRegionLines()const;
bool getAliDomain()const;
bool getSlaveDns()const;
std::string getResourceGroupId()const;
std::string getDomainName()const;
std::string getInstanceId()const;
std::string getPunyCode()const;
@@ -74,6 +75,7 @@ namespace AlibabaCloud
bool regionLines_;
bool aliDomain_;
bool slaveDns_;
std::string resourceGroupId_;
std::string domainName_;
std::string instanceId_;
std::string punyCode_;

View File

@@ -41,6 +41,7 @@ namespace AlibabaCloud
};
std::string groupName;
bool aliDomain;
std::string resourceGroupId;
std::string domainName;
std::string instanceId;
std::string createTime;

View File

@@ -1059,6 +1059,222 @@ AlidnsClient::DescribeDnsProductInstancesOutcomeCallable AlidnsClient::describeD
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
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -104,6 +104,8 @@ void DescribeDnsProductInstanceResult::parse(const std::string &payload)
bindDomainUsedCount_ = std::stol(value["BindDomainUsedCount"].asString());
if(!value["DnsSecurity"].isNull())
dnsSecurity_ = value["DnsSecurity"].asString();
if(!value["PaymentType"].isNull())
paymentType_ = value["PaymentType"].asString();
}
@@ -177,6 +179,11 @@ long DescribeDnsProductInstanceResult::getTTLMinValue()const
return tTLMinValue_;
}
std::string DescribeDnsProductInstanceResult::getPaymentType()const
{
return paymentType_;
}
std::string DescribeDnsProductInstanceResult::getVersionName()const
{
return versionName_;

View File

@@ -105,6 +105,8 @@ void DescribeDnsProductInstancesResult::parse(const std::string &payload)
dnsProductsObject.bindDomainUsedCount = std::stol(valueDnsProductsDnsProduct["BindDomainUsedCount"].asString());
if(!valueDnsProductsDnsProduct["DnsSecurity"].isNull())
dnsProductsObject.dnsSecurity = valueDnsProductsDnsProduct["DnsSecurity"].asString();
if(!valueDnsProductsDnsProduct["PaymentType"].isNull())
dnsProductsObject.paymentType = valueDnsProductsDnsProduct["PaymentType"].asString();
dnsProducts_.push_back(dnsProductsObject);
}
if(!value["TotalCount"].isNull())

View File

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

View File

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

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

View File

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

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

View File

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

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

View File

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

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

View File

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

View File

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

View File

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

View File

@@ -93,6 +93,8 @@ void DescribeDomainInfoResult::parse(const std::string &payload)
inClean_ = value["InClean"].asString() == "true";
if(!value["SlaveDns"].isNull())
slaveDns_ = value["SlaveDns"].asString() == "true";
if(!value["ResourceGroupId"].isNull())
resourceGroupId_ = value["ResourceGroupId"].asString();
}
@@ -126,6 +128,11 @@ bool DescribeDomainInfoResult::getSlaveDns()const
return slaveDns_;
}
std::string DescribeDomainInfoResult::getResourceGroupId()const
{
return resourceGroupId_;
}
std::string DescribeDomainInfoResult::getDomainName()const
{
return domainName_;

View File

@@ -77,6 +77,8 @@ void DescribeDomainsResult::parse(const std::string &payload)
domainsObject.createTime = valueDomainsDomain["CreateTime"].asString();
if(!valueDomainsDomain["CreateTimestamp"].isNull())
domainsObject.createTimestamp = std::stol(valueDomainsDomain["CreateTimestamp"].asString());
if(!valueDomainsDomain["ResourceGroupId"].isNull())
domainsObject.resourceGroupId = valueDomainsDomain["ResourceGroupId"].asString();
auto allTagsNode = allDomainsNode["Tags"]["Tag"];
for (auto allDomainsNodeTagsTag : allTagsNode)
{

View File

@@ -23,6 +23,8 @@ set(alimt_public_header
set(alimt_public_header_model
include/alibabacloud/alimt/model/CreateDocTranslateTaskRequest.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/GetDetectLanguageResult.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/GetImageTranslateRequest.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/GetTitleDiagnoseResult.h
include/alibabacloud/alimt/model/GetTitleGenerateRequest.h
@@ -50,6 +54,8 @@ set(alimt_src
src/AlimtClient.cc
src/model/CreateDocTranslateTaskRequest.cc
src/model/CreateDocTranslateTaskResult.cc
src/model/CreateImageTranslateTaskRequest.cc
src/model/CreateImageTranslateTaskResult.cc
src/model/GetDetectLanguageRequest.cc
src/model/GetDetectLanguageResult.cc
src/model/GetDocTranslateTaskRequest.cc
@@ -58,6 +64,8 @@ set(alimt_src
src/model/GetImageDiagnoseResult.cc
src/model/GetImageTranslateRequest.cc
src/model/GetImageTranslateResult.cc
src/model/GetImageTranslateTaskRequest.cc
src/model/GetImageTranslateTaskResult.cc
src/model/GetTitleDiagnoseRequest.cc
src/model/GetTitleDiagnoseResult.cc
src/model/GetTitleGenerateRequest.cc

View File

@@ -24,6 +24,8 @@
#include "AlimtExport.h"
#include "model/CreateDocTranslateTaskRequest.h"
#include "model/CreateDocTranslateTaskResult.h"
#include "model/CreateImageTranslateTaskRequest.h"
#include "model/CreateImageTranslateTaskResult.h"
#include "model/GetDetectLanguageRequest.h"
#include "model/GetDetectLanguageResult.h"
#include "model/GetDocTranslateTaskRequest.h"
@@ -32,6 +34,8 @@
#include "model/GetImageDiagnoseResult.h"
#include "model/GetImageTranslateRequest.h"
#include "model/GetImageTranslateResult.h"
#include "model/GetImageTranslateTaskRequest.h"
#include "model/GetImageTranslateTaskResult.h"
#include "model/GetTitleDiagnoseRequest.h"
#include "model/GetTitleDiagnoseResult.h"
#include "model/GetTitleGenerateRequest.h"
@@ -58,6 +62,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateDocTranslateTaskResult> CreateDocTranslateTaskOutcome;
typedef std::future<CreateDocTranslateTaskOutcome> CreateDocTranslateTaskOutcomeCallable;
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 std::future<GetDetectLanguageOutcome> GetDetectLanguageOutcomeCallable;
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 std::future<GetImageTranslateOutcome> GetImageTranslateOutcomeCallable;
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 std::future<GetTitleDiagnoseOutcome> GetTitleDiagnoseOutcomeCallable;
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;
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;
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;
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;
@@ -111,6 +124,9 @@ namespace AlibabaCloud
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;
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;
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;

View File

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

View File

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

View File

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

View File

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

View File

@@ -87,6 +87,42 @@ AlimtClient::CreateDocTranslateTaskOutcomeCallable AlimtClient::createDocTransla
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
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -231,6 +267,42 @@ AlimtClient::GetImageTranslateOutcomeCallable AlimtClient::getImageTranslateCall
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
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

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

View File

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

View File

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

View File

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

View File

@@ -83,6 +83,8 @@ set(cloudauth_public_header_model
include/alibabacloud/cloudauth/model/InitFaceVerifyResult.h
include/alibabacloud/cloudauth/model/InitSmartVerifyRequest.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/ModifyDeviceInfoResult.h
include/alibabacloud/cloudauth/model/SubmitMaterialsRequest.h
@@ -162,6 +164,8 @@ set(cloudauth_src
src/model/InitFaceVerifyResult.cc
src/model/InitSmartVerifyRequest.cc
src/model/InitSmartVerifyResult.cc
src/model/LivenessFaceVerifyRequest.cc
src/model/LivenessFaceVerifyResult.cc
src/model/ModifyDeviceInfoRequest.cc
src/model/ModifyDeviceInfoResult.cc
src/model/SubmitMaterialsRequest.cc

View File

@@ -84,6 +84,8 @@
#include "model/InitFaceVerifyResult.h"
#include "model/InitSmartVerifyRequest.h"
#include "model/InitSmartVerifyResult.h"
#include "model/LivenessFaceVerifyRequest.h"
#include "model/LivenessFaceVerifyResult.h"
#include "model/ModifyDeviceInfoRequest.h"
#include "model/ModifyDeviceInfoResult.h"
#include "model/SubmitMaterialsRequest.h"
@@ -200,6 +202,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::InitSmartVerifyResult> InitSmartVerifyOutcome;
typedef std::future<InitSmartVerifyOutcome> InitSmartVerifyOutcomeCallable;
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 std::future<ModifyDeviceInfoOutcome> ModifyDeviceInfoOutcomeCallable;
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;
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;
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;
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;

View File

@@ -67,8 +67,12 @@ namespace AlibabaCloud
void setSceneId(long sceneId);
std::string getOssBucketName()const;
void setOssBucketName(const std::string& ossBucketName);
std::string getCallbackToken()const;
void setCallbackToken(const std::string& callbackToken);
std::string getReturnUrl()const;
void setReturnUrl(const std::string& returnUrl);
std::string getCallbackUrl()const;
void setCallbackUrl(const std::string& callbackUrl);
private:
std::string productCode_;
@@ -87,7 +91,9 @@ namespace AlibabaCloud
std::string mobile_;
long sceneId_;
std::string ossBucketName_;
std::string callbackToken_;
std::string returnUrl_;
std::string callbackUrl_;
};
}

View File

@@ -35,14 +35,12 @@ namespace AlibabaCloud
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;
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;
void setMode(const std::string& mode);
std::string getCertNo()const;
@@ -51,25 +49,48 @@ namespace AlibabaCloud
void setOuterOrderNo(const std::string& outerOrderNo);
std::string getCertType()const;
void setCertType(const std::string& certType);
long getSceneId()const;
void setSceneId(long sceneId);
std::string getMetaInfo()const;
void setMetaInfo(const std::string& metaInfo);
std::string getOcr()const;
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:
std::string ip_;
std::string certName_;
std::string mobile_;
std::string userId_;
std::string certifyId_;
std::string facePictureBase64_;
std::string mode_;
std::string certNo_;
std::string outerOrderNo_;
std::string certType_;
long sceneId_;
std::string metaInfo_;
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_;
};
}

View File

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

View File

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

View File

@@ -1167,6 +1167,42 @@ CloudauthClient::InitSmartVerifyOutcomeCallable CloudauthClient::initSmartVerify
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
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -203,6 +203,17 @@ void InitFaceVerifyRequest::setOssBucketName(const std::string& 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
{
return returnUrl_;
@@ -214,3 +225,14 @@ void InitFaceVerifyRequest::setReturnUrl(const std::string& returnUrl)
setParameter("ReturnUrl", returnUrl);
}
std::string InitFaceVerifyRequest::getCallbackUrl()const
{
return callbackUrl_;
}
void InitFaceVerifyRequest::setCallbackUrl(const std::string& callbackUrl)
{
callbackUrl_ = callbackUrl;
setParameter("CallbackUrl", callbackUrl);
}

View File

@@ -27,39 +27,6 @@ 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
{
return userId_;
@@ -71,6 +38,28 @@ void InitSmartVerifyRequest::setUserId(const std::string& 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
{
return mode_;
@@ -115,17 +104,6 @@ void InitSmartVerifyRequest::setCertType(const std::string& 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
{
return metaInfo_;
@@ -148,3 +126,102 @@ void InitSmartVerifyRequest::setOcr(const std::string& 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);
}

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

View File

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

View File

@@ -27,6 +27,8 @@ set(cloudesl_public_header_model
include/alibabacloud/cloudesl/model/AddApDeviceResult.h
include/alibabacloud/cloudesl/model/AddPlanogramShelfRequest.h
include/alibabacloud/cloudesl/model/AddPlanogramShelfResult.h
include/alibabacloud/cloudesl/model/AddRoleActionsRequest.h
include/alibabacloud/cloudesl/model/AddRoleActionsResult.h
include/alibabacloud/cloudesl/model/AddUserRequest.h
include/alibabacloud/cloudesl/model/AddUserResult.h
include/alibabacloud/cloudesl/model/AssignUserRequest.h
@@ -45,6 +47,8 @@ set(cloudesl_public_header_model
include/alibabacloud/cloudesl/model/DeleteApDeviceResult.h
include/alibabacloud/cloudesl/model/DeletePlanogramShelfRequest.h
include/alibabacloud/cloudesl/model/DeletePlanogramShelfResult.h
include/alibabacloud/cloudesl/model/DeleteRoleActionsRequest.h
include/alibabacloud/cloudesl/model/DeleteRoleActionsResult.h
include/alibabacloud/cloudesl/model/DeleteStoreRequest.h
include/alibabacloud/cloudesl/model/DeleteStoreResult.h
include/alibabacloud/cloudesl/model/DeleteUserRequest.h
@@ -55,6 +59,8 @@ set(cloudesl_public_header_model
include/alibabacloud/cloudesl/model/DescribeApDevicesResult.h
include/alibabacloud/cloudesl/model/DescribeBindersRequest.h
include/alibabacloud/cloudesl/model/DescribeBindersResult.h
include/alibabacloud/cloudesl/model/DescribeClientPackageRequest.h
include/alibabacloud/cloudesl/model/DescribeClientPackageResult.h
include/alibabacloud/cloudesl/model/DescribeEslDevicesRequest.h
include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h
include/alibabacloud/cloudesl/model/DescribeItemsRequest.h
@@ -67,6 +73,8 @@ set(cloudesl_public_header_model
include/alibabacloud/cloudesl/model/DescribePlanogramRailsResult.h
include/alibabacloud/cloudesl/model/DescribePlanogramShelvesRequest.h
include/alibabacloud/cloudesl/model/DescribePlanogramShelvesResult.h
include/alibabacloud/cloudesl/model/DescribeRoleActionsRequest.h
include/alibabacloud/cloudesl/model/DescribeRoleActionsResult.h
include/alibabacloud/cloudesl/model/DescribeStoreConfigRequest.h
include/alibabacloud/cloudesl/model/DescribeStoreConfigResult.h
include/alibabacloud/cloudesl/model/DescribeStoresRequest.h
@@ -88,7 +96,9 @@ set(cloudesl_public_header_model
include/alibabacloud/cloudesl/model/UpdateStoreRequest.h
include/alibabacloud/cloudesl/model/UpdateStoreResult.h
include/alibabacloud/cloudesl/model/UpdateStoreConfigRequest.h
include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h )
include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h
include/alibabacloud/cloudesl/model/UpdateUserRequest.h
include/alibabacloud/cloudesl/model/UpdateUserResult.h )
set(cloudesl_src
src/CloudeslClient.cc
@@ -98,6 +108,8 @@ set(cloudesl_src
src/model/AddApDeviceResult.cc
src/model/AddPlanogramShelfRequest.cc
src/model/AddPlanogramShelfResult.cc
src/model/AddRoleActionsRequest.cc
src/model/AddRoleActionsResult.cc
src/model/AddUserRequest.cc
src/model/AddUserResult.cc
src/model/AssignUserRequest.cc
@@ -116,6 +128,8 @@ set(cloudesl_src
src/model/DeleteApDeviceResult.cc
src/model/DeletePlanogramShelfRequest.cc
src/model/DeletePlanogramShelfResult.cc
src/model/DeleteRoleActionsRequest.cc
src/model/DeleteRoleActionsResult.cc
src/model/DeleteStoreRequest.cc
src/model/DeleteStoreResult.cc
src/model/DeleteUserRequest.cc
@@ -126,6 +140,8 @@ set(cloudesl_src
src/model/DescribeApDevicesResult.cc
src/model/DescribeBindersRequest.cc
src/model/DescribeBindersResult.cc
src/model/DescribeClientPackageRequest.cc
src/model/DescribeClientPackageResult.cc
src/model/DescribeEslDevicesRequest.cc
src/model/DescribeEslDevicesResult.cc
src/model/DescribeItemsRequest.cc
@@ -138,6 +154,8 @@ set(cloudesl_src
src/model/DescribePlanogramRailsResult.cc
src/model/DescribePlanogramShelvesRequest.cc
src/model/DescribePlanogramShelvesResult.cc
src/model/DescribeRoleActionsRequest.cc
src/model/DescribeRoleActionsResult.cc
src/model/DescribeStoreConfigRequest.cc
src/model/DescribeStoreConfigResult.cc
src/model/DescribeStoresRequest.cc
@@ -159,7 +177,9 @@ set(cloudesl_src
src/model/UpdateStoreRequest.cc
src/model/UpdateStoreResult.cc
src/model/UpdateStoreConfigRequest.cc
src/model/UpdateStoreConfigResult.cc )
src/model/UpdateStoreConfigResult.cc
src/model/UpdateUserRequest.cc
src/model/UpdateUserResult.cc )
add_library(cloudesl ${LIB_TYPE}
${cloudesl_public_header}

View File

@@ -28,6 +28,8 @@
#include "model/AddApDeviceResult.h"
#include "model/AddPlanogramShelfRequest.h"
#include "model/AddPlanogramShelfResult.h"
#include "model/AddRoleActionsRequest.h"
#include "model/AddRoleActionsResult.h"
#include "model/AddUserRequest.h"
#include "model/AddUserResult.h"
#include "model/AssignUserRequest.h"
@@ -46,6 +48,8 @@
#include "model/DeleteApDeviceResult.h"
#include "model/DeletePlanogramShelfRequest.h"
#include "model/DeletePlanogramShelfResult.h"
#include "model/DeleteRoleActionsRequest.h"
#include "model/DeleteRoleActionsResult.h"
#include "model/DeleteStoreRequest.h"
#include "model/DeleteStoreResult.h"
#include "model/DeleteUserRequest.h"
@@ -56,6 +60,8 @@
#include "model/DescribeApDevicesResult.h"
#include "model/DescribeBindersRequest.h"
#include "model/DescribeBindersResult.h"
#include "model/DescribeClientPackageRequest.h"
#include "model/DescribeClientPackageResult.h"
#include "model/DescribeEslDevicesRequest.h"
#include "model/DescribeEslDevicesResult.h"
#include "model/DescribeItemsRequest.h"
@@ -68,6 +74,8 @@
#include "model/DescribePlanogramRailsResult.h"
#include "model/DescribePlanogramShelvesRequest.h"
#include "model/DescribePlanogramShelvesResult.h"
#include "model/DescribeRoleActionsRequest.h"
#include "model/DescribeRoleActionsResult.h"
#include "model/DescribeStoreConfigRequest.h"
#include "model/DescribeStoreConfigResult.h"
#include "model/DescribeStoresRequest.h"
@@ -90,6 +98,8 @@
#include "model/UpdateStoreResult.h"
#include "model/UpdateStoreConfigRequest.h"
#include "model/UpdateStoreConfigResult.h"
#include "model/UpdateUserRequest.h"
#include "model/UpdateUserResult.h"
namespace AlibabaCloud
@@ -108,6 +118,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddPlanogramShelfResult> AddPlanogramShelfOutcome;
typedef std::future<AddPlanogramShelfOutcome> AddPlanogramShelfOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::AddPlanogramShelfRequest&, const AddPlanogramShelfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPlanogramShelfAsyncHandler;
typedef Outcome<Error, Model::AddRoleActionsResult> AddRoleActionsOutcome;
typedef std::future<AddRoleActionsOutcome> AddRoleActionsOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::AddRoleActionsRequest&, const AddRoleActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddRoleActionsAsyncHandler;
typedef Outcome<Error, Model::AddUserResult> AddUserOutcome;
typedef std::future<AddUserOutcome> AddUserOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::AddUserRequest&, const AddUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddUserAsyncHandler;
@@ -135,6 +148,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeletePlanogramShelfResult> DeletePlanogramShelfOutcome;
typedef std::future<DeletePlanogramShelfOutcome> DeletePlanogramShelfOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DeletePlanogramShelfRequest&, const DeletePlanogramShelfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePlanogramShelfAsyncHandler;
typedef Outcome<Error, Model::DeleteRoleActionsResult> DeleteRoleActionsOutcome;
typedef std::future<DeleteRoleActionsOutcome> DeleteRoleActionsOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DeleteRoleActionsRequest&, const DeleteRoleActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRoleActionsAsyncHandler;
typedef Outcome<Error, Model::DeleteStoreResult> DeleteStoreOutcome;
typedef std::future<DeleteStoreOutcome> DeleteStoreOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DeleteStoreRequest&, const DeleteStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStoreAsyncHandler;
@@ -150,6 +166,9 @@ namespace AlibabaCloud
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::DescribeClientPackageResult> DescribeClientPackageOutcome;
typedef std::future<DescribeClientPackageOutcome> DescribeClientPackageOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeClientPackageRequest&, const DescribeClientPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClientPackageAsyncHandler;
typedef Outcome<Error, Model::DescribeEslDevicesResult> DescribeEslDevicesOutcome;
typedef std::future<DescribeEslDevicesOutcome> DescribeEslDevicesOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeEslDevicesRequest&, const DescribeEslDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEslDevicesAsyncHandler;
@@ -168,6 +187,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribePlanogramShelvesResult> DescribePlanogramShelvesOutcome;
typedef std::future<DescribePlanogramShelvesOutcome> DescribePlanogramShelvesOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribePlanogramShelvesRequest&, const DescribePlanogramShelvesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePlanogramShelvesAsyncHandler;
typedef Outcome<Error, Model::DescribeRoleActionsResult> DescribeRoleActionsOutcome;
typedef std::future<DescribeRoleActionsOutcome> DescribeRoleActionsOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeRoleActionsRequest&, const DescribeRoleActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRoleActionsAsyncHandler;
typedef Outcome<Error, Model::DescribeStoreConfigResult> DescribeStoreConfigOutcome;
typedef std::future<DescribeStoreConfigOutcome> DescribeStoreConfigOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::DescribeStoreConfigRequest&, const DescribeStoreConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStoreConfigAsyncHandler;
@@ -201,6 +223,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateStoreConfigResult> UpdateStoreConfigOutcome;
typedef std::future<UpdateStoreConfigOutcome> UpdateStoreConfigOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::UpdateStoreConfigRequest&, const UpdateStoreConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateStoreConfigAsyncHandler;
typedef Outcome<Error, Model::UpdateUserResult> UpdateUserOutcome;
typedef std::future<UpdateUserOutcome> UpdateUserOutcomeCallable;
typedef std::function<void(const CloudeslClient*, const Model::UpdateUserRequest&, const UpdateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateUserAsyncHandler;
CloudeslClient(const Credentials &credentials, const ClientConfiguration &configuration);
CloudeslClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -215,6 +240,9 @@ namespace AlibabaCloud
AddPlanogramShelfOutcome addPlanogramShelf(const Model::AddPlanogramShelfRequest &request)const;
void addPlanogramShelfAsync(const Model::AddPlanogramShelfRequest& request, const AddPlanogramShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddPlanogramShelfOutcomeCallable addPlanogramShelfCallable(const Model::AddPlanogramShelfRequest& request) const;
AddRoleActionsOutcome addRoleActions(const Model::AddRoleActionsRequest &request)const;
void addRoleActionsAsync(const Model::AddRoleActionsRequest& request, const AddRoleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddRoleActionsOutcomeCallable addRoleActionsCallable(const Model::AddRoleActionsRequest& request) const;
AddUserOutcome addUser(const Model::AddUserRequest &request)const;
void addUserAsync(const Model::AddUserRequest& request, const AddUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddUserOutcomeCallable addUserCallable(const Model::AddUserRequest& request) const;
@@ -242,6 +270,9 @@ namespace AlibabaCloud
DeletePlanogramShelfOutcome deletePlanogramShelf(const Model::DeletePlanogramShelfRequest &request)const;
void deletePlanogramShelfAsync(const Model::DeletePlanogramShelfRequest& request, const DeletePlanogramShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeletePlanogramShelfOutcomeCallable deletePlanogramShelfCallable(const Model::DeletePlanogramShelfRequest& request) const;
DeleteRoleActionsOutcome deleteRoleActions(const Model::DeleteRoleActionsRequest &request)const;
void deleteRoleActionsAsync(const Model::DeleteRoleActionsRequest& request, const DeleteRoleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRoleActionsOutcomeCallable deleteRoleActionsCallable(const Model::DeleteRoleActionsRequest& request) const;
DeleteStoreOutcome deleteStore(const Model::DeleteStoreRequest &request)const;
void deleteStoreAsync(const Model::DeleteStoreRequest& request, const DeleteStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteStoreOutcomeCallable deleteStoreCallable(const Model::DeleteStoreRequest& request) const;
@@ -257,6 +288,9 @@ namespace AlibabaCloud
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;
DescribeClientPackageOutcome describeClientPackage(const Model::DescribeClientPackageRequest &request)const;
void describeClientPackageAsync(const Model::DescribeClientPackageRequest& request, const DescribeClientPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClientPackageOutcomeCallable describeClientPackageCallable(const Model::DescribeClientPackageRequest& request) const;
DescribeEslDevicesOutcome describeEslDevices(const Model::DescribeEslDevicesRequest &request)const;
void describeEslDevicesAsync(const Model::DescribeEslDevicesRequest& request, const DescribeEslDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEslDevicesOutcomeCallable describeEslDevicesCallable(const Model::DescribeEslDevicesRequest& request) const;
@@ -275,6 +309,9 @@ namespace AlibabaCloud
DescribePlanogramShelvesOutcome describePlanogramShelves(const Model::DescribePlanogramShelvesRequest &request)const;
void describePlanogramShelvesAsync(const Model::DescribePlanogramShelvesRequest& request, const DescribePlanogramShelvesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePlanogramShelvesOutcomeCallable describePlanogramShelvesCallable(const Model::DescribePlanogramShelvesRequest& request) const;
DescribeRoleActionsOutcome describeRoleActions(const Model::DescribeRoleActionsRequest &request)const;
void describeRoleActionsAsync(const Model::DescribeRoleActionsRequest& request, const DescribeRoleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRoleActionsOutcomeCallable describeRoleActionsCallable(const Model::DescribeRoleActionsRequest& request) const;
DescribeStoreConfigOutcome describeStoreConfig(const Model::DescribeStoreConfigRequest &request)const;
void describeStoreConfigAsync(const Model::DescribeStoreConfigRequest& request, const DescribeStoreConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeStoreConfigOutcomeCallable describeStoreConfigCallable(const Model::DescribeStoreConfigRequest& request) const;
@@ -308,6 +345,9 @@ namespace AlibabaCloud
UpdateStoreConfigOutcome updateStoreConfig(const Model::UpdateStoreConfigRequest &request)const;
void updateStoreConfigAsync(const Model::UpdateStoreConfigRequest& request, const UpdateStoreConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateStoreConfigOutcomeCallable updateStoreConfigCallable(const Model::UpdateStoreConfigRequest& request) const;
UpdateUserOutcome updateUser(const Model::UpdateUserRequest &request)const;
void updateUserAsync(const Model::UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateUserOutcomeCallable updateUserCallable(const Model::UpdateUserRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
ActivateApDeviceRequest();
~ActivateApDeviceRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getApMac()const;
void setApMac(const std::string& apMac);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
private:
std::string extraParams_;
std::string apMac_;
std::string storeId_;

View File

@@ -35,6 +35,10 @@ namespace AlibabaCloud
AddApDeviceRequest();
~AddApDeviceRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getRemark()const;
void setRemark(const std::string& remark);
std::string getApMac()const;
@@ -43,6 +47,8 @@ namespace AlibabaCloud
void setStoreId(const std::string& storeId);
private:
std::string extraParams_;
std::string clientToken_;
std::string remark_;
std::string apMac_;
std::string storeId_;

View File

@@ -35,17 +35,29 @@ namespace AlibabaCloud
AddPlanogramShelfRequest();
~AddPlanogramShelfRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getShelfType()const;
void setShelfType(const std::string& shelfType);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
std::string getZone()const;
void setZone(const std::string& zone);
std::string getShelf()const;
void setShelf(const std::string& shelf);
std::string getCategory()const;
void setCategory(const std::string& category);
private:
std::string extraParams_;
std::string clientToken_;
std::string shelfType_;
std::string storeId_;
std::string zone_;
std::string shelf_;
std::string category_;
};
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSREQUEST_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudesl/CloudeslExport.h>
namespace AlibabaCloud
{
namespace Cloudesl
{
namespace Model
{
class ALIBABACLOUD_CLOUDESL_EXPORT AddRoleActionsRequest : public RpcServiceRequest
{
public:
AddRoleActionsRequest();
~AddRoleActionsRequest();
std::string getRoleCode()const;
void setRoleCode(const std::string& roleCode);
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getAccessControlLists()const;
void setAccessControlLists(const std::string& accessControlLists);
private:
std::string roleCode_;
std::string extraParams_;
std::string clientToken_;
std::string accessControlLists_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDROLEACTIONSREQUEST_H_

View File

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

View File

@@ -35,10 +35,16 @@ namespace AlibabaCloud
AddUserRequest();
~AddUserRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string extraParams_;
std::string clientToken_;
std::string userId_;
};

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
AssignUserRequest();
~AssignUserRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStores()const;
void setStores(const std::string& stores);
std::string getUserType()const;
@@ -43,6 +45,7 @@ namespace AlibabaCloud
void setUserId(const std::string& userId);
private:
std::string extraParams_;
std::string stores_;
std::string userType_;
std::string userId_;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
AssociatePlanogramRailRequest();
~AssociatePlanogramRailRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getLayer()const;
@@ -45,6 +47,7 @@ namespace AlibabaCloud
void setRailCode(const std::string& railCode);
private:
std::string extraParams_;
std::string storeId_;
int layer_;
std::string shelf_;

View File

@@ -89,12 +89,15 @@ namespace AlibabaCloud
BatchInsertItemsRequest();
~BatchInsertItemsRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
std::vector<ItemInfo> getItemInfo()const;
void setItemInfo(const std::vector<ItemInfo>& itemInfo);
private:
std::string extraParams_;
std::string storeId_;
std::vector<ItemInfo> itemInfo_;

View File

@@ -35,26 +35,29 @@ namespace AlibabaCloud
BindEslDeviceRequest();
~BindEslDeviceRequest();
std::string getColumn()const;
void setColumn(const std::string& column);
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getLayer()const;
void setLayer(int layer);
std::string getShelf()const;
void setShelf(const std::string& shelf);
std::string getEslBarCode()const;
void setEslBarCode(const std::string& eslBarCode);
std::string getItemBarCode()const;
void setItemBarCode(const std::string& itemBarCode);
std::string getColumn()const;
void setColumn(const std::string& column);
std::string getShelf()const;
void setShelf(const std::string& shelf);
private:
std::string column_;
std::string extraParams_;
std::string storeId_;
int layer_;
std::string shelf_;
std::string eslBarCode_;
std::string itemBarCode_;
std::string column_;
std::string shelf_;
};
}

View File

@@ -47,26 +47,29 @@ namespace AlibabaCloud
std::string getActionType()const;
void setActionType(const std::string& actionType);
bool getBeAutoRefresh()const;
void setBeAutoRefresh(bool beAutoRefresh);
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getLayer()const;
void setLayer(int layer);
std::string getShelf()const;
void setShelf(const std::string& shelf);
std::string getLayerOrigin()const;
void setLayerOrigin(const std::string& layerOrigin);
bool getBeAutoRefresh()const;
void setBeAutoRefresh(bool beAutoRefresh);
std::string getShelf()const;
void setShelf(const std::string& shelf);
std::vector<ShelfPositionInfo> getShelfPositionInfo()const;
void setShelfPositionInfo(const std::vector<ShelfPositionInfo>& shelfPositionInfo);
private:
std::string actionType_;
bool beAutoRefresh_;
std::string extraParams_;
std::string storeId_;
int layer_;
std::string shelf_;
std::string layerOrigin_;
bool beAutoRefresh_;
std::string shelf_;
std::vector<ShelfPositionInfo> shelfPositionInfo_;
};

View File

@@ -35,20 +35,26 @@ namespace AlibabaCloud
CreateStoreRequest();
~CreateStoreRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getParentId()const;
void setParentId(const std::string& parentId);
std::string getPhone()const;
void setPhone(const std::string& phone);
std::string getUserStoreCode()const;
void setUserStoreCode(const std::string& userStoreCode);
std::string getPhone()const;
void setPhone(const std::string& phone);
private:
std::string extraParams_;
std::string clientToken_;
std::string storeName_;
std::string parentId_;
std::string phone_;
std::string userStoreCode_;
std::string phone_;
};
}

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
DeleteApDeviceRequest();
~DeleteApDeviceRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getApMac()const;
void setApMac(const std::string& apMac);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
private:
std::string extraParams_;
std::string apMac_;
std::string storeId_;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
DeletePlanogramShelfRequest();
~DeletePlanogramShelfRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
bool getBeAutoRefresh()const;
void setBeAutoRefresh(bool beAutoRefresh);
std::string getStoreId()const;
@@ -43,6 +45,7 @@ namespace AlibabaCloud
void setShelf(const std::string& shelf);
private:
std::string extraParams_;
bool beAutoRefresh_;
std::string storeId_;
std::string shelf_;

View File

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

View File

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

View File

@@ -35,10 +35,13 @@ namespace AlibabaCloud
DeleteStoreRequest();
~DeleteStoreRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
private:
std::string extraParams_;
std::string storeId_;
};

View File

@@ -35,10 +35,13 @@ namespace AlibabaCloud
DeleteUserRequest();
~DeleteUserRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string extraParams_;
std::string userId_;
};

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
DescribeAlarmsRequest();
~DescribeAlarmsRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getPageNumber()const;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
void setDeviceMac(const std::string& deviceMac);
private:
std::string extraParams_;
std::string storeId_;
int pageNumber_;
int pageSize_;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
DescribeApDevicesRequest();
~DescribeApDevicesRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getApMac()const;
void setApMac(const std::string& apMac);
std::string getStoreId()const;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
void setStatus(bool status);
private:
std::string extraParams_;
std::string apMac_;
std::string storeId_;
int pageNumber_;

View File

@@ -35,8 +35,8 @@ namespace AlibabaCloud
DescribeBindersRequest();
~DescribeBindersRequest();
std::string getItemTitle()const;
void setItemTitle(const std::string& itemTitle);
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getPageNumber()const;
@@ -47,14 +47,17 @@ namespace AlibabaCloud
void setPageSize(int pageSize);
std::string getItemBarCode()const;
void setItemBarCode(const std::string& itemBarCode);
std::string getItemTitle()const;
void setItemTitle(const std::string& itemTitle);
private:
std::string itemTitle_;
std::string extraParams_;
std::string storeId_;
int pageNumber_;
std::string eslBarCode_;
int pageSize_;
std::string itemBarCode_;
std::string itemTitle_;
};
}

View File

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

View File

@@ -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_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGERESULT_H_
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGERESULT_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 DescribeClientPackageResult : public ServiceResult
{
public:
DescribeClientPackageResult();
explicit DescribeClientPackageResult(const std::string &payload);
~DescribeClientPackageResult();
std::string getDescription()const;
std::string getMessage()const;
std::string getVersion()const;
std::string getDynamicCode()const;
std::string getErrorCode()const;
std::string getDynamicMessage()const;
std::string getErrorMessage()const;
std::string getUpdateType()const;
std::string getCode()const;
std::string getUrl()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string description_;
std::string message_;
std::string version_;
std::string dynamicCode_;
std::string errorCode_;
std::string dynamicMessage_;
std::string errorMessage_;
std::string updateType_;
std::string code_;
std::string url_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBECLIENTPACKAGERESULT_H_

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
DescribeEslDevicesRequest();
~DescribeEslDevicesRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getType()const;
void setType(const std::string& type);
std::string getStoreId()const;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
void setFromBatteryLevel(int fromBatteryLevel);
private:
std::string extraParams_;
std::string type_;
std::string storeId_;
int pageNumber_;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
DescribeItemsRequest();
~DescribeItemsRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getPageNumber()const;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
void setSkuId(const std::string& skuId);
private:
std::string extraParams_;
std::string storeId_;
int pageNumber_;
std::string itemId_;

View File

@@ -61,6 +61,7 @@ namespace AlibabaCloud
std::string customizeFeatureK;
int itemInfoIndex;
std::string itemQrCode;
std::string gmtCreate;
std::string customizeFeatureB;
std::string customizeFeatureA;
int memberPrice;
@@ -68,6 +69,7 @@ namespace AlibabaCloud
bool bePromotion;
int suggestPrice;
std::string sourceCode;
std::string gmtModified;
std::string itemBarCode;
int salesPrice;
std::string itemShortTitle;

View File

@@ -35,16 +35,22 @@ namespace AlibabaCloud
DescribePlanogramEslDevicesRequest();
~DescribePlanogramEslDevicesRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getLayer()const;
void setLayer(int layer);
std::string getEslBarCode()const;
void setEslBarCode(const std::string& eslBarCode);
std::string getShelf()const;
void setShelf(const std::string& shelf);
private:
std::string extraParams_;
std::string storeId_;
int layer_;
std::string eslBarCode_;
std::string shelf_;
};

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
DescribePlanogramPositionsRequest();
~DescribePlanogramPositionsRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getLayer()const;
@@ -43,6 +45,7 @@ namespace AlibabaCloud
void setShelf(const std::string& shelf);
private:
std::string extraParams_;
std::string storeId_;
int layer_;
std::string shelf_;

View File

@@ -45,6 +45,7 @@ namespace AlibabaCloud
float depth;
};
std::string layerOrigin;
std::string railCode;
int layer;
std::vector<LayerInfo::ShelfPositionInfo> shelfPositionInfos;
};
@@ -55,6 +56,7 @@ namespace AlibabaCloud
~DescribePlanogramPositionsResult();
std::string getMessage()const;
std::string getStoreId()const;
std::string getShelfType()const;
std::string getShelf()const;
std::string getDynamicCode()const;
std::vector<LayerInfo> getLayerInfos()const;
@@ -69,6 +71,7 @@ namespace AlibabaCloud
private:
std::string message_;
std::string storeId_;
std::string shelfType_;
std::string shelf_;
std::string dynamicCode_;
std::vector<LayerInfo> layerInfos_;

View File

@@ -35,26 +35,29 @@ namespace AlibabaCloud
DescribePlanogramRailsRequest();
~DescribePlanogramRailsRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getLayer()const;
void setLayer(int layer);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getShelf()const;
void setShelf(const std::string& shelf);
std::string getRailCode()const;
void setRailCode(const std::string& railCode);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string extraParams_;
std::string storeId_;
int layer_;
int pageNumber_;
int pageSize_;
std::string shelf_;
std::string railCode_;
int pageSize_;
};
}

View File

@@ -35,11 +35,20 @@ namespace AlibabaCloud
DescribePlanogramShelvesRequest();
~DescribePlanogramShelvesRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string extraParams_;
std::string storeId_;
int pageNumber_;
int pageSize_;
};
}

View File

@@ -38,8 +38,12 @@ namespace AlibabaCloud
{
int layer;
};
std::string category;
std::string shelfType;
std::string zone;
std::string shelf;
std::vector<ShelfInfo::LayerInfo> layerInfos;
bool beMatch;
};
@@ -47,8 +51,11 @@ namespace AlibabaCloud
explicit DescribePlanogramShelvesResult(const std::string &payload);
~DescribePlanogramShelvesResult();
std::vector<ShelfInfo> getShelfInfos()const;
int getTotalCount()const;
std::string getMessage()const;
std::string getStoreId()const;
int getPageSize()const;
int getPageNumber()const;
std::string getDynamicCode()const;
std::string getDynamicMessage()const;
std::string getErrorCode()const;
@@ -60,8 +67,11 @@ namespace AlibabaCloud
void parse(const std::string &payload);
private:
std::vector<ShelfInfo> shelfInfos_;
int totalCount_;
std::string message_;
std::string storeId_;
int pageSize_;
int pageNumber_;
std::string dynamicCode_;
std::string dynamicMessage_;
std::string errorCode_;

View File

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

View File

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

View File

@@ -35,10 +35,13 @@ namespace AlibabaCloud
DescribeStoreConfigRequest();
~DescribeStoreConfigRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
private:
std::string extraParams_;
std::string storeId_;
};

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
DescribeStoresRequest();
~DescribeStoresRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getStoreId()const;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
void setUserStoreCode(const std::string& userStoreCode);
private:
std::string extraParams_;
std::string storeName_;
std::string storeId_;
int pageNumber_;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
DescribeUserLogRequest();
~DescribeUserLogRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
std::string getUserId()const;
@@ -61,6 +63,7 @@ namespace AlibabaCloud
void setLogId(const std::string& logId);
private:
std::string extraParams_;
std::string storeId_;
std::string userId_;
int pageNumber_;

View File

@@ -35,22 +35,25 @@ namespace AlibabaCloud
DescribeUsersRequest();
~DescribeUsersRequest();
std::string getUserType()const;
void setUserType(const std::string& userType);
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getUserId()const;
void setUserId(const std::string& userId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getUserType()const;
void setUserType(const std::string& userType);
std::string getUserName()const;
void setUserName(const std::string& userName);
private:
std::string userType_;
std::string extraParams_;
std::string userId_;
int pageNumber_;
int pageSize_;
std::string userType_;
std::string userName_;
};

View File

@@ -34,9 +34,17 @@ namespace AlibabaCloud
public:
struct UserInfo
{
struct DingTalkInfo
{
std::string dingTalkCompanyId;
std::string dingTalkUserId;
};
std::string userName;
std::string ownerId;
std::string userId;
std::vector<UserInfo::DingTalkInfo> dingTalkInfos;
std::string stores;
std::string bid;
std::string userType;
};

View File

@@ -35,12 +35,15 @@ namespace AlibabaCloud
DissociatePlanogramRailRequest();
~DissociatePlanogramRailRequest();
std::string getExtraParams()const;
void setExtraParams(const std::string& extraParams);
std::string getStoreId()const;
void setStoreId(const std::string& storeId);
std::string getRailCode()const;
void setRailCode(const std::string& railCode);
private:
std::string extraParams_;
std::string storeId_;
std::string railCode_;

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