Supported DescribeSavingsPlansUsageTotal.

This commit is contained in:
sdk-team
2021-08-10 09:13:31 +00:00
parent 11e315b724
commit 5df0ee7c86
23 changed files with 1480 additions and 1 deletions

View File

@@ -62,6 +62,14 @@
#include "model/DescribeResourceUsageDetailResult.h"
#include "model/DescribeResourceUsageTotalRequest.h"
#include "model/DescribeResourceUsageTotalResult.h"
#include "model/DescribeSavingsPlansCoverageDetailRequest.h"
#include "model/DescribeSavingsPlansCoverageDetailResult.h"
#include "model/DescribeSavingsPlansCoverageTotalRequest.h"
#include "model/DescribeSavingsPlansCoverageTotalResult.h"
#include "model/DescribeSavingsPlansUsageDetailRequest.h"
#include "model/DescribeSavingsPlansUsageDetailResult.h"
#include "model/DescribeSavingsPlansUsageTotalRequest.h"
#include "model/DescribeSavingsPlansUsageTotalResult.h"
#include "model/DescribeSplitItemBillRequest.h"
#include "model/DescribeSplitItemBillResult.h"
#include "model/EnableBillGenerationRequest.h"
@@ -255,6 +263,18 @@ namespace AlibabaCloud
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::DescribeSavingsPlansCoverageDetailResult> DescribeSavingsPlansCoverageDetailOutcome;
typedef std::future<DescribeSavingsPlansCoverageDetailOutcome> DescribeSavingsPlansCoverageDetailOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeSavingsPlansCoverageDetailRequest&, const DescribeSavingsPlansCoverageDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSavingsPlansCoverageDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeSavingsPlansCoverageTotalResult> DescribeSavingsPlansCoverageTotalOutcome;
typedef std::future<DescribeSavingsPlansCoverageTotalOutcome> DescribeSavingsPlansCoverageTotalOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeSavingsPlansCoverageTotalRequest&, const DescribeSavingsPlansCoverageTotalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSavingsPlansCoverageTotalAsyncHandler;
typedef Outcome<Error, Model::DescribeSavingsPlansUsageDetailResult> DescribeSavingsPlansUsageDetailOutcome;
typedef std::future<DescribeSavingsPlansUsageDetailOutcome> DescribeSavingsPlansUsageDetailOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeSavingsPlansUsageDetailRequest&, const DescribeSavingsPlansUsageDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSavingsPlansUsageDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeSavingsPlansUsageTotalResult> DescribeSavingsPlansUsageTotalOutcome;
typedef std::future<DescribeSavingsPlansUsageTotalOutcome> DescribeSavingsPlansUsageTotalOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribeSavingsPlansUsageTotalRequest&, const DescribeSavingsPlansUsageTotalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSavingsPlansUsageTotalAsyncHandler;
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;
@@ -506,6 +526,18 @@ namespace AlibabaCloud
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;
DescribeSavingsPlansCoverageDetailOutcome describeSavingsPlansCoverageDetail(const Model::DescribeSavingsPlansCoverageDetailRequest &request)const;
void describeSavingsPlansCoverageDetailAsync(const Model::DescribeSavingsPlansCoverageDetailRequest& request, const DescribeSavingsPlansCoverageDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSavingsPlansCoverageDetailOutcomeCallable describeSavingsPlansCoverageDetailCallable(const Model::DescribeSavingsPlansCoverageDetailRequest& request) const;
DescribeSavingsPlansCoverageTotalOutcome describeSavingsPlansCoverageTotal(const Model::DescribeSavingsPlansCoverageTotalRequest &request)const;
void describeSavingsPlansCoverageTotalAsync(const Model::DescribeSavingsPlansCoverageTotalRequest& request, const DescribeSavingsPlansCoverageTotalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSavingsPlansCoverageTotalOutcomeCallable describeSavingsPlansCoverageTotalCallable(const Model::DescribeSavingsPlansCoverageTotalRequest& request) const;
DescribeSavingsPlansUsageDetailOutcome describeSavingsPlansUsageDetail(const Model::DescribeSavingsPlansUsageDetailRequest &request)const;
void describeSavingsPlansUsageDetailAsync(const Model::DescribeSavingsPlansUsageDetailRequest& request, const DescribeSavingsPlansUsageDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSavingsPlansUsageDetailOutcomeCallable describeSavingsPlansUsageDetailCallable(const Model::DescribeSavingsPlansUsageDetailRequest& request) const;
DescribeSavingsPlansUsageTotalOutcome describeSavingsPlansUsageTotal(const Model::DescribeSavingsPlansUsageTotalRequest &request)const;
void describeSavingsPlansUsageTotalAsync(const Model::DescribeSavingsPlansUsageTotalRequest& request, const DescribeSavingsPlansUsageTotalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSavingsPlansUsageTotalOutcomeCallable describeSavingsPlansUsageTotalCallable(const Model::DescribeSavingsPlansUsageTotalRequest& 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;

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_DESCRIBESAVINGSPLANSCOVERAGEDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGEDETAILREQUEST_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 DescribeSavingsPlansCoverageDetailRequest : public RpcServiceRequest
{
public:
DescribeSavingsPlansCoverageDetailRequest();
~DescribeSavingsPlansCoverageDetailRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
std::string getToken()const;
void setToken(const std::string& token);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
std::string periodType_;
long billOwnerId_;
std::string startPeriod_;
std::string endPeriod_;
std::string token_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGEDETAILREQUEST_H_

View File

@@ -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_DESCRIBESAVINGSPLANSCOVERAGEDETAILRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGEDETAILRESULT_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 DescribeSavingsPlansCoverageDetailResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
float postpaidCost;
std::string userName;
std::string instanceSpec;
std::string instanceId;
long userId;
std::string endPeriod;
std::string currency;
std::string region;
float totalAmount;
float deductAmount;
float coveragePercentage;
std::string startPeriod;
};
int totalCount;
std::string nextToken;
std::vector<Item> items;
};
DescribeSavingsPlansCoverageDetailResult();
explicit DescribeSavingsPlansCoverageDetailResult(const std::string &payload);
~DescribeSavingsPlansCoverageDetailResult();
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_DESCRIBESAVINGSPLANSCOVERAGEDETAILRESULT_H_

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_DESCRIBESAVINGSPLANSCOVERAGETOTALREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGETOTALREQUEST_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 DescribeSavingsPlansCoverageTotalRequest : public RpcServiceRequest
{
public:
DescribeSavingsPlansCoverageTotalRequest();
~DescribeSavingsPlansCoverageTotalRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
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 startPeriod_;
std::string endPeriod_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSCOVERAGETOTALREQUEST_H_

View File

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

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_DESCRIBESAVINGSPLANSUSAGEDETAILREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGEDETAILREQUEST_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 DescribeSavingsPlansUsageDetailRequest : public RpcServiceRequest
{
public:
DescribeSavingsPlansUsageDetailRequest();
~DescribeSavingsPlansUsageDetailRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
std::string getStartPeriod()const;
void setStartPeriod(const std::string& startPeriod);
std::string getEndPeriod()const;
void setEndPeriod(const std::string& endPeriod);
std::string getToken()const;
void setToken(const std::string& token);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
std::string periodType_;
long billOwnerId_;
std::string startPeriod_;
std::string endPeriod_;
std::string token_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGEDETAILREQUEST_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_DESCRIBESAVINGSPLANSUSAGEDETAILRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGEDETAILRESULT_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 DescribeSavingsPlansUsageDetailResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
std::string status;
float postpaidCost;
std::string userName;
std::string instanceId;
float savedCost;
float deductValue;
float usagePercentage;
std::string type;
long userId;
std::string endPeriod;
std::string currency;
float poolValue;
std::string startPeriod;
};
int totalCount;
std::string nextToken;
std::vector<Item> items;
};
DescribeSavingsPlansUsageDetailResult();
explicit DescribeSavingsPlansUsageDetailResult(const std::string &payload);
~DescribeSavingsPlansUsageDetailResult();
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_DESCRIBESAVINGSPLANSUSAGEDETAILRESULT_H_

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_DESCRIBESAVINGSPLANSUSAGETOTALREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGETOTALREQUEST_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 DescribeSavingsPlansUsageTotalRequest : public RpcServiceRequest
{
public:
DescribeSavingsPlansUsageTotalRequest();
~DescribeSavingsPlansUsageTotalRequest();
std::string getPeriodType()const;
void setPeriodType(const std::string& periodType);
long getBillOwnerId()const;
void setBillOwnerId(long billOwnerId);
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 startPeriod_;
std::string endPeriod_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGETOTALREQUEST_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_DESCRIBESAVINGSPLANSUSAGETOTALRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DESCRIBESAVINGSPLANSUSAGETOTALRESULT_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 DescribeSavingsPlansUsageTotalResult : public ServiceResult
{
public:
struct Data
{
struct TotalUsage
{
float postpaidCost;
float poolValue;
float savedCost;
float usagePercentage;
};
struct Item
{
float percentage;
std::string period;
};
TotalUsage totalUsage;
std::vector<Item> periodCoverage;
};
DescribeSavingsPlansUsageTotalResult();
explicit DescribeSavingsPlansUsageTotalResult(const std::string &payload);
~DescribeSavingsPlansUsageTotalResult();
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_DESCRIBESAVINGSPLANSUSAGETOTALRESULT_H_

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setLastToken(const std::string& lastToken);
std::string getInstanceSpec()const;
void setInstanceSpec(const std::string& instanceSpec);
std::string getProdCode()const;
void setProdCode(const std::string& prodCode);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
bool getIncludeShare()const;
@@ -58,6 +60,7 @@ namespace AlibabaCloud
std::string deductedInstanceId_;
std::string lastToken_;
std::string instanceSpec_;
std::string prodCode_;
std::string endTime_;
bool includeShare_;
std::string commodityCode_;