Add 2019 openapi.
This commit is contained in:
51
hbase/src/model/AllocatePublicNetworkAddressRequest.cc
Normal file
51
hbase/src/model/AllocatePublicNetworkAddressRequest.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/AllocatePublicNetworkAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::AllocatePublicNetworkAddressRequest;
|
||||
|
||||
AllocatePublicNetworkAddressRequest::AllocatePublicNetworkAddressRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "AllocatePublicNetworkAddress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AllocatePublicNetworkAddressRequest::~AllocatePublicNetworkAddressRequest()
|
||||
{}
|
||||
|
||||
std::string AllocatePublicNetworkAddressRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AllocatePublicNetworkAddressRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AllocatePublicNetworkAddressRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void AllocatePublicNetworkAddressRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
44
hbase/src/model/AllocatePublicNetworkAddressResult.cc
Normal file
44
hbase/src/model/AllocatePublicNetworkAddressResult.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/AllocatePublicNetworkAddressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
AllocatePublicNetworkAddressResult::AllocatePublicNetworkAddressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AllocatePublicNetworkAddressResult::AllocatePublicNetworkAddressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AllocatePublicNetworkAddressResult::~AllocatePublicNetworkAddressResult()
|
||||
{}
|
||||
|
||||
void AllocatePublicNetworkAddressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
51
hbase/src/model/CheckComponentsVersionRequest.cc
Normal file
51
hbase/src/model/CheckComponentsVersionRequest.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/CheckComponentsVersionRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::CheckComponentsVersionRequest;
|
||||
|
||||
CheckComponentsVersionRequest::CheckComponentsVersionRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "CheckComponentsVersion")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckComponentsVersionRequest::~CheckComponentsVersionRequest()
|
||||
{}
|
||||
|
||||
std::string CheckComponentsVersionRequest::getComponents()const
|
||||
{
|
||||
return components_;
|
||||
}
|
||||
|
||||
void CheckComponentsVersionRequest::setComponents(const std::string& components)
|
||||
{
|
||||
components_ = components;
|
||||
setParameter("Components", components);
|
||||
}
|
||||
|
||||
std::string CheckComponentsVersionRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void CheckComponentsVersionRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
59
hbase/src/model/CheckComponentsVersionResult.cc
Normal file
59
hbase/src/model/CheckComponentsVersionResult.cc
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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/CheckComponentsVersionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
CheckComponentsVersionResult::CheckComponentsVersionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckComponentsVersionResult::CheckComponentsVersionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckComponentsVersionResult::~CheckComponentsVersionResult()
|
||||
{}
|
||||
|
||||
void CheckComponentsVersionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allComponentsNode = value["Components"]["Component"];
|
||||
for (auto valueComponentsComponent : allComponentsNode)
|
||||
{
|
||||
Component componentsObject;
|
||||
if(!valueComponentsComponent["Component"].isNull())
|
||||
componentsObject.component = valueComponentsComponent["Component"].asString();
|
||||
if(!valueComponentsComponent["IsLatestVersion"].isNull())
|
||||
componentsObject.isLatestVersion = valueComponentsComponent["IsLatestVersion"].asString();
|
||||
components_.push_back(componentsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<CheckComponentsVersionResult::Component> CheckComponentsVersionResult::getComponents()const
|
||||
{
|
||||
return components_;
|
||||
}
|
||||
|
||||
40
hbase/src/model/CloseBackupRequest.cc
Normal file
40
hbase/src/model/CloseBackupRequest.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/CloseBackupRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::CloseBackupRequest;
|
||||
|
||||
CloseBackupRequest::CloseBackupRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "CloseBackup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CloseBackupRequest::~CloseBackupRequest()
|
||||
{}
|
||||
|
||||
std::string CloseBackupRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void CloseBackupRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
44
hbase/src/model/CloseBackupResult.cc
Normal file
44
hbase/src/model/CloseBackupResult.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/CloseBackupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
CloseBackupResult::CloseBackupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CloseBackupResult::CloseBackupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CloseBackupResult::~CloseBackupResult()
|
||||
{}
|
||||
|
||||
void CloseBackupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -60,6 +60,17 @@ void CreateClusterRequest::setEngineVersion(const std::string& engineVersion)
|
||||
setParameter("EngineVersion", engineVersion);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateClusterRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateClusterRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
|
||||
73
hbase/src/model/CreateGlobalResourceRequest.cc
Normal file
73
hbase/src/model/CreateGlobalResourceRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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/CreateGlobalResourceRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::CreateGlobalResourceRequest;
|
||||
|
||||
CreateGlobalResourceRequest::CreateGlobalResourceRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "CreateGlobalResource")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateGlobalResourceRequest::~CreateGlobalResourceRequest()
|
||||
{}
|
||||
|
||||
std::string CreateGlobalResourceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateGlobalResourceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateGlobalResourceRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void CreateGlobalResourceRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string CreateGlobalResourceRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void CreateGlobalResourceRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string CreateGlobalResourceRequest::getResourceName()const
|
||||
{
|
||||
return resourceName_;
|
||||
}
|
||||
|
||||
void CreateGlobalResourceRequest::setResourceName(const std::string& resourceName)
|
||||
{
|
||||
resourceName_ = resourceName;
|
||||
setParameter("ResourceName", resourceName);
|
||||
}
|
||||
|
||||
44
hbase/src/model/CreateGlobalResourceResult.cc
Normal file
44
hbase/src/model/CreateGlobalResourceResult.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/CreateGlobalResourceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
CreateGlobalResourceResult::CreateGlobalResourceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateGlobalResourceResult::CreateGlobalResourceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateGlobalResourceResult::~CreateGlobalResourceResult()
|
||||
{}
|
||||
|
||||
void CreateGlobalResourceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
62
hbase/src/model/CreateHBaseSlbServerRequest.cc
Normal file
62
hbase/src/model/CreateHBaseSlbServerRequest.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/CreateHBaseSlbServerRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::CreateHBaseSlbServerRequest;
|
||||
|
||||
CreateHBaseSlbServerRequest::CreateHBaseSlbServerRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "CreateHBaseSlbServer")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateHBaseSlbServerRequest::~CreateHBaseSlbServerRequest()
|
||||
{}
|
||||
|
||||
std::string CreateHBaseSlbServerRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateHBaseSlbServerRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateHBaseSlbServerRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void CreateHBaseSlbServerRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string CreateHBaseSlbServerRequest::getSlbServer()const
|
||||
{
|
||||
return slbServer_;
|
||||
}
|
||||
|
||||
void CreateHBaseSlbServerRequest::setSlbServer(const std::string& slbServer)
|
||||
{
|
||||
slbServer_ = slbServer;
|
||||
setParameter("SlbServer", slbServer);
|
||||
}
|
||||
|
||||
44
hbase/src/model/CreateHBaseSlbServerResult.cc
Normal file
44
hbase/src/model/CreateHBaseSlbServerResult.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/CreateHBaseSlbServerResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
CreateHBaseSlbServerResult::CreateHBaseSlbServerResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateHBaseSlbServerResult::CreateHBaseSlbServerResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateHBaseSlbServerResult::~CreateHBaseSlbServerResult()
|
||||
{}
|
||||
|
||||
void CreateHBaseSlbServerResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -71,6 +71,17 @@ void CreateMultiZoneClusterRequest::setLogDiskType(const std::string& logDiskTyp
|
||||
setParameter("LogDiskType", logDiskType);
|
||||
}
|
||||
|
||||
std::string CreateMultiZoneClusterRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateMultiZoneClusterRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateMultiZoneClusterRequest::getPrimaryVSwitchId()const
|
||||
{
|
||||
return primaryVSwitchId_;
|
||||
|
||||
@@ -71,6 +71,17 @@ void CreateServerlessClusterRequest::setEngineVersion(const std::string& engineV
|
||||
setParameter("EngineVersion", engineVersion);
|
||||
}
|
||||
|
||||
std::string CreateServerlessClusterRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateServerlessClusterRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateServerlessClusterRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
|
||||
62
hbase/src/model/DeleteGlobalResourceRequest.cc
Normal file
62
hbase/src/model/DeleteGlobalResourceRequest.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/DeleteGlobalResourceRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::DeleteGlobalResourceRequest;
|
||||
|
||||
DeleteGlobalResourceRequest::DeleteGlobalResourceRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "DeleteGlobalResource")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteGlobalResourceRequest::~DeleteGlobalResourceRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteGlobalResourceRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalResourceRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalResourceRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void DeleteGlobalResourceRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalResourceRequest::getResourceName()const
|
||||
{
|
||||
return resourceName_;
|
||||
}
|
||||
|
||||
void DeleteGlobalResourceRequest::setResourceName(const std::string& resourceName)
|
||||
{
|
||||
resourceName_ = resourceName;
|
||||
setParameter("ResourceName", resourceName);
|
||||
}
|
||||
|
||||
44
hbase/src/model/DeleteGlobalResourceResult.cc
Normal file
44
hbase/src/model/DeleteGlobalResourceResult.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/DeleteGlobalResourceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
DeleteGlobalResourceResult::DeleteGlobalResourceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteGlobalResourceResult::DeleteGlobalResourceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteGlobalResourceResult::~DeleteGlobalResourceResult()
|
||||
{}
|
||||
|
||||
void DeleteGlobalResourceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
51
hbase/src/model/DeleteHBaseSlbServerRequest.cc
Normal file
51
hbase/src/model/DeleteHBaseSlbServerRequest.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/DeleteHBaseSlbServerRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::DeleteHBaseSlbServerRequest;
|
||||
|
||||
DeleteHBaseSlbServerRequest::DeleteHBaseSlbServerRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "DeleteHBaseSlbServer")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteHBaseSlbServerRequest::~DeleteHBaseSlbServerRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteHBaseSlbServerRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DeleteHBaseSlbServerRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DeleteHBaseSlbServerRequest::getSlbServer()const
|
||||
{
|
||||
return slbServer_;
|
||||
}
|
||||
|
||||
void DeleteHBaseSlbServerRequest::setSlbServer(const std::string& slbServer)
|
||||
{
|
||||
slbServer_ = slbServer;
|
||||
setParameter("SlbServer", slbServer);
|
||||
}
|
||||
|
||||
44
hbase/src/model/DeleteHBaseSlbServerResult.cc
Normal file
44
hbase/src/model/DeleteHBaseSlbServerResult.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/DeleteHBaseSlbServerResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
DeleteHBaseSlbServerResult::DeleteHBaseSlbServerResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteHBaseSlbServerResult::DeleteHBaseSlbServerResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteHBaseSlbServerResult::~DeleteHBaseSlbServerResult()
|
||||
{}
|
||||
|
||||
void DeleteHBaseSlbServerResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
40
hbase/src/model/DescribeBackupPolicyRequest.cc
Normal file
40
hbase/src/model/DescribeBackupPolicyRequest.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/DescribeBackupPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::DescribeBackupPolicyRequest;
|
||||
|
||||
DescribeBackupPolicyRequest::DescribeBackupPolicyRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "DescribeBackupPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBackupPolicyRequest::~DescribeBackupPolicyRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeBackupPolicyRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeBackupPolicyRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
79
hbase/src/model/DescribeBackupPolicyResult.cc
Normal file
79
hbase/src/model/DescribeBackupPolicyResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/DescribeBackupPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
DescribeBackupPolicyResult::DescribeBackupPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeBackupPolicyResult::DescribeBackupPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeBackupPolicyResult::~DescribeBackupPolicyResult()
|
||||
{}
|
||||
|
||||
void DescribeBackupPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BackupRetentionPeriod"].isNull())
|
||||
backupRetentionPeriod_ = value["BackupRetentionPeriod"].asString();
|
||||
if(!value["PreferredBackupTime"].isNull())
|
||||
preferredBackupTime_ = value["PreferredBackupTime"].asString();
|
||||
if(!value["PreferredBackupPeriod"].isNull())
|
||||
preferredBackupPeriod_ = value["PreferredBackupPeriod"].asString();
|
||||
if(!value["PreferredBackupStartTimeUTC"].isNull())
|
||||
preferredBackupStartTimeUTC_ = value["PreferredBackupStartTimeUTC"].asString();
|
||||
if(!value["PreferredBackupEndTimeUTC"].isNull())
|
||||
preferredBackupEndTimeUTC_ = value["PreferredBackupEndTimeUTC"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getPreferredBackupPeriod()const
|
||||
{
|
||||
return preferredBackupPeriod_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getPreferredBackupStartTimeUTC()const
|
||||
{
|
||||
return preferredBackupStartTimeUTC_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getPreferredBackupEndTimeUTC()const
|
||||
{
|
||||
return preferredBackupEndTimeUTC_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getPreferredBackupTime()const
|
||||
{
|
||||
return preferredBackupTime_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getBackupRetentionPeriod()const
|
||||
{
|
||||
return backupRetentionPeriod_;
|
||||
}
|
||||
|
||||
117
hbase/src/model/DescribeBackupsRequest.cc
Normal file
117
hbase/src/model/DescribeBackupsRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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/DescribeBackupsRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::DescribeBackupsRequest;
|
||||
|
||||
DescribeBackupsRequest::DescribeBackupsRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "DescribeBackups")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBackupsRequest::~DescribeBackupsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeBackupsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setPageNumber(const std::string& pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", pageNumber);
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setPageSize(const std::string& pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", pageSize);
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getStartTimeUTC()const
|
||||
{
|
||||
return startTimeUTC_;
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setStartTimeUTC(const std::string& startTimeUTC)
|
||||
{
|
||||
startTimeUTC_ = startTimeUTC;
|
||||
setParameter("StartTimeUTC", startTimeUTC);
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getBackupId()const
|
||||
{
|
||||
return backupId_;
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setBackupId(const std::string& backupId)
|
||||
{
|
||||
backupId_ = backupId;
|
||||
setParameter("BackupId", backupId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getEndTimeUTC()const
|
||||
{
|
||||
return endTimeUTC_;
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setEndTimeUTC(const std::string& endTimeUTC)
|
||||
{
|
||||
endTimeUTC_ = endTimeUTC;
|
||||
setParameter("EndTimeUTC", endTimeUTC);
|
||||
}
|
||||
|
||||
107
hbase/src/model/DescribeBackupsResult.cc
Normal file
107
hbase/src/model/DescribeBackupsResult.cc
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* 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/DescribeBackupsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
DescribeBackupsResult::DescribeBackupsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeBackupsResult::DescribeBackupsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeBackupsResult::~DescribeBackupsResult()
|
||||
{}
|
||||
|
||||
void DescribeBackupsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBackupsNode = value["Backups"]["Backup"];
|
||||
for (auto valueBackupsBackup : allBackupsNode)
|
||||
{
|
||||
Backup backupsObject;
|
||||
if(!valueBackupsBackup["BackupDBNames"].isNull())
|
||||
backupsObject.backupDBNames = valueBackupsBackup["BackupDBNames"].asString();
|
||||
if(!valueBackupsBackup["BackupId"].isNull())
|
||||
backupsObject.backupId = std::stoi(valueBackupsBackup["BackupId"].asString());
|
||||
if(!valueBackupsBackup["BackupStatus"].isNull())
|
||||
backupsObject.backupStatus = valueBackupsBackup["BackupStatus"].asString();
|
||||
if(!valueBackupsBackup["BackupStartTime"].isNull())
|
||||
backupsObject.backupStartTime = valueBackupsBackup["BackupStartTime"].asString();
|
||||
if(!valueBackupsBackup["BackupEndTime"].isNull())
|
||||
backupsObject.backupEndTime = valueBackupsBackup["BackupEndTime"].asString();
|
||||
if(!valueBackupsBackup["BackupType"].isNull())
|
||||
backupsObject.backupType = valueBackupsBackup["BackupType"].asString();
|
||||
if(!valueBackupsBackup["BackupMode"].isNull())
|
||||
backupsObject.backupMode = valueBackupsBackup["BackupMode"].asString();
|
||||
if(!valueBackupsBackup["BackupMethod"].isNull())
|
||||
backupsObject.backupMethod = valueBackupsBackup["BackupMethod"].asString();
|
||||
if(!valueBackupsBackup["BackupDownloadURL"].isNull())
|
||||
backupsObject.backupDownloadURL = valueBackupsBackup["BackupDownloadURL"].asString();
|
||||
if(!valueBackupsBackup["BackupSize"].isNull())
|
||||
backupsObject.backupSize = valueBackupsBackup["BackupSize"].asString();
|
||||
if(!valueBackupsBackup["BackupStartTimeUTC"].isNull())
|
||||
backupsObject.backupStartTimeUTC = valueBackupsBackup["BackupStartTimeUTC"].asString();
|
||||
if(!valueBackupsBackup["BackupEndTimeUTC"].isNull())
|
||||
backupsObject.backupEndTimeUTC = valueBackupsBackup["BackupEndTimeUTC"].asString();
|
||||
backups_.push_back(backupsObject);
|
||||
}
|
||||
if(!value["EnableStatus"].isNull())
|
||||
enableStatus_ = value["EnableStatus"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeBackupsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeBackupsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeBackupsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupsResult::getEnableStatus()const
|
||||
{
|
||||
return enableStatus_;
|
||||
}
|
||||
|
||||
std::vector<DescribeBackupsResult::Backup> DescribeBackupsResult::getBackups()const
|
||||
{
|
||||
return backups_;
|
||||
}
|
||||
|
||||
40
hbase/src/model/DescribeColdStorageRequest.cc
Normal file
40
hbase/src/model/DescribeColdStorageRequest.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/DescribeColdStorageRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::DescribeColdStorageRequest;
|
||||
|
||||
DescribeColdStorageRequest::DescribeColdStorageRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "DescribeColdStorage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeColdStorageRequest::~DescribeColdStorageRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeColdStorageRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeColdStorageRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
79
hbase/src/model/DescribeColdStorageResult.cc
Normal file
79
hbase/src/model/DescribeColdStorageResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hbase/model/DescribeColdStorageResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
DescribeColdStorageResult::DescribeColdStorageResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeColdStorageResult::DescribeColdStorageResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeColdStorageResult::~DescribeColdStorageResult()
|
||||
{}
|
||||
|
||||
void DescribeColdStorageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ClusterId"].isNull())
|
||||
clusterId_ = value["ClusterId"].asString();
|
||||
if(!value["OpenStatus"].isNull())
|
||||
openStatus_ = value["OpenStatus"].asString();
|
||||
if(!value["ColdStorageSize"].isNull())
|
||||
coldStorageSize_ = value["ColdStorageSize"].asString();
|
||||
if(!value["ColdStorageUsePercent"].isNull())
|
||||
coldStorageUsePercent_ = value["ColdStorageUsePercent"].asString();
|
||||
if(!value["PayType"].isNull())
|
||||
payType_ = value["PayType"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeColdStorageResult::getColdStorageSize()const
|
||||
{
|
||||
return coldStorageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeColdStorageResult::getColdStorageUsePercent()const
|
||||
{
|
||||
return coldStorageUsePercent_;
|
||||
}
|
||||
|
||||
std::string DescribeColdStorageResult::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeColdStorageResult::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
}
|
||||
|
||||
std::string DescribeColdStorageResult::getOpenStatus()const
|
||||
{
|
||||
return openStatus_;
|
||||
}
|
||||
|
||||
@@ -133,6 +133,8 @@ void DescribeInstanceResult::parse(const std::string &payload)
|
||||
duration_ = std::stoi(value["Duration"].asString());
|
||||
if(!value["ColdStorageSize"].isNull())
|
||||
coldStorageSize_ = std::stoi(value["ColdStorageSize"].asString());
|
||||
if(!value["ResourceGroupId"].isNull())
|
||||
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -151,6 +153,11 @@ std::string DescribeInstanceResult::getCreatedTime()const
|
||||
return createdTime_;
|
||||
}
|
||||
|
||||
std::string DescribeInstanceResult::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string DescribeInstanceResult::getMasterInstanceType()const
|
||||
{
|
||||
return masterInstanceType_;
|
||||
|
||||
@@ -49,6 +49,17 @@ void DescribeInstancesRequest::setPageNumber(int pageNumber)
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeInstancesRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeInstancesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
|
||||
@@ -115,6 +115,8 @@ void DescribeInstancesResult::parse(const std::string &payload)
|
||||
instancesObject.autoRenewal = valueInstancesInstance["AutoRenewal"].asString() == "true";
|
||||
if(!valueInstancesInstance["Duration"].isNull())
|
||||
instancesObject.duration = std::stoi(valueInstancesInstance["Duration"].asString());
|
||||
if(!valueInstancesInstance["ResourceGroupId"].isNull())
|
||||
instancesObject.resourceGroupId = valueInstancesInstance["ResourceGroupId"].asString();
|
||||
auto allTagsNode = valueInstancesInstance["Tags"]["Tag"];
|
||||
for (auto valueInstancesInstanceTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -153,6 +153,8 @@ void DescribeMultiZoneClusterResult::parse(const std::string &payload)
|
||||
arbiterVSwitchIds_ = value["ArbiterVSwitchIds"].asString();
|
||||
if(!value["VpcId"].isNull())
|
||||
vpcId_ = value["VpcId"].asString();
|
||||
if(!value["ResourceGroupId"].isNull())
|
||||
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -171,6 +173,11 @@ std::string DescribeMultiZoneClusterResult::getCreatedTime()const
|
||||
return createdTime_;
|
||||
}
|
||||
|
||||
std::string DescribeMultiZoneClusterResult::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string DescribeMultiZoneClusterResult::getMasterInstanceType()const
|
||||
{
|
||||
return masterInstanceType_;
|
||||
|
||||
51
hbase/src/model/DescribeSubDomainRequest.cc
Normal file
51
hbase/src/model/DescribeSubDomainRequest.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/DescribeSubDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::DescribeSubDomainRequest;
|
||||
|
||||
DescribeSubDomainRequest::DescribeSubDomainRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "DescribeSubDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSubDomainRequest::~DescribeSubDomainRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeSubDomainRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeSubDomainRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeSubDomainRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void DescribeSubDomainRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
51
hbase/src/model/DescribeSubDomainResult.cc
Normal file
51
hbase/src/model/DescribeSubDomainResult.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/DescribeSubDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
DescribeSubDomainResult::DescribeSubDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSubDomainResult::DescribeSubDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSubDomainResult::~DescribeSubDomainResult()
|
||||
{}
|
||||
|
||||
void DescribeSubDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SubDomain"].isNull())
|
||||
subDomain_ = value["SubDomain"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeSubDomainResult::getSubDomain()const
|
||||
{
|
||||
return subDomain_;
|
||||
}
|
||||
|
||||
51
hbase/src/model/GetMultimodeCmsUrlRequest.cc
Normal file
51
hbase/src/model/GetMultimodeCmsUrlRequest.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/GetMultimodeCmsUrlRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::GetMultimodeCmsUrlRequest;
|
||||
|
||||
GetMultimodeCmsUrlRequest::GetMultimodeCmsUrlRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "GetMultimodeCmsUrl")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetMultimodeCmsUrlRequest::~GetMultimodeCmsUrlRequest()
|
||||
{}
|
||||
|
||||
std::string GetMultimodeCmsUrlRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void GetMultimodeCmsUrlRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string GetMultimodeCmsUrlRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetMultimodeCmsUrlRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
58
hbase/src/model/GetMultimodeCmsUrlResult.cc
Normal file
58
hbase/src/model/GetMultimodeCmsUrlResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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/GetMultimodeCmsUrlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
GetMultimodeCmsUrlResult::GetMultimodeCmsUrlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetMultimodeCmsUrlResult::GetMultimodeCmsUrlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetMultimodeCmsUrlResult::~GetMultimodeCmsUrlResult()
|
||||
{}
|
||||
|
||||
void GetMultimodeCmsUrlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ClusterId"].isNull())
|
||||
clusterId_ = value["ClusterId"].asString();
|
||||
if(!value["MultimodCmsUrl"].isNull())
|
||||
multimodCmsUrl_ = value["MultimodCmsUrl"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetMultimodeCmsUrlResult::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
std::string GetMultimodeCmsUrlResult::getMultimodCmsUrl()const
|
||||
{
|
||||
return multimodCmsUrl_;
|
||||
}
|
||||
|
||||
40
hbase/src/model/ListHBaseInstancesRequest.cc
Normal file
40
hbase/src/model/ListHBaseInstancesRequest.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/ListHBaseInstancesRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::ListHBaseInstancesRequest;
|
||||
|
||||
ListHBaseInstancesRequest::ListHBaseInstancesRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "ListHBaseInstances")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListHBaseInstancesRequest::~ListHBaseInstancesRequest()
|
||||
{}
|
||||
|
||||
std::string ListHBaseInstancesRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
void ListHBaseInstancesRequest::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
61
hbase/src/model/ListHBaseInstancesResult.cc
Normal file
61
hbase/src/model/ListHBaseInstancesResult.cc
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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/ListHBaseInstancesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
ListHBaseInstancesResult::ListHBaseInstancesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListHBaseInstancesResult::ListHBaseInstancesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListHBaseInstancesResult::~ListHBaseInstancesResult()
|
||||
{}
|
||||
|
||||
void ListHBaseInstancesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allInstancesNode = value["Instances"]["Instance"];
|
||||
for (auto valueInstancesInstance : allInstancesNode)
|
||||
{
|
||||
Instance instancesObject;
|
||||
if(!valueInstancesInstance["InstanceId"].isNull())
|
||||
instancesObject.instanceId = valueInstancesInstance["InstanceId"].asString();
|
||||
if(!valueInstancesInstance["InstanceName"].isNull())
|
||||
instancesObject.instanceName = valueInstancesInstance["InstanceName"].asString();
|
||||
if(!valueInstancesInstance["IsDefault"].isNull())
|
||||
instancesObject.isDefault = valueInstancesInstance["IsDefault"].asString() == "true";
|
||||
instances_.push_back(instancesObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<ListHBaseInstancesResult::Instance> ListHBaseInstancesResult::getInstances()const
|
||||
{
|
||||
return instances_;
|
||||
}
|
||||
|
||||
62
hbase/src/model/ListInstanceServiceConfigHistoriesRequest.cc
Normal file
62
hbase/src/model/ListInstanceServiceConfigHistoriesRequest.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/ListInstanceServiceConfigHistoriesRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::ListInstanceServiceConfigHistoriesRequest;
|
||||
|
||||
ListInstanceServiceConfigHistoriesRequest::ListInstanceServiceConfigHistoriesRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "ListInstanceServiceConfigHistories")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListInstanceServiceConfigHistoriesRequest::~ListInstanceServiceConfigHistoriesRequest()
|
||||
{}
|
||||
|
||||
std::string ListInstanceServiceConfigHistoriesRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void ListInstanceServiceConfigHistoriesRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
int ListInstanceServiceConfigHistoriesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListInstanceServiceConfigHistoriesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int ListInstanceServiceConfigHistoriesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListInstanceServiceConfigHistoriesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
86
hbase/src/model/ListInstanceServiceConfigHistoriesResult.cc
Normal file
86
hbase/src/model/ListInstanceServiceConfigHistoriesResult.cc
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* 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/ListInstanceServiceConfigHistoriesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
ListInstanceServiceConfigHistoriesResult::ListInstanceServiceConfigHistoriesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListInstanceServiceConfigHistoriesResult::ListInstanceServiceConfigHistoriesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListInstanceServiceConfigHistoriesResult::~ListInstanceServiceConfigHistoriesResult()
|
||||
{}
|
||||
|
||||
void ListInstanceServiceConfigHistoriesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allConfigureHistoryListNode = value["ConfigureHistoryList"]["Config"];
|
||||
for (auto valueConfigureHistoryListConfig : allConfigureHistoryListNode)
|
||||
{
|
||||
Config configureHistoryListObject;
|
||||
if(!valueConfigureHistoryListConfig["ConfigureName"].isNull())
|
||||
configureHistoryListObject.configureName = valueConfigureHistoryListConfig["ConfigureName"].asString();
|
||||
if(!valueConfigureHistoryListConfig["OldValue"].isNull())
|
||||
configureHistoryListObject.oldValue = valueConfigureHistoryListConfig["OldValue"].asString();
|
||||
if(!valueConfigureHistoryListConfig["NewValue"].isNull())
|
||||
configureHistoryListObject.newValue = valueConfigureHistoryListConfig["NewValue"].asString();
|
||||
if(!valueConfigureHistoryListConfig["Effective"].isNull())
|
||||
configureHistoryListObject.effective = valueConfigureHistoryListConfig["Effective"].asString();
|
||||
if(!valueConfigureHistoryListConfig["CreateTime"].isNull())
|
||||
configureHistoryListObject.createTime = valueConfigureHistoryListConfig["CreateTime"].asString();
|
||||
configureHistoryList_.push_back(configureHistoryListObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageRecordCount"].isNull())
|
||||
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
totalRecordCount_ = std::stol(value["TotalRecordCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListInstanceServiceConfigHistoriesResult::getTotalRecordCount()const
|
||||
{
|
||||
return totalRecordCount_;
|
||||
}
|
||||
|
||||
int ListInstanceServiceConfigHistoriesResult::getPageRecordCount()const
|
||||
{
|
||||
return pageRecordCount_;
|
||||
}
|
||||
|
||||
int ListInstanceServiceConfigHistoriesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListInstanceServiceConfigHistoriesResult::Config> ListInstanceServiceConfigHistoriesResult::getConfigureHistoryList()const
|
||||
{
|
||||
return configureHistoryList_;
|
||||
}
|
||||
|
||||
62
hbase/src/model/ListInstanceServiceConfigurationsRequest.cc
Normal file
62
hbase/src/model/ListInstanceServiceConfigurationsRequest.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/ListInstanceServiceConfigurationsRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::ListInstanceServiceConfigurationsRequest;
|
||||
|
||||
ListInstanceServiceConfigurationsRequest::ListInstanceServiceConfigurationsRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "ListInstanceServiceConfigurations")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListInstanceServiceConfigurationsRequest::~ListInstanceServiceConfigurationsRequest()
|
||||
{}
|
||||
|
||||
std::string ListInstanceServiceConfigurationsRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void ListInstanceServiceConfigurationsRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
int ListInstanceServiceConfigurationsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListInstanceServiceConfigurationsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int ListInstanceServiceConfigurationsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListInstanceServiceConfigurationsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
90
hbase/src/model/ListInstanceServiceConfigurationsResult.cc
Normal file
90
hbase/src/model/ListInstanceServiceConfigurationsResult.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* 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/ListInstanceServiceConfigurationsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
ListInstanceServiceConfigurationsResult::ListInstanceServiceConfigurationsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListInstanceServiceConfigurationsResult::ListInstanceServiceConfigurationsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListInstanceServiceConfigurationsResult::~ListInstanceServiceConfigurationsResult()
|
||||
{}
|
||||
|
||||
void ListInstanceServiceConfigurationsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allConfigureListNode = value["ConfigureList"]["Config"];
|
||||
for (auto valueConfigureListConfig : allConfigureListNode)
|
||||
{
|
||||
Config configureListObject;
|
||||
if(!valueConfigureListConfig["ConfigureName"].isNull())
|
||||
configureListObject.configureName = valueConfigureListConfig["ConfigureName"].asString();
|
||||
if(!valueConfigureListConfig["DefaultValue"].isNull())
|
||||
configureListObject.defaultValue = valueConfigureListConfig["DefaultValue"].asString();
|
||||
if(!valueConfigureListConfig["RunningValue"].isNull())
|
||||
configureListObject.runningValue = valueConfigureListConfig["RunningValue"].asString();
|
||||
if(!valueConfigureListConfig["ConfigureUnit"].isNull())
|
||||
configureListObject.configureUnit = valueConfigureListConfig["ConfigureUnit"].asString();
|
||||
if(!valueConfigureListConfig["ValueRange"].isNull())
|
||||
configureListObject.valueRange = valueConfigureListConfig["ValueRange"].asString();
|
||||
if(!valueConfigureListConfig["NeedRestart"].isNull())
|
||||
configureListObject.needRestart = valueConfigureListConfig["NeedRestart"].asString();
|
||||
if(!valueConfigureListConfig["Description"].isNull())
|
||||
configureListObject.description = valueConfigureListConfig["Description"].asString();
|
||||
configureList_.push_back(configureListObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageRecordCount"].isNull())
|
||||
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
totalRecordCount_ = std::stol(value["TotalRecordCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListInstanceServiceConfigurationsResult::getTotalRecordCount()const
|
||||
{
|
||||
return totalRecordCount_;
|
||||
}
|
||||
|
||||
int ListInstanceServiceConfigurationsResult::getPageRecordCount()const
|
||||
{
|
||||
return pageRecordCount_;
|
||||
}
|
||||
|
||||
int ListInstanceServiceConfigurationsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<ListInstanceServiceConfigurationsResult::Config> ListInstanceServiceConfigurationsResult::getConfigureList()const
|
||||
{
|
||||
return configureList_;
|
||||
}
|
||||
|
||||
84
hbase/src/model/ModifyBackupPolicyRequest.cc
Normal file
84
hbase/src/model/ModifyBackupPolicyRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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/ModifyBackupPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::ModifyBackupPolicyRequest;
|
||||
|
||||
ModifyBackupPolicyRequest::ModifyBackupPolicyRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "ModifyBackupPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyBackupPolicyRequest::~ModifyBackupPolicyRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyBackupPolicyRequest::getPreferredBackupEndTimeUTC()const
|
||||
{
|
||||
return preferredBackupEndTimeUTC_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setPreferredBackupEndTimeUTC(const std::string& preferredBackupEndTimeUTC)
|
||||
{
|
||||
preferredBackupEndTimeUTC_ = preferredBackupEndTimeUTC;
|
||||
setParameter("PreferredBackupEndTimeUTC", preferredBackupEndTimeUTC);
|
||||
}
|
||||
|
||||
std::string ModifyBackupPolicyRequest::getPreferredBackupStartTimeUTC()const
|
||||
{
|
||||
return preferredBackupStartTimeUTC_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setPreferredBackupStartTimeUTC(const std::string& preferredBackupStartTimeUTC)
|
||||
{
|
||||
preferredBackupStartTimeUTC_ = preferredBackupStartTimeUTC;
|
||||
setParameter("PreferredBackupStartTimeUTC", preferredBackupStartTimeUTC);
|
||||
}
|
||||
|
||||
std::string ModifyBackupPolicyRequest::getPreferredBackupPeriod()const
|
||||
{
|
||||
return preferredBackupPeriod_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setPreferredBackupPeriod(const std::string& preferredBackupPeriod)
|
||||
{
|
||||
preferredBackupPeriod_ = preferredBackupPeriod;
|
||||
setParameter("PreferredBackupPeriod", preferredBackupPeriod);
|
||||
}
|
||||
|
||||
std::string ModifyBackupPolicyRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string ModifyBackupPolicyRequest::getPreferredBackupTime()const
|
||||
{
|
||||
return preferredBackupTime_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setPreferredBackupTime(const std::string& preferredBackupTime)
|
||||
{
|
||||
preferredBackupTime_ = preferredBackupTime;
|
||||
setParameter("PreferredBackupTime", preferredBackupTime);
|
||||
}
|
||||
|
||||
44
hbase/src/model/ModifyBackupPolicyResult.cc
Normal file
44
hbase/src/model/ModifyBackupPolicyResult.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/ModifyBackupPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
ModifyBackupPolicyResult::ModifyBackupPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyBackupPolicyResult::ModifyBackupPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyBackupPolicyResult::~ModifyBackupPolicyResult()
|
||||
{}
|
||||
|
||||
void ModifyBackupPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
84
hbase/src/model/ModifyInstanceServiceConfigRequest.cc
Normal file
84
hbase/src/model/ModifyInstanceServiceConfigRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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/ModifyInstanceServiceConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::ModifyInstanceServiceConfigRequest;
|
||||
|
||||
ModifyInstanceServiceConfigRequest::ModifyInstanceServiceConfigRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "ModifyInstanceServiceConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyInstanceServiceConfigRequest::~ModifyInstanceServiceConfigRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyInstanceServiceConfigRequest::getConfigureName()const
|
||||
{
|
||||
return configureName_;
|
||||
}
|
||||
|
||||
void ModifyInstanceServiceConfigRequest::setConfigureName(const std::string& configureName)
|
||||
{
|
||||
configureName_ = configureName;
|
||||
setParameter("ConfigureName", configureName);
|
||||
}
|
||||
|
||||
bool ModifyInstanceServiceConfigRequest::getRestart()const
|
||||
{
|
||||
return restart_;
|
||||
}
|
||||
|
||||
void ModifyInstanceServiceConfigRequest::setRestart(bool restart)
|
||||
{
|
||||
restart_ = restart;
|
||||
setParameter("Restart", restart ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyInstanceServiceConfigRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void ModifyInstanceServiceConfigRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string ModifyInstanceServiceConfigRequest::getConfigureValue()const
|
||||
{
|
||||
return configureValue_;
|
||||
}
|
||||
|
||||
void ModifyInstanceServiceConfigRequest::setConfigureValue(const std::string& configureValue)
|
||||
{
|
||||
configureValue_ = configureValue;
|
||||
setParameter("ConfigureValue", configureValue);
|
||||
}
|
||||
|
||||
std::string ModifyInstanceServiceConfigRequest::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
void ModifyInstanceServiceConfigRequest::setParameters(const std::string& parameters)
|
||||
{
|
||||
parameters_ = parameters;
|
||||
setParameter("Parameters", parameters);
|
||||
}
|
||||
|
||||
44
hbase/src/model/ModifyInstanceServiceConfigResult.cc
Normal file
44
hbase/src/model/ModifyInstanceServiceConfigResult.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/ModifyInstanceServiceConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
ModifyInstanceServiceConfigResult::ModifyInstanceServiceConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyInstanceServiceConfigResult::ModifyInstanceServiceConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyInstanceServiceConfigResult::~ModifyInstanceServiceConfigResult()
|
||||
{}
|
||||
|
||||
void ModifyInstanceServiceConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
51
hbase/src/model/MoveResourceGroupRequest.cc
Normal file
51
hbase/src/model/MoveResourceGroupRequest.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/MoveResourceGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::MoveResourceGroupRequest;
|
||||
|
||||
MoveResourceGroupRequest::MoveResourceGroupRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "MoveResourceGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
MoveResourceGroupRequest::~MoveResourceGroupRequest()
|
||||
{}
|
||||
|
||||
std::string MoveResourceGroupRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void MoveResourceGroupRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string MoveResourceGroupRequest::getNewResourceGroupId()const
|
||||
{
|
||||
return newResourceGroupId_;
|
||||
}
|
||||
|
||||
void MoveResourceGroupRequest::setNewResourceGroupId(const std::string& newResourceGroupId)
|
||||
{
|
||||
newResourceGroupId_ = newResourceGroupId;
|
||||
setParameter("NewResourceGroupId", newResourceGroupId);
|
||||
}
|
||||
|
||||
44
hbase/src/model/MoveResourceGroupResult.cc
Normal file
44
hbase/src/model/MoveResourceGroupResult.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/MoveResourceGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
MoveResourceGroupResult::MoveResourceGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
MoveResourceGroupResult::MoveResourceGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
MoveResourceGroupResult::~MoveResourceGroupResult()
|
||||
{}
|
||||
|
||||
void MoveResourceGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
40
hbase/src/model/OpenBackupRequest.cc
Normal file
40
hbase/src/model/OpenBackupRequest.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/OpenBackupRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::OpenBackupRequest;
|
||||
|
||||
OpenBackupRequest::OpenBackupRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "OpenBackup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
OpenBackupRequest::~OpenBackupRequest()
|
||||
{}
|
||||
|
||||
std::string OpenBackupRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void OpenBackupRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
44
hbase/src/model/OpenBackupResult.cc
Normal file
44
hbase/src/model/OpenBackupResult.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/OpenBackupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
OpenBackupResult::OpenBackupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
OpenBackupResult::OpenBackupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
OpenBackupResult::~OpenBackupResult()
|
||||
{}
|
||||
|
||||
void OpenBackupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
260
hbase/src/model/RelateDbForHBaseHaRequest.cc
Normal file
260
hbase/src/model/RelateDbForHBaseHaRequest.cc
Normal file
@@ -0,0 +1,260 @@
|
||||
/*
|
||||
* 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/RelateDbForHBaseHaRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::RelateDbForHBaseHaRequest;
|
||||
|
||||
RelateDbForHBaseHaRequest::RelateDbForHBaseHaRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "RelateDbForHBaseHa")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RelateDbForHBaseHaRequest::~RelateDbForHBaseHaRequest()
|
||||
{}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaMigrateType()const
|
||||
{
|
||||
return haMigrateType_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaMigrateType(const std::string& haMigrateType)
|
||||
{
|
||||
haMigrateType_ = haMigrateType;
|
||||
setParameter("HaMigrateType", haMigrateType);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaActiveHdfsUri()const
|
||||
{
|
||||
return haActiveHdfsUri_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaActiveHdfsUri(const std::string& haActiveHdfsUri)
|
||||
{
|
||||
haActiveHdfsUri_ = haActiveHdfsUri;
|
||||
setParameter("HaActiveHdfsUri", haActiveHdfsUri);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaStandbyVersion()const
|
||||
{
|
||||
return haStandbyVersion_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaStandbyVersion(const std::string& haStandbyVersion)
|
||||
{
|
||||
haStandbyVersion_ = haStandbyVersion;
|
||||
setParameter("HaStandbyVersion", haStandbyVersion);
|
||||
}
|
||||
|
||||
bool RelateDbForHBaseHaRequest::getIsStandbyStandard()const
|
||||
{
|
||||
return isStandbyStandard_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setIsStandbyStandard(bool isStandbyStandard)
|
||||
{
|
||||
isStandbyStandard_ = isStandbyStandard;
|
||||
setParameter("IsStandbyStandard", isStandbyStandard ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaActiveClusterKey()const
|
||||
{
|
||||
return haActiveClusterKey_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaActiveClusterKey(const std::string& haActiveClusterKey)
|
||||
{
|
||||
haActiveClusterKey_ = haActiveClusterKey;
|
||||
setParameter("HaActiveClusterKey", haActiveClusterKey);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaStandbyPassword()const
|
||||
{
|
||||
return haStandbyPassword_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaStandbyPassword(const std::string& haStandbyPassword)
|
||||
{
|
||||
haStandbyPassword_ = haStandbyPassword;
|
||||
setParameter("HaStandbyPassword", haStandbyPassword);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaStandbyClusterKey()const
|
||||
{
|
||||
return haStandbyClusterKey_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaStandbyClusterKey(const std::string& haStandbyClusterKey)
|
||||
{
|
||||
haStandbyClusterKey_ = haStandbyClusterKey;
|
||||
setParameter("HaStandbyClusterKey", haStandbyClusterKey);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaStandbyHbaseFsDir()const
|
||||
{
|
||||
return haStandbyHbaseFsDir_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaStandbyHbaseFsDir(const std::string& haStandbyHbaseFsDir)
|
||||
{
|
||||
haStandbyHbaseFsDir_ = haStandbyHbaseFsDir;
|
||||
setParameter("HaStandbyHbaseFsDir", haStandbyHbaseFsDir);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaActiveHbaseFsDir()const
|
||||
{
|
||||
return haActiveHbaseFsDir_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaActiveHbaseFsDir(const std::string& haActiveHbaseFsDir)
|
||||
{
|
||||
haActiveHbaseFsDir_ = haActiveHbaseFsDir;
|
||||
setParameter("HaActiveHbaseFsDir", haActiveHbaseFsDir);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaActiveDBType()const
|
||||
{
|
||||
return haActiveDBType_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaActiveDBType(const std::string& haActiveDBType)
|
||||
{
|
||||
haActiveDBType_ = haActiveDBType;
|
||||
setParameter("HaActiveDBType", haActiveDBType);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaActivePassword()const
|
||||
{
|
||||
return haActivePassword_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaActivePassword(const std::string& haActivePassword)
|
||||
{
|
||||
haActivePassword_ = haActivePassword;
|
||||
setParameter("HaActivePassword", haActivePassword);
|
||||
}
|
||||
|
||||
bool RelateDbForHBaseHaRequest::getIsActiveStandard()const
|
||||
{
|
||||
return isActiveStandard_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setIsActiveStandard(bool isActiveStandard)
|
||||
{
|
||||
isActiveStandard_ = isActiveStandard;
|
||||
setParameter("IsActiveStandard", isActiveStandard ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaStandbyUser()const
|
||||
{
|
||||
return haStandbyUser_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaStandbyUser(const std::string& haStandbyUser)
|
||||
{
|
||||
haStandbyUser_ = haStandbyUser;
|
||||
setParameter("HaStandbyUser", haStandbyUser);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaActive()const
|
||||
{
|
||||
return haActive_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaActive(const std::string& haActive)
|
||||
{
|
||||
haActive_ = haActive;
|
||||
setParameter("HaActive", haActive);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaStandby()const
|
||||
{
|
||||
return haStandby_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaStandby(const std::string& haStandby)
|
||||
{
|
||||
haStandby_ = haStandby;
|
||||
setParameter("HaStandby", haStandby);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaStandbyHdfsUri()const
|
||||
{
|
||||
return haStandbyHdfsUri_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaStandbyHdfsUri(const std::string& haStandbyHdfsUri)
|
||||
{
|
||||
haStandbyHdfsUri_ = haStandbyHdfsUri;
|
||||
setParameter("HaStandbyHdfsUri", haStandbyHdfsUri);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaActiveVersion()const
|
||||
{
|
||||
return haActiveVersion_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaActiveVersion(const std::string& haActiveVersion)
|
||||
{
|
||||
haActiveVersion_ = haActiveVersion;
|
||||
setParameter("HaActiveVersion", haActiveVersion);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaStandbyDBType()const
|
||||
{
|
||||
return haStandbyDBType_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaStandbyDBType(const std::string& haStandbyDBType)
|
||||
{
|
||||
haStandbyDBType_ = haStandbyDBType;
|
||||
setParameter("HaStandbyDBType", haStandbyDBType);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaTables()const
|
||||
{
|
||||
return haTables_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaTables(const std::string& haTables)
|
||||
{
|
||||
haTables_ = haTables;
|
||||
setParameter("HaTables", haTables);
|
||||
}
|
||||
|
||||
std::string RelateDbForHBaseHaRequest::getHaActiveUser()const
|
||||
{
|
||||
return haActiveUser_;
|
||||
}
|
||||
|
||||
void RelateDbForHBaseHaRequest::setHaActiveUser(const std::string& haActiveUser)
|
||||
{
|
||||
haActiveUser_ = haActiveUser;
|
||||
setParameter("HaActiveUser", haActiveUser);
|
||||
}
|
||||
|
||||
44
hbase/src/model/RelateDbForHBaseHaResult.cc
Normal file
44
hbase/src/model/RelateDbForHBaseHaResult.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/RelateDbForHBaseHaResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
RelateDbForHBaseHaResult::RelateDbForHBaseHaResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RelateDbForHBaseHaResult::RelateDbForHBaseHaResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RelateDbForHBaseHaResult::~RelateDbForHBaseHaResult()
|
||||
{}
|
||||
|
||||
void RelateDbForHBaseHaResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
40
hbase/src/model/ReleasePublicNetworkAddressRequest.cc
Normal file
40
hbase/src/model/ReleasePublicNetworkAddressRequest.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/ReleasePublicNetworkAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::HBase::Model::ReleasePublicNetworkAddressRequest;
|
||||
|
||||
ReleasePublicNetworkAddressRequest::ReleasePublicNetworkAddressRequest() :
|
||||
RpcServiceRequest("hbase", "2019-01-01", "ReleasePublicNetworkAddress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ReleasePublicNetworkAddressRequest::~ReleasePublicNetworkAddressRequest()
|
||||
{}
|
||||
|
||||
std::string ReleasePublicNetworkAddressRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void ReleasePublicNetworkAddressRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
44
hbase/src/model/ReleasePublicNetworkAddressResult.cc
Normal file
44
hbase/src/model/ReleasePublicNetworkAddressResult.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/ReleasePublicNetworkAddressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::HBase;
|
||||
using namespace AlibabaCloud::HBase::Model;
|
||||
|
||||
ReleasePublicNetworkAddressResult::ReleasePublicNetworkAddressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ReleasePublicNetworkAddressResult::ReleasePublicNetworkAddressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ReleasePublicNetworkAddressResult::~ReleasePublicNetworkAddressResult()
|
||||
{}
|
||||
|
||||
void ReleasePublicNetworkAddressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user