Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe3d15f458 | ||
|
|
89a8603f07 | ||
|
|
60ce4db95b | ||
|
|
13a982588e | ||
|
|
8326f67554 | ||
|
|
a78d942597 | ||
|
|
f5ff8be154 | ||
|
|
f643b898e1 |
25
CHANGELOG
25
CHANGELOG
@@ -1,3 +1,28 @@
|
||||
2021-03-26 Version: 1.36.657
|
||||
- Update api.
|
||||
|
||||
2021-03-26 Version: 1.36.656
|
||||
- Add RenewAdditionalBandwidth API.
|
||||
|
||||
2021-03-26 Version: 1.36.655
|
||||
- Upgrade mongodb sdk.
|
||||
|
||||
2021-03-25 Version: 1.36.654
|
||||
- Add DescribeInstanceBill.
|
||||
- Update QuerySettleBill to support RecordID filter.
|
||||
|
||||
2021-03-25 Version: 1.36.653
|
||||
- Release autoscaling apis for timer features.
|
||||
|
||||
2021-03-25 Version: 1.36.652
|
||||
- Change indicator date type of ListHistoriticalAgentReport.
|
||||
|
||||
2021-03-24 Version: 1.36.651
|
||||
- Export new API.
|
||||
|
||||
2021-03-23 Version: 1.36.650
|
||||
- Update Open API.
|
||||
|
||||
2021-03-22 Version: 1.36.649
|
||||
- CreateEai api adds SecurityGroupId, VSwitchId parameters.
|
||||
|
||||
|
||||
@@ -43,10 +43,14 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/CreateResourcePackageResult.h
|
||||
include/alibabacloud/bssopenapi/model/DeleteCostUnitRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DeleteCostUnitResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeInstanceBillRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeInstanceBillResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribePricingModuleRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribePricingModuleResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourcePackageProductRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeResourcePackageProductResult.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeSplitItemBillRequest.h
|
||||
include/alibabacloud/bssopenapi/model/DescribeSplitItemBillResult.h
|
||||
include/alibabacloud/bssopenapi/model/EnableBillGenerationRequest.h
|
||||
include/alibabacloud/bssopenapi/model/EnableBillGenerationResult.h
|
||||
include/alibabacloud/bssopenapi/model/GetCustomerAccountInfoRequest.h
|
||||
@@ -91,8 +95,12 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/QueryCustomerAddressListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryEvaluateListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryEvaluateListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryFinancialAccountInfoRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryFinancialAccountInfoResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInstanceBillRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInstanceBillResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInstanceByTagRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInstanceByTagResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInstanceGaapCostRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInstanceGaapCostResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryInvoicingCustomerListRequest.h
|
||||
@@ -103,6 +111,8 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/QueryMonthlyInstanceConsumptionResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryOrdersRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryOrdersResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryPermissionListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryPermissionListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryPrepaidCardsRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryPrepaidCardsResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryProductListRequest.h
|
||||
@@ -111,6 +121,8 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/QueryRIUtilizationDetailResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryRedeemRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryRedeemResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryRelationListRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryRelationListResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryResellerAvailableQuotaRequest.h
|
||||
include/alibabacloud/bssopenapi/model/QueryResellerAvailableQuotaResult.h
|
||||
include/alibabacloud/bssopenapi/model/QueryResourcePackageInstancesRequest.h
|
||||
@@ -145,8 +157,12 @@ set(bssopenapi_public_header_model
|
||||
include/alibabacloud/bssopenapi/model/SetResellerUserStatusResult.h
|
||||
include/alibabacloud/bssopenapi/model/SubscribeBillToOSSRequest.h
|
||||
include/alibabacloud/bssopenapi/model/SubscribeBillToOSSResult.h
|
||||
include/alibabacloud/bssopenapi/model/TagResourcesRequest.h
|
||||
include/alibabacloud/bssopenapi/model/TagResourcesResult.h
|
||||
include/alibabacloud/bssopenapi/model/UnsubscribeBillToOSSRequest.h
|
||||
include/alibabacloud/bssopenapi/model/UnsubscribeBillToOSSResult.h
|
||||
include/alibabacloud/bssopenapi/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/bssopenapi/model/UntagResourcesResult.h
|
||||
include/alibabacloud/bssopenapi/model/UpgradeResourcePackageRequest.h
|
||||
include/alibabacloud/bssopenapi/model/UpgradeResourcePackageResult.h )
|
||||
|
||||
@@ -174,10 +190,14 @@ set(bssopenapi_src
|
||||
src/model/CreateResourcePackageResult.cc
|
||||
src/model/DeleteCostUnitRequest.cc
|
||||
src/model/DeleteCostUnitResult.cc
|
||||
src/model/DescribeInstanceBillRequest.cc
|
||||
src/model/DescribeInstanceBillResult.cc
|
||||
src/model/DescribePricingModuleRequest.cc
|
||||
src/model/DescribePricingModuleResult.cc
|
||||
src/model/DescribeResourcePackageProductRequest.cc
|
||||
src/model/DescribeResourcePackageProductResult.cc
|
||||
src/model/DescribeSplitItemBillRequest.cc
|
||||
src/model/DescribeSplitItemBillResult.cc
|
||||
src/model/EnableBillGenerationRequest.cc
|
||||
src/model/EnableBillGenerationResult.cc
|
||||
src/model/GetCustomerAccountInfoRequest.cc
|
||||
@@ -222,8 +242,12 @@ set(bssopenapi_src
|
||||
src/model/QueryCustomerAddressListResult.cc
|
||||
src/model/QueryEvaluateListRequest.cc
|
||||
src/model/QueryEvaluateListResult.cc
|
||||
src/model/QueryFinancialAccountInfoRequest.cc
|
||||
src/model/QueryFinancialAccountInfoResult.cc
|
||||
src/model/QueryInstanceBillRequest.cc
|
||||
src/model/QueryInstanceBillResult.cc
|
||||
src/model/QueryInstanceByTagRequest.cc
|
||||
src/model/QueryInstanceByTagResult.cc
|
||||
src/model/QueryInstanceGaapCostRequest.cc
|
||||
src/model/QueryInstanceGaapCostResult.cc
|
||||
src/model/QueryInvoicingCustomerListRequest.cc
|
||||
@@ -234,6 +258,8 @@ set(bssopenapi_src
|
||||
src/model/QueryMonthlyInstanceConsumptionResult.cc
|
||||
src/model/QueryOrdersRequest.cc
|
||||
src/model/QueryOrdersResult.cc
|
||||
src/model/QueryPermissionListRequest.cc
|
||||
src/model/QueryPermissionListResult.cc
|
||||
src/model/QueryPrepaidCardsRequest.cc
|
||||
src/model/QueryPrepaidCardsResult.cc
|
||||
src/model/QueryProductListRequest.cc
|
||||
@@ -242,6 +268,8 @@ set(bssopenapi_src
|
||||
src/model/QueryRIUtilizationDetailResult.cc
|
||||
src/model/QueryRedeemRequest.cc
|
||||
src/model/QueryRedeemResult.cc
|
||||
src/model/QueryRelationListRequest.cc
|
||||
src/model/QueryRelationListResult.cc
|
||||
src/model/QueryResellerAvailableQuotaRequest.cc
|
||||
src/model/QueryResellerAvailableQuotaResult.cc
|
||||
src/model/QueryResourcePackageInstancesRequest.cc
|
||||
@@ -276,8 +304,12 @@ set(bssopenapi_src
|
||||
src/model/SetResellerUserStatusResult.cc
|
||||
src/model/SubscribeBillToOSSRequest.cc
|
||||
src/model/SubscribeBillToOSSResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/UnsubscribeBillToOSSRequest.cc
|
||||
src/model/UnsubscribeBillToOSSResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/UpgradeResourcePackageRequest.cc
|
||||
src/model/UpgradeResourcePackageResult.cc )
|
||||
|
||||
|
||||
@@ -44,10 +44,14 @@
|
||||
#include "model/CreateResourcePackageResult.h"
|
||||
#include "model/DeleteCostUnitRequest.h"
|
||||
#include "model/DeleteCostUnitResult.h"
|
||||
#include "model/DescribeInstanceBillRequest.h"
|
||||
#include "model/DescribeInstanceBillResult.h"
|
||||
#include "model/DescribePricingModuleRequest.h"
|
||||
#include "model/DescribePricingModuleResult.h"
|
||||
#include "model/DescribeResourcePackageProductRequest.h"
|
||||
#include "model/DescribeResourcePackageProductResult.h"
|
||||
#include "model/DescribeSplitItemBillRequest.h"
|
||||
#include "model/DescribeSplitItemBillResult.h"
|
||||
#include "model/EnableBillGenerationRequest.h"
|
||||
#include "model/EnableBillGenerationResult.h"
|
||||
#include "model/GetCustomerAccountInfoRequest.h"
|
||||
@@ -92,8 +96,12 @@
|
||||
#include "model/QueryCustomerAddressListResult.h"
|
||||
#include "model/QueryEvaluateListRequest.h"
|
||||
#include "model/QueryEvaluateListResult.h"
|
||||
#include "model/QueryFinancialAccountInfoRequest.h"
|
||||
#include "model/QueryFinancialAccountInfoResult.h"
|
||||
#include "model/QueryInstanceBillRequest.h"
|
||||
#include "model/QueryInstanceBillResult.h"
|
||||
#include "model/QueryInstanceByTagRequest.h"
|
||||
#include "model/QueryInstanceByTagResult.h"
|
||||
#include "model/QueryInstanceGaapCostRequest.h"
|
||||
#include "model/QueryInstanceGaapCostResult.h"
|
||||
#include "model/QueryInvoicingCustomerListRequest.h"
|
||||
@@ -104,6 +112,8 @@
|
||||
#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/QueryProductListRequest.h"
|
||||
@@ -112,6 +122,8 @@
|
||||
#include "model/QueryRIUtilizationDetailResult.h"
|
||||
#include "model/QueryRedeemRequest.h"
|
||||
#include "model/QueryRedeemResult.h"
|
||||
#include "model/QueryRelationListRequest.h"
|
||||
#include "model/QueryRelationListResult.h"
|
||||
#include "model/QueryResellerAvailableQuotaRequest.h"
|
||||
#include "model/QueryResellerAvailableQuotaResult.h"
|
||||
#include "model/QueryResourcePackageInstancesRequest.h"
|
||||
@@ -146,8 +158,12 @@
|
||||
#include "model/SetResellerUserStatusResult.h"
|
||||
#include "model/SubscribeBillToOSSRequest.h"
|
||||
#include "model/SubscribeBillToOSSResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/UnsubscribeBillToOSSRequest.h"
|
||||
#include "model/UnsubscribeBillToOSSResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
#include "model/UntagResourcesResult.h"
|
||||
#include "model/UpgradeResourcePackageRequest.h"
|
||||
#include "model/UpgradeResourcePackageResult.h"
|
||||
|
||||
@@ -192,12 +208,18 @@ 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::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::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::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;
|
||||
typedef Outcome<Error, Model::EnableBillGenerationResult> EnableBillGenerationOutcome;
|
||||
typedef std::future<EnableBillGenerationOutcome> EnableBillGenerationOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::EnableBillGenerationRequest&, const EnableBillGenerationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableBillGenerationAsyncHandler;
|
||||
@@ -264,9 +286,15 @@ namespace AlibabaCloud
|
||||
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;
|
||||
typedef Outcome<Error, Model::QueryFinancialAccountInfoResult> QueryFinancialAccountInfoOutcome;
|
||||
typedef std::future<QueryFinancialAccountInfoOutcome> QueryFinancialAccountInfoOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryFinancialAccountInfoRequest&, const QueryFinancialAccountInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryFinancialAccountInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryInstanceBillResult> QueryInstanceBillOutcome;
|
||||
typedef std::future<QueryInstanceBillOutcome> QueryInstanceBillOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryInstanceBillRequest&, const QueryInstanceBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryInstanceBillAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryInstanceByTagResult> QueryInstanceByTagOutcome;
|
||||
typedef std::future<QueryInstanceByTagOutcome> QueryInstanceByTagOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryInstanceByTagRequest&, const QueryInstanceByTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryInstanceByTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryInstanceGaapCostResult> QueryInstanceGaapCostOutcome;
|
||||
typedef std::future<QueryInstanceGaapCostOutcome> QueryInstanceGaapCostOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryInstanceGaapCostRequest&, const QueryInstanceGaapCostOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryInstanceGaapCostAsyncHandler;
|
||||
@@ -282,6 +310,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
typedef Outcome<Error, Model::QueryPermissionListResult> QueryPermissionListOutcome;
|
||||
typedef std::future<QueryPermissionListOutcome> QueryPermissionListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryPermissionListRequest&, const QueryPermissionListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryPermissionListAsyncHandler;
|
||||
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;
|
||||
@@ -294,6 +325,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryRedeemResult> QueryRedeemOutcome;
|
||||
typedef std::future<QueryRedeemOutcome> QueryRedeemOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryRedeemRequest&, const QueryRedeemOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRedeemAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryRelationListResult> QueryRelationListOutcome;
|
||||
typedef std::future<QueryRelationListOutcome> QueryRelationListOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryRelationListRequest&, const QueryRelationListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRelationListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryResellerAvailableQuotaResult> QueryResellerAvailableQuotaOutcome;
|
||||
typedef std::future<QueryResellerAvailableQuotaOutcome> QueryResellerAvailableQuotaOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryResellerAvailableQuotaRequest&, const QueryResellerAvailableQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryResellerAvailableQuotaAsyncHandler;
|
||||
@@ -345,9 +379,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SubscribeBillToOSSResult> SubscribeBillToOSSOutcome;
|
||||
typedef std::future<SubscribeBillToOSSOutcome> SubscribeBillToOSSOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SubscribeBillToOSSRequest&, const SubscribeBillToOSSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubscribeBillToOSSAsyncHandler;
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnsubscribeBillToOSSResult> UnsubscribeBillToOSSOutcome;
|
||||
typedef std::future<UnsubscribeBillToOSSOutcome> UnsubscribeBillToOSSOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::UnsubscribeBillToOSSRequest&, const UnsubscribeBillToOSSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnsubscribeBillToOSSAsyncHandler;
|
||||
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeResourcePackageResult> UpgradeResourcePackageOutcome;
|
||||
typedef std::future<UpgradeResourcePackageOutcome> UpgradeResourcePackageOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::UpgradeResourcePackageRequest&, const UpgradeResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeResourcePackageAsyncHandler;
|
||||
@@ -389,12 +429,18 @@ 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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
EnableBillGenerationOutcome enableBillGeneration(const Model::EnableBillGenerationRequest &request)const;
|
||||
void enableBillGenerationAsync(const Model::EnableBillGenerationRequest& request, const EnableBillGenerationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableBillGenerationOutcomeCallable enableBillGenerationCallable(const Model::EnableBillGenerationRequest& request) const;
|
||||
@@ -461,9 +507,15 @@ namespace AlibabaCloud
|
||||
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;
|
||||
QueryFinancialAccountInfoOutcome queryFinancialAccountInfo(const Model::QueryFinancialAccountInfoRequest &request)const;
|
||||
void queryFinancialAccountInfoAsync(const Model::QueryFinancialAccountInfoRequest& request, const QueryFinancialAccountInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryFinancialAccountInfoOutcomeCallable queryFinancialAccountInfoCallable(const Model::QueryFinancialAccountInfoRequest& request) const;
|
||||
QueryInstanceBillOutcome queryInstanceBill(const Model::QueryInstanceBillRequest &request)const;
|
||||
void queryInstanceBillAsync(const Model::QueryInstanceBillRequest& request, const QueryInstanceBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryInstanceBillOutcomeCallable queryInstanceBillCallable(const Model::QueryInstanceBillRequest& request) const;
|
||||
QueryInstanceByTagOutcome queryInstanceByTag(const Model::QueryInstanceByTagRequest &request)const;
|
||||
void queryInstanceByTagAsync(const Model::QueryInstanceByTagRequest& request, const QueryInstanceByTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryInstanceByTagOutcomeCallable queryInstanceByTagCallable(const Model::QueryInstanceByTagRequest& request) const;
|
||||
QueryInstanceGaapCostOutcome queryInstanceGaapCost(const Model::QueryInstanceGaapCostRequest &request)const;
|
||||
void queryInstanceGaapCostAsync(const Model::QueryInstanceGaapCostRequest& request, const QueryInstanceGaapCostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryInstanceGaapCostOutcomeCallable queryInstanceGaapCostCallable(const Model::QueryInstanceGaapCostRequest& request) const;
|
||||
@@ -479,6 +531,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
QueryPermissionListOutcome queryPermissionList(const Model::QueryPermissionListRequest &request)const;
|
||||
void queryPermissionListAsync(const Model::QueryPermissionListRequest& request, const QueryPermissionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryPermissionListOutcomeCallable queryPermissionListCallable(const Model::QueryPermissionListRequest& request) const;
|
||||
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;
|
||||
@@ -491,6 +546,9 @@ namespace AlibabaCloud
|
||||
QueryRedeemOutcome queryRedeem(const Model::QueryRedeemRequest &request)const;
|
||||
void queryRedeemAsync(const Model::QueryRedeemRequest& request, const QueryRedeemAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryRedeemOutcomeCallable queryRedeemCallable(const Model::QueryRedeemRequest& request) const;
|
||||
QueryRelationListOutcome queryRelationList(const Model::QueryRelationListRequest &request)const;
|
||||
void queryRelationListAsync(const Model::QueryRelationListRequest& request, const QueryRelationListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryRelationListOutcomeCallable queryRelationListCallable(const Model::QueryRelationListRequest& request) const;
|
||||
QueryResellerAvailableQuotaOutcome queryResellerAvailableQuota(const Model::QueryResellerAvailableQuotaRequest &request)const;
|
||||
void queryResellerAvailableQuotaAsync(const Model::QueryResellerAvailableQuotaRequest& request, const QueryResellerAvailableQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryResellerAvailableQuotaOutcomeCallable queryResellerAvailableQuotaCallable(const Model::QueryResellerAvailableQuotaRequest& request) const;
|
||||
@@ -542,9 +600,15 @@ namespace AlibabaCloud
|
||||
SubscribeBillToOSSOutcome subscribeBillToOSS(const Model::SubscribeBillToOSSRequest &request)const;
|
||||
void subscribeBillToOSSAsync(const Model::SubscribeBillToOSSRequest& request, const SubscribeBillToOSSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubscribeBillToOSSOutcomeCallable subscribeBillToOSSCallable(const Model::SubscribeBillToOSSRequest& request) const;
|
||||
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
|
||||
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||
UnsubscribeBillToOSSOutcome unsubscribeBillToOSS(const Model::UnsubscribeBillToOSSRequest &request)const;
|
||||
void unsubscribeBillToOSSAsync(const Model::UnsubscribeBillToOSSRequest& request, const UnsubscribeBillToOSSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnsubscribeBillToOSSOutcomeCallable unsubscribeBillToOSSCallable(const Model::UnsubscribeBillToOSSRequest& request) const;
|
||||
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||
UpgradeResourcePackageOutcome upgradeResourcePackage(const Model::UpgradeResourcePackageRequest &request)const;
|
||||
void upgradeResourcePackageAsync(const Model::UpgradeResourcePackageRequest& request, const UpgradeResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeResourcePackageOutcomeCallable upgradeResourcePackageCallable(const Model::UpgradeResourcePackageRequest& request) const;
|
||||
|
||||
@@ -49,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getSubscriptionType()const;
|
||||
void setSubscriptionType(const std::string& subscriptionType);
|
||||
std::string getLogistics()const;
|
||||
void setLogistics(const std::string& logistics);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProductType()const;
|
||||
@@ -65,6 +67,7 @@ namespace AlibabaCloud
|
||||
int period_;
|
||||
std::string clientToken_;
|
||||
std::string subscriptionType_;
|
||||
std::string logistics_;
|
||||
long ownerId_;
|
||||
std::string productType_;
|
||||
int renewPeriod_;
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEBILLREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEBILLREQUEST_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 DescribeInstanceBillRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeInstanceBillRequest();
|
||||
~DescribeInstanceBillRequest();
|
||||
|
||||
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);
|
||||
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 getBillingCycle()const;
|
||||
void setBillingCycle(const std::string& billingCycle);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getBillingDate()const;
|
||||
void setBillingDate(const std::string& billingDate);
|
||||
bool getIsBillingItem()const;
|
||||
void setIsBillingItem(bool isBillingItem);
|
||||
std::string getInstanceID()const;
|
||||
void setInstanceID(const std::string& instanceID);
|
||||
std::string getGranularity()const;
|
||||
void setGranularity(const std::string& granularity);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
bool isHideZeroCharge_;
|
||||
std::string subscriptionType_;
|
||||
long billOwnerId_;
|
||||
std::string productType_;
|
||||
std::string nextToken_;
|
||||
std::string billingCycle_;
|
||||
long ownerId_;
|
||||
std::string billingDate_;
|
||||
bool isBillingItem_;
|
||||
std::string instanceID_;
|
||||
std::string granularity_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEBILLREQUEST_H_
|
||||
@@ -0,0 +1,109 @@
|
||||
/*
|
||||
* 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_DESCRIBEINSTANCEBILLRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBEINSTANCEBILLRESULT_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 DescribeInstanceBillResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Item
|
||||
{
|
||||
std::string instanceSpec;
|
||||
std::string productName;
|
||||
std::string instanceID;
|
||||
float deductedByCashCoupons;
|
||||
std::string listPriceUnit;
|
||||
std::string billingDate;
|
||||
std::string listPrice;
|
||||
float paymentAmount;
|
||||
float deductedByPrepaidCard;
|
||||
float invoiceDiscount;
|
||||
std::string subscriptionType;
|
||||
std::string item;
|
||||
float pretaxGrossAmount;
|
||||
std::string instanceConfig;
|
||||
std::string currency;
|
||||
std::string commodityCode;
|
||||
std::string costUnit;
|
||||
std::string resourceGroup;
|
||||
std::string billingType;
|
||||
std::string usage;
|
||||
float deductedByCoupons;
|
||||
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 deductedByResourcePackage;
|
||||
std::string usageUnit;
|
||||
std::string ownerID;
|
||||
float pretaxAmount;
|
||||
std::string internetIP;
|
||||
std::string region;
|
||||
std::string tag;
|
||||
};
|
||||
std::string billingCycle;
|
||||
int totalCount;
|
||||
std::string accountID;
|
||||
std::string nextToken;
|
||||
int maxResults;
|
||||
std::vector<Item> items;
|
||||
std::string accountName;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstanceBillResult();
|
||||
explicit DescribeInstanceBillResult(const std::string &payload);
|
||||
~DescribeInstanceBillResult();
|
||||
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_DESCRIBEINSTANCEBILLRESULT_H_
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESPLITITEMBILLREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESPLITITEMBILLREQUEST_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 DescribeSplitItemBillRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct TagFilter
|
||||
{
|
||||
std::vector<std::string> tagValues;
|
||||
std::string tagKey;
|
||||
};
|
||||
|
||||
public:
|
||||
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);
|
||||
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 getInstanceID()const;
|
||||
void setInstanceID(const std::string& instanceID);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
int getMaxResults()const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
std::string splitItemID_;
|
||||
std::string productCode_;
|
||||
std::string subscriptionType_;
|
||||
std::string billingCycle_;
|
||||
long ownerId_;
|
||||
long billOwnerId_;
|
||||
std::vector<TagFilter> tagFilter_;
|
||||
std::string productType_;
|
||||
std::string instanceID_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESPLITITEMBILLREQUEST_H_
|
||||
@@ -0,0 +1,116 @@
|
||||
/*
|
||||
* 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_DESCRIBESPLITITEMBILLRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESPLITITEMBILLRESULT_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 DescribeSplitItemBillResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Item
|
||||
{
|
||||
std::string instanceSpec;
|
||||
std::string productName;
|
||||
std::string instanceID;
|
||||
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 currency;
|
||||
std::string commodityCode;
|
||||
std::string costUnit;
|
||||
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 tag;
|
||||
};
|
||||
std::string billingCycle;
|
||||
int totalCount;
|
||||
std::string accountID;
|
||||
std::string nextToken;
|
||||
int maxResults;
|
||||
std::vector<Item> items;
|
||||
std::string accountName;
|
||||
};
|
||||
|
||||
|
||||
DescribeSplitItemBillResult();
|
||||
explicit DescribeSplitItemBillResult(const std::string &payload);
|
||||
~DescribeSplitItemBillResult();
|
||||
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_DESCRIBESPLITITEMBILLRESULT_H_
|
||||
@@ -14,41 +14,35 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_OPENSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_OPENSERVICEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCIALACCOUNTINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCIALACCOUNTINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT OpenServiceRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryFinancialAccountInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
OpenServiceRequest();
|
||||
~OpenServiceRequest();
|
||||
QueryFinancialAccountInfoRequest();
|
||||
~QueryFinancialAccountInfoRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getJsonStr()const;
|
||||
void setJsonStr(const std::string& jsonStr);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getUserId()const;
|
||||
void setUserId(long userId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string jsonStr_;
|
||||
std::string accessKeyId_;
|
||||
long userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_OPENSERVICEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCIALACCOUNTINFOREQUEST_H_
|
||||
@@ -14,41 +14,40 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_VALIDATEROLESETRESULT_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_VALIDATEROLESETRESULT_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCIALACCOUNTINFORESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCIALACCOUNTINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT ValidateRoleSetResult : public ServiceResult
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryFinancialAccountInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SentenceResult
|
||||
struct Data
|
||||
{
|
||||
long endTime;
|
||||
int silenceDuration;
|
||||
long beginTime;
|
||||
std::string text;
|
||||
int channelId;
|
||||
int speechRate;
|
||||
int emotionValue;
|
||||
std::string userName;
|
||||
bool isFinancialAccount;
|
||||
std::string memberNickName;
|
||||
std::string memberGroupName;
|
||||
long memberGroupId;
|
||||
std::string accountType;
|
||||
};
|
||||
|
||||
|
||||
ValidateRoleSetResult();
|
||||
explicit ValidateRoleSetResult(const std::string &payload);
|
||||
~ValidateRoleSetResult();
|
||||
QueryFinancialAccountInfoResult();
|
||||
explicit QueryFinancialAccountInfoResult(const std::string &payload);
|
||||
~QueryFinancialAccountInfoResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<SentenceResult> getData()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -56,7 +55,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<SentenceResult> data_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -64,4 +63,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_VALIDATEROLESETRESULT_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCIALACCOUNTINFORESULT_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_QUERYINSTANCEBYTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYINSTANCEBYTAGREQUEST_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 QueryInstanceByTagRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
QueryInstanceByTagRequest();
|
||||
~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);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string resourceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYINSTANCEBYTAGREQUEST_H_
|
||||
@@ -14,31 +14,43 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATERULEFORANTRESULT_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATERULEFORANTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYINSTANCEBYTAGRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYINSTANCEBYTAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateRuleForAntResult : public ServiceResult
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryInstanceByTagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TagResourceItem
|
||||
{
|
||||
struct TagKeyValue
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string resourceId;
|
||||
std::string resourceType;
|
||||
std::vector<TagResourceItem::TagKeyValue> tag;
|
||||
};
|
||||
|
||||
|
||||
UpdateRuleForAntResult();
|
||||
explicit UpdateRuleForAntResult(const std::string &payload);
|
||||
~UpdateRuleForAntResult();
|
||||
QueryInstanceByTagResult();
|
||||
explicit QueryInstanceByTagResult(const std::string &payload);
|
||||
~QueryInstanceByTagResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<std::string> getData()const;
|
||||
std::string getNextToken()const;
|
||||
std::vector<TagResourceItem> getTagResource()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -46,7 +58,8 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<std::string> data_;
|
||||
std::string nextToken_;
|
||||
std::vector<TagResourceItem> tagResource_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -54,4 +67,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATERULEFORANTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYINSTANCEBYTAGRESULT_H_
|
||||
@@ -14,41 +14,35 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_CLOSESERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_CLOSESERVICEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPERMISSIONLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPERMISSIONLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT CloseServiceRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryPermissionListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CloseServiceRequest();
|
||||
~CloseServiceRequest();
|
||||
QueryPermissionListRequest();
|
||||
~QueryPermissionListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getJsonStr()const;
|
||||
void setJsonStr(const std::string& jsonStr);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getRelationId()const;
|
||||
void setRelationId(long relationId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string jsonStr_;
|
||||
std::string accessKeyId_;
|
||||
long relationId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_CLOSESERVICEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPERMISSIONLISTREQUEST_H_
|
||||
@@ -14,47 +14,47 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_GETRECOGNIZERESULTRESULT_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRECOGNIZERESULTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPERMISSIONLISTRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPERMISSIONLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT GetRecognizeResultResult : public ServiceResult
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryPermissionListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Dialogue
|
||||
struct PermissionListItem
|
||||
{
|
||||
std::string hourMinSec;
|
||||
std::string role;
|
||||
int silenceDuration;
|
||||
std::string words;
|
||||
long begin;
|
||||
std::string beginTime;
|
||||
long end;
|
||||
std::string identity;
|
||||
int speechRate;
|
||||
int emotionValue;
|
||||
std::string endTime;
|
||||
std::string permissionName;
|
||||
std::string startTime;
|
||||
std::string permissionCode;
|
||||
};
|
||||
long taskAsrRequestId;
|
||||
std::vector<Dialogue> dialogues;
|
||||
long memberId;
|
||||
std::string endTime;
|
||||
std::vector<PermissionListItem> permissionList;
|
||||
std::string state;
|
||||
std::string relationType;
|
||||
std::string setupTime;
|
||||
std::string startTime;
|
||||
long masterId;
|
||||
};
|
||||
|
||||
|
||||
GetRecognizeResultResult();
|
||||
explicit GetRecognizeResultResult(const std::string &payload);
|
||||
~GetRecognizeResultResult();
|
||||
QueryPermissionListResult();
|
||||
explicit QueryPermissionListResult(const std::string &payload);
|
||||
~QueryPermissionListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
@@ -72,4 +72,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETRECOGNIZERESULTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYPERMISSIONLISTRESULT_H_
|
||||
@@ -14,41 +14,44 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_VALIDATEROLESETREQUEST_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_VALIDATEROLESETREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRELATIONLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRELATIONLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT ValidateRoleSetRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryRelationListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ValidateRoleSetRequest();
|
||||
~ValidateRoleSetRequest();
|
||||
QueryRelationListRequest();
|
||||
~QueryRelationListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getJsonStr()const;
|
||||
void setJsonStr(const std::string& jsonStr);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::vector<std::string> getStatusList()const;
|
||||
void setStatusList(const std::vector<std::string>& statusList);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
long getUserId()const;
|
||||
void setUserId(long userId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string jsonStr_;
|
||||
std::string accessKeyId_;
|
||||
std::vector<std::string> statusList_;
|
||||
int pageNum_;
|
||||
long userId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_VALIDATEROLESETREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRELATIONLISTREQUEST_H_
|
||||
@@ -14,46 +14,51 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_GETDATASETLISTRESULT_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETDATASETLISTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRELATIONLISTRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRELATIONLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT GetDataSetListResult : public ServiceResult
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryRelationListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataSet
|
||||
struct Data
|
||||
{
|
||||
std::string setDomain;
|
||||
std::string setRoleArn;
|
||||
std::string createTime;
|
||||
int createType;
|
||||
std::string updateTime;
|
||||
std::string setName;
|
||||
long setId;
|
||||
int setNumber;
|
||||
std::string setFolderName;
|
||||
int channelType;
|
||||
std::string setBucketName;
|
||||
struct FinancialRelationInfoListItem
|
||||
{
|
||||
long accountId;
|
||||
std::string endTime;
|
||||
std::string state;
|
||||
std::string relationType;
|
||||
long relationId;
|
||||
std::string setupTime;
|
||||
std::string startTime;
|
||||
std::string accountType;
|
||||
std::string accountNickName;
|
||||
std::string accountName;
|
||||
};
|
||||
int totalCount;
|
||||
int pageNum;
|
||||
int pageSize;
|
||||
std::vector<FinancialRelationInfoListItem> financialRelationInfoList;
|
||||
};
|
||||
|
||||
|
||||
GetDataSetListResult();
|
||||
explicit GetDataSetListResult(const std::string &payload);
|
||||
~GetDataSetListResult();
|
||||
QueryRelationListResult();
|
||||
explicit QueryRelationListResult(const std::string &payload);
|
||||
~QueryRelationListResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<DataSet> getData()const;
|
||||
int getCount()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -61,8 +66,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<DataSet> data_;
|
||||
int count_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -70,4 +74,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETDATASETLISTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRELATIONLISTRESULT_H_
|
||||
@@ -45,8 +45,6 @@ namespace AlibabaCloud
|
||||
void setPageNum(int pageNum);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getInstanceType()const;
|
||||
@@ -58,7 +56,6 @@ namespace AlibabaCloud
|
||||
std::string locale_;
|
||||
int pageNum_;
|
||||
std::string instanceId_;
|
||||
std::string requestId_;
|
||||
int pageSize_;
|
||||
std::string instanceType_;
|
||||
|
||||
|
||||
@@ -45,8 +45,6 @@ namespace AlibabaCloud
|
||||
void setPageNum(int pageNum);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
@@ -56,7 +54,6 @@ namespace AlibabaCloud
|
||||
std::string locale_;
|
||||
int pageNum_;
|
||||
std::string instanceId_;
|
||||
std::string requestId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
|
||||
@@ -53,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setBillOwnerId(long billOwnerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
std::string getRecordID()const;
|
||||
void setRecordID(const std::string& recordID);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
int getMaxResults()const;
|
||||
@@ -68,6 +70,7 @@ namespace AlibabaCloud
|
||||
long ownerId_;
|
||||
long billOwnerId_;
|
||||
std::string productType_;
|
||||
std::string recordID_;
|
||||
std::string nextToken_;
|
||||
int maxResults_;
|
||||
|
||||
|
||||
@@ -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_TAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_TAGRESOURCESREQUEST_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 TagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
TagResourcesRequest();
|
||||
~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);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string resourceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_TAGRESOURCESREQUEST_H_
|
||||
@@ -14,30 +14,31 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_OPENSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_OPENSERVICERESULT_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_TAGRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_TAGRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT OpenServiceResult : public ServiceResult
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT TagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
OpenServiceResult();
|
||||
explicit OpenServiceResult(const std::string &payload);
|
||||
~OpenServiceResult();
|
||||
TagResourcesResult();
|
||||
explicit TagResourcesResult(const std::string &payload);
|
||||
~TagResourcesResult();
|
||||
std::string getMessage()const;
|
||||
bool getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -45,6 +46,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -52,4 +54,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_OPENSERVICERESULT_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_TAGRESOURCESRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_UNTAGRESOURCESREQUEST_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 UntagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UntagResourcesRequest();
|
||||
~UntagResourcesRequest();
|
||||
|
||||
bool getAll()const;
|
||||
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);
|
||||
|
||||
private:
|
||||
bool all_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::vector<std::string> tagKey_;
|
||||
std::string resourceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
@@ -14,30 +14,31 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_CLOSESERVICERESULT_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_CLOSESERVICERESULT_H_
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
namespace BssOpenApi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT CloseServiceResult : public ServiceResult
|
||||
class ALIBABACLOUD_BSSOPENAPI_EXPORT UntagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CloseServiceResult();
|
||||
explicit CloseServiceResult(const std::string &payload);
|
||||
~CloseServiceResult();
|
||||
UntagResourcesResult();
|
||||
explicit UntagResourcesResult(const std::string &payload);
|
||||
~UntagResourcesResult();
|
||||
std::string getMessage()const;
|
||||
bool getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -45,6 +46,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -52,4 +54,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_CLOSESERVICERESULT_H_
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
@@ -447,6 +447,42 @@ BssOpenApiClient::DeleteCostUnitOutcomeCallable BssOpenApiClient::deleteCostUnit
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeInstanceBillOutcome BssOpenApiClient::describeInstanceBill(const DescribeInstanceBillRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeInstanceBillOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeInstanceBillOutcome(DescribeInstanceBillResult(outcome.result()));
|
||||
else
|
||||
return DescribeInstanceBillOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::describeInstanceBillAsync(const DescribeInstanceBillRequest& request, const DescribeInstanceBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeInstanceBill(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeInstanceBillOutcomeCallable BssOpenApiClient::describeInstanceBillCallable(const DescribeInstanceBillRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeInstanceBillOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeInstanceBill(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribePricingModuleOutcome BssOpenApiClient::describePricingModule(const DescribePricingModuleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -519,6 +555,42 @@ BssOpenApiClient::DescribeResourcePackageProductOutcomeCallable BssOpenApiClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeSplitItemBillOutcome BssOpenApiClient::describeSplitItemBill(const DescribeSplitItemBillRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSplitItemBillOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSplitItemBillOutcome(DescribeSplitItemBillResult(outcome.result()));
|
||||
else
|
||||
return DescribeSplitItemBillOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::describeSplitItemBillAsync(const DescribeSplitItemBillRequest& request, const DescribeSplitItemBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSplitItemBill(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::DescribeSplitItemBillOutcomeCallable BssOpenApiClient::describeSplitItemBillCallable(const DescribeSplitItemBillRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSplitItemBillOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSplitItemBill(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::EnableBillGenerationOutcome BssOpenApiClient::enableBillGeneration(const EnableBillGenerationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1311,6 +1383,42 @@ BssOpenApiClient::QueryEvaluateListOutcomeCallable BssOpenApiClient::queryEvalua
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryFinancialAccountInfoOutcome BssOpenApiClient::queryFinancialAccountInfo(const QueryFinancialAccountInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryFinancialAccountInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryFinancialAccountInfoOutcome(QueryFinancialAccountInfoResult(outcome.result()));
|
||||
else
|
||||
return QueryFinancialAccountInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::queryFinancialAccountInfoAsync(const QueryFinancialAccountInfoRequest& request, const QueryFinancialAccountInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryFinancialAccountInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryFinancialAccountInfoOutcomeCallable BssOpenApiClient::queryFinancialAccountInfoCallable(const QueryFinancialAccountInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryFinancialAccountInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryFinancialAccountInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryInstanceBillOutcome BssOpenApiClient::queryInstanceBill(const QueryInstanceBillRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1347,6 +1455,42 @@ BssOpenApiClient::QueryInstanceBillOutcomeCallable BssOpenApiClient::queryInstan
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryInstanceByTagOutcome BssOpenApiClient::queryInstanceByTag(const QueryInstanceByTagRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryInstanceByTagOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryInstanceByTagOutcome(QueryInstanceByTagResult(outcome.result()));
|
||||
else
|
||||
return QueryInstanceByTagOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::queryInstanceByTagAsync(const QueryInstanceByTagRequest& request, const QueryInstanceByTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryInstanceByTag(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryInstanceByTagOutcomeCallable BssOpenApiClient::queryInstanceByTagCallable(const QueryInstanceByTagRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryInstanceByTagOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryInstanceByTag(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryInstanceGaapCostOutcome BssOpenApiClient::queryInstanceGaapCost(const QueryInstanceGaapCostRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1527,6 +1671,42 @@ BssOpenApiClient::QueryOrdersOutcomeCallable BssOpenApiClient::queryOrdersCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryPermissionListOutcome BssOpenApiClient::queryPermissionList(const QueryPermissionListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryPermissionListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryPermissionListOutcome(QueryPermissionListResult(outcome.result()));
|
||||
else
|
||||
return QueryPermissionListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::queryPermissionListAsync(const QueryPermissionListRequest& request, const QueryPermissionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryPermissionList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryPermissionListOutcomeCallable BssOpenApiClient::queryPermissionListCallable(const QueryPermissionListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryPermissionListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryPermissionList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryPrepaidCardsOutcome BssOpenApiClient::queryPrepaidCards(const QueryPrepaidCardsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1671,6 +1851,42 @@ BssOpenApiClient::QueryRedeemOutcomeCallable BssOpenApiClient::queryRedeemCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryRelationListOutcome BssOpenApiClient::queryRelationList(const QueryRelationListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryRelationListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryRelationListOutcome(QueryRelationListResult(outcome.result()));
|
||||
else
|
||||
return QueryRelationListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::queryRelationListAsync(const QueryRelationListRequest& request, const QueryRelationListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryRelationList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryRelationListOutcomeCallable BssOpenApiClient::queryRelationListCallable(const QueryRelationListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryRelationListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryRelationList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::QueryResellerAvailableQuotaOutcome BssOpenApiClient::queryResellerAvailableQuota(const QueryResellerAvailableQuotaRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2283,6 +2499,42 @@ BssOpenApiClient::SubscribeBillToOSSOutcomeCallable BssOpenApiClient::subscribeB
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::TagResourcesOutcome BssOpenApiClient::tagResources(const TagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TagResourcesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TagResourcesOutcome(TagResourcesResult(outcome.result()));
|
||||
else
|
||||
return TagResourcesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::tagResourcesAsync(const TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, tagResources(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::TagResourcesOutcomeCallable BssOpenApiClient::tagResourcesCallable(const TagResourcesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TagResourcesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->tagResources(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::UnsubscribeBillToOSSOutcome BssOpenApiClient::unsubscribeBillToOSS(const UnsubscribeBillToOSSRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2319,6 +2571,42 @@ BssOpenApiClient::UnsubscribeBillToOSSOutcomeCallable BssOpenApiClient::unsubscr
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::UntagResourcesOutcome BssOpenApiClient::untagResources(const UntagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UntagResourcesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UntagResourcesOutcome(UntagResourcesResult(outcome.result()));
|
||||
else
|
||||
return UntagResourcesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BssOpenApiClient::untagResourcesAsync(const UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, untagResources(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BssOpenApiClient::UntagResourcesOutcomeCallable BssOpenApiClient::untagResourcesCallable(const UntagResourcesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UntagResourcesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->untagResources(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BssOpenApiClient::UpgradeResourcePackageOutcome BssOpenApiClient::upgradeResourcePackage(const UpgradeResourcePackageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -71,6 +71,17 @@ void CreateInstanceRequest::setSubscriptionType(const std::string& subscriptionT
|
||||
setParameter("SubscriptionType", subscriptionType);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getLogistics()const
|
||||
{
|
||||
return logistics_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setLogistics(const std::string& logistics)
|
||||
{
|
||||
logistics_ = logistics;
|
||||
setParameter("Logistics", logistics);
|
||||
}
|
||||
|
||||
long CreateInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
172
bssopenapi/src/model/DescribeInstanceBillRequest.cc
Normal file
172
bssopenapi/src/model/DescribeInstanceBillRequest.cc
Normal file
@@ -0,0 +1,172 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/bssopenapi/model/DescribeInstanceBillRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::DescribeInstanceBillRequest;
|
||||
|
||||
DescribeInstanceBillRequest::DescribeInstanceBillRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "DescribeInstanceBill")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeInstanceBillRequest::~DescribeInstanceBillRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeInstanceBillRequest::getProductCode()const
|
||||
{
|
||||
return productCode_;
|
||||
}
|
||||
|
||||
void DescribeInstanceBillRequest::setProductCode(const std::string& productCode)
|
||||
{
|
||||
productCode_ = productCode;
|
||||
setParameter("ProductCode", productCode);
|
||||
}
|
||||
|
||||
bool DescribeInstanceBillRequest::getIsHideZeroCharge()const
|
||||
{
|
||||
return isHideZeroCharge_;
|
||||
}
|
||||
|
||||
void DescribeInstanceBillRequest::setIsHideZeroCharge(bool isHideZeroCharge)
|
||||
{
|
||||
isHideZeroCharge_ = isHideZeroCharge;
|
||||
setParameter("IsHideZeroCharge", isHideZeroCharge ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeInstanceBillRequest::getSubscriptionType()const
|
||||
{
|
||||
return subscriptionType_;
|
||||
}
|
||||
|
||||
void DescribeInstanceBillRequest::setSubscriptionType(const std::string& subscriptionType)
|
||||
{
|
||||
subscriptionType_ = subscriptionType;
|
||||
setParameter("SubscriptionType", subscriptionType);
|
||||
}
|
||||
|
||||
long DescribeInstanceBillRequest::getBillOwnerId()const
|
||||
{
|
||||
return billOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeInstanceBillRequest::setBillOwnerId(long billOwnerId)
|
||||
{
|
||||
billOwnerId_ = billOwnerId;
|
||||
setParameter("BillOwnerId", std::to_string(billOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeInstanceBillRequest::getProductType()const
|
||||
{
|
||||
return productType_;
|
||||
}
|
||||
|
||||
void DescribeInstanceBillRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string DescribeInstanceBillRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeInstanceBillRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
std::string DescribeInstanceBillRequest::getBillingCycle()const
|
||||
{
|
||||
return billingCycle_;
|
||||
}
|
||||
|
||||
void DescribeInstanceBillRequest::setBillingCycle(const std::string& billingCycle)
|
||||
{
|
||||
billingCycle_ = billingCycle;
|
||||
setParameter("BillingCycle", billingCycle);
|
||||
}
|
||||
|
||||
long DescribeInstanceBillRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeInstanceBillRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeInstanceBillRequest::getBillingDate()const
|
||||
{
|
||||
return billingDate_;
|
||||
}
|
||||
|
||||
void DescribeInstanceBillRequest::setBillingDate(const std::string& billingDate)
|
||||
{
|
||||
billingDate_ = billingDate;
|
||||
setParameter("BillingDate", billingDate);
|
||||
}
|
||||
|
||||
bool DescribeInstanceBillRequest::getIsBillingItem()const
|
||||
{
|
||||
return isBillingItem_;
|
||||
}
|
||||
|
||||
void DescribeInstanceBillRequest::setIsBillingItem(bool isBillingItem)
|
||||
{
|
||||
isBillingItem_ = isBillingItem;
|
||||
setParameter("IsBillingItem", isBillingItem ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeInstanceBillRequest::getInstanceID()const
|
||||
{
|
||||
return instanceID_;
|
||||
}
|
||||
|
||||
void DescribeInstanceBillRequest::setInstanceID(const std::string& instanceID)
|
||||
{
|
||||
instanceID_ = instanceID;
|
||||
setParameter("InstanceID", instanceID);
|
||||
}
|
||||
|
||||
std::string DescribeInstanceBillRequest::getGranularity()const
|
||||
{
|
||||
return granularity_;
|
||||
}
|
||||
|
||||
void DescribeInstanceBillRequest::setGranularity(const std::string& granularity)
|
||||
{
|
||||
granularity_ = granularity;
|
||||
setParameter("Granularity", granularity);
|
||||
}
|
||||
|
||||
int DescribeInstanceBillRequest::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void DescribeInstanceBillRequest::setMaxResults(int maxResults)
|
||||
{
|
||||
maxResults_ = maxResults;
|
||||
setParameter("MaxResults", std::to_string(maxResults));
|
||||
}
|
||||
|
||||
167
bssopenapi/src/model/DescribeInstanceBillResult.cc
Normal file
167
bssopenapi/src/model/DescribeInstanceBillResult.cc
Normal file
@@ -0,0 +1,167 @@
|
||||
/*
|
||||
* 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/DescribeInstanceBillResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
DescribeInstanceBillResult::DescribeInstanceBillResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeInstanceBillResult::DescribeInstanceBillResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeInstanceBillResult::~DescribeInstanceBillResult()
|
||||
{}
|
||||
|
||||
void DescribeInstanceBillResult::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["BillingCycle"].isNull())
|
||||
data_.billingCycle = dataNode["BillingCycle"].asString();
|
||||
if(!dataNode["AccountID"].isNull())
|
||||
data_.accountID = dataNode["AccountID"].asString();
|
||||
if(!dataNode["AccountName"].isNull())
|
||||
data_.accountName = dataNode["AccountName"].asString();
|
||||
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["InstanceID"].isNull())
|
||||
itemObject.instanceID = dataNodeItemsItem["InstanceID"].asString();
|
||||
if(!dataNodeItemsItem["BillingType"].isNull())
|
||||
itemObject.billingType = dataNodeItemsItem["BillingType"].asString();
|
||||
if(!dataNodeItemsItem["CostUnit"].isNull())
|
||||
itemObject.costUnit = dataNodeItemsItem["CostUnit"].asString();
|
||||
if(!dataNodeItemsItem["ProductCode"].isNull())
|
||||
itemObject.productCode = dataNodeItemsItem["ProductCode"].asString();
|
||||
if(!dataNodeItemsItem["ProductType"].isNull())
|
||||
itemObject.productType = dataNodeItemsItem["ProductType"].asString();
|
||||
if(!dataNodeItemsItem["SubscriptionType"].isNull())
|
||||
itemObject.subscriptionType = dataNodeItemsItem["SubscriptionType"].asString();
|
||||
if(!dataNodeItemsItem["ProductName"].isNull())
|
||||
itemObject.productName = dataNodeItemsItem["ProductName"].asString();
|
||||
if(!dataNodeItemsItem["ProductDetail"].isNull())
|
||||
itemObject.productDetail = dataNodeItemsItem["ProductDetail"].asString();
|
||||
if(!dataNodeItemsItem["OwnerID"].isNull())
|
||||
itemObject.ownerID = dataNodeItemsItem["OwnerID"].asString();
|
||||
if(!dataNodeItemsItem["BillingItem"].isNull())
|
||||
itemObject.billingItem = dataNodeItemsItem["BillingItem"].asString();
|
||||
if(!dataNodeItemsItem["ListPrice"].isNull())
|
||||
itemObject.listPrice = dataNodeItemsItem["ListPrice"].asString();
|
||||
if(!dataNodeItemsItem["ListPriceUnit"].isNull())
|
||||
itemObject.listPriceUnit = dataNodeItemsItem["ListPriceUnit"].asString();
|
||||
if(!dataNodeItemsItem["Usage"].isNull())
|
||||
itemObject.usage = dataNodeItemsItem["Usage"].asString();
|
||||
if(!dataNodeItemsItem["UsageUnit"].isNull())
|
||||
itemObject.usageUnit = dataNodeItemsItem["UsageUnit"].asString();
|
||||
if(!dataNodeItemsItem["DeductedByResourcePackage"].isNull())
|
||||
itemObject.deductedByResourcePackage = dataNodeItemsItem["DeductedByResourcePackage"].asString();
|
||||
if(!dataNodeItemsItem["PretaxGrossAmount"].isNull())
|
||||
itemObject.pretaxGrossAmount = std::stof(dataNodeItemsItem["PretaxGrossAmount"].asString());
|
||||
if(!dataNodeItemsItem["InvoiceDiscount"].isNull())
|
||||
itemObject.invoiceDiscount = std::stof(dataNodeItemsItem["InvoiceDiscount"].asString());
|
||||
if(!dataNodeItemsItem["DeductedByCoupons"].isNull())
|
||||
itemObject.deductedByCoupons = std::stof(dataNodeItemsItem["DeductedByCoupons"].asString());
|
||||
if(!dataNodeItemsItem["PretaxAmount"].isNull())
|
||||
itemObject.pretaxAmount = std::stof(dataNodeItemsItem["PretaxAmount"].asString());
|
||||
if(!dataNodeItemsItem["DeductedByCashCoupons"].isNull())
|
||||
itemObject.deductedByCashCoupons = std::stof(dataNodeItemsItem["DeductedByCashCoupons"].asString());
|
||||
if(!dataNodeItemsItem["DeductedByPrepaidCard"].isNull())
|
||||
itemObject.deductedByPrepaidCard = std::stof(dataNodeItemsItem["DeductedByPrepaidCard"].asString());
|
||||
if(!dataNodeItemsItem["PaymentAmount"].isNull())
|
||||
itemObject.paymentAmount = std::stof(dataNodeItemsItem["PaymentAmount"].asString());
|
||||
if(!dataNodeItemsItem["OutstandingAmount"].isNull())
|
||||
itemObject.outstandingAmount = std::stof(dataNodeItemsItem["OutstandingAmount"].asString());
|
||||
if(!dataNodeItemsItem["Currency"].isNull())
|
||||
itemObject.currency = dataNodeItemsItem["Currency"].asString();
|
||||
if(!dataNodeItemsItem["NickName"].isNull())
|
||||
itemObject.nickName = dataNodeItemsItem["NickName"].asString();
|
||||
if(!dataNodeItemsItem["ResourceGroup"].isNull())
|
||||
itemObject.resourceGroup = dataNodeItemsItem["ResourceGroup"].asString();
|
||||
if(!dataNodeItemsItem["Tag"].isNull())
|
||||
itemObject.tag = dataNodeItemsItem["Tag"].asString();
|
||||
if(!dataNodeItemsItem["InstanceConfig"].isNull())
|
||||
itemObject.instanceConfig = dataNodeItemsItem["InstanceConfig"].asString();
|
||||
if(!dataNodeItemsItem["InstanceSpec"].isNull())
|
||||
itemObject.instanceSpec = dataNodeItemsItem["InstanceSpec"].asString();
|
||||
if(!dataNodeItemsItem["InternetIP"].isNull())
|
||||
itemObject.internetIP = dataNodeItemsItem["InternetIP"].asString();
|
||||
if(!dataNodeItemsItem["IntranetIP"].isNull())
|
||||
itemObject.intranetIP = dataNodeItemsItem["IntranetIP"].asString();
|
||||
if(!dataNodeItemsItem["Region"].isNull())
|
||||
itemObject.region = dataNodeItemsItem["Region"].asString();
|
||||
if(!dataNodeItemsItem["Zone"].isNull())
|
||||
itemObject.zone = dataNodeItemsItem["Zone"].asString();
|
||||
if(!dataNodeItemsItem["Item"].isNull())
|
||||
itemObject.item = dataNodeItemsItem["Item"].asString();
|
||||
if(!dataNodeItemsItem["ServicePeriod"].isNull())
|
||||
itemObject.servicePeriod = dataNodeItemsItem["ServicePeriod"].asString();
|
||||
if(!dataNodeItemsItem["BillingDate"].isNull())
|
||||
itemObject.billingDate = dataNodeItemsItem["BillingDate"].asString();
|
||||
if(!dataNodeItemsItem["ServicePeriodUnit"].isNull())
|
||||
itemObject.servicePeriodUnit = dataNodeItemsItem["ServicePeriodUnit"].asString();
|
||||
if(!dataNodeItemsItem["PipCode"].isNull())
|
||||
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
|
||||
if(!dataNodeItemsItem["CommodityCode"].isNull())
|
||||
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].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 DescribeInstanceBillResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
DescribeInstanceBillResult::Data DescribeInstanceBillResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DescribeInstanceBillResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribeInstanceBillResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
157
bssopenapi/src/model/DescribeSplitItemBillRequest.cc
Normal file
157
bssopenapi/src/model/DescribeSplitItemBillRequest.cc
Normal file
@@ -0,0 +1,157 @@
|
||||
/*
|
||||
* 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/DescribeSplitItemBillRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::DescribeSplitItemBillRequest;
|
||||
|
||||
DescribeSplitItemBillRequest::DescribeSplitItemBillRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "DescribeSplitItemBill")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setProductCode(const std::string& productCode)
|
||||
{
|
||||
productCode_ = productCode;
|
||||
setParameter("ProductCode", productCode);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getSubscriptionType()const
|
||||
{
|
||||
return subscriptionType_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setSubscriptionType(const std::string& subscriptionType)
|
||||
{
|
||||
subscriptionType_ = subscriptionType;
|
||||
setParameter("SubscriptionType", subscriptionType);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getBillingCycle()const
|
||||
{
|
||||
return billingCycle_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setBillingCycle(const std::string& billingCycle)
|
||||
{
|
||||
billingCycle_ = billingCycle;
|
||||
setParameter("BillingCycle", billingCycle);
|
||||
}
|
||||
|
||||
long DescribeSplitItemBillRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = 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_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setTagFilter(const std::vector<TagFilter>& tagFilter)
|
||||
{
|
||||
tagFilter_ = tagFilter;
|
||||
for(int dep1 = 0; dep1!= tagFilter.size(); dep1++) {
|
||||
auto tagFilterObj = tagFilter.at(dep1);
|
||||
std::string tagFilterObjStr = "TagFilter." + std::to_string(dep1 + 1);
|
||||
for(int dep2 = 0; dep2!= tagFilterObj.tagValues.size(); dep2++) {
|
||||
setParameter(tagFilterObjStr + ".TagValues."+ std::to_string(dep2), tagFilterObj.tagValues.at(dep2));
|
||||
}
|
||||
setParameter(tagFilterObjStr + ".TagKey", tagFilterObj.tagKey);
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getProductType()const
|
||||
{
|
||||
return productType_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getInstanceID()const
|
||||
{
|
||||
return instanceID_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setInstanceID(const std::string& instanceID)
|
||||
{
|
||||
instanceID_ = instanceID;
|
||||
setParameter("InstanceID", instanceID);
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
int DescribeSplitItemBillRequest::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
void DescribeSplitItemBillRequest::setMaxResults(int maxResults)
|
||||
{
|
||||
maxResults_ = maxResults;
|
||||
setParameter("MaxResults", std::to_string(maxResults));
|
||||
}
|
||||
|
||||
181
bssopenapi/src/model/DescribeSplitItemBillResult.cc
Normal file
181
bssopenapi/src/model/DescribeSplitItemBillResult.cc
Normal file
@@ -0,0 +1,181 @@
|
||||
/*
|
||||
* 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/DescribeSplitItemBillResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
DescribeSplitItemBillResult::DescribeSplitItemBillResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSplitItemBillResult::DescribeSplitItemBillResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSplitItemBillResult::~DescribeSplitItemBillResult()
|
||||
{}
|
||||
|
||||
void DescribeSplitItemBillResult::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["BillingCycle"].isNull())
|
||||
data_.billingCycle = dataNode["BillingCycle"].asString();
|
||||
if(!dataNode["AccountID"].isNull())
|
||||
data_.accountID = dataNode["AccountID"].asString();
|
||||
if(!dataNode["AccountName"].isNull())
|
||||
data_.accountName = dataNode["AccountName"].asString();
|
||||
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["InstanceID"].isNull())
|
||||
itemObject.instanceID = dataNodeItemsItem["InstanceID"].asString();
|
||||
if(!dataNodeItemsItem["BillingType"].isNull())
|
||||
itemObject.billingType = dataNodeItemsItem["BillingType"].asString();
|
||||
if(!dataNodeItemsItem["CostUnit"].isNull())
|
||||
itemObject.costUnit = dataNodeItemsItem["CostUnit"].asString();
|
||||
if(!dataNodeItemsItem["ProductCode"].isNull())
|
||||
itemObject.productCode = dataNodeItemsItem["ProductCode"].asString();
|
||||
if(!dataNodeItemsItem["ProductType"].isNull())
|
||||
itemObject.productType = dataNodeItemsItem["ProductType"].asString();
|
||||
if(!dataNodeItemsItem["SubscriptionType"].isNull())
|
||||
itemObject.subscriptionType = dataNodeItemsItem["SubscriptionType"].asString();
|
||||
if(!dataNodeItemsItem["ProductName"].isNull())
|
||||
itemObject.productName = dataNodeItemsItem["ProductName"].asString();
|
||||
if(!dataNodeItemsItem["ProductDetail"].isNull())
|
||||
itemObject.productDetail = dataNodeItemsItem["ProductDetail"].asString();
|
||||
if(!dataNodeItemsItem["OwnerID"].isNull())
|
||||
itemObject.ownerID = dataNodeItemsItem["OwnerID"].asString();
|
||||
if(!dataNodeItemsItem["BillingItem"].isNull())
|
||||
itemObject.billingItem = dataNodeItemsItem["BillingItem"].asString();
|
||||
if(!dataNodeItemsItem["ListPrice"].isNull())
|
||||
itemObject.listPrice = dataNodeItemsItem["ListPrice"].asString();
|
||||
if(!dataNodeItemsItem["ListPriceUnit"].isNull())
|
||||
itemObject.listPriceUnit = dataNodeItemsItem["ListPriceUnit"].asString();
|
||||
if(!dataNodeItemsItem["Usage"].isNull())
|
||||
itemObject.usage = dataNodeItemsItem["Usage"].asString();
|
||||
if(!dataNodeItemsItem["UsageUnit"].isNull())
|
||||
itemObject.usageUnit = dataNodeItemsItem["UsageUnit"].asString();
|
||||
if(!dataNodeItemsItem["DeductedByResourcePackage"].isNull())
|
||||
itemObject.deductedByResourcePackage = dataNodeItemsItem["DeductedByResourcePackage"].asString();
|
||||
if(!dataNodeItemsItem["PretaxGrossAmount"].isNull())
|
||||
itemObject.pretaxGrossAmount = std::stof(dataNodeItemsItem["PretaxGrossAmount"].asString());
|
||||
if(!dataNodeItemsItem["InvoiceDiscount"].isNull())
|
||||
itemObject.invoiceDiscount = std::stof(dataNodeItemsItem["InvoiceDiscount"].asString());
|
||||
if(!dataNodeItemsItem["DeductedByCoupons"].isNull())
|
||||
itemObject.deductedByCoupons = std::stof(dataNodeItemsItem["DeductedByCoupons"].asString());
|
||||
if(!dataNodeItemsItem["PretaxAmount"].isNull())
|
||||
itemObject.pretaxAmount = std::stof(dataNodeItemsItem["PretaxAmount"].asString());
|
||||
if(!dataNodeItemsItem["DeductedByCashCoupons"].isNull())
|
||||
itemObject.deductedByCashCoupons = std::stof(dataNodeItemsItem["DeductedByCashCoupons"].asString());
|
||||
if(!dataNodeItemsItem["DeductedByPrepaidCard"].isNull())
|
||||
itemObject.deductedByPrepaidCard = std::stof(dataNodeItemsItem["DeductedByPrepaidCard"].asString());
|
||||
if(!dataNodeItemsItem["PaymentAmount"].isNull())
|
||||
itemObject.paymentAmount = std::stof(dataNodeItemsItem["PaymentAmount"].asString());
|
||||
if(!dataNodeItemsItem["OutstandingAmount"].isNull())
|
||||
itemObject.outstandingAmount = std::stof(dataNodeItemsItem["OutstandingAmount"].asString());
|
||||
if(!dataNodeItemsItem["Currency"].isNull())
|
||||
itemObject.currency = dataNodeItemsItem["Currency"].asString();
|
||||
if(!dataNodeItemsItem["NickName"].isNull())
|
||||
itemObject.nickName = dataNodeItemsItem["NickName"].asString();
|
||||
if(!dataNodeItemsItem["ResourceGroup"].isNull())
|
||||
itemObject.resourceGroup = dataNodeItemsItem["ResourceGroup"].asString();
|
||||
if(!dataNodeItemsItem["Tag"].isNull())
|
||||
itemObject.tag = dataNodeItemsItem["Tag"].asString();
|
||||
if(!dataNodeItemsItem["InstanceConfig"].isNull())
|
||||
itemObject.instanceConfig = dataNodeItemsItem["InstanceConfig"].asString();
|
||||
if(!dataNodeItemsItem["InstanceSpec"].isNull())
|
||||
itemObject.instanceSpec = dataNodeItemsItem["InstanceSpec"].asString();
|
||||
if(!dataNodeItemsItem["InternetIP"].isNull())
|
||||
itemObject.internetIP = dataNodeItemsItem["InternetIP"].asString();
|
||||
if(!dataNodeItemsItem["IntranetIP"].isNull())
|
||||
itemObject.intranetIP = dataNodeItemsItem["IntranetIP"].asString();
|
||||
if(!dataNodeItemsItem["Region"].isNull())
|
||||
itemObject.region = dataNodeItemsItem["Region"].asString();
|
||||
if(!dataNodeItemsItem["Zone"].isNull())
|
||||
itemObject.zone = dataNodeItemsItem["Zone"].asString();
|
||||
if(!dataNodeItemsItem["Item"].isNull())
|
||||
itemObject.item = dataNodeItemsItem["Item"].asString();
|
||||
if(!dataNodeItemsItem["ServicePeriod"].isNull())
|
||||
itemObject.servicePeriod = dataNodeItemsItem["ServicePeriod"].asString();
|
||||
if(!dataNodeItemsItem["BillingDate"].isNull())
|
||||
itemObject.billingDate = dataNodeItemsItem["BillingDate"].asString();
|
||||
if(!dataNodeItemsItem["SplitItemID"].isNull())
|
||||
itemObject.splitItemID = dataNodeItemsItem["SplitItemID"].asString();
|
||||
if(!dataNodeItemsItem["SplitItemName"].isNull())
|
||||
itemObject.splitItemName = dataNodeItemsItem["SplitItemName"].asString();
|
||||
if(!dataNodeItemsItem["PipCode"].isNull())
|
||||
itemObject.pipCode = dataNodeItemsItem["PipCode"].asString();
|
||||
if(!dataNodeItemsItem["CommodityCode"].isNull())
|
||||
itemObject.commodityCode = dataNodeItemsItem["CommodityCode"].asString();
|
||||
if(!dataNodeItemsItem["ServicePeriodUnit"].isNull())
|
||||
itemObject.servicePeriodUnit = dataNodeItemsItem["ServicePeriodUnit"].asString();
|
||||
if(!dataNodeItemsItem["SplitCommodityCode"].isNull())
|
||||
itemObject.splitCommodityCode = dataNodeItemsItem["SplitCommodityCode"].asString();
|
||||
if(!dataNodeItemsItem["SplitProductDetail"].isNull())
|
||||
itemObject.splitProductDetail = dataNodeItemsItem["SplitProductDetail"].asString();
|
||||
if(!dataNodeItemsItem["SplitAccountID"].isNull())
|
||||
itemObject.splitAccountID = dataNodeItemsItem["SplitAccountID"].asString();
|
||||
if(!dataNodeItemsItem["SplitAccountName"].isNull())
|
||||
itemObject.splitAccountName = dataNodeItemsItem["SplitAccountName"].asString();
|
||||
if(!dataNodeItemsItem["SplitBillingCycle"].isNull())
|
||||
itemObject.splitBillingCycle = dataNodeItemsItem["SplitBillingCycle"].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 DescribeSplitItemBillResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
DescribeSplitItemBillResult::Data DescribeSplitItemBillResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DescribeSplitItemBillResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribeSplitItemBillResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
40
bssopenapi/src/model/QueryFinancialAccountInfoRequest.cc
Normal file
40
bssopenapi/src/model/QueryFinancialAccountInfoRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/bssopenapi/model/QueryFinancialAccountInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::QueryFinancialAccountInfoRequest;
|
||||
|
||||
QueryFinancialAccountInfoRequest::QueryFinancialAccountInfoRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "QueryFinancialAccountInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryFinancialAccountInfoRequest::~QueryFinancialAccountInfoRequest()
|
||||
{}
|
||||
|
||||
long QueryFinancialAccountInfoRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void QueryFinancialAccountInfoRequest::setUserId(long userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setParameter("UserId", std::to_string(userId));
|
||||
}
|
||||
|
||||
83
bssopenapi/src/model/QueryFinancialAccountInfoResult.cc
Normal file
83
bssopenapi/src/model/QueryFinancialAccountInfoResult.cc
Normal file
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* 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/QueryFinancialAccountInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
QueryFinancialAccountInfoResult::QueryFinancialAccountInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryFinancialAccountInfoResult::QueryFinancialAccountInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryFinancialAccountInfoResult::~QueryFinancialAccountInfoResult()
|
||||
{}
|
||||
|
||||
void QueryFinancialAccountInfoResult::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["UserName"].isNull())
|
||||
data_.userName = dataNode["UserName"].asString();
|
||||
if(!dataNode["IsFinancialAccount"].isNull())
|
||||
data_.isFinancialAccount = dataNode["IsFinancialAccount"].asString() == "true";
|
||||
if(!dataNode["AccountType"].isNull())
|
||||
data_.accountType = dataNode["AccountType"].asString();
|
||||
if(!dataNode["MemberNickName"].isNull())
|
||||
data_.memberNickName = dataNode["MemberNickName"].asString();
|
||||
if(!dataNode["MemberGroupId"].isNull())
|
||||
data_.memberGroupId = std::stol(dataNode["MemberGroupId"].asString());
|
||||
if(!dataNode["MemberGroupName"].isNull())
|
||||
data_.memberGroupName = dataNode["MemberGroupName"].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 QueryFinancialAccountInfoResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
QueryFinancialAccountInfoResult::Data QueryFinancialAccountInfoResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryFinancialAccountInfoResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool QueryFinancialAccountInfoResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
69
bssopenapi/src/model/QueryInstanceByTagRequest.cc
Normal file
69
bssopenapi/src/model/QueryInstanceByTagRequest.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/bssopenapi/model/QueryInstanceByTagRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::QueryInstanceByTagRequest;
|
||||
|
||||
QueryInstanceByTagRequest::QueryInstanceByTagRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "QueryInstanceByTag")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryInstanceByTagRequest::~QueryInstanceByTagRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> QueryInstanceByTagRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void QueryInstanceByTagRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
|
||||
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<QueryInstanceByTagRequest::Tag> QueryInstanceByTagRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void QueryInstanceByTagRequest::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);
|
||||
}
|
||||
}
|
||||
|
||||
std::string QueryInstanceByTagRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void QueryInstanceByTagRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
97
bssopenapi/src/model/QueryInstanceByTagResult.cc
Normal file
97
bssopenapi/src/model/QueryInstanceByTagResult.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/QueryInstanceByTagResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
QueryInstanceByTagResult::QueryInstanceByTagResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryInstanceByTagResult::QueryInstanceByTagResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryInstanceByTagResult::~QueryInstanceByTagResult()
|
||||
{}
|
||||
|
||||
void QueryInstanceByTagResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTagResourceNode = value["TagResource"]["TagResourceItem"];
|
||||
for (auto valueTagResourceTagResourceItem : allTagResourceNode)
|
||||
{
|
||||
TagResourceItem tagResourceObject;
|
||||
if(!valueTagResourceTagResourceItem["ResourceId"].isNull())
|
||||
tagResourceObject.resourceId = valueTagResourceTagResourceItem["ResourceId"].asString();
|
||||
if(!valueTagResourceTagResourceItem["ResourceType"].isNull())
|
||||
tagResourceObject.resourceType = valueTagResourceTagResourceItem["ResourceType"].asString();
|
||||
auto allTagNode = valueTagResourceTagResourceItem["Tag"]["TagKeyValue"];
|
||||
for (auto valueTagResourceTagResourceItemTagTagKeyValue : allTagNode)
|
||||
{
|
||||
TagResourceItem::TagKeyValue tagObject;
|
||||
if(!valueTagResourceTagResourceItemTagTagKeyValue["Key"].isNull())
|
||||
tagObject.key = valueTagResourceTagResourceItemTagTagKeyValue["Key"].asString();
|
||||
if(!valueTagResourceTagResourceItemTagTagKeyValue["Value"].isNull())
|
||||
tagObject.value = valueTagResourceTagResourceItemTagTagKeyValue["Value"].asString();
|
||||
tagResourceObject.tag.push_back(tagObject);
|
||||
}
|
||||
tagResource_.push_back(tagResourceObject);
|
||||
}
|
||||
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();
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryInstanceByTagResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string QueryInstanceByTagResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<QueryInstanceByTagResult::TagResourceItem> QueryInstanceByTagResult::getTagResource()const
|
||||
{
|
||||
return tagResource_;
|
||||
}
|
||||
|
||||
std::string QueryInstanceByTagResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool QueryInstanceByTagResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
40
bssopenapi/src/model/QueryPermissionListRequest.cc
Normal file
40
bssopenapi/src/model/QueryPermissionListRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/bssopenapi/model/QueryPermissionListRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::QueryPermissionListRequest;
|
||||
|
||||
QueryPermissionListRequest::QueryPermissionListRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "QueryPermissionList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryPermissionListRequest::~QueryPermissionListRequest()
|
||||
{}
|
||||
|
||||
long QueryPermissionListRequest::getRelationId()const
|
||||
{
|
||||
return relationId_;
|
||||
}
|
||||
|
||||
void QueryPermissionListRequest::setRelationId(long relationId)
|
||||
{
|
||||
relationId_ = relationId;
|
||||
setParameter("RelationId", std::to_string(relationId));
|
||||
}
|
||||
|
||||
99
bssopenapi/src/model/QueryPermissionListResult.cc
Normal file
99
bssopenapi/src/model/QueryPermissionListResult.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* 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/QueryPermissionListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
QueryPermissionListResult::QueryPermissionListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryPermissionListResult::QueryPermissionListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryPermissionListResult::~QueryPermissionListResult()
|
||||
{}
|
||||
|
||||
void QueryPermissionListResult::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["MasterId"].isNull())
|
||||
data_.masterId = std::stol(dataNode["MasterId"].asString());
|
||||
if(!dataNode["MemberId"].isNull())
|
||||
data_.memberId = std::stol(dataNode["MemberId"].asString());
|
||||
if(!dataNode["RelationType"].isNull())
|
||||
data_.relationType = dataNode["RelationType"].asString();
|
||||
if(!dataNode["State"].isNull())
|
||||
data_.state = dataNode["State"].asString();
|
||||
if(!dataNode["SetupTime"].isNull())
|
||||
data_.setupTime = dataNode["SetupTime"].asString();
|
||||
if(!dataNode["StartTime"].isNull())
|
||||
data_.startTime = dataNode["StartTime"].asString();
|
||||
if(!dataNode["EndTime"].isNull())
|
||||
data_.endTime = dataNode["EndTime"].asString();
|
||||
auto allPermissionListNode = dataNode["PermissionList"]["PermissionListItem"];
|
||||
for (auto dataNodePermissionListPermissionListItem : allPermissionListNode)
|
||||
{
|
||||
Data::PermissionListItem permissionListItemObject;
|
||||
if(!dataNodePermissionListPermissionListItem["PermissionCode"].isNull())
|
||||
permissionListItemObject.permissionCode = dataNodePermissionListPermissionListItem["PermissionCode"].asString();
|
||||
if(!dataNodePermissionListPermissionListItem["PermissionName"].isNull())
|
||||
permissionListItemObject.permissionName = dataNodePermissionListPermissionListItem["PermissionName"].asString();
|
||||
if(!dataNodePermissionListPermissionListItem["StartTime"].isNull())
|
||||
permissionListItemObject.startTime = dataNodePermissionListPermissionListItem["StartTime"].asString();
|
||||
if(!dataNodePermissionListPermissionListItem["EndTime"].isNull())
|
||||
permissionListItemObject.endTime = dataNodePermissionListPermissionListItem["EndTime"].asString();
|
||||
data_.permissionList.push_back(permissionListItemObject);
|
||||
}
|
||||
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 QueryPermissionListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
QueryPermissionListResult::Data QueryPermissionListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryPermissionListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool QueryPermissionListResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
75
bssopenapi/src/model/QueryRelationListRequest.cc
Normal file
75
bssopenapi/src/model/QueryRelationListRequest.cc
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/bssopenapi/model/QueryRelationListRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::QueryRelationListRequest;
|
||||
|
||||
QueryRelationListRequest::QueryRelationListRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "QueryRelationList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryRelationListRequest::~QueryRelationListRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> QueryRelationListRequest::getStatusList()const
|
||||
{
|
||||
return statusList_;
|
||||
}
|
||||
|
||||
void QueryRelationListRequest::setStatusList(const std::vector<std::string>& statusList)
|
||||
{
|
||||
statusList_ = statusList;
|
||||
for(int dep1 = 0; dep1!= statusList.size(); dep1++) {
|
||||
setParameter("StatusList."+ std::to_string(dep1), statusList.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
int QueryRelationListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void QueryRelationListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
long QueryRelationListRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void QueryRelationListRequest::setUserId(long userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setParameter("UserId", std::to_string(userId));
|
||||
}
|
||||
|
||||
int QueryRelationListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryRelationListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
103
bssopenapi/src/model/QueryRelationListResult.cc
Normal file
103
bssopenapi/src/model/QueryRelationListResult.cc
Normal file
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
* 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/QueryRelationListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
QueryRelationListResult::QueryRelationListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryRelationListResult::QueryRelationListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryRelationListResult::~QueryRelationListResult()
|
||||
{}
|
||||
|
||||
void QueryRelationListResult::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["PageNum"].isNull())
|
||||
data_.pageNum = std::stoi(dataNode["PageNum"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||
if(!dataNode["TotalCount"].isNull())
|
||||
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
|
||||
auto allFinancialRelationInfoListNode = dataNode["FinancialRelationInfoList"]["FinancialRelationInfoListItem"];
|
||||
for (auto dataNodeFinancialRelationInfoListFinancialRelationInfoListItem : allFinancialRelationInfoListNode)
|
||||
{
|
||||
Data::FinancialRelationInfoListItem financialRelationInfoListItemObject;
|
||||
if(!dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["RelationId"].isNull())
|
||||
financialRelationInfoListItemObject.relationId = std::stol(dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["RelationId"].asString());
|
||||
if(!dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["AccountType"].isNull())
|
||||
financialRelationInfoListItemObject.accountType = dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["AccountType"].asString();
|
||||
if(!dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["AccountId"].isNull())
|
||||
financialRelationInfoListItemObject.accountId = std::stol(dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["AccountId"].asString());
|
||||
if(!dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["AccountName"].isNull())
|
||||
financialRelationInfoListItemObject.accountName = dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["AccountName"].asString();
|
||||
if(!dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["AccountNickName"].isNull())
|
||||
financialRelationInfoListItemObject.accountNickName = dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["AccountNickName"].asString();
|
||||
if(!dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["RelationType"].isNull())
|
||||
financialRelationInfoListItemObject.relationType = dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["RelationType"].asString();
|
||||
if(!dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["State"].isNull())
|
||||
financialRelationInfoListItemObject.state = dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["State"].asString();
|
||||
if(!dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["SetupTime"].isNull())
|
||||
financialRelationInfoListItemObject.setupTime = dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["SetupTime"].asString();
|
||||
if(!dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["StartTime"].isNull())
|
||||
financialRelationInfoListItemObject.startTime = dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["StartTime"].asString();
|
||||
if(!dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["EndTime"].isNull())
|
||||
financialRelationInfoListItemObject.endTime = dataNodeFinancialRelationInfoListFinancialRelationInfoListItem["EndTime"].asString();
|
||||
data_.financialRelationInfoList.push_back(financialRelationInfoListItemObject);
|
||||
}
|
||||
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 QueryRelationListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
QueryRelationListResult::Data QueryRelationListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryRelationListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool QueryRelationListResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -82,17 +82,6 @@ void QuerySavingsPlansDeductLogRequest::setInstanceId(const std::string& instanc
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string QuerySavingsPlansDeductLogRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void QuerySavingsPlansDeductLogRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
int QuerySavingsPlansDeductLogRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
|
||||
@@ -82,17 +82,6 @@ void QuerySavingsPlansInstanceRequest::setInstanceId(const std::string& instance
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string QuerySavingsPlansInstanceRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void QuerySavingsPlansInstanceRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
int QuerySavingsPlansInstanceRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
|
||||
@@ -126,6 +126,17 @@ void QuerySettleBillRequest::setProductType(const std::string& productType)
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string QuerySettleBillRequest::getRecordID()const
|
||||
{
|
||||
return recordID_;
|
||||
}
|
||||
|
||||
void QuerySettleBillRequest::setRecordID(const std::string& recordID)
|
||||
{
|
||||
recordID_ = recordID;
|
||||
setParameter("RecordID", recordID);
|
||||
}
|
||||
|
||||
std::string QuerySettleBillRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
|
||||
69
bssopenapi/src/model/TagResourcesRequest.cc
Normal file
69
bssopenapi/src/model/TagResourcesRequest.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/bssopenapi/model/TagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::TagResourcesRequest;
|
||||
|
||||
TagResourcesRequest::TagResourcesRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "TagResources")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TagResourcesRequest::~TagResourcesRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> TagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
|
||||
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<TagResourcesRequest::Tag> TagResourcesRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::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);
|
||||
}
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
@@ -14,51 +14,58 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/qualitycheck/model/CloseServiceResult.h>
|
||||
#include <alibabacloud/bssopenapi/model/TagResourcesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Qualitycheck;
|
||||
using namespace AlibabaCloud::Qualitycheck::Model;
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
CloseServiceResult::CloseServiceResult() :
|
||||
TagResourcesResult::TagResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CloseServiceResult::CloseServiceResult(const std::string &payload) :
|
||||
TagResourcesResult::TagResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CloseServiceResult::~CloseServiceResult()
|
||||
TagResourcesResult::~TagResourcesResult()
|
||||
{}
|
||||
|
||||
void CloseServiceResult::parse(const std::string &payload)
|
||||
void TagResourcesResult::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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string CloseServiceResult::getMessage()const
|
||||
std::string TagResourcesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string CloseServiceResult::getCode()const
|
||||
bool TagResourcesResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string TagResourcesResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool CloseServiceResult::getSuccess()const
|
||||
bool TagResourcesResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
77
bssopenapi/src/model/UntagResourcesRequest.cc
Normal file
77
bssopenapi/src/model/UntagResourcesRequest.cc
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* 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/UntagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::BssOpenApi::Model::UntagResourcesRequest;
|
||||
|
||||
UntagResourcesRequest::UntagResourcesRequest() :
|
||||
RpcServiceRequest("bssopenapi", "2017-12-14", "UntagResources")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UntagResourcesRequest::~UntagResourcesRequest()
|
||||
{}
|
||||
|
||||
bool UntagResourcesRequest::getAll()const
|
||||
{
|
||||
return all_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setAll(bool all)
|
||||
{
|
||||
all_ = all;
|
||||
setParameter("All", all ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> UntagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
|
||||
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> UntagResourcesRequest::getTagKey()const
|
||||
{
|
||||
return tagKey_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setTagKey(const std::vector<std::string>& tagKey)
|
||||
{
|
||||
tagKey_ = tagKey;
|
||||
for(int dep1 = 0; dep1!= tagKey.size(); dep1++) {
|
||||
setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
@@ -14,58 +14,58 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/qualitycheck/model/RetrySubmitAsrResult.h>
|
||||
#include <alibabacloud/bssopenapi/model/UntagResourcesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Qualitycheck;
|
||||
using namespace AlibabaCloud::Qualitycheck::Model;
|
||||
using namespace AlibabaCloud::BssOpenApi;
|
||||
using namespace AlibabaCloud::BssOpenApi::Model;
|
||||
|
||||
RetrySubmitAsrResult::RetrySubmitAsrResult() :
|
||||
UntagResourcesResult::UntagResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RetrySubmitAsrResult::RetrySubmitAsrResult(const std::string &payload) :
|
||||
UntagResourcesResult::UntagResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RetrySubmitAsrResult::~RetrySubmitAsrResult()
|
||||
UntagResourcesResult::~UntagResourcesResult()
|
||||
{}
|
||||
|
||||
void RetrySubmitAsrResult::parse(const std::string &payload)
|
||||
void UntagResourcesResult::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["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string RetrySubmitAsrResult::getMessage()const
|
||||
std::string UntagResourcesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string RetrySubmitAsrResult::getData()const
|
||||
bool UntagResourcesResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string RetrySubmitAsrResult::getCode()const
|
||||
std::string UntagResourcesResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool RetrySubmitAsrResult::getSuccess()const
|
||||
bool UntagResourcesResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace AlibabaCloud
|
||||
struct Inbound
|
||||
{
|
||||
long callsConsulted;
|
||||
long serviceLevel20;
|
||||
float serviceLevel20;
|
||||
long totalWorkTime;
|
||||
long totalHoldTime;
|
||||
long satisfactionSurveysOffered;
|
||||
@@ -73,7 +73,7 @@ namespace AlibabaCloud
|
||||
long totalTalkTime;
|
||||
long maxDialingTime;
|
||||
long maxTalkTime;
|
||||
long averageWorkTime;
|
||||
float averageWorkTime;
|
||||
long maxWorkTime;
|
||||
float answerRate;
|
||||
float averageTalkTime;
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
ListRecentCallDetailRecordsRequest();
|
||||
~ListRecentCallDetailRecordsRequest();
|
||||
|
||||
std::string getCriteria()const;
|
||||
void setCriteria(const std::string& criteria);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
@@ -47,6 +49,7 @@ namespace AlibabaCloud
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string criteria_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
int pageNumber_;
|
||||
|
||||
@@ -86,7 +86,7 @@ void ListHistoricalAgentReportResult::parse(const std::string &payload)
|
||||
if(!inboundNode["SatisfactionSurveysResponded"].isNull())
|
||||
itemsObject.inbound.satisfactionSurveysResponded = std::stol(inboundNode["SatisfactionSurveysResponded"].asString());
|
||||
if(!inboundNode["ServiceLevel20"].isNull())
|
||||
itemsObject.inbound.serviceLevel20 = std::stol(inboundNode["ServiceLevel20"].asString());
|
||||
itemsObject.inbound.serviceLevel20 = std::stof(inboundNode["ServiceLevel20"].asString());
|
||||
if(!inboundNode["TotalHoldTime"].isNull())
|
||||
itemsObject.inbound.totalHoldTime = std::stol(inboundNode["TotalHoldTime"].asString());
|
||||
if(!inboundNode["TotalRingTime"].isNull())
|
||||
@@ -103,7 +103,7 @@ void ListHistoricalAgentReportResult::parse(const std::string &payload)
|
||||
if(!outboundNode["AverageTalkTime"].isNull())
|
||||
itemsObject.outbound.averageTalkTime = std::stof(outboundNode["AverageTalkTime"].asString());
|
||||
if(!outboundNode["AverageWorkTime"].isNull())
|
||||
itemsObject.outbound.averageWorkTime = std::stol(outboundNode["AverageWorkTime"].asString());
|
||||
itemsObject.outbound.averageWorkTime = std::stof(outboundNode["AverageWorkTime"].asString());
|
||||
if(!outboundNode["CallsAnswered"].isNull())
|
||||
itemsObject.outbound.callsAnswered = std::stol(outboundNode["CallsAnswered"].asString());
|
||||
if(!outboundNode["CallsDialed"].isNull())
|
||||
|
||||
@@ -27,6 +27,17 @@ ListRecentCallDetailRecordsRequest::ListRecentCallDetailRecordsRequest() :
|
||||
ListRecentCallDetailRecordsRequest::~ListRecentCallDetailRecordsRequest()
|
||||
{}
|
||||
|
||||
std::string ListRecentCallDetailRecordsRequest::getCriteria()const
|
||||
{
|
||||
return criteria_;
|
||||
}
|
||||
|
||||
void ListRecentCallDetailRecordsRequest::setCriteria(const std::string& criteria)
|
||||
{
|
||||
criteria_ = criteria;
|
||||
setParameter("Criteria", criteria);
|
||||
}
|
||||
|
||||
long ListRecentCallDetailRecordsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
|
||||
@@ -29,8 +29,6 @@ set(qualitycheck_public_header_model
|
||||
include/alibabacloud/qualitycheck/model/AddThesaurusForApiResult.h
|
||||
include/alibabacloud/qualitycheck/model/AssignReviewerRequest.h
|
||||
include/alibabacloud/qualitycheck/model/AssignReviewerResult.h
|
||||
include/alibabacloud/qualitycheck/model/CloseServiceRequest.h
|
||||
include/alibabacloud/qualitycheck/model/CloseServiceResult.h
|
||||
include/alibabacloud/qualitycheck/model/CreateAsrVocabRequest.h
|
||||
include/alibabacloud/qualitycheck/model/CreateAsrVocabResult.h
|
||||
include/alibabacloud/qualitycheck/model/CreateSkillGroupConfigRequest.h
|
||||
@@ -75,16 +73,12 @@ set(qualitycheck_public_header_model
|
||||
include/alibabacloud/qualitycheck/model/GetBusinessCategoryListResult.h
|
||||
include/alibabacloud/qualitycheck/model/GetCustomizationConfigListRequest.h
|
||||
include/alibabacloud/qualitycheck/model/GetCustomizationConfigListResult.h
|
||||
include/alibabacloud/qualitycheck/model/GetDataSetListRequest.h
|
||||
include/alibabacloud/qualitycheck/model/GetDataSetListResult.h
|
||||
include/alibabacloud/qualitycheck/model/GetHitResultRequest.h
|
||||
include/alibabacloud/qualitycheck/model/GetHitResultResult.h
|
||||
include/alibabacloud/qualitycheck/model/GetNextResultToVerifyRequest.h
|
||||
include/alibabacloud/qualitycheck/model/GetNextResultToVerifyResult.h
|
||||
include/alibabacloud/qualitycheck/model/GetPrecisionTaskRequest.h
|
||||
include/alibabacloud/qualitycheck/model/GetPrecisionTaskResult.h
|
||||
include/alibabacloud/qualitycheck/model/GetRecognizeResultRequest.h
|
||||
include/alibabacloud/qualitycheck/model/GetRecognizeResultResult.h
|
||||
include/alibabacloud/qualitycheck/model/GetResultRequest.h
|
||||
include/alibabacloud/qualitycheck/model/GetResultResult.h
|
||||
include/alibabacloud/qualitycheck/model/GetResultCallbackRequest.h
|
||||
@@ -131,20 +125,12 @@ set(qualitycheck_public_header_model
|
||||
include/alibabacloud/qualitycheck/model/ListUsersResult.h
|
||||
include/alibabacloud/qualitycheck/model/ListWarningConfigRequest.h
|
||||
include/alibabacloud/qualitycheck/model/ListWarningConfigResult.h
|
||||
include/alibabacloud/qualitycheck/model/OpenServiceRequest.h
|
||||
include/alibabacloud/qualitycheck/model/OpenServiceResult.h
|
||||
include/alibabacloud/qualitycheck/model/RegisterNoticeRequest.h
|
||||
include/alibabacloud/qualitycheck/model/RegisterNoticeResult.h
|
||||
include/alibabacloud/qualitycheck/model/RestartAsrTaskRequest.h
|
||||
include/alibabacloud/qualitycheck/model/RestartAsrTaskResult.h
|
||||
include/alibabacloud/qualitycheck/model/RetrySubmitAsrRequest.h
|
||||
include/alibabacloud/qualitycheck/model/RetrySubmitAsrResult.h
|
||||
include/alibabacloud/qualitycheck/model/SaveConfigDataSetRequest.h
|
||||
include/alibabacloud/qualitycheck/model/SaveConfigDataSetResult.h
|
||||
include/alibabacloud/qualitycheck/model/SubmitComplaintRequest.h
|
||||
include/alibabacloud/qualitycheck/model/SubmitComplaintResult.h
|
||||
include/alibabacloud/qualitycheck/model/SubmitModelTestTaskRequest.h
|
||||
include/alibabacloud/qualitycheck/model/SubmitModelTestTaskResult.h
|
||||
include/alibabacloud/qualitycheck/model/SubmitPrecisionTaskRequest.h
|
||||
include/alibabacloud/qualitycheck/model/SubmitPrecisionTaskResult.h
|
||||
include/alibabacloud/qualitycheck/model/SubmitQualityCheckTaskRequest.h
|
||||
@@ -157,8 +143,6 @@ set(qualitycheck_public_header_model
|
||||
include/alibabacloud/qualitycheck/model/UpdateAsrVocabResult.h
|
||||
include/alibabacloud/qualitycheck/model/UpdateRuleRequest.h
|
||||
include/alibabacloud/qualitycheck/model/UpdateRuleResult.h
|
||||
include/alibabacloud/qualitycheck/model/UpdateRuleForAntRequest.h
|
||||
include/alibabacloud/qualitycheck/model/UpdateRuleForAntResult.h
|
||||
include/alibabacloud/qualitycheck/model/UpdateScoreForApiRequest.h
|
||||
include/alibabacloud/qualitycheck/model/UpdateScoreForApiResult.h
|
||||
include/alibabacloud/qualitycheck/model/UpdateSkillGroupConfigRequest.h
|
||||
@@ -183,8 +167,6 @@ set(qualitycheck_public_header_model
|
||||
include/alibabacloud/qualitycheck/model/UploadDataSyncResult.h
|
||||
include/alibabacloud/qualitycheck/model/UploadRuleRequest.h
|
||||
include/alibabacloud/qualitycheck/model/UploadRuleResult.h
|
||||
include/alibabacloud/qualitycheck/model/ValidateRoleSetRequest.h
|
||||
include/alibabacloud/qualitycheck/model/ValidateRoleSetResult.h
|
||||
include/alibabacloud/qualitycheck/model/VerifyFileRequest.h
|
||||
include/alibabacloud/qualitycheck/model/VerifyFileResult.h
|
||||
include/alibabacloud/qualitycheck/model/VerifySentenceRequest.h
|
||||
@@ -200,8 +182,6 @@ set(qualitycheck_src
|
||||
src/model/AddThesaurusForApiResult.cc
|
||||
src/model/AssignReviewerRequest.cc
|
||||
src/model/AssignReviewerResult.cc
|
||||
src/model/CloseServiceRequest.cc
|
||||
src/model/CloseServiceResult.cc
|
||||
src/model/CreateAsrVocabRequest.cc
|
||||
src/model/CreateAsrVocabResult.cc
|
||||
src/model/CreateSkillGroupConfigRequest.cc
|
||||
@@ -246,16 +226,12 @@ set(qualitycheck_src
|
||||
src/model/GetBusinessCategoryListResult.cc
|
||||
src/model/GetCustomizationConfigListRequest.cc
|
||||
src/model/GetCustomizationConfigListResult.cc
|
||||
src/model/GetDataSetListRequest.cc
|
||||
src/model/GetDataSetListResult.cc
|
||||
src/model/GetHitResultRequest.cc
|
||||
src/model/GetHitResultResult.cc
|
||||
src/model/GetNextResultToVerifyRequest.cc
|
||||
src/model/GetNextResultToVerifyResult.cc
|
||||
src/model/GetPrecisionTaskRequest.cc
|
||||
src/model/GetPrecisionTaskResult.cc
|
||||
src/model/GetRecognizeResultRequest.cc
|
||||
src/model/GetRecognizeResultResult.cc
|
||||
src/model/GetResultRequest.cc
|
||||
src/model/GetResultResult.cc
|
||||
src/model/GetResultCallbackRequest.cc
|
||||
@@ -302,20 +278,12 @@ set(qualitycheck_src
|
||||
src/model/ListUsersResult.cc
|
||||
src/model/ListWarningConfigRequest.cc
|
||||
src/model/ListWarningConfigResult.cc
|
||||
src/model/OpenServiceRequest.cc
|
||||
src/model/OpenServiceResult.cc
|
||||
src/model/RegisterNoticeRequest.cc
|
||||
src/model/RegisterNoticeResult.cc
|
||||
src/model/RestartAsrTaskRequest.cc
|
||||
src/model/RestartAsrTaskResult.cc
|
||||
src/model/RetrySubmitAsrRequest.cc
|
||||
src/model/RetrySubmitAsrResult.cc
|
||||
src/model/SaveConfigDataSetRequest.cc
|
||||
src/model/SaveConfigDataSetResult.cc
|
||||
src/model/SubmitComplaintRequest.cc
|
||||
src/model/SubmitComplaintResult.cc
|
||||
src/model/SubmitModelTestTaskRequest.cc
|
||||
src/model/SubmitModelTestTaskResult.cc
|
||||
src/model/SubmitPrecisionTaskRequest.cc
|
||||
src/model/SubmitPrecisionTaskResult.cc
|
||||
src/model/SubmitQualityCheckTaskRequest.cc
|
||||
@@ -328,8 +296,6 @@ set(qualitycheck_src
|
||||
src/model/UpdateAsrVocabResult.cc
|
||||
src/model/UpdateRuleRequest.cc
|
||||
src/model/UpdateRuleResult.cc
|
||||
src/model/UpdateRuleForAntRequest.cc
|
||||
src/model/UpdateRuleForAntResult.cc
|
||||
src/model/UpdateScoreForApiRequest.cc
|
||||
src/model/UpdateScoreForApiResult.cc
|
||||
src/model/UpdateSkillGroupConfigRequest.cc
|
||||
@@ -354,8 +320,6 @@ set(qualitycheck_src
|
||||
src/model/UploadDataSyncResult.cc
|
||||
src/model/UploadRuleRequest.cc
|
||||
src/model/UploadRuleResult.cc
|
||||
src/model/ValidateRoleSetRequest.cc
|
||||
src/model/ValidateRoleSetResult.cc
|
||||
src/model/VerifyFileRequest.cc
|
||||
src/model/VerifyFileResult.cc
|
||||
src/model/VerifySentenceRequest.cc
|
||||
|
||||
@@ -30,8 +30,6 @@
|
||||
#include "model/AddThesaurusForApiResult.h"
|
||||
#include "model/AssignReviewerRequest.h"
|
||||
#include "model/AssignReviewerResult.h"
|
||||
#include "model/CloseServiceRequest.h"
|
||||
#include "model/CloseServiceResult.h"
|
||||
#include "model/CreateAsrVocabRequest.h"
|
||||
#include "model/CreateAsrVocabResult.h"
|
||||
#include "model/CreateSkillGroupConfigRequest.h"
|
||||
@@ -76,16 +74,12 @@
|
||||
#include "model/GetBusinessCategoryListResult.h"
|
||||
#include "model/GetCustomizationConfigListRequest.h"
|
||||
#include "model/GetCustomizationConfigListResult.h"
|
||||
#include "model/GetDataSetListRequest.h"
|
||||
#include "model/GetDataSetListResult.h"
|
||||
#include "model/GetHitResultRequest.h"
|
||||
#include "model/GetHitResultResult.h"
|
||||
#include "model/GetNextResultToVerifyRequest.h"
|
||||
#include "model/GetNextResultToVerifyResult.h"
|
||||
#include "model/GetPrecisionTaskRequest.h"
|
||||
#include "model/GetPrecisionTaskResult.h"
|
||||
#include "model/GetRecognizeResultRequest.h"
|
||||
#include "model/GetRecognizeResultResult.h"
|
||||
#include "model/GetResultRequest.h"
|
||||
#include "model/GetResultResult.h"
|
||||
#include "model/GetResultCallbackRequest.h"
|
||||
@@ -132,20 +126,12 @@
|
||||
#include "model/ListUsersResult.h"
|
||||
#include "model/ListWarningConfigRequest.h"
|
||||
#include "model/ListWarningConfigResult.h"
|
||||
#include "model/OpenServiceRequest.h"
|
||||
#include "model/OpenServiceResult.h"
|
||||
#include "model/RegisterNoticeRequest.h"
|
||||
#include "model/RegisterNoticeResult.h"
|
||||
#include "model/RestartAsrTaskRequest.h"
|
||||
#include "model/RestartAsrTaskResult.h"
|
||||
#include "model/RetrySubmitAsrRequest.h"
|
||||
#include "model/RetrySubmitAsrResult.h"
|
||||
#include "model/SaveConfigDataSetRequest.h"
|
||||
#include "model/SaveConfigDataSetResult.h"
|
||||
#include "model/SubmitComplaintRequest.h"
|
||||
#include "model/SubmitComplaintResult.h"
|
||||
#include "model/SubmitModelTestTaskRequest.h"
|
||||
#include "model/SubmitModelTestTaskResult.h"
|
||||
#include "model/SubmitPrecisionTaskRequest.h"
|
||||
#include "model/SubmitPrecisionTaskResult.h"
|
||||
#include "model/SubmitQualityCheckTaskRequest.h"
|
||||
@@ -158,8 +144,6 @@
|
||||
#include "model/UpdateAsrVocabResult.h"
|
||||
#include "model/UpdateRuleRequest.h"
|
||||
#include "model/UpdateRuleResult.h"
|
||||
#include "model/UpdateRuleForAntRequest.h"
|
||||
#include "model/UpdateRuleForAntResult.h"
|
||||
#include "model/UpdateScoreForApiRequest.h"
|
||||
#include "model/UpdateScoreForApiResult.h"
|
||||
#include "model/UpdateSkillGroupConfigRequest.h"
|
||||
@@ -184,8 +168,6 @@
|
||||
#include "model/UploadDataSyncResult.h"
|
||||
#include "model/UploadRuleRequest.h"
|
||||
#include "model/UploadRuleResult.h"
|
||||
#include "model/ValidateRoleSetRequest.h"
|
||||
#include "model/ValidateRoleSetResult.h"
|
||||
#include "model/VerifyFileRequest.h"
|
||||
#include "model/VerifyFileResult.h"
|
||||
#include "model/VerifySentenceRequest.h"
|
||||
@@ -211,9 +193,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AssignReviewerResult> AssignReviewerOutcome;
|
||||
typedef std::future<AssignReviewerOutcome> AssignReviewerOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::AssignReviewerRequest&, const AssignReviewerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssignReviewerAsyncHandler;
|
||||
typedef Outcome<Error, Model::CloseServiceResult> CloseServiceOutcome;
|
||||
typedef std::future<CloseServiceOutcome> CloseServiceOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::CloseServiceRequest&, const CloseServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAsrVocabResult> CreateAsrVocabOutcome;
|
||||
typedef std::future<CreateAsrVocabOutcome> CreateAsrVocabOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::CreateAsrVocabRequest&, const CreateAsrVocabOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAsrVocabAsyncHandler;
|
||||
@@ -280,9 +259,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetCustomizationConfigListResult> GetCustomizationConfigListOutcome;
|
||||
typedef std::future<GetCustomizationConfigListOutcome> GetCustomizationConfigListOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::GetCustomizationConfigListRequest&, const GetCustomizationConfigListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCustomizationConfigListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDataSetListResult> GetDataSetListOutcome;
|
||||
typedef std::future<GetDataSetListOutcome> GetDataSetListOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::GetDataSetListRequest&, const GetDataSetListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDataSetListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetHitResultResult> GetHitResultOutcome;
|
||||
typedef std::future<GetHitResultOutcome> GetHitResultOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::GetHitResultRequest&, const GetHitResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetHitResultAsyncHandler;
|
||||
@@ -292,9 +268,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetPrecisionTaskResult> GetPrecisionTaskOutcome;
|
||||
typedef std::future<GetPrecisionTaskOutcome> GetPrecisionTaskOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::GetPrecisionTaskRequest&, const GetPrecisionTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPrecisionTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetRecognizeResultResult> GetRecognizeResultOutcome;
|
||||
typedef std::future<GetRecognizeResultOutcome> GetRecognizeResultOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::GetRecognizeResultRequest&, const GetRecognizeResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRecognizeResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetResultResult> GetResultOutcome;
|
||||
typedef std::future<GetResultOutcome> GetResultOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::GetResultRequest&, const GetResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResultAsyncHandler;
|
||||
@@ -364,27 +337,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListWarningConfigResult> ListWarningConfigOutcome;
|
||||
typedef std::future<ListWarningConfigOutcome> ListWarningConfigOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::ListWarningConfigRequest&, const ListWarningConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListWarningConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::OpenServiceResult> OpenServiceOutcome;
|
||||
typedef std::future<OpenServiceOutcome> OpenServiceOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::OpenServiceRequest&, const OpenServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RegisterNoticeResult> RegisterNoticeOutcome;
|
||||
typedef std::future<RegisterNoticeOutcome> RegisterNoticeOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::RegisterNoticeRequest&, const RegisterNoticeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterNoticeAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartAsrTaskResult> RestartAsrTaskOutcome;
|
||||
typedef std::future<RestartAsrTaskOutcome> RestartAsrTaskOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::RestartAsrTaskRequest&, const RestartAsrTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartAsrTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::RetrySubmitAsrResult> RetrySubmitAsrOutcome;
|
||||
typedef std::future<RetrySubmitAsrOutcome> RetrySubmitAsrOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::RetrySubmitAsrRequest&, const RetrySubmitAsrOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RetrySubmitAsrAsyncHandler;
|
||||
typedef Outcome<Error, Model::SaveConfigDataSetResult> SaveConfigDataSetOutcome;
|
||||
typedef std::future<SaveConfigDataSetOutcome> SaveConfigDataSetOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::SaveConfigDataSetRequest&, const SaveConfigDataSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveConfigDataSetAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitComplaintResult> SubmitComplaintOutcome;
|
||||
typedef std::future<SubmitComplaintOutcome> SubmitComplaintOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::SubmitComplaintRequest&, const SubmitComplaintOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitComplaintAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitModelTestTaskResult> SubmitModelTestTaskOutcome;
|
||||
typedef std::future<SubmitModelTestTaskOutcome> SubmitModelTestTaskOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::SubmitModelTestTaskRequest&, const SubmitModelTestTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitModelTestTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitPrecisionTaskResult> SubmitPrecisionTaskOutcome;
|
||||
typedef std::future<SubmitPrecisionTaskOutcome> SubmitPrecisionTaskOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::SubmitPrecisionTaskRequest&, const SubmitPrecisionTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitPrecisionTaskAsyncHandler;
|
||||
@@ -403,9 +364,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateRuleResult> UpdateRuleOutcome;
|
||||
typedef std::future<UpdateRuleOutcome> UpdateRuleOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::UpdateRuleRequest&, const UpdateRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateRuleForAntResult> UpdateRuleForAntOutcome;
|
||||
typedef std::future<UpdateRuleForAntOutcome> UpdateRuleForAntOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::UpdateRuleForAntRequest&, const UpdateRuleForAntOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateRuleForAntAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateScoreForApiResult> UpdateScoreForApiOutcome;
|
||||
typedef std::future<UpdateScoreForApiOutcome> UpdateScoreForApiOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::UpdateScoreForApiRequest&, const UpdateScoreForApiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateScoreForApiAsyncHandler;
|
||||
@@ -442,9 +400,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UploadRuleResult> UploadRuleOutcome;
|
||||
typedef std::future<UploadRuleOutcome> UploadRuleOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::UploadRuleRequest&, const UploadRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UploadRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::ValidateRoleSetResult> ValidateRoleSetOutcome;
|
||||
typedef std::future<ValidateRoleSetOutcome> ValidateRoleSetOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::ValidateRoleSetRequest&, const ValidateRoleSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ValidateRoleSetAsyncHandler;
|
||||
typedef Outcome<Error, Model::VerifyFileResult> VerifyFileOutcome;
|
||||
typedef std::future<VerifyFileOutcome> VerifyFileOutcomeCallable;
|
||||
typedef std::function<void(const QualitycheckClient*, const Model::VerifyFileRequest&, const VerifyFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyFileAsyncHandler;
|
||||
@@ -468,9 +423,6 @@ namespace AlibabaCloud
|
||||
AssignReviewerOutcome assignReviewer(const Model::AssignReviewerRequest &request)const;
|
||||
void assignReviewerAsync(const Model::AssignReviewerRequest& request, const AssignReviewerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AssignReviewerOutcomeCallable assignReviewerCallable(const Model::AssignReviewerRequest& request) const;
|
||||
CloseServiceOutcome closeService(const Model::CloseServiceRequest &request)const;
|
||||
void closeServiceAsync(const Model::CloseServiceRequest& request, const CloseServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CloseServiceOutcomeCallable closeServiceCallable(const Model::CloseServiceRequest& request) const;
|
||||
CreateAsrVocabOutcome createAsrVocab(const Model::CreateAsrVocabRequest &request)const;
|
||||
void createAsrVocabAsync(const Model::CreateAsrVocabRequest& request, const CreateAsrVocabAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAsrVocabOutcomeCallable createAsrVocabCallable(const Model::CreateAsrVocabRequest& request) const;
|
||||
@@ -537,9 +489,6 @@ namespace AlibabaCloud
|
||||
GetCustomizationConfigListOutcome getCustomizationConfigList(const Model::GetCustomizationConfigListRequest &request)const;
|
||||
void getCustomizationConfigListAsync(const Model::GetCustomizationConfigListRequest& request, const GetCustomizationConfigListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCustomizationConfigListOutcomeCallable getCustomizationConfigListCallable(const Model::GetCustomizationConfigListRequest& request) const;
|
||||
GetDataSetListOutcome getDataSetList(const Model::GetDataSetListRequest &request)const;
|
||||
void getDataSetListAsync(const Model::GetDataSetListRequest& request, const GetDataSetListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDataSetListOutcomeCallable getDataSetListCallable(const Model::GetDataSetListRequest& request) const;
|
||||
GetHitResultOutcome getHitResult(const Model::GetHitResultRequest &request)const;
|
||||
void getHitResultAsync(const Model::GetHitResultRequest& request, const GetHitResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetHitResultOutcomeCallable getHitResultCallable(const Model::GetHitResultRequest& request) const;
|
||||
@@ -549,9 +498,6 @@ namespace AlibabaCloud
|
||||
GetPrecisionTaskOutcome getPrecisionTask(const Model::GetPrecisionTaskRequest &request)const;
|
||||
void getPrecisionTaskAsync(const Model::GetPrecisionTaskRequest& request, const GetPrecisionTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPrecisionTaskOutcomeCallable getPrecisionTaskCallable(const Model::GetPrecisionTaskRequest& request) const;
|
||||
GetRecognizeResultOutcome getRecognizeResult(const Model::GetRecognizeResultRequest &request)const;
|
||||
void getRecognizeResultAsync(const Model::GetRecognizeResultRequest& request, const GetRecognizeResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetRecognizeResultOutcomeCallable getRecognizeResultCallable(const Model::GetRecognizeResultRequest& request) const;
|
||||
GetResultOutcome getResult(const Model::GetResultRequest &request)const;
|
||||
void getResultAsync(const Model::GetResultRequest& request, const GetResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetResultOutcomeCallable getResultCallable(const Model::GetResultRequest& request) const;
|
||||
@@ -621,27 +567,15 @@ namespace AlibabaCloud
|
||||
ListWarningConfigOutcome listWarningConfig(const Model::ListWarningConfigRequest &request)const;
|
||||
void listWarningConfigAsync(const Model::ListWarningConfigRequest& request, const ListWarningConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListWarningConfigOutcomeCallable listWarningConfigCallable(const Model::ListWarningConfigRequest& request) const;
|
||||
OpenServiceOutcome openService(const Model::OpenServiceRequest &request)const;
|
||||
void openServiceAsync(const Model::OpenServiceRequest& request, const OpenServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OpenServiceOutcomeCallable openServiceCallable(const Model::OpenServiceRequest& request) const;
|
||||
RegisterNoticeOutcome registerNotice(const Model::RegisterNoticeRequest &request)const;
|
||||
void registerNoticeAsync(const Model::RegisterNoticeRequest& request, const RegisterNoticeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RegisterNoticeOutcomeCallable registerNoticeCallable(const Model::RegisterNoticeRequest& request) const;
|
||||
RestartAsrTaskOutcome restartAsrTask(const Model::RestartAsrTaskRequest &request)const;
|
||||
void restartAsrTaskAsync(const Model::RestartAsrTaskRequest& request, const RestartAsrTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartAsrTaskOutcomeCallable restartAsrTaskCallable(const Model::RestartAsrTaskRequest& request) const;
|
||||
RetrySubmitAsrOutcome retrySubmitAsr(const Model::RetrySubmitAsrRequest &request)const;
|
||||
void retrySubmitAsrAsync(const Model::RetrySubmitAsrRequest& request, const RetrySubmitAsrAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RetrySubmitAsrOutcomeCallable retrySubmitAsrCallable(const Model::RetrySubmitAsrRequest& request) const;
|
||||
SaveConfigDataSetOutcome saveConfigDataSet(const Model::SaveConfigDataSetRequest &request)const;
|
||||
void saveConfigDataSetAsync(const Model::SaveConfigDataSetRequest& request, const SaveConfigDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SaveConfigDataSetOutcomeCallable saveConfigDataSetCallable(const Model::SaveConfigDataSetRequest& request) const;
|
||||
SubmitComplaintOutcome submitComplaint(const Model::SubmitComplaintRequest &request)const;
|
||||
void submitComplaintAsync(const Model::SubmitComplaintRequest& request, const SubmitComplaintAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubmitComplaintOutcomeCallable submitComplaintCallable(const Model::SubmitComplaintRequest& request) const;
|
||||
SubmitModelTestTaskOutcome submitModelTestTask(const Model::SubmitModelTestTaskRequest &request)const;
|
||||
void submitModelTestTaskAsync(const Model::SubmitModelTestTaskRequest& request, const SubmitModelTestTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubmitModelTestTaskOutcomeCallable submitModelTestTaskCallable(const Model::SubmitModelTestTaskRequest& request) const;
|
||||
SubmitPrecisionTaskOutcome submitPrecisionTask(const Model::SubmitPrecisionTaskRequest &request)const;
|
||||
void submitPrecisionTaskAsync(const Model::SubmitPrecisionTaskRequest& request, const SubmitPrecisionTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubmitPrecisionTaskOutcomeCallable submitPrecisionTaskCallable(const Model::SubmitPrecisionTaskRequest& request) const;
|
||||
@@ -660,9 +594,6 @@ namespace AlibabaCloud
|
||||
UpdateRuleOutcome updateRule(const Model::UpdateRuleRequest &request)const;
|
||||
void updateRuleAsync(const Model::UpdateRuleRequest& request, const UpdateRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateRuleOutcomeCallable updateRuleCallable(const Model::UpdateRuleRequest& request) const;
|
||||
UpdateRuleForAntOutcome updateRuleForAnt(const Model::UpdateRuleForAntRequest &request)const;
|
||||
void updateRuleForAntAsync(const Model::UpdateRuleForAntRequest& request, const UpdateRuleForAntAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateRuleForAntOutcomeCallable updateRuleForAntCallable(const Model::UpdateRuleForAntRequest& request) const;
|
||||
UpdateScoreForApiOutcome updateScoreForApi(const Model::UpdateScoreForApiRequest &request)const;
|
||||
void updateScoreForApiAsync(const Model::UpdateScoreForApiRequest& request, const UpdateScoreForApiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateScoreForApiOutcomeCallable updateScoreForApiCallable(const Model::UpdateScoreForApiRequest& request) const;
|
||||
@@ -699,9 +630,6 @@ namespace AlibabaCloud
|
||||
UploadRuleOutcome uploadRule(const Model::UploadRuleRequest &request)const;
|
||||
void uploadRuleAsync(const Model::UploadRuleRequest& request, const UploadRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UploadRuleOutcomeCallable uploadRuleCallable(const Model::UploadRuleRequest& request) const;
|
||||
ValidateRoleSetOutcome validateRoleSet(const Model::ValidateRoleSetRequest &request)const;
|
||||
void validateRoleSetAsync(const Model::ValidateRoleSetRequest& request, const ValidateRoleSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ValidateRoleSetOutcomeCallable validateRoleSetCallable(const Model::ValidateRoleSetRequest& request) const;
|
||||
VerifyFileOutcome verifyFile(const Model::VerifyFileRequest &request)const;
|
||||
void verifyFileAsync(const Model::VerifyFileRequest& request, const VerifyFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VerifyFileOutcomeCallable verifyFileCallable(const Model::VerifyFileRequest& request) const;
|
||||
|
||||
@@ -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_QUALITYCHECK_MODEL_GETDATASETLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETDATASETLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT GetDataSetListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDataSetListRequest();
|
||||
~GetDataSetListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getJsonStr()const;
|
||||
void setJsonStr(const std::string& jsonStr);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string jsonStr_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETDATASETLISTREQUEST_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_QUALITYCHECK_MODEL_GETRECOGNIZERESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_GETRECOGNIZERESULTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT GetRecognizeResultRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetRecognizeResultRequest();
|
||||
~GetRecognizeResultRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getJsonStr()const;
|
||||
void setJsonStr(const std::string& jsonStr);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string jsonStr_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_GETRECOGNIZERESULTREQUEST_H_
|
||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
||||
std::string remark11;
|
||||
std::string remark12;
|
||||
int callType;
|
||||
int dialogueSize;
|
||||
std::string url;
|
||||
std::string dataSetName;
|
||||
std::string name;
|
||||
@@ -127,11 +128,14 @@ namespace AlibabaCloud
|
||||
std::vector<ResultInfo::HitResultItem> hitResult;
|
||||
int score;
|
||||
std::string taskName;
|
||||
std::string assignmentTime;
|
||||
int reviewStatus;
|
||||
std::string lastDataId;
|
||||
std::string reviewTimeLong;
|
||||
Recording recording;
|
||||
std::string errorMessage;
|
||||
std::vector<ResultInfo::AsrResultItem> asrResult;
|
||||
int reviewType;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -44,8 +44,16 @@ namespace AlibabaCloud
|
||||
long rid;
|
||||
std::string ruleName;
|
||||
};
|
||||
struct SkillGroupScreen
|
||||
{
|
||||
int symbol;
|
||||
std::string value;
|
||||
int dataType;
|
||||
std::string name;
|
||||
};
|
||||
int status;
|
||||
std::vector<SkillGroupConfig::RuleNameInfo> ruleList;
|
||||
bool screenSwitch;
|
||||
std::string modelName;
|
||||
long vocabId;
|
||||
int qualityCheckType;
|
||||
@@ -57,6 +65,7 @@ namespace AlibabaCloud
|
||||
std::string vocabName;
|
||||
std::string name;
|
||||
int type;
|
||||
std::vector<SkillGroupConfig::SkillGroupScreen> skillGroupScreens;
|
||||
std::string skillGroupName;
|
||||
std::string updateTime;
|
||||
long id;
|
||||
|
||||
@@ -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_QUALITYCHECK_MODEL_REGISTERNOTICEREQUEST_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_REGISTERNOTICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT RegisterNoticeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RegisterNoticeRequest();
|
||||
~RegisterNoticeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getJsonStr()const;
|
||||
void setJsonStr(const std::string& jsonStr);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string jsonStr_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_REGISTERNOTICEREQUEST_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_QUALITYCHECK_MODEL_RETRYSUBMITASRREQUEST_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_RETRYSUBMITASRREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT RetrySubmitAsrRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RetrySubmitAsrRequest();
|
||||
~RetrySubmitAsrRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getJsonStr()const;
|
||||
void setJsonStr(const std::string& jsonStr);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string jsonStr_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_RETRYSUBMITASRREQUEST_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_QUALITYCHECK_MODEL_SUBMITMODELTESTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITMODELTESTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT SubmitModelTestTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SubmitModelTestTaskRequest();
|
||||
~SubmitModelTestTaskRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getJsonStr()const;
|
||||
void setJsonStr(const std::string& jsonStr);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string jsonStr_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_SUBMITMODELTESTTASKREQUEST_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_QUALITYCHECK_MODEL_UPDATERULEFORANTREQUEST_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATERULEFORANTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT UpdateRuleForAntRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateRuleForAntRequest();
|
||||
~UpdateRuleForAntRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getJsonStr()const;
|
||||
void setJsonStr(const std::string& jsonStr);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string jsonStr_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_UPDATERULEFORANTREQUEST_H_
|
||||
@@ -195,42 +195,6 @@ QualitycheckClient::AssignReviewerOutcomeCallable QualitycheckClient::assignRevi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::CloseServiceOutcome QualitycheckClient::closeService(const CloseServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CloseServiceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CloseServiceOutcome(CloseServiceResult(outcome.result()));
|
||||
else
|
||||
return CloseServiceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void QualitycheckClient::closeServiceAsync(const CloseServiceRequest& request, const CloseServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, closeService(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
QualitycheckClient::CloseServiceOutcomeCallable QualitycheckClient::closeServiceCallable(const CloseServiceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CloseServiceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->closeService(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::CreateAsrVocabOutcome QualitycheckClient::createAsrVocab(const CreateAsrVocabRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1023,42 +987,6 @@ QualitycheckClient::GetCustomizationConfigListOutcomeCallable QualitycheckClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::GetDataSetListOutcome QualitycheckClient::getDataSetList(const GetDataSetListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDataSetListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDataSetListOutcome(GetDataSetListResult(outcome.result()));
|
||||
else
|
||||
return GetDataSetListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void QualitycheckClient::getDataSetListAsync(const GetDataSetListRequest& request, const GetDataSetListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDataSetList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
QualitycheckClient::GetDataSetListOutcomeCallable QualitycheckClient::getDataSetListCallable(const GetDataSetListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDataSetListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDataSetList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::GetHitResultOutcome QualitycheckClient::getHitResult(const GetHitResultRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1167,42 +1095,6 @@ QualitycheckClient::GetPrecisionTaskOutcomeCallable QualitycheckClient::getPreci
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::GetRecognizeResultOutcome QualitycheckClient::getRecognizeResult(const GetRecognizeResultRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetRecognizeResultOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetRecognizeResultOutcome(GetRecognizeResultResult(outcome.result()));
|
||||
else
|
||||
return GetRecognizeResultOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void QualitycheckClient::getRecognizeResultAsync(const GetRecognizeResultRequest& request, const GetRecognizeResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getRecognizeResult(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
QualitycheckClient::GetRecognizeResultOutcomeCallable QualitycheckClient::getRecognizeResultCallable(const GetRecognizeResultRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetRecognizeResultOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getRecognizeResult(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::GetResultOutcome QualitycheckClient::getResult(const GetResultRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2031,78 +1923,6 @@ QualitycheckClient::ListWarningConfigOutcomeCallable QualitycheckClient::listWar
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::OpenServiceOutcome QualitycheckClient::openService(const OpenServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return OpenServiceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return OpenServiceOutcome(OpenServiceResult(outcome.result()));
|
||||
else
|
||||
return OpenServiceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void QualitycheckClient::openServiceAsync(const OpenServiceRequest& request, const OpenServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, openService(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
QualitycheckClient::OpenServiceOutcomeCallable QualitycheckClient::openServiceCallable(const OpenServiceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<OpenServiceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->openService(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::RegisterNoticeOutcome QualitycheckClient::registerNotice(const RegisterNoticeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RegisterNoticeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RegisterNoticeOutcome(RegisterNoticeResult(outcome.result()));
|
||||
else
|
||||
return RegisterNoticeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void QualitycheckClient::registerNoticeAsync(const RegisterNoticeRequest& request, const RegisterNoticeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, registerNotice(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
QualitycheckClient::RegisterNoticeOutcomeCallable QualitycheckClient::registerNoticeCallable(const RegisterNoticeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RegisterNoticeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->registerNotice(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::RestartAsrTaskOutcome QualitycheckClient::restartAsrTask(const RestartAsrTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2139,42 +1959,6 @@ QualitycheckClient::RestartAsrTaskOutcomeCallable QualitycheckClient::restartAsr
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::RetrySubmitAsrOutcome QualitycheckClient::retrySubmitAsr(const RetrySubmitAsrRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RetrySubmitAsrOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RetrySubmitAsrOutcome(RetrySubmitAsrResult(outcome.result()));
|
||||
else
|
||||
return RetrySubmitAsrOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void QualitycheckClient::retrySubmitAsrAsync(const RetrySubmitAsrRequest& request, const RetrySubmitAsrAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, retrySubmitAsr(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
QualitycheckClient::RetrySubmitAsrOutcomeCallable QualitycheckClient::retrySubmitAsrCallable(const RetrySubmitAsrRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RetrySubmitAsrOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->retrySubmitAsr(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::SaveConfigDataSetOutcome QualitycheckClient::saveConfigDataSet(const SaveConfigDataSetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2247,42 +2031,6 @@ QualitycheckClient::SubmitComplaintOutcomeCallable QualitycheckClient::submitCom
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::SubmitModelTestTaskOutcome QualitycheckClient::submitModelTestTask(const SubmitModelTestTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SubmitModelTestTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SubmitModelTestTaskOutcome(SubmitModelTestTaskResult(outcome.result()));
|
||||
else
|
||||
return SubmitModelTestTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void QualitycheckClient::submitModelTestTaskAsync(const SubmitModelTestTaskRequest& request, const SubmitModelTestTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, submitModelTestTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
QualitycheckClient::SubmitModelTestTaskOutcomeCallable QualitycheckClient::submitModelTestTaskCallable(const SubmitModelTestTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SubmitModelTestTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->submitModelTestTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::SubmitPrecisionTaskOutcome QualitycheckClient::submitPrecisionTask(const SubmitPrecisionTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2499,42 +2247,6 @@ QualitycheckClient::UpdateRuleOutcomeCallable QualitycheckClient::updateRuleCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::UpdateRuleForAntOutcome QualitycheckClient::updateRuleForAnt(const UpdateRuleForAntRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateRuleForAntOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateRuleForAntOutcome(UpdateRuleForAntResult(outcome.result()));
|
||||
else
|
||||
return UpdateRuleForAntOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void QualitycheckClient::updateRuleForAntAsync(const UpdateRuleForAntRequest& request, const UpdateRuleForAntAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateRuleForAnt(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
QualitycheckClient::UpdateRuleForAntOutcomeCallable QualitycheckClient::updateRuleForAntCallable(const UpdateRuleForAntRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateRuleForAntOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateRuleForAnt(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::UpdateScoreForApiOutcome QualitycheckClient::updateScoreForApi(const UpdateScoreForApiRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2967,42 +2679,6 @@ QualitycheckClient::UploadRuleOutcomeCallable QualitycheckClient::uploadRuleCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::ValidateRoleSetOutcome QualitycheckClient::validateRoleSet(const ValidateRoleSetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ValidateRoleSetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ValidateRoleSetOutcome(ValidateRoleSetResult(outcome.result()));
|
||||
else
|
||||
return ValidateRoleSetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void QualitycheckClient::validateRoleSetAsync(const ValidateRoleSetRequest& request, const ValidateRoleSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, validateRoleSet(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
QualitycheckClient::ValidateRoleSetOutcomeCallable QualitycheckClient::validateRoleSetCallable(const ValidateRoleSetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ValidateRoleSetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->validateRoleSet(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
QualitycheckClient::VerifyFileOutcome QualitycheckClient::verifyFile(const VerifyFileRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,62 +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/qualitycheck/model/CloseServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Qualitycheck::Model::CloseServiceRequest;
|
||||
|
||||
CloseServiceRequest::CloseServiceRequest() :
|
||||
RpcServiceRequest("qualitycheck", "2019-01-15", "CloseService")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CloseServiceRequest::~CloseServiceRequest()
|
||||
{}
|
||||
|
||||
long CloseServiceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CloseServiceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CloseServiceRequest::getJsonStr()const
|
||||
{
|
||||
return jsonStr_;
|
||||
}
|
||||
|
||||
void CloseServiceRequest::setJsonStr(const std::string& jsonStr)
|
||||
{
|
||||
jsonStr_ = jsonStr;
|
||||
setParameter("JsonStr", jsonStr);
|
||||
}
|
||||
|
||||
std::string CloseServiceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CloseServiceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,62 +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/qualitycheck/model/GetDataSetListRequest.h>
|
||||
|
||||
using AlibabaCloud::Qualitycheck::Model::GetDataSetListRequest;
|
||||
|
||||
GetDataSetListRequest::GetDataSetListRequest() :
|
||||
RpcServiceRequest("qualitycheck", "2019-01-15", "GetDataSetList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDataSetListRequest::~GetDataSetListRequest()
|
||||
{}
|
||||
|
||||
long GetDataSetListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetDataSetListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GetDataSetListRequest::getJsonStr()const
|
||||
{
|
||||
return jsonStr_;
|
||||
}
|
||||
|
||||
void GetDataSetListRequest::setJsonStr(const std::string& jsonStr)
|
||||
{
|
||||
jsonStr_ = jsonStr;
|
||||
setParameter("JsonStr", jsonStr);
|
||||
}
|
||||
|
||||
std::string GetDataSetListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetDataSetListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,105 +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/qualitycheck/model/GetDataSetListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Qualitycheck;
|
||||
using namespace AlibabaCloud::Qualitycheck::Model;
|
||||
|
||||
GetDataSetListResult::GetDataSetListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDataSetListResult::GetDataSetListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDataSetListResult::~GetDataSetListResult()
|
||||
{}
|
||||
|
||||
void GetDataSetListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["DataSet"];
|
||||
for (auto valueDataDataSet : allDataNode)
|
||||
{
|
||||
DataSet dataObject;
|
||||
if(!valueDataDataSet["SetId"].isNull())
|
||||
dataObject.setId = std::stol(valueDataDataSet["SetId"].asString());
|
||||
if(!valueDataDataSet["SetName"].isNull())
|
||||
dataObject.setName = valueDataDataSet["SetName"].asString();
|
||||
if(!valueDataDataSet["SetDomain"].isNull())
|
||||
dataObject.setDomain = valueDataDataSet["SetDomain"].asString();
|
||||
if(!valueDataDataSet["SetRoleArn"].isNull())
|
||||
dataObject.setRoleArn = valueDataDataSet["SetRoleArn"].asString();
|
||||
if(!valueDataDataSet["SetBucketName"].isNull())
|
||||
dataObject.setBucketName = valueDataDataSet["SetBucketName"].asString();
|
||||
if(!valueDataDataSet["SetFolderName"].isNull())
|
||||
dataObject.setFolderName = valueDataDataSet["SetFolderName"].asString();
|
||||
if(!valueDataDataSet["ChannelType"].isNull())
|
||||
dataObject.channelType = std::stoi(valueDataDataSet["ChannelType"].asString());
|
||||
if(!valueDataDataSet["CreateType"].isNull())
|
||||
dataObject.createType = std::stoi(valueDataDataSet["CreateType"].asString());
|
||||
if(!valueDataDataSet["CreateTime"].isNull())
|
||||
dataObject.createTime = valueDataDataSet["CreateTime"].asString();
|
||||
if(!valueDataDataSet["UpdateTime"].isNull())
|
||||
dataObject.updateTime = valueDataDataSet["UpdateTime"].asString();
|
||||
if(!valueDataDataSet["SetNumber"].isNull())
|
||||
dataObject.setNumber = std::stoi(valueDataDataSet["SetNumber"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
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();
|
||||
if(!value["Count"].isNull())
|
||||
count_ = std::stoi(value["Count"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string GetDataSetListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<GetDataSetListResult::DataSet> GetDataSetListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetDataSetListResult::getCount()const
|
||||
{
|
||||
return count_;
|
||||
}
|
||||
|
||||
std::string GetDataSetListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetDataSetListResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,62 +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/qualitycheck/model/GetRecognizeResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Qualitycheck::Model::GetRecognizeResultRequest;
|
||||
|
||||
GetRecognizeResultRequest::GetRecognizeResultRequest() :
|
||||
RpcServiceRequest("qualitycheck", "2019-01-15", "GetRecognizeResult")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetRecognizeResultRequest::~GetRecognizeResultRequest()
|
||||
{}
|
||||
|
||||
long GetRecognizeResultRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetRecognizeResultRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GetRecognizeResultRequest::getJsonStr()const
|
||||
{
|
||||
return jsonStr_;
|
||||
}
|
||||
|
||||
void GetRecognizeResultRequest::setJsonStr(const std::string& jsonStr)
|
||||
{
|
||||
jsonStr_ = jsonStr;
|
||||
setParameter("JsonStr", jsonStr);
|
||||
}
|
||||
|
||||
std::string GetRecognizeResultRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetRecognizeResultRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,99 +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/qualitycheck/model/GetRecognizeResultResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Qualitycheck;
|
||||
using namespace AlibabaCloud::Qualitycheck::Model;
|
||||
|
||||
GetRecognizeResultResult::GetRecognizeResultResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetRecognizeResultResult::GetRecognizeResultResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetRecognizeResultResult::~GetRecognizeResultResult()
|
||||
{}
|
||||
|
||||
void GetRecognizeResultResult::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["TaskAsrRequestId"].isNull())
|
||||
data_.taskAsrRequestId = std::stol(dataNode["TaskAsrRequestId"].asString());
|
||||
auto allDialoguesNode = dataNode["Dialogues"]["Dialogue"];
|
||||
for (auto dataNodeDialoguesDialogue : allDialoguesNode)
|
||||
{
|
||||
Data::Dialogue dialogueObject;
|
||||
if(!dataNodeDialoguesDialogue["Begin"].isNull())
|
||||
dialogueObject.begin = std::stol(dataNodeDialoguesDialogue["Begin"].asString());
|
||||
if(!dataNodeDialoguesDialogue["BeginTime"].isNull())
|
||||
dialogueObject.beginTime = dataNodeDialoguesDialogue["BeginTime"].asString();
|
||||
if(!dataNodeDialoguesDialogue["EmotionValue"].isNull())
|
||||
dialogueObject.emotionValue = std::stoi(dataNodeDialoguesDialogue["EmotionValue"].asString());
|
||||
if(!dataNodeDialoguesDialogue["End"].isNull())
|
||||
dialogueObject.end = std::stol(dataNodeDialoguesDialogue["End"].asString());
|
||||
if(!dataNodeDialoguesDialogue["HourMinSec"].isNull())
|
||||
dialogueObject.hourMinSec = dataNodeDialoguesDialogue["HourMinSec"].asString();
|
||||
if(!dataNodeDialoguesDialogue["Identity"].isNull())
|
||||
dialogueObject.identity = dataNodeDialoguesDialogue["Identity"].asString();
|
||||
if(!dataNodeDialoguesDialogue["Role"].isNull())
|
||||
dialogueObject.role = dataNodeDialoguesDialogue["Role"].asString();
|
||||
if(!dataNodeDialoguesDialogue["SilenceDuration"].isNull())
|
||||
dialogueObject.silenceDuration = std::stoi(dataNodeDialoguesDialogue["SilenceDuration"].asString());
|
||||
if(!dataNodeDialoguesDialogue["SpeechRate"].isNull())
|
||||
dialogueObject.speechRate = std::stoi(dataNodeDialoguesDialogue["SpeechRate"].asString());
|
||||
if(!dataNodeDialoguesDialogue["Words"].isNull())
|
||||
dialogueObject.words = dataNodeDialoguesDialogue["Words"].asString();
|
||||
data_.dialogues.push_back(dialogueObject);
|
||||
}
|
||||
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 GetRecognizeResultResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetRecognizeResultResult::Data GetRecognizeResultResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetRecognizeResultResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetRecognizeResultResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -71,6 +71,12 @@ void GetResultResult::parse(const std::string &payload)
|
||||
dataObject.createTimeLong = valueDataResultInfo["CreateTimeLong"].asString();
|
||||
if(!valueDataResultInfo["ReviewTimeLong"].isNull())
|
||||
dataObject.reviewTimeLong = valueDataResultInfo["ReviewTimeLong"].asString();
|
||||
if(!valueDataResultInfo["ReviewType"].isNull())
|
||||
dataObject.reviewType = std::stoi(valueDataResultInfo["ReviewType"].asString());
|
||||
if(!valueDataResultInfo["AssignmentTime"].isNull())
|
||||
dataObject.assignmentTime = valueDataResultInfo["AssignmentTime"].asString();
|
||||
if(!valueDataResultInfo["LastDataId"].isNull())
|
||||
dataObject.lastDataId = valueDataResultInfo["LastDataId"].asString();
|
||||
auto allAsrResultNode = valueDataResultInfo["AsrResult"]["AsrResultItem"];
|
||||
for (auto valueDataResultInfoAsrResultAsrResultItem : allAsrResultNode)
|
||||
{
|
||||
@@ -202,6 +208,8 @@ void GetResultResult::parse(const std::string &payload)
|
||||
dataObject.recording.remark12 = recordingNode["Remark12"].asString();
|
||||
if(!recordingNode["Remark13"].isNull())
|
||||
dataObject.recording.remark13 = recordingNode["Remark13"].asString();
|
||||
if(!recordingNode["DialogueSize"].isNull())
|
||||
dataObject.recording.dialogueSize = std::stoi(recordingNode["DialogueSize"].asString());
|
||||
auto agentNode = value["Agent"];
|
||||
if(!agentNode["Id"].isNull())
|
||||
dataObject.agent.id = agentNode["Id"].asString();
|
||||
|
||||
@@ -79,6 +79,8 @@ void ListSkillGroupConfigResult::parse(const std::string &payload)
|
||||
dataObject.allRids = valueDataSkillGroupConfig["AllRids"].asString();
|
||||
if(!valueDataSkillGroupConfig["SkillGroupFrom"].isNull())
|
||||
dataObject.skillGroupFrom = std::stoi(valueDataSkillGroupConfig["SkillGroupFrom"].asString());
|
||||
if(!valueDataSkillGroupConfig["ScreenSwitch"].isNull())
|
||||
dataObject.screenSwitch = valueDataSkillGroupConfig["ScreenSwitch"].asString() == "true";
|
||||
auto allRuleListNode = valueDataSkillGroupConfig["RuleList"]["RuleNameInfo"];
|
||||
for (auto valueDataSkillGroupConfigRuleListRuleNameInfo : allRuleListNode)
|
||||
{
|
||||
@@ -99,6 +101,20 @@ void ListSkillGroupConfigResult::parse(const std::string &payload)
|
||||
allRuleListObject.ruleName = valueDataSkillGroupConfigAllRuleListRuleNameInfo["RuleName"].asString();
|
||||
dataObject.allRuleList.push_back(allRuleListObject);
|
||||
}
|
||||
auto allSkillGroupScreensNode = valueDataSkillGroupConfig["SkillGroupScreens"]["SkillGroupScreen"];
|
||||
for (auto valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen : allSkillGroupScreensNode)
|
||||
{
|
||||
SkillGroupConfig::SkillGroupScreen skillGroupScreensObject;
|
||||
if(!valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["Name"].isNull())
|
||||
skillGroupScreensObject.name = valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["Name"].asString();
|
||||
if(!valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["DataType"].isNull())
|
||||
skillGroupScreensObject.dataType = std::stoi(valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["DataType"].asString());
|
||||
if(!valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["Symbol"].isNull())
|
||||
skillGroupScreensObject.symbol = std::stoi(valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["Symbol"].asString());
|
||||
if(!valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["Value"].isNull())
|
||||
skillGroupScreensObject.value = valueDataSkillGroupConfigSkillGroupScreensSkillGroupScreen["Value"].asString();
|
||||
dataObject.skillGroupScreens.push_back(skillGroupScreensObject);
|
||||
}
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
@@ -1,62 +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/qualitycheck/model/OpenServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Qualitycheck::Model::OpenServiceRequest;
|
||||
|
||||
OpenServiceRequest::OpenServiceRequest() :
|
||||
RpcServiceRequest("qualitycheck", "2019-01-15", "OpenService")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OpenServiceRequest::~OpenServiceRequest()
|
||||
{}
|
||||
|
||||
long OpenServiceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void OpenServiceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string OpenServiceRequest::getJsonStr()const
|
||||
{
|
||||
return jsonStr_;
|
||||
}
|
||||
|
||||
void OpenServiceRequest::setJsonStr(const std::string& jsonStr)
|
||||
{
|
||||
jsonStr_ = jsonStr;
|
||||
setParameter("JsonStr", jsonStr);
|
||||
}
|
||||
|
||||
std::string OpenServiceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void OpenServiceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,62 +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/qualitycheck/model/RegisterNoticeRequest.h>
|
||||
|
||||
using AlibabaCloud::Qualitycheck::Model::RegisterNoticeRequest;
|
||||
|
||||
RegisterNoticeRequest::RegisterNoticeRequest() :
|
||||
RpcServiceRequest("qualitycheck", "2019-01-15", "RegisterNotice")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RegisterNoticeRequest::~RegisterNoticeRequest()
|
||||
{}
|
||||
|
||||
long RegisterNoticeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void RegisterNoticeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string RegisterNoticeRequest::getJsonStr()const
|
||||
{
|
||||
return jsonStr_;
|
||||
}
|
||||
|
||||
void RegisterNoticeRequest::setJsonStr(const std::string& jsonStr)
|
||||
{
|
||||
jsonStr_ = jsonStr;
|
||||
setParameter("JsonStr", jsonStr);
|
||||
}
|
||||
|
||||
std::string RegisterNoticeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void RegisterNoticeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,62 +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/qualitycheck/model/RetrySubmitAsrRequest.h>
|
||||
|
||||
using AlibabaCloud::Qualitycheck::Model::RetrySubmitAsrRequest;
|
||||
|
||||
RetrySubmitAsrRequest::RetrySubmitAsrRequest() :
|
||||
RpcServiceRequest("qualitycheck", "2019-01-15", "RetrySubmitAsr")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RetrySubmitAsrRequest::~RetrySubmitAsrRequest()
|
||||
{}
|
||||
|
||||
long RetrySubmitAsrRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void RetrySubmitAsrRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string RetrySubmitAsrRequest::getJsonStr()const
|
||||
{
|
||||
return jsonStr_;
|
||||
}
|
||||
|
||||
void RetrySubmitAsrRequest::setJsonStr(const std::string& jsonStr)
|
||||
{
|
||||
jsonStr_ = jsonStr;
|
||||
setParameter("JsonStr", jsonStr);
|
||||
}
|
||||
|
||||
std::string RetrySubmitAsrRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void RetrySubmitAsrRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,62 +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/qualitycheck/model/SubmitModelTestTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Qualitycheck::Model::SubmitModelTestTaskRequest;
|
||||
|
||||
SubmitModelTestTaskRequest::SubmitModelTestTaskRequest() :
|
||||
RpcServiceRequest("qualitycheck", "2019-01-15", "SubmitModelTestTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SubmitModelTestTaskRequest::~SubmitModelTestTaskRequest()
|
||||
{}
|
||||
|
||||
long SubmitModelTestTaskRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void SubmitModelTestTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SubmitModelTestTaskRequest::getJsonStr()const
|
||||
{
|
||||
return jsonStr_;
|
||||
}
|
||||
|
||||
void SubmitModelTestTaskRequest::setJsonStr(const std::string& jsonStr)
|
||||
{
|
||||
jsonStr_ = jsonStr;
|
||||
setParameter("JsonStr", jsonStr);
|
||||
}
|
||||
|
||||
std::string SubmitModelTestTaskRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void SubmitModelTestTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,62 +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/qualitycheck/model/UpdateRuleForAntRequest.h>
|
||||
|
||||
using AlibabaCloud::Qualitycheck::Model::UpdateRuleForAntRequest;
|
||||
|
||||
UpdateRuleForAntRequest::UpdateRuleForAntRequest() :
|
||||
RpcServiceRequest("qualitycheck", "2019-01-15", "UpdateRuleForAnt")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateRuleForAntRequest::~UpdateRuleForAntRequest()
|
||||
{}
|
||||
|
||||
long UpdateRuleForAntRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void UpdateRuleForAntRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UpdateRuleForAntRequest::getJsonStr()const
|
||||
{
|
||||
return jsonStr_;
|
||||
}
|
||||
|
||||
void UpdateRuleForAntRequest::setJsonStr(const std::string& jsonStr)
|
||||
{
|
||||
jsonStr_ = jsonStr;
|
||||
setParameter("JsonStr", jsonStr);
|
||||
}
|
||||
|
||||
std::string UpdateRuleForAntRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UpdateRuleForAntRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,73 +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/qualitycheck/model/UpdateRuleForAntResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Qualitycheck;
|
||||
using namespace AlibabaCloud::Qualitycheck::Model;
|
||||
|
||||
UpdateRuleForAntResult::UpdateRuleForAntResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateRuleForAntResult::UpdateRuleForAntResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateRuleForAntResult::~UpdateRuleForAntResult()
|
||||
{}
|
||||
|
||||
void UpdateRuleForAntResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["RidInfo"];
|
||||
for (const auto &item : allData)
|
||||
data_.push_back(item.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 UpdateRuleForAntResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<std::string> UpdateRuleForAntResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string UpdateRuleForAntResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool UpdateRuleForAntResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,62 +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/qualitycheck/model/ValidateRoleSetRequest.h>
|
||||
|
||||
using AlibabaCloud::Qualitycheck::Model::ValidateRoleSetRequest;
|
||||
|
||||
ValidateRoleSetRequest::ValidateRoleSetRequest() :
|
||||
RpcServiceRequest("qualitycheck", "2019-01-15", "ValidateRoleSet")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ValidateRoleSetRequest::~ValidateRoleSetRequest()
|
||||
{}
|
||||
|
||||
long ValidateRoleSetRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ValidateRoleSetRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ValidateRoleSetRequest::getJsonStr()const
|
||||
{
|
||||
return jsonStr_;
|
||||
}
|
||||
|
||||
void ValidateRoleSetRequest::setJsonStr(const std::string& jsonStr)
|
||||
{
|
||||
jsonStr_ = jsonStr;
|
||||
setParameter("JsonStr", jsonStr);
|
||||
}
|
||||
|
||||
std::string ValidateRoleSetRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ValidateRoleSetRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,90 +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/qualitycheck/model/ValidateRoleSetResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Qualitycheck;
|
||||
using namespace AlibabaCloud::Qualitycheck::Model;
|
||||
|
||||
ValidateRoleSetResult::ValidateRoleSetResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ValidateRoleSetResult::ValidateRoleSetResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ValidateRoleSetResult::~ValidateRoleSetResult()
|
||||
{}
|
||||
|
||||
void ValidateRoleSetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["SentenceResult"];
|
||||
for (auto valueDataSentenceResult : allDataNode)
|
||||
{
|
||||
SentenceResult dataObject;
|
||||
if(!valueDataSentenceResult["BeginTime"].isNull())
|
||||
dataObject.beginTime = std::stol(valueDataSentenceResult["BeginTime"].asString());
|
||||
if(!valueDataSentenceResult["ChannelId"].isNull())
|
||||
dataObject.channelId = std::stoi(valueDataSentenceResult["ChannelId"].asString());
|
||||
if(!valueDataSentenceResult["EndTime"].isNull())
|
||||
dataObject.endTime = std::stol(valueDataSentenceResult["EndTime"].asString());
|
||||
if(!valueDataSentenceResult["Text"].isNull())
|
||||
dataObject.text = valueDataSentenceResult["Text"].asString();
|
||||
if(!valueDataSentenceResult["EmotionValue"].isNull())
|
||||
dataObject.emotionValue = std::stoi(valueDataSentenceResult["EmotionValue"].asString());
|
||||
if(!valueDataSentenceResult["SilenceDuration"].isNull())
|
||||
dataObject.silenceDuration = std::stoi(valueDataSentenceResult["SilenceDuration"].asString());
|
||||
if(!valueDataSentenceResult["SpeechRate"].isNull())
|
||||
dataObject.speechRate = std::stoi(valueDataSentenceResult["SpeechRate"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
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 ValidateRoleSetResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<ValidateRoleSetResult::SentenceResult> ValidateRoleSetResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ValidateRoleSetResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ValidateRoleSetResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -183,6 +183,8 @@ set(r-kvstore_public_header_model
|
||||
include/alibabacloud/r-kvstore/model/ReleaseDirectConnectionResult.h
|
||||
include/alibabacloud/r-kvstore/model/ReleaseInstancePublicConnectionRequest.h
|
||||
include/alibabacloud/r-kvstore/model/ReleaseInstancePublicConnectionResult.h
|
||||
include/alibabacloud/r-kvstore/model/RenewAdditionalBandwidthRequest.h
|
||||
include/alibabacloud/r-kvstore/model/RenewAdditionalBandwidthResult.h
|
||||
include/alibabacloud/r-kvstore/model/RenewInstanceRequest.h
|
||||
include/alibabacloud/r-kvstore/model/RenewInstanceResult.h
|
||||
include/alibabacloud/r-kvstore/model/ReplaceUserClusterHostRequest.h
|
||||
@@ -370,6 +372,8 @@ set(r-kvstore_src
|
||||
src/model/ReleaseDirectConnectionResult.cc
|
||||
src/model/ReleaseInstancePublicConnectionRequest.cc
|
||||
src/model/ReleaseInstancePublicConnectionResult.cc
|
||||
src/model/RenewAdditionalBandwidthRequest.cc
|
||||
src/model/RenewAdditionalBandwidthResult.cc
|
||||
src/model/RenewInstanceRequest.cc
|
||||
src/model/RenewInstanceResult.cc
|
||||
src/model/ReplaceUserClusterHostRequest.cc
|
||||
|
||||
@@ -184,6 +184,8 @@
|
||||
#include "model/ReleaseDirectConnectionResult.h"
|
||||
#include "model/ReleaseInstancePublicConnectionRequest.h"
|
||||
#include "model/ReleaseInstancePublicConnectionResult.h"
|
||||
#include "model/RenewAdditionalBandwidthRequest.h"
|
||||
#include "model/RenewAdditionalBandwidthResult.h"
|
||||
#include "model/RenewInstanceRequest.h"
|
||||
#include "model/RenewInstanceResult.h"
|
||||
#include "model/ReplaceUserClusterHostRequest.h"
|
||||
@@ -458,6 +460,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ReleaseInstancePublicConnectionResult> ReleaseInstancePublicConnectionOutcome;
|
||||
typedef std::future<ReleaseInstancePublicConnectionOutcome> ReleaseInstancePublicConnectionOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::ReleaseInstancePublicConnectionRequest&, const ReleaseInstancePublicConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseInstancePublicConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenewAdditionalBandwidthResult> RenewAdditionalBandwidthOutcome;
|
||||
typedef std::future<RenewAdditionalBandwidthOutcome> RenewAdditionalBandwidthOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::RenewAdditionalBandwidthRequest&, const RenewAdditionalBandwidthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewAdditionalBandwidthAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenewInstanceResult> RenewInstanceOutcome;
|
||||
typedef std::future<RenewInstanceOutcome> RenewInstanceOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::RenewInstanceRequest&, const RenewInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewInstanceAsyncHandler;
|
||||
@@ -739,6 +744,9 @@ namespace AlibabaCloud
|
||||
ReleaseInstancePublicConnectionOutcome releaseInstancePublicConnection(const Model::ReleaseInstancePublicConnectionRequest &request)const;
|
||||
void releaseInstancePublicConnectionAsync(const Model::ReleaseInstancePublicConnectionRequest& request, const ReleaseInstancePublicConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReleaseInstancePublicConnectionOutcomeCallable releaseInstancePublicConnectionCallable(const Model::ReleaseInstancePublicConnectionRequest& request) const;
|
||||
RenewAdditionalBandwidthOutcome renewAdditionalBandwidth(const Model::RenewAdditionalBandwidthRequest &request)const;
|
||||
void renewAdditionalBandwidthAsync(const Model::RenewAdditionalBandwidthRequest& request, const RenewAdditionalBandwidthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewAdditionalBandwidthOutcomeCallable renewAdditionalBandwidthCallable(const Model::RenewAdditionalBandwidthRequest& 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;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getSourceBiz()const;
|
||||
void setSourceBiz(const std::string& sourceBiz);
|
||||
int getShardCount()const;
|
||||
void setShardCount(int shardCount);
|
||||
std::string getBusinessInfo()const;
|
||||
@@ -68,6 +70,7 @@ namespace AlibabaCloud
|
||||
std::string couponNo_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string sourceBiz_;
|
||||
int shardCount_;
|
||||
std::string businessInfo_;
|
||||
bool autoPay_;
|
||||
|
||||
@@ -79,6 +79,8 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
bool getGlobalInstance()const;
|
||||
void setGlobalInstance(bool globalInstance);
|
||||
std::string getPrivateIp()const;
|
||||
void setPrivateIp(const std::string& privateIp);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVSwitchId()const;
|
||||
@@ -116,6 +118,7 @@ namespace AlibabaCloud
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
bool globalInstance_;
|
||||
std::string privateIp_;
|
||||
long ownerId_;
|
||||
std::string vSwitchId_;
|
||||
int vpcCloudInsInfo_;
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_R_KVSTORE_MODEL_RENEWADDITIONALBANDWIDTHREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_RENEWADDITIONALBANDWIDTHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT RenewAdditionalBandwidthRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RenewAdditionalBandwidthRequest();
|
||||
~RenewAdditionalBandwidthRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCouponNo()const;
|
||||
void setCouponNo(const std::string& couponNo);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getSourceBiz()const;
|
||||
void setSourceBiz(const std::string& sourceBiz);
|
||||
std::string getOrderTimeLength()const;
|
||||
void setOrderTimeLength(const std::string& orderTimeLength);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
bool getAutoPay()const;
|
||||
void setAutoPay(bool autoPay);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string couponNo_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string sourceBiz_;
|
||||
std::string orderTimeLength_;
|
||||
std::string product_;
|
||||
bool autoPay_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string category_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_RENEWADDITIONALBANDWIDTHREQUEST_H_
|
||||
@@ -14,42 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_REGISTERNOTICERESULT_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_REGISTERNOTICERESULT_H_
|
||||
#ifndef ALIBABACLOUD_R_KVSTORE_MODEL_RENEWADDITIONALBANDWIDTHRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_RENEWADDITIONALBANDWIDTHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT RegisterNoticeResult : public ServiceResult
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT RenewAdditionalBandwidthResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RegisterNoticeResult();
|
||||
explicit RegisterNoticeResult(const std::string &payload);
|
||||
~RegisterNoticeResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
RenewAdditionalBandwidthResult();
|
||||
explicit RenewAdditionalBandwidthResult(const std::string &payload);
|
||||
~RenewAdditionalBandwidthResult();
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_REGISTERNOTICERESULT_H_
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_RENEWADDITIONALBANDWIDTHRESULT_H_
|
||||
@@ -2967,6 +2967,42 @@ R_kvstoreClient::ReleaseInstancePublicConnectionOutcomeCallable R_kvstoreClient:
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::RenewAdditionalBandwidthOutcome R_kvstoreClient::renewAdditionalBandwidth(const RenewAdditionalBandwidthRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RenewAdditionalBandwidthOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RenewAdditionalBandwidthOutcome(RenewAdditionalBandwidthResult(outcome.result()));
|
||||
else
|
||||
return RenewAdditionalBandwidthOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void R_kvstoreClient::renewAdditionalBandwidthAsync(const RenewAdditionalBandwidthRequest& request, const RenewAdditionalBandwidthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, renewAdditionalBandwidth(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
R_kvstoreClient::RenewAdditionalBandwidthOutcomeCallable R_kvstoreClient::renewAdditionalBandwidthCallable(const RenewAdditionalBandwidthRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RenewAdditionalBandwidthOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->renewAdditionalBandwidth(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::RenewInstanceOutcome R_kvstoreClient::renewInstance(const RenewInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -82,6 +82,17 @@ void AddShardingNodeRequest::setSecurityToken(const std::string& securityToken)
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddShardingNodeRequest::getSourceBiz()const
|
||||
{
|
||||
return sourceBiz_;
|
||||
}
|
||||
|
||||
void AddShardingNodeRequest::setSourceBiz(const std::string& sourceBiz)
|
||||
{
|
||||
sourceBiz_ = sourceBiz;
|
||||
setParameter("SourceBiz", sourceBiz);
|
||||
}
|
||||
|
||||
int AddShardingNodeRequest::getShardCount()const
|
||||
{
|
||||
return shardCount_;
|
||||
|
||||
@@ -241,6 +241,17 @@ void DescribeInstancesRequest::setGlobalInstance(bool globalInstance)
|
||||
setParameter("GlobalInstance", globalInstance ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getPrivateIp()const
|
||||
{
|
||||
return privateIp_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setPrivateIp(const std::string& privateIp)
|
||||
{
|
||||
privateIp_ = privateIp;
|
||||
setParameter("PrivateIp", privateIp);
|
||||
}
|
||||
|
||||
long DescribeInstancesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
172
r-kvstore/src/model/RenewAdditionalBandwidthRequest.cc
Normal file
172
r-kvstore/src/model/RenewAdditionalBandwidthRequest.cc
Normal file
@@ -0,0 +1,172 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/r-kvstore/model/RenewAdditionalBandwidthRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::RenewAdditionalBandwidthRequest;
|
||||
|
||||
RenewAdditionalBandwidthRequest::RenewAdditionalBandwidthRequest() :
|
||||
RpcServiceRequest("r-kvstore", "2015-01-01", "RenewAdditionalBandwidth")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RenewAdditionalBandwidthRequest::~RenewAdditionalBandwidthRequest()
|
||||
{}
|
||||
|
||||
long RenewAdditionalBandwidthRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void RenewAdditionalBandwidthRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string RenewAdditionalBandwidthRequest::getCouponNo()const
|
||||
{
|
||||
return couponNo_;
|
||||
}
|
||||
|
||||
void RenewAdditionalBandwidthRequest::setCouponNo(const std::string& couponNo)
|
||||
{
|
||||
couponNo_ = couponNo;
|
||||
setParameter("CouponNo", couponNo);
|
||||
}
|
||||
|
||||
std::string RenewAdditionalBandwidthRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void RenewAdditionalBandwidthRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string RenewAdditionalBandwidthRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void RenewAdditionalBandwidthRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string RenewAdditionalBandwidthRequest::getSourceBiz()const
|
||||
{
|
||||
return sourceBiz_;
|
||||
}
|
||||
|
||||
void RenewAdditionalBandwidthRequest::setSourceBiz(const std::string& sourceBiz)
|
||||
{
|
||||
sourceBiz_ = sourceBiz;
|
||||
setParameter("SourceBiz", sourceBiz);
|
||||
}
|
||||
|
||||
std::string RenewAdditionalBandwidthRequest::getOrderTimeLength()const
|
||||
{
|
||||
return orderTimeLength_;
|
||||
}
|
||||
|
||||
void RenewAdditionalBandwidthRequest::setOrderTimeLength(const std::string& orderTimeLength)
|
||||
{
|
||||
orderTimeLength_ = orderTimeLength;
|
||||
setParameter("OrderTimeLength", orderTimeLength);
|
||||
}
|
||||
|
||||
std::string RenewAdditionalBandwidthRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void RenewAdditionalBandwidthRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
}
|
||||
|
||||
bool RenewAdditionalBandwidthRequest::getAutoPay()const
|
||||
{
|
||||
return autoPay_;
|
||||
}
|
||||
|
||||
void RenewAdditionalBandwidthRequest::setAutoPay(bool autoPay)
|
||||
{
|
||||
autoPay_ = autoPay;
|
||||
setParameter("AutoPay", autoPay ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string RenewAdditionalBandwidthRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void RenewAdditionalBandwidthRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string RenewAdditionalBandwidthRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void RenewAdditionalBandwidthRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long RenewAdditionalBandwidthRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RenewAdditionalBandwidthRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string RenewAdditionalBandwidthRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void RenewAdditionalBandwidthRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string RenewAdditionalBandwidthRequest::getCategory()const
|
||||
{
|
||||
return category_;
|
||||
}
|
||||
|
||||
void RenewAdditionalBandwidthRequest::setCategory(const std::string& category)
|
||||
{
|
||||
category_ = category;
|
||||
setParameter("Category", category);
|
||||
}
|
||||
|
||||
@@ -14,52 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/qualitycheck/model/OpenServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/model/RenewAdditionalBandwidthResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Qualitycheck;
|
||||
using namespace AlibabaCloud::Qualitycheck::Model;
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
OpenServiceResult::OpenServiceResult() :
|
||||
RenewAdditionalBandwidthResult::RenewAdditionalBandwidthResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
OpenServiceResult::OpenServiceResult(const std::string &payload) :
|
||||
RenewAdditionalBandwidthResult::RenewAdditionalBandwidthResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
OpenServiceResult::~OpenServiceResult()
|
||||
RenewAdditionalBandwidthResult::~RenewAdditionalBandwidthResult()
|
||||
{}
|
||||
|
||||
void OpenServiceResult::parse(const std::string &payload)
|
||||
void RenewAdditionalBandwidthResult::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();
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string OpenServiceResult::getMessage()const
|
||||
std::string RenewAdditionalBandwidthResult::getOrderId()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string OpenServiceResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool OpenServiceResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
@@ -183,6 +183,8 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/DescribeErrorLogsResult.h
|
||||
include/alibabacloud/rds/model/DescribeEventsRequest.h
|
||||
include/alibabacloud/rds/model/DescribeEventsResult.h
|
||||
include/alibabacloud/rds/model/DescribeHADiagnoseConfigRequest.h
|
||||
include/alibabacloud/rds/model/DescribeHADiagnoseConfigResult.h
|
||||
include/alibabacloud/rds/model/DescribeHASwitchConfigRequest.h
|
||||
include/alibabacloud/rds/model/DescribeHASwitchConfigResult.h
|
||||
include/alibabacloud/rds/model/DescribeInstanceAutoRenewalAttributeRequest.h
|
||||
@@ -239,8 +241,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/DescribeSQLLogReportListResult.h
|
||||
include/alibabacloud/rds/model/DescribeSQLLogReportsRequest.h
|
||||
include/alibabacloud/rds/model/DescribeSQLLogReportsResult.h
|
||||
include/alibabacloud/rds/model/DescribeSQLReportsRequest.h
|
||||
include/alibabacloud/rds/model/DescribeSQLReportsResult.h
|
||||
include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationRequest.h
|
||||
include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationResult.h
|
||||
include/alibabacloud/rds/model/DescribeSlowLogRecordsRequest.h
|
||||
@@ -251,10 +251,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/DescribeTagsResult.h
|
||||
include/alibabacloud/rds/model/DescribeTasksRequest.h
|
||||
include/alibabacloud/rds/model/DescribeTasksResult.h
|
||||
include/alibabacloud/rds/model/DescribeUpgradeMajorVersionPrecheckTaskRequest.h
|
||||
include/alibabacloud/rds/model/DescribeUpgradeMajorVersionPrecheckTaskResult.h
|
||||
include/alibabacloud/rds/model/DescribeUpgradeMajorVersionTasksRequest.h
|
||||
include/alibabacloud/rds/model/DescribeUpgradeMajorVersionTasksResult.h
|
||||
include/alibabacloud/rds/model/DestroyDBInstanceRequest.h
|
||||
include/alibabacloud/rds/model/DestroyDBInstanceResult.h
|
||||
include/alibabacloud/rds/model/GetDbProxyInstanceSslRequest.h
|
||||
@@ -329,6 +325,8 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/ModifyDasInstanceConfigResult.h
|
||||
include/alibabacloud/rds/model/ModifyDbProxyInstanceSslRequest.h
|
||||
include/alibabacloud/rds/model/ModifyDbProxyInstanceSslResult.h
|
||||
include/alibabacloud/rds/model/ModifyHADiagnoseConfigRequest.h
|
||||
include/alibabacloud/rds/model/ModifyHADiagnoseConfigResult.h
|
||||
include/alibabacloud/rds/model/ModifyHASwitchConfigRequest.h
|
||||
include/alibabacloud/rds/model/ModifyHASwitchConfigResult.h
|
||||
include/alibabacloud/rds/model/ModifyInstanceAutoRenewalAttributeRequest.h
|
||||
@@ -407,10 +405,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/UpgradeDBInstanceEngineVersionResult.h
|
||||
include/alibabacloud/rds/model/UpgradeDBInstanceKernelVersionRequest.h
|
||||
include/alibabacloud/rds/model/UpgradeDBInstanceKernelVersionResult.h
|
||||
include/alibabacloud/rds/model/UpgradeDBInstanceMajorVersionRequest.h
|
||||
include/alibabacloud/rds/model/UpgradeDBInstanceMajorVersionResult.h
|
||||
include/alibabacloud/rds/model/UpgradeDBInstanceMajorVersionPrecheckRequest.h
|
||||
include/alibabacloud/rds/model/UpgradeDBInstanceMajorVersionPrecheckResult.h
|
||||
include/alibabacloud/rds/model/UpgradeDBProxyInstanceKernelVersionRequest.h
|
||||
include/alibabacloud/rds/model/UpgradeDBProxyInstanceKernelVersionResult.h )
|
||||
|
||||
@@ -578,6 +572,8 @@ set(rds_src
|
||||
src/model/DescribeErrorLogsResult.cc
|
||||
src/model/DescribeEventsRequest.cc
|
||||
src/model/DescribeEventsResult.cc
|
||||
src/model/DescribeHADiagnoseConfigRequest.cc
|
||||
src/model/DescribeHADiagnoseConfigResult.cc
|
||||
src/model/DescribeHASwitchConfigRequest.cc
|
||||
src/model/DescribeHASwitchConfigResult.cc
|
||||
src/model/DescribeInstanceAutoRenewalAttributeRequest.cc
|
||||
@@ -634,8 +630,6 @@ set(rds_src
|
||||
src/model/DescribeSQLLogReportListResult.cc
|
||||
src/model/DescribeSQLLogReportsRequest.cc
|
||||
src/model/DescribeSQLLogReportsResult.cc
|
||||
src/model/DescribeSQLReportsRequest.cc
|
||||
src/model/DescribeSQLReportsResult.cc
|
||||
src/model/DescribeSecurityGroupConfigurationRequest.cc
|
||||
src/model/DescribeSecurityGroupConfigurationResult.cc
|
||||
src/model/DescribeSlowLogRecordsRequest.cc
|
||||
@@ -646,10 +640,6 @@ set(rds_src
|
||||
src/model/DescribeTagsResult.cc
|
||||
src/model/DescribeTasksRequest.cc
|
||||
src/model/DescribeTasksResult.cc
|
||||
src/model/DescribeUpgradeMajorVersionPrecheckTaskRequest.cc
|
||||
src/model/DescribeUpgradeMajorVersionPrecheckTaskResult.cc
|
||||
src/model/DescribeUpgradeMajorVersionTasksRequest.cc
|
||||
src/model/DescribeUpgradeMajorVersionTasksResult.cc
|
||||
src/model/DestroyDBInstanceRequest.cc
|
||||
src/model/DestroyDBInstanceResult.cc
|
||||
src/model/GetDbProxyInstanceSslRequest.cc
|
||||
@@ -724,6 +714,8 @@ set(rds_src
|
||||
src/model/ModifyDasInstanceConfigResult.cc
|
||||
src/model/ModifyDbProxyInstanceSslRequest.cc
|
||||
src/model/ModifyDbProxyInstanceSslResult.cc
|
||||
src/model/ModifyHADiagnoseConfigRequest.cc
|
||||
src/model/ModifyHADiagnoseConfigResult.cc
|
||||
src/model/ModifyHASwitchConfigRequest.cc
|
||||
src/model/ModifyHASwitchConfigResult.cc
|
||||
src/model/ModifyInstanceAutoRenewalAttributeRequest.cc
|
||||
@@ -802,10 +794,6 @@ set(rds_src
|
||||
src/model/UpgradeDBInstanceEngineVersionResult.cc
|
||||
src/model/UpgradeDBInstanceKernelVersionRequest.cc
|
||||
src/model/UpgradeDBInstanceKernelVersionResult.cc
|
||||
src/model/UpgradeDBInstanceMajorVersionRequest.cc
|
||||
src/model/UpgradeDBInstanceMajorVersionResult.cc
|
||||
src/model/UpgradeDBInstanceMajorVersionPrecheckRequest.cc
|
||||
src/model/UpgradeDBInstanceMajorVersionPrecheckResult.cc
|
||||
src/model/UpgradeDBProxyInstanceKernelVersionRequest.cc
|
||||
src/model/UpgradeDBProxyInstanceKernelVersionResult.cc )
|
||||
|
||||
|
||||
@@ -184,6 +184,8 @@
|
||||
#include "model/DescribeErrorLogsResult.h"
|
||||
#include "model/DescribeEventsRequest.h"
|
||||
#include "model/DescribeEventsResult.h"
|
||||
#include "model/DescribeHADiagnoseConfigRequest.h"
|
||||
#include "model/DescribeHADiagnoseConfigResult.h"
|
||||
#include "model/DescribeHASwitchConfigRequest.h"
|
||||
#include "model/DescribeHASwitchConfigResult.h"
|
||||
#include "model/DescribeInstanceAutoRenewalAttributeRequest.h"
|
||||
@@ -240,8 +242,6 @@
|
||||
#include "model/DescribeSQLLogReportListResult.h"
|
||||
#include "model/DescribeSQLLogReportsRequest.h"
|
||||
#include "model/DescribeSQLLogReportsResult.h"
|
||||
#include "model/DescribeSQLReportsRequest.h"
|
||||
#include "model/DescribeSQLReportsResult.h"
|
||||
#include "model/DescribeSecurityGroupConfigurationRequest.h"
|
||||
#include "model/DescribeSecurityGroupConfigurationResult.h"
|
||||
#include "model/DescribeSlowLogRecordsRequest.h"
|
||||
@@ -252,10 +252,6 @@
|
||||
#include "model/DescribeTagsResult.h"
|
||||
#include "model/DescribeTasksRequest.h"
|
||||
#include "model/DescribeTasksResult.h"
|
||||
#include "model/DescribeUpgradeMajorVersionPrecheckTaskRequest.h"
|
||||
#include "model/DescribeUpgradeMajorVersionPrecheckTaskResult.h"
|
||||
#include "model/DescribeUpgradeMajorVersionTasksRequest.h"
|
||||
#include "model/DescribeUpgradeMajorVersionTasksResult.h"
|
||||
#include "model/DestroyDBInstanceRequest.h"
|
||||
#include "model/DestroyDBInstanceResult.h"
|
||||
#include "model/GetDbProxyInstanceSslRequest.h"
|
||||
@@ -330,6 +326,8 @@
|
||||
#include "model/ModifyDasInstanceConfigResult.h"
|
||||
#include "model/ModifyDbProxyInstanceSslRequest.h"
|
||||
#include "model/ModifyDbProxyInstanceSslResult.h"
|
||||
#include "model/ModifyHADiagnoseConfigRequest.h"
|
||||
#include "model/ModifyHADiagnoseConfigResult.h"
|
||||
#include "model/ModifyHASwitchConfigRequest.h"
|
||||
#include "model/ModifyHASwitchConfigResult.h"
|
||||
#include "model/ModifyInstanceAutoRenewalAttributeRequest.h"
|
||||
@@ -408,10 +406,6 @@
|
||||
#include "model/UpgradeDBInstanceEngineVersionResult.h"
|
||||
#include "model/UpgradeDBInstanceKernelVersionRequest.h"
|
||||
#include "model/UpgradeDBInstanceKernelVersionResult.h"
|
||||
#include "model/UpgradeDBInstanceMajorVersionRequest.h"
|
||||
#include "model/UpgradeDBInstanceMajorVersionResult.h"
|
||||
#include "model/UpgradeDBInstanceMajorVersionPrecheckRequest.h"
|
||||
#include "model/UpgradeDBInstanceMajorVersionPrecheckResult.h"
|
||||
#include "model/UpgradeDBProxyInstanceKernelVersionRequest.h"
|
||||
#include "model/UpgradeDBProxyInstanceKernelVersionResult.h"
|
||||
|
||||
@@ -666,6 +660,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeEventsResult> DescribeEventsOutcome;
|
||||
typedef std::future<DescribeEventsOutcome> DescribeEventsOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeEventsRequest&, const DescribeEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEventsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeHADiagnoseConfigResult> DescribeHADiagnoseConfigOutcome;
|
||||
typedef std::future<DescribeHADiagnoseConfigOutcome> DescribeHADiagnoseConfigOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeHADiagnoseConfigRequest&, const DescribeHADiagnoseConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHADiagnoseConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeHASwitchConfigResult> DescribeHASwitchConfigOutcome;
|
||||
typedef std::future<DescribeHASwitchConfigOutcome> DescribeHASwitchConfigOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeHASwitchConfigRequest&, const DescribeHASwitchConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHASwitchConfigAsyncHandler;
|
||||
@@ -750,9 +747,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeSQLLogReportsResult> DescribeSQLLogReportsOutcome;
|
||||
typedef std::future<DescribeSQLLogReportsOutcome> DescribeSQLLogReportsOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeSQLLogReportsRequest&, const DescribeSQLLogReportsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLLogReportsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLReportsResult> DescribeSQLReportsOutcome;
|
||||
typedef std::future<DescribeSQLReportsOutcome> DescribeSQLReportsOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeSQLReportsRequest&, const DescribeSQLReportsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLReportsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSecurityGroupConfigurationResult> DescribeSecurityGroupConfigurationOutcome;
|
||||
typedef std::future<DescribeSecurityGroupConfigurationOutcome> DescribeSecurityGroupConfigurationOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeSecurityGroupConfigurationRequest&, const DescribeSecurityGroupConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecurityGroupConfigurationAsyncHandler;
|
||||
@@ -768,12 +762,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeTasksResult> DescribeTasksOutcome;
|
||||
typedef std::future<DescribeTasksOutcome> DescribeTasksOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeTasksRequest&, const DescribeTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUpgradeMajorVersionPrecheckTaskResult> DescribeUpgradeMajorVersionPrecheckTaskOutcome;
|
||||
typedef std::future<DescribeUpgradeMajorVersionPrecheckTaskOutcome> DescribeUpgradeMajorVersionPrecheckTaskOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeUpgradeMajorVersionPrecheckTaskRequest&, const DescribeUpgradeMajorVersionPrecheckTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUpgradeMajorVersionPrecheckTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUpgradeMajorVersionTasksResult> DescribeUpgradeMajorVersionTasksOutcome;
|
||||
typedef std::future<DescribeUpgradeMajorVersionTasksOutcome> DescribeUpgradeMajorVersionTasksOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeUpgradeMajorVersionTasksRequest&, const DescribeUpgradeMajorVersionTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUpgradeMajorVersionTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::DestroyDBInstanceResult> DestroyDBInstanceOutcome;
|
||||
typedef std::future<DestroyDBInstanceOutcome> DestroyDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DestroyDBInstanceRequest&, const DestroyDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DestroyDBInstanceAsyncHandler;
|
||||
@@ -885,6 +873,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyDbProxyInstanceSslResult> ModifyDbProxyInstanceSslOutcome;
|
||||
typedef std::future<ModifyDbProxyInstanceSslOutcome> ModifyDbProxyInstanceSslOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyDbProxyInstanceSslRequest&, const ModifyDbProxyInstanceSslOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDbProxyInstanceSslAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyHADiagnoseConfigResult> ModifyHADiagnoseConfigOutcome;
|
||||
typedef std::future<ModifyHADiagnoseConfigOutcome> ModifyHADiagnoseConfigOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyHADiagnoseConfigRequest&, const ModifyHADiagnoseConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHADiagnoseConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyHASwitchConfigResult> ModifyHASwitchConfigOutcome;
|
||||
typedef std::future<ModifyHASwitchConfigOutcome> ModifyHASwitchConfigOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyHASwitchConfigRequest&, const ModifyHASwitchConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHASwitchConfigAsyncHandler;
|
||||
@@ -1002,12 +993,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpgradeDBInstanceKernelVersionResult> UpgradeDBInstanceKernelVersionOutcome;
|
||||
typedef std::future<UpgradeDBInstanceKernelVersionOutcome> UpgradeDBInstanceKernelVersionOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::UpgradeDBInstanceKernelVersionRequest&, const UpgradeDBInstanceKernelVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeDBInstanceKernelVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeDBInstanceMajorVersionResult> UpgradeDBInstanceMajorVersionOutcome;
|
||||
typedef std::future<UpgradeDBInstanceMajorVersionOutcome> UpgradeDBInstanceMajorVersionOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::UpgradeDBInstanceMajorVersionRequest&, const UpgradeDBInstanceMajorVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeDBInstanceMajorVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeDBInstanceMajorVersionPrecheckResult> UpgradeDBInstanceMajorVersionPrecheckOutcome;
|
||||
typedef std::future<UpgradeDBInstanceMajorVersionPrecheckOutcome> UpgradeDBInstanceMajorVersionPrecheckOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::UpgradeDBInstanceMajorVersionPrecheckRequest&, const UpgradeDBInstanceMajorVersionPrecheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeDBInstanceMajorVersionPrecheckAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeDBProxyInstanceKernelVersionResult> UpgradeDBProxyInstanceKernelVersionOutcome;
|
||||
typedef std::future<UpgradeDBProxyInstanceKernelVersionOutcome> UpgradeDBProxyInstanceKernelVersionOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::UpgradeDBProxyInstanceKernelVersionRequest&, const UpgradeDBProxyInstanceKernelVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeDBProxyInstanceKernelVersionAsyncHandler;
|
||||
@@ -1259,6 +1244,9 @@ namespace AlibabaCloud
|
||||
DescribeEventsOutcome describeEvents(const Model::DescribeEventsRequest &request)const;
|
||||
void describeEventsAsync(const Model::DescribeEventsRequest& request, const DescribeEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEventsOutcomeCallable describeEventsCallable(const Model::DescribeEventsRequest& request) const;
|
||||
DescribeHADiagnoseConfigOutcome describeHADiagnoseConfig(const Model::DescribeHADiagnoseConfigRequest &request)const;
|
||||
void describeHADiagnoseConfigAsync(const Model::DescribeHADiagnoseConfigRequest& request, const DescribeHADiagnoseConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeHADiagnoseConfigOutcomeCallable describeHADiagnoseConfigCallable(const Model::DescribeHADiagnoseConfigRequest& request) const;
|
||||
DescribeHASwitchConfigOutcome describeHASwitchConfig(const Model::DescribeHASwitchConfigRequest &request)const;
|
||||
void describeHASwitchConfigAsync(const Model::DescribeHASwitchConfigRequest& request, const DescribeHASwitchConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeHASwitchConfigOutcomeCallable describeHASwitchConfigCallable(const Model::DescribeHASwitchConfigRequest& request) const;
|
||||
@@ -1343,9 +1331,6 @@ namespace AlibabaCloud
|
||||
DescribeSQLLogReportsOutcome describeSQLLogReports(const Model::DescribeSQLLogReportsRequest &request)const;
|
||||
void describeSQLLogReportsAsync(const Model::DescribeSQLLogReportsRequest& request, const DescribeSQLLogReportsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLLogReportsOutcomeCallable describeSQLLogReportsCallable(const Model::DescribeSQLLogReportsRequest& request) const;
|
||||
DescribeSQLReportsOutcome describeSQLReports(const Model::DescribeSQLReportsRequest &request)const;
|
||||
void describeSQLReportsAsync(const Model::DescribeSQLReportsRequest& request, const DescribeSQLReportsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLReportsOutcomeCallable describeSQLReportsCallable(const Model::DescribeSQLReportsRequest& request) const;
|
||||
DescribeSecurityGroupConfigurationOutcome describeSecurityGroupConfiguration(const Model::DescribeSecurityGroupConfigurationRequest &request)const;
|
||||
void describeSecurityGroupConfigurationAsync(const Model::DescribeSecurityGroupConfigurationRequest& request, const DescribeSecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSecurityGroupConfigurationOutcomeCallable describeSecurityGroupConfigurationCallable(const Model::DescribeSecurityGroupConfigurationRequest& request) const;
|
||||
@@ -1361,12 +1346,6 @@ namespace AlibabaCloud
|
||||
DescribeTasksOutcome describeTasks(const Model::DescribeTasksRequest &request)const;
|
||||
void describeTasksAsync(const Model::DescribeTasksRequest& request, const DescribeTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTasksOutcomeCallable describeTasksCallable(const Model::DescribeTasksRequest& request) const;
|
||||
DescribeUpgradeMajorVersionPrecheckTaskOutcome describeUpgradeMajorVersionPrecheckTask(const Model::DescribeUpgradeMajorVersionPrecheckTaskRequest &request)const;
|
||||
void describeUpgradeMajorVersionPrecheckTaskAsync(const Model::DescribeUpgradeMajorVersionPrecheckTaskRequest& request, const DescribeUpgradeMajorVersionPrecheckTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUpgradeMajorVersionPrecheckTaskOutcomeCallable describeUpgradeMajorVersionPrecheckTaskCallable(const Model::DescribeUpgradeMajorVersionPrecheckTaskRequest& request) const;
|
||||
DescribeUpgradeMajorVersionTasksOutcome describeUpgradeMajorVersionTasks(const Model::DescribeUpgradeMajorVersionTasksRequest &request)const;
|
||||
void describeUpgradeMajorVersionTasksAsync(const Model::DescribeUpgradeMajorVersionTasksRequest& request, const DescribeUpgradeMajorVersionTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUpgradeMajorVersionTasksOutcomeCallable describeUpgradeMajorVersionTasksCallable(const Model::DescribeUpgradeMajorVersionTasksRequest& request) const;
|
||||
DestroyDBInstanceOutcome destroyDBInstance(const Model::DestroyDBInstanceRequest &request)const;
|
||||
void destroyDBInstanceAsync(const Model::DestroyDBInstanceRequest& request, const DestroyDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DestroyDBInstanceOutcomeCallable destroyDBInstanceCallable(const Model::DestroyDBInstanceRequest& request) const;
|
||||
@@ -1478,6 +1457,9 @@ namespace AlibabaCloud
|
||||
ModifyDbProxyInstanceSslOutcome modifyDbProxyInstanceSsl(const Model::ModifyDbProxyInstanceSslRequest &request)const;
|
||||
void modifyDbProxyInstanceSslAsync(const Model::ModifyDbProxyInstanceSslRequest& request, const ModifyDbProxyInstanceSslAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDbProxyInstanceSslOutcomeCallable modifyDbProxyInstanceSslCallable(const Model::ModifyDbProxyInstanceSslRequest& request) const;
|
||||
ModifyHADiagnoseConfigOutcome modifyHADiagnoseConfig(const Model::ModifyHADiagnoseConfigRequest &request)const;
|
||||
void modifyHADiagnoseConfigAsync(const Model::ModifyHADiagnoseConfigRequest& request, const ModifyHADiagnoseConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyHADiagnoseConfigOutcomeCallable modifyHADiagnoseConfigCallable(const Model::ModifyHADiagnoseConfigRequest& request) const;
|
||||
ModifyHASwitchConfigOutcome modifyHASwitchConfig(const Model::ModifyHASwitchConfigRequest &request)const;
|
||||
void modifyHASwitchConfigAsync(const Model::ModifyHASwitchConfigRequest& request, const ModifyHASwitchConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyHASwitchConfigOutcomeCallable modifyHASwitchConfigCallable(const Model::ModifyHASwitchConfigRequest& request) const;
|
||||
@@ -1595,12 +1577,6 @@ namespace AlibabaCloud
|
||||
UpgradeDBInstanceKernelVersionOutcome upgradeDBInstanceKernelVersion(const Model::UpgradeDBInstanceKernelVersionRequest &request)const;
|
||||
void upgradeDBInstanceKernelVersionAsync(const Model::UpgradeDBInstanceKernelVersionRequest& request, const UpgradeDBInstanceKernelVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeDBInstanceKernelVersionOutcomeCallable upgradeDBInstanceKernelVersionCallable(const Model::UpgradeDBInstanceKernelVersionRequest& request) const;
|
||||
UpgradeDBInstanceMajorVersionOutcome upgradeDBInstanceMajorVersion(const Model::UpgradeDBInstanceMajorVersionRequest &request)const;
|
||||
void upgradeDBInstanceMajorVersionAsync(const Model::UpgradeDBInstanceMajorVersionRequest& request, const UpgradeDBInstanceMajorVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeDBInstanceMajorVersionOutcomeCallable upgradeDBInstanceMajorVersionCallable(const Model::UpgradeDBInstanceMajorVersionRequest& request) const;
|
||||
UpgradeDBInstanceMajorVersionPrecheckOutcome upgradeDBInstanceMajorVersionPrecheck(const Model::UpgradeDBInstanceMajorVersionPrecheckRequest &request)const;
|
||||
void upgradeDBInstanceMajorVersionPrecheckAsync(const Model::UpgradeDBInstanceMajorVersionPrecheckRequest& request, const UpgradeDBInstanceMajorVersionPrecheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeDBInstanceMajorVersionPrecheckOutcomeCallable upgradeDBInstanceMajorVersionPrecheckCallable(const Model::UpgradeDBInstanceMajorVersionPrecheckRequest& request) const;
|
||||
UpgradeDBProxyInstanceKernelVersionOutcome upgradeDBProxyInstanceKernelVersion(const Model::UpgradeDBProxyInstanceKernelVersionRequest &request)const;
|
||||
void upgradeDBProxyInstanceKernelVersionAsync(const Model::UpgradeDBProxyInstanceKernelVersionRequest& request, const UpgradeDBProxyInstanceKernelVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeDBProxyInstanceKernelVersionOutcomeCallable upgradeDBProxyInstanceKernelVersionCallable(const Model::UpgradeDBProxyInstanceKernelVersionRequest& request) const;
|
||||
|
||||
@@ -37,10 +37,14 @@ namespace AlibabaCloud
|
||||
AllocateInstancePublicConnectionResult();
|
||||
explicit AllocateInstancePublicConnectionResult(const std::string &payload);
|
||||
~AllocateInstancePublicConnectionResult();
|
||||
std::string getConnectionString()const;
|
||||
std::string getDbInstanceName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string connectionString_;
|
||||
std::string dbInstanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -53,6 +53,8 @@ namespace AlibabaCloud
|
||||
DescribeAccountsResult();
|
||||
explicit DescribeAccountsResult(const std::string &payload);
|
||||
~DescribeAccountsResult();
|
||||
int getTotalRecordCount()const;
|
||||
int getPageNumber()const;
|
||||
std::string getSystemAdminAccountStatus()const;
|
||||
std::vector<DBInstanceAccount> getAccounts()const;
|
||||
std::string getSystemAdminAccountFirstActivationTime()const;
|
||||
@@ -60,6 +62,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalRecordCount_;
|
||||
int pageNumber_;
|
||||
std::string systemAdminAccountStatus_;
|
||||
std::vector<DBInstanceAccount> accounts_;
|
||||
std::string systemAdminAccountFirstActivationTime_;
|
||||
|
||||
@@ -48,54 +48,58 @@ namespace AlibabaCloud
|
||||
explicit DescribeBackupPolicyResult(const std::string &payload);
|
||||
~DescribeBackupPolicyResult();
|
||||
std::string getCategory()const;
|
||||
std::string getDuplication()const;
|
||||
std::string getArchiveBackupRetentionPeriod()const;
|
||||
std::string getArchiveBackupKeepPolicy()const;
|
||||
std::string getReleasedKeepPolicy()const;
|
||||
std::string getPreferredBackupTime()const;
|
||||
int getLocalLogRetentionHours()const;
|
||||
DuplicationLocation getDuplicationLocation()const;
|
||||
std::string getPreferredNextBackupTime()const;
|
||||
std::string getHighSpaceUsageProtection()const;
|
||||
std::string getCompressType()const;
|
||||
std::string getLogBackupFrequency()const;
|
||||
std::string getPreferredBackupPeriod()const;
|
||||
std::string getArchiveBackupKeepCount()const;
|
||||
int getLogBackupRetentionPeriod()const;
|
||||
int getLogBackupLocalRetentionNumber()const;
|
||||
int getSupportReleasedKeep()const;
|
||||
int getSupportVolumeShadowCopy()const;
|
||||
std::string getDuplicationContent()const;
|
||||
std::string getBackupMethod()const;
|
||||
std::string getDuplication()const;
|
||||
std::string getArchiveBackupKeepPolicy()const;
|
||||
std::string getPreferredBackupTime()const;
|
||||
int getLocalLogRetentionHours()const;
|
||||
std::string getHighSpaceUsageProtection()const;
|
||||
std::string getCompressType()const;
|
||||
std::string getLogBackupFrequency()const;
|
||||
std::string getBackupLog()const;
|
||||
std::string getEnableBackupLog()const;
|
||||
std::string getLocalLogRetentionSpace()const;
|
||||
int getSupportReleasedKeep()const;
|
||||
int getBackupRetentionPeriod()const;
|
||||
std::string getDuplicationContent()const;
|
||||
std::string getBackupInterval()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string category_;
|
||||
std::string duplication_;
|
||||
std::string archiveBackupRetentionPeriod_;
|
||||
std::string archiveBackupKeepPolicy_;
|
||||
std::string releasedKeepPolicy_;
|
||||
std::string preferredBackupTime_;
|
||||
int localLogRetentionHours_;
|
||||
DuplicationLocation duplicationLocation_;
|
||||
std::string preferredNextBackupTime_;
|
||||
std::string highSpaceUsageProtection_;
|
||||
std::string compressType_;
|
||||
std::string logBackupFrequency_;
|
||||
std::string preferredBackupPeriod_;
|
||||
std::string archiveBackupKeepCount_;
|
||||
int logBackupRetentionPeriod_;
|
||||
int logBackupLocalRetentionNumber_;
|
||||
int supportReleasedKeep_;
|
||||
int supportVolumeShadowCopy_;
|
||||
std::string duplicationContent_;
|
||||
std::string backupMethod_;
|
||||
std::string duplication_;
|
||||
std::string archiveBackupKeepPolicy_;
|
||||
std::string preferredBackupTime_;
|
||||
int localLogRetentionHours_;
|
||||
std::string highSpaceUsageProtection_;
|
||||
std::string compressType_;
|
||||
std::string logBackupFrequency_;
|
||||
std::string backupLog_;
|
||||
std::string enableBackupLog_;
|
||||
std::string localLogRetentionSpace_;
|
||||
int supportReleasedKeep_;
|
||||
int backupRetentionPeriod_;
|
||||
std::string duplicationContent_;
|
||||
std::string backupInterval_;
|
||||
|
||||
};
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESQLREPORTSREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLREPORTSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEHADIAGNOSECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEHADIAGNOSECONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,48 +28,36 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeSQLReportsRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeHADiagnoseConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSQLReportsRequest();
|
||||
~DescribeSQLReportsRequest();
|
||||
DescribeHADiagnoseConfigRequest();
|
||||
~DescribeHADiagnoseConfigRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string startTime_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLREPORTSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEHADIAGNOSECONFIGREQUEST_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_RDS_MODEL_DESCRIBEHADIAGNOSECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEHADIAGNOSECONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeHADiagnoseConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeHADiagnoseConfigResult();
|
||||
explicit DescribeHADiagnoseConfigResult(const std::string &payload);
|
||||
~DescribeHADiagnoseConfigResult();
|
||||
std::string getTcpConnectionType()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string tcpConnectionType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEHADIAGNOSECONFIGRESULT_H_
|
||||
@@ -1,74 +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_RDS_MODEL_DESCRIBESQLREPORTSRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLREPORTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeSQLReportsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Item
|
||||
{
|
||||
struct LatencyTopNItem
|
||||
{
|
||||
long avgLatency;
|
||||
long sQLExecuteTimes;
|
||||
std::string sQLText;
|
||||
};
|
||||
struct QPSTopNItem
|
||||
{
|
||||
long sQLExecuteTimes;
|
||||
std::string sQLText;
|
||||
};
|
||||
std::vector<Item::QPSTopNItem> qPSTopNItems;
|
||||
std::string reportTime;
|
||||
std::vector<Item::LatencyTopNItem> latencyTopNItems;
|
||||
};
|
||||
|
||||
|
||||
DescribeSQLReportsResult();
|
||||
explicit DescribeSQLReportsResult(const std::string &payload);
|
||||
~DescribeSQLReportsResult();
|
||||
int getTotalRecordCount()const;
|
||||
int getPageRecordCount()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Item> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalRecordCount_;
|
||||
int pageRecordCount_;
|
||||
int pageNumber_;
|
||||
std::vector<Item> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLREPORTSRESULT_H_
|
||||
@@ -1,75 +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_RDS_MODEL_DESCRIBEUPGRADEMAJORVERSIONPRECHECKTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEUPGRADEMAJORVERSIONPRECHECKTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeUpgradeMajorVersionPrecheckTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeUpgradeMajorVersionPrecheckTaskRequest();
|
||||
~DescribeUpgradeMajorVersionPrecheckTaskRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
int getTaskId()const;
|
||||
void setTaskId(int taskId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTargetMajorVersion()const;
|
||||
void setTargetMajorVersion(const std::string& targetMajorVersion);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
int taskId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string targetMajorVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEUPGRADEMAJORVERSIONPRECHECKTASKREQUEST_H_
|
||||
@@ -1,67 +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_RDS_MODEL_DESCRIBEUPGRADEMAJORVERSIONPRECHECKTASKRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEUPGRADEMAJORVERSIONPRECHECKTASKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeUpgradeMajorVersionPrecheckTaskResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tasks
|
||||
{
|
||||
std::string checkTime;
|
||||
std::string sourceMajorVersion;
|
||||
int taskId;
|
||||
std::string effectiveTime;
|
||||
std::string targetMajorVersion;
|
||||
std::string detail;
|
||||
std::string result;
|
||||
};
|
||||
|
||||
|
||||
DescribeUpgradeMajorVersionPrecheckTaskResult();
|
||||
explicit DescribeUpgradeMajorVersionPrecheckTaskResult(const std::string &payload);
|
||||
~DescribeUpgradeMajorVersionPrecheckTaskResult();
|
||||
int getTotalRecordCount()const;
|
||||
int getPageRecordCount()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Tasks> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalRecordCount_;
|
||||
int pageRecordCount_;
|
||||
int pageNumber_;
|
||||
std::vector<Tasks> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEUPGRADEMAJORVERSIONPRECHECKTASKRESULT_H_
|
||||
@@ -1,75 +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_RDS_MODEL_DESCRIBEUPGRADEMAJORVERSIONTASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEUPGRADEMAJORVERSIONTASKSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeUpgradeMajorVersionTasksRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeUpgradeMajorVersionTasksRequest();
|
||||
~DescribeUpgradeMajorVersionTasksRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
int getTaskId()const;
|
||||
void setTaskId(int taskId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTargetMajorVersion()const;
|
||||
void setTargetMajorVersion(const std::string& targetMajorVersion);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
int taskId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string targetMajorVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEUPGRADEMAJORVERSIONTASKSREQUEST_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_RDS_MODEL_DESCRIBEUPGRADEMAJORVERSIONTASKSRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEUPGRADEMAJORVERSIONTASKSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeUpgradeMajorVersionTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tasks
|
||||
{
|
||||
int sourceInsName;
|
||||
std::string sourceMajorVersion;
|
||||
int taskId;
|
||||
std::string collectStatMode;
|
||||
std::string endTime;
|
||||
std::string targetMajorVersion;
|
||||
int targetInsName;
|
||||
std::string startTime;
|
||||
std::string upgradeMode;
|
||||
std::string detail;
|
||||
std::string switchTime;
|
||||
std::string result;
|
||||
};
|
||||
|
||||
|
||||
DescribeUpgradeMajorVersionTasksResult();
|
||||
explicit DescribeUpgradeMajorVersionTasksResult(const std::string &payload);
|
||||
~DescribeUpgradeMajorVersionTasksResult();
|
||||
int getTotalRecordCount()const;
|
||||
int getPageRecordCount()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Tasks> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalRecordCount_;
|
||||
int pageRecordCount_;
|
||||
int pageNumber_;
|
||||
std::vector<Tasks> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEUPGRADEMAJORVERSIONTASKSRESULT_H_
|
||||
@@ -41,8 +41,8 @@ namespace AlibabaCloud
|
||||
void setLocalLogRetentionHours(const std::string& localLogRetentionHours);
|
||||
std::string getLogBackupFrequency()const;
|
||||
void setLogBackupFrequency(const std::string& logBackupFrequency);
|
||||
std::string getArchiveBackupKeepCount()const;
|
||||
void setArchiveBackupKeepCount(const std::string& archiveBackupKeepCount);
|
||||
int getArchiveBackupKeepCount()const;
|
||||
void setArchiveBackupKeepCount(int archiveBackupKeepCount);
|
||||
std::string getBackupLog()const;
|
||||
void setBackupLog(const std::string& backupLog);
|
||||
std::string getAccessKeyId()const;
|
||||
@@ -83,6 +83,8 @@ namespace AlibabaCloud
|
||||
void setPreferredBackupTime(const std::string& preferredBackupTime);
|
||||
std::string getBackupRetentionPeriod()const;
|
||||
void setBackupRetentionPeriod(const std::string& backupRetentionPeriod);
|
||||
std::string getBackupMethod()const;
|
||||
void setBackupMethod(const std::string& backupMethod);
|
||||
std::string getDuplicationLocation()const;
|
||||
void setDuplicationLocation(const std::string& duplicationLocation);
|
||||
std::string getArchiveBackupRetentionPeriod()const;
|
||||
@@ -96,7 +98,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string localLogRetentionHours_;
|
||||
std::string logBackupFrequency_;
|
||||
std::string archiveBackupKeepCount_;
|
||||
int archiveBackupKeepCount_;
|
||||
std::string backupLog_;
|
||||
std::string accessKeyId_;
|
||||
std::string backupInterval_;
|
||||
@@ -117,6 +119,7 @@ namespace AlibabaCloud
|
||||
std::string duplication_;
|
||||
std::string preferredBackupTime_;
|
||||
std::string backupRetentionPeriod_;
|
||||
std::string backupMethod_;
|
||||
std::string duplicationLocation_;
|
||||
std::string archiveBackupRetentionPeriod_;
|
||||
std::string category_;
|
||||
|
||||
@@ -38,11 +38,13 @@ namespace AlibabaCloud
|
||||
explicit ModifyDBInstanceNetworkTypeResult(const std::string &payload);
|
||||
~ModifyDBInstanceNetworkTypeResult();
|
||||
std::string getTaskId()const;
|
||||
std::string getConnectionString()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string taskId_;
|
||||
std::string connectionString_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user