Update QueryBillOverview, QuerySettleBill, QueryAccountBill, DescribeInstanceBill and support trusteeship bill query.

This commit is contained in:
sdk-team
2021-06-24 02:38:48 +00:00
parent 9345e356d4
commit 79946b0b8d
61 changed files with 3795 additions and 12 deletions

View File

@@ -22,6 +22,8 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "BssOpenApiExport.h"
#include "model/AddAccountRelationRequest.h"
#include "model/AddAccountRelationResult.h"
#include "model/AllocateCostUnitResourceRequest.h"
#include "model/AllocateCostUnitResourceResult.h"
#include "model/ApplyInvoiceRequest.h"
@@ -30,6 +32,8 @@
#include "model/CancelOrderResult.h"
#include "model/ChangeResellerConsumeAmountRequest.h"
#include "model/ChangeResellerConsumeAmountResult.h"
#include "model/ConfirmRelationRequest.h"
#include "model/ConfirmRelationResult.h"
#include "model/ConvertChargeTypeRequest.h"
#include "model/ConvertChargeTypeResult.h"
#include "model/CreateAgAccountRequest.h"
@@ -48,8 +52,16 @@
#include "model/DescribeInstanceBillResult.h"
#include "model/DescribePricingModuleRequest.h"
#include "model/DescribePricingModuleResult.h"
#include "model/DescribeResourceCoverageDetailRequest.h"
#include "model/DescribeResourceCoverageDetailResult.h"
#include "model/DescribeResourceCoverageTotalRequest.h"
#include "model/DescribeResourceCoverageTotalResult.h"
#include "model/DescribeResourcePackageProductRequest.h"
#include "model/DescribeResourcePackageProductResult.h"
#include "model/DescribeResourceUsageDetailRequest.h"
#include "model/DescribeResourceUsageDetailResult.h"
#include "model/DescribeResourceUsageTotalRequest.h"
#include "model/DescribeResourceUsageTotalResult.h"
#include "model/DescribeSplitItemBillRequest.h"
#include "model/DescribeSplitItemBillResult.h"
#include "model/EnableBillGenerationRequest.h"
@@ -66,6 +78,8 @@
#include "model/GetResourcePackagePriceResult.h"
#include "model/GetSubscriptionPriceRequest.h"
#include "model/GetSubscriptionPriceResult.h"
#include "model/ModifyAccountRelationRequest.h"
#include "model/ModifyAccountRelationResult.h"
#include "model/ModifyCostUnitRequest.h"
#include "model/ModifyCostUnitResult.h"
#include "model/ModifyInstanceRequest.h"
@@ -94,6 +108,8 @@
#include "model/QueryCostUnitResourceResult.h"
#include "model/QueryCustomerAddressListRequest.h"
#include "model/QueryCustomerAddressListResult.h"
#include "model/QueryDPUtilizationDetailRequest.h"
#include "model/QueryDPUtilizationDetailResult.h"
#include "model/QueryEvaluateListRequest.h"
#include "model/QueryEvaluateListResult.h"
#include "model/QueryFinancialAccountInfoRequest.h"
@@ -140,12 +156,16 @@
#include "model/QuerySplitItemBillResult.h"
#include "model/QueryUserOmsDataRequest.h"
#include "model/QueryUserOmsDataResult.h"
#include "model/RelieveAccountRelationRequest.h"
#include "model/RelieveAccountRelationResult.h"
#include "model/RenewInstanceRequest.h"
#include "model/RenewInstanceResult.h"
#include "model/RenewResourcePackageRequest.h"
#include "model/RenewResourcePackageResult.h"
#include "model/SaveUserCreditRequest.h"
#include "model/SaveUserCreditResult.h"
#include "model/SetAllExpirationDayRequest.h"
#include "model/SetAllExpirationDayResult.h"
#include "model/SetCreditLabelActionRequest.h"
#include "model/SetCreditLabelActionResult.h"
#include "model/SetRenewalRequest.h"
@@ -175,6 +195,9 @@ namespace AlibabaCloud
class ALIBABACLOUD_BSSOPENAPI_EXPORT BssOpenApiClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AddAccountRelationResult> AddAccountRelationOutcome;
typedef std::future<AddAccountRelationOutcome> AddAccountRelationOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::AddAccountRelationRequest&, const AddAccountRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddAccountRelationAsyncHandler;
typedef Outcome<Error, Model::AllocateCostUnitResourceResult> AllocateCostUnitResourceOutcome;
typedef std::future<AllocateCostUnitResourceOutcome> AllocateCostUnitResourceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::AllocateCostUnitResourceRequest&, const AllocateCostUnitResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateCostUnitResourceAsyncHandler;
@@ -187,6 +210,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ChangeResellerConsumeAmountResult> ChangeResellerConsumeAmountOutcome;
typedef std::future<ChangeResellerConsumeAmountOutcome> ChangeResellerConsumeAmountOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::ChangeResellerConsumeAmountRequest&, const ChangeResellerConsumeAmountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResellerConsumeAmountAsyncHandler;
typedef Outcome<Error, Model::ConfirmRelationResult> ConfirmRelationOutcome;
typedef std::future<ConfirmRelationOutcome> ConfirmRelationOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::ConfirmRelationRequest&, const ConfirmRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfirmRelationAsyncHandler;
typedef Outcome<Error, Model::ConvertChargeTypeResult> ConvertChargeTypeOutcome;
typedef std::future<ConvertChargeTypeOutcome> ConvertChargeTypeOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::ConvertChargeTypeRequest&, const ConvertChargeTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConvertChargeTypeAsyncHandler;
@@ -214,9 +240,21 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribePricingModuleResult> DescribePricingModuleOutcome;
typedef std::future<DescribePricingModuleOutcome> DescribePricingModuleOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribePricingModuleRequest&, const DescribePricingModuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePricingModuleAsyncHandler;
typedef Outcome<Error, Model::DescribeResourceCoverageDetailResult> DescribeResourceCoverageDetailOutcome;
typedef std::future<DescribeResourceCoverageDetailOutcome> DescribeResourceCoverageDetailOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourceCoverageDetailRequest&, const DescribeResourceCoverageDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceCoverageDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeResourceCoverageTotalResult> DescribeResourceCoverageTotalOutcome;
typedef std::future<DescribeResourceCoverageTotalOutcome> DescribeResourceCoverageTotalOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourceCoverageTotalRequest&, const DescribeResourceCoverageTotalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceCoverageTotalAsyncHandler;
typedef Outcome<Error, Model::DescribeResourcePackageProductResult> DescribeResourcePackageProductOutcome;
typedef std::future<DescribeResourcePackageProductOutcome> DescribeResourcePackageProductOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourcePackageProductRequest&, const DescribeResourcePackageProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourcePackageProductAsyncHandler;
typedef Outcome<Error, Model::DescribeResourceUsageDetailResult> DescribeResourceUsageDetailOutcome;
typedef std::future<DescribeResourceUsageDetailOutcome> DescribeResourceUsageDetailOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourceUsageDetailRequest&, const DescribeResourceUsageDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceUsageDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeResourceUsageTotalResult> DescribeResourceUsageTotalOutcome;
typedef std::future<DescribeResourceUsageTotalOutcome> DescribeResourceUsageTotalOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeResourceUsageTotalRequest&, const DescribeResourceUsageTotalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceUsageTotalAsyncHandler;
typedef Outcome<Error, Model::DescribeSplitItemBillResult> DescribeSplitItemBillOutcome;
typedef std::future<DescribeSplitItemBillOutcome> DescribeSplitItemBillOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeSplitItemBillRequest&, const DescribeSplitItemBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSplitItemBillAsyncHandler;
@@ -241,6 +279,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetSubscriptionPriceResult> GetSubscriptionPriceOutcome;
typedef std::future<GetSubscriptionPriceOutcome> GetSubscriptionPriceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::GetSubscriptionPriceRequest&, const GetSubscriptionPriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSubscriptionPriceAsyncHandler;
typedef Outcome<Error, Model::ModifyAccountRelationResult> ModifyAccountRelationOutcome;
typedef std::future<ModifyAccountRelationOutcome> ModifyAccountRelationOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::ModifyAccountRelationRequest&, const ModifyAccountRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountRelationAsyncHandler;
typedef Outcome<Error, Model::ModifyCostUnitResult> ModifyCostUnitOutcome;
typedef std::future<ModifyCostUnitOutcome> ModifyCostUnitOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::ModifyCostUnitRequest&, const ModifyCostUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCostUnitAsyncHandler;
@@ -283,6 +324,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryCustomerAddressListResult> QueryCustomerAddressListOutcome;
typedef std::future<QueryCustomerAddressListOutcome> QueryCustomerAddressListOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCustomerAddressListRequest&, const QueryCustomerAddressListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomerAddressListAsyncHandler;
typedef Outcome<Error, Model::QueryDPUtilizationDetailResult> QueryDPUtilizationDetailOutcome;
typedef std::future<QueryDPUtilizationDetailOutcome> QueryDPUtilizationDetailOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryDPUtilizationDetailRequest&, const QueryDPUtilizationDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDPUtilizationDetailAsyncHandler;
typedef Outcome<Error, Model::QueryEvaluateListResult> QueryEvaluateListOutcome;
typedef std::future<QueryEvaluateListOutcome> QueryEvaluateListOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryEvaluateListRequest&, const QueryEvaluateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryEvaluateListAsyncHandler;
@@ -352,6 +396,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryUserOmsDataResult> QueryUserOmsDataOutcome;
typedef std::future<QueryUserOmsDataOutcome> QueryUserOmsDataOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryUserOmsDataRequest&, const QueryUserOmsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserOmsDataAsyncHandler;
typedef Outcome<Error, Model::RelieveAccountRelationResult> RelieveAccountRelationOutcome;
typedef std::future<RelieveAccountRelationOutcome> RelieveAccountRelationOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::RelieveAccountRelationRequest&, const RelieveAccountRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RelieveAccountRelationAsyncHandler;
typedef Outcome<Error, Model::RenewInstanceResult> RenewInstanceOutcome;
typedef std::future<RenewInstanceOutcome> RenewInstanceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::RenewInstanceRequest&, const RenewInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewInstanceAsyncHandler;
@@ -361,6 +408,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SaveUserCreditResult> SaveUserCreditOutcome;
typedef std::future<SaveUserCreditOutcome> SaveUserCreditOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::SaveUserCreditRequest&, const SaveUserCreditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveUserCreditAsyncHandler;
typedef Outcome<Error, Model::SetAllExpirationDayResult> SetAllExpirationDayOutcome;
typedef std::future<SetAllExpirationDayOutcome> SetAllExpirationDayOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::SetAllExpirationDayRequest&, const SetAllExpirationDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetAllExpirationDayAsyncHandler;
typedef Outcome<Error, Model::SetCreditLabelActionResult> SetCreditLabelActionOutcome;
typedef std::future<SetCreditLabelActionOutcome> SetCreditLabelActionOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::SetCreditLabelActionRequest&, const SetCreditLabelActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetCreditLabelActionAsyncHandler;
@@ -396,6 +446,9 @@ namespace AlibabaCloud
BssOpenApiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
BssOpenApiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~BssOpenApiClient();
AddAccountRelationOutcome addAccountRelation(const Model::AddAccountRelationRequest &request)const;
void addAccountRelationAsync(const Model::AddAccountRelationRequest& request, const AddAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddAccountRelationOutcomeCallable addAccountRelationCallable(const Model::AddAccountRelationRequest& request) const;
AllocateCostUnitResourceOutcome allocateCostUnitResource(const Model::AllocateCostUnitResourceRequest &request)const;
void allocateCostUnitResourceAsync(const Model::AllocateCostUnitResourceRequest& request, const AllocateCostUnitResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AllocateCostUnitResourceOutcomeCallable allocateCostUnitResourceCallable(const Model::AllocateCostUnitResourceRequest& request) const;
@@ -408,6 +461,9 @@ namespace AlibabaCloud
ChangeResellerConsumeAmountOutcome changeResellerConsumeAmount(const Model::ChangeResellerConsumeAmountRequest &request)const;
void changeResellerConsumeAmountAsync(const Model::ChangeResellerConsumeAmountRequest& request, const ChangeResellerConsumeAmountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ChangeResellerConsumeAmountOutcomeCallable changeResellerConsumeAmountCallable(const Model::ChangeResellerConsumeAmountRequest& request) const;
ConfirmRelationOutcome confirmRelation(const Model::ConfirmRelationRequest &request)const;
void confirmRelationAsync(const Model::ConfirmRelationRequest& request, const ConfirmRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfirmRelationOutcomeCallable confirmRelationCallable(const Model::ConfirmRelationRequest& request) const;
ConvertChargeTypeOutcome convertChargeType(const Model::ConvertChargeTypeRequest &request)const;
void convertChargeTypeAsync(const Model::ConvertChargeTypeRequest& request, const ConvertChargeTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConvertChargeTypeOutcomeCallable convertChargeTypeCallable(const Model::ConvertChargeTypeRequest& request) const;
@@ -435,9 +491,21 @@ namespace AlibabaCloud
DescribePricingModuleOutcome describePricingModule(const Model::DescribePricingModuleRequest &request)const;
void describePricingModuleAsync(const Model::DescribePricingModuleRequest& request, const DescribePricingModuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePricingModuleOutcomeCallable describePricingModuleCallable(const Model::DescribePricingModuleRequest& request) const;
DescribeResourceCoverageDetailOutcome describeResourceCoverageDetail(const Model::DescribeResourceCoverageDetailRequest &request)const;
void describeResourceCoverageDetailAsync(const Model::DescribeResourceCoverageDetailRequest& request, const DescribeResourceCoverageDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeResourceCoverageDetailOutcomeCallable describeResourceCoverageDetailCallable(const Model::DescribeResourceCoverageDetailRequest& request) const;
DescribeResourceCoverageTotalOutcome describeResourceCoverageTotal(const Model::DescribeResourceCoverageTotalRequest &request)const;
void describeResourceCoverageTotalAsync(const Model::DescribeResourceCoverageTotalRequest& request, const DescribeResourceCoverageTotalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeResourceCoverageTotalOutcomeCallable describeResourceCoverageTotalCallable(const Model::DescribeResourceCoverageTotalRequest& request) const;
DescribeResourcePackageProductOutcome describeResourcePackageProduct(const Model::DescribeResourcePackageProductRequest &request)const;
void describeResourcePackageProductAsync(const Model::DescribeResourcePackageProductRequest& request, const DescribeResourcePackageProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeResourcePackageProductOutcomeCallable describeResourcePackageProductCallable(const Model::DescribeResourcePackageProductRequest& request) const;
DescribeResourceUsageDetailOutcome describeResourceUsageDetail(const Model::DescribeResourceUsageDetailRequest &request)const;
void describeResourceUsageDetailAsync(const Model::DescribeResourceUsageDetailRequest& request, const DescribeResourceUsageDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeResourceUsageDetailOutcomeCallable describeResourceUsageDetailCallable(const Model::DescribeResourceUsageDetailRequest& request) const;
DescribeResourceUsageTotalOutcome describeResourceUsageTotal(const Model::DescribeResourceUsageTotalRequest &request)const;
void describeResourceUsageTotalAsync(const Model::DescribeResourceUsageTotalRequest& request, const DescribeResourceUsageTotalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeResourceUsageTotalOutcomeCallable describeResourceUsageTotalCallable(const Model::DescribeResourceUsageTotalRequest& request) const;
DescribeSplitItemBillOutcome describeSplitItemBill(const Model::DescribeSplitItemBillRequest &request)const;
void describeSplitItemBillAsync(const Model::DescribeSplitItemBillRequest& request, const DescribeSplitItemBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSplitItemBillOutcomeCallable describeSplitItemBillCallable(const Model::DescribeSplitItemBillRequest& request) const;
@@ -462,6 +530,9 @@ namespace AlibabaCloud
GetSubscriptionPriceOutcome getSubscriptionPrice(const Model::GetSubscriptionPriceRequest &request)const;
void getSubscriptionPriceAsync(const Model::GetSubscriptionPriceRequest& request, const GetSubscriptionPriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSubscriptionPriceOutcomeCallable getSubscriptionPriceCallable(const Model::GetSubscriptionPriceRequest& request) const;
ModifyAccountRelationOutcome modifyAccountRelation(const Model::ModifyAccountRelationRequest &request)const;
void modifyAccountRelationAsync(const Model::ModifyAccountRelationRequest& request, const ModifyAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyAccountRelationOutcomeCallable modifyAccountRelationCallable(const Model::ModifyAccountRelationRequest& request) const;
ModifyCostUnitOutcome modifyCostUnit(const Model::ModifyCostUnitRequest &request)const;
void modifyCostUnitAsync(const Model::ModifyCostUnitRequest& request, const ModifyCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyCostUnitOutcomeCallable modifyCostUnitCallable(const Model::ModifyCostUnitRequest& request) const;
@@ -504,6 +575,9 @@ namespace AlibabaCloud
QueryCustomerAddressListOutcome queryCustomerAddressList(const Model::QueryCustomerAddressListRequest &request)const;
void queryCustomerAddressListAsync(const Model::QueryCustomerAddressListRequest& request, const QueryCustomerAddressListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCustomerAddressListOutcomeCallable queryCustomerAddressListCallable(const Model::QueryCustomerAddressListRequest& request) const;
QueryDPUtilizationDetailOutcome queryDPUtilizationDetail(const Model::QueryDPUtilizationDetailRequest &request)const;
void queryDPUtilizationDetailAsync(const Model::QueryDPUtilizationDetailRequest& request, const QueryDPUtilizationDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryDPUtilizationDetailOutcomeCallable queryDPUtilizationDetailCallable(const Model::QueryDPUtilizationDetailRequest& request) const;
QueryEvaluateListOutcome queryEvaluateList(const Model::QueryEvaluateListRequest &request)const;
void queryEvaluateListAsync(const Model::QueryEvaluateListRequest& request, const QueryEvaluateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryEvaluateListOutcomeCallable queryEvaluateListCallable(const Model::QueryEvaluateListRequest& request) const;
@@ -573,6 +647,9 @@ namespace AlibabaCloud
QueryUserOmsDataOutcome queryUserOmsData(const Model::QueryUserOmsDataRequest &request)const;
void queryUserOmsDataAsync(const Model::QueryUserOmsDataRequest& request, const QueryUserOmsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserOmsDataOutcomeCallable queryUserOmsDataCallable(const Model::QueryUserOmsDataRequest& request) const;
RelieveAccountRelationOutcome relieveAccountRelation(const Model::RelieveAccountRelationRequest &request)const;
void relieveAccountRelationAsync(const Model::RelieveAccountRelationRequest& request, const RelieveAccountRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RelieveAccountRelationOutcomeCallable relieveAccountRelationCallable(const Model::RelieveAccountRelationRequest& request) const;
RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const;
void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const;
@@ -582,6 +659,9 @@ namespace AlibabaCloud
SaveUserCreditOutcome saveUserCredit(const Model::SaveUserCreditRequest &request)const;
void saveUserCreditAsync(const Model::SaveUserCreditRequest& request, const SaveUserCreditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveUserCreditOutcomeCallable saveUserCreditCallable(const Model::SaveUserCreditRequest& request) const;
SetAllExpirationDayOutcome setAllExpirationDay(const Model::SetAllExpirationDayRequest &request)const;
void setAllExpirationDayAsync(const Model::SetAllExpirationDayRequest& request, const SetAllExpirationDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetAllExpirationDayOutcomeCallable setAllExpirationDayCallable(const Model::SetAllExpirationDayRequest& request) const;
SetCreditLabelActionOutcome setCreditLabelAction(const Model::SetCreditLabelActionRequest &request)const;
void setCreditLabelActionAsync(const Model::SetCreditLabelActionRequest& request, const SetCreditLabelActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetCreditLabelActionOutcomeCallable setCreditLabelActionCallable(const Model::SetCreditLabelActionRequest& request) const;

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT AddAccountRelationRequest : public RpcServiceRequest
{
public:
AddAccountRelationRequest();
~AddAccountRelationRequest();
std::string getChildNick()const;
void setChildNick(const std::string& childNick);
std::string getRelationType()const;
void setRelationType(const std::string& relationType);
long getParentUserId()const;
void setParentUserId(long parentUserId);
long getChildUserId()const;
void setChildUserId(long childUserId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::vector<std::string> getPermissionCodes()const;
void setPermissionCodes(const std::vector<std::string>& permissionCodes);
std::vector<std::string> getRoleCodes()const;
void setRoleCodes(const std::vector<std::string>& roleCodes);
private:
std::string childNick_;
std::string relationType_;
long parentUserId_;
long childUserId_;
std::string requestId_;
std::vector<std::string> permissionCodes_;
std::vector<std::string> roleCodes_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ADDACCOUNTRELATIONREQUEST_H_

View File

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

View File

@@ -53,6 +53,8 @@ namespace AlibabaCloud
void setCustomerId(long customerId);
std::vector<long> getSelectedIds()const;
void setSelectedIds(const std::vector<long>& selectedIds);
std::string getUserRemark()const;
void setUserRemark(const std::string& userRemark);
private:
int invoicingType_;
@@ -64,6 +66,7 @@ namespace AlibabaCloud
bool invoiceByAmount_;
long customerId_;
std::vector<long> selectedIds_;
std::string userRemark_;
};
}

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT ConfirmRelationRequest : public RpcServiceRequest
{
public:
ConfirmRelationRequest();
~ConfirmRelationRequest();
std::string getRelationType()const;
void setRelationType(const std::string& relationType);
long getParentUserId()const;
void setParentUserId(long parentUserId);
std::string getConfirmCode()const;
void setConfirmCode(const std::string& confirmCode);
long getChildUserId()const;
void setChildUserId(long childUserId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::vector<std::string> getPermissionCodes()const;
void setPermissionCodes(const std::vector<std::string>& permissionCodes);
private:
std::string relationType_;
long parentUserId_;
std::string confirmCode_;
long childUserId_;
std::string requestId_;
std::vector<std::string> permissionCodes_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CONFIRMRELATIONREQUEST_H_

View File

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

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
std::string instanceSpec;
std::string productName;
std::string instanceID;
std::string billAccountID;
float deductedByCashCoupons;
std::string listPriceUnit;
std::string billingDate;
@@ -62,6 +63,7 @@ namespace AlibabaCloud
std::string zone;
std::string productType;
float outstandingAmount;
std::string bizType;
std::string billingItem;
std::string nickName;
std::string intranetIP;
@@ -74,6 +76,7 @@ namespace AlibabaCloud
float pretaxAmount;
std::string internetIP;
std::string region;
std::string billAccountName;
std::string tag;
};
std::string billingCycle;

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceCoverageDetailRequest : public RpcServiceRequest
{
public:
DescribeResourceCoverageDetailRequest();
~DescribeResourceCoverageDetailRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
std::string periodType_;
long billOwnerId_;
std::string resourceType_;
std::string startPeriod_;
std::string endPeriod_;
std::string nextToken_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILREQUEST_H_

View File

@@ -0,0 +1,87 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceCoverageDetailResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
std::string regionNo;
std::string userName;
std::string instanceSpec;
std::string productName;
std::string endTime;
std::string productCode;
std::string instanceId;
std::string capacityUnit;
std::string zone;
std::string startTime;
float paymentAmount;
std::string zoneName;
float totalQuantity;
std::string userId;
std::string currency;
std::string commodityCode;
std::string region;
float coveragePercentage;
std::string commodityName;
float deductQuantity;
};
int totalCount;
std::string nextToken;
int maxResults;
std::vector<Item> items;
};
DescribeResourceCoverageDetailResult();
explicit DescribeResourceCoverageDetailResult(const std::string &payload);
~DescribeResourceCoverageDetailResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGEDETAILRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceCoverageTotalRequest : public RpcServiceRequest
{
public:
DescribeResourceCoverageTotalRequest();
~DescribeResourceCoverageTotalRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
private:
std::string periodType_;
long billOwnerId_;
std::string resourceType_;
std::string startPeriod_;
std::string endPeriod_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceCoverageTotalResult : public ServiceResult
{
public:
struct Data
{
struct TotalCoverage
{
float totalQuantity;
std::string capacityUnit;
float coveragePercentage;
float deductQuantity;
};
struct Item
{
std::string period;
float coveragePercentage;
};
std::vector<Item> periodCoverage;
TotalCoverage totalCoverage;
};
DescribeResourceCoverageTotalResult();
explicit DescribeResourceCoverageTotalResult(const std::string &payload);
~DescribeResourceCoverageTotalResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCECOVERAGETOTALRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceUsageDetailRequest : public RpcServiceRequest
{
public:
DescribeResourceUsageDetailRequest();
~DescribeResourceUsageDetailRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
std::string periodType_;
long billOwnerId_;
std::string resourceType_;
std::string startPeriod_;
std::string endPeriod_;
std::string nextToken_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILREQUEST_H_

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceUsageDetailResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
std::string status;
std::string regionNo;
std::string postpaidCost;
std::string userName;
std::string instanceSpec;
std::string endTime;
std::string capacityUnit;
std::string zone;
std::string startTime;
std::string savedCost;
long quantity;
std::string statusName;
float usagePercentage;
std::string imageType;
std::string reservationCost;
std::string zoneName;
float totalQuantity;
std::string userId;
std::string currency;
std::string region;
std::string potentialSavedCost;
std::string resourceInstanceId;
float deductQuantity;
};
int totalCount;
std::string nextToken;
int maxResults;
std::vector<Item> items;
};
DescribeResourceUsageDetailResult();
explicit DescribeResourceUsageDetailResult(const std::string &payload);
~DescribeResourceUsageDetailResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGEDETAILRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceUsageTotalRequest : public RpcServiceRequest
{
public:
DescribeResourceUsageTotalRequest();
~DescribeResourceUsageTotalRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
private:
std::string periodType_;
long billOwnerId_;
std::string resourceType_;
std::string startPeriod_;
std::string endPeriod_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DescribeResourceUsageTotalResult : public ServiceResult
{
public:
struct Data
{
struct TotalUsage
{
float reservationCost;
float postpaidCost;
float savedCost;
float potentialSavedCost;
float usagePercentage;
};
struct Item
{
std::string period;
float usagePercentage;
};
TotalUsage totalUsage;
std::vector<Item> periodCoverage;
};
DescribeResourceUsageTotalResult();
explicit DescribeResourceUsageTotalResult(const std::string &payload);
~DescribeResourceUsageTotalResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBERESOURCEUSAGETOTALRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT ModifyAccountRelationRequest : public RpcServiceRequest
{
public:
ModifyAccountRelationRequest();
~ModifyAccountRelationRequest();
std::string getChildNick()const;
void setChildNick(const std::string& childNick);
std::string getRelationOperation()const;
void setRelationOperation(const std::string& relationOperation);
std::string getRelationType()const;
void setRelationType(const std::string& relationType);
long getParentUserId()const;
void setParentUserId(long parentUserId);
long getChildUserId()const;
void setChildUserId(long childUserId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::vector<std::string> getPermissionCodes()const;
void setPermissionCodes(const std::vector<std::string>& permissionCodes);
std::vector<std::string> getRoleCodes()const;
void setRoleCodes(const std::vector<std::string>& roleCodes);
private:
std::string childNick_;
std::string relationOperation_;
std::string relationType_;
long parentUserId_;
long childUserId_;
std::string requestId_;
std::vector<std::string> permissionCodes_;
std::vector<std::string> roleCodes_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYACCOUNTRELATIONREQUEST_H_

View File

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

View File

@@ -40,8 +40,10 @@ namespace AlibabaCloud
std::string ownerName;
std::string productName;
std::string productCode;
std::string billAccountID;
float deductedByCashCoupons;
float outstandingAmount;
std::string bizType;
std::string billingDate;
float paymentAmount;
float deductedByPrepaidCard;
@@ -52,6 +54,7 @@ namespace AlibabaCloud
std::string ownerID;
float pretaxAmount;
std::string currency;
std::string billAccountName;
std::string costUnit;
};
std::string billingCycle;

View File

@@ -36,27 +36,31 @@ namespace AlibabaCloud
{
struct Item
{
float deductedByCoupons;
float afterTaxAmount;
std::string roundDownDiscount;
std::string productName;
std::string productDetail;
std::string productCode;
std::string productType;
float outstandingAmount;
std::string billAccountID;
float deductedByCashCoupons;
float tax;
std::string paymentCurrency;
float paymentAmount;
float deductedByPrepaidCard;
std::string pipCode;
float invoiceDiscount;
std::string item;
std::string subscriptionType;
float pretaxGrossAmount;
float pretaxAmount;
std::string currency;
std::string commodityCode;
float deductedByCoupons;
std::string roundDownDiscount;
std::string productDetail;
std::string productCode;
std::string productType;
float outstandingAmount;
std::string bizType;
std::string pipCode;
float pretaxAmount;
std::string ownerID;
std::string billAccountName;
float pretaxAmountLocal;
};
std::string billingCycle;

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYDPUTILIZATIONDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYDPUTILIZATIONDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryDPUtilizationDetailRequest : public RpcServiceRequest
{
public:
QueryDPUtilizationDetailRequest();
~QueryDPUtilizationDetailRequest();
std::string getDeductedInstanceId()const;
void setDeductedInstanceId(const std::string& deductedInstanceId);
std::string getLastToken()const;
void setLastToken(const std::string& lastToken);
std::string getInstanceSpec()const;
void setInstanceSpec(const std::string& instanceSpec);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
bool getIncludeShare()const;
void setIncludeShare(bool includeShare);
std::string getCommodityCode()const;
void setCommodityCode(const std::string& commodityCode);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getLimit()const;
void setLimit(int limit);
private:
std::string deductedInstanceId_;
std::string lastToken_;
std::string instanceSpec_;
std::string endTime_;
bool includeShare_;
std::string commodityCode_;
std::string startTime_;
std::string instanceId_;
int limit_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYDPUTILIZATIONDETAILREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYDPUTILIZATIONDETAILRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYDPUTILIZATIONDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryDPUtilizationDetailResult : public ServiceResult
{
public:
struct Data
{
struct DetailListItem
{
std::string resCode;
std::string instanceSpec;
std::string instanceId;
float deductFactorTotal;
std::string deductedProductDetail;
std::string deductedCommodityCode;
float deductHours;
long uid;
std::string deductDate;
float deductMeasure;
long shareUid;
std::string region;
std::string deductedInstanceId;
float deductQuantity;
};
std::string nextToken;
std::vector<DetailListItem> detailList;
};
QueryDPUtilizationDetailResult();
explicit QueryDPUtilizationDetailResult(const std::string &payload);
~QueryDPUtilizationDetailResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYDPUTILIZATIONDETAILRESULT_H_

View File

@@ -30,6 +30,12 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QuerySavingsPlansInstanceRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string value;
std::string key;
};
public:
QuerySavingsPlansInstanceRequest();
@@ -47,6 +53,8 @@ namespace AlibabaCloud
void setInstanceId(const std::string& instanceId);
int getPageSize()const;
void setPageSize(int pageSize);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
private:
std::string endTime_;
@@ -55,6 +63,7 @@ namespace AlibabaCloud
int pageNum_;
std::string instanceId_;
int pageSize_;
std::vector<Tag> tag_;
};
}

View File

@@ -36,7 +36,13 @@ namespace AlibabaCloud
{
struct SavingsPlansDetailResponse
{
struct Tag
{
std::string value;
std::string key;
};
std::string status;
std::string allocationStatus;
std::string endTime;
std::string instanceId;
std::string instanceFamily;
@@ -48,7 +54,7 @@ namespace AlibabaCloud
std::string currency;
std::string poolValue;
std::string region;
bool share;
std::vector<SavingsPlansDetailResponse::Tag> tags;
std::string savingsType;
};
int totalCount;

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
float afterTaxAmount;
std::string productName;
std::string subOrderId;
std::string billAccountID;
float deductedByCashCoupons;
std::string paymentTime;
float tax;
@@ -61,9 +62,11 @@ namespace AlibabaCloud
std::string productCode;
std::string productType;
float outstandingAmount;
std::string bizType;
std::string pipCode;
std::string ownerID;
float pretaxAmount;
std::string billAccountName;
std::string recordID;
float pretaxAmountLocal;
};

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_RELIEVEACCOUNTRELATIONREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_RELIEVEACCOUNTRELATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT RelieveAccountRelationRequest : public RpcServiceRequest
{
public:
RelieveAccountRelationRequest();
~RelieveAccountRelationRequest();
std::string getRelationType()const;
void setRelationType(const std::string& relationType);
long getParentUserId()const;
void setParentUserId(long parentUserId);
long getChildUserId()const;
void setChildUserId(long childUserId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
private:
std::string relationType_;
long parentUserId_;
long childUserId_;
std::string requestId_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_RELIEVEACCOUNTRELATIONREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_RELIEVEACCOUNTRELATIONRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_RELIEVEACCOUNTRELATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT RelieveAccountRelationResult : public ServiceResult
{
public:
struct Data
{
std::string hostId;
};
RelieveAccountRelationResult();
explicit RelieveAccountRelationResult(const std::string &payload);
~RelieveAccountRelationResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_RELIEVEACCOUNTRELATIONRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SETALLEXPIRATIONDAYREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETALLEXPIRATIONDAYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT SetAllExpirationDayRequest : public RpcServiceRequest
{
public:
SetAllExpirationDayRequest();
~SetAllExpirationDayRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getUnifyExpireDay()const;
void setUnifyExpireDay(const std::string& unifyExpireDay);
private:
long ownerId_;
std::string unifyExpireDay_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETALLEXPIRATIONDAYREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SETALLEXPIRATIONDAYRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETALLEXPIRATIONDAYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
namespace AlibabaCloud
{
namespace BssOpenApi
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT SetAllExpirationDayResult : public ServiceResult
{
public:
SetAllExpirationDayResult();
explicit SetAllExpirationDayResult(const std::string &payload);
~SetAllExpirationDayResult();
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETALLEXPIRATIONDAYRESULT_H_

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setSubscribeType(const std::string& subscribeType);
std::string getSubscribeBucket()const;
void setSubscribeBucket(const std::string& subscribeBucket);
std::string getBeginBillingCycle()const;
void setBeginBillingCycle(const std::string& beginBillingCycle);
std::string getMultAccountRelSubscribe()const;
void setMultAccountRelSubscribe(const std::string& multAccountRelSubscribe);
@@ -48,6 +50,7 @@ namespace AlibabaCloud
long bucketOwnerId_;
std::string subscribeType_;
std::string subscribeBucket_;
std::string beginBillingCycle_;
std::string multAccountRelSubscribe_;
};