Update by SDK platform.

This commit is contained in:
sdk-team
2022-12-29 04:09:33 +00:00
parent c2b3070859
commit a382e3172c
18 changed files with 483 additions and 1 deletions

View File

@@ -190,6 +190,8 @@
#include "model/SwitchDBInstanceHAResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/TransformInstanceChargeTypeRequest.h"
#include "model/TransformInstanceChargeTypeResult.h"
#include "model/TransformToPrePaidRequest.h"
#include "model/TransformToPrePaidResult.h"
#include "model/UntagResourcesRequest.h"
@@ -459,6 +461,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const DdsClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
typedef Outcome<Error, Model::TransformInstanceChargeTypeResult> TransformInstanceChargeTypeOutcome;
typedef std::future<TransformInstanceChargeTypeOutcome> TransformInstanceChargeTypeOutcomeCallable;
typedef std::function<void(const DdsClient*, const Model::TransformInstanceChargeTypeRequest&, const TransformInstanceChargeTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransformInstanceChargeTypeAsyncHandler;
typedef Outcome<Error, Model::TransformToPrePaidResult> TransformToPrePaidOutcome;
typedef std::future<TransformToPrePaidOutcome> TransformToPrePaidOutcomeCallable;
typedef std::function<void(const DdsClient*, const Model::TransformToPrePaidRequest&, const TransformToPrePaidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransformToPrePaidAsyncHandler;
@@ -728,6 +733,9 @@ namespace AlibabaCloud
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
TransformInstanceChargeTypeOutcome transformInstanceChargeType(const Model::TransformInstanceChargeTypeRequest &request)const;
void transformInstanceChargeTypeAsync(const Model::TransformInstanceChargeTypeRequest& request, const TransformInstanceChargeTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TransformInstanceChargeTypeOutcomeCallable transformInstanceChargeTypeCallable(const Model::TransformInstanceChargeTypeRequest& request) const;
TransformToPrePaidOutcome transformToPrePaid(const Model::TransformToPrePaidRequest &request)const;
void transformToPrePaidAsync(const Model::TransformToPrePaidRequest& request, const TransformToPrePaidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TransformToPrePaidOutcomeCallable transformToPrePaidCallable(const Model::TransformToPrePaidRequest& request) const;

View File

@@ -48,8 +48,12 @@ public:
void setLevel(const std::string &level);
std::string getOwnerAccount() const;
void setOwnerAccount(const std::string &ownerAccount);
std::string getMongoType() const;
void setMongoType(const std::string &mongoType);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getStorageSupport() const;
void setStorageSupport(const std::string &storageSupport);
std::string getDbType() const;
void setDbType(const std::string &dbType);
std::string getZoneId() const;
@@ -65,7 +69,9 @@ private:
std::string resourceOwnerAccount_;
std::string level_;
std::string ownerAccount_;
std::string mongoType_;
long ownerId_;
std::string storageSupport_;
std::string dbType_;
std::string zoneId_;
};

View File

@@ -34,6 +34,8 @@ public:
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getIsOnlyGetCluster() const;
void setIsOnlyGetCluster(bool isOnlyGetCluster);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSecurityToken() const;
@@ -54,6 +56,7 @@ public:
private:
long resourceOwnerId_;
std::string accessKeyId_;
bool isOnlyGetCluster_;
std::string resourceGroupId_;
std::string securityToken_;
std::string engine_;

View File

@@ -58,6 +58,8 @@ public:
void setEngine(const std::string &engine);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getDBNodeType() const;
void setDBNodeType(const std::string &dBNodeType);
std::string getDBInstanceId() const;
void setDBInstanceId(const std::string &dBInstanceId);
std::string getDBInstanceDescription() const;
@@ -102,6 +104,7 @@ private:
std::string regionId_;
std::string engine_;
int pageSize_;
std::string dBNodeType_;
std::string dBInstanceId_;
std::string dBInstanceDescription_;
std::string dBInstanceStatus_;

View File

@@ -37,9 +37,18 @@ namespace AlibabaCloud
struct Coupon
{
std::string couponNo;
std::string activityCategory;
std::string description;
std::vector<std::string> promotionRuleIdList;
double priceBreakReduceValue;
double canPromFee;
std::string promotionOptionCode;
std::string isSelected;
std::string optionCode;
std::vector<std::string> targetArticleItemCodes;
std::string name;
double priceBreakThreshold;
double lackForPriceBreak;
};
std::vector<std::string> ruleIds1;
std::string currency;

View File

@@ -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_DDS_MODEL_TRANSFORMINSTANCECHARGETYPEREQUEST_H_
#define ALIBABACLOUD_DDS_MODEL_TRANSFORMINSTANCECHARGETYPEREQUEST_H_
#include <alibabacloud/dds/DdsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Dds {
namespace Model {
class ALIBABACLOUD_DDS_EXPORT TransformInstanceChargeTypeRequest : public RpcServiceRequest {
public:
TransformInstanceChargeTypeRequest();
~TransformInstanceChargeTypeRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getCouponNo() const;
void setCouponNo(const std::string &couponNo);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSecurityToken() const;
void setSecurityToken(const std::string &securityToken);
std::string getBusinessInfo() const;
void setBusinessInfo(const std::string &businessInfo);
long getPeriod() const;
void setPeriod(long period);
bool getAutoPay() const;
void setAutoPay(bool autoPay);
std::string getFromApp() const;
void setFromApp(const std::string &fromApp);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getOwnerAccount() const;
void setOwnerAccount(const std::string &ownerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getAutoRenew() const;
void setAutoRenew(const std::string &autoRenew);
std::string getChargeType() const;
void setChargeType(const std::string &chargeType);
private:
long resourceOwnerId_;
std::string couponNo_;
std::string accessKeyId_;
std::string securityToken_;
std::string businessInfo_;
long period_;
bool autoPay_;
std::string fromApp_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string instanceId_;
std::string autoRenew_;
std::string chargeType_;
};
} // namespace Model
} // namespace Dds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDS_MODEL_TRANSFORMINSTANCECHARGETYPEREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_DDS_MODEL_TRANSFORMINSTANCECHARGETYPERESULT_H_
#define ALIBABACLOUD_DDS_MODEL_TRANSFORMINSTANCECHARGETYPERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dds/DdsExport.h>
namespace AlibabaCloud
{
namespace Dds
{
namespace Model
{
class ALIBABACLOUD_DDS_EXPORT TransformInstanceChargeTypeResult : public ServiceResult
{
public:
TransformInstanceChargeTypeResult();
explicit TransformInstanceChargeTypeResult(const std::string &payload);
~TransformInstanceChargeTypeResult();
std::string getEndTime()const;
std::string getOrderId()const;
protected:
void parse(const std::string &payload);
private:
std::string endTime_;
std::string orderId_;
};
}
}
}
#endif // !ALIBABACLOUD_DDS_MODEL_TRANSFORMINSTANCECHARGETYPERESULT_H_

View File

@@ -56,6 +56,8 @@ public:
void setInstanceId(const std::string &instanceId);
std::string getAutoRenew() const;
void setAutoRenew(const std::string &autoRenew);
std::string getChargeType() const;
void setChargeType(const std::string &chargeType);
private:
long resourceOwnerId_;
@@ -71,6 +73,7 @@ private:
long ownerId_;
std::string instanceId_;
std::string autoRenew_;
std::string chargeType_;
};
} // namespace Model
} // namespace Dds