Support modifyInstnaceType.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2020-10-20 Version: patch
|
||||
- Support modifyInstnaceType.
|
||||
|
||||
2020-10-20 Version: patch
|
||||
- Add LivenessFaceVerify API.
|
||||
|
||||
|
||||
@@ -59,10 +59,14 @@ set(hbase_public_header_model
|
||||
include/alibabacloud/hbase/model/DescribeBackupSummaryResult.h
|
||||
include/alibabacloud/hbase/model/DescribeBackupTablesRequest.h
|
||||
include/alibabacloud/hbase/model/DescribeBackupTablesResult.h
|
||||
include/alibabacloud/hbase/model/DescribeClusterConnectionRequest.h
|
||||
include/alibabacloud/hbase/model/DescribeClusterConnectionResult.h
|
||||
include/alibabacloud/hbase/model/DescribeDBInstanceUsageRequest.h
|
||||
include/alibabacloud/hbase/model/DescribeDBInstanceUsageResult.h
|
||||
include/alibabacloud/hbase/model/DescribeDeletedInstancesRequest.h
|
||||
include/alibabacloud/hbase/model/DescribeDeletedInstancesResult.h
|
||||
include/alibabacloud/hbase/model/DescribeDiskWarningLineRequest.h
|
||||
include/alibabacloud/hbase/model/DescribeDiskWarningLineResult.h
|
||||
include/alibabacloud/hbase/model/DescribeEndpointsRequest.h
|
||||
include/alibabacloud/hbase/model/DescribeEndpointsResult.h
|
||||
include/alibabacloud/hbase/model/DescribeInstanceRequest.h
|
||||
@@ -109,10 +113,14 @@ set(hbase_public_header_model
|
||||
include/alibabacloud/hbase/model/ModifyBackupPlanConfigResult.h
|
||||
include/alibabacloud/hbase/model/ModifyClusterDeletionProtectionRequest.h
|
||||
include/alibabacloud/hbase/model/ModifyClusterDeletionProtectionResult.h
|
||||
include/alibabacloud/hbase/model/ModifyDiskWarningLineRequest.h
|
||||
include/alibabacloud/hbase/model/ModifyDiskWarningLineResult.h
|
||||
include/alibabacloud/hbase/model/ModifyInstanceMaintainTimeRequest.h
|
||||
include/alibabacloud/hbase/model/ModifyInstanceMaintainTimeResult.h
|
||||
include/alibabacloud/hbase/model/ModifyInstanceNameRequest.h
|
||||
include/alibabacloud/hbase/model/ModifyInstanceNameResult.h
|
||||
include/alibabacloud/hbase/model/ModifyInstanceTypeRequest.h
|
||||
include/alibabacloud/hbase/model/ModifyInstanceTypeResult.h
|
||||
include/alibabacloud/hbase/model/ModifyIpWhitelistRequest.h
|
||||
include/alibabacloud/hbase/model/ModifyIpWhitelistResult.h
|
||||
include/alibabacloud/hbase/model/ModifyMultiZoneClusterNodeTypeRequest.h
|
||||
@@ -129,6 +137,8 @@ set(hbase_public_header_model
|
||||
include/alibabacloud/hbase/model/QueryXpackRelateDBResult.h
|
||||
include/alibabacloud/hbase/model/RenewInstanceRequest.h
|
||||
include/alibabacloud/hbase/model/RenewInstanceResult.h
|
||||
include/alibabacloud/hbase/model/ResizeColdStorageSizeRequest.h
|
||||
include/alibabacloud/hbase/model/ResizeColdStorageSizeResult.h
|
||||
include/alibabacloud/hbase/model/ResizeDiskSizeRequest.h
|
||||
include/alibabacloud/hbase/model/ResizeDiskSizeResult.h
|
||||
include/alibabacloud/hbase/model/ResizeMultiZoneClusterDiskSizeRequest.h
|
||||
@@ -190,10 +200,14 @@ set(hbase_src
|
||||
src/model/DescribeBackupSummaryResult.cc
|
||||
src/model/DescribeBackupTablesRequest.cc
|
||||
src/model/DescribeBackupTablesResult.cc
|
||||
src/model/DescribeClusterConnectionRequest.cc
|
||||
src/model/DescribeClusterConnectionResult.cc
|
||||
src/model/DescribeDBInstanceUsageRequest.cc
|
||||
src/model/DescribeDBInstanceUsageResult.cc
|
||||
src/model/DescribeDeletedInstancesRequest.cc
|
||||
src/model/DescribeDeletedInstancesResult.cc
|
||||
src/model/DescribeDiskWarningLineRequest.cc
|
||||
src/model/DescribeDiskWarningLineResult.cc
|
||||
src/model/DescribeEndpointsRequest.cc
|
||||
src/model/DescribeEndpointsResult.cc
|
||||
src/model/DescribeInstanceRequest.cc
|
||||
@@ -240,10 +254,14 @@ set(hbase_src
|
||||
src/model/ModifyBackupPlanConfigResult.cc
|
||||
src/model/ModifyClusterDeletionProtectionRequest.cc
|
||||
src/model/ModifyClusterDeletionProtectionResult.cc
|
||||
src/model/ModifyDiskWarningLineRequest.cc
|
||||
src/model/ModifyDiskWarningLineResult.cc
|
||||
src/model/ModifyInstanceMaintainTimeRequest.cc
|
||||
src/model/ModifyInstanceMaintainTimeResult.cc
|
||||
src/model/ModifyInstanceNameRequest.cc
|
||||
src/model/ModifyInstanceNameResult.cc
|
||||
src/model/ModifyInstanceTypeRequest.cc
|
||||
src/model/ModifyInstanceTypeResult.cc
|
||||
src/model/ModifyIpWhitelistRequest.cc
|
||||
src/model/ModifyIpWhitelistResult.cc
|
||||
src/model/ModifyMultiZoneClusterNodeTypeRequest.cc
|
||||
@@ -260,6 +278,8 @@ set(hbase_src
|
||||
src/model/QueryXpackRelateDBResult.cc
|
||||
src/model/RenewInstanceRequest.cc
|
||||
src/model/RenewInstanceResult.cc
|
||||
src/model/ResizeColdStorageSizeRequest.cc
|
||||
src/model/ResizeColdStorageSizeResult.cc
|
||||
src/model/ResizeDiskSizeRequest.cc
|
||||
src/model/ResizeDiskSizeResult.cc
|
||||
src/model/ResizeMultiZoneClusterDiskSizeRequest.cc
|
||||
|
||||
@@ -60,10 +60,14 @@
|
||||
#include "model/DescribeBackupSummaryResult.h"
|
||||
#include "model/DescribeBackupTablesRequest.h"
|
||||
#include "model/DescribeBackupTablesResult.h"
|
||||
#include "model/DescribeClusterConnectionRequest.h"
|
||||
#include "model/DescribeClusterConnectionResult.h"
|
||||
#include "model/DescribeDBInstanceUsageRequest.h"
|
||||
#include "model/DescribeDBInstanceUsageResult.h"
|
||||
#include "model/DescribeDeletedInstancesRequest.h"
|
||||
#include "model/DescribeDeletedInstancesResult.h"
|
||||
#include "model/DescribeDiskWarningLineRequest.h"
|
||||
#include "model/DescribeDiskWarningLineResult.h"
|
||||
#include "model/DescribeEndpointsRequest.h"
|
||||
#include "model/DescribeEndpointsResult.h"
|
||||
#include "model/DescribeInstanceRequest.h"
|
||||
@@ -110,10 +114,14 @@
|
||||
#include "model/ModifyBackupPlanConfigResult.h"
|
||||
#include "model/ModifyClusterDeletionProtectionRequest.h"
|
||||
#include "model/ModifyClusterDeletionProtectionResult.h"
|
||||
#include "model/ModifyDiskWarningLineRequest.h"
|
||||
#include "model/ModifyDiskWarningLineResult.h"
|
||||
#include "model/ModifyInstanceMaintainTimeRequest.h"
|
||||
#include "model/ModifyInstanceMaintainTimeResult.h"
|
||||
#include "model/ModifyInstanceNameRequest.h"
|
||||
#include "model/ModifyInstanceNameResult.h"
|
||||
#include "model/ModifyInstanceTypeRequest.h"
|
||||
#include "model/ModifyInstanceTypeResult.h"
|
||||
#include "model/ModifyIpWhitelistRequest.h"
|
||||
#include "model/ModifyIpWhitelistResult.h"
|
||||
#include "model/ModifyMultiZoneClusterNodeTypeRequest.h"
|
||||
@@ -130,6 +138,8 @@
|
||||
#include "model/QueryXpackRelateDBResult.h"
|
||||
#include "model/RenewInstanceRequest.h"
|
||||
#include "model/RenewInstanceResult.h"
|
||||
#include "model/ResizeColdStorageSizeRequest.h"
|
||||
#include "model/ResizeColdStorageSizeResult.h"
|
||||
#include "model/ResizeDiskSizeRequest.h"
|
||||
#include "model/ResizeDiskSizeResult.h"
|
||||
#include "model/ResizeMultiZoneClusterDiskSizeRequest.h"
|
||||
@@ -216,12 +226,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeBackupTablesResult> DescribeBackupTablesOutcome;
|
||||
typedef std::future<DescribeBackupTablesOutcome> DescribeBackupTablesOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::DescribeBackupTablesRequest&, const DescribeBackupTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBackupTablesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeClusterConnectionResult> DescribeClusterConnectionOutcome;
|
||||
typedef std::future<DescribeClusterConnectionOutcome> DescribeClusterConnectionOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::DescribeClusterConnectionRequest&, const DescribeClusterConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBInstanceUsageResult> DescribeDBInstanceUsageOutcome;
|
||||
typedef std::future<DescribeDBInstanceUsageOutcome> DescribeDBInstanceUsageOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::DescribeDBInstanceUsageRequest&, const DescribeDBInstanceUsageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstanceUsageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDeletedInstancesResult> DescribeDeletedInstancesOutcome;
|
||||
typedef std::future<DescribeDeletedInstancesOutcome> DescribeDeletedInstancesOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::DescribeDeletedInstancesRequest&, const DescribeDeletedInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeletedInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDiskWarningLineResult> DescribeDiskWarningLineOutcome;
|
||||
typedef std::future<DescribeDiskWarningLineOutcome> DescribeDiskWarningLineOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::DescribeDiskWarningLineRequest&, const DescribeDiskWarningLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiskWarningLineAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeEndpointsResult> DescribeEndpointsOutcome;
|
||||
typedef std::future<DescribeEndpointsOutcome> DescribeEndpointsOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::DescribeEndpointsRequest&, const DescribeEndpointsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEndpointsAsyncHandler;
|
||||
@@ -291,12 +307,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyClusterDeletionProtectionResult> ModifyClusterDeletionProtectionOutcome;
|
||||
typedef std::future<ModifyClusterDeletionProtectionOutcome> ModifyClusterDeletionProtectionOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::ModifyClusterDeletionProtectionRequest&, const ModifyClusterDeletionProtectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyClusterDeletionProtectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDiskWarningLineResult> ModifyDiskWarningLineOutcome;
|
||||
typedef std::future<ModifyDiskWarningLineOutcome> ModifyDiskWarningLineOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::ModifyDiskWarningLineRequest&, const ModifyDiskWarningLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDiskWarningLineAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyInstanceMaintainTimeResult> ModifyInstanceMaintainTimeOutcome;
|
||||
typedef std::future<ModifyInstanceMaintainTimeOutcome> ModifyInstanceMaintainTimeOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::ModifyInstanceMaintainTimeRequest&, const ModifyInstanceMaintainTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceMaintainTimeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyInstanceNameResult> ModifyInstanceNameOutcome;
|
||||
typedef std::future<ModifyInstanceNameOutcome> ModifyInstanceNameOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::ModifyInstanceNameRequest&, const ModifyInstanceNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceNameAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyInstanceTypeResult> ModifyInstanceTypeOutcome;
|
||||
typedef std::future<ModifyInstanceTypeOutcome> ModifyInstanceTypeOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::ModifyInstanceTypeRequest&, const ModifyInstanceTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceTypeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyIpWhitelistResult> ModifyIpWhitelistOutcome;
|
||||
typedef std::future<ModifyIpWhitelistOutcome> ModifyIpWhitelistOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::ModifyIpWhitelistRequest&, const ModifyIpWhitelistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyIpWhitelistAsyncHandler;
|
||||
@@ -321,6 +343,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RenewInstanceResult> RenewInstanceOutcome;
|
||||
typedef std::future<RenewInstanceOutcome> RenewInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::RenewInstanceRequest&, const RenewInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResizeColdStorageSizeResult> ResizeColdStorageSizeOutcome;
|
||||
typedef std::future<ResizeColdStorageSizeOutcome> ResizeColdStorageSizeOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::ResizeColdStorageSizeRequest&, const ResizeColdStorageSizeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeColdStorageSizeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResizeDiskSizeResult> ResizeDiskSizeOutcome;
|
||||
typedef std::future<ResizeDiskSizeOutcome> ResizeDiskSizeOutcomeCallable;
|
||||
typedef std::function<void(const HBaseClient*, const Model::ResizeDiskSizeRequest&, const ResizeDiskSizeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeDiskSizeAsyncHandler;
|
||||
@@ -413,12 +438,18 @@ namespace AlibabaCloud
|
||||
DescribeBackupTablesOutcome describeBackupTables(const Model::DescribeBackupTablesRequest &request)const;
|
||||
void describeBackupTablesAsync(const Model::DescribeBackupTablesRequest& request, const DescribeBackupTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeBackupTablesOutcomeCallable describeBackupTablesCallable(const Model::DescribeBackupTablesRequest& request) const;
|
||||
DescribeClusterConnectionOutcome describeClusterConnection(const Model::DescribeClusterConnectionRequest &request)const;
|
||||
void describeClusterConnectionAsync(const Model::DescribeClusterConnectionRequest& request, const DescribeClusterConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeClusterConnectionOutcomeCallable describeClusterConnectionCallable(const Model::DescribeClusterConnectionRequest& request) const;
|
||||
DescribeDBInstanceUsageOutcome describeDBInstanceUsage(const Model::DescribeDBInstanceUsageRequest &request)const;
|
||||
void describeDBInstanceUsageAsync(const Model::DescribeDBInstanceUsageRequest& request, const DescribeDBInstanceUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBInstanceUsageOutcomeCallable describeDBInstanceUsageCallable(const Model::DescribeDBInstanceUsageRequest& request) const;
|
||||
DescribeDeletedInstancesOutcome describeDeletedInstances(const Model::DescribeDeletedInstancesRequest &request)const;
|
||||
void describeDeletedInstancesAsync(const Model::DescribeDeletedInstancesRequest& request, const DescribeDeletedInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDeletedInstancesOutcomeCallable describeDeletedInstancesCallable(const Model::DescribeDeletedInstancesRequest& request) const;
|
||||
DescribeDiskWarningLineOutcome describeDiskWarningLine(const Model::DescribeDiskWarningLineRequest &request)const;
|
||||
void describeDiskWarningLineAsync(const Model::DescribeDiskWarningLineRequest& request, const DescribeDiskWarningLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDiskWarningLineOutcomeCallable describeDiskWarningLineCallable(const Model::DescribeDiskWarningLineRequest& request) const;
|
||||
DescribeEndpointsOutcome describeEndpoints(const Model::DescribeEndpointsRequest &request)const;
|
||||
void describeEndpointsAsync(const Model::DescribeEndpointsRequest& request, const DescribeEndpointsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEndpointsOutcomeCallable describeEndpointsCallable(const Model::DescribeEndpointsRequest& request) const;
|
||||
@@ -488,12 +519,18 @@ namespace AlibabaCloud
|
||||
ModifyClusterDeletionProtectionOutcome modifyClusterDeletionProtection(const Model::ModifyClusterDeletionProtectionRequest &request)const;
|
||||
void modifyClusterDeletionProtectionAsync(const Model::ModifyClusterDeletionProtectionRequest& request, const ModifyClusterDeletionProtectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyClusterDeletionProtectionOutcomeCallable modifyClusterDeletionProtectionCallable(const Model::ModifyClusterDeletionProtectionRequest& request) const;
|
||||
ModifyDiskWarningLineOutcome modifyDiskWarningLine(const Model::ModifyDiskWarningLineRequest &request)const;
|
||||
void modifyDiskWarningLineAsync(const Model::ModifyDiskWarningLineRequest& request, const ModifyDiskWarningLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDiskWarningLineOutcomeCallable modifyDiskWarningLineCallable(const Model::ModifyDiskWarningLineRequest& request) const;
|
||||
ModifyInstanceMaintainTimeOutcome modifyInstanceMaintainTime(const Model::ModifyInstanceMaintainTimeRequest &request)const;
|
||||
void modifyInstanceMaintainTimeAsync(const Model::ModifyInstanceMaintainTimeRequest& request, const ModifyInstanceMaintainTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyInstanceMaintainTimeOutcomeCallable modifyInstanceMaintainTimeCallable(const Model::ModifyInstanceMaintainTimeRequest& request) const;
|
||||
ModifyInstanceNameOutcome modifyInstanceName(const Model::ModifyInstanceNameRequest &request)const;
|
||||
void modifyInstanceNameAsync(const Model::ModifyInstanceNameRequest& request, const ModifyInstanceNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyInstanceNameOutcomeCallable modifyInstanceNameCallable(const Model::ModifyInstanceNameRequest& request) const;
|
||||
ModifyInstanceTypeOutcome modifyInstanceType(const Model::ModifyInstanceTypeRequest &request)const;
|
||||
void modifyInstanceTypeAsync(const Model::ModifyInstanceTypeRequest& request, const ModifyInstanceTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyInstanceTypeOutcomeCallable modifyInstanceTypeCallable(const Model::ModifyInstanceTypeRequest& request) const;
|
||||
ModifyIpWhitelistOutcome modifyIpWhitelist(const Model::ModifyIpWhitelistRequest &request)const;
|
||||
void modifyIpWhitelistAsync(const Model::ModifyIpWhitelistRequest& request, const ModifyIpWhitelistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyIpWhitelistOutcomeCallable modifyIpWhitelistCallable(const Model::ModifyIpWhitelistRequest& request) const;
|
||||
@@ -518,6 +555,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
ResizeColdStorageSizeOutcome resizeColdStorageSize(const Model::ResizeColdStorageSizeRequest &request)const;
|
||||
void resizeColdStorageSizeAsync(const Model::ResizeColdStorageSizeRequest& request, const ResizeColdStorageSizeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResizeColdStorageSizeOutcomeCallable resizeColdStorageSizeCallable(const Model::ResizeColdStorageSizeRequest& request) const;
|
||||
ResizeDiskSizeOutcome resizeDiskSize(const Model::ResizeDiskSizeRequest &request)const;
|
||||
void resizeDiskSizeAsync(const Model::ResizeDiskSizeRequest& request, const ResizeDiskSizeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResizeDiskSizeOutcomeCallable resizeDiskSizeCallable(const Model::ResizeDiskSizeRequest& request) const;
|
||||
|
||||
@@ -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_DESCRIBECLUSTERCONNECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBECLUSTERCONNECTIONREQUEST_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 DescribeClusterConnectionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeClusterConnectionRequest();
|
||||
~DescribeClusterConnectionRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBECLUSTERCONNECTIONREQUEST_H_
|
||||
@@ -0,0 +1,109 @@
|
||||
/*
|
||||
* 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_DESCRIBECLUSTERCONNECTIONRESULT_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBECLUSTERCONNECTIONRESULT_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 DescribeClusterConnectionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UiProxyConnAddrInfo
|
||||
{
|
||||
std::string connAddrPort;
|
||||
std::string connAddr;
|
||||
std::string netType;
|
||||
};
|
||||
struct ThriftConn
|
||||
{
|
||||
std::string connAddrPort;
|
||||
std::string connAddr;
|
||||
std::string netType;
|
||||
};
|
||||
struct ZkConnAddr
|
||||
{
|
||||
std::string connAddrPort;
|
||||
std::string connAddr;
|
||||
std::string netType;
|
||||
};
|
||||
struct SlbConnAddr
|
||||
{
|
||||
struct ConnAddrInfo
|
||||
{
|
||||
std::string connAddrPort;
|
||||
std::string connAddr;
|
||||
std::string netType;
|
||||
};
|
||||
ConnAddrInfo connAddrInfo;
|
||||
std::string slbType;
|
||||
};
|
||||
struct ServiceConnAddr
|
||||
{
|
||||
struct ConnAddrInfo1
|
||||
{
|
||||
std::string connAddrPort;
|
||||
std::string connAddr;
|
||||
std::string netType;
|
||||
};
|
||||
std::string connType;
|
||||
ConnAddrInfo1 connAddrInfo1;
|
||||
};
|
||||
|
||||
|
||||
DescribeClusterConnectionResult();
|
||||
explicit DescribeClusterConnectionResult(const std::string &payload);
|
||||
~DescribeClusterConnectionResult();
|
||||
std::string getIsMultimod()const;
|
||||
UiProxyConnAddrInfo getUiProxyConnAddrInfo()const;
|
||||
std::string getVpcId()const;
|
||||
std::string getVSwitchId()const;
|
||||
std::vector<ServiceConnAddr> getServiceConnAddrs()const;
|
||||
std::string getNetType()const;
|
||||
ThriftConn getThriftConn()const;
|
||||
std::string getDbType()const;
|
||||
std::vector<ZkConnAddr> getZkConnAddrs()const;
|
||||
std::vector<SlbConnAddr> getSlbConnAddrs()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string isMultimod_;
|
||||
UiProxyConnAddrInfo uiProxyConnAddrInfo_;
|
||||
std::string vpcId_;
|
||||
std::string vSwitchId_;
|
||||
std::vector<ServiceConnAddr> serviceConnAddrs_;
|
||||
std::string netType_;
|
||||
ThriftConn thriftConn_;
|
||||
std::string dbType_;
|
||||
std::vector<ZkConnAddr> zkConnAddrs_;
|
||||
std::vector<SlbConnAddr> slbConnAddrs_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBECLUSTERCONNECTIONRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* 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_DESCRIBEDISKWARNINGLINEREQUEST_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBEDISKWARNINGLINEREQUEST_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 DescribeDiskWarningLineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDiskWarningLineRequest();
|
||||
~DescribeDiskWarningLineRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEDISKWARNINGLINEREQUEST_H_
|
||||
@@ -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_DESCRIBEDISKWARNINGLINERESULT_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBEDISKWARNINGLINERESULT_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 DescribeDiskWarningLineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeDiskWarningLineResult();
|
||||
explicit DescribeDiskWarningLineResult(const std::string &payload);
|
||||
~DescribeDiskWarningLineResult();
|
||||
std::string getWarningLine()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string warningLine_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEDISKWARNINGLINERESULT_H_
|
||||
@@ -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_MODIFYDISKWARNINGLINEREQUEST_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_MODIFYDISKWARNINGLINEREQUEST_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 ModifyDiskWarningLineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDiskWarningLineRequest();
|
||||
~ModifyDiskWarningLineRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
int getWarningLine()const;
|
||||
void setWarningLine(int warningLine);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
int warningLine_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_MODIFYDISKWARNINGLINEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_MODIFYDISKWARNINGLINERESULT_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_MODIFYDISKWARNINGLINERESULT_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 ModifyDiskWarningLineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDiskWarningLineResult();
|
||||
explicit ModifyDiskWarningLineResult(const std::string &payload);
|
||||
~ModifyDiskWarningLineResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_MODIFYDISKWARNINGLINERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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_MODIFYINSTANCETYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_MODIFYINSTANCETYPEREQUEST_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 ModifyInstanceTypeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyInstanceTypeRequest();
|
||||
~ModifyInstanceTypeRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getMasterInstanceType()const;
|
||||
void setMasterInstanceType(const std::string& masterInstanceType);
|
||||
std::string getCoreInstanceType()const;
|
||||
void setCoreInstanceType(const std::string& coreInstanceType);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
std::string masterInstanceType_;
|
||||
std::string coreInstanceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_MODIFYINSTANCETYPEREQUEST_H_
|
||||
@@ -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_MODIFYINSTANCETYPERESULT_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_MODIFYINSTANCETYPERESULT_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 ModifyInstanceTypeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyInstanceTypeResult();
|
||||
explicit ModifyInstanceTypeResult(const std::string &payload);
|
||||
~ModifyInstanceTypeResult();
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_MODIFYINSTANCETYPERESULT_H_
|
||||
@@ -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_RESIZECOLDSTORAGESIZEREQUEST_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_RESIZECOLDSTORAGESIZEREQUEST_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 ResizeColdStorageSizeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ResizeColdStorageSizeRequest();
|
||||
~ResizeColdStorageSizeRequest();
|
||||
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
int getColdStorageSize()const;
|
||||
void setColdStorageSize(int coldStorageSize);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
int coldStorageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_RESIZECOLDSTORAGESIZEREQUEST_H_
|
||||
@@ -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_RESIZECOLDSTORAGESIZERESULT_H_
|
||||
#define ALIBABACLOUD_HBASE_MODEL_RESIZECOLDSTORAGESIZERESULT_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 ResizeColdStorageSizeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResizeColdStorageSizeResult();
|
||||
explicit ResizeColdStorageSizeResult(const std::string &payload);
|
||||
~ResizeColdStorageSizeResult();
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HBASE_MODEL_RESIZECOLDSTORAGESIZERESULT_H_
|
||||
@@ -735,6 +735,42 @@ HBaseClient::DescribeBackupTablesOutcomeCallable HBaseClient::describeBackupTabl
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HBaseClient::DescribeClusterConnectionOutcome HBaseClient::describeClusterConnection(const DescribeClusterConnectionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeClusterConnectionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeClusterConnectionOutcome(DescribeClusterConnectionResult(outcome.result()));
|
||||
else
|
||||
return DescribeClusterConnectionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HBaseClient::describeClusterConnectionAsync(const DescribeClusterConnectionRequest& request, const DescribeClusterConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeClusterConnection(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HBaseClient::DescribeClusterConnectionOutcomeCallable HBaseClient::describeClusterConnectionCallable(const DescribeClusterConnectionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeClusterConnectionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeClusterConnection(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HBaseClient::DescribeDBInstanceUsageOutcome HBaseClient::describeDBInstanceUsage(const DescribeDBInstanceUsageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -807,6 +843,42 @@ HBaseClient::DescribeDeletedInstancesOutcomeCallable HBaseClient::describeDelete
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HBaseClient::DescribeDiskWarningLineOutcome HBaseClient::describeDiskWarningLine(const DescribeDiskWarningLineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDiskWarningLineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDiskWarningLineOutcome(DescribeDiskWarningLineResult(outcome.result()));
|
||||
else
|
||||
return DescribeDiskWarningLineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HBaseClient::describeDiskWarningLineAsync(const DescribeDiskWarningLineRequest& request, const DescribeDiskWarningLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDiskWarningLine(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HBaseClient::DescribeDiskWarningLineOutcomeCallable HBaseClient::describeDiskWarningLineCallable(const DescribeDiskWarningLineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDiskWarningLineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDiskWarningLine(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HBaseClient::DescribeEndpointsOutcome HBaseClient::describeEndpoints(const DescribeEndpointsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1635,6 +1707,42 @@ HBaseClient::ModifyClusterDeletionProtectionOutcomeCallable HBaseClient::modifyC
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HBaseClient::ModifyDiskWarningLineOutcome HBaseClient::modifyDiskWarningLine(const ModifyDiskWarningLineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyDiskWarningLineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyDiskWarningLineOutcome(ModifyDiskWarningLineResult(outcome.result()));
|
||||
else
|
||||
return ModifyDiskWarningLineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HBaseClient::modifyDiskWarningLineAsync(const ModifyDiskWarningLineRequest& request, const ModifyDiskWarningLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyDiskWarningLine(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HBaseClient::ModifyDiskWarningLineOutcomeCallable HBaseClient::modifyDiskWarningLineCallable(const ModifyDiskWarningLineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyDiskWarningLineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyDiskWarningLine(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HBaseClient::ModifyInstanceMaintainTimeOutcome HBaseClient::modifyInstanceMaintainTime(const ModifyInstanceMaintainTimeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1707,6 +1815,42 @@ HBaseClient::ModifyInstanceNameOutcomeCallable HBaseClient::modifyInstanceNameCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HBaseClient::ModifyInstanceTypeOutcome HBaseClient::modifyInstanceType(const ModifyInstanceTypeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyInstanceTypeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyInstanceTypeOutcome(ModifyInstanceTypeResult(outcome.result()));
|
||||
else
|
||||
return ModifyInstanceTypeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HBaseClient::modifyInstanceTypeAsync(const ModifyInstanceTypeRequest& request, const ModifyInstanceTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyInstanceType(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HBaseClient::ModifyInstanceTypeOutcomeCallable HBaseClient::modifyInstanceTypeCallable(const ModifyInstanceTypeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyInstanceTypeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyInstanceType(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HBaseClient::ModifyIpWhitelistOutcome HBaseClient::modifyIpWhitelist(const ModifyIpWhitelistRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1995,6 +2139,42 @@ HBaseClient::RenewInstanceOutcomeCallable HBaseClient::renewInstanceCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HBaseClient::ResizeColdStorageSizeOutcome HBaseClient::resizeColdStorageSize(const ResizeColdStorageSizeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ResizeColdStorageSizeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ResizeColdStorageSizeOutcome(ResizeColdStorageSizeResult(outcome.result()));
|
||||
else
|
||||
return ResizeColdStorageSizeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HBaseClient::resizeColdStorageSizeAsync(const ResizeColdStorageSizeRequest& request, const ResizeColdStorageSizeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, resizeColdStorageSize(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HBaseClient::ResizeColdStorageSizeOutcomeCallable HBaseClient::resizeColdStorageSizeCallable(const ResizeColdStorageSizeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ResizeColdStorageSizeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->resizeColdStorageSize(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HBaseClient::ResizeDiskSizeOutcome HBaseClient::resizeDiskSize(const ResizeDiskSizeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
51
hbase/src/model/DescribeClusterConnectionRequest.cc
Normal file
51
hbase/src/model/DescribeClusterConnectionRequest.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/DescribeClusterConnectionRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::DescribeClusterConnectionRequest;
|
||||
|
||||
DescribeClusterConnectionRequest::DescribeClusterConnectionRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "DescribeClusterConnection")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeClusterConnectionRequest::~DescribeClusterConnectionRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClusterConnectionRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeClusterConnectionRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DescribeClusterConnectionRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeClusterConnectionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
160
hbase/src/model/DescribeClusterConnectionResult.cc
Normal file
160
hbase/src/model/DescribeClusterConnectionResult.cc
Normal file
@@ -0,0 +1,160 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/DescribeClusterConnectionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
DescribeClusterConnectionResult::DescribeClusterConnectionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterConnectionResult::DescribeClusterConnectionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterConnectionResult::~DescribeClusterConnectionResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterConnectionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allZkConnAddrsNode = value["ZkConnAddrs"]["ZkConnAddr"];
|
||||
for (auto valueZkConnAddrsZkConnAddr : allZkConnAddrsNode)
|
||||
{
|
||||
ZkConnAddr zkConnAddrsObject;
|
||||
if(!valueZkConnAddrsZkConnAddr["ConnAddr"].isNull())
|
||||
zkConnAddrsObject.connAddr = valueZkConnAddrsZkConnAddr["ConnAddr"].asString();
|
||||
if(!valueZkConnAddrsZkConnAddr["ConnAddrPort"].isNull())
|
||||
zkConnAddrsObject.connAddrPort = valueZkConnAddrsZkConnAddr["ConnAddrPort"].asString();
|
||||
if(!valueZkConnAddrsZkConnAddr["NetType"].isNull())
|
||||
zkConnAddrsObject.netType = valueZkConnAddrsZkConnAddr["NetType"].asString();
|
||||
zkConnAddrs_.push_back(zkConnAddrsObject);
|
||||
}
|
||||
auto allSlbConnAddrsNode = value["SlbConnAddrs"]["SlbConnAddr"];
|
||||
for (auto valueSlbConnAddrsSlbConnAddr : allSlbConnAddrsNode)
|
||||
{
|
||||
SlbConnAddr slbConnAddrsObject;
|
||||
if(!valueSlbConnAddrsSlbConnAddr["SlbType"].isNull())
|
||||
slbConnAddrsObject.slbType = valueSlbConnAddrsSlbConnAddr["SlbType"].asString();
|
||||
auto connAddrInfoNode = value["ConnAddrInfo"];
|
||||
if(!connAddrInfoNode["ConnAddr"].isNull())
|
||||
slbConnAddrsObject.connAddrInfo.connAddr = connAddrInfoNode["ConnAddr"].asString();
|
||||
if(!connAddrInfoNode["ConnAddrPort"].isNull())
|
||||
slbConnAddrsObject.connAddrInfo.connAddrPort = connAddrInfoNode["ConnAddrPort"].asString();
|
||||
if(!connAddrInfoNode["NetType"].isNull())
|
||||
slbConnAddrsObject.connAddrInfo.netType = connAddrInfoNode["NetType"].asString();
|
||||
slbConnAddrs_.push_back(slbConnAddrsObject);
|
||||
}
|
||||
auto allServiceConnAddrsNode = value["ServiceConnAddrs"]["ServiceConnAddr"];
|
||||
for (auto valueServiceConnAddrsServiceConnAddr : allServiceConnAddrsNode)
|
||||
{
|
||||
ServiceConnAddr serviceConnAddrsObject;
|
||||
if(!valueServiceConnAddrsServiceConnAddr["ConnType"].isNull())
|
||||
serviceConnAddrsObject.connType = valueServiceConnAddrsServiceConnAddr["ConnType"].asString();
|
||||
auto connAddrInfo1Node = value["ConnAddrInfo"];
|
||||
if(!connAddrInfo1Node["ConnAddr"].isNull())
|
||||
serviceConnAddrsObject.connAddrInfo1.connAddr = connAddrInfo1Node["ConnAddr"].asString();
|
||||
if(!connAddrInfo1Node["ConnAddrPort"].isNull())
|
||||
serviceConnAddrsObject.connAddrInfo1.connAddrPort = connAddrInfo1Node["ConnAddrPort"].asString();
|
||||
if(!connAddrInfo1Node["NetType"].isNull())
|
||||
serviceConnAddrsObject.connAddrInfo1.netType = connAddrInfo1Node["NetType"].asString();
|
||||
serviceConnAddrs_.push_back(serviceConnAddrsObject);
|
||||
}
|
||||
auto uiProxyConnAddrInfoNode = value["UiProxyConnAddrInfo"];
|
||||
if(!uiProxyConnAddrInfoNode["ConnAddr"].isNull())
|
||||
uiProxyConnAddrInfo_.connAddr = uiProxyConnAddrInfoNode["ConnAddr"].asString();
|
||||
if(!uiProxyConnAddrInfoNode["ConnAddrPort"].isNull())
|
||||
uiProxyConnAddrInfo_.connAddrPort = uiProxyConnAddrInfoNode["ConnAddrPort"].asString();
|
||||
if(!uiProxyConnAddrInfoNode["NetType"].isNull())
|
||||
uiProxyConnAddrInfo_.netType = uiProxyConnAddrInfoNode["NetType"].asString();
|
||||
auto thriftConnNode = value["ThriftConn"];
|
||||
if(!thriftConnNode["ConnAddr"].isNull())
|
||||
thriftConn_.connAddr = thriftConnNode["ConnAddr"].asString();
|
||||
if(!thriftConnNode["ConnAddrPort"].isNull())
|
||||
thriftConn_.connAddrPort = thriftConnNode["ConnAddrPort"].asString();
|
||||
if(!thriftConnNode["NetType"].isNull())
|
||||
thriftConn_.netType = thriftConnNode["NetType"].asString();
|
||||
if(!value["NetType"].isNull())
|
||||
netType_ = value["NetType"].asString();
|
||||
if(!value["VpcId"].isNull())
|
||||
vpcId_ = value["VpcId"].asString();
|
||||
if(!value["VSwitchId"].isNull())
|
||||
vSwitchId_ = value["VSwitchId"].asString();
|
||||
if(!value["DbType"].isNull())
|
||||
dbType_ = value["DbType"].asString();
|
||||
if(!value["IsMultimod"].isNull())
|
||||
isMultimod_ = value["IsMultimod"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeClusterConnectionResult::getIsMultimod()const
|
||||
{
|
||||
return isMultimod_;
|
||||
}
|
||||
|
||||
DescribeClusterConnectionResult::UiProxyConnAddrInfo DescribeClusterConnectionResult::getUiProxyConnAddrInfo()const
|
||||
{
|
||||
return uiProxyConnAddrInfo_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterConnectionResult::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterConnectionResult::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
std::vector<DescribeClusterConnectionResult::ServiceConnAddr> DescribeClusterConnectionResult::getServiceConnAddrs()const
|
||||
{
|
||||
return serviceConnAddrs_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterConnectionResult::getNetType()const
|
||||
{
|
||||
return netType_;
|
||||
}
|
||||
|
||||
DescribeClusterConnectionResult::ThriftConn DescribeClusterConnectionResult::getThriftConn()const
|
||||
{
|
||||
return thriftConn_;
|
||||
}
|
||||
|
||||
std::string DescribeClusterConnectionResult::getDbType()const
|
||||
{
|
||||
return dbType_;
|
||||
}
|
||||
|
||||
std::vector<DescribeClusterConnectionResult::ZkConnAddr> DescribeClusterConnectionResult::getZkConnAddrs()const
|
||||
{
|
||||
return zkConnAddrs_;
|
||||
}
|
||||
|
||||
std::vector<DescribeClusterConnectionResult::SlbConnAddr> DescribeClusterConnectionResult::getSlbConnAddrs()const
|
||||
{
|
||||
return slbConnAddrs_;
|
||||
}
|
||||
|
||||
40
hbase/src/model/DescribeDiskWarningLineRequest.cc
Normal file
40
hbase/src/model/DescribeDiskWarningLineRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/DescribeDiskWarningLineRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::DescribeDiskWarningLineRequest;
|
||||
|
||||
DescribeDiskWarningLineRequest::DescribeDiskWarningLineRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "DescribeDiskWarningLine")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDiskWarningLineRequest::~DescribeDiskWarningLineRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDiskWarningLineRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeDiskWarningLineRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
51
hbase/src/model/DescribeDiskWarningLineResult.cc
Normal file
51
hbase/src/model/DescribeDiskWarningLineResult.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/DescribeDiskWarningLineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
DescribeDiskWarningLineResult::DescribeDiskWarningLineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDiskWarningLineResult::DescribeDiskWarningLineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDiskWarningLineResult::~DescribeDiskWarningLineResult()
|
||||
{}
|
||||
|
||||
void DescribeDiskWarningLineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["WarningLine"].isNull())
|
||||
warningLine_ = value["WarningLine"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDiskWarningLineResult::getWarningLine()const
|
||||
{
|
||||
return warningLine_;
|
||||
}
|
||||
|
||||
51
hbase/src/model/ModifyDiskWarningLineRequest.cc
Normal file
51
hbase/src/model/ModifyDiskWarningLineRequest.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/ModifyDiskWarningLineRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::ModifyDiskWarningLineRequest;
|
||||
|
||||
ModifyDiskWarningLineRequest::ModifyDiskWarningLineRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "ModifyDiskWarningLine")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyDiskWarningLineRequest::~ModifyDiskWarningLineRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyDiskWarningLineRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void ModifyDiskWarningLineRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
int ModifyDiskWarningLineRequest::getWarningLine()const
|
||||
{
|
||||
return warningLine_;
|
||||
}
|
||||
|
||||
void ModifyDiskWarningLineRequest::setWarningLine(int warningLine)
|
||||
{
|
||||
warningLine_ = warningLine;
|
||||
setParameter("WarningLine", std::to_string(warningLine));
|
||||
}
|
||||
|
||||
44
hbase/src/model/ModifyDiskWarningLineResult.cc
Normal file
44
hbase/src/model/ModifyDiskWarningLineResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/ModifyDiskWarningLineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
ModifyDiskWarningLineResult::ModifyDiskWarningLineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyDiskWarningLineResult::ModifyDiskWarningLineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyDiskWarningLineResult::~ModifyDiskWarningLineResult()
|
||||
{}
|
||||
|
||||
void ModifyDiskWarningLineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
62
hbase/src/model/ModifyInstanceTypeRequest.cc
Normal file
62
hbase/src/model/ModifyInstanceTypeRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/ModifyInstanceTypeRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::ModifyInstanceTypeRequest;
|
||||
|
||||
ModifyInstanceTypeRequest::ModifyInstanceTypeRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "ModifyInstanceType")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyInstanceTypeRequest::~ModifyInstanceTypeRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyInstanceTypeRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void ModifyInstanceTypeRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string ModifyInstanceTypeRequest::getMasterInstanceType()const
|
||||
{
|
||||
return masterInstanceType_;
|
||||
}
|
||||
|
||||
void ModifyInstanceTypeRequest::setMasterInstanceType(const std::string& masterInstanceType)
|
||||
{
|
||||
masterInstanceType_ = masterInstanceType;
|
||||
setParameter("MasterInstanceType", masterInstanceType);
|
||||
}
|
||||
|
||||
std::string ModifyInstanceTypeRequest::getCoreInstanceType()const
|
||||
{
|
||||
return coreInstanceType_;
|
||||
}
|
||||
|
||||
void ModifyInstanceTypeRequest::setCoreInstanceType(const std::string& coreInstanceType)
|
||||
{
|
||||
coreInstanceType_ = coreInstanceType;
|
||||
setParameter("CoreInstanceType", coreInstanceType);
|
||||
}
|
||||
|
||||
51
hbase/src/model/ModifyInstanceTypeResult.cc
Normal file
51
hbase/src/model/ModifyInstanceTypeResult.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/ModifyInstanceTypeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
ModifyInstanceTypeResult::ModifyInstanceTypeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyInstanceTypeResult::ModifyInstanceTypeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyInstanceTypeResult::~ModifyInstanceTypeResult()
|
||||
{}
|
||||
|
||||
void ModifyInstanceTypeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ModifyInstanceTypeResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
51
hbase/src/model/ResizeColdStorageSizeRequest.cc
Normal file
51
hbase/src/model/ResizeColdStorageSizeRequest.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/ResizeColdStorageSizeRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::ResizeColdStorageSizeRequest;
|
||||
|
||||
ResizeColdStorageSizeRequest::ResizeColdStorageSizeRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "ResizeColdStorageSize")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ResizeColdStorageSizeRequest::~ResizeColdStorageSizeRequest()
|
||||
{}
|
||||
|
||||
std::string ResizeColdStorageSizeRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void ResizeColdStorageSizeRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
int ResizeColdStorageSizeRequest::getColdStorageSize()const
|
||||
{
|
||||
return coldStorageSize_;
|
||||
}
|
||||
|
||||
void ResizeColdStorageSizeRequest::setColdStorageSize(int coldStorageSize)
|
||||
{
|
||||
coldStorageSize_ = coldStorageSize;
|
||||
setParameter("ColdStorageSize", std::to_string(coldStorageSize));
|
||||
}
|
||||
|
||||
51
hbase/src/model/ResizeColdStorageSizeResult.cc
Normal file
51
hbase/src/model/ResizeColdStorageSizeResult.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/ResizeColdStorageSizeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
ResizeColdStorageSizeResult::ResizeColdStorageSizeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ResizeColdStorageSizeResult::ResizeColdStorageSizeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ResizeColdStorageSizeResult::~ResizeColdStorageSizeResult()
|
||||
{}
|
||||
|
||||
void ResizeColdStorageSizeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ResizeColdStorageSizeResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user