Compare commits
15 Commits
sae-patch
...
cloudesl-p
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d689d06eb7 | ||
|
|
dcb1633973 | ||
|
|
a180b00ed8 | ||
|
|
0ccab36f2f | ||
|
|
cc8cf316cd | ||
|
|
1908e64fa6 | ||
|
|
8f6d6d4d1d | ||
|
|
e5ea19cdfb | ||
|
|
55c7cdde91 | ||
|
|
836913a2a9 | ||
|
|
b34cb31a9a | ||
|
|
8ef1e983c1 | ||
|
|
3845e06de3 | ||
|
|
a349057ec2 | ||
|
|
0cf373bc60 |
45
CHANGELOG
45
CHANGELOG
@@ -1,3 +1,48 @@
|
||||
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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohAccountStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Statistic
|
||||
{
|
||||
long totalCount;
|
||||
long v4HttpCount;
|
||||
long v6HttpCount;
|
||||
long timestamp;
|
||||
long v4HttpsCount;
|
||||
long v6HttpsCount;
|
||||
};
|
||||
|
||||
|
||||
DescribeDohAccountStatisticsResult();
|
||||
explicit DescribeDohAccountStatisticsResult(const std::string &payload);
|
||||
~DescribeDohAccountStatisticsResult();
|
||||
std::vector<Statistic> getStatistics()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Statistic> statistics_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHACCOUNTSTATISTICSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohDomainStatisticsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDohDomainStatisticsRequest();
|
||||
~DescribeDohDomainStatisticsRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string startDate_;
|
||||
std::string endDate_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSREQUEST_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohDomainStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Statistic
|
||||
{
|
||||
long totalCount;
|
||||
long v4HttpCount;
|
||||
long v6HttpCount;
|
||||
long timestamp;
|
||||
long v4HttpsCount;
|
||||
long v6HttpsCount;
|
||||
};
|
||||
|
||||
|
||||
DescribeDohDomainStatisticsResult();
|
||||
explicit DescribeDohDomainStatisticsResult(const std::string &payload);
|
||||
~DescribeDohDomainStatisticsResult();
|
||||
std::vector<Statistic> getStatistics()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Statistic> statistics_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohDomainStatisticsSummaryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDohDomainStatisticsSummaryRequest();
|
||||
~DescribeDohDomainStatisticsSummaryRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getDirection()const;
|
||||
void setDirection(const std::string& direction);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string orderBy_;
|
||||
std::string startDate_;
|
||||
int pageNumber_;
|
||||
std::string endDate_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
std::string direction_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohDomainStatisticsSummaryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Statistic
|
||||
{
|
||||
long totalCount;
|
||||
long ipCount;
|
||||
std::string domainName;
|
||||
long v4HttpCount;
|
||||
long v6HttpCount;
|
||||
long httpCount;
|
||||
long httpsCount;
|
||||
long v4HttpsCount;
|
||||
long v6HttpsCount;
|
||||
};
|
||||
|
||||
|
||||
DescribeDohDomainStatisticsSummaryResult();
|
||||
explicit DescribeDohDomainStatisticsSummaryResult(const std::string &payload);
|
||||
~DescribeDohDomainStatisticsSummaryResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotalPages()const;
|
||||
int getTotalItems()const;
|
||||
std::vector<Statistic> getStatistics()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int totalPages_;
|
||||
int totalItems_;
|
||||
std::vector<Statistic> statistics_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohSubDomainStatisticsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDohSubDomainStatisticsRequest();
|
||||
~DescribeDohSubDomainStatisticsRequest();
|
||||
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getSubDomain()const;
|
||||
void setSubDomain(const std::string& subDomain);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string startDate_;
|
||||
std::string endDate_;
|
||||
std::string subDomain_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSREQUEST_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohSubDomainStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Statistic
|
||||
{
|
||||
long totalCount;
|
||||
long v4HttpCount;
|
||||
long v6HttpCount;
|
||||
long timestamp;
|
||||
long v4HttpsCount;
|
||||
long v6HttpsCount;
|
||||
};
|
||||
|
||||
|
||||
DescribeDohSubDomainStatisticsResult();
|
||||
explicit DescribeDohSubDomainStatisticsResult(const std::string &payload);
|
||||
~DescribeDohSubDomainStatisticsResult();
|
||||
std::vector<Statistic> getStatistics()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Statistic> statistics_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohSubDomainStatisticsSummaryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDohSubDomainStatisticsSummaryRequest();
|
||||
~DescribeDohSubDomainStatisticsSummaryRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getSubDomain()const;
|
||||
void setSubDomain(const std::string& subDomain);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getDirection()const;
|
||||
void setDirection(const std::string& direction);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string orderBy_;
|
||||
std::string startDate_;
|
||||
int pageNumber_;
|
||||
std::string endDate_;
|
||||
int pageSize_;
|
||||
std::string subDomain_;
|
||||
std::string lang_;
|
||||
std::string direction_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohSubDomainStatisticsSummaryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Statistic
|
||||
{
|
||||
std::string subDomain;
|
||||
long totalCount;
|
||||
long ipCount;
|
||||
long v4HttpCount;
|
||||
long v6HttpCount;
|
||||
long httpCount;
|
||||
long httpsCount;
|
||||
long v4HttpsCount;
|
||||
long v6HttpsCount;
|
||||
};
|
||||
|
||||
|
||||
DescribeDohSubDomainStatisticsSummaryResult();
|
||||
explicit DescribeDohSubDomainStatisticsSummaryResult(const std::string &payload);
|
||||
~DescribeDohSubDomainStatisticsSummaryResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotalPages()const;
|
||||
int getTotalItems()const;
|
||||
std::vector<Statistic> getStatistics()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int totalPages_;
|
||||
int totalItems_;
|
||||
std::vector<Statistic> statistics_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHSUBDOMAINSTATISTICSSUMMARYRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohUserInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDohUserInfoRequest();
|
||||
~DescribeDohUserInfoRequest();
|
||||
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string startDate_;
|
||||
std::string endDate_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFOREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFORESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDohUserInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeDohUserInfoResult();
|
||||
explicit DescribeDohUserInfoResult(const std::string &payload);
|
||||
~DescribeDohUserInfoResult();
|
||||
int getSubDomainCount()const;
|
||||
long getPdnsId()const;
|
||||
int getDomainCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int subDomainCount_;
|
||||
long pdnsId_;
|
||||
int domainCount_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOHUSERINFORESULT_H_
|
||||
@@ -50,6 +50,7 @@ namespace AlibabaCloud
|
||||
bool getRegionLines()const;
|
||||
bool 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_;
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
||||
};
|
||||
std::string groupName;
|
||||
bool aliDomain;
|
||||
std::string resourceGroupId;
|
||||
std::string domainName;
|
||||
std::string instanceId;
|
||||
std::string createTime;
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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())
|
||||
|
||||
62
alidns/src/model/DescribeDohAccountStatisticsRequest.cc
Normal file
62
alidns/src/model/DescribeDohAccountStatisticsRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohAccountStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohAccountStatisticsRequest;
|
||||
|
||||
DescribeDohAccountStatisticsRequest::DescribeDohAccountStatisticsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohAccountStatistics")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDohAccountStatisticsRequest::~DescribeDohAccountStatisticsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDohAccountStatisticsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeDohAccountStatisticsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
std::string DescribeDohAccountStatisticsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeDohAccountStatisticsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeDohAccountStatisticsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDohAccountStatisticsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
67
alidns/src/model/DescribeDohAccountStatisticsResult.cc
Normal file
67
alidns/src/model/DescribeDohAccountStatisticsResult.cc
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohAccountStatisticsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeDohAccountStatisticsResult::DescribeDohAccountStatisticsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDohAccountStatisticsResult::DescribeDohAccountStatisticsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDohAccountStatisticsResult::~DescribeDohAccountStatisticsResult()
|
||||
{}
|
||||
|
||||
void DescribeDohAccountStatisticsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||
{
|
||||
Statistic statisticsObject;
|
||||
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||
statistics_.push_back(statisticsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDohAccountStatisticsResult::Statistic> DescribeDohAccountStatisticsResult::getStatistics()const
|
||||
{
|
||||
return statistics_;
|
||||
}
|
||||
|
||||
73
alidns/src/model/DescribeDohDomainStatisticsRequest.cc
Normal file
73
alidns/src/model/DescribeDohDomainStatisticsRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohDomainStatisticsRequest;
|
||||
|
||||
DescribeDohDomainStatisticsRequest::DescribeDohDomainStatisticsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohDomainStatistics")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDohDomainStatisticsRequest::~DescribeDohDomainStatisticsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDohDomainStatisticsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
67
alidns/src/model/DescribeDohDomainStatisticsResult.cc
Normal file
67
alidns/src/model/DescribeDohDomainStatisticsResult.cc
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeDohDomainStatisticsResult::DescribeDohDomainStatisticsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDohDomainStatisticsResult::DescribeDohDomainStatisticsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDohDomainStatisticsResult::~DescribeDohDomainStatisticsResult()
|
||||
{}
|
||||
|
||||
void DescribeDohDomainStatisticsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||
{
|
||||
Statistic statisticsObject;
|
||||
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||
statistics_.push_back(statisticsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDohDomainStatisticsResult::Statistic> DescribeDohDomainStatisticsResult::getStatistics()const
|
||||
{
|
||||
return statistics_;
|
||||
}
|
||||
|
||||
117
alidns/src/model/DescribeDohDomainStatisticsSummaryRequest.cc
Normal file
117
alidns/src/model/DescribeDohDomainStatisticsSummaryRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohDomainStatisticsSummaryRequest;
|
||||
|
||||
DescribeDohDomainStatisticsSummaryRequest::DescribeDohDomainStatisticsSummaryRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohDomainStatisticsSummary")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDohDomainStatisticsSummaryRequest::~DescribeDohDomainStatisticsSummaryRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
int DescribeDohDomainStatisticsSummaryRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
int DescribeDohDomainStatisticsSummaryRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeDohDomainStatisticsSummaryRequest::getDirection()const
|
||||
{
|
||||
return direction_;
|
||||
}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
101
alidns/src/model/DescribeDohDomainStatisticsSummaryResult.cc
Normal file
101
alidns/src/model/DescribeDohDomainStatisticsSummaryResult.cc
Normal file
@@ -0,0 +1,101 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohDomainStatisticsSummaryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeDohDomainStatisticsSummaryResult::DescribeDohDomainStatisticsSummaryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDohDomainStatisticsSummaryResult::DescribeDohDomainStatisticsSummaryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDohDomainStatisticsSummaryResult::~DescribeDohDomainStatisticsSummaryResult()
|
||||
{}
|
||||
|
||||
void DescribeDohDomainStatisticsSummaryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||
{
|
||||
Statistic statisticsObject;
|
||||
if(!valueStatisticsStatistic["DomainName"].isNull())
|
||||
statisticsObject.domainName = valueStatisticsStatistic["DomainName"].asString();
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||
if(!valueStatisticsStatistic["IpCount"].isNull())
|
||||
statisticsObject.ipCount = std::stol(valueStatisticsStatistic["IpCount"].asString());
|
||||
if(!valueStatisticsStatistic["HttpCount"].isNull())
|
||||
statisticsObject.httpCount = std::stol(valueStatisticsStatistic["HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["HttpsCount"].isNull())
|
||||
statisticsObject.httpsCount = std::stol(valueStatisticsStatistic["HttpsCount"].asString());
|
||||
statistics_.push_back(statisticsObject);
|
||||
}
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeDohDomainStatisticsSummaryResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeDohDomainStatisticsSummaryResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeDohDomainStatisticsSummaryResult::getTotalPages()const
|
||||
{
|
||||
return totalPages_;
|
||||
}
|
||||
|
||||
int DescribeDohDomainStatisticsSummaryResult::getTotalItems()const
|
||||
{
|
||||
return totalItems_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDohDomainStatisticsSummaryResult::Statistic> DescribeDohDomainStatisticsSummaryResult::getStatistics()const
|
||||
{
|
||||
return statistics_;
|
||||
}
|
||||
|
||||
73
alidns/src/model/DescribeDohSubDomainStatisticsRequest.cc
Normal file
73
alidns/src/model/DescribeDohSubDomainStatisticsRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohSubDomainStatisticsRequest;
|
||||
|
||||
DescribeDohSubDomainStatisticsRequest::DescribeDohSubDomainStatisticsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohSubDomainStatistics")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDohSubDomainStatisticsRequest::~DescribeDohSubDomainStatisticsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsRequest::getSubDomain()const
|
||||
{
|
||||
return subDomain_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsRequest::setSubDomain(const std::string& subDomain)
|
||||
{
|
||||
subDomain_ = subDomain;
|
||||
setParameter("SubDomain", subDomain);
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
67
alidns/src/model/DescribeDohSubDomainStatisticsResult.cc
Normal file
67
alidns/src/model/DescribeDohSubDomainStatisticsResult.cc
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeDohSubDomainStatisticsResult::DescribeDohSubDomainStatisticsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDohSubDomainStatisticsResult::DescribeDohSubDomainStatisticsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDohSubDomainStatisticsResult::~DescribeDohSubDomainStatisticsResult()
|
||||
{}
|
||||
|
||||
void DescribeDohSubDomainStatisticsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||
{
|
||||
Statistic statisticsObject;
|
||||
if(!valueStatisticsStatistic["Timestamp"].isNull())
|
||||
statisticsObject.timestamp = std::stol(valueStatisticsStatistic["Timestamp"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||
statistics_.push_back(statisticsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDohSubDomainStatisticsResult::Statistic> DescribeDohSubDomainStatisticsResult::getStatistics()const
|
||||
{
|
||||
return statistics_;
|
||||
}
|
||||
|
||||
128
alidns/src/model/DescribeDohSubDomainStatisticsSummaryRequest.cc
Normal file
128
alidns/src/model/DescribeDohSubDomainStatisticsSummaryRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohSubDomainStatisticsSummaryRequest;
|
||||
|
||||
DescribeDohSubDomainStatisticsSummaryRequest::DescribeDohSubDomainStatisticsSummaryRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohSubDomainStatisticsSummary")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDohSubDomainStatisticsSummaryRequest::~DescribeDohSubDomainStatisticsSummaryRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
int DescribeDohSubDomainStatisticsSummaryRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
int DescribeDohSubDomainStatisticsSummaryRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getSubDomain()const
|
||||
{
|
||||
return subDomain_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setSubDomain(const std::string& subDomain)
|
||||
{
|
||||
subDomain_ = subDomain;
|
||||
setParameter("SubDomain", subDomain);
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeDohSubDomainStatisticsSummaryRequest::getDirection()const
|
||||
{
|
||||
return direction_;
|
||||
}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
101
alidns/src/model/DescribeDohSubDomainStatisticsSummaryResult.cc
Normal file
101
alidns/src/model/DescribeDohSubDomainStatisticsSummaryResult.cc
Normal file
@@ -0,0 +1,101 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohSubDomainStatisticsSummaryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeDohSubDomainStatisticsSummaryResult::DescribeDohSubDomainStatisticsSummaryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDohSubDomainStatisticsSummaryResult::DescribeDohSubDomainStatisticsSummaryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDohSubDomainStatisticsSummaryResult::~DescribeDohSubDomainStatisticsSummaryResult()
|
||||
{}
|
||||
|
||||
void DescribeDohSubDomainStatisticsSummaryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStatisticsNode = value["Statistics"]["Statistic"];
|
||||
for (auto valueStatisticsStatistic : allStatisticsNode)
|
||||
{
|
||||
Statistic statisticsObject;
|
||||
if(!valueStatisticsStatistic["SubDomain"].isNull())
|
||||
statisticsObject.subDomain = valueStatisticsStatistic["SubDomain"].asString();
|
||||
if(!valueStatisticsStatistic["V4HttpCount"].isNull())
|
||||
statisticsObject.v4HttpCount = std::stol(valueStatisticsStatistic["V4HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpCount"].isNull())
|
||||
statisticsObject.v6HttpCount = std::stol(valueStatisticsStatistic["V6HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["V4HttpsCount"].isNull())
|
||||
statisticsObject.v4HttpsCount = std::stol(valueStatisticsStatistic["V4HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["V6HttpsCount"].isNull())
|
||||
statisticsObject.v6HttpsCount = std::stol(valueStatisticsStatistic["V6HttpsCount"].asString());
|
||||
if(!valueStatisticsStatistic["TotalCount"].isNull())
|
||||
statisticsObject.totalCount = std::stol(valueStatisticsStatistic["TotalCount"].asString());
|
||||
if(!valueStatisticsStatistic["IpCount"].isNull())
|
||||
statisticsObject.ipCount = std::stol(valueStatisticsStatistic["IpCount"].asString());
|
||||
if(!valueStatisticsStatistic["HttpCount"].isNull())
|
||||
statisticsObject.httpCount = std::stol(valueStatisticsStatistic["HttpCount"].asString());
|
||||
if(!valueStatisticsStatistic["HttpsCount"].isNull())
|
||||
statisticsObject.httpsCount = std::stol(valueStatisticsStatistic["HttpsCount"].asString());
|
||||
statistics_.push_back(statisticsObject);
|
||||
}
|
||||
if(!value["TotalItems"].isNull())
|
||||
totalItems_ = std::stoi(value["TotalItems"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeDohSubDomainStatisticsSummaryResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeDohSubDomainStatisticsSummaryResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeDohSubDomainStatisticsSummaryResult::getTotalPages()const
|
||||
{
|
||||
return totalPages_;
|
||||
}
|
||||
|
||||
int DescribeDohSubDomainStatisticsSummaryResult::getTotalItems()const
|
||||
{
|
||||
return totalItems_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDohSubDomainStatisticsSummaryResult::Statistic> DescribeDohSubDomainStatisticsSummaryResult::getStatistics()const
|
||||
{
|
||||
return statistics_;
|
||||
}
|
||||
|
||||
62
alidns/src/model/DescribeDohUserInfoRequest.cc
Normal file
62
alidns/src/model/DescribeDohUserInfoRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohUserInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDohUserInfoRequest;
|
||||
|
||||
DescribeDohUserInfoRequest::DescribeDohUserInfoRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDohUserInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDohUserInfoRequest::~DescribeDohUserInfoRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDohUserInfoRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeDohUserInfoRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
std::string DescribeDohUserInfoRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeDohUserInfoRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeDohUserInfoRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDohUserInfoRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
65
alidns/src/model/DescribeDohUserInfoResult.cc
Normal file
65
alidns/src/model/DescribeDohUserInfoResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDohUserInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeDohUserInfoResult::DescribeDohUserInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDohUserInfoResult::DescribeDohUserInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDohUserInfoResult::~DescribeDohUserInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeDohUserInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["PdnsId"].isNull())
|
||||
pdnsId_ = std::stol(value["PdnsId"].asString());
|
||||
if(!value["DomainCount"].isNull())
|
||||
domainCount_ = std::stoi(value["DomainCount"].asString());
|
||||
if(!value["SubDomainCount"].isNull())
|
||||
subDomainCount_ = std::stoi(value["SubDomainCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeDohUserInfoResult::getSubDomainCount()const
|
||||
{
|
||||
return subDomainCount_;
|
||||
}
|
||||
|
||||
long DescribeDohUserInfoResult::getPdnsId()const
|
||||
{
|
||||
return pdnsId_;
|
||||
}
|
||||
|
||||
int DescribeDohUserInfoResult::getDomainCount()const
|
||||
{
|
||||
return domainCount_;
|
||||
}
|
||||
|
||||
@@ -93,6 +93,8 @@ void DescribeDomainInfoResult::parse(const std::string &payload)
|
||||
inClean_ = value["InClean"].asString() == "true";
|
||||
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_;
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ namespace AlibabaCloud
|
||||
GetUserRequest();
|
||||
~GetUserRequest();
|
||||
|
||||
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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -34,9 +34,17 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct User
|
||||
{
|
||||
struct DingTalkInfo
|
||||
{
|
||||
std::string dingTalkCompanyId;
|
||||
std::string dingTalkUserId;
|
||||
};
|
||||
std::string userName;
|
||||
std::string ownerId;
|
||||
std::string userId;
|
||||
std::vector<DingTalkInfo> dingTalkInfos;
|
||||
std::string stores;
|
||||
std::string bid;
|
||||
std::string userType;
|
||||
};
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ namespace AlibabaCloud
|
||||
UnassignUserRequest();
|
||||
~UnassignUserRequest();
|
||||
|
||||
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_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,26 +35,29 @@ namespace AlibabaCloud
|
||||
UnbindEslDeviceRequest();
|
||||
~UnbindEslDeviceRequest();
|
||||
|
||||
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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
UpdateEslDeviceLightRequest();
|
||||
~UpdateEslDeviceLightRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
int getLightUpTime()const;
|
||||
void setLightUpTime(int lightUpTime);
|
||||
std::string getStoreId()const;
|
||||
@@ -49,6 +51,7 @@ namespace AlibabaCloud
|
||||
void setItemBarCode(const std::string& itemBarCode);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
int lightUpTime_;
|
||||
std::string storeId_;
|
||||
std::string frequency_;
|
||||
|
||||
@@ -35,19 +35,22 @@ namespace AlibabaCloud
|
||||
UpdateStoreConfigRequest();
|
||||
~UpdateStoreConfigRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
bool getEnableNotification()const;
|
||||
void setEnableNotification(bool enableNotification);
|
||||
std::string getNotificationWebHook()const;
|
||||
void setNotificationWebHook(const std::string& notificationWebHook);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
std::string getNotificationSilentTimes()const;
|
||||
void setNotificationSilentTimes(const std::string& notificationSilentTimes);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
bool enableNotification_;
|
||||
std::string notificationWebHook_;
|
||||
std::string storeId_;
|
||||
std::string notificationSilentTimes_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,20 +35,23 @@ namespace AlibabaCloud
|
||||
UpdateStoreRequest();
|
||||
~UpdateStoreRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getStoreName()const;
|
||||
void setStoreName(const std::string& storeName);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
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 storeName_;
|
||||
std::string storeId_;
|
||||
std::string phone_;
|
||||
std::string userStoreCode_;
|
||||
std::string phone_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_UPDATEUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT UpdateUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateUserRequest();
|
||||
~UpdateUserRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getDingTalkUserId()const;
|
||||
void setDingTalkUserId(const std::string& dingTalkUserId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getDingTalkCompanyId()const;
|
||||
void setDingTalkCompanyId(const std::string& dingTalkCompanyId);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string dingTalkUserId_;
|
||||
std::string userId_;
|
||||
std::string dingTalkCompanyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERREQUEST_H_
|
||||
@@ -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_UPDATEUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERRESULT_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 UpdateUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateUserResult();
|
||||
explicit UpdateUserResult(const std::string &payload);
|
||||
~UpdateUserResult();
|
||||
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_UPDATEUSERRESULT_H_
|
||||
@@ -159,6 +159,42 @@ CloudeslClient::AddPlanogramShelfOutcomeCallable CloudeslClient::addPlanogramShe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::AddRoleActionsOutcome CloudeslClient::addRoleActions(const AddRoleActionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddRoleActionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddRoleActionsOutcome(AddRoleActionsResult(outcome.result()));
|
||||
else
|
||||
return AddRoleActionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::addRoleActionsAsync(const AddRoleActionsRequest& request, const AddRoleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addRoleActions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::AddRoleActionsOutcomeCallable CloudeslClient::addRoleActionsCallable(const AddRoleActionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddRoleActionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addRoleActions(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::AddUserOutcome CloudeslClient::addUser(const AddUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -483,6 +519,42 @@ CloudeslClient::DeletePlanogramShelfOutcomeCallable CloudeslClient::deletePlanog
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DeleteRoleActionsOutcome CloudeslClient::deleteRoleActions(const DeleteRoleActionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteRoleActionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteRoleActionsOutcome(DeleteRoleActionsResult(outcome.result()));
|
||||
else
|
||||
return DeleteRoleActionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::deleteRoleActionsAsync(const DeleteRoleActionsRequest& request, const DeleteRoleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteRoleActions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DeleteRoleActionsOutcomeCallable CloudeslClient::deleteRoleActionsCallable(const DeleteRoleActionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteRoleActionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteRoleActions(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DeleteStoreOutcome CloudeslClient::deleteStore(const DeleteStoreRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -663,6 +735,42 @@ CloudeslClient::DescribeBindersOutcomeCallable CloudeslClient::describeBindersCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeClientPackageOutcome CloudeslClient::describeClientPackage(const DescribeClientPackageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeClientPackageOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeClientPackageOutcome(DescribeClientPackageResult(outcome.result()));
|
||||
else
|
||||
return DescribeClientPackageOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describeClientPackageAsync(const DescribeClientPackageRequest& request, const DescribeClientPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeClientPackage(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeClientPackageOutcomeCallable CloudeslClient::describeClientPackageCallable(const DescribeClientPackageRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeClientPackageOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeClientPackage(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeEslDevicesOutcome CloudeslClient::describeEslDevices(const DescribeEslDevicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -879,6 +987,42 @@ CloudeslClient::DescribePlanogramShelvesOutcomeCallable CloudeslClient::describe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeRoleActionsOutcome CloudeslClient::describeRoleActions(const DescribeRoleActionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRoleActionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRoleActionsOutcome(DescribeRoleActionsResult(outcome.result()));
|
||||
else
|
||||
return DescribeRoleActionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describeRoleActionsAsync(const DescribeRoleActionsRequest& request, const DescribeRoleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRoleActions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeRoleActionsOutcomeCallable CloudeslClient::describeRoleActionsCallable(const DescribeRoleActionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRoleActionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRoleActions(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeStoreConfigOutcome CloudeslClient::describeStoreConfig(const DescribeStoreConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1275,3 +1419,39 @@ CloudeslClient::UpdateStoreConfigOutcomeCallable CloudeslClient::updateStoreConf
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::UpdateUserOutcome CloudeslClient::updateUser(const UpdateUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateUserOutcome(UpdateUserResult(outcome.result()));
|
||||
else
|
||||
return UpdateUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::updateUserAsync(const UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::UpdateUserOutcomeCallable CloudeslClient::updateUserCallable(const UpdateUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -27,6 +27,17 @@ ActivateApDeviceRequest::ActivateApDeviceRequest() :
|
||||
ActivateApDeviceRequest::~ActivateApDeviceRequest()
|
||||
{}
|
||||
|
||||
std::string ActivateApDeviceRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void ActivateApDeviceRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string ActivateApDeviceRequest::getApMac()const
|
||||
{
|
||||
return apMac_;
|
||||
|
||||
@@ -27,6 +27,28 @@ AddApDeviceRequest::AddApDeviceRequest() :
|
||||
AddApDeviceRequest::~AddApDeviceRequest()
|
||||
{}
|
||||
|
||||
std::string AddApDeviceRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void AddApDeviceRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string AddApDeviceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddApDeviceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setBodyParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddApDeviceRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
|
||||
@@ -27,6 +27,28 @@ AddPlanogramShelfRequest::AddPlanogramShelfRequest() :
|
||||
AddPlanogramShelfRequest::~AddPlanogramShelfRequest()
|
||||
{}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setBodyParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getShelfType()const
|
||||
{
|
||||
return shelfType_;
|
||||
@@ -49,6 +71,17 @@ void AddPlanogramShelfRequest::setStoreId(const std::string& storeId)
|
||||
setBodyParameter("StoreId", storeId);
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getZone()const
|
||||
{
|
||||
return zone_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setZone(const std::string& zone)
|
||||
{
|
||||
zone_ = zone;
|
||||
setBodyParameter("Zone", zone);
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
@@ -60,3 +93,14 @@ void AddPlanogramShelfRequest::setShelf(const std::string& shelf)
|
||||
setBodyParameter("Shelf", shelf);
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getCategory()const
|
||||
{
|
||||
return category_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setCategory(const std::string& category)
|
||||
{
|
||||
category_ = category;
|
||||
setBodyParameter("Category", category);
|
||||
}
|
||||
|
||||
|
||||
73
cloudesl/src/model/AddRoleActionsRequest.cc
Normal file
73
cloudesl/src/model/AddRoleActionsRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/AddRoleActionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::AddRoleActionsRequest;
|
||||
|
||||
AddRoleActionsRequest::AddRoleActionsRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "AddRoleActions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddRoleActionsRequest::~AddRoleActionsRequest()
|
||||
{}
|
||||
|
||||
std::string AddRoleActionsRequest::getRoleCode()const
|
||||
{
|
||||
return roleCode_;
|
||||
}
|
||||
|
||||
void AddRoleActionsRequest::setRoleCode(const std::string& roleCode)
|
||||
{
|
||||
roleCode_ = roleCode;
|
||||
setBodyParameter("RoleCode", roleCode);
|
||||
}
|
||||
|
||||
std::string AddRoleActionsRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void AddRoleActionsRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string AddRoleActionsRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddRoleActionsRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setBodyParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddRoleActionsRequest::getAccessControlLists()const
|
||||
{
|
||||
return accessControlLists_;
|
||||
}
|
||||
|
||||
void AddRoleActionsRequest::setAccessControlLists(const std::string& accessControlLists)
|
||||
{
|
||||
accessControlLists_ = accessControlLists;
|
||||
setBodyParameter("AccessControlLists", accessControlLists);
|
||||
}
|
||||
|
||||
93
cloudesl/src/model/AddRoleActionsResult.cc
Normal file
93
cloudesl/src/model/AddRoleActionsResult.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/AddRoleActionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudesl;
|
||||
using namespace AlibabaCloud::Cloudesl::Model;
|
||||
|
||||
AddRoleActionsResult::AddRoleActionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddRoleActionsResult::AddRoleActionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddRoleActionsResult::~AddRoleActionsResult()
|
||||
{}
|
||||
|
||||
void AddRoleActionsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["DynamicCode"].isNull())
|
||||
dynamicCode_ = value["DynamicCode"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["DynamicMessage"].isNull())
|
||||
dynamicMessage_ = value["DynamicMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string AddRoleActionsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string AddRoleActionsResult::getDynamicCode()const
|
||||
{
|
||||
return dynamicCode_;
|
||||
}
|
||||
|
||||
std::string AddRoleActionsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string AddRoleActionsResult::getDynamicMessage()const
|
||||
{
|
||||
return dynamicMessage_;
|
||||
}
|
||||
|
||||
std::string AddRoleActionsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
std::string AddRoleActionsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool AddRoleActionsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -27,6 +27,28 @@ AddUserRequest::AddUserRequest() :
|
||||
AddUserRequest::~AddUserRequest()
|
||||
{}
|
||||
|
||||
std::string AddUserRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void AddUserRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string AddUserRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddUserRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setBodyParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddUserRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
|
||||
@@ -27,6 +27,17 @@ AssignUserRequest::AssignUserRequest() :
|
||||
AssignUserRequest::~AssignUserRequest()
|
||||
{}
|
||||
|
||||
std::string AssignUserRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void AssignUserRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string AssignUserRequest::getStores()const
|
||||
{
|
||||
return stores_;
|
||||
|
||||
@@ -27,6 +27,17 @@ AssociatePlanogramRailRequest::AssociatePlanogramRailRequest() :
|
||||
AssociatePlanogramRailRequest::~AssociatePlanogramRailRequest()
|
||||
{}
|
||||
|
||||
std::string AssociatePlanogramRailRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void AssociatePlanogramRailRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string AssociatePlanogramRailRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
|
||||
@@ -27,6 +27,17 @@ BatchInsertItemsRequest::BatchInsertItemsRequest() :
|
||||
BatchInsertItemsRequest::~BatchInsertItemsRequest()
|
||||
{}
|
||||
|
||||
std::string BatchInsertItemsRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void BatchInsertItemsRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string BatchInsertItemsRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
|
||||
@@ -27,15 +27,15 @@ BindEslDeviceRequest::BindEslDeviceRequest() :
|
||||
BindEslDeviceRequest::~BindEslDeviceRequest()
|
||||
{}
|
||||
|
||||
std::string BindEslDeviceRequest::getColumn()const
|
||||
std::string BindEslDeviceRequest::getExtraParams()const
|
||||
{
|
||||
return column_;
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void BindEslDeviceRequest::setColumn(const std::string& column)
|
||||
void BindEslDeviceRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
column_ = column;
|
||||
setBodyParameter("Column", column);
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string BindEslDeviceRequest::getStoreId()const
|
||||
@@ -60,17 +60,6 @@ void BindEslDeviceRequest::setLayer(int layer)
|
||||
setBodyParameter("Layer", std::to_string(layer));
|
||||
}
|
||||
|
||||
std::string BindEslDeviceRequest::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
}
|
||||
|
||||
void BindEslDeviceRequest::setShelf(const std::string& shelf)
|
||||
{
|
||||
shelf_ = shelf;
|
||||
setBodyParameter("Shelf", shelf);
|
||||
}
|
||||
|
||||
std::string BindEslDeviceRequest::getEslBarCode()const
|
||||
{
|
||||
return eslBarCode_;
|
||||
@@ -93,3 +82,25 @@ void BindEslDeviceRequest::setItemBarCode(const std::string& itemBarCode)
|
||||
setBodyParameter("ItemBarCode", itemBarCode);
|
||||
}
|
||||
|
||||
std::string BindEslDeviceRequest::getColumn()const
|
||||
{
|
||||
return column_;
|
||||
}
|
||||
|
||||
void BindEslDeviceRequest::setColumn(const std::string& column)
|
||||
{
|
||||
column_ = column;
|
||||
setBodyParameter("Column", column);
|
||||
}
|
||||
|
||||
std::string BindEslDeviceRequest::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
}
|
||||
|
||||
void BindEslDeviceRequest::setShelf(const std::string& shelf)
|
||||
{
|
||||
shelf_ = shelf;
|
||||
setBodyParameter("Shelf", shelf);
|
||||
}
|
||||
|
||||
|
||||
@@ -38,15 +38,15 @@ void ComposePlanogramPositionsRequest::setActionType(const std::string& actionTy
|
||||
setBodyParameter("ActionType", actionType);
|
||||
}
|
||||
|
||||
bool ComposePlanogramPositionsRequest::getBeAutoRefresh()const
|
||||
std::string ComposePlanogramPositionsRequest::getExtraParams()const
|
||||
{
|
||||
return beAutoRefresh_;
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void ComposePlanogramPositionsRequest::setBeAutoRefresh(bool beAutoRefresh)
|
||||
void ComposePlanogramPositionsRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
beAutoRefresh_ = beAutoRefresh;
|
||||
setBodyParameter("BeAutoRefresh", beAutoRefresh ? "true" : "false");
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsRequest::getStoreId()const
|
||||
@@ -71,17 +71,6 @@ void ComposePlanogramPositionsRequest::setLayer(int layer)
|
||||
setBodyParameter("Layer", std::to_string(layer));
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsRequest::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
}
|
||||
|
||||
void ComposePlanogramPositionsRequest::setShelf(const std::string& shelf)
|
||||
{
|
||||
shelf_ = shelf;
|
||||
setBodyParameter("Shelf", shelf);
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsRequest::getLayerOrigin()const
|
||||
{
|
||||
return layerOrigin_;
|
||||
@@ -93,6 +82,28 @@ void ComposePlanogramPositionsRequest::setLayerOrigin(const std::string& layerOr
|
||||
setBodyParameter("LayerOrigin", layerOrigin);
|
||||
}
|
||||
|
||||
bool ComposePlanogramPositionsRequest::getBeAutoRefresh()const
|
||||
{
|
||||
return beAutoRefresh_;
|
||||
}
|
||||
|
||||
void ComposePlanogramPositionsRequest::setBeAutoRefresh(bool beAutoRefresh)
|
||||
{
|
||||
beAutoRefresh_ = beAutoRefresh;
|
||||
setBodyParameter("BeAutoRefresh", beAutoRefresh ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ComposePlanogramPositionsRequest::getShelf()const
|
||||
{
|
||||
return shelf_;
|
||||
}
|
||||
|
||||
void ComposePlanogramPositionsRequest::setShelf(const std::string& shelf)
|
||||
{
|
||||
shelf_ = shelf;
|
||||
setBodyParameter("Shelf", shelf);
|
||||
}
|
||||
|
||||
std::vector<ComposePlanogramPositionsRequest::ShelfPositionInfo> ComposePlanogramPositionsRequest::getShelfPositionInfo()const
|
||||
{
|
||||
return shelfPositionInfo_;
|
||||
|
||||
@@ -27,6 +27,28 @@ CreateStoreRequest::CreateStoreRequest() :
|
||||
CreateStoreRequest::~CreateStoreRequest()
|
||||
{}
|
||||
|
||||
std::string CreateStoreRequest::getExtraParams()const
|
||||
{
|
||||
return extraParams_;
|
||||
}
|
||||
|
||||
void CreateStoreRequest::setExtraParams(const std::string& extraParams)
|
||||
{
|
||||
extraParams_ = extraParams;
|
||||
setBodyParameter("ExtraParams", extraParams);
|
||||
}
|
||||
|
||||
std::string CreateStoreRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateStoreRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setBodyParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateStoreRequest::getStoreName()const
|
||||
{
|
||||
return storeName_;
|
||||
@@ -49,17 +71,6 @@ void CreateStoreRequest::setParentId(const std::string& parentId)
|
||||
setBodyParameter("ParentId", parentId);
|
||||
}
|
||||
|
||||
std::string CreateStoreRequest::getPhone()const
|
||||
{
|
||||
return phone_;
|
||||
}
|
||||
|
||||
void CreateStoreRequest::setPhone(const std::string& phone)
|
||||
{
|
||||
phone_ = phone;
|
||||
setBodyParameter("Phone", phone);
|
||||
}
|
||||
|
||||
std::string CreateStoreRequest::getUserStoreCode()const
|
||||
{
|
||||
return userStoreCode_;
|
||||
@@ -71,3 +82,14 @@ void CreateStoreRequest::setUserStoreCode(const std::string& userStoreCode)
|
||||
setBodyParameter("UserStoreCode", userStoreCode);
|
||||
}
|
||||
|
||||
std::string CreateStoreRequest::getPhone()const
|
||||
{
|
||||
return phone_;
|
||||
}
|
||||
|
||||
void CreateStoreRequest::setPhone(const std::string& phone)
|
||||
{
|
||||
phone_ = phone;
|
||||
setBodyParameter("Phone", phone);
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user