Add other language.

This commit is contained in:
sdk-team
2023-02-07 06:02:31 +00:00
parent 662d539c6f
commit 824992b7be
61 changed files with 3780 additions and 1132 deletions

View File

@@ -50,10 +50,20 @@
#include "model/CreateSavingsPlansInstanceResult.h"
#include "model/DeleteCostUnitRequest.h"
#include "model/DeleteCostUnitResult.h"
#include "model/DescribeCostBudgetsSummaryRequest.h"
#include "model/DescribeCostBudgetsSummaryResult.h"
#include "model/DescribeInstanceAmortizedCostByAmortizationPeriodRequest.h"
#include "model/DescribeInstanceAmortizedCostByAmortizationPeriodResult.h"
#include "model/DescribeInstanceAmortizedCostByConsumePeriodRequest.h"
#include "model/DescribeInstanceAmortizedCostByConsumePeriodResult.h"
#include "model/DescribeInstanceBillRequest.h"
#include "model/DescribeInstanceBillResult.h"
#include "model/DescribePricingModuleRequest.h"
#include "model/DescribePricingModuleResult.h"
#include "model/DescribeProductAmortizedCostByAmortizationPeriodRequest.h"
#include "model/DescribeProductAmortizedCostByAmortizationPeriodResult.h"
#include "model/DescribeProductAmortizedCostByConsumePeriodRequest.h"
#include "model/DescribeProductAmortizedCostByConsumePeriodResult.h"
#include "model/DescribeResourceCoverageDetailRequest.h"
#include "model/DescribeResourceCoverageDetailResult.h"
#include "model/DescribeResourceCoverageTotalRequest.h"
@@ -116,6 +126,8 @@
#include "model/QueryBillToOSSSubscriptionResult.h"
#include "model/QueryCashCouponsRequest.h"
#include "model/QueryCashCouponsResult.h"
#include "model/QueryCommodityListRequest.h"
#include "model/QueryCommodityListResult.h"
#include "model/QueryCostUnitRequest.h"
#include "model/QueryCostUnitResult.h"
#include "model/QueryCostUnitResourceRequest.h"
@@ -136,16 +148,14 @@
#include "model/QueryInstanceGaapCostResult.h"
#include "model/QueryInvoicingCustomerListRequest.h"
#include "model/QueryInvoicingCustomerListResult.h"
#include "model/QueryMonthlyBillRequest.h"
#include "model/QueryMonthlyBillResult.h"
#include "model/QueryMonthlyInstanceConsumptionRequest.h"
#include "model/QueryMonthlyInstanceConsumptionResult.h"
#include "model/QueryOrdersRequest.h"
#include "model/QueryOrdersResult.h"
#include "model/QueryPermissionListRequest.h"
#include "model/QueryPermissionListResult.h"
#include "model/QueryPrepaidCardsRequest.h"
#include "model/QueryPrepaidCardsResult.h"
#include "model/QueryPriceEntityListRequest.h"
#include "model/QueryPriceEntityListResult.h"
#include "model/QueryProductListRequest.h"
#include "model/QueryProductListResult.h"
#include "model/QueryRIUtilizationDetailRequest.h"
@@ -160,12 +170,14 @@
#include "model/QueryResourcePackageInstancesResult.h"
#include "model/QuerySavingsPlansDeductLogRequest.h"
#include "model/QuerySavingsPlansDeductLogResult.h"
#include "model/QuerySavingsPlansDiscountRequest.h"
#include "model/QuerySavingsPlansDiscountResult.h"
#include "model/QuerySavingsPlansInstanceRequest.h"
#include "model/QuerySavingsPlansInstanceResult.h"
#include "model/QuerySettleBillRequest.h"
#include "model/QuerySettleBillResult.h"
#include "model/QuerySettlementBillRequest.h"
#include "model/QuerySettlementBillResult.h"
#include "model/QuerySkuPriceListRequest.h"
#include "model/QuerySkuPriceListResult.h"
#include "model/QuerySplitItemBillRequest.h"
#include "model/QuerySplitItemBillResult.h"
#include "model/QueryUserOmsDataRequest.h"
@@ -255,12 +267,27 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteCostUnitResult> DeleteCostUnitOutcome;
typedef std::future<DeleteCostUnitOutcome> DeleteCostUnitOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DeleteCostUnitRequest&, const DeleteCostUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCostUnitAsyncHandler;
typedef Outcome<Error, Model::DescribeCostBudgetsSummaryResult> DescribeCostBudgetsSummaryOutcome;
typedef std::future<DescribeCostBudgetsSummaryOutcome> DescribeCostBudgetsSummaryOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeCostBudgetsSummaryRequest&, const DescribeCostBudgetsSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCostBudgetsSummaryAsyncHandler;
typedef Outcome<Error, Model::DescribeInstanceAmortizedCostByAmortizationPeriodResult> DescribeInstanceAmortizedCostByAmortizationPeriodOutcome;
typedef std::future<DescribeInstanceAmortizedCostByAmortizationPeriodOutcome> DescribeInstanceAmortizedCostByAmortizationPeriodOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeInstanceAmortizedCostByAmortizationPeriodRequest&, const DescribeInstanceAmortizedCostByAmortizationPeriodOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceAmortizedCostByAmortizationPeriodAsyncHandler;
typedef Outcome<Error, Model::DescribeInstanceAmortizedCostByConsumePeriodResult> DescribeInstanceAmortizedCostByConsumePeriodOutcome;
typedef std::future<DescribeInstanceAmortizedCostByConsumePeriodOutcome> DescribeInstanceAmortizedCostByConsumePeriodOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeInstanceAmortizedCostByConsumePeriodRequest&, const DescribeInstanceAmortizedCostByConsumePeriodOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceAmortizedCostByConsumePeriodAsyncHandler;
typedef Outcome<Error, Model::DescribeInstanceBillResult> DescribeInstanceBillOutcome;
typedef std::future<DescribeInstanceBillOutcome> DescribeInstanceBillOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeInstanceBillRequest&, const DescribeInstanceBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceBillAsyncHandler;
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::DescribeProductAmortizedCostByAmortizationPeriodResult> DescribeProductAmortizedCostByAmortizationPeriodOutcome;
typedef std::future<DescribeProductAmortizedCostByAmortizationPeriodOutcome> DescribeProductAmortizedCostByAmortizationPeriodOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeProductAmortizedCostByAmortizationPeriodRequest&, const DescribeProductAmortizedCostByAmortizationPeriodOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProductAmortizedCostByAmortizationPeriodAsyncHandler;
typedef Outcome<Error, Model::DescribeProductAmortizedCostByConsumePeriodResult> DescribeProductAmortizedCostByConsumePeriodOutcome;
typedef std::future<DescribeProductAmortizedCostByConsumePeriodOutcome> DescribeProductAmortizedCostByConsumePeriodOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeProductAmortizedCostByConsumePeriodRequest&, const DescribeProductAmortizedCostByConsumePeriodOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProductAmortizedCostByConsumePeriodAsyncHandler;
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;
@@ -354,6 +381,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryCashCouponsResult> QueryCashCouponsOutcome;
typedef std::future<QueryCashCouponsOutcome> QueryCashCouponsOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCashCouponsRequest&, const QueryCashCouponsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCashCouponsAsyncHandler;
typedef Outcome<Error, Model::QueryCommodityListResult> QueryCommodityListOutcome;
typedef std::future<QueryCommodityListOutcome> QueryCommodityListOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCommodityListRequest&, const QueryCommodityListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCommodityListAsyncHandler;
typedef Outcome<Error, Model::QueryCostUnitResult> QueryCostUnitOutcome;
typedef std::future<QueryCostUnitOutcome> QueryCostUnitOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCostUnitRequest&, const QueryCostUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCostUnitAsyncHandler;
@@ -384,12 +414,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryInvoicingCustomerListResult> QueryInvoicingCustomerListOutcome;
typedef std::future<QueryInvoicingCustomerListOutcome> QueryInvoicingCustomerListOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryInvoicingCustomerListRequest&, const QueryInvoicingCustomerListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryInvoicingCustomerListAsyncHandler;
typedef Outcome<Error, Model::QueryMonthlyBillResult> QueryMonthlyBillOutcome;
typedef std::future<QueryMonthlyBillOutcome> QueryMonthlyBillOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryMonthlyBillRequest&, const QueryMonthlyBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMonthlyBillAsyncHandler;
typedef Outcome<Error, Model::QueryMonthlyInstanceConsumptionResult> QueryMonthlyInstanceConsumptionOutcome;
typedef std::future<QueryMonthlyInstanceConsumptionOutcome> QueryMonthlyInstanceConsumptionOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryMonthlyInstanceConsumptionRequest&, const QueryMonthlyInstanceConsumptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMonthlyInstanceConsumptionAsyncHandler;
typedef Outcome<Error, Model::QueryOrdersResult> QueryOrdersOutcome;
typedef std::future<QueryOrdersOutcome> QueryOrdersOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryOrdersRequest&, const QueryOrdersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryOrdersAsyncHandler;
@@ -399,6 +423,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryPrepaidCardsResult> QueryPrepaidCardsOutcome;
typedef std::future<QueryPrepaidCardsOutcome> QueryPrepaidCardsOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryPrepaidCardsRequest&, const QueryPrepaidCardsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryPrepaidCardsAsyncHandler;
typedef Outcome<Error, Model::QueryPriceEntityListResult> QueryPriceEntityListOutcome;
typedef std::future<QueryPriceEntityListOutcome> QueryPriceEntityListOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryPriceEntityListRequest&, const QueryPriceEntityListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryPriceEntityListAsyncHandler;
typedef Outcome<Error, Model::QueryProductListResult> QueryProductListOutcome;
typedef std::future<QueryProductListOutcome> QueryProductListOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryProductListRequest&, const QueryProductListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryProductListAsyncHandler;
@@ -420,15 +447,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QuerySavingsPlansDeductLogResult> QuerySavingsPlansDeductLogOutcome;
typedef std::future<QuerySavingsPlansDeductLogOutcome> QuerySavingsPlansDeductLogOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySavingsPlansDeductLogRequest&, const QuerySavingsPlansDeductLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySavingsPlansDeductLogAsyncHandler;
typedef Outcome<Error, Model::QuerySavingsPlansDiscountResult> QuerySavingsPlansDiscountOutcome;
typedef std::future<QuerySavingsPlansDiscountOutcome> QuerySavingsPlansDiscountOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySavingsPlansDiscountRequest&, const QuerySavingsPlansDiscountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySavingsPlansDiscountAsyncHandler;
typedef Outcome<Error, Model::QuerySavingsPlansInstanceResult> QuerySavingsPlansInstanceOutcome;
typedef std::future<QuerySavingsPlansInstanceOutcome> QuerySavingsPlansInstanceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySavingsPlansInstanceRequest&, const QuerySavingsPlansInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySavingsPlansInstanceAsyncHandler;
typedef Outcome<Error, Model::QuerySettleBillResult> QuerySettleBillOutcome;
typedef std::future<QuerySettleBillOutcome> QuerySettleBillOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySettleBillRequest&, const QuerySettleBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySettleBillAsyncHandler;
typedef Outcome<Error, Model::QuerySettlementBillResult> QuerySettlementBillOutcome;
typedef std::future<QuerySettlementBillOutcome> QuerySettlementBillOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySettlementBillRequest&, const QuerySettlementBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySettlementBillAsyncHandler;
typedef Outcome<Error, Model::QuerySkuPriceListResult> QuerySkuPriceListOutcome;
typedef std::future<QuerySkuPriceListOutcome> QuerySkuPriceListOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySkuPriceListRequest&, const QuerySkuPriceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySkuPriceListAsyncHandler;
typedef Outcome<Error, Model::QuerySplitItemBillResult> QuerySplitItemBillOutcome;
typedef std::future<QuerySplitItemBillOutcome> QuerySplitItemBillOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySplitItemBillRequest&, const QuerySplitItemBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySplitItemBillAsyncHandler;
@@ -533,12 +563,27 @@ namespace AlibabaCloud
DeleteCostUnitOutcome deleteCostUnit(const Model::DeleteCostUnitRequest &request)const;
void deleteCostUnitAsync(const Model::DeleteCostUnitRequest& request, const DeleteCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteCostUnitOutcomeCallable deleteCostUnitCallable(const Model::DeleteCostUnitRequest& request) const;
DescribeCostBudgetsSummaryOutcome describeCostBudgetsSummary(const Model::DescribeCostBudgetsSummaryRequest &request)const;
void describeCostBudgetsSummaryAsync(const Model::DescribeCostBudgetsSummaryRequest& request, const DescribeCostBudgetsSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCostBudgetsSummaryOutcomeCallable describeCostBudgetsSummaryCallable(const Model::DescribeCostBudgetsSummaryRequest& request) const;
DescribeInstanceAmortizedCostByAmortizationPeriodOutcome describeInstanceAmortizedCostByAmortizationPeriod(const Model::DescribeInstanceAmortizedCostByAmortizationPeriodRequest &request)const;
void describeInstanceAmortizedCostByAmortizationPeriodAsync(const Model::DescribeInstanceAmortizedCostByAmortizationPeriodRequest& request, const DescribeInstanceAmortizedCostByAmortizationPeriodAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInstanceAmortizedCostByAmortizationPeriodOutcomeCallable describeInstanceAmortizedCostByAmortizationPeriodCallable(const Model::DescribeInstanceAmortizedCostByAmortizationPeriodRequest& request) const;
DescribeInstanceAmortizedCostByConsumePeriodOutcome describeInstanceAmortizedCostByConsumePeriod(const Model::DescribeInstanceAmortizedCostByConsumePeriodRequest &request)const;
void describeInstanceAmortizedCostByConsumePeriodAsync(const Model::DescribeInstanceAmortizedCostByConsumePeriodRequest& request, const DescribeInstanceAmortizedCostByConsumePeriodAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInstanceAmortizedCostByConsumePeriodOutcomeCallable describeInstanceAmortizedCostByConsumePeriodCallable(const Model::DescribeInstanceAmortizedCostByConsumePeriodRequest& request) const;
DescribeInstanceBillOutcome describeInstanceBill(const Model::DescribeInstanceBillRequest &request)const;
void describeInstanceBillAsync(const Model::DescribeInstanceBillRequest& request, const DescribeInstanceBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInstanceBillOutcomeCallable describeInstanceBillCallable(const Model::DescribeInstanceBillRequest& request) const;
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;
DescribeProductAmortizedCostByAmortizationPeriodOutcome describeProductAmortizedCostByAmortizationPeriod(const Model::DescribeProductAmortizedCostByAmortizationPeriodRequest &request)const;
void describeProductAmortizedCostByAmortizationPeriodAsync(const Model::DescribeProductAmortizedCostByAmortizationPeriodRequest& request, const DescribeProductAmortizedCostByAmortizationPeriodAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeProductAmortizedCostByAmortizationPeriodOutcomeCallable describeProductAmortizedCostByAmortizationPeriodCallable(const Model::DescribeProductAmortizedCostByAmortizationPeriodRequest& request) const;
DescribeProductAmortizedCostByConsumePeriodOutcome describeProductAmortizedCostByConsumePeriod(const Model::DescribeProductAmortizedCostByConsumePeriodRequest &request)const;
void describeProductAmortizedCostByConsumePeriodAsync(const Model::DescribeProductAmortizedCostByConsumePeriodRequest& request, const DescribeProductAmortizedCostByConsumePeriodAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeProductAmortizedCostByConsumePeriodOutcomeCallable describeProductAmortizedCostByConsumePeriodCallable(const Model::DescribeProductAmortizedCostByConsumePeriodRequest& 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;
@@ -632,6 +677,9 @@ namespace AlibabaCloud
QueryCashCouponsOutcome queryCashCoupons(const Model::QueryCashCouponsRequest &request)const;
void queryCashCouponsAsync(const Model::QueryCashCouponsRequest& request, const QueryCashCouponsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCashCouponsOutcomeCallable queryCashCouponsCallable(const Model::QueryCashCouponsRequest& request) const;
QueryCommodityListOutcome queryCommodityList(const Model::QueryCommodityListRequest &request)const;
void queryCommodityListAsync(const Model::QueryCommodityListRequest& request, const QueryCommodityListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCommodityListOutcomeCallable queryCommodityListCallable(const Model::QueryCommodityListRequest& request) const;
QueryCostUnitOutcome queryCostUnit(const Model::QueryCostUnitRequest &request)const;
void queryCostUnitAsync(const Model::QueryCostUnitRequest& request, const QueryCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCostUnitOutcomeCallable queryCostUnitCallable(const Model::QueryCostUnitRequest& request) const;
@@ -662,12 +710,6 @@ namespace AlibabaCloud
QueryInvoicingCustomerListOutcome queryInvoicingCustomerList(const Model::QueryInvoicingCustomerListRequest &request)const;
void queryInvoicingCustomerListAsync(const Model::QueryInvoicingCustomerListRequest& request, const QueryInvoicingCustomerListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryInvoicingCustomerListOutcomeCallable queryInvoicingCustomerListCallable(const Model::QueryInvoicingCustomerListRequest& request) const;
QueryMonthlyBillOutcome queryMonthlyBill(const Model::QueryMonthlyBillRequest &request)const;
void queryMonthlyBillAsync(const Model::QueryMonthlyBillRequest& request, const QueryMonthlyBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryMonthlyBillOutcomeCallable queryMonthlyBillCallable(const Model::QueryMonthlyBillRequest& request) const;
QueryMonthlyInstanceConsumptionOutcome queryMonthlyInstanceConsumption(const Model::QueryMonthlyInstanceConsumptionRequest &request)const;
void queryMonthlyInstanceConsumptionAsync(const Model::QueryMonthlyInstanceConsumptionRequest& request, const QueryMonthlyInstanceConsumptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryMonthlyInstanceConsumptionOutcomeCallable queryMonthlyInstanceConsumptionCallable(const Model::QueryMonthlyInstanceConsumptionRequest& request) const;
QueryOrdersOutcome queryOrders(const Model::QueryOrdersRequest &request)const;
void queryOrdersAsync(const Model::QueryOrdersRequest& request, const QueryOrdersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryOrdersOutcomeCallable queryOrdersCallable(const Model::QueryOrdersRequest& request) const;
@@ -677,6 +719,9 @@ namespace AlibabaCloud
QueryPrepaidCardsOutcome queryPrepaidCards(const Model::QueryPrepaidCardsRequest &request)const;
void queryPrepaidCardsAsync(const Model::QueryPrepaidCardsRequest& request, const QueryPrepaidCardsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryPrepaidCardsOutcomeCallable queryPrepaidCardsCallable(const Model::QueryPrepaidCardsRequest& request) const;
QueryPriceEntityListOutcome queryPriceEntityList(const Model::QueryPriceEntityListRequest &request)const;
void queryPriceEntityListAsync(const Model::QueryPriceEntityListRequest& request, const QueryPriceEntityListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryPriceEntityListOutcomeCallable queryPriceEntityListCallable(const Model::QueryPriceEntityListRequest& request) const;
QueryProductListOutcome queryProductList(const Model::QueryProductListRequest &request)const;
void queryProductListAsync(const Model::QueryProductListRequest& request, const QueryProductListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryProductListOutcomeCallable queryProductListCallable(const Model::QueryProductListRequest& request) const;
@@ -698,15 +743,18 @@ namespace AlibabaCloud
QuerySavingsPlansDeductLogOutcome querySavingsPlansDeductLog(const Model::QuerySavingsPlansDeductLogRequest &request)const;
void querySavingsPlansDeductLogAsync(const Model::QuerySavingsPlansDeductLogRequest& request, const QuerySavingsPlansDeductLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySavingsPlansDeductLogOutcomeCallable querySavingsPlansDeductLogCallable(const Model::QuerySavingsPlansDeductLogRequest& request) const;
QuerySavingsPlansDiscountOutcome querySavingsPlansDiscount(const Model::QuerySavingsPlansDiscountRequest &request)const;
void querySavingsPlansDiscountAsync(const Model::QuerySavingsPlansDiscountRequest& request, const QuerySavingsPlansDiscountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySavingsPlansDiscountOutcomeCallable querySavingsPlansDiscountCallable(const Model::QuerySavingsPlansDiscountRequest& request) const;
QuerySavingsPlansInstanceOutcome querySavingsPlansInstance(const Model::QuerySavingsPlansInstanceRequest &request)const;
void querySavingsPlansInstanceAsync(const Model::QuerySavingsPlansInstanceRequest& request, const QuerySavingsPlansInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySavingsPlansInstanceOutcomeCallable querySavingsPlansInstanceCallable(const Model::QuerySavingsPlansInstanceRequest& request) const;
QuerySettleBillOutcome querySettleBill(const Model::QuerySettleBillRequest &request)const;
void querySettleBillAsync(const Model::QuerySettleBillRequest& request, const QuerySettleBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySettleBillOutcomeCallable querySettleBillCallable(const Model::QuerySettleBillRequest& request) const;
QuerySettlementBillOutcome querySettlementBill(const Model::QuerySettlementBillRequest &request)const;
void querySettlementBillAsync(const Model::QuerySettlementBillRequest& request, const QuerySettlementBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySettlementBillOutcomeCallable querySettlementBillCallable(const Model::QuerySettlementBillRequest& request) const;
QuerySkuPriceListOutcome querySkuPriceList(const Model::QuerySkuPriceListRequest &request)const;
void querySkuPriceListAsync(const Model::QuerySkuPriceListRequest& request, const QuerySkuPriceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySkuPriceListOutcomeCallable querySkuPriceListCallable(const Model::QuerySkuPriceListRequest& request) const;
QuerySplitItemBillOutcome querySplitItemBill(const Model::QuerySplitItemBillRequest &request)const;
void querySplitItemBillAsync(const Model::QuerySplitItemBillRequest& request, const QuerySplitItemBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySplitItemBillOutcomeCallable querySplitItemBillCallable(const Model::QuerySplitItemBillRequest& request) const;

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBECOSTBUDGETSSUMMARYREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBECOSTBUDGETSSUMMARYREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeCostBudgetsSummaryRequest : public RpcServiceRequest {
public:
DescribeCostBudgetsSummaryRequest();
~DescribeCostBudgetsSummaryRequest();
std::string getBudgetStatus() const;
void setBudgetStatus(const std::string &budgetStatus);
std::string getBudgetType() const;
void setBudgetType(const std::string &budgetType);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
int getMaxResults() const;
void setMaxResults(int maxResults);
std::string getBudgetName() const;
void setBudgetName(const std::string &budgetName);
private:
std::string budgetStatus_;
std::string budgetType_;
std::string nextToken_;
int maxResults_;
std::string budgetName_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBECOSTBUDGETSSUMMARYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYMONTHLYINSTANCECONSUMPTIONRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYMONTHLYINSTANCECONSUMPTIONRESULT_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBECOSTBUDGETSSUMMARYRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBECOSTBUDGETSSUMMARYRESULT_H_
#include <string>
#include <vector>
@@ -29,42 +29,31 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryMonthlyInstanceConsumptionResult : public ServiceResult
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeCostBudgetsSummaryResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
float afterTaxAmount;
std::string instanceID;
std::string productCode;
std::string productType;
std::string paymentCurrency;
float tax;
std::string payerAccount;
float discountAmount;
std::string subscriptionType;
float pretaxGrossAmount;
float pretaxAmount;
std::string ownerID;
std::string currency;
std::string region;
std::string tag;
std::string resourceGroup;
float pretaxAmountLocal;
std::string budgetStatus;
std::string consumePeriod;
std::string budget;
std::string budgetName;
std::string budgetType;
std::string calculatedValues;
};
std::string billingCycle;
int totalCount;
int pageNum;
int pageSize;
std::string nextToken;
int maxResults;
std::vector<Item> items;
std::string hostId;
};
QueryMonthlyInstanceConsumptionResult();
explicit QueryMonthlyInstanceConsumptionResult(const std::string &payload);
~QueryMonthlyInstanceConsumptionResult();
DescribeCostBudgetsSummaryResult();
explicit DescribeCostBudgetsSummaryResult(const std::string &payload);
~DescribeCostBudgetsSummaryResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
@@ -82,4 +71,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYMONTHLYINSTANCECONSUMPTIONRESULT_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBECOSTBUDGETSSUMMARYRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEAMORTIZEDCOSTBYAMORTIZATIONPERIODREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEAMORTIZEDCOSTBYAMORTIZATIONPERIODREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeInstanceAmortizedCostByAmortizationPeriodRequest : public RpcServiceRequest {
public:
DescribeInstanceAmortizedCostByAmortizationPeriodRequest();
~DescribeInstanceAmortizedCostByAmortizationPeriodRequest();
std::string getProductDetail() const;
void setProductDetail(const std::string &productDetail);
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::vector<std::string> getBillOwnerIdList() const;
void setBillOwnerIdList(const std::vector<std::string> &billOwnerIdList);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
std::string getBillingCycle() const;
void setBillingCycle(const std::string &billingCycle);
std::string getCostUnitCode() const;
void setCostUnitCode(const std::string &costUnitCode);
std::vector<std::string> getConsumePeriodFilter() const;
void setConsumePeriodFilter(const std::vector<std::string> &consumePeriodFilter);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::vector<std::string> getBillUserIdList() const;
void setBillUserIdList(const std::vector<std::string> &billUserIdList);
std::vector<std::string> getInstanceIdList() const;
void setInstanceIdList(const std::vector<std::string> &instanceIdList);
int getMaxResults() const;
void setMaxResults(int maxResults);
private:
std::string productDetail_;
std::string productCode_;
std::vector<std::string> billOwnerIdList_;
std::string subscriptionType_;
std::string billingCycle_;
std::string costUnitCode_;
std::vector<std::string> consumePeriodFilter_;
std::string nextToken_;
std::vector<std::string> billUserIdList_;
std::vector<std::string> instanceIdList_;
int maxResults_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEAMORTIZEDCOSTBYAMORTIZATIONPERIODREQUEST_H_

View File

@@ -0,0 +1,127 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEINSTANCEAMORTIZEDCOSTBYAMORTIZATIONPERIODRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEAMORTIZEDCOSTBYAMORTIZATIONPERIODRESULT_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 DescribeInstanceAmortizedCostByAmortizationPeriodResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
double currentAmortizationPretaxAmount;
double remainingAmortizationDeductedByCoupons;
std::string productName;
double previouslyAmortizedExpenditureAmount;
std::string instanceID;
long billAccountID;
std::string productDetailCode;
double previouslyAmortizedRoundDownDiscount;
std::string amortizationStatus;
double deductedByPrepaidCard;
std::string splitItemName;
std::string subscriptionType;
double currentAmortizationDeductedByCashCoupons;
std::string costUnitCode;
double remainingAmortizationDeductedByPrepaidCard;
std::string costUnit;
double deductedByCoupons;
std::string productCode;
long billOwnerID;
std::string bizType;
double previouslyAmortizedPretaxAmount;
std::string intranetIP;
double currentAmortizationPretaxGrossAmount;
std::string internetIP;
double remainingAmortizationExpenditureAmount;
std::string region;
double remainingAmortizationInvoiceDiscount;
double previouslyAmortizedDeductedByCashCoupons;
double currentAmortizationDeductedByCoupons;
double currentAmortizationRoundDownDiscount;
double currentAmortizationExpenditureAmount;
double remainingAmortizationRoundDownDiscount;
double previouslyAmortizedInvoiceDiscount;
double deductedByCashCoupons;
double previouslyAmortizedDeductedByCoupons;
double remainingAmortizationDeductedByCashCoupons;
double invoiceDiscount;
std::string splitProductDetail;
double currentAmortizationDeductedByPrepaidCard;
std::string amortizationPeriod;
double pretaxGrossAmount;
double previouslyAmortizedPretaxGrossAmount;
std::string resourceGroup;
std::string splitAccountName;
double roundDownDiscount;
std::string productDetail;
std::string consumePeriod;
std::string zone;
std::string billOwnerName;
std::string splitItemID;
double remainingAmortizationPretaxGrossAmount;
double pretaxAmount;
double currentAmortizationInvoiceDiscount;
double expenditureAmount;
double remainingAmortizationPretaxAmount;
std::string billAccountName;
std::string tag;
double previouslyAmortizedDeductedByPrepaidCard;
};
int totalCount;
std::string accountID;
std::string nextToken;
int maxResults;
std::vector<Item> items;
std::string accountName;
};
DescribeInstanceAmortizedCostByAmortizationPeriodResult();
explicit DescribeInstanceAmortizedCostByAmortizationPeriodResult(const std::string &payload);
~DescribeInstanceAmortizedCostByAmortizationPeriodResult();
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_DESCRIBEINSTANCEAMORTIZEDCOSTBYAMORTIZATIONPERIODRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEAMORTIZEDCOSTBYCONSUMEPERIODREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEAMORTIZEDCOSTBYCONSUMEPERIODREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeInstanceAmortizedCostByConsumePeriodRequest : public RpcServiceRequest {
public:
DescribeInstanceAmortizedCostByConsumePeriodRequest();
~DescribeInstanceAmortizedCostByConsumePeriodRequest();
std::string getProductDetail() const;
void setProductDetail(const std::string &productDetail);
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::vector<std::string> getBillOwnerIdList() const;
void setBillOwnerIdList(const std::vector<std::string> &billOwnerIdList);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
std::string getBillingCycle() const;
void setBillingCycle(const std::string &billingCycle);
std::string getCostUnitCode() const;
void setCostUnitCode(const std::string &costUnitCode);
std::vector<std::string> getAmortizationPeriodFilter() const;
void setAmortizationPeriodFilter(const std::vector<std::string> &amortizationPeriodFilter);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::vector<std::string> getBillUserIdList() const;
void setBillUserIdList(const std::vector<std::string> &billUserIdList);
std::vector<std::string> getInstanceIdList() const;
void setInstanceIdList(const std::vector<std::string> &instanceIdList);
int getMaxResults() const;
void setMaxResults(int maxResults);
private:
std::string productDetail_;
std::string productCode_;
std::vector<std::string> billOwnerIdList_;
std::string subscriptionType_;
std::string billingCycle_;
std::string costUnitCode_;
std::vector<std::string> amortizationPeriodFilter_;
std::string nextToken_;
std::vector<std::string> billUserIdList_;
std::vector<std::string> instanceIdList_;
int maxResults_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEAMORTIZEDCOSTBYCONSUMEPERIODREQUEST_H_

View File

@@ -0,0 +1,127 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEINSTANCEAMORTIZEDCOSTBYCONSUMEPERIODRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEAMORTIZEDCOSTBYCONSUMEPERIODRESULT_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 DescribeInstanceAmortizedCostByConsumePeriodResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
double currentAmortizationPretaxAmount;
double remainingAmortizationDeductedByCoupons;
std::string productName;
double previouslyAmortizedExpenditureAmount;
std::string instanceID;
long billAccountID;
std::string productDetailCode;
double previouslyAmortizedRoundDownDiscount;
std::string amortizationStatus;
double deductedByPrepaidCard;
std::string splitItemName;
std::string subscriptionType;
double currentAmortizationDeductedByCashCoupons;
std::string costUnitCode;
double remainingAmortizationDeductedByPrepaidCard;
std::string costUnit;
double deductedByCoupons;
std::string productCode;
long billOwnerID;
std::string bizType;
double previouslyAmortizedPretaxAmount;
std::string intranetIP;
double currentAmortizationPretaxGrossAmount;
std::string internetIP;
double remainingAmortizationExpenditureAmount;
std::string region;
double remainingAmortizationInvoiceDiscount;
double previouslyAmortizedDeductedByCashCoupons;
double currentAmortizationDeductedByCoupons;
double currentAmortizationRoundDownDiscount;
double currentAmortizationExpenditureAmount;
double remainingAmortizationRoundDownDiscount;
double previouslyAmortizedInvoiceDiscount;
double deductedByCashCoupons;
double previouslyAmortizedDeductedByCoupons;
double remainingAmortizationDeductedByCashCoupons;
double invoiceDiscount;
std::string splitProductDetail;
double currentAmortizationDeductedByPrepaidCard;
std::string amortizationPeriod;
double pretaxGrossAmount;
double previouslyAmortizedPretaxGrossAmount;
std::string resourceGroup;
std::string splitAccountName;
double roundDownDiscount;
std::string productDetail;
std::string consumePeriod;
std::string zone;
std::string billOwnerName;
std::string splitItemID;
double remainingAmortizationPretaxGrossAmount;
double pretaxAmount;
double currentAmortizationInvoiceDiscount;
double expenditureAmount;
double remainingAmortizationPretaxAmount;
std::string billAccountName;
std::string tag;
double previouslyAmortizedDeductedByPrepaidCard;
};
int totalCount;
std::string accountID;
std::string nextToken;
int maxResults;
std::vector<Item> items;
std::string accountName;
};
DescribeInstanceAmortizedCostByConsumePeriodResult();
explicit DescribeInstanceAmortizedCostByConsumePeriodResult(const std::string &payload);
~DescribeInstanceAmortizedCostByConsumePeriodResult();
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_DESCRIBEINSTANCEAMORTIZEDCOSTBYCONSUMEPERIODRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEPRODUCTAMORTIZEDCOSTBYAMORTIZATIONPERIODREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEPRODUCTAMORTIZEDCOSTBYAMORTIZATIONPERIODREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeProductAmortizedCostByAmortizationPeriodRequest : public RpcServiceRequest {
public:
DescribeProductAmortizedCostByAmortizationPeriodRequest();
~DescribeProductAmortizedCostByAmortizationPeriodRequest();
std::string getProductDetail() const;
void setProductDetail(const std::string &productDetail);
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::vector<std::string> getBillOwnerIdList() const;
void setBillOwnerIdList(const std::vector<std::string> &billOwnerIdList);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
std::string getBillingCycle() const;
void setBillingCycle(const std::string &billingCycle);
std::string getCostUnitCode() const;
void setCostUnitCode(const std::string &costUnitCode);
std::vector<std::string> getConsumePeriodFilter() const;
void setConsumePeriodFilter(const std::vector<std::string> &consumePeriodFilter);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::vector<std::string> getBillUserIdList() const;
void setBillUserIdList(const std::vector<std::string> &billUserIdList);
int getMaxResults() const;
void setMaxResults(int maxResults);
private:
std::string productDetail_;
std::string productCode_;
std::vector<std::string> billOwnerIdList_;
std::string subscriptionType_;
std::string billingCycle_;
std::string costUnitCode_;
std::vector<std::string> consumePeriodFilter_;
std::string nextToken_;
std::vector<std::string> billUserIdList_;
int maxResults_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEPRODUCTAMORTIZEDCOSTBYAMORTIZATIONPERIODREQUEST_H_

View File

@@ -0,0 +1,114 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEPRODUCTAMORTIZEDCOSTBYAMORTIZATIONPERIODRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEPRODUCTAMORTIZEDCOSTBYAMORTIZATIONPERIODRESULT_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 DescribeProductAmortizedCostByAmortizationPeriodResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
double currentAmortizationPretaxAmount;
double remainingAmortizationDeductedByCoupons;
std::string productName;
double previouslyAmortizedExpenditureAmount;
double currentAmortizationRoundDownDiscount;
double currentAmortizationExpenditureAmount;
double remainingAmortizationRoundDownDiscount;
long billAccountID;
std::string productDetailCode;
double previouslyAmortizedRoundDownDiscount;
double previouslyAmortizedInvoiceDiscount;
double deductedByCashCoupons;
double previouslyAmortizedDeductedByCoupons;
std::string amortizationStatus;
double remainingAmortizationDeductedByCashCoupons;
double deductedByPrepaidCard;
double invoiceDiscount;
double currentAmortizationDeductedByPrepaidCard;
std::string amortizationPeriod;
std::string subscriptionType;
double pretaxGrossAmount;
double currentAmortizationDeductedByCashCoupons;
double remainingAmortizationDeductedByPrepaidCard;
double previouslyAmortizedPretaxGrossAmount;
double deductedByCoupons;
double roundDownDiscount;
std::string productDetail;
std::string consumePeriod;
std::string productCode;
long billOwnerID;
std::string bizType;
double previouslyAmortizedPretaxAmount;
double currentAmortizationPretaxGrossAmount;
std::string billOwnerName;
double remainingAmortizationPretaxGrossAmount;
double pretaxAmount;
double remainingAmortizationExpenditureAmount;
double currentAmortizationInvoiceDiscount;
double expenditureAmount;
double remainingAmortizationPretaxAmount;
std::string billAccountName;
double remainingAmortizationInvoiceDiscount;
double previouslyAmortizedDeductedByCashCoupons;
double previouslyAmortizedDeductedByPrepaidCard;
double currentAmortizationDeductedByCoupons;
};
int totalCount;
std::string accountID;
std::string nextToken;
int maxResults;
std::vector<Item> items;
std::string accountName;
};
DescribeProductAmortizedCostByAmortizationPeriodResult();
explicit DescribeProductAmortizedCostByAmortizationPeriodResult(const std::string &payload);
~DescribeProductAmortizedCostByAmortizationPeriodResult();
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_DESCRIBEPRODUCTAMORTIZEDCOSTBYAMORTIZATIONPERIODRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEPRODUCTAMORTIZEDCOSTBYCONSUMEPERIODREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEPRODUCTAMORTIZEDCOSTBYCONSUMEPERIODREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeProductAmortizedCostByConsumePeriodRequest : public RpcServiceRequest {
public:
DescribeProductAmortizedCostByConsumePeriodRequest();
~DescribeProductAmortizedCostByConsumePeriodRequest();
std::string getProductDetail() const;
void setProductDetail(const std::string &productDetail);
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::vector<std::string> getBillOwnerIdList() const;
void setBillOwnerIdList(const std::vector<std::string> &billOwnerIdList);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
std::string getBillingCycle() const;
void setBillingCycle(const std::string &billingCycle);
std::string getCostUnitCode() const;
void setCostUnitCode(const std::string &costUnitCode);
std::vector<std::string> getAmortizationPeriodFilter() const;
void setAmortizationPeriodFilter(const std::vector<std::string> &amortizationPeriodFilter);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::vector<std::string> getBillUserIdList() const;
void setBillUserIdList(const std::vector<std::string> &billUserIdList);
int getMaxResults() const;
void setMaxResults(int maxResults);
private:
std::string productDetail_;
std::string productCode_;
std::vector<std::string> billOwnerIdList_;
std::string subscriptionType_;
std::string billingCycle_;
std::string costUnitCode_;
std::vector<std::string> amortizationPeriodFilter_;
std::string nextToken_;
std::vector<std::string> billUserIdList_;
int maxResults_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEPRODUCTAMORTIZEDCOSTBYCONSUMEPERIODREQUEST_H_

View File

@@ -0,0 +1,114 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEPRODUCTAMORTIZEDCOSTBYCONSUMEPERIODRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEPRODUCTAMORTIZEDCOSTBYCONSUMEPERIODRESULT_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 DescribeProductAmortizedCostByConsumePeriodResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
double currentAmortizationPretaxAmount;
double remainingAmortizationDeductedByCoupons;
std::string productName;
double previouslyAmortizedExpenditureAmount;
double currentAmortizationRoundDownDiscount;
double currentAmortizationExpenditureAmount;
double remainingAmortizationRoundDownDiscount;
long billAccountID;
std::string productDetailCode;
double previouslyAmortizedRoundDownDiscount;
double previouslyAmortizedInvoiceDiscount;
double deductedByCashCoupons;
double previouslyAmortizedDeductedByCoupons;
std::string amortizationStatus;
double remainingAmortizationDeductedByCashCoupons;
double deductedByPrepaidCard;
double invoiceDiscount;
double currentAmortizationDeductedByPrepaidCard;
std::string amortizationPeriod;
std::string subscriptionType;
double pretaxGrossAmount;
double currentAmortizationDeductedByCashCoupons;
double remainingAmortizationDeductedByPrepaidCard;
double previouslyAmortizedPretaxGrossAmount;
double deductedByCoupons;
double roundDownDiscount;
std::string productDetail;
std::string consumePeriod;
std::string productCode;
long billOwnerID;
std::string bizType;
double previouslyAmortizedPretaxAmount;
double currentAmortizationPretaxGrossAmount;
std::string billOwnerName;
double remainingAmortizationPretaxGrossAmount;
double pretaxAmount;
double remainingAmortizationExpenditureAmount;
double currentAmortizationInvoiceDiscount;
double expenditureAmount;
double remainingAmortizationPretaxAmount;
std::string billAccountName;
double remainingAmortizationInvoiceDiscount;
double previouslyAmortizedDeductedByCashCoupons;
double previouslyAmortizedDeductedByPrepaidCard;
double currentAmortizationDeductedByCoupons;
};
int totalCount;
std::string accountID;
std::string nextToken;
int maxResults;
std::vector<Item> items;
std::string accountName;
};
DescribeProductAmortizedCostByConsumePeriodResult();
explicit DescribeProductAmortizedCostByConsumePeriodResult(const std::string &payload);
~DescribeProductAmortizedCostByConsumePeriodResult();
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_DESCRIBEPRODUCTAMORTIZEDCOSTBYCONSUMEPERIODRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYMONTHLYBILLREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYMONTHLYBILLREQUEST_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOMMODITYLISTREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOMMODITYLISTREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,17 +26,17 @@
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryMonthlyBillRequest : public RpcServiceRequest {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryCommodityListRequest : public RpcServiceRequest {
public:
QueryMonthlyBillRequest();
~QueryMonthlyBillRequest();
std::string getBillingCycle() const;
void setBillingCycle(const std::string &billingCycle);
QueryCommodityListRequest();
~QueryCommodityListRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
private:
std::string billingCycle_;
std::string productCode_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYMONTHLYBILLREQUEST_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOMMODITYLISTREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYMONTHLYBILLRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYMONTHLYBILLRESULT_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOMMODITYLISTRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOMMODITYLISTRESULT_H_
#include <string>
#include <vector>
@@ -29,44 +29,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryMonthlyBillResult : public ServiceResult
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryCommodityListResult : public ServiceResult
{
public:
struct Data
{
struct Item
struct CommodityDTO
{
float deductedByCoupons;
float afterTaxAmount;
std::string productCode;
std::string productType;
float deductedByCashCoupons;
float outstandingAmount;
std::string paymentCurrency;
float tax;
float paymentAmount;
float deductedByPrepaidCard;
float invoiceDiscount;
std::string item;
std::string subscriptionType;
float pretaxGrossAmount;
float pretaxAmount;
std::string solutionCode;
std::string currency;
std::string solutionName;
float pretaxAmountLocal;
std::string chargeType;
std::string commodityCode;
std::string commodityName;
};
float totalOutstandingAmount;
std::string billingCycle;
float outstandingAmount;
std::vector<Item> items;
float newInvoiceAmount;
std::vector<CommodityDTO> commodityList;
};
QueryMonthlyBillResult();
explicit QueryMonthlyBillResult(const std::string &payload);
~QueryMonthlyBillResult();
QueryCommodityListResult();
explicit QueryCommodityListResult(const std::string &payload);
~QueryCommodityListResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
@@ -84,4 +64,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYMONTHLYBILLRESULT_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOMMODITYLISTRESULT_H_

View File

@@ -36,15 +36,15 @@ public:
~QueryInstanceByTagRequest();
std::vector<std::string> getResourceId() const;
void setResourceId(const std::vector<std::string> &resourceId);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
private:
std::vector<std::string> resourceId_;
std::vector<Tag> tag_;
std::string resourceType_;
std::vector<Tag> tag_;
};
} // namespace Model
} // namespace BssOpenApi

View File

@@ -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_BSSOPENAPI_MODEL_QUERYMONTHLYINSTANCECONSUMPTIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYMONTHLYINSTANCECONSUMPTIONREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryMonthlyInstanceConsumptionRequest : public RpcServiceRequest {
public:
QueryMonthlyInstanceConsumptionRequest();
~QueryMonthlyInstanceConsumptionRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
std::string getBillingCycle() const;
void setBillingCycle(const std::string &billingCycle);
long getOwnerId() const;
void setOwnerId(long ownerId);
int getPageNum() const;
void setPageNum(int pageNum);
std::string getProductType() const;
void setProductType(const std::string &productType);
int getPageSize() const;
void setPageSize(int pageSize);
private:
std::string productCode_;
std::string subscriptionType_;
std::string billingCycle_;
long ownerId_;
int pageNum_;
std::string productType_;
int pageSize_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYMONTHLYINSTANCECONSUMPTIONREQUEST_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_QUERYPRICEENTITYLISTREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPRICEENTITYLISTREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryPriceEntityListRequest : public RpcServiceRequest {
public:
QueryPriceEntityListRequest();
~QueryPriceEntityListRequest();
std::string getCommodityCode() const;
void setCommodityCode(const std::string &commodityCode);
private:
std::string commodityCode_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPRICEENTITYLISTREQUEST_H_

View File

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

View File

@@ -46,6 +46,7 @@ namespace AlibabaCloud
std::string packageType;
std::string deductType;
std::string totalAmountUnit;
std::string commodityCode;
std::string region;
std::vector<std::string> applicableProducts;
std::string remainingAmount;

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDISCOUNTREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDISCOUNTREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QuerySavingsPlansDiscountRequest : public RpcServiceRequest {
public:
QuerySavingsPlansDiscountRequest();
~QuerySavingsPlansDiscountRequest();
std::string getCommodityCode() const;
void setCommodityCode(const std::string &commodityCode);
std::string getLocale() const;
void setLocale(const std::string &locale);
int getPageNum() const;
void setPageNum(int pageNum);
std::string getCycle() const;
void setCycle(const std::string &cycle);
std::string getSpec() const;
void setSpec(const std::string &spec);
std::string getModuleCode() const;
void setModuleCode(const std::string &moduleCode);
std::string getPayMode() const;
void setPayMode(const std::string &payMode);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getSpnType() const;
void setSpnType(const std::string &spnType);
std::string getRegion() const;
void setRegion(const std::string &region);
private:
std::string commodityCode_;
std::string locale_;
int pageNum_;
std::string cycle_;
std::string spec_;
std::string moduleCode_;
std::string payMode_;
int pageSize_;
std::string spnType_;
std::string region_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDISCOUNTREQUEST_H_

View File

@@ -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_QUERYSAVINGSPLANSDISCOUNTRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDISCOUNTRESULT_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 QuerySavingsPlansDiscountResult : public ServiceResult
{
public:
struct Data
{
struct SavingsPlansDiscountResponse
{
std::string spnType;
std::string moduleName;
std::string contractDiscountRate;
std::string region;
std::string spec;
std::string payMode;
std::string discountRate;
std::string commodityName;
std::string cycle;
};
std::vector<SavingsPlansDiscountResponse> items;
std::string hostId;
};
QuerySavingsPlansDiscountResult();
explicit QuerySavingsPlansDiscountResult(const std::string &payload);
~QuerySavingsPlansDiscountResult();
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_QUERYSAVINGSPLANSDISCOUNTRESULT_H_

View File

@@ -61,6 +61,7 @@ namespace AlibabaCloud
std::string region;
std::vector<SavingsPlansDetailResponse::Tag> tags;
std::string savingsType;
std::string deductCycleType;
};
int totalCount;
int pageNum;

View File

@@ -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_BSSOPENAPI_MODEL_QUERYSETTLEMENTBILLREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSETTLEMENTBILLREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QuerySettlementBillRequest : public RpcServiceRequest {
public:
QuerySettlementBillRequest();
~QuerySettlementBillRequest();
std::string getProductCode() const;
void setProductCode(const std::string &productCode);
bool getIsHideZeroCharge() const;
void setIsHideZeroCharge(bool isHideZeroCharge);
std::string getSubscriptionType() const;
void setSubscriptionType(const std::string &subscriptionType);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getBillingCycle() const;
void setBillingCycle(const std::string &billingCycle);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
long getOwnerId() const;
void setOwnerId(long ownerId);
int getPageNum() const;
void setPageNum(int pageNum);
std::string getType() const;
void setType(const std::string &type);
std::string getProductType() const;
void setProductType(const std::string &productType);
int getPageSize() const;
void setPageSize(int pageSize);
private:
std::string productCode_;
bool isHideZeroCharge_;
std::string subscriptionType_;
std::string endTime_;
std::string billingCycle_;
std::string startTime_;
long ownerId_;
int pageNum_;
std::string type_;
std::string productType_;
int pageSize_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSETTLEMENTBILLREQUEST_H_

View File

@@ -1,111 +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_BSSOPENAPI_MODEL_QUERYSETTLEMENTBILLRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSETTLEMENTBILLRESULT_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 QuerySettlementBillResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
float afterTaxAmount;
std::string config;
std::string originalOrderID;
std::string clearedTime;
float accountDiscount;
float deductedByCashCoupons;
std::string paymentTime;
float tax;
std::string paymentCurrency;
std::string payerAccount;
std::string promotion;
std::string orderID;
float paymentAmount;
float deductedByPrepaidCard;
std::string usageEndTime;
std::string item;
std::string subscriptionType;
float pretaxGrossAmount;
std::string orderType;
std::string solutionID;
std::string currency;
std::string billID;
std::string usageStartTime;
float mybankPaymentAmount;
std::string solutionName;
std::string suborderID;
std::string status;
float deductedByCoupons;
float previousBillingCycleBalance;
std::string linkedCustomerOrderID;
std::string productCode;
std::string createTime;
std::string productType;
float chargeDiscount;
float outstandingAmount;
std::string quantity;
std::string invoiceNo;
float pretaxAmount;
std::string ownerID;
std::string region;
std::string seller;
std::string recordID;
float pretaxAmountLocal;
};
std::string billingCycle;
int totalCount;
int pageNum;
int pageSize;
std::vector<Item> items;
};
QuerySettlementBillResult();
explicit QuerySettlementBillResult(const std::string &payload);
~QuerySettlementBillResult();
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_QUERYSETTLEMENTBILLRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSKUPRICELISTREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSKUPRICELISTREQUEST_H_
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace BssOpenApi {
namespace Model {
class ALIBABACLOUD_BSSOPENAPI_EXPORT QuerySkuPriceListRequest : public RpcServiceRequest {
public:
QuerySkuPriceListRequest();
~QuerySkuPriceListRequest();
std::string getNextPageToken() const;
void setNextPageToken(const std::string &nextPageToken);
std::string getCommodityCode() const;
void setCommodityCode(const std::string &commodityCode);
std::map<std::string, std::vector<std::string>> getPriceFactorConditionMap() const;
void setPriceFactorConditionMap(const std::map<std::string, std::vector<std::string>> &priceFactorConditionMap);
std::string getPriceEntityCode() const;
void setPriceEntityCode(const std::string &priceEntityCode);
int getPageSize() const;
void setPageSize(int pageSize);
private:
std::string nextPageToken_;
std::string commodityCode_;
std::map<std::string, std::vector<std::string>> priceFactorConditionMap_;
std::string priceEntityCode_;
int pageSize_;
};
} // namespace Model
} // namespace BssOpenApi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSKUPRICELISTREQUEST_H_

View File

@@ -0,0 +1,91 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSKUPRICELISTRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSKUPRICELISTRESULT_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 QuerySkuPriceListResult : public ServiceResult
{
public:
struct Data
{
struct SkuPricePage
{
struct SkuPricePageDTO
{
struct CSkuPriceDTO
{
struct RangeDTO
{
std::string type;
std::string min;
std::string max;
std::string factorCode;
};
std::string usageUnit;
std::string priceUnit;
std::string cskuCode;
std::string price;
std::string priceMode;
std::string currency;
std::vector<CSkuPriceDTO::RangeDTO> rangeList;
std::string priceType;
};
std::vector<SkuPricePageDTO::CSkuPriceDTO> cskuPriceList;
std::string skuFactorMap;
std::string skuCode;
};
std::vector<SkuPricePageDTO> skuPriceList;
int totalCount;
std::string nextPageToken;
};
SkuPricePage skuPricePage;
};
QuerySkuPriceListResult();
explicit QuerySkuPriceListResult(const std::string &payload);
~QuerySkuPriceListResult();
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_QUERYSKUPRICELISTRESULT_H_

View File

@@ -30,6 +30,8 @@ class ALIBABACLOUD_BSSOPENAPI_EXPORT SetResellerUserStatusRequest : public RpcSe
public:
SetResellerUserStatusRequest();
~SetResellerUserStatusRequest();
std::string getStopMode() const;
void setStopMode(const std::string &stopMode);
std::string getOwnerId() const;
void setOwnerId(const std::string &ownerId);
std::string getBusinessType() const;
@@ -38,6 +40,7 @@ public:
void setStatus(const std::string &status);
private:
std::string stopMode_;
std::string ownerId_;
std::string businessType_;
std::string status_;

View File

@@ -36,15 +36,15 @@ public:
~TagResourcesRequest();
std::vector<std::string> getResourceId() const;
void setResourceId(const std::vector<std::string> &resourceId);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
private:
std::vector<std::string> resourceId_;
std::vector<Tag> tag_;
std::string resourceType_;
std::vector<Tag> tag_;
};
} // namespace Model
} // namespace BssOpenApi

View File

@@ -34,16 +34,16 @@ public:
void setAll(bool all);
std::vector<std::string> getResourceId() const;
void setResourceId(const std::vector<std::string> &resourceId);
std::vector<std::string> getTagKey() const;
void setTagKey(const std::vector<std::string> &tagKey);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::vector<std::string> getTagKey() const;
void setTagKey(const std::vector<std::string> &tagKey);
private:
bool all_;
std::vector<std::string> resourceId_;
std::vector<std::string> tagKey_;
std::string resourceType_;
std::vector<std::string> tagKey_;
};
} // namespace Model
} // namespace BssOpenApi