Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6877b35beb | ||
|
|
ba67c01925 | ||
|
|
e89b92569f | ||
|
|
b5a6f66a29 | ||
|
|
b3c82e1e45 | ||
|
|
fe5bdbf24a | ||
|
|
a0c0379235 | ||
|
|
f3e060235c | ||
|
|
ec69dc6bc1 | ||
|
|
c89b84b7de | ||
|
|
9b0afb4553 | ||
|
|
3d0a6fad54 | ||
|
|
d63c8b343d | ||
|
|
79946b0b8d | ||
|
|
9345e356d4 | ||
|
|
40d1ce44af | ||
|
|
4552a4ad69 | ||
|
|
99ad81bc82 |
63
CHANGELOG
63
CHANGELOG
@@ -1,3 +1,66 @@
|
||||
2021-07-07 Version: 1.36.810
|
||||
- Add ModifyResourceGroup API.
|
||||
|
||||
2021-07-07 Version: 1.36.809
|
||||
- Support FilterKey for RestoreInstance.
|
||||
- DescribeInstanceAttribute add return argument BackupLogStartTime.
|
||||
- Add RemoveSubInstance for Global Distributed Cache.
|
||||
|
||||
2021-07-07 Version: 1.36.808
|
||||
- Supported AAA for BBB.
|
||||
|
||||
2021-07-05 Version: 1.36.807
|
||||
- Supported deleteItem for sdk.
|
||||
|
||||
2021-07-02 Version: 1.36.806
|
||||
- Fix DescribeInstance EncryptionType.
|
||||
|
||||
2021-07-02 Version: 1.36.805
|
||||
- Release RecognizeQuotaInvoice RecognizeTicketInvoice RecognizePdf.
|
||||
|
||||
2021-07-02 Version: 1.36.804
|
||||
- Release AnalyzeChestVessel.
|
||||
|
||||
2021-06-28 Version: 1.36.803
|
||||
- Edit ListRetcodeApps.
|
||||
- Edit SearchRetcodeAppByPage.
|
||||
|
||||
2021-06-28 Version: 1.36.802
|
||||
- Support GetSQLReviewOptimizeDetail,ListSQLReviewOriginSQL Order API.
|
||||
|
||||
2021-06-25 Version: 1.36.801
|
||||
- Supported new features for outbound.
|
||||
|
||||
2021-06-25 Version: 1.36.800
|
||||
- Update DescribeSplitItemBill to support daily report.
|
||||
|
||||
2021-06-24 Version: 1.36.799
|
||||
- DescribeSynchronizationJobs, DescribeSubscriptionInstances, DescribeMigrationJobs, Add InstanceCreateTime and JobCreateTime.
|
||||
|
||||
2021-06-24 Version: 1.36.798
|
||||
- Create Lindorm Open api.
|
||||
|
||||
2021-06-24 Version: 1.36.797
|
||||
- Update QueryBillOverview, QuerySettleBill, QueryAccountBill, DescribeInstanceBill and support trusteeship bill query.
|
||||
|
||||
2021-06-22 Version: 1.36.796
|
||||
- Supported CreateGlobalDatabaseNetwork for PolarDB Global Database Network.
|
||||
- Supported ModifyGlobalDatabaseNetwork for PolarDB Global Database Network.
|
||||
- Supported DeleteGlobalDatabaseNetwork for PolarDB Global Database Network.
|
||||
- Supported DescribeGlobalDatabaseNetworks for PolarDB Global Database Network.
|
||||
- Supported DescribeGlobalDatabaseNetwork for PolarDB Global Database Network.
|
||||
- Supported RemoveDBClusterFromGDN for PolarDB Global Database Network.
|
||||
- Supported parameter SSLEnabled for ModifyDBClusterSSL changed to non-required.
|
||||
|
||||
2021-06-21 Version: 1.36.795
|
||||
- Public V430.
|
||||
|
||||
2021-06-21 Version: 1.36.794
|
||||
- Generated 2019-11-20 for `Ga`.
|
||||
|
||||
2021-06-21 Version: 1.36.793
|
||||
- Generated 2019-11-20 for `Ga`.
|
||||
|
||||
2021-06-21 Version: 1.36.792
|
||||
- Generated 2016-04-28 for `Vpc`.
|
||||
|
||||
|
||||
@@ -54,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::vector<std::string> groupingFields;
|
||||
long groupWaitTime;
|
||||
long groupId;
|
||||
long repeatInterval;
|
||||
};
|
||||
struct NotifyRule
|
||||
{
|
||||
@@ -66,7 +67,9 @@ namespace AlibabaCloud
|
||||
std::vector<std::string> notifyChannels;
|
||||
std::vector<NotifyRule::NotifyObject> notifyObjects;
|
||||
};
|
||||
bool isRecover;
|
||||
std::vector<GroupRule> groupRules;
|
||||
std::string dispatchType;
|
||||
std::string state;
|
||||
long ruleId;
|
||||
LabelMatchExpressionGrid labelMatchExpressionGrid;
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct RetcodeApp
|
||||
{
|
||||
std::string retcodeAppType;
|
||||
long appId;
|
||||
std::string pid;
|
||||
std::string appName;
|
||||
|
||||
@@ -79,6 +79,7 @@ namespace AlibabaCloud
|
||||
long noticeEndTime;
|
||||
};
|
||||
std::string status;
|
||||
bool hostByAlertManager;
|
||||
MetricParam metricParam;
|
||||
int alertVersion;
|
||||
long taskId;
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct RetcodeApp
|
||||
{
|
||||
std::string retcodeAppType;
|
||||
std::string type;
|
||||
long appId;
|
||||
std::string userId;
|
||||
|
||||
@@ -46,6 +46,10 @@ void DescribeDispatchRuleResult::parse(const std::string &payload)
|
||||
dispatchRule_.name = dispatchRuleNode["Name"].asString();
|
||||
if(!dispatchRuleNode["State"].isNull())
|
||||
dispatchRule_.state = dispatchRuleNode["State"].asString();
|
||||
if(!dispatchRuleNode["DispatchType"].isNull())
|
||||
dispatchRule_.dispatchType = dispatchRuleNode["DispatchType"].asString();
|
||||
if(!dispatchRuleNode["IsRecover"].isNull())
|
||||
dispatchRule_.isRecover = dispatchRuleNode["IsRecover"].asString() == "true";
|
||||
auto allGroupRulesNode = dispatchRuleNode["GroupRules"]["GroupRule"];
|
||||
for (auto dispatchRuleNodeGroupRulesGroupRule : allGroupRulesNode)
|
||||
{
|
||||
@@ -56,6 +60,8 @@ void DescribeDispatchRuleResult::parse(const std::string &payload)
|
||||
groupRuleObject.groupWaitTime = std::stol(dispatchRuleNodeGroupRulesGroupRule["GroupWaitTime"].asString());
|
||||
if(!dispatchRuleNodeGroupRulesGroupRule["GroupInterval"].isNull())
|
||||
groupRuleObject.groupInterval = std::stol(dispatchRuleNodeGroupRulesGroupRule["GroupInterval"].asString());
|
||||
if(!dispatchRuleNodeGroupRulesGroupRule["RepeatInterval"].isNull())
|
||||
groupRuleObject.repeatInterval = std::stol(dispatchRuleNodeGroupRulesGroupRule["RepeatInterval"].asString());
|
||||
auto allGroupingFields = value["GroupingFields"]["GroupingField"];
|
||||
for (auto value : allGroupingFields)
|
||||
groupRuleObject.groupingFields.push_back(value.asString());
|
||||
|
||||
@@ -49,6 +49,8 @@ void ListRetcodeAppsResult::parse(const std::string &payload)
|
||||
retcodeAppsObject.pid = valueRetcodeAppsRetcodeApp["Pid"].asString();
|
||||
if(!valueRetcodeAppsRetcodeApp["AppName"].isNull())
|
||||
retcodeAppsObject.appName = valueRetcodeAppsRetcodeApp["AppName"].asString();
|
||||
if(!valueRetcodeAppsRetcodeApp["RetcodeAppType"].isNull())
|
||||
retcodeAppsObject.retcodeAppType = valueRetcodeAppsRetcodeApp["RetcodeAppType"].asString();
|
||||
retcodeApps_.push_back(retcodeAppsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -82,6 +82,8 @@ void SearchAlertRulesResult::parse(const std::string &payload)
|
||||
alertRuleEntityObject.title = pageBeanNodeAlertRulesAlertRuleEntity["Title"].asString();
|
||||
if(!pageBeanNodeAlertRulesAlertRuleEntity["ContactGroupIds"].isNull())
|
||||
alertRuleEntityObject.contactGroupIds = pageBeanNodeAlertRulesAlertRuleEntity["ContactGroupIds"].asString();
|
||||
if(!pageBeanNodeAlertRulesAlertRuleEntity["HostByAlertManager"].isNull())
|
||||
alertRuleEntityObject.hostByAlertManager = pageBeanNodeAlertRulesAlertRuleEntity["HostByAlertManager"].asString() == "true";
|
||||
auto alarmContextNode = value["AlarmContext"];
|
||||
if(!alarmContextNode["AlarmContentTemplate"].isNull())
|
||||
alertRuleEntityObject.alarmContext.alarmContentTemplate = alarmContextNode["AlarmContentTemplate"].asString();
|
||||
|
||||
@@ -66,6 +66,8 @@ void SearchRetcodeAppByPageResult::parse(const std::string &payload)
|
||||
retcodeAppObject.createTime = std::stol(pageBeanNodeRetcodeAppsRetcodeApp["CreateTime"].asString());
|
||||
if(!pageBeanNodeRetcodeAppsRetcodeApp["UpdateTime"].isNull())
|
||||
retcodeAppObject.updateTime = std::stol(pageBeanNodeRetcodeAppsRetcodeApp["UpdateTime"].asString());
|
||||
if(!pageBeanNodeRetcodeAppsRetcodeApp["RetcodeAppType"].isNull())
|
||||
retcodeAppObject.retcodeAppType = pageBeanNodeRetcodeAppsRetcodeApp["RetcodeAppType"].asString();
|
||||
pageBean_.retcodeApps.push_back(retcodeAppObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,8 @@ set(bssopenapi_public_header
|
||||
include/alibabacloud/bssopenapi/BssOpenApiExport.h )
|
||||
|
||||
set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/AddAccountRelationRequest.h
|
||||
include/alibabacloud/bssopenapi/model/AddAccountRelationResult.h
|
||||
include/alibabacloud/bssopenapi/model/AllocateCostUnitResourceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/AllocateCostUnitResourceResult.h
|
||||
include/alibabacloud/bssopenapi/model/ApplyInvoiceRequest.h
|
||||
@@ -29,6 +31,8 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/CancelOrderResult.h
|
||||
include/alibabacloud/bssopenapi/model/ChangeResellerConsumeAmountRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ChangeResellerConsumeAmountResult.h
|
||||
include/alibabacloud/bssopenapi/model/ConfirmRelationRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ConfirmRelationResult.h
|
||||
include/alibabacloud/bssopenapi/model/ConvertChargeTypeRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ConvertChargeTypeResult.h
|
||||
include/alibabacloud/bssopenapi/model/CreateAgAccountRequest.h
|
||||
@@ -47,8 +51,16 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/DescribeInstanceBillResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribePricingModuleRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribePricingModuleResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceCoverageDetailRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceCoverageDetailResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceCoverageTotalRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceCoverageTotalResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourcePackageProductRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourcePackageProductResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceUsageDetailRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceUsageDetailResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceUsageTotalRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourceUsageTotalResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeSplitItemBillRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeSplitItemBillResult.h
|
||||
include/alibabacloud/bssopenapi/model/EnableBillGenerationRequest.h
|
||||
@@ -65,6 +77,8 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/GetResourcePackagePriceResult.h
|
||||
include/alibabacloud/bssopenapi/model/GetSubscriptionPriceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/GetSubscriptionPriceResult.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyAccountRelationRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyAccountRelationResult.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyCostUnitRequest.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyCostUnitResult.h
|
||||
include/alibabacloud/bssopenapi/model/ModifyInstanceRequest.h
|
||||
@@ -93,6 +107,8 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/QueryCostUnitResourceResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryCustomerAddressListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryCustomerAddressListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryDPUtilizationDetailRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryDPUtilizationDetailResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryEvaluateListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryEvaluateListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryFinancialAccountInfoRequest.h
|
||||
@@ -139,12 +155,16 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/QuerySplitItemBillResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryUserOmsDataRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryUserOmsDataResult.h
|
||||
include/alibabacloud/bssopenapi/model/RelieveAccountRelationRequest.h
|
||||
include/alibabacloud/bssopenapi/model/RelieveAccountRelationResult.h
|
||||
include/alibabacloud/bssopenapi/model/RenewInstanceRequest.h
|
||||
include/alibabacloud/bssopenapi/model/RenewInstanceResult.h
|
||||
include/alibabacloud/bssopenapi/model/RenewResourcePackageRequest.h
|
||||
include/alibabacloud/bssopenapi/model/RenewResourcePackageResult.h
|
||||
include/alibabacloud/bssopenapi/model/SaveUserCreditRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SaveUserCreditResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetAllExpirationDayRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SetAllExpirationDayResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetCreditLabelActionRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SetCreditLabelActionResult.h
|
||||
include/alibabacloud/bssopenapi/model/SetRenewalRequest.h
|
||||
@@ -168,6 +188,8 @@ set(bssopenapi_public_header_model
|
||||
|
||||
set(bssopenapi_src
|
||||
src/BssOpenApiClient.cc
|
||||
src/model/AddAccountRelationRequest.cc
|
||||
src/model/AddAccountRelationResult.cc
|
||||
src/model/AllocateCostUnitResourceRequest.cc
|
||||
src/model/AllocateCostUnitResourceResult.cc
|
||||
src/model/ApplyInvoiceRequest.cc
|
||||
@@ -176,6 +198,8 @@ set(bssopenapi_src
|
||||
src/model/CancelOrderResult.cc
|
||||
src/model/ChangeResellerConsumeAmountRequest.cc
|
||||
src/model/ChangeResellerConsumeAmountResult.cc
|
||||
src/model/ConfirmRelationRequest.cc
|
||||
src/model/ConfirmRelationResult.cc
|
||||
src/model/ConvertChargeTypeRequest.cc
|
||||
src/model/ConvertChargeTypeResult.cc
|
||||
src/model/CreateAgAccountRequest.cc
|
||||
@@ -194,8 +218,16 @@ set(bssopenapi_src
|
||||
src/model/DescribeInstanceBillResult.cc
|
||||
src/model/DescribePricingModuleRequest.cc
|
||||
src/model/DescribePricingModuleResult.cc
|
||||
src/model/DescribeResourceCoverageDetailRequest.cc
|
||||
src/model/DescribeResourceCoverageDetailResult.cc
|
||||
src/model/DescribeResourceCoverageTotalRequest.cc
|
||||
src/model/DescribeResourceCoverageTotalResult.cc
|
||||
src/model/DescribeResourcePackageProductRequest.cc
|
||||
src/model/DescribeResourcePackageProductResult.cc
|
||||
src/model/DescribeResourceUsageDetailRequest.cc
|
||||
src/model/DescribeResourceUsageDetailResult.cc
|
||||
src/model/DescribeResourceUsageTotalRequest.cc
|
||||
src/model/DescribeResourceUsageTotalResult.cc
|
||||
src/model/DescribeSplitItemBillRequest.cc
|
||||
src/model/DescribeSplitItemBillResult.cc
|
||||
src/model/EnableBillGenerationRequest.cc
|
||||
@@ -212,6 +244,8 @@ set(bssopenapi_src
|
||||
src/model/GetResourcePackagePriceResult.cc
|
||||
src/model/GetSubscriptionPriceRequest.cc
|
||||
src/model/GetSubscriptionPriceResult.cc
|
||||
src/model/ModifyAccountRelationRequest.cc
|
||||
src/model/ModifyAccountRelationResult.cc
|
||||
src/model/ModifyCostUnitRequest.cc
|
||||
src/model/ModifyCostUnitResult.cc
|
||||
src/model/ModifyInstanceRequest.cc
|
||||
@@ -240,6 +274,8 @@ set(bssopenapi_src
|
||||
src/model/QueryCostUnitResourceResult.cc
|
||||
src/model/QueryCustomerAddressListRequest.cc
|
||||
src/model/QueryCustomerAddressListResult.cc
|
||||
src/model/QueryDPUtilizationDetailRequest.cc
|
||||
src/model/QueryDPUtilizationDetailResult.cc
|
||||
src/model/QueryEvaluateListRequest.cc
|
||||
src/model/QueryEvaluateListResult.cc
|
||||
src/model/QueryFinancialAccountInfoRequest.cc
|
||||
@@ -286,12 +322,16 @@ set(bssopenapi_src
|
||||
src/model/QuerySplitItemBillResult.cc
|
||||
src/model/QueryUserOmsDataRequest.cc
|
||||
src/model/QueryUserOmsDataResult.cc
|
||||
src/model/RelieveAccountRelationRequest.cc
|
||||
src/model/RelieveAccountRelationResult.cc
|
||||
src/model/RenewInstanceRequest.cc
|
||||
src/model/RenewInstanceResult.cc
|
||||
src/model/RenewResourcePackageRequest.cc
|
||||
src/model/RenewResourcePackageResult.cc
|
||||
src/model/SaveUserCreditRequest.cc
|
||||
src/model/SaveUserCreditResult.cc
|
||||
src/model/SetAllExpirationDayRequest.cc
|
||||
src/model/SetAllExpirationDayResult.cc
|
||||
src/model/SetCreditLabelActionRequest.cc
|
||||
src/model/SetCreditLabelActionResult.cc
|
||||
src/model/SetRenewalRequest.cc
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "BssOpenApiExport.h"
|
||||
#include "model/AddAccountRelationRequest.h"
|
||||
#include "model/AddAccountRelationResult.h"
|
||||
#include "model/AllocateCostUnitResourceRequest.h"
|
||||
#include "model/AllocateCostUnitResourceResult.h"
|
||||
#include "model/ApplyInvoiceRequest.h"
|
||||
@@ -30,6 +32,8 @@
|
||||
#include "model/CancelOrderResult.h"
|
||||
#include "model/ChangeResellerConsumeAmountRequest.h"
|
||||
#include "model/ChangeResellerConsumeAmountResult.h"
|
||||
#include "model/ConfirmRelationRequest.h"
|
||||
#include "model/ConfirmRelationResult.h"
|
||||
#include "model/ConvertChargeTypeRequest.h"
|
||||
#include "model/ConvertChargeTypeResult.h"
|
||||
#include "model/CreateAgAccountRequest.h"
|
||||
@@ -48,8 +52,16 @@
|
||||
#include "model/DescribeInstanceBillResult.h"
|
||||
#include "model/DescribePricingModuleRequest.h"
|
||||
#include "model/DescribePricingModuleResult.h"
|
||||
#include "model/DescribeResourceCoverageDetailRequest.h"
|
||||
#include "model/DescribeResourceCoverageDetailResult.h"
|
||||
#include "model/DescribeResourceCoverageTotalRequest.h"
|
||||
#include "model/DescribeResourceCoverageTotalResult.h"
|
||||
#include "model/DescribeResourcePackageProductRequest.h"
|
||||
#include "model/DescribeResourcePackageProductResult.h"
|
||||
#include "model/DescribeResourceUsageDetailRequest.h"
|
||||
#include "model/DescribeResourceUsageDetailResult.h"
|
||||
#include "model/DescribeResourceUsageTotalRequest.h"
|
||||
#include "model/DescribeResourceUsageTotalResult.h"
|
||||
#include "model/DescribeSplitItemBillRequest.h"
|
||||
#include "model/DescribeSplitItemBillResult.h"
|
||||
#include "model/EnableBillGenerationRequest.h"
|
||||
@@ -66,6 +78,8 @@
|
||||
#include "model/GetResourcePackagePriceResult.h"
|
||||
#include "model/GetSubscriptionPriceRequest.h"
|
||||
#include "model/GetSubscriptionPriceResult.h"
|
||||
#include "model/ModifyAccountRelationRequest.h"
|
||||
#include "model/ModifyAccountRelationResult.h"
|
||||
#include "model/ModifyCostUnitRequest.h"
|
||||
#include "model/ModifyCostUnitResult.h"
|
||||
#include "model/ModifyInstanceRequest.h"
|
||||
@@ -94,6 +108,8 @@
|
||||
#include "model/QueryCostUnitResourceResult.h"
|
||||
#include "model/QueryCustomerAddressListRequest.h"
|
||||
#include "model/QueryCustomerAddressListResult.h"
|
||||
#include "model/QueryDPUtilizationDetailRequest.h"
|
||||
#include "model/QueryDPUtilizationDetailResult.h"
|
||||
#include "model/QueryEvaluateListRequest.h"
|
||||
#include "model/QueryEvaluateListResult.h"
|
||||
#include "model/QueryFinancialAccountInfoRequest.h"
|
||||
@@ -140,12 +156,16 @@
|
||||
#include "model/QuerySplitItemBillResult.h"
|
||||
#include "model/QueryUserOmsDataRequest.h"
|
||||
#include "model/QueryUserOmsDataResult.h"
|
||||
#include "model/RelieveAccountRelationRequest.h"
|
||||
#include "model/RelieveAccountRelationResult.h"
|
||||
#include "model/RenewInstanceRequest.h"
|
||||
#include "model/RenewInstanceResult.h"
|
||||
#include "model/RenewResourcePackageRequest.h"
|
||||
#include "model/RenewResourcePackageResult.h"
|
||||
#include "model/SaveUserCreditRequest.h"
|
||||
#include "model/SaveUserCreditResult.h"
|
||||
#include "model/SetAllExpirationDayRequest.h"
|
||||
#include "model/SetAllExpirationDayResult.h"
|
||||
#include "model/SetCreditLabelActionRequest.h"
|
||||
#include "model/SetCreditLabelActionResult.h"
|
||||
#include "model/SetRenewalRequest.h"
|
||||
@@ -175,6 +195,9 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT BssOpenApiClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AddAccountRelationResult> AddAccountRelationOutcome;
|
||||
typedef std::future<AddAccountRelationOutcome> AddAccountRelationOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::AddAccountRelationRequest&, const AddAccountRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddAccountRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::AllocateCostUnitResourceResult> AllocateCostUnitResourceOutcome;
|
||||
typedef std::future<AllocateCostUnitResourceOutcome> AllocateCostUnitResourceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::AllocateCostUnitResourceRequest&, const AllocateCostUnitResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateCostUnitResourceAsyncHandler;
|
||||
@@ -187,6 +210,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ChangeResellerConsumeAmountResult> ChangeResellerConsumeAmountOutcome;
|
||||
typedef std::future<ChangeResellerConsumeAmountOutcome> ChangeResellerConsumeAmountOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ChangeResellerConsumeAmountRequest&, const ChangeResellerConsumeAmountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResellerConsumeAmountAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfirmRelationResult> ConfirmRelationOutcome;
|
||||
typedef std::future<ConfirmRelationOutcome> ConfirmRelationOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ConfirmRelationRequest&, const ConfirmRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfirmRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConvertChargeTypeResult> ConvertChargeTypeOutcome;
|
||||
typedef std::future<ConvertChargeTypeOutcome> ConvertChargeTypeOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ConvertChargeTypeRequest&, const ConvertChargeTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConvertChargeTypeAsyncHandler;
|
||||
@@ -214,9 +240,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribePricingModuleResult> DescribePricingModuleOutcome;
|
||||
typedef std::future<DescribePricingModuleOutcome> DescribePricingModuleOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribePricingModuleRequest&, const DescribePricingModuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePricingModuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeResourceCoverageDetailResult> DescribeResourceCoverageDetailOutcome;
|
||||
typedef std::future<DescribeResourceCoverageDetailOutcome> DescribeResourceCoverageDetailOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourceCoverageDetailRequest&, const DescribeResourceCoverageDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceCoverageDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeResourceCoverageTotalResult> DescribeResourceCoverageTotalOutcome;
|
||||
typedef std::future<DescribeResourceCoverageTotalOutcome> DescribeResourceCoverageTotalOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourceCoverageTotalRequest&, const DescribeResourceCoverageTotalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceCoverageTotalAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeResourcePackageProductResult> DescribeResourcePackageProductOutcome;
|
||||
typedef std::future<DescribeResourcePackageProductOutcome> DescribeResourcePackageProductOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourcePackageProductRequest&, const DescribeResourcePackageProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourcePackageProductAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeResourceUsageDetailResult> DescribeResourceUsageDetailOutcome;
|
||||
typedef std::future<DescribeResourceUsageDetailOutcome> DescribeResourceUsageDetailOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourceUsageDetailRequest&, const DescribeResourceUsageDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceUsageDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeResourceUsageTotalResult> DescribeResourceUsageTotalOutcome;
|
||||
typedef std::future<DescribeResourceUsageTotalOutcome> DescribeResourceUsageTotalOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourceUsageTotalRequest&, const DescribeResourceUsageTotalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceUsageTotalAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSplitItemBillResult> DescribeSplitItemBillOutcome;
|
||||
typedef std::future<DescribeSplitItemBillOutcome> DescribeSplitItemBillOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeSplitItemBillRequest&, const DescribeSplitItemBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSplitItemBillAsyncHandler;
|
||||
@@ -241,6 +279,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetSubscriptionPriceResult> GetSubscriptionPriceOutcome;
|
||||
typedef std::future<GetSubscriptionPriceOutcome> GetSubscriptionPriceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::GetSubscriptionPriceRequest&, const GetSubscriptionPriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSubscriptionPriceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAccountRelationResult> ModifyAccountRelationOutcome;
|
||||
typedef std::future<ModifyAccountRelationOutcome> ModifyAccountRelationOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ModifyAccountRelationRequest&, const ModifyAccountRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyCostUnitResult> ModifyCostUnitOutcome;
|
||||
typedef std::future<ModifyCostUnitOutcome> ModifyCostUnitOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::ModifyCostUnitRequest&, const ModifyCostUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCostUnitAsyncHandler;
|
||||
@@ -283,6 +324,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryCustomerAddressListResult> QueryCustomerAddressListOutcome;
|
||||
typedef std::future<QueryCustomerAddressListOutcome> QueryCustomerAddressListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCustomerAddressListRequest&, const QueryCustomerAddressListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomerAddressListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryDPUtilizationDetailResult> QueryDPUtilizationDetailOutcome;
|
||||
typedef std::future<QueryDPUtilizationDetailOutcome> QueryDPUtilizationDetailOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryDPUtilizationDetailRequest&, const QueryDPUtilizationDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDPUtilizationDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryEvaluateListResult> QueryEvaluateListOutcome;
|
||||
typedef std::future<QueryEvaluateListOutcome> QueryEvaluateListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryEvaluateListRequest&, const QueryEvaluateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryEvaluateListAsyncHandler;
|
||||
@@ -352,6 +396,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryUserOmsDataResult> QueryUserOmsDataOutcome;
|
||||
typedef std::future<QueryUserOmsDataOutcome> QueryUserOmsDataOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryUserOmsDataRequest&, const QueryUserOmsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserOmsDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::RelieveAccountRelationResult> RelieveAccountRelationOutcome;
|
||||
typedef std::future<RelieveAccountRelationOutcome> RelieveAccountRelationOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::RelieveAccountRelationRequest&, const RelieveAccountRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RelieveAccountRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenewInstanceResult> RenewInstanceOutcome;
|
||||
typedef std::future<RenewInstanceOutcome> RenewInstanceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::RenewInstanceRequest&, const RenewInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewInstanceAsyncHandler;
|
||||
@@ -361,6 +408,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SaveUserCreditResult> SaveUserCreditOutcome;
|
||||
typedef std::future<SaveUserCreditOutcome> SaveUserCreditOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SaveUserCreditRequest&, const SaveUserCreditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveUserCreditAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetAllExpirationDayResult> SetAllExpirationDayOutcome;
|
||||
typedef std::future<SetAllExpirationDayOutcome> SetAllExpirationDayOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetAllExpirationDayRequest&, const SetAllExpirationDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetAllExpirationDayAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetCreditLabelActionResult> SetCreditLabelActionOutcome;
|
||||
typedef std::future<SetCreditLabelActionOutcome> SetCreditLabelActionOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetCreditLabelActionRequest&, const SetCreditLabelActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetCreditLabelActionAsyncHandler;
|
||||
@@ -396,6 +446,9 @@ namespace AlibabaCloud
|
||||
BssOpenApiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
BssOpenApiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~BssOpenApiClient();
|
||||
AddAccountRelationOutcome addAccountRelation(const Model::AddAccountRelationRequest &request)const;
|
||||
void addAccountRelationAsync(const Model::AddAccountRelationRequest& request, const AddAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddAccountRelationOutcomeCallable addAccountRelationCallable(const Model::AddAccountRelationRequest& request) const;
|
||||
AllocateCostUnitResourceOutcome allocateCostUnitResource(const Model::AllocateCostUnitResourceRequest &request)const;
|
||||
void allocateCostUnitResourceAsync(const Model::AllocateCostUnitResourceRequest& request, const AllocateCostUnitResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AllocateCostUnitResourceOutcomeCallable allocateCostUnitResourceCallable(const Model::AllocateCostUnitResourceRequest& request) const;
|
||||
@@ -408,6 +461,9 @@ namespace AlibabaCloud
|
||||
ChangeResellerConsumeAmountOutcome changeResellerConsumeAmount(const Model::ChangeResellerConsumeAmountRequest &request)const;
|
||||
void changeResellerConsumeAmountAsync(const Model::ChangeResellerConsumeAmountRequest& request, const ChangeResellerConsumeAmountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeResellerConsumeAmountOutcomeCallable changeResellerConsumeAmountCallable(const Model::ChangeResellerConsumeAmountRequest& request) const;
|
||||
ConfirmRelationOutcome confirmRelation(const Model::ConfirmRelationRequest &request)const;
|
||||
void confirmRelationAsync(const Model::ConfirmRelationRequest& request, const ConfirmRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfirmRelationOutcomeCallable confirmRelationCallable(const Model::ConfirmRelationRequest& request) const;
|
||||
ConvertChargeTypeOutcome convertChargeType(const Model::ConvertChargeTypeRequest &request)const;
|
||||
void convertChargeTypeAsync(const Model::ConvertChargeTypeRequest& request, const ConvertChargeTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConvertChargeTypeOutcomeCallable convertChargeTypeCallable(const Model::ConvertChargeTypeRequest& request) const;
|
||||
@@ -435,9 +491,21 @@ namespace AlibabaCloud
|
||||
DescribePricingModuleOutcome describePricingModule(const Model::DescribePricingModuleRequest &request)const;
|
||||
void describePricingModuleAsync(const Model::DescribePricingModuleRequest& request, const DescribePricingModuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePricingModuleOutcomeCallable describePricingModuleCallable(const Model::DescribePricingModuleRequest& request) const;
|
||||
DescribeResourceCoverageDetailOutcome describeResourceCoverageDetail(const Model::DescribeResourceCoverageDetailRequest &request)const;
|
||||
void describeResourceCoverageDetailAsync(const Model::DescribeResourceCoverageDetailRequest& request, const DescribeResourceCoverageDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeResourceCoverageDetailOutcomeCallable describeResourceCoverageDetailCallable(const Model::DescribeResourceCoverageDetailRequest& request) const;
|
||||
DescribeResourceCoverageTotalOutcome describeResourceCoverageTotal(const Model::DescribeResourceCoverageTotalRequest &request)const;
|
||||
void describeResourceCoverageTotalAsync(const Model::DescribeResourceCoverageTotalRequest& request, const DescribeResourceCoverageTotalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeResourceCoverageTotalOutcomeCallable describeResourceCoverageTotalCallable(const Model::DescribeResourceCoverageTotalRequest& request) const;
|
||||
DescribeResourcePackageProductOutcome describeResourcePackageProduct(const Model::DescribeResourcePackageProductRequest &request)const;
|
||||
void describeResourcePackageProductAsync(const Model::DescribeResourcePackageProductRequest& request, const DescribeResourcePackageProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeResourcePackageProductOutcomeCallable describeResourcePackageProductCallable(const Model::DescribeResourcePackageProductRequest& request) const;
|
||||
DescribeResourceUsageDetailOutcome describeResourceUsageDetail(const Model::DescribeResourceUsageDetailRequest &request)const;
|
||||
void describeResourceUsageDetailAsync(const Model::DescribeResourceUsageDetailRequest& request, const DescribeResourceUsageDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeResourceUsageDetailOutcomeCallable describeResourceUsageDetailCallable(const Model::DescribeResourceUsageDetailRequest& request) const;
|
||||
DescribeResourceUsageTotalOutcome describeResourceUsageTotal(const Model::DescribeResourceUsageTotalRequest &request)const;
|
||||
void describeResourceUsageTotalAsync(const Model::DescribeResourceUsageTotalRequest& request, const DescribeResourceUsageTotalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeResourceUsageTotalOutcomeCallable describeResourceUsageTotalCallable(const Model::DescribeResourceUsageTotalRequest& request) const;
|
||||
DescribeSplitItemBillOutcome describeSplitItemBill(const Model::DescribeSplitItemBillRequest &request)const;
|
||||
void describeSplitItemBillAsync(const Model::DescribeSplitItemBillRequest& request, const DescribeSplitItemBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSplitItemBillOutcomeCallable describeSplitItemBillCallable(const Model::DescribeSplitItemBillRequest& request) const;
|
||||
@@ -462,6 +530,9 @@ namespace AlibabaCloud
|
||||
GetSubscriptionPriceOutcome getSubscriptionPrice(const Model::GetSubscriptionPriceRequest &request)const;
|
||||
void getSubscriptionPriceAsync(const Model::GetSubscriptionPriceRequest& request, const GetSubscriptionPriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSubscriptionPriceOutcomeCallable getSubscriptionPriceCallable(const Model::GetSubscriptionPriceRequest& request) const;
|
||||
ModifyAccountRelationOutcome modifyAccountRelation(const Model::ModifyAccountRelationRequest &request)const;
|
||||
void modifyAccountRelationAsync(const Model::ModifyAccountRelationRequest& request, const ModifyAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAccountRelationOutcomeCallable modifyAccountRelationCallable(const Model::ModifyAccountRelationRequest& request) const;
|
||||
ModifyCostUnitOutcome modifyCostUnit(const Model::ModifyCostUnitRequest &request)const;
|
||||
void modifyCostUnitAsync(const Model::ModifyCostUnitRequest& request, const ModifyCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyCostUnitOutcomeCallable modifyCostUnitCallable(const Model::ModifyCostUnitRequest& request) const;
|
||||
@@ -504,6 +575,9 @@ namespace AlibabaCloud
|
||||
QueryCustomerAddressListOutcome queryCustomerAddressList(const Model::QueryCustomerAddressListRequest &request)const;
|
||||
void queryCustomerAddressListAsync(const Model::QueryCustomerAddressListRequest& request, const QueryCustomerAddressListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCustomerAddressListOutcomeCallable queryCustomerAddressListCallable(const Model::QueryCustomerAddressListRequest& request) const;
|
||||
QueryDPUtilizationDetailOutcome queryDPUtilizationDetail(const Model::QueryDPUtilizationDetailRequest &request)const;
|
||||
void queryDPUtilizationDetailAsync(const Model::QueryDPUtilizationDetailRequest& request, const QueryDPUtilizationDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryDPUtilizationDetailOutcomeCallable queryDPUtilizationDetailCallable(const Model::QueryDPUtilizationDetailRequest& request) const;
|
||||
QueryEvaluateListOutcome queryEvaluateList(const Model::QueryEvaluateListRequest &request)const;
|
||||
void queryEvaluateListAsync(const Model::QueryEvaluateListRequest& request, const QueryEvaluateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryEvaluateListOutcomeCallable queryEvaluateListCallable(const Model::QueryEvaluateListRequest& request) const;
|
||||
@@ -573,6 +647,9 @@ namespace AlibabaCloud
|
||||
QueryUserOmsDataOutcome queryUserOmsData(const Model::QueryUserOmsDataRequest &request)const;
|
||||
void queryUserOmsDataAsync(const Model::QueryUserOmsDataRequest& request, const QueryUserOmsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryUserOmsDataOutcomeCallable queryUserOmsDataCallable(const Model::QueryUserOmsDataRequest& request) const;
|
||||
RelieveAccountRelationOutcome relieveAccountRelation(const Model::RelieveAccountRelationRequest &request)const;
|
||||
void relieveAccountRelationAsync(const Model::RelieveAccountRelationRequest& request, const RelieveAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RelieveAccountRelationOutcomeCallable relieveAccountRelationCallable(const Model::RelieveAccountRelationRequest& request) const;
|
||||
RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const;
|
||||
void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const;
|
||||
@@ -582,6 +659,9 @@ namespace AlibabaCloud
|
||||
SaveUserCreditOutcome saveUserCredit(const Model::SaveUserCreditRequest &request)const;
|
||||
void saveUserCreditAsync(const Model::SaveUserCreditRequest& request, const SaveUserCreditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SaveUserCreditOutcomeCallable saveUserCreditCallable(const Model::SaveUserCreditRequest& request) const;
|
||||
SetAllExpirationDayOutcome setAllExpirationDay(const Model::SetAllExpirationDayRequest &request)const;
|
||||
void setAllExpirationDayAsync(const Model::SetAllExpirationDayRequest& request, const SetAllExpirationDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetAllExpirationDayOutcomeCallable setAllExpirationDayCallable(const Model::SetAllExpirationDayRequest& request) const;
|
||||
SetCreditLabelActionOutcome setCreditLabelAction(const Model::SetCreditLabelActionRequest &request)const;
|
||||
void setCreditLabelActionAsync(const Model::SetCreditLabelActionRequest& request, const SetCreditLabelActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetCreditLabelActionOutcomeCallable setCreditLabelActionCallable(const Model::SetCreditLabelActionRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT AddAccountRelationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddAccountRelationRequest();
|
||||
~AddAccountRelationRequest();
|
||||
|
||||
std::string getChildNick()const;
|
||||
void setChildNick(const std::string& childNick);
|
||||
std::string getRelationType()const;
|
||||
void setRelationType(const std::string& relationType);
|
||||
long getParentUserId()const;
|
||||
void setParentUserId(long parentUserId);
|
||||
long getChildUserId()const;
|
||||
void setChildUserId(long childUserId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::vector<std::string> getPermissionCodes()const;
|
||||
void setPermissionCodes(const std::vector<std::string>& permissionCodes);
|
||||
std::vector<std::string> getRoleCodes()const;
|
||||
void setRoleCodes(const std::vector<std::string>& roleCodes);
|
||||
|
||||
private:
|
||||
std::string childNick_;
|
||||
std::string relationType_;
|
||||
long parentUserId_;
|
||||
long childUserId_;
|
||||
std::string requestId_;
|
||||
std::vector<std::string> permissionCodes_;
|
||||
std::vector<std::string> roleCodes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_
|
||||
@@ -14,34 +14,35 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFRESULT_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DeletePlanogramShelfResult : public ServiceResult
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT AddAccountRelationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string hostId;
|
||||
};
|
||||
|
||||
|
||||
DeletePlanogramShelfResult();
|
||||
explicit DeletePlanogramShelfResult(const std::string &payload);
|
||||
~DeletePlanogramShelfResult();
|
||||
AddAccountRelationResult();
|
||||
explicit AddAccountRelationResult(const std::string &payload);
|
||||
~AddAccountRelationResult();
|
||||
std::string getMessage()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrorMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -49,10 +50,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string dynamicCode_;
|
||||
std::string errorCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorMessage_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -60,4 +58,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFRESULT_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONRESULT_H_
|
||||
@@ -53,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setCustomerId(long customerId);
|
||||
std::vector<long> getSelectedIds()const;
|
||||
void setSelectedIds(const std::vector<long>& selectedIds);
|
||||
std::string getUserRemark()const;
|
||||
void setUserRemark(const std::string& userRemark);
|
||||
|
||||
private:
|
||||
int invoicingType_;
|
||||
@@ -64,6 +66,7 @@ namespace AlibabaCloud
|
||||
bool invoiceByAmount_;
|
||||
long customerId_;
|
||||
std::vector<long> selectedIds_;
|
||||
std::string userRemark_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT ConfirmRelationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConfirmRelationRequest();
|
||||
~ConfirmRelationRequest();
|
||||
|
||||
std::string getRelationType()const;
|
||||
void setRelationType(const std::string& relationType);
|
||||
long getParentUserId()const;
|
||||
void setParentUserId(long parentUserId);
|
||||
std::string getConfirmCode()const;
|
||||
void setConfirmCode(const std::string& confirmCode);
|
||||
long getChildUserId()const;
|
||||
void setChildUserId(long childUserId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::vector<std::string> getPermissionCodes()const;
|
||||
void setPermissionCodes(const std::vector<std::string>& permissionCodes);
|
||||
|
||||
private:
|
||||
std::string relationType_;
|
||||
long parentUserId_;
|
||||
std::string confirmCode_;
|
||||
long childUserId_;
|
||||
std::string requestId_;
|
||||
std::vector<std::string> permissionCodes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_
|
||||
@@ -14,34 +14,35 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEROLEACTIONSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEROLEACTIONSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteRoleActionsResult : public ServiceResult
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT ConfirmRelationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string hostId;
|
||||
};
|
||||
|
||||
|
||||
DeleteRoleActionsResult();
|
||||
explicit DeleteRoleActionsResult(const std::string &payload);
|
||||
~DeleteRoleActionsResult();
|
||||
ConfirmRelationResult();
|
||||
explicit ConfirmRelationResult(const std::string &payload);
|
||||
~ConfirmRelationResult();
|
||||
std::string getMessage()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrorMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -49,10 +50,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string dynamicCode_;
|
||||
std::string errorCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorMessage_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -60,4 +58,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEROLEACTIONSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONRESULT_H_
|
||||
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
||||
std::string instanceSpec;
|
||||
std::string productName;
|
||||
std::string instanceID;
|
||||
std::string billAccountID;
|
||||
float deductedByCashCoupons;
|
||||
std::string listPriceUnit;
|
||||
std::string billingDate;
|
||||
@@ -62,6 +63,7 @@ namespace AlibabaCloud
|
||||
std::string zone;
|
||||
std::string productType;
|
||||
float outstandingAmount;
|
||||
std::string bizType;
|
||||
std::string billingItem;
|
||||
std::string nickName;
|
||||
std::string intranetIP;
|
||||
@@ -74,6 +76,7 @@ namespace AlibabaCloud
|
||||
float pretaxAmount;
|
||||
std::string internetIP;
|
||||
std::string region;
|
||||
std::string billAccountName;
|
||||
std::string tag;
|
||||
};
|
||||
std::string billingCycle;
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceCoverageDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeResourceCoverageDetailRequest();
|
||||
~DescribeResourceCoverageDetailRequest();
|
||||
|
||||
std::string getPeriodType()const;
|
||||
void setPeriodType(const std::string& periodType);
|
||||
long getBillOwnerId()const;
|
||||
void setBillOwnerId(long billOwnerId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getStartPeriod()const;
|
||||
void setStartPeriod(const std::string& startPeriod);
|
||||
std::string getEndPeriod()const;
|
||||
void setEndPeriod(const std::string& endPeriod);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
std::string periodType_;
|
||||
long billOwnerId_;
|
||||
std::string resourceType_;
|
||||
std::string startPeriod_;
|
||||
std::string endPeriod_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILREQUEST_H_
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* 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_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceCoverageDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Item
|
||||
{
|
||||
std::string regionNo;
|
||||
std::string userName;
|
||||
std::string instanceSpec;
|
||||
std::string productName;
|
||||
std::string endTime;
|
||||
std::string productCode;
|
||||
std::string instanceId;
|
||||
std::string capacityUnit;
|
||||
std::string zone;
|
||||
std::string startTime;
|
||||
float paymentAmount;
|
||||
std::string zoneName;
|
||||
float totalQuantity;
|
||||
std::string userId;
|
||||
std::string currency;
|
||||
std::string commodityCode;
|
||||
std::string region;
|
||||
float coveragePercentage;
|
||||
std::string commodityName;
|
||||
float deductQuantity;
|
||||
};
|
||||
int totalCount;
|
||||
std::string nextToken;
|
||||
int maxResults;
|
||||
std::vector<Item> items;
|
||||
};
|
||||
|
||||
|
||||
DescribeResourceCoverageDetailResult();
|
||||
explicit DescribeResourceCoverageDetailResult(const std::string &payload);
|
||||
~DescribeResourceCoverageDetailResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILRESULT_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_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceCoverageTotalRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeResourceCoverageTotalRequest();
|
||||
~DescribeResourceCoverageTotalRequest();
|
||||
|
||||
std::string getPeriodType()const;
|
||||
void setPeriodType(const std::string& periodType);
|
||||
long getBillOwnerId()const;
|
||||
void setBillOwnerId(long billOwnerId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getStartPeriod()const;
|
||||
void setStartPeriod(const std::string& startPeriod);
|
||||
std::string getEndPeriod()const;
|
||||
void setEndPeriod(const std::string& endPeriod);
|
||||
|
||||
private:
|
||||
std::string periodType_;
|
||||
long billOwnerId_;
|
||||
std::string resourceType_;
|
||||
std::string startPeriod_;
|
||||
std::string endPeriod_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* 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_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceCoverageTotalResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct TotalCoverage
|
||||
{
|
||||
float totalQuantity;
|
||||
std::string capacityUnit;
|
||||
float coveragePercentage;
|
||||
float deductQuantity;
|
||||
};
|
||||
struct Item
|
||||
{
|
||||
std::string period;
|
||||
float coveragePercentage;
|
||||
};
|
||||
std::vector<Item> periodCoverage;
|
||||
TotalCoverage totalCoverage;
|
||||
};
|
||||
|
||||
|
||||
DescribeResourceCoverageTotalResult();
|
||||
explicit DescribeResourceCoverageTotalResult(const std::string &payload);
|
||||
~DescribeResourceCoverageTotalResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceUsageDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeResourceUsageDetailRequest();
|
||||
~DescribeResourceUsageDetailRequest();
|
||||
|
||||
std::string getPeriodType()const;
|
||||
void setPeriodType(const std::string& periodType);
|
||||
long getBillOwnerId()const;
|
||||
void setBillOwnerId(long billOwnerId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getStartPeriod()const;
|
||||
void setStartPeriod(const std::string& startPeriod);
|
||||
std::string getEndPeriod()const;
|
||||
void setEndPeriod(const std::string& endPeriod);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
std::string periodType_;
|
||||
long billOwnerId_;
|
||||
std::string resourceType_;
|
||||
std::string startPeriod_;
|
||||
std::string endPeriod_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILREQUEST_H_
|
||||
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceUsageDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Item
|
||||
{
|
||||
std::string status;
|
||||
std::string regionNo;
|
||||
std::string postpaidCost;
|
||||
std::string userName;
|
||||
std::string instanceSpec;
|
||||
std::string endTime;
|
||||
std::string capacityUnit;
|
||||
std::string zone;
|
||||
std::string startTime;
|
||||
std::string savedCost;
|
||||
long quantity;
|
||||
std::string statusName;
|
||||
float usagePercentage;
|
||||
std::string imageType;
|
||||
std::string reservationCost;
|
||||
std::string zoneName;
|
||||
float totalQuantity;
|
||||
std::string userId;
|
||||
std::string currency;
|
||||
std::string region;
|
||||
std::string potentialSavedCost;
|
||||
std::string resourceInstanceId;
|
||||
float deductQuantity;
|
||||
};
|
||||
int totalCount;
|
||||
std::string nextToken;
|
||||
int maxResults;
|
||||
std::vector<Item> items;
|
||||
};
|
||||
|
||||
|
||||
DescribeResourceUsageDetailResult();
|
||||
explicit DescribeResourceUsageDetailResult(const std::string &payload);
|
||||
~DescribeResourceUsageDetailResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILRESULT_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_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceUsageTotalRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeResourceUsageTotalRequest();
|
||||
~DescribeResourceUsageTotalRequest();
|
||||
|
||||
std::string getPeriodType()const;
|
||||
void setPeriodType(const std::string& periodType);
|
||||
long getBillOwnerId()const;
|
||||
void setBillOwnerId(long billOwnerId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getStartPeriod()const;
|
||||
void setStartPeriod(const std::string& startPeriod);
|
||||
std::string getEndPeriod()const;
|
||||
void setEndPeriod(const std::string& endPeriod);
|
||||
|
||||
private:
|
||||
std::string periodType_;
|
||||
long billOwnerId_;
|
||||
std::string resourceType_;
|
||||
std::string startPeriod_;
|
||||
std::string endPeriod_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALREQUEST_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_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceUsageTotalResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct TotalUsage
|
||||
{
|
||||
float reservationCost;
|
||||
float postpaidCost;
|
||||
float savedCost;
|
||||
float potentialSavedCost;
|
||||
float usagePercentage;
|
||||
};
|
||||
struct Item
|
||||
{
|
||||
std::string period;
|
||||
float usagePercentage;
|
||||
};
|
||||
TotalUsage totalUsage;
|
||||
std::vector<Item> periodCoverage;
|
||||
};
|
||||
|
||||
|
||||
DescribeResourceUsageTotalResult();
|
||||
explicit DescribeResourceUsageTotalResult(const std::string &payload);
|
||||
~DescribeResourceUsageTotalResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALRESULT_H_
|
||||
@@ -41,40 +41,46 @@ namespace AlibabaCloud
|
||||
DescribeSplitItemBillRequest();
|
||||
~DescribeSplitItemBillRequest();
|
||||
|
||||
std::string getSplitItemID()const;
|
||||
void setSplitItemID(const std::string& splitItemID);
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
long getBillOwnerId()const;
|
||||
void setBillOwnerId(long billOwnerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getSplitItemID()const;
|
||||
void setSplitItemID(const std::string& splitItemID);
|
||||
std::string getBillingCycle()const;
|
||||
void setBillingCycle(const std::string& billingCycle);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getBillOwnerId()const;
|
||||
void setBillOwnerId(long billOwnerId);
|
||||
std::vector<TagFilter> getTagFilter()const;
|
||||
void setTagFilter(const std::vector<TagFilter>& tagFilter);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
std::string getBillingDate()const;
|
||||
void setBillingDate(const std::string& billingDate);
|
||||
std::string getInstanceID()const;
|
||||
void setInstanceID(const std::string& instanceID);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getGranularity()const;
|
||||
void setGranularity(const std::string& granularity);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
std::string splitItemID_;
|
||||
std::string productCode_;
|
||||
std::string subscriptionType_;
|
||||
long billOwnerId_;
|
||||
std::string productType_;
|
||||
std::string nextToken_;
|
||||
std::string splitItemID_;
|
||||
std::string billingCycle_;
|
||||
long ownerId_;
|
||||
long billOwnerId_;
|
||||
std::vector<TagFilter> tagFilter_;
|
||||
std::string productType_;
|
||||
std::string billingDate_;
|
||||
std::string instanceID_;
|
||||
std::string nextToken_;
|
||||
std::string granularity_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
|
||||
@@ -36,51 +36,55 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Item
|
||||
{
|
||||
std::string instanceSpec;
|
||||
std::string productName;
|
||||
std::string instanceID;
|
||||
std::string billAccountID;
|
||||
std::string splitCommodityCode;
|
||||
float deductedByCashCoupons;
|
||||
std::string listPriceUnit;
|
||||
std::string billingDate;
|
||||
std::string listPrice;
|
||||
float paymentAmount;
|
||||
float deductedByPrepaidCard;
|
||||
float invoiceDiscount;
|
||||
std::string splitItemName;
|
||||
std::string splitProductDetail;
|
||||
std::string subscriptionType;
|
||||
std::string item;
|
||||
float pretaxGrossAmount;
|
||||
std::string instanceConfig;
|
||||
std::string splitBillingDate;
|
||||
std::string currency;
|
||||
std::string commodityCode;
|
||||
std::string costUnit;
|
||||
float deductedByCoupons;
|
||||
std::string productCode;
|
||||
std::string productType;
|
||||
float outstandingAmount;
|
||||
std::string bizType;
|
||||
std::string nickName;
|
||||
std::string intranetIP;
|
||||
std::string servicePeriodUnit;
|
||||
std::string servicePeriod;
|
||||
std::string usageUnit;
|
||||
std::string ownerID;
|
||||
std::string internetIP;
|
||||
std::string region;
|
||||
std::string instanceSpec;
|
||||
float deductedByCashCoupons;
|
||||
std::string listPriceUnit;
|
||||
std::string billingDate;
|
||||
float invoiceDiscount;
|
||||
std::string splitProductDetail;
|
||||
float pretaxGrossAmount;
|
||||
std::string commodityCode;
|
||||
std::string resourceGroup;
|
||||
std::string billingType;
|
||||
std::string splitAccountName;
|
||||
std::string usage;
|
||||
float deductedByCoupons;
|
||||
std::string splitAccountID;
|
||||
std::string productDetail;
|
||||
std::string productCode;
|
||||
std::string zone;
|
||||
std::string productType;
|
||||
float outstandingAmount;
|
||||
std::string billingItem;
|
||||
std::string nickName;
|
||||
std::string intranetIP;
|
||||
std::string pipCode;
|
||||
std::string servicePeriodUnit;
|
||||
std::string servicePeriod;
|
||||
std::string splitItemID;
|
||||
std::string deductedByResourcePackage;
|
||||
std::string splitBillingCycle;
|
||||
std::string usageUnit;
|
||||
std::string ownerID;
|
||||
float pretaxAmount;
|
||||
std::string internetIP;
|
||||
std::string region;
|
||||
std::string billAccountName;
|
||||
std::string tag;
|
||||
};
|
||||
std::string billingCycle;
|
||||
|
||||
@@ -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_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT ModifyAccountRelationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyAccountRelationRequest();
|
||||
~ModifyAccountRelationRequest();
|
||||
|
||||
std::string getChildNick()const;
|
||||
void setChildNick(const std::string& childNick);
|
||||
std::string getRelationOperation()const;
|
||||
void setRelationOperation(const std::string& relationOperation);
|
||||
std::string getRelationType()const;
|
||||
void setRelationType(const std::string& relationType);
|
||||
long getParentUserId()const;
|
||||
void setParentUserId(long parentUserId);
|
||||
long getChildUserId()const;
|
||||
void setChildUserId(long childUserId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::vector<std::string> getPermissionCodes()const;
|
||||
void setPermissionCodes(const std::vector<std::string>& permissionCodes);
|
||||
std::vector<std::string> getRoleCodes()const;
|
||||
void setRoleCodes(const std::vector<std::string>& roleCodes);
|
||||
|
||||
private:
|
||||
std::string childNick_;
|
||||
std::string relationOperation_;
|
||||
std::string relationType_;
|
||||
long parentUserId_;
|
||||
long childUserId_;
|
||||
std::string requestId_;
|
||||
std::vector<std::string> permissionCodes_;
|
||||
std::vector<std::string> roleCodes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONREQUEST_H_
|
||||
@@ -14,34 +14,35 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILRESULT_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DissociatePlanogramRailResult : public ServiceResult
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT ModifyAccountRelationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string hostId;
|
||||
};
|
||||
|
||||
|
||||
DissociatePlanogramRailResult();
|
||||
explicit DissociatePlanogramRailResult(const std::string &payload);
|
||||
~DissociatePlanogramRailResult();
|
||||
ModifyAccountRelationResult();
|
||||
explicit ModifyAccountRelationResult(const std::string &payload);
|
||||
~ModifyAccountRelationResult();
|
||||
std::string getMessage()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrorMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -49,10 +50,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string dynamicCode_;
|
||||
std::string errorCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorMessage_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -60,4 +58,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILRESULT_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONRESULT_H_
|
||||
@@ -40,8 +40,10 @@ namespace AlibabaCloud
|
||||
std::string ownerName;
|
||||
std::string productName;
|
||||
std::string productCode;
|
||||
std::string billAccountID;
|
||||
float deductedByCashCoupons;
|
||||
float outstandingAmount;
|
||||
std::string bizType;
|
||||
std::string billingDate;
|
||||
float paymentAmount;
|
||||
float deductedByPrepaidCard;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string ownerID;
|
||||
float pretaxAmount;
|
||||
std::string currency;
|
||||
std::string billAccountName;
|
||||
std::string costUnit;
|
||||
};
|
||||
std::string billingCycle;
|
||||
|
||||
@@ -36,27 +36,31 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Item
|
||||
{
|
||||
float deductedByCoupons;
|
||||
float afterTaxAmount;
|
||||
std::string roundDownDiscount;
|
||||
std::string productName;
|
||||
std::string productDetail;
|
||||
std::string productCode;
|
||||
std::string productType;
|
||||
float outstandingAmount;
|
||||
std::string billAccountID;
|
||||
float deductedByCashCoupons;
|
||||
float tax;
|
||||
std::string paymentCurrency;
|
||||
float paymentAmount;
|
||||
float deductedByPrepaidCard;
|
||||
std::string pipCode;
|
||||
float invoiceDiscount;
|
||||
std::string item;
|
||||
std::string subscriptionType;
|
||||
float pretaxGrossAmount;
|
||||
float pretaxAmount;
|
||||
std::string currency;
|
||||
std::string commodityCode;
|
||||
float deductedByCoupons;
|
||||
std::string roundDownDiscount;
|
||||
std::string productDetail;
|
||||
std::string productCode;
|
||||
std::string productType;
|
||||
float outstandingAmount;
|
||||
std::string bizType;
|
||||
std::string pipCode;
|
||||
float pretaxAmount;
|
||||
std::string ownerID;
|
||||
std::string billAccountName;
|
||||
float pretaxAmountLocal;
|
||||
};
|
||||
std::string billingCycle;
|
||||
|
||||
@@ -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_BSSOPENAPI_MODEL_QUERYDPUTILIZATIONDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYDPUTILIZATIONDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryDPUtilizationDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryDPUtilizationDetailRequest();
|
||||
~QueryDPUtilizationDetailRequest();
|
||||
|
||||
std::string getDeductedInstanceId()const;
|
||||
void setDeductedInstanceId(const std::string& deductedInstanceId);
|
||||
std::string getLastToken()const;
|
||||
void setLastToken(const std::string& lastToken);
|
||||
std::string getInstanceSpec()const;
|
||||
void setInstanceSpec(const std::string& instanceSpec);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
bool getIncludeShare()const;
|
||||
void setIncludeShare(bool includeShare);
|
||||
std::string getCommodityCode()const;
|
||||
void setCommodityCode(const std::string& commodityCode);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getLimit()const;
|
||||
void setLimit(int limit);
|
||||
|
||||
private:
|
||||
std::string deductedInstanceId_;
|
||||
std::string lastToken_;
|
||||
std::string instanceSpec_;
|
||||
std::string endTime_;
|
||||
bool includeShare_;
|
||||
std::string commodityCode_;
|
||||
std::string startTime_;
|
||||
std::string instanceId_;
|
||||
int limit_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYDPUTILIZATIONDETAILREQUEST_H_
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYDPUTILIZATIONDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYDPUTILIZATIONDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryDPUtilizationDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct DetailListItem
|
||||
{
|
||||
std::string resCode;
|
||||
std::string instanceSpec;
|
||||
std::string instanceId;
|
||||
float deductFactorTotal;
|
||||
std::string deductedProductDetail;
|
||||
std::string deductedCommodityCode;
|
||||
float deductHours;
|
||||
long uid;
|
||||
std::string deductDate;
|
||||
float deductMeasure;
|
||||
long shareUid;
|
||||
std::string region;
|
||||
std::string deductedInstanceId;
|
||||
float deductQuantity;
|
||||
};
|
||||
std::string nextToken;
|
||||
std::vector<DetailListItem> detailList;
|
||||
};
|
||||
|
||||
|
||||
QueryDPUtilizationDetailResult();
|
||||
explicit QueryDPUtilizationDetailResult(const std::string &payload);
|
||||
~QueryDPUtilizationDetailResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYDPUTILIZATIONDETAILRESULT_H_
|
||||
@@ -30,6 +30,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QuerySavingsPlansInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
QuerySavingsPlansInstanceRequest();
|
||||
@@ -47,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
@@ -55,6 +63,7 @@ namespace AlibabaCloud
|
||||
int pageNum_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,7 +36,13 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct SavingsPlansDetailResponse
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string status;
|
||||
std::string allocationStatus;
|
||||
std::string endTime;
|
||||
std::string instanceId;
|
||||
std::string instanceFamily;
|
||||
@@ -48,7 +54,7 @@ namespace AlibabaCloud
|
||||
std::string currency;
|
||||
std::string poolValue;
|
||||
std::string region;
|
||||
bool share;
|
||||
std::vector<SavingsPlansDetailResponse::Tag> tags;
|
||||
std::string savingsType;
|
||||
};
|
||||
int totalCount;
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
||||
float afterTaxAmount;
|
||||
std::string productName;
|
||||
std::string subOrderId;
|
||||
std::string billAccountID;
|
||||
float deductedByCashCoupons;
|
||||
std::string paymentTime;
|
||||
float tax;
|
||||
@@ -61,9 +62,11 @@ namespace AlibabaCloud
|
||||
std::string productCode;
|
||||
std::string productType;
|
||||
float outstandingAmount;
|
||||
std::string bizType;
|
||||
std::string pipCode;
|
||||
std::string ownerID;
|
||||
float pretaxAmount;
|
||||
std::string billAccountName;
|
||||
std::string recordID;
|
||||
float pretaxAmountLocal;
|
||||
};
|
||||
|
||||
@@ -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_BSSOPENAPI_MODEL_RELIEVEACCOUNTRELATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_RELIEVEACCOUNTRELATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT RelieveAccountRelationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RelieveAccountRelationRequest();
|
||||
~RelieveAccountRelationRequest();
|
||||
|
||||
std::string getRelationType()const;
|
||||
void setRelationType(const std::string& relationType);
|
||||
long getParentUserId()const;
|
||||
void setParentUserId(long parentUserId);
|
||||
long getChildUserId()const;
|
||||
void setChildUserId(long childUserId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
std::string relationType_;
|
||||
long parentUserId_;
|
||||
long childUserId_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_RELIEVEACCOUNTRELATIONREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_RELIEVEACCOUNTRELATIONRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_RELIEVEACCOUNTRELATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT RelieveAccountRelationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string hostId;
|
||||
};
|
||||
|
||||
|
||||
RelieveAccountRelationResult();
|
||||
explicit RelieveAccountRelationResult(const std::string &payload);
|
||||
~RelieveAccountRelationResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_RELIEVEACCOUNTRELATIONRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SETALLEXPIRATIONDAYREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETALLEXPIRATIONDAYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT SetAllExpirationDayRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SetAllExpirationDayRequest();
|
||||
~SetAllExpirationDayRequest();
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getUnifyExpireDay()const;
|
||||
void setUnifyExpireDay(const std::string& unifyExpireDay);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
std::string unifyExpireDay_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETALLEXPIRATIONDAYREQUEST_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_BSSOPENAPI_MODEL_SETALLEXPIRATIONDAYRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETALLEXPIRATIONDAYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT SetAllExpirationDayResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetAllExpirationDayResult();
|
||||
explicit SetAllExpirationDayResult(const std::string &payload);
|
||||
~SetAllExpirationDayResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETALLEXPIRATIONDAYRESULT_H_
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setSubscribeType(const std::string& subscribeType);
|
||||
std::string getSubscribeBucket()const;
|
||||
void setSubscribeBucket(const std::string& subscribeBucket);
|
||||
std::string getBeginBillingCycle()const;
|
||||
void setBeginBillingCycle(const std::string& beginBillingCycle);
|
||||
std::string getMultAccountRelSubscribe()const;
|
||||
void setMultAccountRelSubscribe(const std::string& multAccountRelSubscribe);
|
||||
|
||||
@@ -48,6 +50,7 @@ namespace AlibabaCloud
|
||||
long bucketOwnerId_;
|
||||
std::string subscribeType_;
|
||||
std::string subscribeBucket_;
|
||||
std::string beginBillingCycle_;
|
||||
std::string multAccountRelSubscribe_;
|
||||
|
||||
};
|
||||
|
||||
@@ -51,6 +51,42 @@ BssOpenApiClient::BssOpenApiClient(const std::string & accessKeyId, const std::s
|
||||
BssOpenApiClient::~BssOpenApiClient()
|
||||
{}
|
||||
|
||||
BssOpenApiClient::AddAccountRelationOutcome BssOpenApiClient::addAccountRelation(const AddAccountRelationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddAccountRelationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddAccountRelationOutcome(AddAccountRelationResult(outcome.result()));
|
||||
else
|
||||
return AddAccountRelationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::addAccountRelationAsync(const AddAccountRelationRequest& request, const AddAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addAccountRelation(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::AddAccountRelationOutcomeCallable BssOpenApiClient::addAccountRelationCallable(const AddAccountRelationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddAccountRelationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addAccountRelation(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::AllocateCostUnitResourceOutcome BssOpenApiClient::allocateCostUnitResource(const AllocateCostUnitResourceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -195,6 +231,42 @@ BssOpenApiClient::ChangeResellerConsumeAmountOutcomeCallable BssOpenApiClient::c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::ConfirmRelationOutcome BssOpenApiClient::confirmRelation(const ConfirmRelationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ConfirmRelationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ConfirmRelationOutcome(ConfirmRelationResult(outcome.result()));
|
||||
else
|
||||
return ConfirmRelationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::confirmRelationAsync(const ConfirmRelationRequest& request, const ConfirmRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, confirmRelation(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::ConfirmRelationOutcomeCallable BssOpenApiClient::confirmRelationCallable(const ConfirmRelationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ConfirmRelationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->confirmRelation(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::ConvertChargeTypeOutcome BssOpenApiClient::convertChargeType(const ConvertChargeTypeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -519,6 +591,78 @@ BssOpenApiClient::DescribePricingModuleOutcomeCallable BssOpenApiClient::describ
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeResourceCoverageDetailOutcome BssOpenApiClient::describeResourceCoverageDetail(const DescribeResourceCoverageDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeResourceCoverageDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeResourceCoverageDetailOutcome(DescribeResourceCoverageDetailResult(outcome.result()));
|
||||
else
|
||||
return DescribeResourceCoverageDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::describeResourceCoverageDetailAsync(const DescribeResourceCoverageDetailRequest& request, const DescribeResourceCoverageDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeResourceCoverageDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeResourceCoverageDetailOutcomeCallable BssOpenApiClient::describeResourceCoverageDetailCallable(const DescribeResourceCoverageDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeResourceCoverageDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeResourceCoverageDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeResourceCoverageTotalOutcome BssOpenApiClient::describeResourceCoverageTotal(const DescribeResourceCoverageTotalRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeResourceCoverageTotalOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeResourceCoverageTotalOutcome(DescribeResourceCoverageTotalResult(outcome.result()));
|
||||
else
|
||||
return DescribeResourceCoverageTotalOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::describeResourceCoverageTotalAsync(const DescribeResourceCoverageTotalRequest& request, const DescribeResourceCoverageTotalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeResourceCoverageTotal(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeResourceCoverageTotalOutcomeCallable BssOpenApiClient::describeResourceCoverageTotalCallable(const DescribeResourceCoverageTotalRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeResourceCoverageTotalOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeResourceCoverageTotal(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeResourcePackageProductOutcome BssOpenApiClient::describeResourcePackageProduct(const DescribeResourcePackageProductRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -555,6 +699,78 @@ BssOpenApiClient::DescribeResourcePackageProductOutcomeCallable BssOpenApiClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeResourceUsageDetailOutcome BssOpenApiClient::describeResourceUsageDetail(const DescribeResourceUsageDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeResourceUsageDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeResourceUsageDetailOutcome(DescribeResourceUsageDetailResult(outcome.result()));
|
||||
else
|
||||
return DescribeResourceUsageDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::describeResourceUsageDetailAsync(const DescribeResourceUsageDetailRequest& request, const DescribeResourceUsageDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeResourceUsageDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeResourceUsageDetailOutcomeCallable BssOpenApiClient::describeResourceUsageDetailCallable(const DescribeResourceUsageDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeResourceUsageDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeResourceUsageDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeResourceUsageTotalOutcome BssOpenApiClient::describeResourceUsageTotal(const DescribeResourceUsageTotalRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeResourceUsageTotalOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeResourceUsageTotalOutcome(DescribeResourceUsageTotalResult(outcome.result()));
|
||||
else
|
||||
return DescribeResourceUsageTotalOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::describeResourceUsageTotalAsync(const DescribeResourceUsageTotalRequest& request, const DescribeResourceUsageTotalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeResourceUsageTotal(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeResourceUsageTotalOutcomeCallable BssOpenApiClient::describeResourceUsageTotalCallable(const DescribeResourceUsageTotalRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeResourceUsageTotalOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeResourceUsageTotal(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeSplitItemBillOutcome BssOpenApiClient::describeSplitItemBill(const DescribeSplitItemBillRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -843,6 +1059,42 @@ BssOpenApiClient::GetSubscriptionPriceOutcomeCallable BssOpenApiClient::getSubsc
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::ModifyAccountRelationOutcome BssOpenApiClient::modifyAccountRelation(const ModifyAccountRelationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyAccountRelationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyAccountRelationOutcome(ModifyAccountRelationResult(outcome.result()));
|
||||
else
|
||||
return ModifyAccountRelationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::modifyAccountRelationAsync(const ModifyAccountRelationRequest& request, const ModifyAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyAccountRelation(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::ModifyAccountRelationOutcomeCallable BssOpenApiClient::modifyAccountRelationCallable(const ModifyAccountRelationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyAccountRelationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyAccountRelation(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::ModifyCostUnitOutcome BssOpenApiClient::modifyCostUnit(const ModifyCostUnitRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1347,6 +1599,42 @@ BssOpenApiClient::QueryCustomerAddressListOutcomeCallable BssOpenApiClient::quer
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryDPUtilizationDetailOutcome BssOpenApiClient::queryDPUtilizationDetail(const QueryDPUtilizationDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryDPUtilizationDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryDPUtilizationDetailOutcome(QueryDPUtilizationDetailResult(outcome.result()));
|
||||
else
|
||||
return QueryDPUtilizationDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::queryDPUtilizationDetailAsync(const QueryDPUtilizationDetailRequest& request, const QueryDPUtilizationDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryDPUtilizationDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryDPUtilizationDetailOutcomeCallable BssOpenApiClient::queryDPUtilizationDetailCallable(const QueryDPUtilizationDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryDPUtilizationDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryDPUtilizationDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryEvaluateListOutcome BssOpenApiClient::queryEvaluateList(const QueryEvaluateListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2175,6 +2463,42 @@ BssOpenApiClient::QueryUserOmsDataOutcomeCallable BssOpenApiClient::queryUserOms
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::RelieveAccountRelationOutcome BssOpenApiClient::relieveAccountRelation(const RelieveAccountRelationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RelieveAccountRelationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RelieveAccountRelationOutcome(RelieveAccountRelationResult(outcome.result()));
|
||||
else
|
||||
return RelieveAccountRelationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::relieveAccountRelationAsync(const RelieveAccountRelationRequest& request, const RelieveAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, relieveAccountRelation(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::RelieveAccountRelationOutcomeCallable BssOpenApiClient::relieveAccountRelationCallable(const RelieveAccountRelationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RelieveAccountRelationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->relieveAccountRelation(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::RenewInstanceOutcome BssOpenApiClient::renewInstance(const RenewInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2283,6 +2607,42 @@ BssOpenApiClient::SaveUserCreditOutcomeCallable BssOpenApiClient::saveUserCredit
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::SetAllExpirationDayOutcome BssOpenApiClient::setAllExpirationDay(const SetAllExpirationDayRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetAllExpirationDayOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetAllExpirationDayOutcome(SetAllExpirationDayResult(outcome.result()));
|
||||
else
|
||||
return SetAllExpirationDayOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::setAllExpirationDayAsync(const SetAllExpirationDayRequest& request, const SetAllExpirationDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setAllExpirationDay(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::SetAllExpirationDayOutcomeCallable BssOpenApiClient::setAllExpirationDayCallable(const SetAllExpirationDayRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetAllExpirationDayOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setAllExpirationDay(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::SetCreditLabelActionOutcome BssOpenApiClient::setCreditLabelAction(const SetCreditLabelActionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
110
bssopenapi/src/model/AddAccountRelationRequest.cc
Normal file
110
bssopenapi/src/model/AddAccountRelationRequest.cc
Normal file
@@ -0,0 +1,110 @@
|
||||
/*
|
||||
* 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/bssopenapi/model/AddAccountRelationRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::AddAccountRelationRequest;
|
||||
|
||||
AddAccountRelationRequest::AddAccountRelationRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "AddAccountRelation")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddAccountRelationRequest::~AddAccountRelationRequest()
|
||||
{}
|
||||
|
||||
std::string AddAccountRelationRequest::getChildNick()const
|
||||
{
|
||||
return childNick_;
|
||||
}
|
||||
|
||||
void AddAccountRelationRequest::setChildNick(const std::string& childNick)
|
||||
{
|
||||
childNick_ = childNick;
|
||||
setParameter("ChildNick", childNick);
|
||||
}
|
||||
|
||||
std::string AddAccountRelationRequest::getRelationType()const
|
||||
{
|
||||
return relationType_;
|
||||
}
|
||||
|
||||
void AddAccountRelationRequest::setRelationType(const std::string& relationType)
|
||||
{
|
||||
relationType_ = relationType;
|
||||
setParameter("RelationType", relationType);
|
||||
}
|
||||
|
||||
long AddAccountRelationRequest::getParentUserId()const
|
||||
{
|
||||
return parentUserId_;
|
||||
}
|
||||
|
||||
void AddAccountRelationRequest::setParentUserId(long parentUserId)
|
||||
{
|
||||
parentUserId_ = parentUserId;
|
||||
setParameter("ParentUserId", std::to_string(parentUserId));
|
||||
}
|
||||
|
||||
long AddAccountRelationRequest::getChildUserId()const
|
||||
{
|
||||
return childUserId_;
|
||||
}
|
||||
|
||||
void AddAccountRelationRequest::setChildUserId(long childUserId)
|
||||
{
|
||||
childUserId_ = childUserId;
|
||||
setParameter("ChildUserId", std::to_string(childUserId));
|
||||
}
|
||||
|
||||
std::string AddAccountRelationRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void AddAccountRelationRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::vector<std::string> AddAccountRelationRequest::getPermissionCodes()const
|
||||
{
|
||||
return permissionCodes_;
|
||||
}
|
||||
|
||||
void AddAccountRelationRequest::setPermissionCodes(const std::vector<std::string>& permissionCodes)
|
||||
{
|
||||
permissionCodes_ = permissionCodes;
|
||||
for(int dep1 = 0; dep1!= permissionCodes.size(); dep1++) {
|
||||
setParameter("PermissionCodes."+ std::to_string(dep1), permissionCodes.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> AddAccountRelationRequest::getRoleCodes()const
|
||||
{
|
||||
return roleCodes_;
|
||||
}
|
||||
|
||||
void AddAccountRelationRequest::setRoleCodes(const std::vector<std::string>& roleCodes)
|
||||
{
|
||||
roleCodes_ = roleCodes;
|
||||
for(int dep1 = 0; dep1!= roleCodes.size(); dep1++) {
|
||||
setParameter("RoleCodes."+ std::to_string(dep1), roleCodes.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
73
bssopenapi/src/model/AddAccountRelationResult.cc
Normal file
73
bssopenapi/src/model/AddAccountRelationResult.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/bssopenapi/model/AddAccountRelationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
AddAccountRelationResult::AddAccountRelationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddAccountRelationResult::AddAccountRelationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddAccountRelationResult::~AddAccountRelationResult()
|
||||
{}
|
||||
|
||||
void AddAccountRelationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["HostId"].isNull())
|
||||
data_.hostId = dataNode["HostId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddAccountRelationResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
AddAccountRelationResult::Data AddAccountRelationResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string AddAccountRelationResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool AddAccountRelationResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -128,3 +128,14 @@ void ApplyInvoiceRequest::setSelectedIds(const std::vector<long>& selectedIds)
|
||||
}
|
||||
}
|
||||
|
||||
std::string ApplyInvoiceRequest::getUserRemark()const
|
||||
{
|
||||
return userRemark_;
|
||||
}
|
||||
|
||||
void ApplyInvoiceRequest::setUserRemark(const std::string& userRemark)
|
||||
{
|
||||
userRemark_ = userRemark;
|
||||
setParameter("UserRemark", userRemark);
|
||||
}
|
||||
|
||||
|
||||
97
bssopenapi/src/model/ConfirmRelationRequest.cc
Normal file
97
bssopenapi/src/model/ConfirmRelationRequest.cc
Normal file
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* 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/bssopenapi/model/ConfirmRelationRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::ConfirmRelationRequest;
|
||||
|
||||
ConfirmRelationRequest::ConfirmRelationRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "ConfirmRelation")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ConfirmRelationRequest::~ConfirmRelationRequest()
|
||||
{}
|
||||
|
||||
std::string ConfirmRelationRequest::getRelationType()const
|
||||
{
|
||||
return relationType_;
|
||||
}
|
||||
|
||||
void ConfirmRelationRequest::setRelationType(const std::string& relationType)
|
||||
{
|
||||
relationType_ = relationType;
|
||||
setParameter("RelationType", relationType);
|
||||
}
|
||||
|
||||
long ConfirmRelationRequest::getParentUserId()const
|
||||
{
|
||||
return parentUserId_;
|
||||
}
|
||||
|
||||
void ConfirmRelationRequest::setParentUserId(long parentUserId)
|
||||
{
|
||||
parentUserId_ = parentUserId;
|
||||
setParameter("ParentUserId", std::to_string(parentUserId));
|
||||
}
|
||||
|
||||
std::string ConfirmRelationRequest::getConfirmCode()const
|
||||
{
|
||||
return confirmCode_;
|
||||
}
|
||||
|
||||
void ConfirmRelationRequest::setConfirmCode(const std::string& confirmCode)
|
||||
{
|
||||
confirmCode_ = confirmCode;
|
||||
setParameter("ConfirmCode", confirmCode);
|
||||
}
|
||||
|
||||
long ConfirmRelationRequest::getChildUserId()const
|
||||
{
|
||||
return childUserId_;
|
||||
}
|
||||
|
||||
void ConfirmRelationRequest::setChildUserId(long childUserId)
|
||||
{
|
||||
childUserId_ = childUserId;
|
||||
setParameter("ChildUserId", std::to_string(childUserId));
|
||||
}
|
||||
|
||||
std::string ConfirmRelationRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void ConfirmRelationRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::vector<std::string> ConfirmRelationRequest::getPermissionCodes()const
|
||||
{
|
||||
return permissionCodes_;
|
||||
}
|
||||
|
||||
void ConfirmRelationRequest::setPermissionCodes(const std::vector<std::string>& permissionCodes)
|
||||
{
|
||||
permissionCodes_ = permissionCodes;
|
||||
for(int dep1 = 0; dep1!= permissionCodes.size(); dep1++) {
|
||||
setParameter("PermissionCodes."+ std::to_string(dep1), permissionCodes.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
73
bssopenapi/src/model/ConfirmRelationResult.cc
Normal file
73
bssopenapi/src/model/ConfirmRelationResult.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/bssopenapi/model/ConfirmRelationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
ConfirmRelationResult::ConfirmRelationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ConfirmRelationResult::ConfirmRelationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ConfirmRelationResult::~ConfirmRelationResult()
|
||||
{}
|
||||
|
||||
void ConfirmRelationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["HostId"].isNull())
|
||||
data_.hostId = dataNode["HostId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ConfirmRelationResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
ConfirmRelationResult::Data ConfirmRelationResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ConfirmRelationResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ConfirmRelationResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -134,6 +134,12 @@ void DescribeInstanceBillResult::parse(const std::string &payload)
|
||||
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
|
||||
if(!dataNodeItemsItem["CommodityCode"].isNull())
|
||||
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].asString();
|
||||
if(!dataNodeItemsItem["BillAccountID"].isNull())
|
||||
itemObject.billAccountID = dataNodeItemsItem["BillAccountID"].asString();
|
||||
if(!dataNodeItemsItem["BillAccountName"].isNull())
|
||||
itemObject.billAccountName = dataNodeItemsItem["BillAccountName"].asString();
|
||||
if(!dataNodeItemsItem["BizType"].isNull())
|
||||
itemObject.bizType = dataNodeItemsItem["BizType"].asString();
|
||||
data_.items.push_back(itemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
106
bssopenapi/src/model/DescribeResourceCoverageDetailRequest.cc
Normal file
106
bssopenapi/src/model/DescribeResourceCoverageDetailRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/bssopenapi/model/DescribeResourceCoverageDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::DescribeResourceCoverageDetailRequest;
|
||||
|
||||
DescribeResourceCoverageDetailRequest::DescribeResourceCoverageDetailRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "DescribeResourceCoverageDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeResourceCoverageDetailRequest::~DescribeResourceCoverageDetailRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeResourceCoverageDetailRequest::getPeriodType()const
|
||||
{
|
||||
return periodType_;
|
||||
}
|
||||
|
||||
void DescribeResourceCoverageDetailRequest::setPeriodType(const std::string& periodType)
|
||||
{
|
||||
periodType_ = periodType;
|
||||
setParameter("PeriodType", periodType);
|
||||
}
|
||||
|
||||
long DescribeResourceCoverageDetailRequest::getBillOwnerId()const
|
||||
{
|
||||
return billOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeResourceCoverageDetailRequest::setBillOwnerId(long billOwnerId)
|
||||
{
|
||||
billOwnerId_ = billOwnerId;
|
||||
setParameter("BillOwnerId", std::to_string(billOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeResourceCoverageDetailRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void DescribeResourceCoverageDetailRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string DescribeResourceCoverageDetailRequest::getStartPeriod()const
|
||||
{
|
||||
return startPeriod_;
|
||||
}
|
||||
|
||||
void DescribeResourceCoverageDetailRequest::setStartPeriod(const std::string& startPeriod)
|
||||
{
|
||||
startPeriod_ = startPeriod;
|
||||
setParameter("StartPeriod", startPeriod);
|
||||
}
|
||||
|
||||
std::string DescribeResourceCoverageDetailRequest::getEndPeriod()const
|
||||
{
|
||||
return endPeriod_;
|
||||
}
|
||||
|
||||
void DescribeResourceCoverageDetailRequest::setEndPeriod(const std::string& endPeriod)
|
||||
{
|
||||
endPeriod_ = endPeriod;
|
||||
setParameter("EndPeriod", endPeriod);
|
||||
}
|
||||
|
||||
std::string DescribeResourceCoverageDetailRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeResourceCoverageDetailRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
int DescribeResourceCoverageDetailRequest::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void DescribeResourceCoverageDetailRequest::setMaxResults(int maxResults)
|
||||
{
|
||||
maxResults_ = maxResults;
|
||||
setParameter("MaxResults", std::to_string(maxResults));
|
||||
}
|
||||
|
||||
123
bssopenapi/src/model/DescribeResourceCoverageDetailResult.cc
Normal file
123
bssopenapi/src/model/DescribeResourceCoverageDetailResult.cc
Normal file
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* 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/bssopenapi/model/DescribeResourceCoverageDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
DescribeResourceCoverageDetailResult::DescribeResourceCoverageDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeResourceCoverageDetailResult::DescribeResourceCoverageDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeResourceCoverageDetailResult::~DescribeResourceCoverageDetailResult()
|
||||
{}
|
||||
|
||||
void DescribeResourceCoverageDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["TotalCount"].isNull())
|
||||
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
|
||||
if(!dataNode["NextToken"].isNull())
|
||||
data_.nextToken = dataNode["NextToken"].asString();
|
||||
if(!dataNode["MaxResults"].isNull())
|
||||
data_.maxResults = std::stoi(dataNode["MaxResults"].asString());
|
||||
auto allItemsNode = dataNode["Items"]["Item"];
|
||||
for (auto dataNodeItemsItem : allItemsNode)
|
||||
{
|
||||
Data::Item itemObject;
|
||||
if(!dataNodeItemsItem["UserId"].isNull())
|
||||
itemObject.userId = dataNodeItemsItem["UserId"].asString();
|
||||
if(!dataNodeItemsItem["UserName"].isNull())
|
||||
itemObject.userName = dataNodeItemsItem["UserName"].asString();
|
||||
if(!dataNodeItemsItem["ProductCode"].isNull())
|
||||
itemObject.productCode = dataNodeItemsItem["ProductCode"].asString();
|
||||
if(!dataNodeItemsItem["ProductName"].isNull())
|
||||
itemObject.productName = dataNodeItemsItem["ProductName"].asString();
|
||||
if(!dataNodeItemsItem["CommodityCode"].isNull())
|
||||
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].asString();
|
||||
if(!dataNodeItemsItem["CommodityName"].isNull())
|
||||
itemObject.commodityName = dataNodeItemsItem["CommodityName"].asString();
|
||||
if(!dataNodeItemsItem["InstanceId"].isNull())
|
||||
itemObject.instanceId = dataNodeItemsItem["InstanceId"].asString();
|
||||
if(!dataNodeItemsItem["Region"].isNull())
|
||||
itemObject.region = dataNodeItemsItem["Region"].asString();
|
||||
if(!dataNodeItemsItem["RegionNo"].isNull())
|
||||
itemObject.regionNo = dataNodeItemsItem["RegionNo"].asString();
|
||||
if(!dataNodeItemsItem["Zone"].isNull())
|
||||
itemObject.zone = dataNodeItemsItem["Zone"].asString();
|
||||
if(!dataNodeItemsItem["ZoneName"].isNull())
|
||||
itemObject.zoneName = dataNodeItemsItem["ZoneName"].asString();
|
||||
if(!dataNodeItemsItem["InstanceSpec"].isNull())
|
||||
itemObject.instanceSpec = dataNodeItemsItem["InstanceSpec"].asString();
|
||||
if(!dataNodeItemsItem["Currency"].isNull())
|
||||
itemObject.currency = dataNodeItemsItem["Currency"].asString();
|
||||
if(!dataNodeItemsItem["CoveragePercentage"].isNull())
|
||||
itemObject.coveragePercentage = std::stof(dataNodeItemsItem["CoveragePercentage"].asString());
|
||||
if(!dataNodeItemsItem["PaymentAmount"].isNull())
|
||||
itemObject.paymentAmount = std::stof(dataNodeItemsItem["PaymentAmount"].asString());
|
||||
if(!dataNodeItemsItem["DeductQuantity"].isNull())
|
||||
itemObject.deductQuantity = std::stof(dataNodeItemsItem["DeductQuantity"].asString());
|
||||
if(!dataNodeItemsItem["TotalQuantity"].isNull())
|
||||
itemObject.totalQuantity = std::stof(dataNodeItemsItem["TotalQuantity"].asString());
|
||||
if(!dataNodeItemsItem["CapacityUnit"].isNull())
|
||||
itemObject.capacityUnit = dataNodeItemsItem["CapacityUnit"].asString();
|
||||
if(!dataNodeItemsItem["StartTime"].isNull())
|
||||
itemObject.startTime = dataNodeItemsItem["StartTime"].asString();
|
||||
if(!dataNodeItemsItem["EndTime"].isNull())
|
||||
itemObject.endTime = dataNodeItemsItem["EndTime"].asString();
|
||||
data_.items.push_back(itemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeResourceCoverageDetailResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
DescribeResourceCoverageDetailResult::Data DescribeResourceCoverageDetailResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DescribeResourceCoverageDetailResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribeResourceCoverageDetailResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
84
bssopenapi/src/model/DescribeResourceCoverageTotalRequest.cc
Normal file
84
bssopenapi/src/model/DescribeResourceCoverageTotalRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/bssopenapi/model/DescribeResourceCoverageTotalRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::DescribeResourceCoverageTotalRequest;
|
||||
|
||||
DescribeResourceCoverageTotalRequest::DescribeResourceCoverageTotalRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "DescribeResourceCoverageTotal")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeResourceCoverageTotalRequest::~DescribeResourceCoverageTotalRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeResourceCoverageTotalRequest::getPeriodType()const
|
||||
{
|
||||
return periodType_;
|
||||
}
|
||||
|
||||
void DescribeResourceCoverageTotalRequest::setPeriodType(const std::string& periodType)
|
||||
{
|
||||
periodType_ = periodType;
|
||||
setParameter("PeriodType", periodType);
|
||||
}
|
||||
|
||||
long DescribeResourceCoverageTotalRequest::getBillOwnerId()const
|
||||
{
|
||||
return billOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeResourceCoverageTotalRequest::setBillOwnerId(long billOwnerId)
|
||||
{
|
||||
billOwnerId_ = billOwnerId;
|
||||
setParameter("BillOwnerId", std::to_string(billOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeResourceCoverageTotalRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void DescribeResourceCoverageTotalRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string DescribeResourceCoverageTotalRequest::getStartPeriod()const
|
||||
{
|
||||
return startPeriod_;
|
||||
}
|
||||
|
||||
void DescribeResourceCoverageTotalRequest::setStartPeriod(const std::string& startPeriod)
|
||||
{
|
||||
startPeriod_ = startPeriod;
|
||||
setParameter("StartPeriod", startPeriod);
|
||||
}
|
||||
|
||||
std::string DescribeResourceCoverageTotalRequest::getEndPeriod()const
|
||||
{
|
||||
return endPeriod_;
|
||||
}
|
||||
|
||||
void DescribeResourceCoverageTotalRequest::setEndPeriod(const std::string& endPeriod)
|
||||
{
|
||||
endPeriod_ = endPeriod;
|
||||
setParameter("EndPeriod", endPeriod);
|
||||
}
|
||||
|
||||
90
bssopenapi/src/model/DescribeResourceCoverageTotalResult.cc
Normal file
90
bssopenapi/src/model/DescribeResourceCoverageTotalResult.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/bssopenapi/model/DescribeResourceCoverageTotalResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
DescribeResourceCoverageTotalResult::DescribeResourceCoverageTotalResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeResourceCoverageTotalResult::DescribeResourceCoverageTotalResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeResourceCoverageTotalResult::~DescribeResourceCoverageTotalResult()
|
||||
{}
|
||||
|
||||
void DescribeResourceCoverageTotalResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
auto allPeriodCoverageNode = dataNode["PeriodCoverage"]["Item"];
|
||||
for (auto dataNodePeriodCoverageItem : allPeriodCoverageNode)
|
||||
{
|
||||
Data::Item itemObject;
|
||||
if(!dataNodePeriodCoverageItem["Period"].isNull())
|
||||
itemObject.period = dataNodePeriodCoverageItem["Period"].asString();
|
||||
if(!dataNodePeriodCoverageItem["CoveragePercentage"].isNull())
|
||||
itemObject.coveragePercentage = std::stof(dataNodePeriodCoverageItem["CoveragePercentage"].asString());
|
||||
data_.periodCoverage.push_back(itemObject);
|
||||
}
|
||||
auto totalCoverageNode = dataNode["TotalCoverage"];
|
||||
if(!totalCoverageNode["CoveragePercentage"].isNull())
|
||||
data_.totalCoverage.coveragePercentage = std::stof(totalCoverageNode["CoveragePercentage"].asString());
|
||||
if(!totalCoverageNode["DeductQuantity"].isNull())
|
||||
data_.totalCoverage.deductQuantity = std::stof(totalCoverageNode["DeductQuantity"].asString());
|
||||
if(!totalCoverageNode["TotalQuantity"].isNull())
|
||||
data_.totalCoverage.totalQuantity = std::stof(totalCoverageNode["TotalQuantity"].asString());
|
||||
if(!totalCoverageNode["CapacityUnit"].isNull())
|
||||
data_.totalCoverage.capacityUnit = totalCoverageNode["CapacityUnit"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeResourceCoverageTotalResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
DescribeResourceCoverageTotalResult::Data DescribeResourceCoverageTotalResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DescribeResourceCoverageTotalResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribeResourceCoverageTotalResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
106
bssopenapi/src/model/DescribeResourceUsageDetailRequest.cc
Normal file
106
bssopenapi/src/model/DescribeResourceUsageDetailRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/bssopenapi/model/DescribeResourceUsageDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::DescribeResourceUsageDetailRequest;
|
||||
|
||||
DescribeResourceUsageDetailRequest::DescribeResourceUsageDetailRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "DescribeResourceUsageDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeResourceUsageDetailRequest::~DescribeResourceUsageDetailRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeResourceUsageDetailRequest::getPeriodType()const
|
||||
{
|
||||
return periodType_;
|
||||
}
|
||||
|
||||
void DescribeResourceUsageDetailRequest::setPeriodType(const std::string& periodType)
|
||||
{
|
||||
periodType_ = periodType;
|
||||
setParameter("PeriodType", periodType);
|
||||
}
|
||||
|
||||
long DescribeResourceUsageDetailRequest::getBillOwnerId()const
|
||||
{
|
||||
return billOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeResourceUsageDetailRequest::setBillOwnerId(long billOwnerId)
|
||||
{
|
||||
billOwnerId_ = billOwnerId;
|
||||
setParameter("BillOwnerId", std::to_string(billOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeResourceUsageDetailRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void DescribeResourceUsageDetailRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string DescribeResourceUsageDetailRequest::getStartPeriod()const
|
||||
{
|
||||
return startPeriod_;
|
||||
}
|
||||
|
||||
void DescribeResourceUsageDetailRequest::setStartPeriod(const std::string& startPeriod)
|
||||
{
|
||||
startPeriod_ = startPeriod;
|
||||
setParameter("StartPeriod", startPeriod);
|
||||
}
|
||||
|
||||
std::string DescribeResourceUsageDetailRequest::getEndPeriod()const
|
||||
{
|
||||
return endPeriod_;
|
||||
}
|
||||
|
||||
void DescribeResourceUsageDetailRequest::setEndPeriod(const std::string& endPeriod)
|
||||
{
|
||||
endPeriod_ = endPeriod;
|
||||
setParameter("EndPeriod", endPeriod);
|
||||
}
|
||||
|
||||
std::string DescribeResourceUsageDetailRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeResourceUsageDetailRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
int DescribeResourceUsageDetailRequest::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void DescribeResourceUsageDetailRequest::setMaxResults(int maxResults)
|
||||
{
|
||||
maxResults_ = maxResults;
|
||||
setParameter("MaxResults", std::to_string(maxResults));
|
||||
}
|
||||
|
||||
129
bssopenapi/src/model/DescribeResourceUsageDetailResult.cc
Normal file
129
bssopenapi/src/model/DescribeResourceUsageDetailResult.cc
Normal file
@@ -0,0 +1,129 @@
|
||||
/*
|
||||
* 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/bssopenapi/model/DescribeResourceUsageDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
DescribeResourceUsageDetailResult::DescribeResourceUsageDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeResourceUsageDetailResult::DescribeResourceUsageDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeResourceUsageDetailResult::~DescribeResourceUsageDetailResult()
|
||||
{}
|
||||
|
||||
void DescribeResourceUsageDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["TotalCount"].isNull())
|
||||
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
|
||||
if(!dataNode["NextToken"].isNull())
|
||||
data_.nextToken = dataNode["NextToken"].asString();
|
||||
if(!dataNode["MaxResults"].isNull())
|
||||
data_.maxResults = std::stoi(dataNode["MaxResults"].asString());
|
||||
auto allItemsNode = dataNode["Items"]["Item"];
|
||||
for (auto dataNodeItemsItem : allItemsNode)
|
||||
{
|
||||
Data::Item itemObject;
|
||||
if(!dataNodeItemsItem["UserId"].isNull())
|
||||
itemObject.userId = dataNodeItemsItem["UserId"].asString();
|
||||
if(!dataNodeItemsItem["UserName"].isNull())
|
||||
itemObject.userName = dataNodeItemsItem["UserName"].asString();
|
||||
if(!dataNodeItemsItem["ResourceInstanceId"].isNull())
|
||||
itemObject.resourceInstanceId = dataNodeItemsItem["ResourceInstanceId"].asString();
|
||||
if(!dataNodeItemsItem["StartTime"].isNull())
|
||||
itemObject.startTime = dataNodeItemsItem["StartTime"].asString();
|
||||
if(!dataNodeItemsItem["EndTime"].isNull())
|
||||
itemObject.endTime = dataNodeItemsItem["EndTime"].asString();
|
||||
if(!dataNodeItemsItem["Status"].isNull())
|
||||
itemObject.status = dataNodeItemsItem["Status"].asString();
|
||||
if(!dataNodeItemsItem["StatusName"].isNull())
|
||||
itemObject.statusName = dataNodeItemsItem["StatusName"].asString();
|
||||
if(!dataNodeItemsItem["Region"].isNull())
|
||||
itemObject.region = dataNodeItemsItem["Region"].asString();
|
||||
if(!dataNodeItemsItem["RegionNo"].isNull())
|
||||
itemObject.regionNo = dataNodeItemsItem["RegionNo"].asString();
|
||||
if(!dataNodeItemsItem["Zone"].isNull())
|
||||
itemObject.zone = dataNodeItemsItem["Zone"].asString();
|
||||
if(!dataNodeItemsItem["ZoneName"].isNull())
|
||||
itemObject.zoneName = dataNodeItemsItem["ZoneName"].asString();
|
||||
if(!dataNodeItemsItem["InstanceSpec"].isNull())
|
||||
itemObject.instanceSpec = dataNodeItemsItem["InstanceSpec"].asString();
|
||||
if(!dataNodeItemsItem["Quantity"].isNull())
|
||||
itemObject.quantity = std::stol(dataNodeItemsItem["Quantity"].asString());
|
||||
if(!dataNodeItemsItem["ImageType"].isNull())
|
||||
itemObject.imageType = dataNodeItemsItem["ImageType"].asString();
|
||||
if(!dataNodeItemsItem["UsagePercentage"].isNull())
|
||||
itemObject.usagePercentage = std::stof(dataNodeItemsItem["UsagePercentage"].asString());
|
||||
if(!dataNodeItemsItem["DeductQuantity"].isNull())
|
||||
itemObject.deductQuantity = std::stof(dataNodeItemsItem["DeductQuantity"].asString());
|
||||
if(!dataNodeItemsItem["TotalQuantity"].isNull())
|
||||
itemObject.totalQuantity = std::stof(dataNodeItemsItem["TotalQuantity"].asString());
|
||||
if(!dataNodeItemsItem["CapacityUnit"].isNull())
|
||||
itemObject.capacityUnit = dataNodeItemsItem["CapacityUnit"].asString();
|
||||
if(!dataNodeItemsItem["Currency"].isNull())
|
||||
itemObject.currency = dataNodeItemsItem["Currency"].asString();
|
||||
if(!dataNodeItemsItem["ReservationCost"].isNull())
|
||||
itemObject.reservationCost = dataNodeItemsItem["ReservationCost"].asString();
|
||||
if(!dataNodeItemsItem["PostpaidCost"].isNull())
|
||||
itemObject.postpaidCost = dataNodeItemsItem["PostpaidCost"].asString();
|
||||
if(!dataNodeItemsItem["SavedCost"].isNull())
|
||||
itemObject.savedCost = dataNodeItemsItem["SavedCost"].asString();
|
||||
if(!dataNodeItemsItem["PotentialSavedCost"].isNull())
|
||||
itemObject.potentialSavedCost = dataNodeItemsItem["PotentialSavedCost"].asString();
|
||||
data_.items.push_back(itemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeResourceUsageDetailResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
DescribeResourceUsageDetailResult::Data DescribeResourceUsageDetailResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DescribeResourceUsageDetailResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribeResourceUsageDetailResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
84
bssopenapi/src/model/DescribeResourceUsageTotalRequest.cc
Normal file
84
bssopenapi/src/model/DescribeResourceUsageTotalRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/bssopenapi/model/DescribeResourceUsageTotalRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::DescribeResourceUsageTotalRequest;
|
||||
|
||||
DescribeResourceUsageTotalRequest::DescribeResourceUsageTotalRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "DescribeResourceUsageTotal")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeResourceUsageTotalRequest::~DescribeResourceUsageTotalRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeResourceUsageTotalRequest::getPeriodType()const
|
||||
{
|
||||
return periodType_;
|
||||
}
|
||||
|
||||
void DescribeResourceUsageTotalRequest::setPeriodType(const std::string& periodType)
|
||||
{
|
||||
periodType_ = periodType;
|
||||
setParameter("PeriodType", periodType);
|
||||
}
|
||||
|
||||
long DescribeResourceUsageTotalRequest::getBillOwnerId()const
|
||||
{
|
||||
return billOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeResourceUsageTotalRequest::setBillOwnerId(long billOwnerId)
|
||||
{
|
||||
billOwnerId_ = billOwnerId;
|
||||
setParameter("BillOwnerId", std::to_string(billOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeResourceUsageTotalRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void DescribeResourceUsageTotalRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string DescribeResourceUsageTotalRequest::getStartPeriod()const
|
||||
{
|
||||
return startPeriod_;
|
||||
}
|
||||
|
||||
void DescribeResourceUsageTotalRequest::setStartPeriod(const std::string& startPeriod)
|
||||
{
|
||||
startPeriod_ = startPeriod;
|
||||
setParameter("StartPeriod", startPeriod);
|
||||
}
|
||||
|
||||
std::string DescribeResourceUsageTotalRequest::getEndPeriod()const
|
||||
{
|
||||
return endPeriod_;
|
||||
}
|
||||
|
||||
void DescribeResourceUsageTotalRequest::setEndPeriod(const std::string& endPeriod)
|
||||
{
|
||||
endPeriod_ = endPeriod;
|
||||
setParameter("EndPeriod", endPeriod);
|
||||
}
|
||||
|
||||
92
bssopenapi/src/model/DescribeResourceUsageTotalResult.cc
Normal file
92
bssopenapi/src/model/DescribeResourceUsageTotalResult.cc
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/bssopenapi/model/DescribeResourceUsageTotalResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
DescribeResourceUsageTotalResult::DescribeResourceUsageTotalResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeResourceUsageTotalResult::DescribeResourceUsageTotalResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeResourceUsageTotalResult::~DescribeResourceUsageTotalResult()
|
||||
{}
|
||||
|
||||
void DescribeResourceUsageTotalResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
auto allPeriodCoverageNode = dataNode["PeriodCoverage"]["Item"];
|
||||
for (auto dataNodePeriodCoverageItem : allPeriodCoverageNode)
|
||||
{
|
||||
Data::Item itemObject;
|
||||
if(!dataNodePeriodCoverageItem["Period"].isNull())
|
||||
itemObject.period = dataNodePeriodCoverageItem["Period"].asString();
|
||||
if(!dataNodePeriodCoverageItem["UsagePercentage"].isNull())
|
||||
itemObject.usagePercentage = std::stof(dataNodePeriodCoverageItem["UsagePercentage"].asString());
|
||||
data_.periodCoverage.push_back(itemObject);
|
||||
}
|
||||
auto totalUsageNode = dataNode["TotalUsage"];
|
||||
if(!totalUsageNode["UsagePercentage"].isNull())
|
||||
data_.totalUsage.usagePercentage = std::stof(totalUsageNode["UsagePercentage"].asString());
|
||||
if(!totalUsageNode["PostpaidCost"].isNull())
|
||||
data_.totalUsage.postpaidCost = std::stof(totalUsageNode["PostpaidCost"].asString());
|
||||
if(!totalUsageNode["ReservationCost"].isNull())
|
||||
data_.totalUsage.reservationCost = std::stof(totalUsageNode["ReservationCost"].asString());
|
||||
if(!totalUsageNode["SavedCost"].isNull())
|
||||
data_.totalUsage.savedCost = std::stof(totalUsageNode["SavedCost"].asString());
|
||||
if(!totalUsageNode["PotentialSavedCost"].isNull())
|
||||
data_.totalUsage.potentialSavedCost = std::stof(totalUsageNode["PotentialSavedCost"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeResourceUsageTotalResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
DescribeResourceUsageTotalResult::Data DescribeResourceUsageTotalResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DescribeResourceUsageTotalResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribeResourceUsageTotalResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -27,17 +27,6 @@ DescribeSplitItemBillRequest::DescribeSplitItemBillRequest() :
|
||||
DescribeSplitItemBillRequest::~DescribeSplitItemBillRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getSplitItemID()const
|
||||
{
|
||||
return splitItemID_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setSplitItemID(const std::string& splitItemID)
|
||||
{
|
||||
splitItemID_ = splitItemID;
|
||||
setParameter("SplitItemID", splitItemID);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getProductCode()const
|
||||
{
|
||||
return productCode_;
|
||||
@@ -60,6 +49,50 @@ void DescribeSplitItemBillRequest::setSubscriptionType(const std::string& subscr
|
||||
setParameter("SubscriptionType", subscriptionType);
|
||||
}
|
||||
|
||||
long DescribeSplitItemBillRequest::getBillOwnerId()const
|
||||
{
|
||||
return billOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setBillOwnerId(long billOwnerId)
|
||||
{
|
||||
billOwnerId_ = billOwnerId;
|
||||
setParameter("BillOwnerId", std::to_string(billOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getProductType()const
|
||||
{
|
||||
return productType_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getSplitItemID()const
|
||||
{
|
||||
return splitItemID_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setSplitItemID(const std::string& splitItemID)
|
||||
{
|
||||
splitItemID_ = splitItemID;
|
||||
setParameter("SplitItemID", splitItemID);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getBillingCycle()const
|
||||
{
|
||||
return billingCycle_;
|
||||
@@ -82,17 +115,6 @@ void DescribeSplitItemBillRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long DescribeSplitItemBillRequest::getBillOwnerId()const
|
||||
{
|
||||
return billOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setBillOwnerId(long billOwnerId)
|
||||
{
|
||||
billOwnerId_ = billOwnerId;
|
||||
setParameter("BillOwnerId", std::to_string(billOwnerId));
|
||||
}
|
||||
|
||||
std::vector<DescribeSplitItemBillRequest::TagFilter> DescribeSplitItemBillRequest::getTagFilter()const
|
||||
{
|
||||
return tagFilter_;
|
||||
@@ -111,15 +133,15 @@ void DescribeSplitItemBillRequest::setTagFilter(const std::vector<TagFilter>& ta
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getProductType()const
|
||||
std::string DescribeSplitItemBillRequest::getBillingDate()const
|
||||
{
|
||||
return productType_;
|
||||
return billingDate_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setProductType(const std::string& productType)
|
||||
void DescribeSplitItemBillRequest::setBillingDate(const std::string& billingDate)
|
||||
{
|
||||
productType_ = productType;
|
||||
setParameter("ProductType", productType);
|
||||
billingDate_ = billingDate;
|
||||
setParameter("BillingDate", billingDate);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getInstanceID()const
|
||||
@@ -133,15 +155,15 @@ void DescribeSplitItemBillRequest::setInstanceID(const std::string& instanceID)
|
||||
setParameter("InstanceID", instanceID);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getNextToken()const
|
||||
std::string DescribeSplitItemBillRequest::getGranularity()const
|
||||
{
|
||||
return nextToken_;
|
||||
return granularity_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setNextToken(const std::string& nextToken)
|
||||
void DescribeSplitItemBillRequest::setGranularity(const std::string& granularity)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
granularity_ = granularity;
|
||||
setParameter("Granularity", granularity);
|
||||
}
|
||||
|
||||
int DescribeSplitItemBillRequest::getMaxResults()const
|
||||
|
||||
@@ -148,6 +148,14 @@ void DescribeSplitItemBillResult::parse(const std::string &payload)
|
||||
itemObject.splitAccountName = dataNodeItemsItem["SplitAccountName"].asString();
|
||||
if(!dataNodeItemsItem["SplitBillingCycle"].isNull())
|
||||
itemObject.splitBillingCycle = dataNodeItemsItem["SplitBillingCycle"].asString();
|
||||
if(!dataNodeItemsItem["SplitBillingDate"].isNull())
|
||||
itemObject.splitBillingDate = dataNodeItemsItem["SplitBillingDate"].asString();
|
||||
if(!dataNodeItemsItem["BizType"].isNull())
|
||||
itemObject.bizType = dataNodeItemsItem["BizType"].asString();
|
||||
if(!dataNodeItemsItem["BillAccountID"].isNull())
|
||||
itemObject.billAccountID = dataNodeItemsItem["BillAccountID"].asString();
|
||||
if(!dataNodeItemsItem["BillAccountName"].isNull())
|
||||
itemObject.billAccountName = dataNodeItemsItem["BillAccountName"].asString();
|
||||
data_.items.push_back(itemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
121
bssopenapi/src/model/ModifyAccountRelationRequest.cc
Normal file
121
bssopenapi/src/model/ModifyAccountRelationRequest.cc
Normal file
@@ -0,0 +1,121 @@
|
||||
/*
|
||||
* 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/bssopenapi/model/ModifyAccountRelationRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::ModifyAccountRelationRequest;
|
||||
|
||||
ModifyAccountRelationRequest::ModifyAccountRelationRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "ModifyAccountRelation")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyAccountRelationRequest::~ModifyAccountRelationRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyAccountRelationRequest::getChildNick()const
|
||||
{
|
||||
return childNick_;
|
||||
}
|
||||
|
||||
void ModifyAccountRelationRequest::setChildNick(const std::string& childNick)
|
||||
{
|
||||
childNick_ = childNick;
|
||||
setParameter("ChildNick", childNick);
|
||||
}
|
||||
|
||||
std::string ModifyAccountRelationRequest::getRelationOperation()const
|
||||
{
|
||||
return relationOperation_;
|
||||
}
|
||||
|
||||
void ModifyAccountRelationRequest::setRelationOperation(const std::string& relationOperation)
|
||||
{
|
||||
relationOperation_ = relationOperation;
|
||||
setParameter("RelationOperation", relationOperation);
|
||||
}
|
||||
|
||||
std::string ModifyAccountRelationRequest::getRelationType()const
|
||||
{
|
||||
return relationType_;
|
||||
}
|
||||
|
||||
void ModifyAccountRelationRequest::setRelationType(const std::string& relationType)
|
||||
{
|
||||
relationType_ = relationType;
|
||||
setParameter("RelationType", relationType);
|
||||
}
|
||||
|
||||
long ModifyAccountRelationRequest::getParentUserId()const
|
||||
{
|
||||
return parentUserId_;
|
||||
}
|
||||
|
||||
void ModifyAccountRelationRequest::setParentUserId(long parentUserId)
|
||||
{
|
||||
parentUserId_ = parentUserId;
|
||||
setParameter("ParentUserId", std::to_string(parentUserId));
|
||||
}
|
||||
|
||||
long ModifyAccountRelationRequest::getChildUserId()const
|
||||
{
|
||||
return childUserId_;
|
||||
}
|
||||
|
||||
void ModifyAccountRelationRequest::setChildUserId(long childUserId)
|
||||
{
|
||||
childUserId_ = childUserId;
|
||||
setParameter("ChildUserId", std::to_string(childUserId));
|
||||
}
|
||||
|
||||
std::string ModifyAccountRelationRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void ModifyAccountRelationRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyAccountRelationRequest::getPermissionCodes()const
|
||||
{
|
||||
return permissionCodes_;
|
||||
}
|
||||
|
||||
void ModifyAccountRelationRequest::setPermissionCodes(const std::vector<std::string>& permissionCodes)
|
||||
{
|
||||
permissionCodes_ = permissionCodes;
|
||||
for(int dep1 = 0; dep1!= permissionCodes.size(); dep1++) {
|
||||
setParameter("PermissionCodes."+ std::to_string(dep1), permissionCodes.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyAccountRelationRequest::getRoleCodes()const
|
||||
{
|
||||
return roleCodes_;
|
||||
}
|
||||
|
||||
void ModifyAccountRelationRequest::setRoleCodes(const std::vector<std::string>& roleCodes)
|
||||
{
|
||||
roleCodes_ = roleCodes;
|
||||
for(int dep1 = 0; dep1!= roleCodes.size(); dep1++) {
|
||||
setParameter("RoleCodes."+ std::to_string(dep1), roleCodes.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
73
bssopenapi/src/model/ModifyAccountRelationResult.cc
Normal file
73
bssopenapi/src/model/ModifyAccountRelationResult.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/bssopenapi/model/ModifyAccountRelationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
ModifyAccountRelationResult::ModifyAccountRelationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyAccountRelationResult::ModifyAccountRelationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyAccountRelationResult::~ModifyAccountRelationResult()
|
||||
{}
|
||||
|
||||
void ModifyAccountRelationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["HostId"].isNull())
|
||||
data_.hostId = dataNode["HostId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ModifyAccountRelationResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
ModifyAccountRelationResult::Data ModifyAccountRelationResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ModifyAccountRelationResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ModifyAccountRelationResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -90,6 +90,12 @@ void QueryAccountBillResult::parse(const std::string &payload)
|
||||
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
|
||||
if(!dataNodeItemsItem["BillingDate"].isNull())
|
||||
itemObject.billingDate = dataNodeItemsItem["BillingDate"].asString();
|
||||
if(!dataNodeItemsItem["BillAccountID"].isNull())
|
||||
itemObject.billAccountID = dataNodeItemsItem["BillAccountID"].asString();
|
||||
if(!dataNodeItemsItem["BillAccountName"].isNull())
|
||||
itemObject.billAccountName = dataNodeItemsItem["BillAccountName"].asString();
|
||||
if(!dataNodeItemsItem["BizType"].isNull())
|
||||
itemObject.bizType = dataNodeItemsItem["BizType"].asString();
|
||||
data_.items.push_back(itemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
@@ -94,6 +94,14 @@ void QueryBillOverviewResult::parse(const std::string &payload)
|
||||
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
|
||||
if(!dataNodeItemsItem["CommodityCode"].isNull())
|
||||
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].asString();
|
||||
if(!dataNodeItemsItem["BillAccountID"].isNull())
|
||||
itemObject.billAccountID = dataNodeItemsItem["BillAccountID"].asString();
|
||||
if(!dataNodeItemsItem["BillAccountName"].isNull())
|
||||
itemObject.billAccountName = dataNodeItemsItem["BillAccountName"].asString();
|
||||
if(!dataNodeItemsItem["BizType"].isNull())
|
||||
itemObject.bizType = dataNodeItemsItem["BizType"].asString();
|
||||
if(!dataNodeItemsItem["OwnerID"].isNull())
|
||||
itemObject.ownerID = dataNodeItemsItem["OwnerID"].asString();
|
||||
data_.items.push_back(itemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
128
bssopenapi/src/model/QueryDPUtilizationDetailRequest.cc
Normal file
128
bssopenapi/src/model/QueryDPUtilizationDetailRequest.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/bssopenapi/model/QueryDPUtilizationDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::QueryDPUtilizationDetailRequest;
|
||||
|
||||
QueryDPUtilizationDetailRequest::QueryDPUtilizationDetailRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "QueryDPUtilizationDetail")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDPUtilizationDetailRequest::~QueryDPUtilizationDetailRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDPUtilizationDetailRequest::getDeductedInstanceId()const
|
||||
{
|
||||
return deductedInstanceId_;
|
||||
}
|
||||
|
||||
void QueryDPUtilizationDetailRequest::setDeductedInstanceId(const std::string& deductedInstanceId)
|
||||
{
|
||||
deductedInstanceId_ = deductedInstanceId;
|
||||
setParameter("DeductedInstanceId", deductedInstanceId);
|
||||
}
|
||||
|
||||
std::string QueryDPUtilizationDetailRequest::getLastToken()const
|
||||
{
|
||||
return lastToken_;
|
||||
}
|
||||
|
||||
void QueryDPUtilizationDetailRequest::setLastToken(const std::string& lastToken)
|
||||
{
|
||||
lastToken_ = lastToken;
|
||||
setParameter("LastToken", lastToken);
|
||||
}
|
||||
|
||||
std::string QueryDPUtilizationDetailRequest::getInstanceSpec()const
|
||||
{
|
||||
return instanceSpec_;
|
||||
}
|
||||
|
||||
void QueryDPUtilizationDetailRequest::setInstanceSpec(const std::string& instanceSpec)
|
||||
{
|
||||
instanceSpec_ = instanceSpec;
|
||||
setParameter("InstanceSpec", instanceSpec);
|
||||
}
|
||||
|
||||
std::string QueryDPUtilizationDetailRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void QueryDPUtilizationDetailRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
bool QueryDPUtilizationDetailRequest::getIncludeShare()const
|
||||
{
|
||||
return includeShare_;
|
||||
}
|
||||
|
||||
void QueryDPUtilizationDetailRequest::setIncludeShare(bool includeShare)
|
||||
{
|
||||
includeShare_ = includeShare;
|
||||
setParameter("IncludeShare", includeShare ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string QueryDPUtilizationDetailRequest::getCommodityCode()const
|
||||
{
|
||||
return commodityCode_;
|
||||
}
|
||||
|
||||
void QueryDPUtilizationDetailRequest::setCommodityCode(const std::string& commodityCode)
|
||||
{
|
||||
commodityCode_ = commodityCode;
|
||||
setParameter("CommodityCode", commodityCode);
|
||||
}
|
||||
|
||||
std::string QueryDPUtilizationDetailRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void QueryDPUtilizationDetailRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string QueryDPUtilizationDetailRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void QueryDPUtilizationDetailRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
int QueryDPUtilizationDetailRequest::getLimit()const
|
||||
{
|
||||
return limit_;
|
||||
}
|
||||
|
||||
void QueryDPUtilizationDetailRequest::setLimit(int limit)
|
||||
{
|
||||
limit_ = limit;
|
||||
setParameter("Limit", std::to_string(limit));
|
||||
}
|
||||
|
||||
107
bssopenapi/src/model/QueryDPUtilizationDetailResult.cc
Normal file
107
bssopenapi/src/model/QueryDPUtilizationDetailResult.cc
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* 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/bssopenapi/model/QueryDPUtilizationDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
QueryDPUtilizationDetailResult::QueryDPUtilizationDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryDPUtilizationDetailResult::QueryDPUtilizationDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryDPUtilizationDetailResult::~QueryDPUtilizationDetailResult()
|
||||
{}
|
||||
|
||||
void QueryDPUtilizationDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["NextToken"].isNull())
|
||||
data_.nextToken = dataNode["NextToken"].asString();
|
||||
auto allDetailListNode = dataNode["DetailList"]["DetailListItem"];
|
||||
for (auto dataNodeDetailListDetailListItem : allDetailListNode)
|
||||
{
|
||||
Data::DetailListItem detailListItemObject;
|
||||
if(!dataNodeDetailListDetailListItem["Uid"].isNull())
|
||||
detailListItemObject.uid = std::stol(dataNodeDetailListDetailListItem["Uid"].asString());
|
||||
if(!dataNodeDetailListDetailListItem["InstanceId"].isNull())
|
||||
detailListItemObject.instanceId = dataNodeDetailListDetailListItem["InstanceId"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["InstanceSpec"].isNull())
|
||||
detailListItemObject.instanceSpec = dataNodeDetailListDetailListItem["InstanceSpec"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["DeductedInstanceId"].isNull())
|
||||
detailListItemObject.deductedInstanceId = dataNodeDetailListDetailListItem["DeductedInstanceId"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["DeductedCommodityCode"].isNull())
|
||||
detailListItemObject.deductedCommodityCode = dataNodeDetailListDetailListItem["DeductedCommodityCode"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["DeductedProductDetail"].isNull())
|
||||
detailListItemObject.deductedProductDetail = dataNodeDetailListDetailListItem["DeductedProductDetail"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["ResCode"].isNull())
|
||||
detailListItemObject.resCode = dataNodeDetailListDetailListItem["ResCode"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["DeductDate"].isNull())
|
||||
detailListItemObject.deductDate = dataNodeDetailListDetailListItem["DeductDate"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["DeductQuantity"].isNull())
|
||||
detailListItemObject.deductQuantity = std::stof(dataNodeDetailListDetailListItem["DeductQuantity"].asString());
|
||||
if(!dataNodeDetailListDetailListItem["DeductMeasure"].isNull())
|
||||
detailListItemObject.deductMeasure = std::stof(dataNodeDetailListDetailListItem["DeductMeasure"].asString());
|
||||
if(!dataNodeDetailListDetailListItem["DeductHours"].isNull())
|
||||
detailListItemObject.deductHours = std::stof(dataNodeDetailListDetailListItem["DeductHours"].asString());
|
||||
if(!dataNodeDetailListDetailListItem["DeductFactorTotal"].isNull())
|
||||
detailListItemObject.deductFactorTotal = std::stof(dataNodeDetailListDetailListItem["DeductFactorTotal"].asString());
|
||||
if(!dataNodeDetailListDetailListItem["Region"].isNull())
|
||||
detailListItemObject.region = dataNodeDetailListDetailListItem["Region"].asString();
|
||||
if(!dataNodeDetailListDetailListItem["ShareUid"].isNull())
|
||||
detailListItemObject.shareUid = std::stol(dataNodeDetailListDetailListItem["ShareUid"].asString());
|
||||
data_.detailList.push_back(detailListItemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryDPUtilizationDetailResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
QueryDPUtilizationDetailResult::Data QueryDPUtilizationDetailResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryDPUtilizationDetailResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool QueryDPUtilizationDetailResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -93,3 +93,19 @@ void QuerySavingsPlansInstanceRequest::setPageSize(int pageSize)
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::vector<QuerySavingsPlansInstanceRequest::Tag> QuerySavingsPlansInstanceRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void QuerySavingsPlansInstanceRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -76,8 +76,18 @@ void QuerySavingsPlansInstanceResult::parse(const std::string &payload)
|
||||
savingsPlansDetailResponseObject.totalSave = dataNodeItemsSavingsPlansDetailResponse["TotalSave"].asString();
|
||||
if(!dataNodeItemsSavingsPlansDetailResponse["Utilization"].isNull())
|
||||
savingsPlansDetailResponseObject.utilization = dataNodeItemsSavingsPlansDetailResponse["Utilization"].asString();
|
||||
if(!dataNodeItemsSavingsPlansDetailResponse["Share"].isNull())
|
||||
savingsPlansDetailResponseObject.share = dataNodeItemsSavingsPlansDetailResponse["Share"].asString() == "true";
|
||||
if(!dataNodeItemsSavingsPlansDetailResponse["AllocationStatus"].isNull())
|
||||
savingsPlansDetailResponseObject.allocationStatus = dataNodeItemsSavingsPlansDetailResponse["AllocationStatus"].asString();
|
||||
auto allTagsNode = dataNodeItemsSavingsPlansDetailResponse["Tags"]["Tag"];
|
||||
for (auto dataNodeItemsSavingsPlansDetailResponseTagsTag : allTagsNode)
|
||||
{
|
||||
Data::SavingsPlansDetailResponse::Tag tagsObject;
|
||||
if(!dataNodeItemsSavingsPlansDetailResponseTagsTag["Key"].isNull())
|
||||
tagsObject.key = dataNodeItemsSavingsPlansDetailResponseTagsTag["Key"].asString();
|
||||
if(!dataNodeItemsSavingsPlansDetailResponseTagsTag["Value"].isNull())
|
||||
tagsObject.value = dataNodeItemsSavingsPlansDetailResponseTagsTag["Value"].asString();
|
||||
savingsPlansDetailResponseObject.tags.push_back(tagsObject);
|
||||
}
|
||||
data_.items.push_back(savingsPlansDetailResponseObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -116,6 +116,12 @@ void QuerySettleBillResult::parse(const std::string &payload)
|
||||
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
|
||||
if(!dataNodeItemsItem["CommodityCode"].isNull())
|
||||
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].asString();
|
||||
if(!dataNodeItemsItem["BillAccountID"].isNull())
|
||||
itemObject.billAccountID = dataNodeItemsItem["BillAccountID"].asString();
|
||||
if(!dataNodeItemsItem["BillAccountName"].isNull())
|
||||
itemObject.billAccountName = dataNodeItemsItem["BillAccountName"].asString();
|
||||
if(!dataNodeItemsItem["BizType"].isNull())
|
||||
itemObject.bizType = dataNodeItemsItem["BizType"].asString();
|
||||
data_.items.push_back(itemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
73
bssopenapi/src/model/RelieveAccountRelationRequest.cc
Normal file
73
bssopenapi/src/model/RelieveAccountRelationRequest.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/bssopenapi/model/RelieveAccountRelationRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::RelieveAccountRelationRequest;
|
||||
|
||||
RelieveAccountRelationRequest::RelieveAccountRelationRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "RelieveAccountRelation")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RelieveAccountRelationRequest::~RelieveAccountRelationRequest()
|
||||
{}
|
||||
|
||||
std::string RelieveAccountRelationRequest::getRelationType()const
|
||||
{
|
||||
return relationType_;
|
||||
}
|
||||
|
||||
void RelieveAccountRelationRequest::setRelationType(const std::string& relationType)
|
||||
{
|
||||
relationType_ = relationType;
|
||||
setParameter("RelationType", relationType);
|
||||
}
|
||||
|
||||
long RelieveAccountRelationRequest::getParentUserId()const
|
||||
{
|
||||
return parentUserId_;
|
||||
}
|
||||
|
||||
void RelieveAccountRelationRequest::setParentUserId(long parentUserId)
|
||||
{
|
||||
parentUserId_ = parentUserId;
|
||||
setParameter("ParentUserId", std::to_string(parentUserId));
|
||||
}
|
||||
|
||||
long RelieveAccountRelationRequest::getChildUserId()const
|
||||
{
|
||||
return childUserId_;
|
||||
}
|
||||
|
||||
void RelieveAccountRelationRequest::setChildUserId(long childUserId)
|
||||
{
|
||||
childUserId_ = childUserId;
|
||||
setParameter("ChildUserId", std::to_string(childUserId));
|
||||
}
|
||||
|
||||
std::string RelieveAccountRelationRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void RelieveAccountRelationRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
73
bssopenapi/src/model/RelieveAccountRelationResult.cc
Normal file
73
bssopenapi/src/model/RelieveAccountRelationResult.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/bssopenapi/model/RelieveAccountRelationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
RelieveAccountRelationResult::RelieveAccountRelationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RelieveAccountRelationResult::RelieveAccountRelationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RelieveAccountRelationResult::~RelieveAccountRelationResult()
|
||||
{}
|
||||
|
||||
void RelieveAccountRelationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["HostId"].isNull())
|
||||
data_.hostId = dataNode["HostId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string RelieveAccountRelationResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
RelieveAccountRelationResult::Data RelieveAccountRelationResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string RelieveAccountRelationResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool RelieveAccountRelationResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
bssopenapi/src/model/SetAllExpirationDayRequest.cc
Normal file
51
bssopenapi/src/model/SetAllExpirationDayRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/bssopenapi/model/SetAllExpirationDayRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::SetAllExpirationDayRequest;
|
||||
|
||||
SetAllExpirationDayRequest::SetAllExpirationDayRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "SetAllExpirationDay")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetAllExpirationDayRequest::~SetAllExpirationDayRequest()
|
||||
{}
|
||||
|
||||
long SetAllExpirationDayRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SetAllExpirationDayRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SetAllExpirationDayRequest::getUnifyExpireDay()const
|
||||
{
|
||||
return unifyExpireDay_;
|
||||
}
|
||||
|
||||
void SetAllExpirationDayRequest::setUnifyExpireDay(const std::string& unifyExpireDay)
|
||||
{
|
||||
unifyExpireDay_ = unifyExpireDay;
|
||||
setParameter("UnifyExpireDay", unifyExpireDay);
|
||||
}
|
||||
|
||||
65
bssopenapi/src/model/SetAllExpirationDayResult.cc
Normal file
65
bssopenapi/src/model/SetAllExpirationDayResult.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/bssopenapi/model/SetAllExpirationDayResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
SetAllExpirationDayResult::SetAllExpirationDayResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SetAllExpirationDayResult::SetAllExpirationDayResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SetAllExpirationDayResult::~SetAllExpirationDayResult()
|
||||
{}
|
||||
|
||||
void SetAllExpirationDayResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string SetAllExpirationDayResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string SetAllExpirationDayResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool SetAllExpirationDayResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -60,6 +60,17 @@ void SubscribeBillToOSSRequest::setSubscribeBucket(const std::string& subscribeB
|
||||
setParameter("SubscribeBucket", subscribeBucket);
|
||||
}
|
||||
|
||||
std::string SubscribeBillToOSSRequest::getBeginBillingCycle()const
|
||||
{
|
||||
return beginBillingCycle_;
|
||||
}
|
||||
|
||||
void SubscribeBillToOSSRequest::setBeginBillingCycle(const std::string& beginBillingCycle)
|
||||
{
|
||||
beginBillingCycle_ = beginBillingCycle;
|
||||
setParameter("BeginBillingCycle", beginBillingCycle);
|
||||
}
|
||||
|
||||
std::string SubscribeBillToOSSRequest::getMultAccountRelSubscribe()const
|
||||
{
|
||||
return multAccountRelSubscribe_;
|
||||
|
||||
@@ -25,36 +25,24 @@ set(cloudesl_public_header_model
|
||||
include/alibabacloud/cloudesl/model/ActivateApDeviceResult.h
|
||||
include/alibabacloud/cloudesl/model/AddApDeviceRequest.h
|
||||
include/alibabacloud/cloudesl/model/AddApDeviceResult.h
|
||||
include/alibabacloud/cloudesl/model/AddPlanogramShelfRequest.h
|
||||
include/alibabacloud/cloudesl/model/AddPlanogramShelfResult.h
|
||||
include/alibabacloud/cloudesl/model/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
|
||||
include/alibabacloud/cloudesl/model/AssignUserResult.h
|
||||
include/alibabacloud/cloudesl/model/AssociatePlanogramRailRequest.h
|
||||
include/alibabacloud/cloudesl/model/AssociatePlanogramRailResult.h
|
||||
include/alibabacloud/cloudesl/model/BatchInsertItemsRequest.h
|
||||
include/alibabacloud/cloudesl/model/BatchInsertItemsResult.h
|
||||
include/alibabacloud/cloudesl/model/BindEslDeviceRequest.h
|
||||
include/alibabacloud/cloudesl/model/BindEslDeviceResult.h
|
||||
include/alibabacloud/cloudesl/model/ComposePlanogramPositionsRequest.h
|
||||
include/alibabacloud/cloudesl/model/ComposePlanogramPositionsResult.h
|
||||
include/alibabacloud/cloudesl/model/CreateStoreRequest.h
|
||||
include/alibabacloud/cloudesl/model/CreateStoreResult.h
|
||||
include/alibabacloud/cloudesl/model/DeleteApDeviceRequest.h
|
||||
include/alibabacloud/cloudesl/model/DeleteApDeviceResult.h
|
||||
include/alibabacloud/cloudesl/model/DeletePlanogramShelfRequest.h
|
||||
include/alibabacloud/cloudesl/model/DeletePlanogramShelfResult.h
|
||||
include/alibabacloud/cloudesl/model/DeleteRoleActionsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DeleteRoleActionsResult.h
|
||||
include/alibabacloud/cloudesl/model/DeleteItemRequest.h
|
||||
include/alibabacloud/cloudesl/model/DeleteItemResult.h
|
||||
include/alibabacloud/cloudesl/model/DeleteStoreRequest.h
|
||||
include/alibabacloud/cloudesl/model/DeleteStoreResult.h
|
||||
include/alibabacloud/cloudesl/model/DeleteUserRequest.h
|
||||
include/alibabacloud/cloudesl/model/DeleteUserResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeAlarmsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeAlarmsResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeApDevicesRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeApDevicesResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeBindersRequest.h
|
||||
@@ -65,28 +53,14 @@ set(cloudesl_public_header_model
|
||||
include/alibabacloud/cloudesl/model/DescribeEslDevicesResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeItemsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeItemsResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramEslDevicesRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramEslDevicesResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramPositionsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramPositionsResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramRailsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramRailsResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramShelvesRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribePlanogramShelvesResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeRoleActionsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeRoleActionsResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeStoreConfigRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeStoreConfigResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeStoreStatisticsRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeStoreStatisticsResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeStoresRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeStoresResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeUserLogRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeUserLogResult.h
|
||||
include/alibabacloud/cloudesl/model/DescribeUsersRequest.h
|
||||
include/alibabacloud/cloudesl/model/DescribeUsersResult.h
|
||||
include/alibabacloud/cloudesl/model/DissociatePlanogramRailRequest.h
|
||||
include/alibabacloud/cloudesl/model/DissociatePlanogramRailResult.h
|
||||
include/alibabacloud/cloudesl/model/GetUserRequest.h
|
||||
include/alibabacloud/cloudesl/model/GetUserResult.h
|
||||
include/alibabacloud/cloudesl/model/UnassignUserRequest.h
|
||||
@@ -98,9 +72,7 @@ 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/UpdateUserRequest.h
|
||||
include/alibabacloud/cloudesl/model/UpdateUserResult.h )
|
||||
include/alibabacloud/cloudesl/model/UpdateStoreConfigResult.h )
|
||||
|
||||
set(cloudesl_src
|
||||
src/CloudeslClient.cc
|
||||
@@ -108,36 +80,24 @@ set(cloudesl_src
|
||||
src/model/ActivateApDeviceResult.cc
|
||||
src/model/AddApDeviceRequest.cc
|
||||
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
|
||||
src/model/AssignUserResult.cc
|
||||
src/model/AssociatePlanogramRailRequest.cc
|
||||
src/model/AssociatePlanogramRailResult.cc
|
||||
src/model/BatchInsertItemsRequest.cc
|
||||
src/model/BatchInsertItemsResult.cc
|
||||
src/model/BindEslDeviceRequest.cc
|
||||
src/model/BindEslDeviceResult.cc
|
||||
src/model/ComposePlanogramPositionsRequest.cc
|
||||
src/model/ComposePlanogramPositionsResult.cc
|
||||
src/model/CreateStoreRequest.cc
|
||||
src/model/CreateStoreResult.cc
|
||||
src/model/DeleteApDeviceRequest.cc
|
||||
src/model/DeleteApDeviceResult.cc
|
||||
src/model/DeletePlanogramShelfRequest.cc
|
||||
src/model/DeletePlanogramShelfResult.cc
|
||||
src/model/DeleteRoleActionsRequest.cc
|
||||
src/model/DeleteRoleActionsResult.cc
|
||||
src/model/DeleteItemRequest.cc
|
||||
src/model/DeleteItemResult.cc
|
||||
src/model/DeleteStoreRequest.cc
|
||||
src/model/DeleteStoreResult.cc
|
||||
src/model/DeleteUserRequest.cc
|
||||
src/model/DeleteUserResult.cc
|
||||
src/model/DescribeAlarmsRequest.cc
|
||||
src/model/DescribeAlarmsResult.cc
|
||||
src/model/DescribeApDevicesRequest.cc
|
||||
src/model/DescribeApDevicesResult.cc
|
||||
src/model/DescribeBindersRequest.cc
|
||||
@@ -148,28 +108,14 @@ set(cloudesl_src
|
||||
src/model/DescribeEslDevicesResult.cc
|
||||
src/model/DescribeItemsRequest.cc
|
||||
src/model/DescribeItemsResult.cc
|
||||
src/model/DescribePlanogramEslDevicesRequest.cc
|
||||
src/model/DescribePlanogramEslDevicesResult.cc
|
||||
src/model/DescribePlanogramPositionsRequest.cc
|
||||
src/model/DescribePlanogramPositionsResult.cc
|
||||
src/model/DescribePlanogramRailsRequest.cc
|
||||
src/model/DescribePlanogramRailsResult.cc
|
||||
src/model/DescribePlanogramShelvesRequest.cc
|
||||
src/model/DescribePlanogramShelvesResult.cc
|
||||
src/model/DescribeRoleActionsRequest.cc
|
||||
src/model/DescribeRoleActionsResult.cc
|
||||
src/model/DescribeStoreConfigRequest.cc
|
||||
src/model/DescribeStoreConfigResult.cc
|
||||
src/model/DescribeStoreStatisticsRequest.cc
|
||||
src/model/DescribeStoreStatisticsResult.cc
|
||||
src/model/DescribeStoresRequest.cc
|
||||
src/model/DescribeStoresResult.cc
|
||||
src/model/DescribeUserLogRequest.cc
|
||||
src/model/DescribeUserLogResult.cc
|
||||
src/model/DescribeUsersRequest.cc
|
||||
src/model/DescribeUsersResult.cc
|
||||
src/model/DissociatePlanogramRailRequest.cc
|
||||
src/model/DissociatePlanogramRailResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/UnassignUserRequest.cc
|
||||
@@ -181,9 +127,7 @@ set(cloudesl_src
|
||||
src/model/UpdateStoreRequest.cc
|
||||
src/model/UpdateStoreResult.cc
|
||||
src/model/UpdateStoreConfigRequest.cc
|
||||
src/model/UpdateStoreConfigResult.cc
|
||||
src/model/UpdateUserRequest.cc
|
||||
src/model/UpdateUserResult.cc )
|
||||
src/model/UpdateStoreConfigResult.cc )
|
||||
|
||||
add_library(cloudesl ${LIB_TYPE}
|
||||
${cloudesl_public_header}
|
||||
|
||||
@@ -26,36 +26,24 @@
|
||||
#include "model/ActivateApDeviceResult.h"
|
||||
#include "model/AddApDeviceRequest.h"
|
||||
#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"
|
||||
#include "model/AssignUserResult.h"
|
||||
#include "model/AssociatePlanogramRailRequest.h"
|
||||
#include "model/AssociatePlanogramRailResult.h"
|
||||
#include "model/BatchInsertItemsRequest.h"
|
||||
#include "model/BatchInsertItemsResult.h"
|
||||
#include "model/BindEslDeviceRequest.h"
|
||||
#include "model/BindEslDeviceResult.h"
|
||||
#include "model/ComposePlanogramPositionsRequest.h"
|
||||
#include "model/ComposePlanogramPositionsResult.h"
|
||||
#include "model/CreateStoreRequest.h"
|
||||
#include "model/CreateStoreResult.h"
|
||||
#include "model/DeleteApDeviceRequest.h"
|
||||
#include "model/DeleteApDeviceResult.h"
|
||||
#include "model/DeletePlanogramShelfRequest.h"
|
||||
#include "model/DeletePlanogramShelfResult.h"
|
||||
#include "model/DeleteRoleActionsRequest.h"
|
||||
#include "model/DeleteRoleActionsResult.h"
|
||||
#include "model/DeleteItemRequest.h"
|
||||
#include "model/DeleteItemResult.h"
|
||||
#include "model/DeleteStoreRequest.h"
|
||||
#include "model/DeleteStoreResult.h"
|
||||
#include "model/DeleteUserRequest.h"
|
||||
#include "model/DeleteUserResult.h"
|
||||
#include "model/DescribeAlarmsRequest.h"
|
||||
#include "model/DescribeAlarmsResult.h"
|
||||
#include "model/DescribeApDevicesRequest.h"
|
||||
#include "model/DescribeApDevicesResult.h"
|
||||
#include "model/DescribeBindersRequest.h"
|
||||
@@ -66,28 +54,14 @@
|
||||
#include "model/DescribeEslDevicesResult.h"
|
||||
#include "model/DescribeItemsRequest.h"
|
||||
#include "model/DescribeItemsResult.h"
|
||||
#include "model/DescribePlanogramEslDevicesRequest.h"
|
||||
#include "model/DescribePlanogramEslDevicesResult.h"
|
||||
#include "model/DescribePlanogramPositionsRequest.h"
|
||||
#include "model/DescribePlanogramPositionsResult.h"
|
||||
#include "model/DescribePlanogramRailsRequest.h"
|
||||
#include "model/DescribePlanogramRailsResult.h"
|
||||
#include "model/DescribePlanogramShelvesRequest.h"
|
||||
#include "model/DescribePlanogramShelvesResult.h"
|
||||
#include "model/DescribeRoleActionsRequest.h"
|
||||
#include "model/DescribeRoleActionsResult.h"
|
||||
#include "model/DescribeStoreConfigRequest.h"
|
||||
#include "model/DescribeStoreConfigResult.h"
|
||||
#include "model/DescribeStoreStatisticsRequest.h"
|
||||
#include "model/DescribeStoreStatisticsResult.h"
|
||||
#include "model/DescribeStoresRequest.h"
|
||||
#include "model/DescribeStoresResult.h"
|
||||
#include "model/DescribeUserLogRequest.h"
|
||||
#include "model/DescribeUserLogResult.h"
|
||||
#include "model/DescribeUsersRequest.h"
|
||||
#include "model/DescribeUsersResult.h"
|
||||
#include "model/DissociatePlanogramRailRequest.h"
|
||||
#include "model/DissociatePlanogramRailResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/UnassignUserRequest.h"
|
||||
@@ -100,8 +74,6 @@
|
||||
#include "model/UpdateStoreResult.h"
|
||||
#include "model/UpdateStoreConfigRequest.h"
|
||||
#include "model/UpdateStoreConfigResult.h"
|
||||
#include "model/UpdateUserRequest.h"
|
||||
#include "model/UpdateUserResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -117,51 +89,33 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AddApDeviceResult> AddApDeviceOutcome;
|
||||
typedef std::future<AddApDeviceOutcome> AddApDeviceOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::AddApDeviceRequest&, const AddApDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddApDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddPlanogramShelfResult> AddPlanogramShelfOutcome;
|
||||
typedef std::future<AddPlanogramShelfOutcome> AddPlanogramShelfOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::AddPlanogramShelfRequest&, const AddPlanogramShelfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPlanogramShelfAsyncHandler;
|
||||
typedef Outcome<Error, Model::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;
|
||||
typedef Outcome<Error, Model::AssignUserResult> AssignUserOutcome;
|
||||
typedef std::future<AssignUserOutcome> AssignUserOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::AssignUserRequest&, const AssignUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssignUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::AssociatePlanogramRailResult> AssociatePlanogramRailOutcome;
|
||||
typedef std::future<AssociatePlanogramRailOutcome> AssociatePlanogramRailOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::AssociatePlanogramRailRequest&, const AssociatePlanogramRailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssociatePlanogramRailAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchInsertItemsResult> BatchInsertItemsOutcome;
|
||||
typedef std::future<BatchInsertItemsOutcome> BatchInsertItemsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::BatchInsertItemsRequest&, const BatchInsertItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchInsertItemsAsyncHandler;
|
||||
typedef Outcome<Error, Model::BindEslDeviceResult> BindEslDeviceOutcome;
|
||||
typedef std::future<BindEslDeviceOutcome> BindEslDeviceOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::BindEslDeviceRequest&, const BindEslDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindEslDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ComposePlanogramPositionsResult> ComposePlanogramPositionsOutcome;
|
||||
typedef std::future<ComposePlanogramPositionsOutcome> ComposePlanogramPositionsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::ComposePlanogramPositionsRequest&, const ComposePlanogramPositionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ComposePlanogramPositionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateStoreResult> CreateStoreOutcome;
|
||||
typedef std::future<CreateStoreOutcome> CreateStoreOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::CreateStoreRequest&, const CreateStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateStoreAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteApDeviceResult> DeleteApDeviceOutcome;
|
||||
typedef std::future<DeleteApDeviceOutcome> DeleteApDeviceOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DeleteApDeviceRequest&, const DeleteApDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteApDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePlanogramShelfResult> DeletePlanogramShelfOutcome;
|
||||
typedef std::future<DeletePlanogramShelfOutcome> DeletePlanogramShelfOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DeletePlanogramShelfRequest&, const DeletePlanogramShelfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePlanogramShelfAsyncHandler;
|
||||
typedef Outcome<Error, Model::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::DeleteItemResult> DeleteItemOutcome;
|
||||
typedef std::future<DeleteItemOutcome> DeleteItemOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DeleteItemRequest&, const DeleteItemOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteItemAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteStoreResult> DeleteStoreOutcome;
|
||||
typedef std::future<DeleteStoreOutcome> DeleteStoreOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DeleteStoreRequest&, const DeleteStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStoreAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteUserResult> DeleteUserOutcome;
|
||||
typedef std::future<DeleteUserOutcome> DeleteUserOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DeleteUserRequest&, const DeleteUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAlarmsResult> DescribeAlarmsOutcome;
|
||||
typedef std::future<DescribeAlarmsOutcome> DescribeAlarmsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeAlarmsRequest&, const DescribeAlarmsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAlarmsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeApDevicesResult> DescribeApDevicesOutcome;
|
||||
typedef std::future<DescribeApDevicesOutcome> DescribeApDevicesOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeApDevicesRequest&, const DescribeApDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeApDevicesAsyncHandler;
|
||||
@@ -177,27 +131,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeItemsResult> DescribeItemsOutcome;
|
||||
typedef std::future<DescribeItemsOutcome> DescribeItemsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeItemsRequest&, const DescribeItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeItemsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePlanogramEslDevicesResult> DescribePlanogramEslDevicesOutcome;
|
||||
typedef std::future<DescribePlanogramEslDevicesOutcome> DescribePlanogramEslDevicesOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribePlanogramEslDevicesRequest&, const DescribePlanogramEslDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePlanogramEslDevicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePlanogramPositionsResult> DescribePlanogramPositionsOutcome;
|
||||
typedef std::future<DescribePlanogramPositionsOutcome> DescribePlanogramPositionsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribePlanogramPositionsRequest&, const DescribePlanogramPositionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePlanogramPositionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePlanogramRailsResult> DescribePlanogramRailsOutcome;
|
||||
typedef std::future<DescribePlanogramRailsOutcome> DescribePlanogramRailsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribePlanogramRailsRequest&, const DescribePlanogramRailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePlanogramRailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePlanogramShelvesResult> DescribePlanogramShelvesOutcome;
|
||||
typedef std::future<DescribePlanogramShelvesOutcome> DescribePlanogramShelvesOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribePlanogramShelvesRequest&, const DescribePlanogramShelvesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePlanogramShelvesAsyncHandler;
|
||||
typedef Outcome<Error, Model::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;
|
||||
typedef Outcome<Error, Model::DescribeStoreStatisticsResult> DescribeStoreStatisticsOutcome;
|
||||
typedef std::future<DescribeStoreStatisticsOutcome> DescribeStoreStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeStoreStatisticsRequest&, const DescribeStoreStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStoreStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeStoresResult> DescribeStoresOutcome;
|
||||
typedef std::future<DescribeStoresOutcome> DescribeStoresOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeStoresRequest&, const DescribeStoresOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStoresAsyncHandler;
|
||||
@@ -207,9 +143,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeUsersResult> DescribeUsersOutcome;
|
||||
typedef std::future<DescribeUsersOutcome> DescribeUsersOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DescribeUsersRequest&, const DescribeUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::DissociatePlanogramRailResult> DissociatePlanogramRailOutcome;
|
||||
typedef std::future<DissociatePlanogramRailOutcome> DissociatePlanogramRailOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::DissociatePlanogramRailRequest&, const DissociatePlanogramRailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DissociatePlanogramRailAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||
typedef std::function<void(const CloudeslClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
||||
@@ -228,9 +161,6 @@ 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);
|
||||
@@ -242,51 +172,33 @@ namespace AlibabaCloud
|
||||
AddApDeviceOutcome addApDevice(const Model::AddApDeviceRequest &request)const;
|
||||
void addApDeviceAsync(const Model::AddApDeviceRequest& request, const AddApDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddApDeviceOutcomeCallable addApDeviceCallable(const Model::AddApDeviceRequest& request) const;
|
||||
AddPlanogramShelfOutcome addPlanogramShelf(const Model::AddPlanogramShelfRequest &request)const;
|
||||
void addPlanogramShelfAsync(const Model::AddPlanogramShelfRequest& request, const AddPlanogramShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddPlanogramShelfOutcomeCallable addPlanogramShelfCallable(const Model::AddPlanogramShelfRequest& request) const;
|
||||
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;
|
||||
AssignUserOutcome assignUser(const Model::AssignUserRequest &request)const;
|
||||
void assignUserAsync(const Model::AssignUserRequest& request, const AssignUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AssignUserOutcomeCallable assignUserCallable(const Model::AssignUserRequest& request) const;
|
||||
AssociatePlanogramRailOutcome associatePlanogramRail(const Model::AssociatePlanogramRailRequest &request)const;
|
||||
void associatePlanogramRailAsync(const Model::AssociatePlanogramRailRequest& request, const AssociatePlanogramRailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AssociatePlanogramRailOutcomeCallable associatePlanogramRailCallable(const Model::AssociatePlanogramRailRequest& request) const;
|
||||
BatchInsertItemsOutcome batchInsertItems(const Model::BatchInsertItemsRequest &request)const;
|
||||
void batchInsertItemsAsync(const Model::BatchInsertItemsRequest& request, const BatchInsertItemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchInsertItemsOutcomeCallable batchInsertItemsCallable(const Model::BatchInsertItemsRequest& request) const;
|
||||
BindEslDeviceOutcome bindEslDevice(const Model::BindEslDeviceRequest &request)const;
|
||||
void bindEslDeviceAsync(const Model::BindEslDeviceRequest& request, const BindEslDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BindEslDeviceOutcomeCallable bindEslDeviceCallable(const Model::BindEslDeviceRequest& request) const;
|
||||
ComposePlanogramPositionsOutcome composePlanogramPositions(const Model::ComposePlanogramPositionsRequest &request)const;
|
||||
void composePlanogramPositionsAsync(const Model::ComposePlanogramPositionsRequest& request, const ComposePlanogramPositionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ComposePlanogramPositionsOutcomeCallable composePlanogramPositionsCallable(const Model::ComposePlanogramPositionsRequest& request) const;
|
||||
CreateStoreOutcome createStore(const Model::CreateStoreRequest &request)const;
|
||||
void createStoreAsync(const Model::CreateStoreRequest& request, const CreateStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateStoreOutcomeCallable createStoreCallable(const Model::CreateStoreRequest& request) const;
|
||||
DeleteApDeviceOutcome deleteApDevice(const Model::DeleteApDeviceRequest &request)const;
|
||||
void deleteApDeviceAsync(const Model::DeleteApDeviceRequest& request, const DeleteApDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteApDeviceOutcomeCallable deleteApDeviceCallable(const Model::DeleteApDeviceRequest& request) const;
|
||||
DeletePlanogramShelfOutcome deletePlanogramShelf(const Model::DeletePlanogramShelfRequest &request)const;
|
||||
void deletePlanogramShelfAsync(const Model::DeletePlanogramShelfRequest& request, const DeletePlanogramShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePlanogramShelfOutcomeCallable deletePlanogramShelfCallable(const Model::DeletePlanogramShelfRequest& request) const;
|
||||
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;
|
||||
DeleteItemOutcome deleteItem(const Model::DeleteItemRequest &request)const;
|
||||
void deleteItemAsync(const Model::DeleteItemRequest& request, const DeleteItemAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteItemOutcomeCallable deleteItemCallable(const Model::DeleteItemRequest& request) const;
|
||||
DeleteStoreOutcome deleteStore(const Model::DeleteStoreRequest &request)const;
|
||||
void deleteStoreAsync(const Model::DeleteStoreRequest& request, const DeleteStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteStoreOutcomeCallable deleteStoreCallable(const Model::DeleteStoreRequest& request) const;
|
||||
DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const;
|
||||
void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const;
|
||||
DescribeAlarmsOutcome describeAlarms(const Model::DescribeAlarmsRequest &request)const;
|
||||
void describeAlarmsAsync(const Model::DescribeAlarmsRequest& request, const DescribeAlarmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAlarmsOutcomeCallable describeAlarmsCallable(const Model::DescribeAlarmsRequest& request) const;
|
||||
DescribeApDevicesOutcome describeApDevices(const Model::DescribeApDevicesRequest &request)const;
|
||||
void describeApDevicesAsync(const Model::DescribeApDevicesRequest& request, const DescribeApDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeApDevicesOutcomeCallable describeApDevicesCallable(const Model::DescribeApDevicesRequest& request) const;
|
||||
@@ -302,27 +214,9 @@ namespace AlibabaCloud
|
||||
DescribeItemsOutcome describeItems(const Model::DescribeItemsRequest &request)const;
|
||||
void describeItemsAsync(const Model::DescribeItemsRequest& request, const DescribeItemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeItemsOutcomeCallable describeItemsCallable(const Model::DescribeItemsRequest& request) const;
|
||||
DescribePlanogramEslDevicesOutcome describePlanogramEslDevices(const Model::DescribePlanogramEslDevicesRequest &request)const;
|
||||
void describePlanogramEslDevicesAsync(const Model::DescribePlanogramEslDevicesRequest& request, const DescribePlanogramEslDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePlanogramEslDevicesOutcomeCallable describePlanogramEslDevicesCallable(const Model::DescribePlanogramEslDevicesRequest& request) const;
|
||||
DescribePlanogramPositionsOutcome describePlanogramPositions(const Model::DescribePlanogramPositionsRequest &request)const;
|
||||
void describePlanogramPositionsAsync(const Model::DescribePlanogramPositionsRequest& request, const DescribePlanogramPositionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePlanogramPositionsOutcomeCallable describePlanogramPositionsCallable(const Model::DescribePlanogramPositionsRequest& request) const;
|
||||
DescribePlanogramRailsOutcome describePlanogramRails(const Model::DescribePlanogramRailsRequest &request)const;
|
||||
void describePlanogramRailsAsync(const Model::DescribePlanogramRailsRequest& request, const DescribePlanogramRailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePlanogramRailsOutcomeCallable describePlanogramRailsCallable(const Model::DescribePlanogramRailsRequest& request) const;
|
||||
DescribePlanogramShelvesOutcome describePlanogramShelves(const Model::DescribePlanogramShelvesRequest &request)const;
|
||||
void describePlanogramShelvesAsync(const Model::DescribePlanogramShelvesRequest& request, const DescribePlanogramShelvesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePlanogramShelvesOutcomeCallable describePlanogramShelvesCallable(const Model::DescribePlanogramShelvesRequest& request) const;
|
||||
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;
|
||||
DescribeStoreStatisticsOutcome describeStoreStatistics(const Model::DescribeStoreStatisticsRequest &request)const;
|
||||
void describeStoreStatisticsAsync(const Model::DescribeStoreStatisticsRequest& request, const DescribeStoreStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeStoreStatisticsOutcomeCallable describeStoreStatisticsCallable(const Model::DescribeStoreStatisticsRequest& request) const;
|
||||
DescribeStoresOutcome describeStores(const Model::DescribeStoresRequest &request)const;
|
||||
void describeStoresAsync(const Model::DescribeStoresRequest& request, const DescribeStoresAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeStoresOutcomeCallable describeStoresCallable(const Model::DescribeStoresRequest& request) const;
|
||||
@@ -332,9 +226,6 @@ namespace AlibabaCloud
|
||||
DescribeUsersOutcome describeUsers(const Model::DescribeUsersRequest &request)const;
|
||||
void describeUsersAsync(const Model::DescribeUsersRequest& request, const DescribeUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUsersOutcomeCallable describeUsersCallable(const Model::DescribeUsersRequest& request) const;
|
||||
DissociatePlanogramRailOutcome dissociatePlanogramRail(const Model::DissociatePlanogramRailRequest &request)const;
|
||||
void dissociatePlanogramRailAsync(const Model::DissociatePlanogramRailRequest& request, const DissociatePlanogramRailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DissociatePlanogramRailOutcomeCallable dissociatePlanogramRailCallable(const Model::DissociatePlanogramRailRequest& request) const;
|
||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||
@@ -353,9 +244,6 @@ 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_;
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT AddPlanogramShelfRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddPlanogramShelfRequest();
|
||||
~AddPlanogramShelfRequest();
|
||||
|
||||
std::string 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_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ADDPLANOGRAMSHELFREQUEST_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_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_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_ASSOCIATEPLANOGRAMRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_ASSOCIATEPLANOGRAMRAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT AssociatePlanogramRailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AssociatePlanogramRailRequest();
|
||||
~AssociatePlanogramRailRequest();
|
||||
|
||||
std::string 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 getRailCode()const;
|
||||
void setRailCode(const std::string& railCode);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
int layer_;
|
||||
std::string shelf_;
|
||||
std::string railCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_ASSOCIATEPLANOGRAMRAILREQUEST_H_
|
||||
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT ComposePlanogramPositionsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct ShelfPositionInfo
|
||||
{
|
||||
float offsetFrom;
|
||||
float depth;
|
||||
std::string column;
|
||||
int facing;
|
||||
float offsetTo;
|
||||
std::string itemBarCode;
|
||||
};
|
||||
|
||||
public:
|
||||
ComposePlanogramPositionsRequest();
|
||||
~ComposePlanogramPositionsRequest();
|
||||
|
||||
std::string getActionType()const;
|
||||
void setActionType(const std::string& actionType);
|
||||
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 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_;
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
int layer_;
|
||||
std::string layerOrigin_;
|
||||
bool beAutoRefresh_;
|
||||
std::string shelf_;
|
||||
std::vector<ShelfPositionInfo> shelfPositionInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_COMPOSEPLANOGRAMPOSITIONSREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,27 +28,27 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DissociatePlanogramRailRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteItemRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DissociatePlanogramRailRequest();
|
||||
~DissociatePlanogramRailRequest();
|
||||
DeleteItemRequest();
|
||||
~DeleteItemRequest();
|
||||
|
||||
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);
|
||||
std::string getItemBarCode()const;
|
||||
void setItemBarCode(const std::string& itemBarCode);
|
||||
bool getUnbindEslDevice()const;
|
||||
void setUnbindEslDevice(bool unbindEslDevice);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
std::string railCode_;
|
||||
std::string itemBarCode_;
|
||||
bool unbindEslDevice_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DISSOCIATEPLANOGRAMRAILREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,18 +29,18 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT UpdateUserResult : public ServiceResult
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DeleteItemResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateUserResult();
|
||||
explicit UpdateUserResult(const std::string &payload);
|
||||
~UpdateUserResult();
|
||||
DeleteItemResult();
|
||||
explicit DeleteItemResult(const std::string &payload);
|
||||
~DeleteItemResult();
|
||||
std::string getMessage()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -50,8 +50,8 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string message_;
|
||||
std::string dynamicCode_;
|
||||
std::string errorCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
@@ -60,4 +60,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_UPDATEUSERRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEITEMRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DeletePlanogramShelfRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeletePlanogramShelfRequest();
|
||||
~DeletePlanogramShelfRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
bool getBeAutoRefresh()const;
|
||||
void setBeAutoRefresh(bool beAutoRefresh);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
std::string getShelf()const;
|
||||
void setShelf(const std::string& shelf);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
bool beAutoRefresh_;
|
||||
std::string storeId_;
|
||||
std::string shelf_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DELETEPLANOGRAMSHELFREQUEST_H_
|
||||
@@ -1,54 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_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_
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEALARMSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEALARMSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribeAlarmsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAlarmsRequest();
|
||||
~DescribeAlarmsRequest();
|
||||
|
||||
std::string 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);
|
||||
std::string getAlarmType()const;
|
||||
void setAlarmType(const std::string& alarmType);
|
||||
std::string getAlarmStatus()const;
|
||||
void setAlarmStatus(const std::string& alarmStatus);
|
||||
std::string getErrorType()const;
|
||||
void setErrorType(const std::string& errorType);
|
||||
std::string getAlarmId()const;
|
||||
void setAlarmId(const std::string& alarmId);
|
||||
std::string getDeviceMac()const;
|
||||
void setDeviceMac(const std::string& deviceMac);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string alarmType_;
|
||||
std::string alarmStatus_;
|
||||
std::string errorType_;
|
||||
std::string alarmId_;
|
||||
std::string deviceMac_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEALARMSREQUEST_H_
|
||||
@@ -1,91 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEALARMSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEALARMSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribeAlarmsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AlarmInfo
|
||||
{
|
||||
std::string alarmId;
|
||||
std::string retryGmtCreate;
|
||||
std::string alarmType;
|
||||
std::string deviceBarCode;
|
||||
std::string deviceMac;
|
||||
std::string itemBarCode;
|
||||
std::string remark;
|
||||
std::string deviceType;
|
||||
std::string storeId;
|
||||
std::string errorType;
|
||||
std::string alarmTime;
|
||||
std::string dealUserId;
|
||||
std::string itemTitle;
|
||||
std::string retryGmtModified;
|
||||
std::string alarmStatus;
|
||||
std::string dealTime;
|
||||
long retryTimes;
|
||||
};
|
||||
|
||||
|
||||
DescribeAlarmsResult();
|
||||
explicit DescribeAlarmsResult(const std::string &payload);
|
||||
~DescribeAlarmsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
std::string getMessage()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<AlarmInfo> getAlarms()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
std::string message_;
|
||||
int pageNumber_;
|
||||
std::vector<AlarmInfo> alarms_;
|
||||
std::string dynamicCode_;
|
||||
std::string errorCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEALARMSRESULT_H_
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string eslBarCode;
|
||||
std::string type;
|
||||
int eslSignal;
|
||||
int batteryLevel;
|
||||
std::string storeId;
|
||||
std::string model;
|
||||
|
||||
@@ -71,6 +71,7 @@ namespace AlibabaCloud
|
||||
std::string sourceCode;
|
||||
std::string gmtModified;
|
||||
std::string itemBarCode;
|
||||
std::string templateSceneId;
|
||||
int salesPrice;
|
||||
std::string itemShortTitle;
|
||||
std::string itemPicUrl;
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramEslDevicesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePlanogramEslDevicesRequest();
|
||||
~DescribePlanogramEslDevicesRequest();
|
||||
|
||||
std::string 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_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESREQUEST_H_
|
||||
@@ -1,86 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramEslDevicesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct EslDeviceLayerInfo
|
||||
{
|
||||
struct EslDevicePositionInfo
|
||||
{
|
||||
struct EslDevicePlanogramInfo
|
||||
{
|
||||
std::string eslModel;
|
||||
std::string eslBarCode;
|
||||
std::string itemTitle;
|
||||
std::string itemBarCode;
|
||||
};
|
||||
std::vector<EslDevicePositionInfo::EslDevicePlanogramInfo> eslDevicePlanogramInfos;
|
||||
std::string column;
|
||||
};
|
||||
int layer;
|
||||
std::vector<EslDeviceLayerInfo::EslDevicePositionInfo> eslDevicePositionInfos;
|
||||
};
|
||||
|
||||
|
||||
DescribePlanogramEslDevicesResult();
|
||||
explicit DescribePlanogramEslDevicesResult(const std::string &payload);
|
||||
~DescribePlanogramEslDevicesResult();
|
||||
std::string getMessage()const;
|
||||
std::string getStoreId()const;
|
||||
std::string getShelf()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrorCode()const;
|
||||
std::vector<EslDeviceLayerInfo> getEslDeviceLayerInfos()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string storeId_;
|
||||
std::string shelf_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorCode_;
|
||||
std::vector<EslDeviceLayerInfo> eslDeviceLayerInfos_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMESLDEVICESRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramPositionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePlanogramPositionsRequest();
|
||||
~DescribePlanogramPositionsRequest();
|
||||
|
||||
std::string 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);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
int layer_;
|
||||
std::string shelf_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSREQUEST_H_
|
||||
@@ -1,88 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramPositionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LayerInfo
|
||||
{
|
||||
struct ShelfPositionInfo
|
||||
{
|
||||
int facing;
|
||||
float offsetTo;
|
||||
std::string column;
|
||||
std::string itemTitle;
|
||||
std::string itemBarCode;
|
||||
float offsetFrom;
|
||||
float depth;
|
||||
};
|
||||
std::string layerOrigin;
|
||||
std::string railCode;
|
||||
int layer;
|
||||
std::vector<LayerInfo::ShelfPositionInfo> shelfPositionInfos;
|
||||
};
|
||||
|
||||
|
||||
DescribePlanogramPositionsResult();
|
||||
explicit DescribePlanogramPositionsResult(const std::string &payload);
|
||||
~DescribePlanogramPositionsResult();
|
||||
std::string getMessage()const;
|
||||
std::string getStoreId()const;
|
||||
std::string getShelfType()const;
|
||||
std::string getShelf()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::vector<LayerInfo> getLayerInfos()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string storeId_;
|
||||
std::string shelfType_;
|
||||
std::string shelf_;
|
||||
std::string dynamicCode_;
|
||||
std::vector<LayerInfo> layerInfos_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMPOSITIONSRESULT_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramRailsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePlanogramRailsRequest();
|
||||
~DescribePlanogramRailsRequest();
|
||||
|
||||
std::string 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);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
int layer_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string shelf_;
|
||||
std::string railCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSREQUEST_H_
|
||||
@@ -1,80 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramRailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PlanogramRailInfo
|
||||
{
|
||||
std::string railCode;
|
||||
std::string shelf;
|
||||
int gapUnit;
|
||||
int layer;
|
||||
};
|
||||
|
||||
|
||||
DescribePlanogramRailsResult();
|
||||
explicit DescribePlanogramRailsResult(const std::string &payload);
|
||||
~DescribePlanogramRailsResult();
|
||||
std::vector<PlanogramRailInfo> getPlanogramRailInfos()const;
|
||||
int getTotalCount()const;
|
||||
std::string getMessage()const;
|
||||
std::string getStoreId()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PlanogramRailInfo> planogramRailInfos_;
|
||||
int totalCount_;
|
||||
std::string message_;
|
||||
std::string storeId_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMRAILSRESULT_H_
|
||||
@@ -1,86 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudesl/CloudeslExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudesl
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDESL_EXPORT DescribePlanogramShelvesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ShelfInfo
|
||||
{
|
||||
struct LayerInfo
|
||||
{
|
||||
int layer;
|
||||
};
|
||||
std::string category;
|
||||
std::string shelfType;
|
||||
std::string zone;
|
||||
std::string shelf;
|
||||
std::vector<ShelfInfo::LayerInfo> layerInfos;
|
||||
bool beMatch;
|
||||
};
|
||||
|
||||
|
||||
DescribePlanogramShelvesResult();
|
||||
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;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
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_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBEPLANOGRAMSHELVESRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESTATISTICSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESTATISTICSREQUEST_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 DescribeStoreStatisticsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeStoreStatisticsRequest();
|
||||
~DescribeStoreStatisticsRequest();
|
||||
|
||||
std::string getExtraParams()const;
|
||||
void setExtraParams(const std::string& extraParams);
|
||||
std::string getStoreId()const;
|
||||
void setStoreId(const std::string& storeId);
|
||||
std::string getFromDate()const;
|
||||
void setFromDate(const std::string& fromDate);
|
||||
std::string getToDate()const;
|
||||
void setToDate(const std::string& toDate);
|
||||
|
||||
private:
|
||||
std::string extraParams_;
|
||||
std::string storeId_;
|
||||
std::string fromDate_;
|
||||
std::string toDate_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESTATISTICSREQUEST_H_
|
||||
@@ -1,81 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESTATISTICSRESULT_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 DescribeStoreStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct StoreStatisticsInfo
|
||||
{
|
||||
std::string storeName;
|
||||
int bindEsl;
|
||||
int bindItem;
|
||||
std::string statisticsTime;
|
||||
int sendFailEsl;
|
||||
int lowBatteryEsl;
|
||||
int offlineEslDevice;
|
||||
int displayFailEsl;
|
||||
int activeApDevice;
|
||||
std::string storeId;
|
||||
int updateEsl;
|
||||
int updateFailureEsl;
|
||||
int abnormalEsl;
|
||||
};
|
||||
|
||||
|
||||
DescribeStoreStatisticsResult();
|
||||
explicit DescribeStoreStatisticsResult(const std::string &payload);
|
||||
~DescribeStoreStatisticsResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<StoreStatisticsInfo> getStoreStatisticsInfoList()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<StoreStatisticsInfo> storeStatisticsInfoList_;
|
||||
std::string dynamicCode_;
|
||||
std::string errorCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDESL_MODEL_DESCRIBESTORESTATISTICSRESULT_H_
|
||||
@@ -43,6 +43,7 @@ namespace AlibabaCloud
|
||||
std::string itemId;
|
||||
std::string gmtCreate;
|
||||
std::string eslBarCode;
|
||||
int eslSignal;
|
||||
std::string priceUnit;
|
||||
std::string itemShortTitle;
|
||||
std::string storeId;
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDESL_MODEL_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_
|
||||
@@ -123,78 +123,6 @@ CloudeslClient::AddApDeviceOutcomeCallable CloudeslClient::addApDeviceCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::AddPlanogramShelfOutcome CloudeslClient::addPlanogramShelf(const AddPlanogramShelfRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddPlanogramShelfOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddPlanogramShelfOutcome(AddPlanogramShelfResult(outcome.result()));
|
||||
else
|
||||
return AddPlanogramShelfOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::addPlanogramShelfAsync(const AddPlanogramShelfRequest& request, const AddPlanogramShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addPlanogramShelf(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::AddPlanogramShelfOutcomeCallable CloudeslClient::addPlanogramShelfCallable(const AddPlanogramShelfRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddPlanogramShelfOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addPlanogramShelf(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
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();
|
||||
@@ -267,42 +195,6 @@ CloudeslClient::AssignUserOutcomeCallable CloudeslClient::assignUserCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::AssociatePlanogramRailOutcome CloudeslClient::associatePlanogramRail(const AssociatePlanogramRailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AssociatePlanogramRailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AssociatePlanogramRailOutcome(AssociatePlanogramRailResult(outcome.result()));
|
||||
else
|
||||
return AssociatePlanogramRailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::associatePlanogramRailAsync(const AssociatePlanogramRailRequest& request, const AssociatePlanogramRailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, associatePlanogramRail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::AssociatePlanogramRailOutcomeCallable CloudeslClient::associatePlanogramRailCallable(const AssociatePlanogramRailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AssociatePlanogramRailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->associatePlanogramRail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::BatchInsertItemsOutcome CloudeslClient::batchInsertItems(const BatchInsertItemsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,42 +267,6 @@ CloudeslClient::BindEslDeviceOutcomeCallable CloudeslClient::bindEslDeviceCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::ComposePlanogramPositionsOutcome CloudeslClient::composePlanogramPositions(const ComposePlanogramPositionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ComposePlanogramPositionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ComposePlanogramPositionsOutcome(ComposePlanogramPositionsResult(outcome.result()));
|
||||
else
|
||||
return ComposePlanogramPositionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::composePlanogramPositionsAsync(const ComposePlanogramPositionsRequest& request, const ComposePlanogramPositionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, composePlanogramPositions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::ComposePlanogramPositionsOutcomeCallable CloudeslClient::composePlanogramPositionsCallable(const ComposePlanogramPositionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ComposePlanogramPositionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->composePlanogramPositions(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::CreateStoreOutcome CloudeslClient::createStore(const CreateStoreRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -483,72 +339,36 @@ CloudeslClient::DeleteApDeviceOutcomeCallable CloudeslClient::deleteApDeviceCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DeletePlanogramShelfOutcome CloudeslClient::deletePlanogramShelf(const DeletePlanogramShelfRequest &request) const
|
||||
CloudeslClient::DeleteItemOutcome CloudeslClient::deleteItem(const DeleteItemRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeletePlanogramShelfOutcome(endpointOutcome.error());
|
||||
return DeleteItemOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeletePlanogramShelfOutcome(DeletePlanogramShelfResult(outcome.result()));
|
||||
return DeleteItemOutcome(DeleteItemResult(outcome.result()));
|
||||
else
|
||||
return DeletePlanogramShelfOutcome(outcome.error());
|
||||
return DeleteItemOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::deletePlanogramShelfAsync(const DeletePlanogramShelfRequest& request, const DeletePlanogramShelfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void CloudeslClient::deleteItemAsync(const DeleteItemRequest& request, const DeleteItemAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deletePlanogramShelf(request), context);
|
||||
handler(this, request, deleteItem(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DeletePlanogramShelfOutcomeCallable CloudeslClient::deletePlanogramShelfCallable(const DeletePlanogramShelfRequest &request) const
|
||||
CloudeslClient::DeleteItemOutcomeCallable CloudeslClient::deleteItemCallable(const DeleteItemRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeletePlanogramShelfOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<DeleteItemOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deletePlanogramShelf(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
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);
|
||||
return this->deleteItem(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -627,42 +447,6 @@ CloudeslClient::DeleteUserOutcomeCallable CloudeslClient::deleteUserCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeAlarmsOutcome CloudeslClient::describeAlarms(const DescribeAlarmsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAlarmsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAlarmsOutcome(DescribeAlarmsResult(outcome.result()));
|
||||
else
|
||||
return DescribeAlarmsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describeAlarmsAsync(const DescribeAlarmsRequest& request, const DescribeAlarmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAlarms(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeAlarmsOutcomeCallable CloudeslClient::describeAlarmsCallable(const DescribeAlarmsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAlarmsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAlarms(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeApDevicesOutcome CloudeslClient::describeApDevices(const DescribeApDevicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -843,186 +627,6 @@ CloudeslClient::DescribeItemsOutcomeCallable CloudeslClient::describeItemsCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramEslDevicesOutcome CloudeslClient::describePlanogramEslDevices(const DescribePlanogramEslDevicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribePlanogramEslDevicesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribePlanogramEslDevicesOutcome(DescribePlanogramEslDevicesResult(outcome.result()));
|
||||
else
|
||||
return DescribePlanogramEslDevicesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describePlanogramEslDevicesAsync(const DescribePlanogramEslDevicesRequest& request, const DescribePlanogramEslDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describePlanogramEslDevices(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramEslDevicesOutcomeCallable CloudeslClient::describePlanogramEslDevicesCallable(const DescribePlanogramEslDevicesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribePlanogramEslDevicesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describePlanogramEslDevices(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramPositionsOutcome CloudeslClient::describePlanogramPositions(const DescribePlanogramPositionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribePlanogramPositionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribePlanogramPositionsOutcome(DescribePlanogramPositionsResult(outcome.result()));
|
||||
else
|
||||
return DescribePlanogramPositionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describePlanogramPositionsAsync(const DescribePlanogramPositionsRequest& request, const DescribePlanogramPositionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describePlanogramPositions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramPositionsOutcomeCallable CloudeslClient::describePlanogramPositionsCallable(const DescribePlanogramPositionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribePlanogramPositionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describePlanogramPositions(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramRailsOutcome CloudeslClient::describePlanogramRails(const DescribePlanogramRailsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribePlanogramRailsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribePlanogramRailsOutcome(DescribePlanogramRailsResult(outcome.result()));
|
||||
else
|
||||
return DescribePlanogramRailsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describePlanogramRailsAsync(const DescribePlanogramRailsRequest& request, const DescribePlanogramRailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describePlanogramRails(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramRailsOutcomeCallable CloudeslClient::describePlanogramRailsCallable(const DescribePlanogramRailsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribePlanogramRailsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describePlanogramRails(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramShelvesOutcome CloudeslClient::describePlanogramShelves(const DescribePlanogramShelvesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribePlanogramShelvesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribePlanogramShelvesOutcome(DescribePlanogramShelvesResult(outcome.result()));
|
||||
else
|
||||
return DescribePlanogramShelvesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describePlanogramShelvesAsync(const DescribePlanogramShelvesRequest& request, const DescribePlanogramShelvesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describePlanogramShelves(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribePlanogramShelvesOutcomeCallable CloudeslClient::describePlanogramShelvesCallable(const DescribePlanogramShelvesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribePlanogramShelvesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describePlanogramShelves(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
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();
|
||||
@@ -1059,42 +663,6 @@ CloudeslClient::DescribeStoreConfigOutcomeCallable CloudeslClient::describeStore
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeStoreStatisticsOutcome CloudeslClient::describeStoreStatistics(const DescribeStoreStatisticsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeStoreStatisticsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeStoreStatisticsOutcome(DescribeStoreStatisticsResult(outcome.result()));
|
||||
else
|
||||
return DescribeStoreStatisticsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::describeStoreStatisticsAsync(const DescribeStoreStatisticsRequest& request, const DescribeStoreStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeStoreStatistics(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeStoreStatisticsOutcomeCallable CloudeslClient::describeStoreStatisticsCallable(const DescribeStoreStatisticsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeStoreStatisticsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeStoreStatistics(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DescribeStoresOutcome CloudeslClient::describeStores(const DescribeStoresRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1203,42 +771,6 @@ CloudeslClient::DescribeUsersOutcomeCallable CloudeslClient::describeUsersCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::DissociatePlanogramRailOutcome CloudeslClient::dissociatePlanogramRail(const DissociatePlanogramRailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DissociatePlanogramRailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DissociatePlanogramRailOutcome(DissociatePlanogramRailResult(outcome.result()));
|
||||
else
|
||||
return DissociatePlanogramRailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudeslClient::dissociatePlanogramRailAsync(const DissociatePlanogramRailRequest& request, const DissociatePlanogramRailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, dissociatePlanogramRail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudeslClient::DissociatePlanogramRailOutcomeCallable CloudeslClient::dissociatePlanogramRailCallable(const DissociatePlanogramRailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DissociatePlanogramRailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->dissociatePlanogramRail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudeslClient::GetUserOutcome CloudeslClient::getUser(const GetUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1455,39 +987,3 @@ 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();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudesl/model/AddPlanogramShelfRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudesl::Model::AddPlanogramShelfRequest;
|
||||
|
||||
AddPlanogramShelfRequest::AddPlanogramShelfRequest() :
|
||||
RpcServiceRequest("cloudesl", "2020-02-01", "AddPlanogramShelf")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setShelfType(const std::string& shelfType)
|
||||
{
|
||||
shelfType_ = shelfType;
|
||||
setBodyParameter("ShelfType", shelfType);
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getStoreId()const
|
||||
{
|
||||
return storeId_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setStoreId(const std::string& storeId)
|
||||
{
|
||||
storeId_ = 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_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setShelf(const std::string& shelf)
|
||||
{
|
||||
shelf_ = shelf;
|
||||
setBodyParameter("Shelf", shelf);
|
||||
}
|
||||
|
||||
std::string AddPlanogramShelfRequest::getCategory()const
|
||||
{
|
||||
return category_;
|
||||
}
|
||||
|
||||
void AddPlanogramShelfRequest::setCategory(const std::string& category)
|
||||
{
|
||||
category_ = category;
|
||||
setBodyParameter("Category", category);
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user