ConvertInstance.
This commit is contained in:
@@ -120,6 +120,8 @@
|
||||
#include "model/DescribeRestoreTablesResult.h"
|
||||
#include "model/DescribeSecurityGroupsRequest.h"
|
||||
#include "model/DescribeSecurityGroupsResult.h"
|
||||
#include "model/DescribeServerlessClusterRequest.h"
|
||||
#include "model/DescribeServerlessClusterResult.h"
|
||||
#include "model/DescribeSubDomainRequest.h"
|
||||
#include "model/DescribeSubDomainResult.h"
|
||||
#include "model/EnableHBaseueBackupRequest.h"
|
||||
@@ -360,6 +362,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeSecurityGroupsResult> DescribeSecurityGroupsOutcome;
|
||||
typedef std::future<DescribeSecurityGroupsOutcome> DescribeSecurityGroupsOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::DescribeSecurityGroupsRequest&, const DescribeSecurityGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecurityGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeServerlessClusterResult> DescribeServerlessClusterOutcome;
|
||||
typedef std::future<DescribeServerlessClusterOutcome> DescribeServerlessClusterOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::DescribeServerlessClusterRequest&, const DescribeServerlessClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServerlessClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSubDomainResult> DescribeSubDomainOutcome;
|
||||
typedef std::future<DescribeSubDomainOutcome> DescribeSubDomainOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::DescribeSubDomainRequest&, const DescribeSubDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubDomainAsyncHandler;
|
||||
@@ -638,6 +643,9 @@ namespace AlibabaCloud
|
||||
DescribeSecurityGroupsOutcome describeSecurityGroups(const Model::DescribeSecurityGroupsRequest &request)const;
|
||||
void describeSecurityGroupsAsync(const Model::DescribeSecurityGroupsRequest& request, const DescribeSecurityGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSecurityGroupsOutcomeCallable describeSecurityGroupsCallable(const Model::DescribeSecurityGroupsRequest& request) const;
|
||||
DescribeServerlessClusterOutcome describeServerlessCluster(const Model::DescribeServerlessClusterRequest &request)const;
|
||||
void describeServerlessClusterAsync(const Model::DescribeServerlessClusterRequest& request, const DescribeServerlessClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeServerlessClusterOutcomeCallable describeServerlessClusterCallable(const Model::DescribeServerlessClusterRequest& request) const;
|
||||
DescribeSubDomainOutcome describeSubDomain(const Model::DescribeSubDomainRequest &request)const;
|
||||
void describeSubDomainAsync(const Model::DescribeSubDomainRequest& request, const DescribeSubDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSubDomainOutcomeCallable describeSubDomainCallable(const Model::DescribeSubDomainRequest& request) const;
|
||||
|
||||
@@ -35,17 +35,20 @@ namespace AlibabaCloud
|
||||
ConvertInstanceRequest();
|
||||
~ConvertInstanceRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
int duration_;
|
||||
std::string clusterId_;
|
||||
std::string pricingCycle_;
|
||||
std::string payType_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -53,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setAutoRenewPeriod(int autoRenewPeriod);
|
||||
int getPeriod()const;
|
||||
void setPeriod(int period);
|
||||
std::string getDiskType()const;
|
||||
void setDiskType(const std::string& diskType);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getPeriodUnit()const;
|
||||
@@ -80,6 +82,7 @@ namespace AlibabaCloud
|
||||
std::string engine_;
|
||||
int autoRenewPeriod_;
|
||||
int period_;
|
||||
std::string diskType_;
|
||||
std::string vSwitchId_;
|
||||
std::string periodUnit_;
|
||||
int serverlessCapability_;
|
||||
|
||||
@@ -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_HBASE_MODEL_DESCRIBESERVERLESSCLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBESERVERLESSCLUSTERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hbase/HBaseExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace HBase
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HBASE_EXPORT DescribeServerlessClusterRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeServerlessClusterRequest();
|
||||
~DescribeServerlessClusterRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
std::string zoneId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBESERVERLESSCLUSTERREQUEST_H_
|
||||
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HBASE_MODEL_DESCRIBESERVERLESSCLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBESERVERLESSCLUSTERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hbase/HBaseExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace HBase
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HBASE_EXPORT DescribeServerlessClusterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeServerlessClusterResult();
|
||||
explicit DescribeServerlessClusterResult(const std::string &payload);
|
||||
~DescribeServerlessClusterResult();
|
||||
std::string getUpdateStatus()const;
|
||||
std::string getResourceGroupId()const;
|
||||
std::string getOuterEndpoint()const;
|
||||
std::string getAutoRenew()const;
|
||||
std::string getReserverMinQpsNum()const;
|
||||
std::string getIsDeletionProtection()const;
|
||||
std::string getDiskSize()const;
|
||||
std::string getReserverMaxQpsNum()const;
|
||||
std::string getCuSize()const;
|
||||
std::string getStatus()const;
|
||||
std::string getInnerEndpoint()const;
|
||||
std::string getMainVersion()const;
|
||||
std::string getZoneId()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getHasUser()const;
|
||||
std::string getVSwitchId()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getHaType()const;
|
||||
std::string getClusterType()const;
|
||||
std::string getLockMode()const;
|
||||
std::string getPayType()const;
|
||||
std::string getInstanceName()const;
|
||||
std::string getVpcId()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getExpireTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string updateStatus_;
|
||||
std::string resourceGroupId_;
|
||||
std::string outerEndpoint_;
|
||||
std::string autoRenew_;
|
||||
std::string reserverMinQpsNum_;
|
||||
std::string isDeletionProtection_;
|
||||
std::string diskSize_;
|
||||
std::string reserverMaxQpsNum_;
|
||||
std::string cuSize_;
|
||||
std::string status_;
|
||||
std::string innerEndpoint_;
|
||||
std::string mainVersion_;
|
||||
std::string zoneId_;
|
||||
std::string instanceId_;
|
||||
std::string hasUser_;
|
||||
std::string vSwitchId_;
|
||||
std::string createTime_;
|
||||
std::string haType_;
|
||||
std::string clusterType_;
|
||||
std::string lockMode_;
|
||||
std::string payType_;
|
||||
std::string instanceName_;
|
||||
std::string vpcId_;
|
||||
std::string regionId_;
|
||||
std::string expireTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBESERVERLESSCLUSTERRESULT_H_
|
||||
Reference in New Issue
Block a user