Add BillingDate support in QueryAccontBill.
This commit is contained in:
@@ -116,6 +116,10 @@
|
||||
#include "model/QueryResellerAvailableQuotaResult.h"
|
||||
#include "model/QueryResourcePackageInstancesRequest.h"
|
||||
#include "model/QueryResourcePackageInstancesResult.h"
|
||||
#include "model/QuerySavingsPlansDeductLogRequest.h"
|
||||
#include "model/QuerySavingsPlansDeductLogResult.h"
|
||||
#include "model/QuerySavingsPlansInstanceRequest.h"
|
||||
#include "model/QuerySavingsPlansInstanceResult.h"
|
||||
#include "model/QuerySettleBillRequest.h"
|
||||
#include "model/QuerySettleBillResult.h"
|
||||
#include "model/QuerySettlementBillRequest.h"
|
||||
@@ -128,6 +132,10 @@
|
||||
#include "model/RenewInstanceResult.h"
|
||||
#include "model/RenewResourcePackageRequest.h"
|
||||
#include "model/RenewResourcePackageResult.h"
|
||||
#include "model/SaveUserCreditRequest.h"
|
||||
#include "model/SaveUserCreditResult.h"
|
||||
#include "model/SetCreditLabelActionRequest.h"
|
||||
#include "model/SetCreditLabelActionResult.h"
|
||||
#include "model/SetRenewalRequest.h"
|
||||
#include "model/SetRenewalResult.h"
|
||||
#include "model/SetResellerUserAlarmThresholdRequest.h"
|
||||
@@ -292,6 +300,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryResourcePackageInstancesResult> QueryResourcePackageInstancesOutcome;
|
||||
typedef std::future<QueryResourcePackageInstancesOutcome> QueryResourcePackageInstancesOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryResourcePackageInstancesRequest&, const QueryResourcePackageInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryResourcePackageInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySavingsPlansDeductLogResult> QuerySavingsPlansDeductLogOutcome;
|
||||
typedef std::future<QuerySavingsPlansDeductLogOutcome> QuerySavingsPlansDeductLogOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySavingsPlansDeductLogRequest&, const QuerySavingsPlansDeductLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySavingsPlansDeductLogAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySavingsPlansInstanceResult> QuerySavingsPlansInstanceOutcome;
|
||||
typedef std::future<QuerySavingsPlansInstanceOutcome> QuerySavingsPlansInstanceOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySavingsPlansInstanceRequest&, const QuerySavingsPlansInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySavingsPlansInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySettleBillResult> QuerySettleBillOutcome;
|
||||
typedef std::future<QuerySettleBillOutcome> QuerySettleBillOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySettleBillRequest&, const QuerySettleBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySettleBillAsyncHandler;
|
||||
@@ -310,6 +324,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RenewResourcePackageResult> RenewResourcePackageOutcome;
|
||||
typedef std::future<RenewResourcePackageOutcome> RenewResourcePackageOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::RenewResourcePackageRequest&, const RenewResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewResourcePackageAsyncHandler;
|
||||
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::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;
|
||||
typedef Outcome<Error, Model::SetRenewalResult> SetRenewalOutcome;
|
||||
typedef std::future<SetRenewalOutcome> SetRenewalOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::SetRenewalRequest&, const SetRenewalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetRenewalAsyncHandler;
|
||||
@@ -477,6 +497,12 @@ namespace AlibabaCloud
|
||||
QueryResourcePackageInstancesOutcome queryResourcePackageInstances(const Model::QueryResourcePackageInstancesRequest &request)const;
|
||||
void queryResourcePackageInstancesAsync(const Model::QueryResourcePackageInstancesRequest& request, const QueryResourcePackageInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryResourcePackageInstancesOutcomeCallable queryResourcePackageInstancesCallable(const Model::QueryResourcePackageInstancesRequest& request) const;
|
||||
QuerySavingsPlansDeductLogOutcome querySavingsPlansDeductLog(const Model::QuerySavingsPlansDeductLogRequest &request)const;
|
||||
void querySavingsPlansDeductLogAsync(const Model::QuerySavingsPlansDeductLogRequest& request, const QuerySavingsPlansDeductLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySavingsPlansDeductLogOutcomeCallable querySavingsPlansDeductLogCallable(const Model::QuerySavingsPlansDeductLogRequest& request) const;
|
||||
QuerySavingsPlansInstanceOutcome querySavingsPlansInstance(const Model::QuerySavingsPlansInstanceRequest &request)const;
|
||||
void querySavingsPlansInstanceAsync(const Model::QuerySavingsPlansInstanceRequest& request, const QuerySavingsPlansInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySavingsPlansInstanceOutcomeCallable querySavingsPlansInstanceCallable(const Model::QuerySavingsPlansInstanceRequest& request) const;
|
||||
QuerySettleBillOutcome querySettleBill(const Model::QuerySettleBillRequest &request)const;
|
||||
void querySettleBillAsync(const Model::QuerySettleBillRequest& request, const QuerySettleBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySettleBillOutcomeCallable querySettleBillCallable(const Model::QuerySettleBillRequest& request) const;
|
||||
@@ -495,6 +521,12 @@ namespace AlibabaCloud
|
||||
RenewResourcePackageOutcome renewResourcePackage(const Model::RenewResourcePackageRequest &request)const;
|
||||
void renewResourcePackageAsync(const Model::RenewResourcePackageRequest& request, const RenewResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewResourcePackageOutcomeCallable renewResourcePackageCallable(const Model::RenewResourcePackageRequest& request) const;
|
||||
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;
|
||||
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;
|
||||
SetRenewalOutcome setRenewal(const Model::SetRenewalRequest &request)const;
|
||||
void setRenewalAsync(const Model::SetRenewalRequest& request, const SetRenewalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetRenewalOutcomeCallable setRenewalCallable(const Model::SetRenewalRequest& request) const;
|
||||
|
||||
@@ -45,8 +45,12 @@ namespace AlibabaCloud
|
||||
void setOwnerID(long ownerID);
|
||||
long getBillOwnerId()const;
|
||||
void setBillOwnerId(long billOwnerId);
|
||||
std::string getBillingDate()const;
|
||||
void setBillingDate(const std::string& billingDate);
|
||||
bool getIsGroupByProduct()const;
|
||||
void setIsGroupByProduct(bool isGroupByProduct);
|
||||
std::string getGranularity()const;
|
||||
void setGranularity(const std::string& granularity);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
@@ -56,7 +60,9 @@ namespace AlibabaCloud
|
||||
int pageNum_;
|
||||
long ownerID_;
|
||||
long billOwnerId_;
|
||||
std::string billingDate_;
|
||||
bool isGroupByProduct_;
|
||||
std::string granularity_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
|
||||
@@ -42,6 +42,7 @@ namespace AlibabaCloud
|
||||
std::string productCode;
|
||||
float deductedByCashCoupons;
|
||||
float outstandingAmount;
|
||||
std::string billingDate;
|
||||
float paymentAmount;
|
||||
float deductedByPrepaidCard;
|
||||
std::string pipCode;
|
||||
|
||||
@@ -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_QUERYSAVINGSPLANSDEDUCTLOGREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGREQUEST_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 QuerySavingsPlansDeductLogRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QuerySavingsPlansDeductLogRequest();
|
||||
~QuerySavingsPlansDeductLogRequest();
|
||||
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getLocale()const;
|
||||
void setLocale(const std::string& locale);
|
||||
int getPageNum()const;
|
||||
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;
|
||||
void setInstanceType(const std::string& instanceType);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string locale_;
|
||||
int pageNum_;
|
||||
std::string instanceId_;
|
||||
std::string requestId_;
|
||||
int pageSize_;
|
||||
std::string instanceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGREQUEST_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* 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_QUERYSAVINGSPLANSDEDUCTLOGRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSDEDUCTLOGRESULT_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 QuerySavingsPlansDeductLogResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct SavingsPlansDeductDetailResponse
|
||||
{
|
||||
std::string deductFee;
|
||||
std::string billModule;
|
||||
std::string endTime;
|
||||
std::string deductCommodity;
|
||||
std::string instanceId;
|
||||
long userId;
|
||||
std::string startTime;
|
||||
std::string deductRate;
|
||||
std::string deductInstanceId;
|
||||
std::string discountRate;
|
||||
std::string savingsType;
|
||||
};
|
||||
int totalCount;
|
||||
int pageNum;
|
||||
int pageSize;
|
||||
std::vector<SavingsPlansDeductDetailResponse> items;
|
||||
};
|
||||
|
||||
|
||||
QuerySavingsPlansDeductLogResult();
|
||||
explicit QuerySavingsPlansDeductLogResult(const std::string &payload);
|
||||
~QuerySavingsPlansDeductLogResult();
|
||||
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_QUERYSAVINGSPLANSDEDUCTLOGRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCEREQUEST_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 QuerySavingsPlansInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QuerySavingsPlansInstanceRequest();
|
||||
~QuerySavingsPlansInstanceRequest();
|
||||
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getLocale()const;
|
||||
void setLocale(const std::string& locale);
|
||||
int getPageNum()const;
|
||||
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);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string locale_;
|
||||
int pageNum_;
|
||||
std::string instanceId_;
|
||||
std::string requestId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCEREQUEST_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_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYSAVINGSPLANSINSTANCERESULT_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 QuerySavingsPlansInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct SavingsPlansDetailResponse
|
||||
{
|
||||
std::string status;
|
||||
std::string endTime;
|
||||
std::string instanceId;
|
||||
std::string instanceFamily;
|
||||
std::string startTime;
|
||||
std::string totalSave;
|
||||
std::string prepayFee;
|
||||
std::string payMode;
|
||||
std::string utilization;
|
||||
std::string currency;
|
||||
std::string poolValue;
|
||||
std::string region;
|
||||
bool share;
|
||||
std::string savingsType;
|
||||
};
|
||||
int totalCount;
|
||||
int pageNum;
|
||||
int pageSize;
|
||||
std::vector<SavingsPlansDetailResponse> items;
|
||||
};
|
||||
|
||||
|
||||
QuerySavingsPlansInstanceResult();
|
||||
explicit QuerySavingsPlansInstanceResult(const std::string &payload);
|
||||
~QuerySavingsPlansInstanceResult();
|
||||
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_QUERYSAVINGSPLANSINSTANCERESULT_H_
|
||||
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
||||
std::string instanceSpec;
|
||||
std::string productName;
|
||||
std::string instanceID;
|
||||
std::string splitCommodityCode;
|
||||
float deductedByCashCoupons;
|
||||
std::string listPriceUnit;
|
||||
std::string billingDate;
|
||||
@@ -47,6 +48,7 @@ namespace AlibabaCloud
|
||||
float deductedByPrepaidCard;
|
||||
float invoiceDiscount;
|
||||
std::string splitItemName;
|
||||
std::string splitProductDetail;
|
||||
std::string subscriptionType;
|
||||
std::string item;
|
||||
float pretaxGrossAmount;
|
||||
@@ -56,8 +58,10 @@ namespace AlibabaCloud
|
||||
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;
|
||||
@@ -67,9 +71,11 @@ namespace AlibabaCloud
|
||||
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;
|
||||
|
||||
@@ -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_SAVEUSERCREDITREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SAVEUSERCREDITREQUEST_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 SaveUserCreditRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SaveUserCreditRequest();
|
||||
~SaveUserCreditRequest();
|
||||
|
||||
bool getAvoidExpiration()const;
|
||||
void setAvoidExpiration(bool avoidExpiration);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
bool getAvoidPrepaidNotification()const;
|
||||
void setAvoidPrepaidNotification(bool avoidPrepaidNotification);
|
||||
bool getAvoidPrepaidExpiration()const;
|
||||
void setAvoidPrepaidExpiration(bool avoidPrepaidExpiration);
|
||||
bool getAvoidNotification()const;
|
||||
void setAvoidNotification(bool avoidNotification);
|
||||
std::string get_Operator()const;
|
||||
void set_Operator(const std::string& _operator);
|
||||
std::string getCreditValue()const;
|
||||
void setCreditValue(const std::string& creditValue);
|
||||
std::string getCreditType()const;
|
||||
void setCreditType(const std::string& creditType);
|
||||
|
||||
private:
|
||||
bool avoidExpiration_;
|
||||
std::string description_;
|
||||
bool avoidPrepaidNotification_;
|
||||
bool avoidPrepaidExpiration_;
|
||||
bool avoidNotification_;
|
||||
std::string _operator_;
|
||||
std::string creditValue_;
|
||||
std::string creditType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SAVEUSERCREDITREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SAVEUSERCREDITRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SAVEUSERCREDITRESULT_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 SaveUserCreditResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SaveUserCreditResult();
|
||||
explicit SaveUserCreditResult(const std::string &payload);
|
||||
~SaveUserCreditResult();
|
||||
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_SAVEUSERCREDITRESULT_H_
|
||||
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* 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_SETCREDITLABELACTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONREQUEST_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 SetCreditLabelActionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SetCreditLabelActionRequest();
|
||||
~SetCreditLabelActionRequest();
|
||||
|
||||
std::string getActionType()const;
|
||||
void setActionType(const std::string& actionType);
|
||||
std::string getIsNeedSaveNotifyRule()const;
|
||||
void setIsNeedSaveNotifyRule(const std::string& isNeedSaveNotifyRule);
|
||||
std::string getIsNeedAdjustCreditAccount()const;
|
||||
void setIsNeedAdjustCreditAccount(const std::string& isNeedAdjustCreditAccount);
|
||||
bool getNewCreateMode()const;
|
||||
void setNewCreateMode(bool newCreateMode);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getSource()const;
|
||||
void setSource(const std::string& source);
|
||||
std::string getCurrencyCode()const;
|
||||
void setCurrencyCode(const std::string& currencyCode);
|
||||
std::string getDailyCycle()const;
|
||||
void setDailyCycle(const std::string& dailyCycle);
|
||||
std::string get_Operator()const;
|
||||
void set_Operator(const std::string& _operator);
|
||||
std::string getUid()const;
|
||||
void setUid(const std::string& uid);
|
||||
std::string getSiteCode()const;
|
||||
void setSiteCode(const std::string& siteCode);
|
||||
std::string getClearCycle()const;
|
||||
void setClearCycle(const std::string& clearCycle);
|
||||
bool getNeedNotice()const;
|
||||
void setNeedNotice(bool needNotice);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getIsNeedSetCreditAmount()const;
|
||||
void setIsNeedSetCreditAmount(const std::string& isNeedSetCreditAmount);
|
||||
std::string getCreditAmount()const;
|
||||
void setCreditAmount(const std::string& creditAmount);
|
||||
std::string getIsNeedAddSettleLabel()const;
|
||||
void setIsNeedAddSettleLabel(const std::string& isNeedAddSettleLabel);
|
||||
|
||||
private:
|
||||
std::string actionType_;
|
||||
std::string isNeedSaveNotifyRule_;
|
||||
std::string isNeedAdjustCreditAccount_;
|
||||
bool newCreateMode_;
|
||||
std::string description_;
|
||||
std::string source_;
|
||||
std::string currencyCode_;
|
||||
std::string dailyCycle_;
|
||||
std::string _operator_;
|
||||
std::string uid_;
|
||||
std::string siteCode_;
|
||||
std::string clearCycle_;
|
||||
bool needNotice_;
|
||||
std::string requestId_;
|
||||
std::string isNeedSetCreditAmount_;
|
||||
std::string creditAmount_;
|
||||
std::string isNeedAddSettleLabel_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONREQUEST_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_SETCREDITLABELACTIONRESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONRESULT_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 SetCreditLabelActionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetCreditLabelActionResult();
|
||||
explicit SetCreditLabelActionResult(const std::string &payload);
|
||||
~SetCreditLabelActionResult();
|
||||
std::string getMessage()const;
|
||||
bool getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETCREDITLABELACTIONRESULT_H_
|
||||
Reference in New Issue
Block a user