Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
33bddb5fa9 | ||
|
|
fe3d15f458 | ||
|
|
89a8603f07 | ||
|
|
60ce4db95b | ||
|
|
13a982588e | ||
|
|
8326f67554 | ||
|
|
a78d942597 | ||
|
|
f5ff8be154 | ||
|
|
f643b898e1 | ||
|
|
9a93cda144 |
33
CHANGELOG
33
CHANGELOG
@@ -1,3 +1,36 @@
|
||||
2021-03-30 Version: 1.36.658
|
||||
- Add CreateAndStartBackupPlan.
|
||||
- Add DescribeFullBackupSet.
|
||||
- Add DescribeLogicalBackupSet.
|
||||
|
||||
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.
|
||||
|
||||
2021-03-22 Version: 1.36.648
|
||||
- Add OneConsole support.
|
||||
- Add ACK support.
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -21,16 +21,12 @@ set(dbs_public_header
|
||||
include/alibabacloud/dbs/DbsExport.h )
|
||||
|
||||
set(dbs_public_header_model
|
||||
include/alibabacloud/dbs/model/CloseDLAServiceRequest.h
|
||||
include/alibabacloud/dbs/model/CloseDLAServiceResult.h
|
||||
include/alibabacloud/dbs/model/ConfigureBackupPlanRequest.h
|
||||
include/alibabacloud/dbs/model/ConfigureBackupPlanResult.h
|
||||
include/alibabacloud/dbs/model/CreateAndStartBackupPlanRequest.h
|
||||
include/alibabacloud/dbs/model/CreateAndStartBackupPlanResult.h
|
||||
include/alibabacloud/dbs/model/CreateBackupPlanRequest.h
|
||||
include/alibabacloud/dbs/model/CreateBackupPlanResult.h
|
||||
include/alibabacloud/dbs/model/CreateDLAServiceRequest.h
|
||||
include/alibabacloud/dbs/model/CreateDLAServiceResult.h
|
||||
include/alibabacloud/dbs/model/CreateFullBackupSetDownloadRequest.h
|
||||
include/alibabacloud/dbs/model/CreateFullBackupSetDownloadResult.h
|
||||
include/alibabacloud/dbs/model/CreateGetDBListFromAgentTaskRequest.h
|
||||
@@ -51,10 +47,14 @@ set(dbs_public_header_model
|
||||
include/alibabacloud/dbs/model/DescribeDLAServiceResult.h
|
||||
include/alibabacloud/dbs/model/DescribeFullBackupListRequest.h
|
||||
include/alibabacloud/dbs/model/DescribeFullBackupListResult.h
|
||||
include/alibabacloud/dbs/model/DescribeFullBackupSetRequest.h
|
||||
include/alibabacloud/dbs/model/DescribeFullBackupSetResult.h
|
||||
include/alibabacloud/dbs/model/DescribeIncrementBackupListRequest.h
|
||||
include/alibabacloud/dbs/model/DescribeIncrementBackupListResult.h
|
||||
include/alibabacloud/dbs/model/DescribeJobErrorCodeRequest.h
|
||||
include/alibabacloud/dbs/model/DescribeJobErrorCodeResult.h
|
||||
include/alibabacloud/dbs/model/DescribeLogicalBackupSetRequest.h
|
||||
include/alibabacloud/dbs/model/DescribeLogicalBackupSetResult.h
|
||||
include/alibabacloud/dbs/model/DescribeNodeCidrListRequest.h
|
||||
include/alibabacloud/dbs/model/DescribeNodeCidrListResult.h
|
||||
include/alibabacloud/dbs/model/DescribePreCheckProgressListRequest.h
|
||||
@@ -100,16 +100,12 @@ set(dbs_public_header_model
|
||||
|
||||
set(dbs_src
|
||||
src/DbsClient.cc
|
||||
src/model/CloseDLAServiceRequest.cc
|
||||
src/model/CloseDLAServiceResult.cc
|
||||
src/model/ConfigureBackupPlanRequest.cc
|
||||
src/model/ConfigureBackupPlanResult.cc
|
||||
src/model/CreateAndStartBackupPlanRequest.cc
|
||||
src/model/CreateAndStartBackupPlanResult.cc
|
||||
src/model/CreateBackupPlanRequest.cc
|
||||
src/model/CreateBackupPlanResult.cc
|
||||
src/model/CreateDLAServiceRequest.cc
|
||||
src/model/CreateDLAServiceResult.cc
|
||||
src/model/CreateFullBackupSetDownloadRequest.cc
|
||||
src/model/CreateFullBackupSetDownloadResult.cc
|
||||
src/model/CreateGetDBListFromAgentTaskRequest.cc
|
||||
@@ -130,10 +126,14 @@ set(dbs_src
|
||||
src/model/DescribeDLAServiceResult.cc
|
||||
src/model/DescribeFullBackupListRequest.cc
|
||||
src/model/DescribeFullBackupListResult.cc
|
||||
src/model/DescribeFullBackupSetRequest.cc
|
||||
src/model/DescribeFullBackupSetResult.cc
|
||||
src/model/DescribeIncrementBackupListRequest.cc
|
||||
src/model/DescribeIncrementBackupListResult.cc
|
||||
src/model/DescribeJobErrorCodeRequest.cc
|
||||
src/model/DescribeJobErrorCodeResult.cc
|
||||
src/model/DescribeLogicalBackupSetRequest.cc
|
||||
src/model/DescribeLogicalBackupSetResult.cc
|
||||
src/model/DescribeNodeCidrListRequest.cc
|
||||
src/model/DescribeNodeCidrListResult.cc
|
||||
src/model/DescribePreCheckProgressListRequest.cc
|
||||
|
||||
@@ -22,16 +22,12 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "DbsExport.h"
|
||||
#include "model/CloseDLAServiceRequest.h"
|
||||
#include "model/CloseDLAServiceResult.h"
|
||||
#include "model/ConfigureBackupPlanRequest.h"
|
||||
#include "model/ConfigureBackupPlanResult.h"
|
||||
#include "model/CreateAndStartBackupPlanRequest.h"
|
||||
#include "model/CreateAndStartBackupPlanResult.h"
|
||||
#include "model/CreateBackupPlanRequest.h"
|
||||
#include "model/CreateBackupPlanResult.h"
|
||||
#include "model/CreateDLAServiceRequest.h"
|
||||
#include "model/CreateDLAServiceResult.h"
|
||||
#include "model/CreateFullBackupSetDownloadRequest.h"
|
||||
#include "model/CreateFullBackupSetDownloadResult.h"
|
||||
#include "model/CreateGetDBListFromAgentTaskRequest.h"
|
||||
@@ -52,10 +48,14 @@
|
||||
#include "model/DescribeDLAServiceResult.h"
|
||||
#include "model/DescribeFullBackupListRequest.h"
|
||||
#include "model/DescribeFullBackupListResult.h"
|
||||
#include "model/DescribeFullBackupSetRequest.h"
|
||||
#include "model/DescribeFullBackupSetResult.h"
|
||||
#include "model/DescribeIncrementBackupListRequest.h"
|
||||
#include "model/DescribeIncrementBackupListResult.h"
|
||||
#include "model/DescribeJobErrorCodeRequest.h"
|
||||
#include "model/DescribeJobErrorCodeResult.h"
|
||||
#include "model/DescribeLogicalBackupSetRequest.h"
|
||||
#include "model/DescribeLogicalBackupSetResult.h"
|
||||
#include "model/DescribeNodeCidrListRequest.h"
|
||||
#include "model/DescribeNodeCidrListResult.h"
|
||||
#include "model/DescribePreCheckProgressListRequest.h"
|
||||
@@ -107,9 +107,6 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_DBS_EXPORT DbsClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CloseDLAServiceResult> CloseDLAServiceOutcome;
|
||||
typedef std::future<CloseDLAServiceOutcome> CloseDLAServiceOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::CloseDLAServiceRequest&, const CloseDLAServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseDLAServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfigureBackupPlanResult> ConfigureBackupPlanOutcome;
|
||||
typedef std::future<ConfigureBackupPlanOutcome> ConfigureBackupPlanOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::ConfigureBackupPlanRequest&, const ConfigureBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureBackupPlanAsyncHandler;
|
||||
@@ -119,9 +116,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateBackupPlanResult> CreateBackupPlanOutcome;
|
||||
typedef std::future<CreateBackupPlanOutcome> CreateBackupPlanOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::CreateBackupPlanRequest&, const CreateBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBackupPlanAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDLAServiceResult> CreateDLAServiceOutcome;
|
||||
typedef std::future<CreateDLAServiceOutcome> CreateDLAServiceOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::CreateDLAServiceRequest&, const CreateDLAServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDLAServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateFullBackupSetDownloadResult> CreateFullBackupSetDownloadOutcome;
|
||||
typedef std::future<CreateFullBackupSetDownloadOutcome> CreateFullBackupSetDownloadOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::CreateFullBackupSetDownloadRequest&, const CreateFullBackupSetDownloadOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFullBackupSetDownloadAsyncHandler;
|
||||
@@ -152,12 +146,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeFullBackupListResult> DescribeFullBackupListOutcome;
|
||||
typedef std::future<DescribeFullBackupListOutcome> DescribeFullBackupListOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DescribeFullBackupListRequest&, const DescribeFullBackupListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFullBackupListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeFullBackupSetResult> DescribeFullBackupSetOutcome;
|
||||
typedef std::future<DescribeFullBackupSetOutcome> DescribeFullBackupSetOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DescribeFullBackupSetRequest&, const DescribeFullBackupSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFullBackupSetAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeIncrementBackupListResult> DescribeIncrementBackupListOutcome;
|
||||
typedef std::future<DescribeIncrementBackupListOutcome> DescribeIncrementBackupListOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DescribeIncrementBackupListRequest&, const DescribeIncrementBackupListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIncrementBackupListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeJobErrorCodeResult> DescribeJobErrorCodeOutcome;
|
||||
typedef std::future<DescribeJobErrorCodeOutcome> DescribeJobErrorCodeOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DescribeJobErrorCodeRequest&, const DescribeJobErrorCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeJobErrorCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLogicalBackupSetResult> DescribeLogicalBackupSetOutcome;
|
||||
typedef std::future<DescribeLogicalBackupSetOutcome> DescribeLogicalBackupSetOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DescribeLogicalBackupSetRequest&, const DescribeLogicalBackupSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogicalBackupSetAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeNodeCidrListResult> DescribeNodeCidrListOutcome;
|
||||
typedef std::future<DescribeNodeCidrListOutcome> DescribeNodeCidrListOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DescribeNodeCidrListRequest&, const DescribeNodeCidrListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNodeCidrListAsyncHandler;
|
||||
@@ -226,9 +226,6 @@ namespace AlibabaCloud
|
||||
DbsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
DbsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~DbsClient();
|
||||
CloseDLAServiceOutcome closeDLAService(const Model::CloseDLAServiceRequest &request)const;
|
||||
void closeDLAServiceAsync(const Model::CloseDLAServiceRequest& request, const CloseDLAServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CloseDLAServiceOutcomeCallable closeDLAServiceCallable(const Model::CloseDLAServiceRequest& request) const;
|
||||
ConfigureBackupPlanOutcome configureBackupPlan(const Model::ConfigureBackupPlanRequest &request)const;
|
||||
void configureBackupPlanAsync(const Model::ConfigureBackupPlanRequest& request, const ConfigureBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureBackupPlanOutcomeCallable configureBackupPlanCallable(const Model::ConfigureBackupPlanRequest& request) const;
|
||||
@@ -238,9 +235,6 @@ namespace AlibabaCloud
|
||||
CreateBackupPlanOutcome createBackupPlan(const Model::CreateBackupPlanRequest &request)const;
|
||||
void createBackupPlanAsync(const Model::CreateBackupPlanRequest& request, const CreateBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateBackupPlanOutcomeCallable createBackupPlanCallable(const Model::CreateBackupPlanRequest& request) const;
|
||||
CreateDLAServiceOutcome createDLAService(const Model::CreateDLAServiceRequest &request)const;
|
||||
void createDLAServiceAsync(const Model::CreateDLAServiceRequest& request, const CreateDLAServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDLAServiceOutcomeCallable createDLAServiceCallable(const Model::CreateDLAServiceRequest& request) const;
|
||||
CreateFullBackupSetDownloadOutcome createFullBackupSetDownload(const Model::CreateFullBackupSetDownloadRequest &request)const;
|
||||
void createFullBackupSetDownloadAsync(const Model::CreateFullBackupSetDownloadRequest& request, const CreateFullBackupSetDownloadAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateFullBackupSetDownloadOutcomeCallable createFullBackupSetDownloadCallable(const Model::CreateFullBackupSetDownloadRequest& request) const;
|
||||
@@ -271,12 +265,18 @@ namespace AlibabaCloud
|
||||
DescribeFullBackupListOutcome describeFullBackupList(const Model::DescribeFullBackupListRequest &request)const;
|
||||
void describeFullBackupListAsync(const Model::DescribeFullBackupListRequest& request, const DescribeFullBackupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeFullBackupListOutcomeCallable describeFullBackupListCallable(const Model::DescribeFullBackupListRequest& request) const;
|
||||
DescribeFullBackupSetOutcome describeFullBackupSet(const Model::DescribeFullBackupSetRequest &request)const;
|
||||
void describeFullBackupSetAsync(const Model::DescribeFullBackupSetRequest& request, const DescribeFullBackupSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeFullBackupSetOutcomeCallable describeFullBackupSetCallable(const Model::DescribeFullBackupSetRequest& request) const;
|
||||
DescribeIncrementBackupListOutcome describeIncrementBackupList(const Model::DescribeIncrementBackupListRequest &request)const;
|
||||
void describeIncrementBackupListAsync(const Model::DescribeIncrementBackupListRequest& request, const DescribeIncrementBackupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeIncrementBackupListOutcomeCallable describeIncrementBackupListCallable(const Model::DescribeIncrementBackupListRequest& request) const;
|
||||
DescribeJobErrorCodeOutcome describeJobErrorCode(const Model::DescribeJobErrorCodeRequest &request)const;
|
||||
void describeJobErrorCodeAsync(const Model::DescribeJobErrorCodeRequest& request, const DescribeJobErrorCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeJobErrorCodeOutcomeCallable describeJobErrorCodeCallable(const Model::DescribeJobErrorCodeRequest& request) const;
|
||||
DescribeLogicalBackupSetOutcome describeLogicalBackupSet(const Model::DescribeLogicalBackupSetRequest &request)const;
|
||||
void describeLogicalBackupSetAsync(const Model::DescribeLogicalBackupSetRequest& request, const DescribeLogicalBackupSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLogicalBackupSetOutcomeCallable describeLogicalBackupSetCallable(const Model::DescribeLogicalBackupSetRequest& request) const;
|
||||
DescribeNodeCidrListOutcome describeNodeCidrList(const Model::DescribeNodeCidrListRequest &request)const;
|
||||
void describeNodeCidrListAsync(const Model::DescribeNodeCidrListRequest& request, const DescribeNodeCidrListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeNodeCidrListOutcomeCallable describeNodeCidrListCallable(const Model::DescribeNodeCidrListRequest& request) const;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_CLOSEDLASERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CLOSEDLASERVICEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,27 +28,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT CloseDLAServiceRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeFullBackupSetRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CloseDLAServiceRequest();
|
||||
~CloseDLAServiceRequest();
|
||||
DescribeFullBackupSetRequest();
|
||||
~DescribeFullBackupSetRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getBackupsetId()const;
|
||||
void setBackupsetId(const std::string& backupsetId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string backupsetId_;
|
||||
std::string ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CLOSEDLASERVICEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETREQUEST_H_
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* 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_DBS_MODEL_DESCRIBEFULLBACKUPSETRESULT_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeFullBackupSetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeFullBackupSetResult();
|
||||
explicit DescribeFullBackupSetResult(const std::string &payload);
|
||||
~DescribeFullBackupSetResult();
|
||||
std::string getStorageMethod()const;
|
||||
std::string getBackupObjects()const;
|
||||
long getEndTime()const;
|
||||
long getBackupSize()const;
|
||||
long getCreateTime()const;
|
||||
long getStartTime()const;
|
||||
long getBackupSetExpiredTime()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getBackupSetId()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrMessage1()const;
|
||||
std::string getErrCode()const;
|
||||
std::string getSourceEndpointIpPort()const;
|
||||
long getFinishTime()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getBackupStatus()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string storageMethod_;
|
||||
std::string backupObjects_;
|
||||
long endTime_;
|
||||
long backupSize_;
|
||||
long createTime_;
|
||||
long startTime_;
|
||||
long backupSetExpiredTime_;
|
||||
std::string errMessage_;
|
||||
std::string backupSetId_;
|
||||
bool success_;
|
||||
std::string errMessage1_;
|
||||
std::string errCode_;
|
||||
std::string sourceEndpointIpPort_;
|
||||
long finishTime_;
|
||||
int httpStatusCode_;
|
||||
std::string backupStatus_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_CREATEDLASERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATEDLASERVICEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,33 +28,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateDLAServiceRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeLogicalBackupSetRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDLAServiceRequest();
|
||||
~CreateDLAServiceRequest();
|
||||
DescribeLogicalBackupSetRequest();
|
||||
~DescribeLogicalBackupSetRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
bool getAutoAdd()const;
|
||||
void setAutoAdd(bool autoAdd);
|
||||
std::string getBackupSetIds()const;
|
||||
void setBackupSetIds(const std::string& backupSetIds);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getBackupsetId()const;
|
||||
void setBackupsetId(const std::string& backupsetId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
bool autoAdd_;
|
||||
std::string backupSetIds_;
|
||||
std::string backupPlanId_;
|
||||
std::string backupsetId_;
|
||||
std::string ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEDLASERVICEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_CREATEDLASERVICERESULT_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATEDLASERVICERESULT_H_
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETRESULT_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,24 +29,28 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateDLAServiceResult : public ServiceResult
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeLogicalBackupSetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDLAServiceResult();
|
||||
explicit CreateDLAServiceResult(const std::string &payload);
|
||||
~CreateDLAServiceResult();
|
||||
DescribeLogicalBackupSetResult();
|
||||
explicit DescribeLogicalBackupSetResult(const std::string &payload);
|
||||
~DescribeLogicalBackupSetResult();
|
||||
std::string getStatus()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getErrMessage()const;
|
||||
long getRowNum()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
int httpStatusCode_;
|
||||
std::string errMessage_;
|
||||
long rowNum_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
@@ -54,4 +58,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEDLASERVICERESULT_H_
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETRESULT_H_
|
||||
@@ -51,42 +51,6 @@ DbsClient::DbsClient(const std::string & accessKeyId, const std::string & access
|
||||
DbsClient::~DbsClient()
|
||||
{}
|
||||
|
||||
DbsClient::CloseDLAServiceOutcome DbsClient::closeDLAService(const CloseDLAServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CloseDLAServiceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CloseDLAServiceOutcome(CloseDLAServiceResult(outcome.result()));
|
||||
else
|
||||
return CloseDLAServiceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DbsClient::closeDLAServiceAsync(const CloseDLAServiceRequest& request, const CloseDLAServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, closeDLAService(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DbsClient::CloseDLAServiceOutcomeCallable DbsClient::closeDLAServiceCallable(const CloseDLAServiceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CloseDLAServiceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->closeDLAService(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::ConfigureBackupPlanOutcome DbsClient::configureBackupPlan(const ConfigureBackupPlanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -195,42 +159,6 @@ DbsClient::CreateBackupPlanOutcomeCallable DbsClient::createBackupPlanCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::CreateDLAServiceOutcome DbsClient::createDLAService(const CreateDLAServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateDLAServiceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateDLAServiceOutcome(CreateDLAServiceResult(outcome.result()));
|
||||
else
|
||||
return CreateDLAServiceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DbsClient::createDLAServiceAsync(const CreateDLAServiceRequest& request, const CreateDLAServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createDLAService(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DbsClient::CreateDLAServiceOutcomeCallable DbsClient::createDLAServiceCallable(const CreateDLAServiceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateDLAServiceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createDLAService(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::CreateFullBackupSetDownloadOutcome DbsClient::createFullBackupSetDownload(const CreateFullBackupSetDownloadRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -591,6 +519,42 @@ DbsClient::DescribeFullBackupListOutcomeCallable DbsClient::describeFullBackupLi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::DescribeFullBackupSetOutcome DbsClient::describeFullBackupSet(const DescribeFullBackupSetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeFullBackupSetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeFullBackupSetOutcome(DescribeFullBackupSetResult(outcome.result()));
|
||||
else
|
||||
return DescribeFullBackupSetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DbsClient::describeFullBackupSetAsync(const DescribeFullBackupSetRequest& request, const DescribeFullBackupSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeFullBackupSet(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DbsClient::DescribeFullBackupSetOutcomeCallable DbsClient::describeFullBackupSetCallable(const DescribeFullBackupSetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeFullBackupSetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeFullBackupSet(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::DescribeIncrementBackupListOutcome DbsClient::describeIncrementBackupList(const DescribeIncrementBackupListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -663,6 +627,42 @@ DbsClient::DescribeJobErrorCodeOutcomeCallable DbsClient::describeJobErrorCodeCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::DescribeLogicalBackupSetOutcome DbsClient::describeLogicalBackupSet(const DescribeLogicalBackupSetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLogicalBackupSetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLogicalBackupSetOutcome(DescribeLogicalBackupSetResult(outcome.result()));
|
||||
else
|
||||
return DescribeLogicalBackupSetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DbsClient::describeLogicalBackupSetAsync(const DescribeLogicalBackupSetRequest& request, const DescribeLogicalBackupSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLogicalBackupSet(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DbsClient::DescribeLogicalBackupSetOutcomeCallable DbsClient::describeLogicalBackupSetCallable(const DescribeLogicalBackupSetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLogicalBackupSetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLogicalBackupSet(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::DescribeNodeCidrListOutcome DbsClient::describeNodeCidrList(const DescribeNodeCidrListRequest &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/dbs/model/CloseDLAServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CloseDLAServiceRequest;
|
||||
|
||||
CloseDLAServiceRequest::CloseDLAServiceRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "CloseDLAService")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CloseDLAServiceRequest::~CloseDLAServiceRequest()
|
||||
{}
|
||||
|
||||
std::string CloseDLAServiceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CloseDLAServiceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CloseDLAServiceRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void CloseDLAServiceRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string CloseDLAServiceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CloseDLAServiceRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
@@ -1,84 +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/dbs/model/CreateDLAServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CreateDLAServiceRequest;
|
||||
|
||||
CreateDLAServiceRequest::CreateDLAServiceRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "CreateDLAService")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDLAServiceRequest::~CreateDLAServiceRequest()
|
||||
{}
|
||||
|
||||
std::string CreateDLAServiceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateDLAServiceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
bool CreateDLAServiceRequest::getAutoAdd()const
|
||||
{
|
||||
return autoAdd_;
|
||||
}
|
||||
|
||||
void CreateDLAServiceRequest::setAutoAdd(bool autoAdd)
|
||||
{
|
||||
autoAdd_ = autoAdd;
|
||||
setParameter("AutoAdd", autoAdd ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateDLAServiceRequest::getBackupSetIds()const
|
||||
{
|
||||
return backupSetIds_;
|
||||
}
|
||||
|
||||
void CreateDLAServiceRequest::setBackupSetIds(const std::string& backupSetIds)
|
||||
{
|
||||
backupSetIds_ = backupSetIds;
|
||||
setParameter("BackupSetIds", backupSetIds);
|
||||
}
|
||||
|
||||
std::string CreateDLAServiceRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void CreateDLAServiceRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string CreateDLAServiceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateDLAServiceRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CreateDLAServiceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dbs;
|
||||
using namespace AlibabaCloud::Dbs::Model;
|
||||
|
||||
CreateDLAServiceResult::CreateDLAServiceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDLAServiceResult::CreateDLAServiceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDLAServiceResult::~CreateDLAServiceResult()
|
||||
{}
|
||||
|
||||
void CreateDLAServiceResult::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["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
int CreateDLAServiceResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreateDLAServiceResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool CreateDLAServiceResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string CreateDLAServiceResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
73
dbs/src/model/DescribeFullBackupSetRequest.cc
Normal file
73
dbs/src/model/DescribeFullBackupSetRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeFullBackupSetRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeFullBackupSetRequest;
|
||||
|
||||
DescribeFullBackupSetRequest::DescribeFullBackupSetRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeFullBackupSet")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeFullBackupSetRequest::~DescribeFullBackupSetRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeFullBackupSetRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupSetRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupSetRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetRequest::getBackupsetId()const
|
||||
{
|
||||
return backupsetId_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupSetRequest::setBackupsetId(const std::string& backupsetId)
|
||||
{
|
||||
backupsetId_ = backupsetId;
|
||||
setParameter("BackupsetId", backupsetId);
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupSetRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
156
dbs/src/model/DescribeFullBackupSetResult.cc
Normal file
156
dbs/src/model/DescribeFullBackupSetResult.cc
Normal file
@@ -0,0 +1,156 @@
|
||||
/*
|
||||
* 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/dbs/model/DescribeFullBackupSetResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dbs;
|
||||
using namespace AlibabaCloud::Dbs::Model;
|
||||
|
||||
DescribeFullBackupSetResult::DescribeFullBackupSetResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeFullBackupSetResult::DescribeFullBackupSetResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeFullBackupSetResult::~DescribeFullBackupSetResult()
|
||||
{}
|
||||
|
||||
void DescribeFullBackupSetResult::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["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["BackupSetId"].isNull())
|
||||
backupSetId_ = value["BackupSetId"].asString();
|
||||
if(!value["SourceEndpointIpPort"].isNull())
|
||||
sourceEndpointIpPort_ = value["SourceEndpointIpPort"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = std::stol(value["StartTime"].asString());
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = std::stol(value["EndTime"].asString());
|
||||
if(!value["BackupStatus"].isNull())
|
||||
backupStatus_ = value["BackupStatus"].asString();
|
||||
if(!value["BackupSetExpiredTime"].isNull())
|
||||
backupSetExpiredTime_ = std::stol(value["BackupSetExpiredTime"].asString());
|
||||
if(!value["BackupSize"].isNull())
|
||||
backupSize_ = std::stol(value["BackupSize"].asString());
|
||||
if(!value["StorageMethod"].isNull())
|
||||
storageMethod_ = value["StorageMethod"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage1_ = value["ErrMessage"].asString();
|
||||
if(!value["BackupObjects"].isNull())
|
||||
backupObjects_ = value["BackupObjects"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = std::stol(value["CreateTime"].asString());
|
||||
if(!value["FinishTime"].isNull())
|
||||
finishTime_ = std::stol(value["FinishTime"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getStorageMethod()const
|
||||
{
|
||||
return storageMethod_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getBackupObjects()const
|
||||
{
|
||||
return backupObjects_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupSetResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupSetResult::getBackupSize()const
|
||||
{
|
||||
return backupSize_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupSetResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupSetResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupSetResult::getBackupSetExpiredTime()const
|
||||
{
|
||||
return backupSetExpiredTime_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getBackupSetId()const
|
||||
{
|
||||
return backupSetId_;
|
||||
}
|
||||
|
||||
bool DescribeFullBackupSetResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getErrMessage1()const
|
||||
{
|
||||
return errMessage1_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getSourceEndpointIpPort()const
|
||||
{
|
||||
return sourceEndpointIpPort_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupSetResult::getFinishTime()const
|
||||
{
|
||||
return finishTime_;
|
||||
}
|
||||
|
||||
int DescribeFullBackupSetResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getBackupStatus()const
|
||||
{
|
||||
return backupStatus_;
|
||||
}
|
||||
|
||||
73
dbs/src/model/DescribeLogicalBackupSetRequest.cc
Normal file
73
dbs/src/model/DescribeLogicalBackupSetRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeLogicalBackupSetRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeLogicalBackupSetRequest;
|
||||
|
||||
DescribeLogicalBackupSetRequest::DescribeLogicalBackupSetRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeLogicalBackupSet")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLogicalBackupSetRequest::~DescribeLogicalBackupSetRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeLogicalBackupSetRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void DescribeLogicalBackupSetRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DescribeLogicalBackupSetRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void DescribeLogicalBackupSetRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string DescribeLogicalBackupSetRequest::getBackupsetId()const
|
||||
{
|
||||
return backupsetId_;
|
||||
}
|
||||
|
||||
void DescribeLogicalBackupSetRequest::setBackupsetId(const std::string& backupsetId)
|
||||
{
|
||||
backupsetId_ = backupsetId;
|
||||
setParameter("BackupsetId", backupsetId);
|
||||
}
|
||||
|
||||
std::string DescribeLogicalBackupSetRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLogicalBackupSetRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CloseDLAServiceResult.h>
|
||||
#include <alibabacloud/dbs/model/DescribeLogicalBackupSetResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dbs;
|
||||
using namespace AlibabaCloud::Dbs::Model;
|
||||
|
||||
CloseDLAServiceResult::CloseDLAServiceResult() :
|
||||
DescribeLogicalBackupSetResult::DescribeLogicalBackupSetResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CloseDLAServiceResult::CloseDLAServiceResult(const std::string &payload) :
|
||||
DescribeLogicalBackupSetResult::DescribeLogicalBackupSetResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CloseDLAServiceResult::~CloseDLAServiceResult()
|
||||
DescribeLogicalBackupSetResult::~DescribeLogicalBackupSetResult()
|
||||
{}
|
||||
|
||||
void CloseDLAServiceResult::parse(const std::string &payload)
|
||||
void DescribeLogicalBackupSetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -47,25 +47,39 @@ void CloseDLAServiceResult::parse(const std::string &payload)
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["RowNum"].isNull())
|
||||
rowNum_ = std::stol(value["RowNum"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
|
||||
}
|
||||
|
||||
int CloseDLAServiceResult::getHttpStatusCode()const
|
||||
std::string DescribeLogicalBackupSetResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
int DescribeLogicalBackupSetResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CloseDLAServiceResult::getErrMessage()const
|
||||
std::string DescribeLogicalBackupSetResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool CloseDLAServiceResult::getSuccess()const
|
||||
long DescribeLogicalBackupSetResult::getRowNum()const
|
||||
{
|
||||
return rowNum_;
|
||||
}
|
||||
|
||||
bool DescribeLogicalBackupSetResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string CloseDLAServiceResult::getErrCode()const
|
||||
std::string DescribeLogicalBackupSetResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
1
eais/2019-06-24/AttachEai.xml
Normal file
1
eais/2019-06-24/AttachEai.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="eais" visibility="Public" akProvenStatus="Disable" version="2019-06-24" keepClientResourceOwnerId="true" name="AttachEai" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST|GET" /><ErrorMapping exceptionExpress="success=false,code,message,httpStatusCode"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="eaisKey" timeout="10000" protocol="http" httpHost="http://eais.aliyun-inc.com/AttachEai" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="RequestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="RegionId" tagName="RegionId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="ElasticAcceleratedInstanceId" tagName="ElasticAcceleratedInstanceId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="ClientInstanceId" tagName="ClientInstanceId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerBid" tagName="callerBid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyTrustTransportInfo" tagName="proxy_trust_transport_info" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSourceIp" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSecurityTransport" tagName="proxy_original_security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akMfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="Action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="AccessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="SecurityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" apiDefault="10" /><PreIspProtocol timeout="10000" protocol="http" httpHost="http://pre-eais.aliyuncs.com/AttachEai" resultType="Object" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="RequestId"/><Member tagName="ElasticAcceleratedInstanceId" visibility="Public" type="String" name="ElasticAcceleratedInstanceId"/><Member tagName="ClientInstanceId" visibility="Public" type="String" name="ClientInstanceId"/></ResultMapping></Api>
|
||||
1
eais/2019-06-24/CreateEai.xml
Normal file
1
eais/2019-06-24/CreateEai.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="eais" visibility="Public" akProvenStatus="Disable" version="2019-06-24" keepClientResourceOwnerId="true" name="CreateEai" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST|GET" /><ErrorMapping exceptionExpress="success=false,code,message,httpStatusCode"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="eaisKey" timeout="10000" protocol="http" httpHost="http://eais.aliyun-inc.com/CreateEai" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="RequestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="RegionId" tagName="RegionId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="InstanceType" tagName="InstanceType" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerBid" tagName="callerBid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyTrustTransportInfo" tagName="proxy_trust_transport_info" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSourceIp" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSecurityTransport" tagName="proxy_original_security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akMfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="Action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="AccessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="SecurityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akProxy" tagName="akProxy" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="clientToken" tagName="ClientToken" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="InstanceName" tagName="InstanceName" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="SecurityGroupId" tagName="SecurityGroupId" type="String" required="false" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="VSwitchId" tagName="VSwitchId" type="String" required="false" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" apiDefault="10" /><PreIspProtocol timeout="10000" protocol="http" httpHost="http://pre-eais.aliyuncs.com/CreateEai" resultType="Object" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="RequestId"/><Member tagName="ElasticAcceleratedInstanceId" visibility="Public" type="String" name="ElasticAcceleratedInstanceId"/></ResultMapping></Api>
|
||||
1
eais/2019-06-24/CreateEaiAll.xml
Normal file
1
eais/2019-06-24/CreateEaiAll.xml
Normal file
File diff suppressed because one or more lines are too long
1
eais/2019-06-24/DeleteEai.xml
Normal file
1
eais/2019-06-24/DeleteEai.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="eais" visibility="Public" akProvenStatus="Disable" version="2019-06-24" keepClientResourceOwnerId="true" name="DeleteEai" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST|GET" /><ErrorMapping exceptionExpress="success=false,code,message,httpStatusCode"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="eaisKey" timeout="10000" protocol="http" httpHost="http://eais.aliyun-inc.com/DeleteEai" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="RequestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="RegionId" tagName="RegionId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="ElasticAcceleratedInstanceId" tagName="ElasticAcceleratedInstanceId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerBid" tagName="callerBid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyTrustTransportInfo" tagName="proxy_trust_transport_info" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSourceIp" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSecurityTransport" tagName="proxy_original_security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akMfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="Action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="AccessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="SecurityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="Force" tagName="Force" type="Boolean" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" apiDefault="10" /><PreIspProtocol timeout="10000" protocol="http" httpHost="http://pre-eais.aliyuncs.com/DeleteEai" resultType="Object" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="RequestId"/></ResultMapping></Api>
|
||||
1
eais/2019-06-24/DeleteEaiAll.xml
Normal file
1
eais/2019-06-24/DeleteEaiAll.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="eais" visibility="Public" akProvenStatus="Disable" version="2019-06-24" keepClientResourceOwnerId="true" name="DeleteEaiAll" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST|GET" /><ErrorMapping exceptionExpress="success=false,code,message,httpStatusCode"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="eaisKey" timeout="10000" protocol="http" httpHost="http://eais.aliyun-inc.com/DeleteEaiAll" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="RequestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="RegionId" tagName="RegionId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="ElasticAcceleratedInstanceId" tagName="ElasticAcceleratedInstanceId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="ClientInstanceId" tagName="ClientInstanceId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerBid" tagName="callerBid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyTrustTransportInfo" tagName="proxy_trust_transport_info" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSecurityTransport" tagName="proxy_original_security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSourceIp" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akMfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="Action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="AccessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="SecurityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" apiDefault="10" /><PreIspProtocol timeout="10000" protocol="http" httpHost="http://pre-eais.aliyuncs.com/DeleteEaiAll" resultType="Object" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="RequestId"/></ResultMapping></Api>
|
||||
1
eais/2019-06-24/DescribeEais.xml
Normal file
1
eais/2019-06-24/DescribeEais.xml
Normal file
File diff suppressed because one or more lines are too long
1
eais/2019-06-24/DescribeRegions.xml
Normal file
1
eais/2019-06-24/DescribeRegions.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="eais" visibility="Public" akProvenStatus="Disable" version="2019-06-24" keepClientResourceOwnerId="true" name="DescribeRegions" showJsonItemName="true" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST|GET" /><ErrorMapping exceptionExpress="success=false,code,message,httpStatusCode"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="eaisKey" timeout="10000" protocol="http" httpHost="http://eais.aliyun-inc.com/DescribeRegions" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="RequestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerBid" tagName="callerBid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="Action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akMfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSourceIp" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSecurityTransport" tagName="proxy_original_security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyTrustTransportInfo" tagName="proxy_trust_transport_info" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="AccessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="SecurityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" apiDefault="10" /><PreIspProtocol timeout="10000" protocol="http" httpHost="http://pre-eais.aliyuncs.com/DescribeRegions" resultType="Object" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="RequestId"/><Array tagName="Regions" visibility="Public" itemName="Region" name="Regions"><Member tagName="RegionId" visibility="Public" type="String" name="RegionId"/><Member tagName="RegionEndpoint" visibility="Public" type="String" name="RegionEndpoint"/><Member tagName="LocalName" visibility="Public" type="String" name="LocalName"/></Array></ResultMapping></Api>
|
||||
1
eais/2019-06-24/DetachEai.xml
Normal file
1
eais/2019-06-24/DetachEai.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="eais" visibility="Public" akProvenStatus="Disable" version="2019-06-24" keepClientResourceOwnerId="true" name="DetachEai" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST|GET" /><ErrorMapping exceptionExpress="success=false,code,message,httpStatusCode"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="eaisKey" timeout="10000" protocol="http" httpHost="http://eais.aliyun-inc.com/DetachEai" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="RequestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="RegionId" tagName="RegionId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="ElasticAcceleratedInstanceId" tagName="ElasticAcceleratedInstanceId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerBid" tagName="callerBid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyTrustTransportInfo" tagName="proxy_trust_transport_info" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSourceIp" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSecurityTransport" tagName="proxy_original_security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akMfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="Action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="AccessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="SecurityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" apiDefault="10" /><PreIspProtocol timeout="10000" protocol="http" httpHost="http://pre-eais.aliyuncs.com/DetachEai" resultType="Object" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="RequestId"/></ResultMapping></Api>
|
||||
1
eais/2019-06-24/GetPrivateIp.xml
Normal file
1
eais/2019-06-24/GetPrivateIp.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="eais" controlPolicy="MetaDataControlPolicy" visibility="Public" akProvenStatus="Disable" version="2019-06-24" keepClientResourceOwnerId="true" name="GetPrivateIp" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST|GET" /><ErrorMapping exceptionExpress="success=false,code,message,httpStatusCode"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="eaisKey" timeout="10000" protocol="http" httpHost="http://eais.aliyun-inc.com/GetPrivateIp" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="RequestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="RegionId" tagName="RegionId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerBid" tagName="callerBid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyTrustTransportInfo" tagName="proxy_trust_transport_info" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSourceIp" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="proxyOriginalSecurityTransport" tagName="proxy_original_security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akMfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="Action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="AccessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="SecurityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akProxy" tagName="akProxy" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ClientInstanceId" tagName="ClientInstanceId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" apiDefault="10" /><PreIspProtocol timeout="10000" protocol="http" httpHost="http://pre-eais.aliyuncs.com/GetPrivateIp" resultType="Object" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="RequestId"/><Member tagName="PrivateIp" visibility="Public" type="String" name="PrivateIp"/></ResultMapping></Api>
|
||||
@@ -37,6 +37,10 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getSecurityGroupId()const;
|
||||
void setSecurityGroupId(const std::string& securityGroupId);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getRegionId()const;
|
||||
@@ -46,6 +50,8 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string securityGroupId_;
|
||||
std::string vSwitchId_;
|
||||
std::string instanceName_;
|
||||
std::string regionId_;
|
||||
std::string instanceType_;
|
||||
|
||||
@@ -38,6 +38,28 @@ void CreateEaiRequest::setClientToken(const std::string& clientToken)
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateEaiRequest::getSecurityGroupId()const
|
||||
{
|
||||
return securityGroupId_;
|
||||
}
|
||||
|
||||
void CreateEaiRequest::setSecurityGroupId(const std::string& securityGroupId)
|
||||
{
|
||||
securityGroupId_ = securityGroupId;
|
||||
setParameter("SecurityGroupId", securityGroupId);
|
||||
}
|
||||
|
||||
std::string CreateEaiRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
void CreateEaiRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string CreateEaiRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
|
||||
1
eais/version-2019-06-24.xml
Normal file
1
eais/version-2019-06-24.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Version product="eais" apiStyle="RPC" name="2019-06-24" isolationType="outer"><ErrorMapping exceptionExpress=""><ErrorCodes /></ErrorMapping><Apis><Api name="GetPrivateIp" /><Api name="DescribeRegions" /><Api name="DescribeEais" /><Api name="DeleteEaiAll" /><Api name="CreateEaiAll" /><Api name="DetachEai" /><Api name="DeleteEai" /><Api name="CreateEai" /><Api name="AttachEai" /></Apis></Version>
|
||||
@@ -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,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_QUALITYCHECK_MODEL_RETRYSUBMITASRRESULT_H_
|
||||
#define ALIBABACLOUD_QUALITYCHECK_MODEL_RETRYSUBMITASRRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/qualitycheck/QualitycheckExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Qualitycheck
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_QUALITYCHECK_EXPORT RetrySubmitAsrResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RetrySubmitAsrResult();
|
||||
explicit RetrySubmitAsrResult(const std::string &payload);
|
||||
~RetrySubmitAsrResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_QUALITYCHECK_MODEL_RETRYSUBMITASRRESULT_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_;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user