Support serverless feature.
This commit is contained in:
117
polardb/src/model/AbortDBClusterMigrationRequest.cc
Normal file
117
polardb/src/model/AbortDBClusterMigrationRequest.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/polardb/model/AbortDBClusterMigrationRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::AbortDBClusterMigrationRequest;
|
||||
|
||||
AbortDBClusterMigrationRequest::AbortDBClusterMigrationRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "AbortDBClusterMigration")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AbortDBClusterMigrationRequest::~AbortDBClusterMigrationRequest()
|
||||
{}
|
||||
|
||||
long AbortDBClusterMigrationRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AbortDBClusterMigrationRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AbortDBClusterMigrationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AbortDBClusterMigrationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AbortDBClusterMigrationRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void AbortDBClusterMigrationRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string AbortDBClusterMigrationRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AbortDBClusterMigrationRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AbortDBClusterMigrationRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AbortDBClusterMigrationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AbortDBClusterMigrationRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void AbortDBClusterMigrationRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string AbortDBClusterMigrationRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AbortDBClusterMigrationRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AbortDBClusterMigrationRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AbortDBClusterMigrationRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
44
polardb/src/model/AbortDBClusterMigrationResult.cc
Normal file
44
polardb/src/model/AbortDBClusterMigrationResult.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/polardb/model/AbortDBClusterMigrationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
AbortDBClusterMigrationResult::AbortDBClusterMigrationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AbortDBClusterMigrationResult::AbortDBClusterMigrationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AbortDBClusterMigrationResult::~AbortDBClusterMigrationResult()
|
||||
{}
|
||||
|
||||
void AbortDBClusterMigrationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
128
polardb/src/model/AddFirewallRulesRequest.cc
Normal file
128
polardb/src/model/AddFirewallRulesRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* 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/polardb/model/AddFirewallRulesRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::AddFirewallRulesRequest;
|
||||
|
||||
AddFirewallRulesRequest::AddFirewallRulesRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "AddFirewallRules")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddFirewallRulesRequest::~AddFirewallRulesRequest()
|
||||
{}
|
||||
|
||||
long AddFirewallRulesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AddFirewallRulesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddFirewallRulesRequest::getRuleName()const
|
||||
{
|
||||
return ruleName_;
|
||||
}
|
||||
|
||||
void AddFirewallRulesRequest::setRuleName(const std::string& ruleName)
|
||||
{
|
||||
ruleName_ = ruleName;
|
||||
setParameter("RuleName", ruleName);
|
||||
}
|
||||
|
||||
std::string AddFirewallRulesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddFirewallRulesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddFirewallRulesRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void AddFirewallRulesRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string AddFirewallRulesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddFirewallRulesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddFirewallRulesRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void AddFirewallRulesRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string AddFirewallRulesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AddFirewallRulesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AddFirewallRulesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddFirewallRulesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddFirewallRulesRequest::getRuleConfig()const
|
||||
{
|
||||
return ruleConfig_;
|
||||
}
|
||||
|
||||
void AddFirewallRulesRequest::setRuleConfig(const std::string& ruleConfig)
|
||||
{
|
||||
ruleConfig_ = ruleConfig;
|
||||
setParameter("RuleConfig", ruleConfig);
|
||||
}
|
||||
|
||||
58
polardb/src/model/AddFirewallRulesResult.cc
Normal file
58
polardb/src/model/AddFirewallRulesResult.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/polardb/model/AddFirewallRulesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
AddFirewallRulesResult::AddFirewallRulesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddFirewallRulesResult::AddFirewallRulesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddFirewallRulesResult::~AddFirewallRulesResult()
|
||||
{}
|
||||
|
||||
void AddFirewallRulesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string AddFirewallRulesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
bool AddFirewallRulesResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
139
polardb/src/model/CancelActiveOperationTasksRequest.cc
Normal file
139
polardb/src/model/CancelActiveOperationTasksRequest.cc
Normal file
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* 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/polardb/model/CancelActiveOperationTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CancelActiveOperationTasksRequest;
|
||||
|
||||
CancelActiveOperationTasksRequest::CancelActiveOperationTasksRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CancelActiveOperationTasks")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CancelActiveOperationTasksRequest::~CancelActiveOperationTasksRequest()
|
||||
{}
|
||||
|
||||
long CancelActiveOperationTasksRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getTaskIds()const
|
||||
{
|
||||
return taskIds_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setTaskIds(const std::string& taskIds)
|
||||
{
|
||||
taskIds_ = taskIds;
|
||||
setParameter("TaskIds", taskIds);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getUid()const
|
||||
{
|
||||
return uid_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setUid(const std::string& uid)
|
||||
{
|
||||
uid_ = uid;
|
||||
setParameter("Uid", uid);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CancelActiveOperationTasksRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
51
polardb/src/model/CancelActiveOperationTasksResult.cc
Normal file
51
polardb/src/model/CancelActiveOperationTasksResult.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/polardb/model/CancelActiveOperationTasksResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
CancelActiveOperationTasksResult::CancelActiveOperationTasksResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CancelActiveOperationTasksResult::CancelActiveOperationTasksResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CancelActiveOperationTasksResult::~CancelActiveOperationTasksResult()
|
||||
{}
|
||||
|
||||
void CancelActiveOperationTasksResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskIds"].isNull())
|
||||
taskIds_ = value["TaskIds"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksResult::getTaskIds()const
|
||||
{
|
||||
return taskIds_;
|
||||
}
|
||||
|
||||
@@ -1,90 +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/polardb/model/CancelScheduleTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CancelScheduleTasksRequest;
|
||||
|
||||
CancelScheduleTasksRequest::CancelScheduleTasksRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CancelScheduleTasks") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CancelScheduleTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CancelScheduleTasksRequest;
|
||||
|
||||
CancelScheduleTasksRequest::CancelScheduleTasksRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CancelScheduleTasks")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CancelScheduleTasksRequest::~CancelScheduleTasksRequest()
|
||||
{}
|
||||
|
||||
long CancelScheduleTasksRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
CancelScheduleTasksRequest::~CancelScheduleTasksRequest() {}
|
||||
|
||||
long CancelScheduleTasksRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CancelScheduleTasksRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CancelScheduleTasksRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CancelScheduleTasksRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CancelScheduleTasksRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CancelScheduleTasksRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CancelScheduleTasksRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CancelScheduleTasksRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string CancelScheduleTasksRequest::getTaskId() const {
|
||||
return taskId_;
|
||||
void CancelScheduleTasksRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
void CancelScheduleTasksRequest::setTaskId(const std::string &taskId) {
|
||||
taskId_ = taskId;
|
||||
setParameter(std::string("TaskId"), taskId);
|
||||
std::string CancelScheduleTasksRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
std::string CancelScheduleTasksRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CancelScheduleTasksRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
void CancelScheduleTasksRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CancelScheduleTasksRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CancelScheduleTasksRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void CancelScheduleTasksRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CancelScheduleTasksRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string CancelScheduleTasksRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string CancelScheduleTasksRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CancelScheduleTasksRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void CancelScheduleTasksRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
std::string CancelScheduleTasksRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long CancelScheduleTasksRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void CancelScheduleTasksRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CancelScheduleTasksRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
long CancelScheduleTasksRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CancelScheduleTasksRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,90 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/CheckAccountNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CheckAccountNameRequest;
|
||||
|
||||
CheckAccountNameRequest::CheckAccountNameRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CheckAccountName") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CheckAccountNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CheckAccountNameRequest;
|
||||
|
||||
CheckAccountNameRequest::CheckAccountNameRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CheckAccountName")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckAccountNameRequest::~CheckAccountNameRequest()
|
||||
{}
|
||||
|
||||
long CheckAccountNameRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
CheckAccountNameRequest::~CheckAccountNameRequest() {}
|
||||
|
||||
long CheckAccountNameRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CheckAccountNameRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CheckAccountNameRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CheckAccountNameRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CheckAccountNameRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CheckAccountNameRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CheckAccountNameRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CheckAccountNameRequest::getAccountName()const
|
||||
{
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
std::string CheckAccountNameRequest::getAccountName() const {
|
||||
return accountName_;
|
||||
void CheckAccountNameRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
void CheckAccountNameRequest::setAccountName(const std::string &accountName) {
|
||||
accountName_ = accountName;
|
||||
setParameter(std::string("AccountName"), accountName);
|
||||
std::string CheckAccountNameRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CheckAccountNameRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CheckAccountNameRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CheckAccountNameRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CheckAccountNameRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string CheckAccountNameRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void CheckAccountNameRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void CheckAccountNameRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string CheckAccountNameRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string CheckAccountNameRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CheckAccountNameRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CheckAccountNameRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long CheckAccountNameRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long CheckAccountNameRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CheckAccountNameRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void CheckAccountNameRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,90 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/CheckDBNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CheckDBNameRequest;
|
||||
|
||||
CheckDBNameRequest::CheckDBNameRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CheckDBName") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CheckDBNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CheckDBNameRequest;
|
||||
|
||||
CheckDBNameRequest::CheckDBNameRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CheckDBName")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckDBNameRequest::~CheckDBNameRequest()
|
||||
{}
|
||||
|
||||
long CheckDBNameRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
CheckDBNameRequest::~CheckDBNameRequest() {}
|
||||
|
||||
long CheckDBNameRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CheckDBNameRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CheckDBNameRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CheckDBNameRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CheckDBNameRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CheckDBNameRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CheckDBNameRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CheckDBNameRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CheckDBNameRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CheckDBNameRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CheckDBNameRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CheckDBNameRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string CheckDBNameRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void CheckDBNameRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void CheckDBNameRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string CheckDBNameRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string CheckDBNameRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CheckDBNameRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CheckDBNameRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long CheckDBNameRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long CheckDBNameRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void CheckDBNameRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CheckDBNameRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
std::string CheckDBNameRequest::getDBName()const
|
||||
{
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
std::string CheckDBNameRequest::getDBName() const {
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
void CheckDBNameRequest::setDBName(const std::string &dBName) {
|
||||
dBName_ = dBName;
|
||||
setParameter(std::string("DBName"), dBName);
|
||||
void CheckDBNameRequest::setDBName(const std::string& dBName)
|
||||
{
|
||||
dBName_ = dBName;
|
||||
setParameter("DBName", dBName);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,6 +39,13 @@ void CheckDBNameResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DBName"].isNull())
|
||||
dBName_ = value["DBName"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CheckDBNameResult::getDBName()const
|
||||
{
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
|
||||
117
polardb/src/model/CheckKMSAuthorizedRequest.cc
Normal file
117
polardb/src/model/CheckKMSAuthorizedRequest.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/polardb/model/CheckKMSAuthorizedRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CheckKMSAuthorizedRequest;
|
||||
|
||||
CheckKMSAuthorizedRequest::CheckKMSAuthorizedRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CheckKMSAuthorized")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckKMSAuthorizedRequest::~CheckKMSAuthorizedRequest()
|
||||
{}
|
||||
|
||||
long CheckKMSAuthorizedRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CheckKMSAuthorizedRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CheckKMSAuthorizedRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CheckKMSAuthorizedRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CheckKMSAuthorizedRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CheckKMSAuthorizedRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CheckKMSAuthorizedRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CheckKMSAuthorizedRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CheckKMSAuthorizedRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void CheckKMSAuthorizedRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string CheckKMSAuthorizedRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CheckKMSAuthorizedRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CheckKMSAuthorizedRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CheckKMSAuthorizedRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CheckKMSAuthorizedRequest::getTDERegion()const
|
||||
{
|
||||
return tDERegion_;
|
||||
}
|
||||
|
||||
void CheckKMSAuthorizedRequest::setTDERegion(const std::string& tDERegion)
|
||||
{
|
||||
tDERegion_ = tDERegion;
|
||||
setParameter("TDERegion", tDERegion);
|
||||
}
|
||||
|
||||
65
polardb/src/model/CheckKMSAuthorizedResult.cc
Normal file
65
polardb/src/model/CheckKMSAuthorizedResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* 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/polardb/model/CheckKMSAuthorizedResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
CheckKMSAuthorizedResult::CheckKMSAuthorizedResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckKMSAuthorizedResult::CheckKMSAuthorizedResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckKMSAuthorizedResult::~CheckKMSAuthorizedResult()
|
||||
{}
|
||||
|
||||
void CheckKMSAuthorizedResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AuthorizationState"].isNull())
|
||||
authorizationState_ = std::stoi(value["AuthorizationState"].asString());
|
||||
if(!value["RoleArn"].isNull())
|
||||
roleArn_ = value["RoleArn"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
int CheckKMSAuthorizedResult::getAuthorizationState()const
|
||||
{
|
||||
return authorizationState_;
|
||||
}
|
||||
|
||||
std::string CheckKMSAuthorizedResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string CheckKMSAuthorizedResult::getRoleArn()const
|
||||
{
|
||||
return roleArn_;
|
||||
}
|
||||
|
||||
106
polardb/src/model/CloseAITaskRequest.cc
Normal file
106
polardb/src/model/CloseAITaskRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/CloseAITaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CloseAITaskRequest;
|
||||
|
||||
CloseAITaskRequest::CloseAITaskRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CloseAITask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CloseAITaskRequest::~CloseAITaskRequest()
|
||||
{}
|
||||
|
||||
long CloseAITaskRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CloseAITaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CloseAITaskRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CloseAITaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CloseAITaskRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CloseAITaskRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CloseAITaskRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CloseAITaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CloseAITaskRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void CloseAITaskRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string CloseAITaskRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CloseAITaskRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CloseAITaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CloseAITaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
51
polardb/src/model/CloseAITaskResult.cc
Normal file
51
polardb/src/model/CloseAITaskResult.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/polardb/model/CloseAITaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
CloseAITaskResult::CloseAITaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CloseAITaskResult::CloseAITaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CloseAITaskResult::~CloseAITaskResult()
|
||||
{}
|
||||
|
||||
void CloseAITaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = value["TaskId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CloseAITaskResult::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
@@ -1,90 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/CloseDBClusterMigrationRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CloseDBClusterMigrationRequest;
|
||||
|
||||
CloseDBClusterMigrationRequest::CloseDBClusterMigrationRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CloseDBClusterMigration") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CloseDBClusterMigrationRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CloseDBClusterMigrationRequest;
|
||||
|
||||
CloseDBClusterMigrationRequest::CloseDBClusterMigrationRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CloseDBClusterMigration")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CloseDBClusterMigrationRequest::~CloseDBClusterMigrationRequest()
|
||||
{}
|
||||
|
||||
long CloseDBClusterMigrationRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
CloseDBClusterMigrationRequest::~CloseDBClusterMigrationRequest() {}
|
||||
|
||||
long CloseDBClusterMigrationRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CloseDBClusterMigrationRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CloseDBClusterMigrationRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CloseDBClusterMigrationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CloseDBClusterMigrationRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CloseDBClusterMigrationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CloseDBClusterMigrationRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CloseDBClusterMigrationRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CloseDBClusterMigrationRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CloseDBClusterMigrationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CloseDBClusterMigrationRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CloseDBClusterMigrationRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string CloseDBClusterMigrationRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void CloseDBClusterMigrationRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void CloseDBClusterMigrationRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string CloseDBClusterMigrationRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string CloseDBClusterMigrationRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CloseDBClusterMigrationRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CloseDBClusterMigrationRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long CloseDBClusterMigrationRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long CloseDBClusterMigrationRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void CloseDBClusterMigrationRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CloseDBClusterMigrationRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
bool CloseDBClusterMigrationRequest::getContinueEnableBinlog()const
|
||||
{
|
||||
return continueEnableBinlog_;
|
||||
}
|
||||
|
||||
bool CloseDBClusterMigrationRequest::getContinueEnableBinlog() const {
|
||||
return continueEnableBinlog_;
|
||||
}
|
||||
|
||||
void CloseDBClusterMigrationRequest::setContinueEnableBinlog(bool continueEnableBinlog) {
|
||||
continueEnableBinlog_ = continueEnableBinlog;
|
||||
setParameter(std::string("ContinueEnableBinlog"), continueEnableBinlog ? "true" : "false");
|
||||
void CloseDBClusterMigrationRequest::setContinueEnableBinlog(bool continueEnableBinlog)
|
||||
{
|
||||
continueEnableBinlog_ = continueEnableBinlog;
|
||||
setParameter("ContinueEnableBinlog", continueEnableBinlog ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
139
polardb/src/model/ContinueDBClusterMigrationRequest.cc
Normal file
139
polardb/src/model/ContinueDBClusterMigrationRequest.cc
Normal file
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* 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/polardb/model/ContinueDBClusterMigrationRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::ContinueDBClusterMigrationRequest;
|
||||
|
||||
ContinueDBClusterMigrationRequest::ContinueDBClusterMigrationRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "ContinueDBClusterMigration")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ContinueDBClusterMigrationRequest::~ContinueDBClusterMigrationRequest()
|
||||
{}
|
||||
|
||||
long ContinueDBClusterMigrationRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ContinueDBClusterMigrationRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ContinueDBClusterMigrationRequest::getForceSwitch()const
|
||||
{
|
||||
return forceSwitch_;
|
||||
}
|
||||
|
||||
void ContinueDBClusterMigrationRequest::setForceSwitch(const std::string& forceSwitch)
|
||||
{
|
||||
forceSwitch_ = forceSwitch;
|
||||
setParameter("ForceSwitch", forceSwitch);
|
||||
}
|
||||
|
||||
std::string ContinueDBClusterMigrationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ContinueDBClusterMigrationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ContinueDBClusterMigrationRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void ContinueDBClusterMigrationRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string ContinueDBClusterMigrationRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ContinueDBClusterMigrationRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ContinueDBClusterMigrationRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ContinueDBClusterMigrationRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ContinueDBClusterMigrationRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ContinueDBClusterMigrationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ContinueDBClusterMigrationRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void ContinueDBClusterMigrationRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string ContinueDBClusterMigrationRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ContinueDBClusterMigrationRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ContinueDBClusterMigrationRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ContinueDBClusterMigrationRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
44
polardb/src/model/ContinueDBClusterMigrationResult.cc
Normal file
44
polardb/src/model/ContinueDBClusterMigrationResult.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/polardb/model/ContinueDBClusterMigrationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
ContinueDBClusterMigrationResult::ContinueDBClusterMigrationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ContinueDBClusterMigrationResult::ContinueDBClusterMigrationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ContinueDBClusterMigrationResult::~ContinueDBClusterMigrationResult()
|
||||
{}
|
||||
|
||||
void ContinueDBClusterMigrationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,144 +1,172 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateAccountRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateAccountRequest;
|
||||
|
||||
CreateAccountRequest::CreateAccountRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CreateAccount") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateAccountRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateAccountRequest;
|
||||
|
||||
CreateAccountRequest::CreateAccountRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateAccount")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateAccountRequest::~CreateAccountRequest()
|
||||
{}
|
||||
|
||||
long CreateAccountRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
CreateAccountRequest::~CreateAccountRequest() {}
|
||||
|
||||
long CreateAccountRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CreateAccountRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CreateAccountRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
void CreateAccountRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
std::string CreateAccountRequest::getAccountType()const
|
||||
{
|
||||
return accountType_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccountType() const {
|
||||
return accountType_;
|
||||
void CreateAccountRequest::setAccountType(const std::string& accountType)
|
||||
{
|
||||
accountType_ = accountType;
|
||||
setParameter("AccountType", accountType);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setAccountType(const std::string &accountType) {
|
||||
accountType_ = accountType;
|
||||
setParameter(std::string("AccountType"), accountType);
|
||||
std::string CreateAccountRequest::getAccountDescription()const
|
||||
{
|
||||
return accountDescription_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccountDescription() const {
|
||||
return accountDescription_;
|
||||
void CreateAccountRequest::setAccountDescription(const std::string& accountDescription)
|
||||
{
|
||||
accountDescription_ = accountDescription;
|
||||
setParameter("AccountDescription", accountDescription);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setAccountDescription(const std::string &accountDescription) {
|
||||
accountDescription_ = accountDescription;
|
||||
setParameter(std::string("AccountDescription"), accountDescription);
|
||||
std::string CreateAccountRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CreateAccountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CreateAccountRequest::getAccountPrivilege()const
|
||||
{
|
||||
return accountPrivilege_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccountPrivilege() const {
|
||||
return accountPrivilege_;
|
||||
void CreateAccountRequest::setAccountPrivilege(const std::string& accountPrivilege)
|
||||
{
|
||||
accountPrivilege_ = accountPrivilege;
|
||||
setParameter("AccountPrivilege", accountPrivilege);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setAccountPrivilege(const std::string &accountPrivilege) {
|
||||
accountPrivilege_ = accountPrivilege;
|
||||
setParameter(std::string("AccountPrivilege"), accountPrivilege);
|
||||
std::string CreateAccountRequest::getAccountName()const
|
||||
{
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccountName() const {
|
||||
return accountName_;
|
||||
void CreateAccountRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setAccountName(const std::string &accountName) {
|
||||
accountName_ = accountName;
|
||||
setParameter(std::string("AccountName"), accountName);
|
||||
std::string CreateAccountRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CreateAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CreateAccountRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void CreateAccountRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string CreateAccountRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CreateAccountRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long CreateAccountRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long CreateAccountRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void CreateAccountRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
std::string CreateAccountRequest::getAccountPassword()const
|
||||
{
|
||||
return accountPassword_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccountPassword() const {
|
||||
return accountPassword_;
|
||||
void CreateAccountRequest::setAccountPassword(const std::string& accountPassword)
|
||||
{
|
||||
accountPassword_ = accountPassword;
|
||||
setParameter("AccountPassword", accountPassword);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setAccountPassword(const std::string &accountPassword) {
|
||||
accountPassword_ = accountPassword;
|
||||
setParameter(std::string("AccountPassword"), accountPassword);
|
||||
std::string CreateAccountRequest::getDBName()const
|
||||
{
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getDBName() const {
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setDBName(const std::string &dBName) {
|
||||
dBName_ = dBName;
|
||||
setParameter(std::string("DBName"), dBName);
|
||||
void CreateAccountRequest::setDBName(const std::string& dBName)
|
||||
{
|
||||
dBName_ = dBName;
|
||||
setParameter("DBName", dBName);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,90 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateBackupRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateBackupRequest;
|
||||
|
||||
CreateBackupRequest::CreateBackupRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CreateBackup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateBackupRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateBackupRequest;
|
||||
|
||||
CreateBackupRequest::CreateBackupRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateBackup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateBackupRequest::~CreateBackupRequest()
|
||||
{}
|
||||
|
||||
long CreateBackupRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
CreateBackupRequest::~CreateBackupRequest() {}
|
||||
|
||||
long CreateBackupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CreateBackupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CreateBackupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CreateBackupRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateBackupRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
void CreateBackupRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
void CreateBackupRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
std::string CreateBackupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateBackupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CreateBackupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CreateBackupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CreateBackupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateBackupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CreateBackupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CreateBackupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CreateBackupRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string CreateBackupRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void CreateBackupRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void CreateBackupRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string CreateBackupRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateBackupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CreateBackupRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CreateBackupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long CreateBackupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long CreateBackupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateBackupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void CreateBackupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,144 +1,172 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateDBClusterEndpointRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateDBClusterEndpointRequest;
|
||||
|
||||
CreateDBClusterEndpointRequest::CreateDBClusterEndpointRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CreateDBClusterEndpoint") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateDBClusterEndpointRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateDBClusterEndpointRequest;
|
||||
|
||||
CreateDBClusterEndpointRequest::CreateDBClusterEndpointRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateDBClusterEndpoint")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDBClusterEndpointRequest::~CreateDBClusterEndpointRequest()
|
||||
{}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getAutoAddNewNodes()const
|
||||
{
|
||||
return autoAddNewNodes_;
|
||||
}
|
||||
|
||||
CreateDBClusterEndpointRequest::~CreateDBClusterEndpointRequest() {}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getAutoAddNewNodes() const {
|
||||
return autoAddNewNodes_;
|
||||
void CreateDBClusterEndpointRequest::setAutoAddNewNodes(const std::string& autoAddNewNodes)
|
||||
{
|
||||
autoAddNewNodes_ = autoAddNewNodes;
|
||||
setParameter("AutoAddNewNodes", autoAddNewNodes);
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setAutoAddNewNodes(const std::string &autoAddNewNodes) {
|
||||
autoAddNewNodes_ = autoAddNewNodes;
|
||||
setParameter(std::string("AutoAddNewNodes"), autoAddNewNodes);
|
||||
long CreateDBClusterEndpointRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
long CreateDBClusterEndpointRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CreateDBClusterEndpointRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CreateDBClusterEndpointRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
void CreateDBClusterEndpointRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
std::string CreateDBClusterEndpointRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CreateDBClusterEndpointRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CreateDBClusterEndpointRequest::getReadWriteMode()const
|
||||
{
|
||||
return readWriteMode_;
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getReadWriteMode() const {
|
||||
return readWriteMode_;
|
||||
void CreateDBClusterEndpointRequest::setReadWriteMode(const std::string& readWriteMode)
|
||||
{
|
||||
readWriteMode_ = readWriteMode;
|
||||
setParameter("ReadWriteMode", readWriteMode);
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setReadWriteMode(const std::string &readWriteMode) {
|
||||
readWriteMode_ = readWriteMode;
|
||||
setParameter(std::string("ReadWriteMode"), readWriteMode);
|
||||
std::string CreateDBClusterEndpointRequest::getEndpointType()const
|
||||
{
|
||||
return endpointType_;
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getEndpointType() const {
|
||||
return endpointType_;
|
||||
void CreateDBClusterEndpointRequest::setEndpointType(const std::string& endpointType)
|
||||
{
|
||||
endpointType_ = endpointType;
|
||||
setParameter("EndpointType", endpointType);
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setEndpointType(const std::string &endpointType) {
|
||||
endpointType_ = endpointType;
|
||||
setParameter(std::string("EndpointType"), endpointType);
|
||||
std::string CreateDBClusterEndpointRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CreateDBClusterEndpointRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CreateDBClusterEndpointRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void CreateDBClusterEndpointRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string CreateDBClusterEndpointRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CreateDBClusterEndpointRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
std::string CreateDBClusterEndpointRequest::getEndpointConfig()const
|
||||
{
|
||||
return endpointConfig_;
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getEndpointConfig() const {
|
||||
return endpointConfig_;
|
||||
void CreateDBClusterEndpointRequest::setEndpointConfig(const std::string& endpointConfig)
|
||||
{
|
||||
endpointConfig_ = endpointConfig;
|
||||
setParameter("EndpointConfig", endpointConfig);
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setEndpointConfig(const std::string &endpointConfig) {
|
||||
endpointConfig_ = endpointConfig;
|
||||
setParameter(std::string("EndpointConfig"), endpointConfig);
|
||||
std::string CreateDBClusterEndpointRequest::getDBEndpointDescription()const
|
||||
{
|
||||
return dBEndpointDescription_;
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getDBEndpointDescription() const {
|
||||
return dBEndpointDescription_;
|
||||
void CreateDBClusterEndpointRequest::setDBEndpointDescription(const std::string& dBEndpointDescription)
|
||||
{
|
||||
dBEndpointDescription_ = dBEndpointDescription;
|
||||
setParameter("DBEndpointDescription", dBEndpointDescription);
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setDBEndpointDescription(const std::string &dBEndpointDescription) {
|
||||
dBEndpointDescription_ = dBEndpointDescription;
|
||||
setParameter(std::string("DBEndpointDescription"), dBEndpointDescription);
|
||||
long CreateDBClusterEndpointRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long CreateDBClusterEndpointRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void CreateDBClusterEndpointRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
std::string CreateDBClusterEndpointRequest::getNodes()const
|
||||
{
|
||||
return nodes_;
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getNodes() const {
|
||||
return nodes_;
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setNodes(const std::string &nodes) {
|
||||
nodes_ = nodes;
|
||||
setParameter(std::string("Nodes"), nodes);
|
||||
void CreateDBClusterEndpointRequest::setNodes(const std::string& nodes)
|
||||
{
|
||||
nodes_ = nodes;
|
||||
setParameter("Nodes", nodes);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,324 +1,474 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateDBClusterRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateDBClusterRequest;
|
||||
|
||||
CreateDBClusterRequest::CreateDBClusterRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateDBCluster")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDBClusterRequest::~CreateDBClusterRequest()
|
||||
{}
|
||||
|
||||
long CreateDBClusterRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBClusterDescription()const
|
||||
{
|
||||
return dBClusterDescription_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setDBClusterDescription(const std::string& dBClusterDescription)
|
||||
{
|
||||
dBClusterDescription_ = dBClusterDescription;
|
||||
setParameter("DBClusterDescription", dBClusterDescription);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getScaleMax()const
|
||||
{
|
||||
return scaleMax_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setScaleMax(const std::string& scaleMax)
|
||||
{
|
||||
scaleMax_ = scaleMax;
|
||||
setParameter("ScaleMax", scaleMax);
|
||||
}
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateDBClusterRequest.h>
|
||||
std::string CreateDBClusterRequest::getCreationCategory()const
|
||||
{
|
||||
return creationCategory_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setCreationCategory(const std::string& creationCategory)
|
||||
{
|
||||
creationCategory_ = creationCategory;
|
||||
setParameter("CreationCategory", creationCategory);
|
||||
}
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateDBClusterRequest;
|
||||
std::string CreateDBClusterRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
CreateDBClusterRequest::CreateDBClusterRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CreateDBCluster") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
std::string CreateDBClusterRequest::getDBNodeClass()const
|
||||
{
|
||||
return dBNodeClass_;
|
||||
}
|
||||
|
||||
CreateDBClusterRequest::~CreateDBClusterRequest() {}
|
||||
void CreateDBClusterRequest::setDBNodeClass(const std::string& dBNodeClass)
|
||||
{
|
||||
dBNodeClass_ = dBNodeClass;
|
||||
setParameter("DBNodeClass", dBNodeClass);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getCreationOption()const
|
||||
{
|
||||
return creationOption_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setCreationOption(const std::string& creationOption)
|
||||
{
|
||||
creationOption_ = creationOption;
|
||||
setParameter("CreationOption", creationOption);
|
||||
}
|
||||
|
||||
long CreateDBClusterRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
std::vector<CreateDBClusterRequest::Tag> CreateDBClusterRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
void CreateDBClusterRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBClusterDescription() const {
|
||||
return dBClusterDescription_;
|
||||
std::string CreateDBClusterRequest::getSourceResourceId()const
|
||||
{
|
||||
return sourceResourceId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setDBClusterDescription(const std::string &dBClusterDescription) {
|
||||
dBClusterDescription_ = dBClusterDescription;
|
||||
setParameter(std::string("DBClusterDescription"), dBClusterDescription);
|
||||
void CreateDBClusterRequest::setSourceResourceId(const std::string& sourceResourceId)
|
||||
{
|
||||
sourceResourceId_ = sourceResourceId;
|
||||
setParameter("SourceResourceId", sourceResourceId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getCreationCategory() const {
|
||||
return creationCategory_;
|
||||
std::string CreateDBClusterRequest::getScaleMin()const
|
||||
{
|
||||
return scaleMin_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setCreationCategory(const std::string &creationCategory) {
|
||||
creationCategory_ = creationCategory;
|
||||
setParameter(std::string("CreationCategory"), creationCategory);
|
||||
void CreateDBClusterRequest::setScaleMin(const std::string& scaleMin)
|
||||
{
|
||||
scaleMin_ = scaleMin;
|
||||
setParameter("ScaleMin", scaleMin);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
std::string CreateDBClusterRequest::getBackupRetentionPolicyOnClusterDeletion()const
|
||||
{
|
||||
return backupRetentionPolicyOnClusterDeletion_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
void CreateDBClusterRequest::setBackupRetentionPolicyOnClusterDeletion(const std::string& backupRetentionPolicyOnClusterDeletion)
|
||||
{
|
||||
backupRetentionPolicyOnClusterDeletion_ = backupRetentionPolicyOnClusterDeletion;
|
||||
setParameter("BackupRetentionPolicyOnClusterDeletion", backupRetentionPolicyOnClusterDeletion);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBNodeClass() const {
|
||||
return dBNodeClass_;
|
||||
std::string CreateDBClusterRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setDBNodeClass(const std::string &dBNodeClass) {
|
||||
dBNodeClass_ = dBNodeClass;
|
||||
setParameter(std::string("DBNodeClass"), dBNodeClass);
|
||||
void CreateDBClusterRequest::setPeriod(const std::string& period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", period);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getCreationOption() const {
|
||||
return creationOption_;
|
||||
long CreateDBClusterRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setCreationOption(const std::string &creationOption) {
|
||||
creationOption_ = creationOption;
|
||||
setParameter(std::string("CreationOption"), creationOption);
|
||||
void CreateDBClusterRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getSourceResourceId() const {
|
||||
return sourceResourceId_;
|
||||
std::string CreateDBClusterRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setSourceResourceId(const std::string &sourceResourceId) {
|
||||
sourceResourceId_ = sourceResourceId;
|
||||
setParameter(std::string("SourceResourceId"), sourceResourceId);
|
||||
void CreateDBClusterRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getBackupRetentionPolicyOnClusterDeletion() const {
|
||||
return backupRetentionPolicyOnClusterDeletion_;
|
||||
std::string CreateDBClusterRequest::getSecurityIPList()const
|
||||
{
|
||||
return securityIPList_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setBackupRetentionPolicyOnClusterDeletion(const std::string &backupRetentionPolicyOnClusterDeletion) {
|
||||
backupRetentionPolicyOnClusterDeletion_ = backupRetentionPolicyOnClusterDeletion;
|
||||
setParameter(std::string("BackupRetentionPolicyOnClusterDeletion"), backupRetentionPolicyOnClusterDeletion);
|
||||
void CreateDBClusterRequest::setSecurityIPList(const std::string& securityIPList)
|
||||
{
|
||||
securityIPList_ = securityIPList;
|
||||
setParameter("SecurityIPList", securityIPList);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getPeriod() const {
|
||||
return period_;
|
||||
std::string CreateDBClusterRequest::getDBMinorVersion()const
|
||||
{
|
||||
return dBMinorVersion_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setPeriod(const std::string &period) {
|
||||
period_ = period;
|
||||
setParameter(std::string("Period"), period);
|
||||
void CreateDBClusterRequest::setDBMinorVersion(const std::string& dBMinorVersion)
|
||||
{
|
||||
dBMinorVersion_ = dBMinorVersion;
|
||||
setParameter("DBMinorVersion", dBMinorVersion);
|
||||
}
|
||||
|
||||
long CreateDBClusterRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
bool CreateDBClusterRequest::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void CreateDBClusterRequest::setAutoRenew(bool autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getVSwitchId() const {
|
||||
return vSwitchId_;
|
||||
std::string CreateDBClusterRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setVSwitchId(const std::string &vSwitchId) {
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter(std::string("VSwitchId"), vSwitchId);
|
||||
void CreateDBClusterRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getSecurityIPList() const {
|
||||
return securityIPList_;
|
||||
bool CreateDBClusterRequest::getTDEStatus()const
|
||||
{
|
||||
return tDEStatus_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setSecurityIPList(const std::string &securityIPList) {
|
||||
securityIPList_ = securityIPList;
|
||||
setParameter(std::string("SecurityIPList"), securityIPList);
|
||||
void CreateDBClusterRequest::setTDEStatus(bool tDEStatus)
|
||||
{
|
||||
tDEStatus_ = tDEStatus;
|
||||
setParameter("TDEStatus", tDEStatus ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBMinorVersion() const {
|
||||
return dBMinorVersion_;
|
||||
std::string CreateDBClusterRequest::getAllowShutDown()const
|
||||
{
|
||||
return allowShutDown_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setDBMinorVersion(const std::string &dBMinorVersion) {
|
||||
dBMinorVersion_ = dBMinorVersion;
|
||||
setParameter(std::string("DBMinorVersion"), dBMinorVersion);
|
||||
void CreateDBClusterRequest::setAllowShutDown(const std::string& allowShutDown)
|
||||
{
|
||||
allowShutDown_ = allowShutDown;
|
||||
setParameter("AllowShutDown", allowShutDown);
|
||||
}
|
||||
|
||||
bool CreateDBClusterRequest::getAutoRenew() const {
|
||||
return autoRenew_;
|
||||
std::string CreateDBClusterRequest::getLowerCaseTableNames()const
|
||||
{
|
||||
return lowerCaseTableNames_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setAutoRenew(bool autoRenew) {
|
||||
autoRenew_ = autoRenew;
|
||||
setParameter(std::string("AutoRenew"), autoRenew ? "true" : "false");
|
||||
void CreateDBClusterRequest::setLowerCaseTableNames(const std::string& lowerCaseTableNames)
|
||||
{
|
||||
lowerCaseTableNames_ = lowerCaseTableNames;
|
||||
setParameter("LowerCaseTableNames", lowerCaseTableNames);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getZoneId() const {
|
||||
return zoneId_;
|
||||
std::string CreateDBClusterRequest::getScaleRoNumMax()const
|
||||
{
|
||||
return scaleRoNumMax_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setZoneId(const std::string &zoneId) {
|
||||
zoneId_ = zoneId;
|
||||
setParameter(std::string("ZoneId"), zoneId);
|
||||
void CreateDBClusterRequest::setScaleRoNumMax(const std::string& scaleRoNumMax)
|
||||
{
|
||||
scaleRoNumMax_ = scaleRoNumMax;
|
||||
setParameter("ScaleRoNumMax", scaleRoNumMax);
|
||||
}
|
||||
|
||||
bool CreateDBClusterRequest::getTDEStatus() const {
|
||||
return tDEStatus_;
|
||||
std::string CreateDBClusterRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setTDEStatus(bool tDEStatus) {
|
||||
tDEStatus_ = tDEStatus;
|
||||
setParameter(std::string("TDEStatus"), tDEStatus ? "true" : "false");
|
||||
void CreateDBClusterRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getLowerCaseTableNames() const {
|
||||
return lowerCaseTableNames_;
|
||||
std::string CreateDBClusterRequest::getDefaultTimeZone()const
|
||||
{
|
||||
return defaultTimeZone_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setLowerCaseTableNames(const std::string &lowerCaseTableNames) {
|
||||
lowerCaseTableNames_ = lowerCaseTableNames;
|
||||
setParameter(std::string("LowerCaseTableNames"), lowerCaseTableNames);
|
||||
void CreateDBClusterRequest::setDefaultTimeZone(const std::string& defaultTimeZone)
|
||||
{
|
||||
defaultTimeZone_ = defaultTimeZone;
|
||||
setParameter("DefaultTimeZone", defaultTimeZone);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
std::string CreateDBClusterRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
void CreateDBClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDefaultTimeZone() const {
|
||||
return defaultTimeZone_;
|
||||
std::string CreateDBClusterRequest::getClusterNetworkType()const
|
||||
{
|
||||
return clusterNetworkType_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setDefaultTimeZone(const std::string &defaultTimeZone) {
|
||||
defaultTimeZone_ = defaultTimeZone;
|
||||
setParameter(std::string("DefaultTimeZone"), defaultTimeZone);
|
||||
void CreateDBClusterRequest::setClusterNetworkType(const std::string& clusterNetworkType)
|
||||
{
|
||||
clusterNetworkType_ = clusterNetworkType;
|
||||
setParameter("ClusterNetworkType", clusterNetworkType);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
std::string CreateDBClusterRequest::getParameterGroupId()const
|
||||
{
|
||||
return parameterGroupId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
void CreateDBClusterRequest::setParameterGroupId(const std::string& parameterGroupId)
|
||||
{
|
||||
parameterGroupId_ = parameterGroupId;
|
||||
setParameter("ParameterGroupId", parameterGroupId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getClusterNetworkType() const {
|
||||
return clusterNetworkType_;
|
||||
std::string CreateDBClusterRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setClusterNetworkType(const std::string &clusterNetworkType) {
|
||||
clusterNetworkType_ = clusterNetworkType;
|
||||
setParameter(std::string("ClusterNetworkType"), clusterNetworkType);
|
||||
void CreateDBClusterRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getParameterGroupId() const {
|
||||
return parameterGroupId_;
|
||||
std::string CreateDBClusterRequest::getEngine()const
|
||||
{
|
||||
return engine_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setParameterGroupId(const std::string ¶meterGroupId) {
|
||||
parameterGroupId_ = parameterGroupId;
|
||||
setParameter(std::string("ParameterGroupId"), parameterGroupId);
|
||||
void CreateDBClusterRequest::setEngine(const std::string& engine)
|
||||
{
|
||||
engine_ = engine;
|
||||
setParameter("Engine", engine);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
std::string CreateDBClusterRequest::getGDNId()const
|
||||
{
|
||||
return gDNId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
void CreateDBClusterRequest::setGDNId(const std::string& gDNId)
|
||||
{
|
||||
gDNId_ = gDNId;
|
||||
setParameter("GDNId", gDNId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getEngine() const {
|
||||
return engine_;
|
||||
std::string CreateDBClusterRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setEngine(const std::string &engine) {
|
||||
engine_ = engine;
|
||||
setParameter(std::string("Engine"), engine);
|
||||
void CreateDBClusterRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getGDNId() const {
|
||||
return gDNId_;
|
||||
std::string CreateDBClusterRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setGDNId(const std::string &gDNId) {
|
||||
gDNId_ = gDNId;
|
||||
setParameter(std::string("GDNId"), gDNId);
|
||||
void CreateDBClusterRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
std::string CreateDBClusterRequest::getUsedTime()const
|
||||
{
|
||||
return usedTime_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
void CreateDBClusterRequest::setUsedTime(const std::string& usedTime)
|
||||
{
|
||||
usedTime_ = usedTime;
|
||||
setParameter("UsedTime", usedTime);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
std::string CreateDBClusterRequest::getVPCId()const
|
||||
{
|
||||
return vPCId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
void CreateDBClusterRequest::setVPCId(const std::string& vPCId)
|
||||
{
|
||||
vPCId_ = vPCId;
|
||||
setParameter("VPCId", vPCId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getUsedTime() const {
|
||||
return usedTime_;
|
||||
std::string CreateDBClusterRequest::getScaleRoNumMin()const
|
||||
{
|
||||
return scaleRoNumMin_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setUsedTime(const std::string &usedTime) {
|
||||
usedTime_ = usedTime;
|
||||
setParameter(std::string("UsedTime"), usedTime);
|
||||
void CreateDBClusterRequest::setScaleRoNumMin(const std::string& scaleRoNumMin)
|
||||
{
|
||||
scaleRoNumMin_ = scaleRoNumMin;
|
||||
setParameter("ScaleRoNumMin", scaleRoNumMin);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getVPCId() const {
|
||||
return vPCId_;
|
||||
std::string CreateDBClusterRequest::getDBType()const
|
||||
{
|
||||
return dBType_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setVPCId(const std::string &vPCId) {
|
||||
vPCId_ = vPCId;
|
||||
setParameter(std::string("VPCId"), vPCId);
|
||||
void CreateDBClusterRequest::setDBType(const std::string& dBType)
|
||||
{
|
||||
dBType_ = dBType;
|
||||
setParameter("DBType", dBType);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBType() const {
|
||||
return dBType_;
|
||||
std::string CreateDBClusterRequest::getDBVersion()const
|
||||
{
|
||||
return dBVersion_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setDBType(const std::string &dBType) {
|
||||
dBType_ = dBType;
|
||||
setParameter(std::string("DBType"), dBType);
|
||||
void CreateDBClusterRequest::setDBVersion(const std::string& dBVersion)
|
||||
{
|
||||
dBVersion_ = dBVersion;
|
||||
setParameter("DBVersion", dBVersion);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBVersion() const {
|
||||
return dBVersion_;
|
||||
std::string CreateDBClusterRequest::getCloneDataPoint()const
|
||||
{
|
||||
return cloneDataPoint_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setDBVersion(const std::string &dBVersion) {
|
||||
dBVersion_ = dBVersion;
|
||||
setParameter(std::string("DBVersion"), dBVersion);
|
||||
void CreateDBClusterRequest::setCloneDataPoint(const std::string& cloneDataPoint)
|
||||
{
|
||||
cloneDataPoint_ = cloneDataPoint;
|
||||
setParameter("CloneDataPoint", cloneDataPoint);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getCloneDataPoint() const {
|
||||
return cloneDataPoint_;
|
||||
std::string CreateDBClusterRequest::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setCloneDataPoint(const std::string &cloneDataPoint) {
|
||||
cloneDataPoint_ = cloneDataPoint;
|
||||
setParameter(std::string("CloneDataPoint"), cloneDataPoint);
|
||||
void CreateDBClusterRequest::setPayType(const std::string& payType)
|
||||
{
|
||||
payType_ = payType;
|
||||
setParameter("PayType", payType);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getPayType() const {
|
||||
return payType_;
|
||||
std::string CreateDBClusterRequest::getServerlessType()const
|
||||
{
|
||||
return serverlessType_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setPayType(const std::string &payType) {
|
||||
payType_ = payType;
|
||||
setParameter(std::string("PayType"), payType);
|
||||
void CreateDBClusterRequest::setServerlessType(const std::string& serverlessType)
|
||||
{
|
||||
serverlessType_ = serverlessType;
|
||||
setParameter("ServerlessType", serverlessType);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,108 +1,128 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateDBEndpointAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateDBEndpointAddressRequest;
|
||||
|
||||
CreateDBEndpointAddressRequest::CreateDBEndpointAddressRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CreateDBEndpointAddress") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateDBEndpointAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateDBEndpointAddressRequest;
|
||||
|
||||
CreateDBEndpointAddressRequest::CreateDBEndpointAddressRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateDBEndpointAddress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDBEndpointAddressRequest::~CreateDBEndpointAddressRequest()
|
||||
{}
|
||||
|
||||
long CreateDBEndpointAddressRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
CreateDBEndpointAddressRequest::~CreateDBEndpointAddressRequest() {}
|
||||
|
||||
long CreateDBEndpointAddressRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CreateDBEndpointAddressRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CreateDBEndpointAddressRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CreateDBEndpointAddressRequest::getConnectionStringPrefix()const
|
||||
{
|
||||
return connectionStringPrefix_;
|
||||
}
|
||||
|
||||
std::string CreateDBEndpointAddressRequest::getConnectionStringPrefix() const {
|
||||
return connectionStringPrefix_;
|
||||
void CreateDBEndpointAddressRequest::setConnectionStringPrefix(const std::string& connectionStringPrefix)
|
||||
{
|
||||
connectionStringPrefix_ = connectionStringPrefix;
|
||||
setParameter("ConnectionStringPrefix", connectionStringPrefix);
|
||||
}
|
||||
|
||||
void CreateDBEndpointAddressRequest::setConnectionStringPrefix(const std::string &connectionStringPrefix) {
|
||||
connectionStringPrefix_ = connectionStringPrefix;
|
||||
setParameter(std::string("ConnectionStringPrefix"), connectionStringPrefix);
|
||||
std::string CreateDBEndpointAddressRequest::getDBEndpointId()const
|
||||
{
|
||||
return dBEndpointId_;
|
||||
}
|
||||
|
||||
std::string CreateDBEndpointAddressRequest::getDBEndpointId() const {
|
||||
return dBEndpointId_;
|
||||
void CreateDBEndpointAddressRequest::setDBEndpointId(const std::string& dBEndpointId)
|
||||
{
|
||||
dBEndpointId_ = dBEndpointId;
|
||||
setParameter("DBEndpointId", dBEndpointId);
|
||||
}
|
||||
|
||||
void CreateDBEndpointAddressRequest::setDBEndpointId(const std::string &dBEndpointId) {
|
||||
dBEndpointId_ = dBEndpointId;
|
||||
setParameter(std::string("DBEndpointId"), dBEndpointId);
|
||||
std::string CreateDBEndpointAddressRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateDBEndpointAddressRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CreateDBEndpointAddressRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CreateDBEndpointAddressRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CreateDBEndpointAddressRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateDBEndpointAddressRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CreateDBEndpointAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CreateDBEndpointAddressRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CreateDBEndpointAddressRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string CreateDBEndpointAddressRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void CreateDBEndpointAddressRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void CreateDBEndpointAddressRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string CreateDBEndpointAddressRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateDBEndpointAddressRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CreateDBEndpointAddressRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CreateDBEndpointAddressRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long CreateDBEndpointAddressRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long CreateDBEndpointAddressRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void CreateDBEndpointAddressRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateDBEndpointAddressRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
std::string CreateDBEndpointAddressRequest::getNetType()const
|
||||
{
|
||||
return netType_;
|
||||
}
|
||||
|
||||
std::string CreateDBEndpointAddressRequest::getNetType() const {
|
||||
return netType_;
|
||||
}
|
||||
|
||||
void CreateDBEndpointAddressRequest::setNetType(const std::string &netType) {
|
||||
netType_ = netType;
|
||||
setParameter(std::string("NetType"), netType);
|
||||
void CreateDBEndpointAddressRequest::setNetType(const std::string& netType)
|
||||
{
|
||||
netType_ = netType;
|
||||
setParameter("NetType", netType);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,180 +1,227 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateDBLinkRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateDBLinkRequest;
|
||||
|
||||
CreateDBLinkRequest::CreateDBLinkRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CreateDBLink") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateDBLinkRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateDBLinkRequest;
|
||||
|
||||
CreateDBLinkRequest::CreateDBLinkRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateDBLink")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDBLinkRequest::~CreateDBLinkRequest()
|
||||
{}
|
||||
|
||||
long CreateDBLinkRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
CreateDBLinkRequest::~CreateDBLinkRequest() {}
|
||||
|
||||
long CreateDBLinkRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CreateDBLinkRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CreateDBLinkRequest::getSourceDBName()const
|
||||
{
|
||||
return sourceDBName_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getSourceDBName() const {
|
||||
return sourceDBName_;
|
||||
void CreateDBLinkRequest::setSourceDBName(const std::string& sourceDBName)
|
||||
{
|
||||
sourceDBName_ = sourceDBName;
|
||||
setParameter("SourceDBName", sourceDBName);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setSourceDBName(const std::string &sourceDBName) {
|
||||
sourceDBName_ = sourceDBName;
|
||||
setParameter(std::string("SourceDBName"), sourceDBName);
|
||||
std::string CreateDBLinkRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
void CreateDBLinkRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
std::string CreateDBLinkRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CreateDBLinkRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CreateDBLinkRequest::getTargetDBName()const
|
||||
{
|
||||
return targetDBName_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getTargetDBName() const {
|
||||
return targetDBName_;
|
||||
void CreateDBLinkRequest::setTargetDBName(const std::string& targetDBName)
|
||||
{
|
||||
targetDBName_ = targetDBName;
|
||||
setParameter("TargetDBName", targetDBName);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setTargetDBName(const std::string &targetDBName) {
|
||||
targetDBName_ = targetDBName;
|
||||
setParameter(std::string("TargetDBName"), targetDBName);
|
||||
std::string CreateDBLinkRequest::getTargetIp()const
|
||||
{
|
||||
return targetIp_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getTargetIp() const {
|
||||
return targetIp_;
|
||||
void CreateDBLinkRequest::setTargetIp(const std::string& targetIp)
|
||||
{
|
||||
targetIp_ = targetIp;
|
||||
setParameter("TargetIp", targetIp);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setTargetIp(const std::string &targetIp) {
|
||||
targetIp_ = targetIp;
|
||||
setParameter(std::string("TargetIp"), targetIp);
|
||||
std::string CreateDBLinkRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
void CreateDBLinkRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
std::string CreateDBLinkRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getDBLinkName() const {
|
||||
return dBLinkName_;
|
||||
void CreateDBLinkRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setDBLinkName(const std::string &dBLinkName) {
|
||||
dBLinkName_ = dBLinkName;
|
||||
setParameter(std::string("DBLinkName"), dBLinkName);
|
||||
std::string CreateDBLinkRequest::getDBLinkName()const
|
||||
{
|
||||
return dBLinkName_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getTargetPort() const {
|
||||
return targetPort_;
|
||||
void CreateDBLinkRequest::setDBLinkName(const std::string& dBLinkName)
|
||||
{
|
||||
dBLinkName_ = dBLinkName;
|
||||
setParameter("DBLinkName", dBLinkName);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setTargetPort(const std::string &targetPort) {
|
||||
targetPort_ = targetPort;
|
||||
setParameter(std::string("TargetPort"), targetPort);
|
||||
std::string CreateDBLinkRequest::getTargetPort()const
|
||||
{
|
||||
return targetPort_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CreateDBLinkRequest::setTargetPort(const std::string& targetPort)
|
||||
{
|
||||
targetPort_ = targetPort;
|
||||
setParameter("TargetPort", targetPort);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CreateDBLinkRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getTargetDBInstanceName() const {
|
||||
return targetDBInstanceName_;
|
||||
void CreateDBLinkRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setTargetDBInstanceName(const std::string &targetDBInstanceName) {
|
||||
targetDBInstanceName_ = targetDBInstanceName;
|
||||
setParameter(std::string("TargetDBInstanceName"), targetDBInstanceName);
|
||||
std::string CreateDBLinkRequest::getTargetDBInstanceName()const
|
||||
{
|
||||
return targetDBInstanceName_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void CreateDBLinkRequest::setTargetDBInstanceName(const std::string& targetDBInstanceName)
|
||||
{
|
||||
targetDBInstanceName_ = targetDBInstanceName;
|
||||
setParameter("TargetDBInstanceName", targetDBInstanceName);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string CreateDBLinkRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CreateDBLinkRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
std::string CreateDBLinkRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getTargetDBPasswd() const {
|
||||
return targetDBPasswd_;
|
||||
void CreateDBLinkRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setTargetDBPasswd(const std::string &targetDBPasswd) {
|
||||
targetDBPasswd_ = targetDBPasswd;
|
||||
setParameter(std::string("TargetDBPasswd"), targetDBPasswd);
|
||||
std::string CreateDBLinkRequest::getTargetDBPasswd()const
|
||||
{
|
||||
return targetDBPasswd_;
|
||||
}
|
||||
|
||||
long CreateDBLinkRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void CreateDBLinkRequest::setTargetDBPasswd(const std::string& targetDBPasswd)
|
||||
{
|
||||
targetDBPasswd_ = targetDBPasswd;
|
||||
setParameter("TargetDBPasswd", targetDBPasswd);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
long CreateDBLinkRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getTargetDBAccount() const {
|
||||
return targetDBAccount_;
|
||||
void CreateDBLinkRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setTargetDBAccount(const std::string &targetDBAccount) {
|
||||
targetDBAccount_ = targetDBAccount;
|
||||
setParameter(std::string("TargetDBAccount"), targetDBAccount);
|
||||
std::string CreateDBLinkRequest::getTargetDBAccount()const
|
||||
{
|
||||
return targetDBAccount_;
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getVpcId() const {
|
||||
return vpcId_;
|
||||
void CreateDBLinkRequest::setTargetDBAccount(const std::string& targetDBAccount)
|
||||
{
|
||||
targetDBAccount_ = targetDBAccount;
|
||||
setParameter("TargetDBAccount", targetDBAccount);
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setVpcId(const std::string &vpcId) {
|
||||
vpcId_ = vpcId;
|
||||
setParameter(std::string("VpcId"), vpcId);
|
||||
std::string CreateDBLinkRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,140 +1,177 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateDBNodesRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateDBNodesRequest;
|
||||
|
||||
CreateDBNodesRequest::CreateDBNodesRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CreateDBNodes") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateDBNodesRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateDBNodesRequest;
|
||||
|
||||
CreateDBNodesRequest::CreateDBNodesRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateDBNodes")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDBNodesRequest::~CreateDBNodesRequest()
|
||||
{}
|
||||
|
||||
long CreateDBNodesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
CreateDBNodesRequest::~CreateDBNodesRequest() {}
|
||||
|
||||
long CreateDBNodesRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CreateDBNodesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CreateDBNodesRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateDBNodesRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
void CreateDBNodesRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
std::string CreateDBNodesRequest::getEndpointBindList()const
|
||||
{
|
||||
return endpointBindList_;
|
||||
}
|
||||
|
||||
std::string CreateDBNodesRequest::getEndpointBindList() const {
|
||||
return endpointBindList_;
|
||||
void CreateDBNodesRequest::setEndpointBindList(const std::string& endpointBindList)
|
||||
{
|
||||
endpointBindList_ = endpointBindList;
|
||||
setParameter("EndpointBindList", endpointBindList);
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setEndpointBindList(const std::string &endpointBindList) {
|
||||
endpointBindList_ = endpointBindList;
|
||||
setParameter(std::string("EndpointBindList"), endpointBindList);
|
||||
std::string CreateDBNodesRequest::getPlannedEndTime()const
|
||||
{
|
||||
return plannedEndTime_;
|
||||
}
|
||||
|
||||
std::string CreateDBNodesRequest::getPlannedEndTime() const {
|
||||
return plannedEndTime_;
|
||||
void CreateDBNodesRequest::setPlannedEndTime(const std::string& plannedEndTime)
|
||||
{
|
||||
plannedEndTime_ = plannedEndTime;
|
||||
setParameter("PlannedEndTime", plannedEndTime);
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setPlannedEndTime(const std::string &plannedEndTime) {
|
||||
plannedEndTime_ = plannedEndTime;
|
||||
setParameter(std::string("PlannedEndTime"), plannedEndTime);
|
||||
std::string CreateDBNodesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateDBNodesRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CreateDBNodesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CreateDBNodesRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string CreateDBNodesRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CreateDBNodesRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CreateDBNodesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateDBNodesRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void CreateDBNodesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string CreateDBNodesRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string CreateDBNodesRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CreateDBNodesRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
std::string CreateDBNodesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long CreateDBNodesRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void CreateDBNodesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
long CreateDBNodesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string CreateDBNodesRequest::getPlannedStartTime() const {
|
||||
return plannedStartTime_;
|
||||
void CreateDBNodesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setPlannedStartTime(const std::string &plannedStartTime) {
|
||||
plannedStartTime_ = plannedStartTime;
|
||||
setParameter(std::string("PlannedStartTime"), plannedStartTime);
|
||||
std::string CreateDBNodesRequest::getPlannedStartTime()const
|
||||
{
|
||||
return plannedStartTime_;
|
||||
}
|
||||
|
||||
std::vector<CreateDBNodesRequest::DBNode> CreateDBNodesRequest::getDBNode() const {
|
||||
return dBNode_;
|
||||
void CreateDBNodesRequest::setPlannedStartTime(const std::string& plannedStartTime)
|
||||
{
|
||||
plannedStartTime_ = plannedStartTime;
|
||||
setParameter("PlannedStartTime", plannedStartTime);
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setDBNode(const std::vector<CreateDBNodesRequest::DBNode> &dBNode) {
|
||||
dBNode_ = dBNode;
|
||||
for(int dep1 = 0; dep1 != dBNode.size(); dep1++) {
|
||||
auto dBNodeObj = dBNode.at(dep1);
|
||||
std::string dBNodeObjStr = std::string("DBNode") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(dBNodeObjStr + ".TargetClass", dBNodeObj.targetClass);
|
||||
setParameter(dBNodeObjStr + ".ZoneId", dBNodeObj.zoneId);
|
||||
}
|
||||
std::vector<CreateDBNodesRequest::DBNode> CreateDBNodesRequest::getDBNode()const
|
||||
{
|
||||
return dBNode_;
|
||||
}
|
||||
|
||||
std::string CreateDBNodesRequest::getImciSwitch() const {
|
||||
return imciSwitch_;
|
||||
void CreateDBNodesRequest::setDBNode(const std::vector<DBNode>& dBNode)
|
||||
{
|
||||
dBNode_ = dBNode;
|
||||
for(int dep1 = 0; dep1!= dBNode.size(); dep1++) {
|
||||
auto dBNodeObj = dBNode.at(dep1);
|
||||
std::string dBNodeObjStr = "DBNode." + std::to_string(dep1 + 1);
|
||||
setParameter(dBNodeObjStr + ".TargetClass", dBNodeObj.targetClass);
|
||||
setParameter(dBNodeObjStr + ".ZoneId", dBNodeObj.zoneId);
|
||||
}
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setImciSwitch(const std::string &imciSwitch) {
|
||||
imciSwitch_ = imciSwitch;
|
||||
setParameter(std::string("ImciSwitch"), imciSwitch);
|
||||
std::string CreateDBNodesRequest::getImciSwitch()const
|
||||
{
|
||||
return imciSwitch_;
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setImciSwitch(const std::string& imciSwitch)
|
||||
{
|
||||
imciSwitch_ = imciSwitch;
|
||||
setParameter("ImciSwitch", imciSwitch);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,144 +1,172 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateDatabaseRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateDatabaseRequest;
|
||||
|
||||
CreateDatabaseRequest::CreateDatabaseRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CreateDatabase") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateDatabaseRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateDatabaseRequest;
|
||||
|
||||
CreateDatabaseRequest::CreateDatabaseRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateDatabase")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDatabaseRequest::~CreateDatabaseRequest()
|
||||
{}
|
||||
|
||||
long CreateDatabaseRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
CreateDatabaseRequest::~CreateDatabaseRequest() {}
|
||||
|
||||
long CreateDatabaseRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CreateDatabaseRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CreateDatabaseRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CreateDatabaseRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateDatabaseRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CreateDatabaseRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CreateDatabaseRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CreateDatabaseRequest::getAccountPrivilege()const
|
||||
{
|
||||
return accountPrivilege_;
|
||||
}
|
||||
|
||||
std::string CreateDatabaseRequest::getAccountPrivilege() const {
|
||||
return accountPrivilege_;
|
||||
void CreateDatabaseRequest::setAccountPrivilege(const std::string& accountPrivilege)
|
||||
{
|
||||
accountPrivilege_ = accountPrivilege;
|
||||
setParameter("AccountPrivilege", accountPrivilege);
|
||||
}
|
||||
|
||||
void CreateDatabaseRequest::setAccountPrivilege(const std::string &accountPrivilege) {
|
||||
accountPrivilege_ = accountPrivilege;
|
||||
setParameter(std::string("AccountPrivilege"), accountPrivilege);
|
||||
std::string CreateDatabaseRequest::getAccountName()const
|
||||
{
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
std::string CreateDatabaseRequest::getAccountName() const {
|
||||
return accountName_;
|
||||
void CreateDatabaseRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
void CreateDatabaseRequest::setAccountName(const std::string &accountName) {
|
||||
accountName_ = accountName;
|
||||
setParameter(std::string("AccountName"), accountName);
|
||||
std::string CreateDatabaseRequest::getDBDescription()const
|
||||
{
|
||||
return dBDescription_;
|
||||
}
|
||||
|
||||
std::string CreateDatabaseRequest::getDBDescription() const {
|
||||
return dBDescription_;
|
||||
void CreateDatabaseRequest::setDBDescription(const std::string& dBDescription)
|
||||
{
|
||||
dBDescription_ = dBDescription;
|
||||
setParameter("DBDescription", dBDescription);
|
||||
}
|
||||
|
||||
void CreateDatabaseRequest::setDBDescription(const std::string &dBDescription) {
|
||||
dBDescription_ = dBDescription;
|
||||
setParameter(std::string("DBDescription"), dBDescription);
|
||||
std::string CreateDatabaseRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateDatabaseRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CreateDatabaseRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CreateDatabaseRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CreateDatabaseRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string CreateDatabaseRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void CreateDatabaseRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void CreateDatabaseRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string CreateDatabaseRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateDatabaseRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CreateDatabaseRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CreateDatabaseRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long CreateDatabaseRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long CreateDatabaseRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void CreateDatabaseRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateDatabaseRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
std::string CreateDatabaseRequest::getCollate()const
|
||||
{
|
||||
return collate_;
|
||||
}
|
||||
|
||||
std::string CreateDatabaseRequest::getCollate() const {
|
||||
return collate_;
|
||||
void CreateDatabaseRequest::setCollate(const std::string& collate)
|
||||
{
|
||||
collate_ = collate;
|
||||
setParameter("Collate", collate);
|
||||
}
|
||||
|
||||
void CreateDatabaseRequest::setCollate(const std::string &collate) {
|
||||
collate_ = collate;
|
||||
setParameter(std::string("Collate"), collate);
|
||||
std::string CreateDatabaseRequest::getDBName()const
|
||||
{
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
std::string CreateDatabaseRequest::getDBName() const {
|
||||
return dBName_;
|
||||
void CreateDatabaseRequest::setDBName(const std::string& dBName)
|
||||
{
|
||||
dBName_ = dBName;
|
||||
setParameter("DBName", dBName);
|
||||
}
|
||||
|
||||
void CreateDatabaseRequest::setDBName(const std::string &dBName) {
|
||||
dBName_ = dBName;
|
||||
setParameter(std::string("DBName"), dBName);
|
||||
std::string CreateDatabaseRequest::getCtype()const
|
||||
{
|
||||
return ctype_;
|
||||
}
|
||||
|
||||
std::string CreateDatabaseRequest::getCtype() const {
|
||||
return ctype_;
|
||||
void CreateDatabaseRequest::setCtype(const std::string& ctype)
|
||||
{
|
||||
ctype_ = ctype;
|
||||
setParameter("Ctype", ctype);
|
||||
}
|
||||
|
||||
void CreateDatabaseRequest::setCtype(const std::string &ctype) {
|
||||
ctype_ = ctype;
|
||||
setParameter(std::string("Ctype"), ctype);
|
||||
std::string CreateDatabaseRequest::getCharacterSetName()const
|
||||
{
|
||||
return characterSetName_;
|
||||
}
|
||||
|
||||
std::string CreateDatabaseRequest::getCharacterSetName() const {
|
||||
return characterSetName_;
|
||||
}
|
||||
|
||||
void CreateDatabaseRequest::setCharacterSetName(const std::string &characterSetName) {
|
||||
characterSetName_ = characterSetName;
|
||||
setParameter(std::string("CharacterSetName"), characterSetName);
|
||||
void CreateDatabaseRequest::setCharacterSetName(const std::string& characterSetName)
|
||||
{
|
||||
characterSetName_ = characterSetName;
|
||||
setParameter("CharacterSetName", characterSetName);
|
||||
}
|
||||
|
||||
|
||||
128
polardb/src/model/CreateGDNAddressRequest.cc
Normal file
128
polardb/src/model/CreateGDNAddressRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateGDNAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateGDNAddressRequest;
|
||||
|
||||
CreateGDNAddressRequest::CreateGDNAddressRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateGDNAddress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateGDNAddressRequest::~CreateGDNAddressRequest()
|
||||
{}
|
||||
|
||||
long CreateGDNAddressRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateGDNAddressRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateGDNAddressRequest::getConnectionStringPrefix()const
|
||||
{
|
||||
return connectionStringPrefix_;
|
||||
}
|
||||
|
||||
void CreateGDNAddressRequest::setConnectionStringPrefix(const std::string& connectionStringPrefix)
|
||||
{
|
||||
connectionStringPrefix_ = connectionStringPrefix;
|
||||
setParameter("ConnectionStringPrefix", connectionStringPrefix);
|
||||
}
|
||||
|
||||
std::string CreateGDNAddressRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateGDNAddressRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateGDNAddressRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateGDNAddressRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateGDNAddressRequest::getGDNId()const
|
||||
{
|
||||
return gDNId_;
|
||||
}
|
||||
|
||||
void CreateGDNAddressRequest::setGDNId(const std::string& gDNId)
|
||||
{
|
||||
gDNId_ = gDNId;
|
||||
setParameter("GDNId", gDNId);
|
||||
}
|
||||
|
||||
std::string CreateGDNAddressRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateGDNAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateGDNAddressRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateGDNAddressRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateGDNAddressRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateGDNAddressRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateGDNAddressRequest::getNetType()const
|
||||
{
|
||||
return netType_;
|
||||
}
|
||||
|
||||
void CreateGDNAddressRequest::setNetType(const std::string& netType)
|
||||
{
|
||||
netType_ = netType;
|
||||
setParameter("NetType", netType);
|
||||
}
|
||||
|
||||
44
polardb/src/model/CreateGDNAddressResult.cc
Normal file
44
polardb/src/model/CreateGDNAddressResult.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/polardb/model/CreateGDNAddressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
CreateGDNAddressResult::CreateGDNAddressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateGDNAddressResult::CreateGDNAddressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateGDNAddressResult::~CreateGDNAddressResult()
|
||||
{}
|
||||
|
||||
void CreateGDNAddressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,99 +1,128 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateGlobalDatabaseNetworkRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateGlobalDatabaseNetworkRequest;
|
||||
|
||||
CreateGlobalDatabaseNetworkRequest::CreateGlobalDatabaseNetworkRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CreateGlobalDatabaseNetwork") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateGlobalDatabaseNetworkRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateGlobalDatabaseNetworkRequest;
|
||||
|
||||
CreateGlobalDatabaseNetworkRequest::CreateGlobalDatabaseNetworkRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateGlobalDatabaseNetwork")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateGlobalDatabaseNetworkRequest::~CreateGlobalDatabaseNetworkRequest()
|
||||
{}
|
||||
|
||||
long CreateGlobalDatabaseNetworkRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
CreateGlobalDatabaseNetworkRequest::~CreateGlobalDatabaseNetworkRequest() {}
|
||||
|
||||
long CreateGlobalDatabaseNetworkRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CreateGlobalDatabaseNetworkRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CreateGlobalDatabaseNetworkRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CreateGlobalDatabaseNetworkRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CreateGlobalDatabaseNetworkRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
void CreateGlobalDatabaseNetworkRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
void CreateGlobalDatabaseNetworkRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getGDNDescription() const {
|
||||
return gDNDescription_;
|
||||
void CreateGlobalDatabaseNetworkRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
void CreateGlobalDatabaseNetworkRequest::setGDNDescription(const std::string &gDNDescription) {
|
||||
gDNDescription_ = gDNDescription;
|
||||
setParameter(std::string("GDNDescription"), gDNDescription);
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getGDNDescription()const
|
||||
{
|
||||
return gDNDescription_;
|
||||
}
|
||||
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CreateGlobalDatabaseNetworkRequest::setGDNDescription(const std::string& gDNDescription)
|
||||
{
|
||||
gDNDescription_ = gDNDescription;
|
||||
setParameter("GDNDescription", gDNDescription);
|
||||
}
|
||||
|
||||
void CreateGlobalDatabaseNetworkRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void CreateGlobalDatabaseNetworkRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CreateGlobalDatabaseNetworkRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CreateGlobalDatabaseNetworkRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void CreateGlobalDatabaseNetworkRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long CreateGlobalDatabaseNetworkRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void CreateGlobalDatabaseNetworkRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CreateGlobalDatabaseNetworkRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
long CreateGlobalDatabaseNetworkRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateGlobalDatabaseNetworkRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
161
polardb/src/model/CreateGlobalSecurityIPGroupRequest.cc
Normal file
161
polardb/src/model/CreateGlobalSecurityIPGroupRequest.cc
Normal file
@@ -0,0 +1,161 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateGlobalSecurityIPGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateGlobalSecurityIPGroupRequest;
|
||||
|
||||
CreateGlobalSecurityIPGroupRequest::CreateGlobalSecurityIPGroupRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateGlobalSecurityIPGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateGlobalSecurityIPGroupRequest::~CreateGlobalSecurityIPGroupRequest()
|
||||
{}
|
||||
|
||||
long CreateGlobalSecurityIPGroupRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getGIpList()const
|
||||
{
|
||||
return gIpList_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setGIpList(const std::string& gIpList)
|
||||
{
|
||||
gIpList_ = gIpList;
|
||||
setParameter("GIpList", gIpList);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getSecurityIPType()const
|
||||
{
|
||||
return securityIPType_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setSecurityIPType(const std::string& securityIPType)
|
||||
{
|
||||
securityIPType_ = securityIPType;
|
||||
setParameter("SecurityIPType", securityIPType);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateGlobalSecurityIPGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getWhitelistNetType()const
|
||||
{
|
||||
return whitelistNetType_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setWhitelistNetType(const std::string& whitelistNetType)
|
||||
{
|
||||
whitelistNetType_ = whitelistNetType;
|
||||
setParameter("WhitelistNetType", whitelistNetType);
|
||||
}
|
||||
|
||||
std::string CreateGlobalSecurityIPGroupRequest::getGlobalIgName()const
|
||||
{
|
||||
return globalIgName_;
|
||||
}
|
||||
|
||||
void CreateGlobalSecurityIPGroupRequest::setGlobalIgName(const std::string& globalIgName)
|
||||
{
|
||||
globalIgName_ = globalIgName;
|
||||
setParameter("GlobalIgName", globalIgName);
|
||||
}
|
||||
|
||||
67
polardb/src/model/CreateGlobalSecurityIPGroupResult.cc
Normal file
67
polardb/src/model/CreateGlobalSecurityIPGroupResult.cc
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateGlobalSecurityIPGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
CreateGlobalSecurityIPGroupResult::CreateGlobalSecurityIPGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateGlobalSecurityIPGroupResult::CreateGlobalSecurityIPGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateGlobalSecurityIPGroupResult::~CreateGlobalSecurityIPGroupResult()
|
||||
{}
|
||||
|
||||
void CreateGlobalSecurityIPGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allGlobalSecurityIPGroupNode = value["GlobalSecurityIPGroup"]["GlobalSecurityIPGroupItem"];
|
||||
for (auto valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem : allGlobalSecurityIPGroupNode)
|
||||
{
|
||||
GlobalSecurityIPGroupItem globalSecurityIPGroupObject;
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalSecurityGroupId"].isNull())
|
||||
globalSecurityIPGroupObject.globalSecurityGroupId = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalSecurityGroupId"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalIgName"].isNull())
|
||||
globalSecurityIPGroupObject.globalIgName = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalIgName"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["SecurityIPType"].isNull())
|
||||
globalSecurityIPGroupObject.securityIPType = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["SecurityIPType"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GIpList"].isNull())
|
||||
globalSecurityIPGroupObject.gIpList = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GIpList"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["WhitelistNetType"].isNull())
|
||||
globalSecurityIPGroupObject.whitelistNetType = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["WhitelistNetType"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["RegionId"].isNull())
|
||||
globalSecurityIPGroupObject.regionId = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["RegionId"].asString();
|
||||
globalSecurityIPGroup_.push_back(globalSecurityIPGroupObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<CreateGlobalSecurityIPGroupResult::GlobalSecurityIPGroupItem> CreateGlobalSecurityIPGroupResult::getGlobalSecurityIPGroup()const
|
||||
{
|
||||
return globalSecurityIPGroup_;
|
||||
}
|
||||
|
||||
@@ -1,126 +1,161 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateParameterGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateParameterGroupRequest;
|
||||
|
||||
CreateParameterGroupRequest::CreateParameterGroupRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CreateParameterGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateParameterGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateParameterGroupRequest;
|
||||
|
||||
CreateParameterGroupRequest::CreateParameterGroupRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateParameterGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateParameterGroupRequest::~CreateParameterGroupRequest()
|
||||
{}
|
||||
|
||||
long CreateParameterGroupRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
CreateParameterGroupRequest::~CreateParameterGroupRequest() {}
|
||||
|
||||
long CreateParameterGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CreateParameterGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CreateParameterGroupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CreateParameterGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CreateParameterGroupRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
void CreateParameterGroupRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
std::string CreateParameterGroupRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CreateParameterGroupRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CreateParameterGroupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CreateParameterGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
std::string CreateParameterGroupRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long CreateParameterGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void CreateParameterGroupRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
long CreateParameterGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getDBType() const {
|
||||
return dBType_;
|
||||
void CreateParameterGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setDBType(const std::string &dBType) {
|
||||
dBType_ = dBType;
|
||||
setParameter(std::string("DBType"), dBType);
|
||||
std::string CreateParameterGroupRequest::getDBType()const
|
||||
{
|
||||
return dBType_;
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getDBVersion() const {
|
||||
return dBVersion_;
|
||||
void CreateParameterGroupRequest::setDBType(const std::string& dBType)
|
||||
{
|
||||
dBType_ = dBType;
|
||||
setParameter("DBType", dBType);
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setDBVersion(const std::string &dBVersion) {
|
||||
dBVersion_ = dBVersion;
|
||||
setParameter(std::string("DBVersion"), dBVersion);
|
||||
std::string CreateParameterGroupRequest::getDBVersion()const
|
||||
{
|
||||
return dBVersion_;
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getParameterGroupName() const {
|
||||
return parameterGroupName_;
|
||||
void CreateParameterGroupRequest::setDBVersion(const std::string& dBVersion)
|
||||
{
|
||||
dBVersion_ = dBVersion;
|
||||
setParameter("DBVersion", dBVersion);
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setParameterGroupName(const std::string ¶meterGroupName) {
|
||||
parameterGroupName_ = parameterGroupName;
|
||||
setParameter(std::string("ParameterGroupName"), parameterGroupName);
|
||||
std::string CreateParameterGroupRequest::getParameterGroupName()const
|
||||
{
|
||||
return parameterGroupName_;
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getParameters() const {
|
||||
return parameters_;
|
||||
void CreateParameterGroupRequest::setParameterGroupName(const std::string& parameterGroupName)
|
||||
{
|
||||
parameterGroupName_ = parameterGroupName;
|
||||
setParameter("ParameterGroupName", parameterGroupName);
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setParameters(const std::string ¶meters) {
|
||||
parameters_ = parameters;
|
||||
setParameter(std::string("Parameters"), parameters);
|
||||
std::string CreateParameterGroupRequest::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getParameterGroupDesc() const {
|
||||
return parameterGroupDesc_;
|
||||
void CreateParameterGroupRequest::setParameters(const std::string& parameters)
|
||||
{
|
||||
parameters_ = parameters;
|
||||
setParameter("Parameters", parameters);
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setParameterGroupDesc(const std::string ¶meterGroupDesc) {
|
||||
parameterGroupDesc_ = parameterGroupDesc;
|
||||
setParameter(std::string("ParameterGroupDesc"), parameterGroupDesc);
|
||||
std::string CreateParameterGroupRequest::getParameterGroupDesc()const
|
||||
{
|
||||
return parameterGroupDesc_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setParameterGroupDesc(const std::string& parameterGroupDesc)
|
||||
{
|
||||
parameterGroupDesc_ = parameterGroupDesc;
|
||||
setParameter("ParameterGroupDesc", parameterGroupDesc);
|
||||
}
|
||||
|
||||
|
||||
161
polardb/src/model/CreateProtectedDBRequest.cc
Normal file
161
polardb/src/model/CreateProtectedDBRequest.cc
Normal file
@@ -0,0 +1,161 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateProtectedDBRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateProtectedDBRequest;
|
||||
|
||||
CreateProtectedDBRequest::CreateProtectedDBRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateProtectedDB")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateProtectedDBRequest::~CreateProtectedDBRequest()
|
||||
{}
|
||||
|
||||
long CreateProtectedDBRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateProtectedDBRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateProtectedDBRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateProtectedDBRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateProtectedDBRequest::getAccountName()const
|
||||
{
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
void CreateProtectedDBRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
std::string CreateProtectedDBRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateProtectedDBRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateProtectedDBRequest::getDBDescription()const
|
||||
{
|
||||
return dBDescription_;
|
||||
}
|
||||
|
||||
void CreateProtectedDBRequest::setDBDescription(const std::string& dBDescription)
|
||||
{
|
||||
dBDescription_ = dBDescription;
|
||||
setParameter("DBDescription", dBDescription);
|
||||
}
|
||||
|
||||
std::string CreateProtectedDBRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateProtectedDBRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateProtectedDBRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void CreateProtectedDBRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string CreateProtectedDBRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateProtectedDBRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CreateProtectedDBRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateProtectedDBRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateProtectedDBRequest::getAccountPassword()const
|
||||
{
|
||||
return accountPassword_;
|
||||
}
|
||||
|
||||
void CreateProtectedDBRequest::setAccountPassword(const std::string& accountPassword)
|
||||
{
|
||||
accountPassword_ = accountPassword;
|
||||
setParameter("AccountPassword", accountPassword);
|
||||
}
|
||||
|
||||
std::string CreateProtectedDBRequest::getDBName()const
|
||||
{
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
void CreateProtectedDBRequest::setDBName(const std::string& dBName)
|
||||
{
|
||||
dBName_ = dBName;
|
||||
setParameter("DBName", dBName);
|
||||
}
|
||||
|
||||
std::string CreateProtectedDBRequest::getCharacterSetName()const
|
||||
{
|
||||
return characterSetName_;
|
||||
}
|
||||
|
||||
void CreateProtectedDBRequest::setCharacterSetName(const std::string& characterSetName)
|
||||
{
|
||||
characterSetName_ = characterSetName;
|
||||
setParameter("CharacterSetName", characterSetName);
|
||||
}
|
||||
|
||||
44
polardb/src/model/CreateProtectedDBResult.cc
Normal file
44
polardb/src/model/CreateProtectedDBResult.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/polardb/model/CreateProtectedDBResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
CreateProtectedDBResult::CreateProtectedDBResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateProtectedDBResult::CreateProtectedDBResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateProtectedDBResult::~CreateProtectedDBResult()
|
||||
{}
|
||||
|
||||
void CreateProtectedDBResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,117 +1,139 @@
|
||||
/*
|
||||
* 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/polardb/model/CreateStoragePlanRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateStoragePlanRequest;
|
||||
|
||||
CreateStoragePlanRequest::CreateStoragePlanRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CreateStoragePlan") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateStoragePlanRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateStoragePlanRequest;
|
||||
|
||||
CreateStoragePlanRequest::CreateStoragePlanRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "CreateStoragePlan")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateStoragePlanRequest::~CreateStoragePlanRequest()
|
||||
{}
|
||||
|
||||
long CreateStoragePlanRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
CreateStoragePlanRequest::~CreateStoragePlanRequest() {}
|
||||
|
||||
long CreateStoragePlanRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void CreateStoragePlanRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void CreateStoragePlanRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string CreateStoragePlanRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateStoragePlanRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
void CreateStoragePlanRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
void CreateStoragePlanRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
std::string CreateStoragePlanRequest::getStorageType()const
|
||||
{
|
||||
return storageType_;
|
||||
}
|
||||
|
||||
std::string CreateStoragePlanRequest::getStorageType() const {
|
||||
return storageType_;
|
||||
void CreateStoragePlanRequest::setStorageType(const std::string& storageType)
|
||||
{
|
||||
storageType_ = storageType;
|
||||
setParameter("StorageType", storageType);
|
||||
}
|
||||
|
||||
void CreateStoragePlanRequest::setStorageType(const std::string &storageType) {
|
||||
storageType_ = storageType;
|
||||
setParameter(std::string("StorageType"), storageType);
|
||||
std::string CreateStoragePlanRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateStoragePlanRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void CreateStoragePlanRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void CreateStoragePlanRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string CreateStoragePlanRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
}
|
||||
|
||||
std::string CreateStoragePlanRequest::getPeriod() const {
|
||||
return period_;
|
||||
void CreateStoragePlanRequest::setPeriod(const std::string& period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", period);
|
||||
}
|
||||
|
||||
void CreateStoragePlanRequest::setPeriod(const std::string &period) {
|
||||
period_ = period;
|
||||
setParameter(std::string("Period"), period);
|
||||
std::string CreateStoragePlanRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateStoragePlanRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void CreateStoragePlanRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void CreateStoragePlanRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string CreateStoragePlanRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string CreateStoragePlanRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void CreateStoragePlanRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void CreateStoragePlanRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long CreateStoragePlanRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long CreateStoragePlanRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void CreateStoragePlanRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateStoragePlanRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
std::string CreateStoragePlanRequest::getUsedTime()const
|
||||
{
|
||||
return usedTime_;
|
||||
}
|
||||
|
||||
std::string CreateStoragePlanRequest::getUsedTime() const {
|
||||
return usedTime_;
|
||||
void CreateStoragePlanRequest::setUsedTime(const std::string& usedTime)
|
||||
{
|
||||
usedTime_ = usedTime;
|
||||
setParameter("UsedTime", usedTime);
|
||||
}
|
||||
|
||||
void CreateStoragePlanRequest::setUsedTime(const std::string &usedTime) {
|
||||
usedTime_ = usedTime;
|
||||
setParameter(std::string("UsedTime"), usedTime);
|
||||
std::string CreateStoragePlanRequest::getStorageClass()const
|
||||
{
|
||||
return storageClass_;
|
||||
}
|
||||
|
||||
std::string CreateStoragePlanRequest::getStorageClass() const {
|
||||
return storageClass_;
|
||||
}
|
||||
|
||||
void CreateStoragePlanRequest::setStorageClass(const std::string &storageClass) {
|
||||
storageClass_ = storageClass;
|
||||
setParameter(std::string("StorageClass"), storageClass);
|
||||
void CreateStoragePlanRequest::setStorageClass(const std::string& storageClass)
|
||||
{
|
||||
storageClass_ = storageClass;
|
||||
setParameter("StorageClass", storageClass);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,90 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/DeleteAccountRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteAccountRequest;
|
||||
|
||||
DeleteAccountRequest::DeleteAccountRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DeleteAccount") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DeleteAccountRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteAccountRequest;
|
||||
|
||||
DeleteAccountRequest::DeleteAccountRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DeleteAccount")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteAccountRequest::~DeleteAccountRequest()
|
||||
{}
|
||||
|
||||
long DeleteAccountRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DeleteAccountRequest::~DeleteAccountRequest() {}
|
||||
|
||||
long DeleteAccountRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DeleteAccountRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DeleteAccountRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DeleteAccountRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteAccountRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DeleteAccountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteAccountRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DeleteAccountRequest::getAccountName()const
|
||||
{
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
std::string DeleteAccountRequest::getAccountName() const {
|
||||
return accountName_;
|
||||
void DeleteAccountRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
void DeleteAccountRequest::setAccountName(const std::string &accountName) {
|
||||
accountName_ = accountName;
|
||||
setParameter(std::string("AccountName"), accountName);
|
||||
std::string DeleteAccountRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteAccountRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DeleteAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DeleteAccountRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DeleteAccountRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DeleteAccountRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DeleteAccountRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DeleteAccountRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DeleteAccountRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteAccountRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DeleteAccountRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteAccountRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DeleteAccountRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DeleteAccountRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteAccountRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DeleteAccountRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,90 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/DeleteBackupRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteBackupRequest;
|
||||
|
||||
DeleteBackupRequest::DeleteBackupRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DeleteBackup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DeleteBackupRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteBackupRequest;
|
||||
|
||||
DeleteBackupRequest::DeleteBackupRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DeleteBackup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteBackupRequest::~DeleteBackupRequest()
|
||||
{}
|
||||
|
||||
long DeleteBackupRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DeleteBackupRequest::~DeleteBackupRequest() {}
|
||||
|
||||
long DeleteBackupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DeleteBackupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DeleteBackupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DeleteBackupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteBackupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DeleteBackupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteBackupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DeleteBackupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteBackupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DeleteBackupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DeleteBackupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DeleteBackupRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DeleteBackupRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DeleteBackupRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DeleteBackupRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DeleteBackupRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteBackupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DeleteBackupRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteBackupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
std::string DeleteBackupRequest::getBackupId()const
|
||||
{
|
||||
return backupId_;
|
||||
}
|
||||
|
||||
std::string DeleteBackupRequest::getBackupId() const {
|
||||
return backupId_;
|
||||
void DeleteBackupRequest::setBackupId(const std::string& backupId)
|
||||
{
|
||||
backupId_ = backupId;
|
||||
setParameter("BackupId", backupId);
|
||||
}
|
||||
|
||||
void DeleteBackupRequest::setBackupId(const std::string &backupId) {
|
||||
backupId_ = backupId;
|
||||
setParameter(std::string("BackupId"), backupId);
|
||||
long DeleteBackupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DeleteBackupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteBackupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DeleteBackupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,90 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/DeleteDBClusterEndpointRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteDBClusterEndpointRequest;
|
||||
|
||||
DeleteDBClusterEndpointRequest::DeleteDBClusterEndpointRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DeleteDBClusterEndpoint") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DeleteDBClusterEndpointRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteDBClusterEndpointRequest;
|
||||
|
||||
DeleteDBClusterEndpointRequest::DeleteDBClusterEndpointRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DeleteDBClusterEndpoint")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDBClusterEndpointRequest::~DeleteDBClusterEndpointRequest()
|
||||
{}
|
||||
|
||||
long DeleteDBClusterEndpointRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DeleteDBClusterEndpointRequest::~DeleteDBClusterEndpointRequest() {}
|
||||
|
||||
long DeleteDBClusterEndpointRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DeleteDBClusterEndpointRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DeleteDBClusterEndpointRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DeleteDBClusterEndpointRequest::getDBEndpointId()const
|
||||
{
|
||||
return dBEndpointId_;
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterEndpointRequest::getDBEndpointId() const {
|
||||
return dBEndpointId_;
|
||||
void DeleteDBClusterEndpointRequest::setDBEndpointId(const std::string& dBEndpointId)
|
||||
{
|
||||
dBEndpointId_ = dBEndpointId;
|
||||
setParameter("DBEndpointId", dBEndpointId);
|
||||
}
|
||||
|
||||
void DeleteDBClusterEndpointRequest::setDBEndpointId(const std::string &dBEndpointId) {
|
||||
dBEndpointId_ = dBEndpointId;
|
||||
setParameter(std::string("DBEndpointId"), dBEndpointId);
|
||||
std::string DeleteDBClusterEndpointRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterEndpointRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DeleteDBClusterEndpointRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteDBClusterEndpointRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DeleteDBClusterEndpointRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterEndpointRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DeleteDBClusterEndpointRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DeleteDBClusterEndpointRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DeleteDBClusterEndpointRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterEndpointRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DeleteDBClusterEndpointRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DeleteDBClusterEndpointRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DeleteDBClusterEndpointRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterEndpointRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DeleteDBClusterEndpointRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteDBClusterEndpointRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DeleteDBClusterEndpointRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DeleteDBClusterEndpointRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteDBClusterEndpointRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DeleteDBClusterEndpointRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,90 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/DeleteDBClusterRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteDBClusterRequest;
|
||||
|
||||
DeleteDBClusterRequest::DeleteDBClusterRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DeleteDBCluster") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DeleteDBClusterRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteDBClusterRequest;
|
||||
|
||||
DeleteDBClusterRequest::DeleteDBClusterRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DeleteDBCluster")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDBClusterRequest::~DeleteDBClusterRequest()
|
||||
{}
|
||||
|
||||
long DeleteDBClusterRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DeleteDBClusterRequest::~DeleteDBClusterRequest() {}
|
||||
|
||||
long DeleteDBClusterRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DeleteDBClusterRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DeleteDBClusterRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DeleteDBClusterRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DeleteDBClusterRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteDBClusterRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DeleteDBClusterRequest::getBackupRetentionPolicyOnClusterDeletion()const
|
||||
{
|
||||
return backupRetentionPolicyOnClusterDeletion_;
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterRequest::getBackupRetentionPolicyOnClusterDeletion() const {
|
||||
return backupRetentionPolicyOnClusterDeletion_;
|
||||
void DeleteDBClusterRequest::setBackupRetentionPolicyOnClusterDeletion(const std::string& backupRetentionPolicyOnClusterDeletion)
|
||||
{
|
||||
backupRetentionPolicyOnClusterDeletion_ = backupRetentionPolicyOnClusterDeletion;
|
||||
setParameter("BackupRetentionPolicyOnClusterDeletion", backupRetentionPolicyOnClusterDeletion);
|
||||
}
|
||||
|
||||
void DeleteDBClusterRequest::setBackupRetentionPolicyOnClusterDeletion(const std::string &backupRetentionPolicyOnClusterDeletion) {
|
||||
backupRetentionPolicyOnClusterDeletion_ = backupRetentionPolicyOnClusterDeletion;
|
||||
setParameter(std::string("BackupRetentionPolicyOnClusterDeletion"), backupRetentionPolicyOnClusterDeletion);
|
||||
std::string DeleteDBClusterRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DeleteDBClusterRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DeleteDBClusterRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DeleteDBClusterRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DeleteDBClusterRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DeleteDBClusterRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DeleteDBClusterRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteDBClusterRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DeleteDBClusterRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteDBClusterRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DeleteDBClusterRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DeleteDBClusterRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteDBClusterRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DeleteDBClusterRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,99 +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/polardb/model/DeleteDBEndpointAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteDBEndpointAddressRequest;
|
||||
|
||||
DeleteDBEndpointAddressRequest::DeleteDBEndpointAddressRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DeleteDBEndpointAddress") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DeleteDBEndpointAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteDBEndpointAddressRequest;
|
||||
|
||||
DeleteDBEndpointAddressRequest::DeleteDBEndpointAddressRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DeleteDBEndpointAddress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDBEndpointAddressRequest::~DeleteDBEndpointAddressRequest()
|
||||
{}
|
||||
|
||||
long DeleteDBEndpointAddressRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DeleteDBEndpointAddressRequest::~DeleteDBEndpointAddressRequest() {}
|
||||
|
||||
long DeleteDBEndpointAddressRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DeleteDBEndpointAddressRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DeleteDBEndpointAddressRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DeleteDBEndpointAddressRequest::getDBEndpointId()const
|
||||
{
|
||||
return dBEndpointId_;
|
||||
}
|
||||
|
||||
std::string DeleteDBEndpointAddressRequest::getDBEndpointId() const {
|
||||
return dBEndpointId_;
|
||||
void DeleteDBEndpointAddressRequest::setDBEndpointId(const std::string& dBEndpointId)
|
||||
{
|
||||
dBEndpointId_ = dBEndpointId;
|
||||
setParameter("DBEndpointId", dBEndpointId);
|
||||
}
|
||||
|
||||
void DeleteDBEndpointAddressRequest::setDBEndpointId(const std::string &dBEndpointId) {
|
||||
dBEndpointId_ = dBEndpointId;
|
||||
setParameter(std::string("DBEndpointId"), dBEndpointId);
|
||||
std::string DeleteDBEndpointAddressRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteDBEndpointAddressRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DeleteDBEndpointAddressRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteDBEndpointAddressRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DeleteDBEndpointAddressRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteDBEndpointAddressRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DeleteDBEndpointAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DeleteDBEndpointAddressRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DeleteDBEndpointAddressRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DeleteDBEndpointAddressRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DeleteDBEndpointAddressRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DeleteDBEndpointAddressRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DeleteDBEndpointAddressRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteDBEndpointAddressRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DeleteDBEndpointAddressRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteDBEndpointAddressRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DeleteDBEndpointAddressRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DeleteDBEndpointAddressRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void DeleteDBEndpointAddressRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteDBEndpointAddressRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
std::string DeleteDBEndpointAddressRequest::getNetType()const
|
||||
{
|
||||
return netType_;
|
||||
}
|
||||
|
||||
std::string DeleteDBEndpointAddressRequest::getNetType() const {
|
||||
return netType_;
|
||||
}
|
||||
|
||||
void DeleteDBEndpointAddressRequest::setNetType(const std::string &netType) {
|
||||
netType_ = netType;
|
||||
setParameter(std::string("NetType"), netType);
|
||||
void DeleteDBEndpointAddressRequest::setNetType(const std::string& netType)
|
||||
{
|
||||
netType_ = netType;
|
||||
setParameter("NetType", netType);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,90 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/DeleteDBLinkRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteDBLinkRequest;
|
||||
|
||||
DeleteDBLinkRequest::DeleteDBLinkRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DeleteDBLink") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DeleteDBLinkRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteDBLinkRequest;
|
||||
|
||||
DeleteDBLinkRequest::DeleteDBLinkRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DeleteDBLink")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDBLinkRequest::~DeleteDBLinkRequest()
|
||||
{}
|
||||
|
||||
long DeleteDBLinkRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DeleteDBLinkRequest::~DeleteDBLinkRequest() {}
|
||||
|
||||
long DeleteDBLinkRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DeleteDBLinkRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DeleteDBLinkRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DeleteDBLinkRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteDBLinkRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DeleteDBLinkRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteDBLinkRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DeleteDBLinkRequest::getDBLinkName()const
|
||||
{
|
||||
return dBLinkName_;
|
||||
}
|
||||
|
||||
std::string DeleteDBLinkRequest::getDBLinkName() const {
|
||||
return dBLinkName_;
|
||||
void DeleteDBLinkRequest::setDBLinkName(const std::string& dBLinkName)
|
||||
{
|
||||
dBLinkName_ = dBLinkName;
|
||||
setParameter("DBLinkName", dBLinkName);
|
||||
}
|
||||
|
||||
void DeleteDBLinkRequest::setDBLinkName(const std::string &dBLinkName) {
|
||||
dBLinkName_ = dBLinkName;
|
||||
setParameter(std::string("DBLinkName"), dBLinkName);
|
||||
std::string DeleteDBLinkRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteDBLinkRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DeleteDBLinkRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DeleteDBLinkRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DeleteDBLinkRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DeleteDBLinkRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DeleteDBLinkRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DeleteDBLinkRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DeleteDBLinkRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteDBLinkRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DeleteDBLinkRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteDBLinkRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DeleteDBLinkRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DeleteDBLinkRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteDBLinkRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DeleteDBLinkRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,98 +1,119 @@
|
||||
/*
|
||||
* 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/polardb/model/DeleteDBNodesRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteDBNodesRequest;
|
||||
|
||||
DeleteDBNodesRequest::DeleteDBNodesRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DeleteDBNodes") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DeleteDBNodesRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteDBNodesRequest;
|
||||
|
||||
DeleteDBNodesRequest::DeleteDBNodesRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DeleteDBNodes")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDBNodesRequest::~DeleteDBNodesRequest()
|
||||
{}
|
||||
|
||||
long DeleteDBNodesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DeleteDBNodesRequest::~DeleteDBNodesRequest() {}
|
||||
|
||||
long DeleteDBNodesRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DeleteDBNodesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DeleteDBNodesRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::vector<std::string> DeleteDBNodesRequest::getDBNodeId()const
|
||||
{
|
||||
return dBNodeId_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DeleteDBNodesRequest::getDBNodeId() const {
|
||||
return dBNodeId_;
|
||||
void DeleteDBNodesRequest::setDBNodeId(const std::vector<std::string>& dBNodeId)
|
||||
{
|
||||
dBNodeId_ = dBNodeId;
|
||||
for(int dep1 = 0; dep1!= dBNodeId.size(); dep1++) {
|
||||
setParameter("DBNodeId."+ std::to_string(dep1), dBNodeId.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
void DeleteDBNodesRequest::setDBNodeId(const std::vector<std::string> &dBNodeId) {
|
||||
dBNodeId_ = dBNodeId;
|
||||
std::string DeleteDBNodesRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DeleteDBNodesRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
void DeleteDBNodesRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
void DeleteDBNodesRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
std::string DeleteDBNodesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteDBNodesRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DeleteDBNodesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteDBNodesRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DeleteDBNodesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteDBNodesRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DeleteDBNodesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DeleteDBNodesRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DeleteDBNodesRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DeleteDBNodesRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DeleteDBNodesRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DeleteDBNodesRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DeleteDBNodesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteDBNodesRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DeleteDBNodesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteDBNodesRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DeleteDBNodesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DeleteDBNodesRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteDBNodesRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DeleteDBNodesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,90 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/DeleteDatabaseRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteDatabaseRequest;
|
||||
|
||||
DeleteDatabaseRequest::DeleteDatabaseRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DeleteDatabase") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DeleteDatabaseRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteDatabaseRequest;
|
||||
|
||||
DeleteDatabaseRequest::DeleteDatabaseRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DeleteDatabase")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDatabaseRequest::~DeleteDatabaseRequest()
|
||||
{}
|
||||
|
||||
long DeleteDatabaseRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DeleteDatabaseRequest::~DeleteDatabaseRequest() {}
|
||||
|
||||
long DeleteDatabaseRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DeleteDatabaseRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DeleteDatabaseRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DeleteDatabaseRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteDatabaseRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DeleteDatabaseRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteDatabaseRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DeleteDatabaseRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteDatabaseRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DeleteDatabaseRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DeleteDatabaseRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DeleteDatabaseRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DeleteDatabaseRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DeleteDatabaseRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DeleteDatabaseRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DeleteDatabaseRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteDatabaseRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DeleteDatabaseRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteDatabaseRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DeleteDatabaseRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DeleteDatabaseRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void DeleteDatabaseRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteDatabaseRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
std::string DeleteDatabaseRequest::getDBName()const
|
||||
{
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
std::string DeleteDatabaseRequest::getDBName() const {
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
void DeleteDatabaseRequest::setDBName(const std::string &dBName) {
|
||||
dBName_ = dBName;
|
||||
setParameter(std::string("DBName"), dBName);
|
||||
void DeleteDatabaseRequest::setDBName(const std::string& dBName)
|
||||
{
|
||||
dBName_ = dBName;
|
||||
setParameter("DBName", dBName);
|
||||
}
|
||||
|
||||
|
||||
106
polardb/src/model/DeleteFirewallRulesRequest.cc
Normal file
106
polardb/src/model/DeleteFirewallRulesRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/DeleteFirewallRulesRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteFirewallRulesRequest;
|
||||
|
||||
DeleteFirewallRulesRequest::DeleteFirewallRulesRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DeleteFirewallRules")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteFirewallRulesRequest::~DeleteFirewallRulesRequest()
|
||||
{}
|
||||
|
||||
long DeleteFirewallRulesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteFirewallRulesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteFirewallRulesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteFirewallRulesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteFirewallRulesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteFirewallRulesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteFirewallRulesRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DeleteFirewallRulesRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DeleteFirewallRulesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteFirewallRulesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteFirewallRulesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteFirewallRulesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteFirewallRulesRequest::getRuleNameList()const
|
||||
{
|
||||
return ruleNameList_;
|
||||
}
|
||||
|
||||
void DeleteFirewallRulesRequest::setRuleNameList(const std::string& ruleNameList)
|
||||
{
|
||||
ruleNameList_ = ruleNameList;
|
||||
setParameter("RuleNameList", ruleNameList);
|
||||
}
|
||||
|
||||
58
polardb/src/model/DeleteFirewallRulesResult.cc
Normal file
58
polardb/src/model/DeleteFirewallRulesResult.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/polardb/model/DeleteFirewallRulesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DeleteFirewallRulesResult::DeleteFirewallRulesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteFirewallRulesResult::DeleteFirewallRulesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteFirewallRulesResult::~DeleteFirewallRulesResult()
|
||||
{}
|
||||
|
||||
void DeleteFirewallRulesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteFirewallRulesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
bool DeleteFirewallRulesResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,90 +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/polardb/model/DeleteGlobalDatabaseNetworkRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteGlobalDatabaseNetworkRequest;
|
||||
|
||||
DeleteGlobalDatabaseNetworkRequest::DeleteGlobalDatabaseNetworkRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DeleteGlobalDatabaseNetwork") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DeleteGlobalDatabaseNetworkRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteGlobalDatabaseNetworkRequest;
|
||||
|
||||
DeleteGlobalDatabaseNetworkRequest::DeleteGlobalDatabaseNetworkRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DeleteGlobalDatabaseNetwork")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteGlobalDatabaseNetworkRequest::~DeleteGlobalDatabaseNetworkRequest()
|
||||
{}
|
||||
|
||||
long DeleteGlobalDatabaseNetworkRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DeleteGlobalDatabaseNetworkRequest::~DeleteGlobalDatabaseNetworkRequest() {}
|
||||
|
||||
long DeleteGlobalDatabaseNetworkRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DeleteGlobalDatabaseNetworkRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DeleteGlobalDatabaseNetworkRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DeleteGlobalDatabaseNetworkRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteGlobalDatabaseNetworkRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DeleteGlobalDatabaseNetworkRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteGlobalDatabaseNetworkRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DeleteGlobalDatabaseNetworkRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string DeleteGlobalDatabaseNetworkRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
void DeleteGlobalDatabaseNetworkRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
void DeleteGlobalDatabaseNetworkRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
std::string DeleteGlobalDatabaseNetworkRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string DeleteGlobalDatabaseNetworkRequest::getGDNId() const {
|
||||
return gDNId_;
|
||||
void DeleteGlobalDatabaseNetworkRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
void DeleteGlobalDatabaseNetworkRequest::setGDNId(const std::string &gDNId) {
|
||||
gDNId_ = gDNId;
|
||||
setParameter(std::string("GDNId"), gDNId);
|
||||
std::string DeleteGlobalDatabaseNetworkRequest::getGDNId()const
|
||||
{
|
||||
return gDNId_;
|
||||
}
|
||||
|
||||
std::string DeleteGlobalDatabaseNetworkRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DeleteGlobalDatabaseNetworkRequest::setGDNId(const std::string& gDNId)
|
||||
{
|
||||
gDNId_ = gDNId;
|
||||
setParameter("GDNId", gDNId);
|
||||
}
|
||||
|
||||
void DeleteGlobalDatabaseNetworkRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DeleteGlobalDatabaseNetworkRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteGlobalDatabaseNetworkRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DeleteGlobalDatabaseNetworkRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DeleteGlobalDatabaseNetworkRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
std::string DeleteGlobalDatabaseNetworkRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long DeleteGlobalDatabaseNetworkRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void DeleteGlobalDatabaseNetworkRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteGlobalDatabaseNetworkRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
long DeleteGlobalDatabaseNetworkRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalDatabaseNetworkRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
139
polardb/src/model/DeleteGlobalSecurityIPGroupRequest.cc
Normal file
139
polardb/src/model/DeleteGlobalSecurityIPGroupRequest.cc
Normal file
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* 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/polardb/model/DeleteGlobalSecurityIPGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteGlobalSecurityIPGroupRequest;
|
||||
|
||||
DeleteGlobalSecurityIPGroupRequest::DeleteGlobalSecurityIPGroupRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DeleteGlobalSecurityIPGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteGlobalSecurityIPGroupRequest::~DeleteGlobalSecurityIPGroupRequest()
|
||||
{}
|
||||
|
||||
long DeleteGlobalSecurityIPGroupRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getGlobalSecurityGroupId()const
|
||||
{
|
||||
return globalSecurityGroupId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setGlobalSecurityGroupId(const std::string& globalSecurityGroupId)
|
||||
{
|
||||
globalSecurityGroupId_ = globalSecurityGroupId;
|
||||
setParameter("GlobalSecurityGroupId", globalSecurityGroupId);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteGlobalSecurityIPGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteGlobalSecurityIPGroupRequest::getGlobalIgName()const
|
||||
{
|
||||
return globalIgName_;
|
||||
}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupRequest::setGlobalIgName(const std::string& globalIgName)
|
||||
{
|
||||
globalIgName_ = globalIgName;
|
||||
setParameter("GlobalIgName", globalIgName);
|
||||
}
|
||||
|
||||
70
polardb/src/model/DeleteGlobalSecurityIPGroupResult.cc
Normal file
70
polardb/src/model/DeleteGlobalSecurityIPGroupResult.cc
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* 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/polardb/model/DeleteGlobalSecurityIPGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DeleteGlobalSecurityIPGroupResult::DeleteGlobalSecurityIPGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteGlobalSecurityIPGroupResult::DeleteGlobalSecurityIPGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteGlobalSecurityIPGroupResult::~DeleteGlobalSecurityIPGroupResult()
|
||||
{}
|
||||
|
||||
void DeleteGlobalSecurityIPGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allGlobalSecurityIPGroupNode = value["GlobalSecurityIPGroup"]["GlobalSecurityIPGroupItem"];
|
||||
for (auto valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem : allGlobalSecurityIPGroupNode)
|
||||
{
|
||||
GlobalSecurityIPGroupItem globalSecurityIPGroupObject;
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalSecurityGroupId"].isNull())
|
||||
globalSecurityIPGroupObject.globalSecurityGroupId = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalSecurityGroupId"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalIgName"].isNull())
|
||||
globalSecurityIPGroupObject.globalIgName = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GlobalIgName"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["SecurityIPType"].isNull())
|
||||
globalSecurityIPGroupObject.securityIPType = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["SecurityIPType"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GIpList"].isNull())
|
||||
globalSecurityIPGroupObject.gIpList = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["GIpList"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["WhitelistNetType"].isNull())
|
||||
globalSecurityIPGroupObject.whitelistNetType = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["WhitelistNetType"].asString();
|
||||
if(!valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["RegionId"].isNull())
|
||||
globalSecurityIPGroupObject.regionId = valueGlobalSecurityIPGroupGlobalSecurityIPGroupItem["RegionId"].asString();
|
||||
auto allDBInstances = value["DBInstances"]["DBInstances"];
|
||||
for (auto value : allDBInstances)
|
||||
globalSecurityIPGroupObject.dBInstances.push_back(value.asString());
|
||||
globalSecurityIPGroup_.push_back(globalSecurityIPGroupObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DeleteGlobalSecurityIPGroupResult::GlobalSecurityIPGroupItem> DeleteGlobalSecurityIPGroupResult::getGlobalSecurityIPGroup()const
|
||||
{
|
||||
return globalSecurityIPGroup_;
|
||||
}
|
||||
|
||||
@@ -1,45 +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/polardb/model/DeleteMaskingRulesRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteMaskingRulesRequest;
|
||||
|
||||
DeleteMaskingRulesRequest::DeleteMaskingRulesRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DeleteMaskingRules") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DeleteMaskingRulesRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteMaskingRulesRequest;
|
||||
|
||||
DeleteMaskingRulesRequest::DeleteMaskingRulesRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DeleteMaskingRules")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteMaskingRulesRequest::~DeleteMaskingRulesRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteMaskingRulesRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
DeleteMaskingRulesRequest::~DeleteMaskingRulesRequest() {}
|
||||
|
||||
std::string DeleteMaskingRulesRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DeleteMaskingRulesRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DeleteMaskingRulesRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DeleteMaskingRulesRequest::getRuleNameList()const
|
||||
{
|
||||
return ruleNameList_;
|
||||
}
|
||||
|
||||
std::string DeleteMaskingRulesRequest::getRuleNameList() const {
|
||||
return ruleNameList_;
|
||||
}
|
||||
|
||||
void DeleteMaskingRulesRequest::setRuleNameList(const std::string &ruleNameList) {
|
||||
ruleNameList_ = ruleNameList;
|
||||
setParameter(std::string("RuleNameList"), ruleNameList);
|
||||
void DeleteMaskingRulesRequest::setRuleNameList(const std::string& ruleNameList)
|
||||
{
|
||||
ruleNameList_ = ruleNameList;
|
||||
setParameter("RuleNameList", ruleNameList);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,90 +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/polardb/model/DeleteParameterGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteParameterGroupRequest;
|
||||
|
||||
DeleteParameterGroupRequest::DeleteParameterGroupRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DeleteParameterGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DeleteParameterGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DeleteParameterGroupRequest;
|
||||
|
||||
DeleteParameterGroupRequest::DeleteParameterGroupRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DeleteParameterGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteParameterGroupRequest::~DeleteParameterGroupRequest()
|
||||
{}
|
||||
|
||||
long DeleteParameterGroupRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DeleteParameterGroupRequest::~DeleteParameterGroupRequest() {}
|
||||
|
||||
long DeleteParameterGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DeleteParameterGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DeleteParameterGroupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DeleteParameterGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DeleteParameterGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DeleteParameterGroupRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string DeleteParameterGroupRequest::getParameterGroupId() const {
|
||||
return parameterGroupId_;
|
||||
void DeleteParameterGroupRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setParameterGroupId(const std::string ¶meterGroupId) {
|
||||
parameterGroupId_ = parameterGroupId;
|
||||
setParameter(std::string("ParameterGroupId"), parameterGroupId);
|
||||
std::string DeleteParameterGroupRequest::getParameterGroupId()const
|
||||
{
|
||||
return parameterGroupId_;
|
||||
}
|
||||
|
||||
std::string DeleteParameterGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
void DeleteParameterGroupRequest::setParameterGroupId(const std::string& parameterGroupId)
|
||||
{
|
||||
parameterGroupId_ = parameterGroupId;
|
||||
setParameter("ParameterGroupId", parameterGroupId);
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
std::string DeleteParameterGroupRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DeleteParameterGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DeleteParameterGroupRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DeleteParameterGroupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteParameterGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DeleteParameterGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
std::string DeleteParameterGroupRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long DeleteParameterGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void DeleteParameterGroupRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
long DeleteParameterGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
106
polardb/src/model/DescribeAITaskStatusRequest.cc
Normal file
106
polardb/src/model/DescribeAITaskStatusRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeAITaskStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeAITaskStatusRequest;
|
||||
|
||||
DescribeAITaskStatusRequest::DescribeAITaskStatusRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeAITaskStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeAITaskStatusRequest::~DescribeAITaskStatusRequest()
|
||||
{}
|
||||
|
||||
long DescribeAITaskStatusRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeAITaskStatusRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeAITaskStatusRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeAITaskStatusRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAITaskStatusRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeAITaskStatusRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeAITaskStatusRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAITaskStatusRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAITaskStatusRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeAITaskStatusRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeAITaskStatusRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAITaskStatusRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeAITaskStatusRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeAITaskStatusRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
65
polardb/src/model/DescribeAITaskStatusResult.cc
Normal file
65
polardb/src/model/DescribeAITaskStatusResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeAITaskStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeAITaskStatusResult::DescribeAITaskStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAITaskStatusResult::DescribeAITaskStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAITaskStatusResult::~DescribeAITaskStatusResult()
|
||||
{}
|
||||
|
||||
void DescribeAITaskStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["StatusName"].isNull())
|
||||
statusName_ = value["StatusName"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeAITaskStatusResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::string DescribeAITaskStatusResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeAITaskStatusResult::getStatusName()const
|
||||
{
|
||||
return statusName_;
|
||||
}
|
||||
|
||||
@@ -1,108 +1,128 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeAccountsRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeAccountsRequest;
|
||||
|
||||
DescribeAccountsRequest::DescribeAccountsRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeAccounts") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeAccountsRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeAccountsRequest;
|
||||
|
||||
DescribeAccountsRequest::DescribeAccountsRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeAccounts")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAccountsRequest::~DescribeAccountsRequest()
|
||||
{}
|
||||
|
||||
long DescribeAccountsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeAccountsRequest::~DescribeAccountsRequest() {}
|
||||
|
||||
long DescribeAccountsRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeAccountsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeAccountsRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
int DescribeAccountsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeAccountsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
void DescribeAccountsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeAccountsRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
std::string DescribeAccountsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeAccountsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeAccountsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeAccountsRequest::getAccountName()const
|
||||
{
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getAccountName() const {
|
||||
return accountName_;
|
||||
void DescribeAccountsRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
void DescribeAccountsRequest::setAccountName(const std::string &accountName) {
|
||||
accountName_ = accountName;
|
||||
setParameter(std::string("AccountName"), accountName);
|
||||
int DescribeAccountsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeAccountsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
void DescribeAccountsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeAccountsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
std::string DescribeAccountsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeAccountsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeAccountsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeAccountsRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeAccountsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeAccountsRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeAccountsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeAccountsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeAccountsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeAccountsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeAccountsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeAccountsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DescribeAccountsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -57,6 +57,8 @@ void DescribeAccountsResult::parse(const std::string &payload)
|
||||
accountsObject.accountLockState = valueAccountsDBAccount["AccountLockState"].asString();
|
||||
if(!valueAccountsDBAccount["AccountName"].isNull())
|
||||
accountsObject.accountName = valueAccountsDBAccount["AccountName"].asString();
|
||||
if(!valueAccountsDBAccount["AccountPassword"].isNull())
|
||||
accountsObject.accountPassword = valueAccountsDBAccount["AccountPassword"].asString();
|
||||
auto allDatabasePrivilegesNode = valueAccountsDBAccount["DatabasePrivileges"]["DatabasePrivilege"];
|
||||
for (auto valueAccountsDBAccountDatabasePrivilegesDatabasePrivilege : allDatabasePrivilegesNode)
|
||||
{
|
||||
|
||||
117
polardb/src/model/DescribeActiveOperationMaintainConfRequest.cc
Normal file
117
polardb/src/model/DescribeActiveOperationMaintainConfRequest.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/polardb/model/DescribeActiveOperationMaintainConfRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeActiveOperationMaintainConfRequest;
|
||||
|
||||
DescribeActiveOperationMaintainConfRequest::DescribeActiveOperationMaintainConfRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeActiveOperationMaintainConf")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeActiveOperationMaintainConfRequest::~DescribeActiveOperationMaintainConfRequest()
|
||||
{}
|
||||
|
||||
long DescribeActiveOperationMaintainConfRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationMaintainConfRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationMaintainConfRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationMaintainConfRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationMaintainConfRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationMaintainConfRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationMaintainConfRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationMaintainConfRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationMaintainConfRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationMaintainConfRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationMaintainConfRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationMaintainConfRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationMaintainConfRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationMaintainConfRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeActiveOperationMaintainConfRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationMaintainConfRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeActiveOperationMaintainConfResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeActiveOperationMaintainConfResult::DescribeActiveOperationMaintainConfResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeActiveOperationMaintainConfResult::DescribeActiveOperationMaintainConfResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeActiveOperationMaintainConfResult::~DescribeActiveOperationMaintainConfResult()
|
||||
{}
|
||||
|
||||
void DescribeActiveOperationMaintainConfResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto configNode = value["Config"];
|
||||
if(!configNode["CycleType"].isNull())
|
||||
config_.cycleType = std::stoi(configNode["CycleType"].asString());
|
||||
if(!configNode["CycleTime"].isNull())
|
||||
config_.cycleTime = configNode["CycleTime"].asString();
|
||||
if(!configNode["MaintainStartTime"].isNull())
|
||||
config_.maintainStartTime = configNode["MaintainStartTime"].asString();
|
||||
if(!configNode["MaintainEndTime"].isNull())
|
||||
config_.maintainEndTime = configNode["MaintainEndTime"].asString();
|
||||
if(!configNode["Status"].isNull())
|
||||
config_.status = std::stol(configNode["Status"].asString());
|
||||
if(!configNode["ModifiedTime"].isNull())
|
||||
config_.modifiedTime = configNode["ModifiedTime"].asString();
|
||||
if(!configNode["CreatedTime"].isNull())
|
||||
config_.createdTime = configNode["CreatedTime"].asString();
|
||||
if(!value["HasConfig"].isNull())
|
||||
hasConfig_ = std::stol(value["HasConfig"].asString());
|
||||
|
||||
}
|
||||
|
||||
DescribeActiveOperationMaintainConfResult::Config DescribeActiveOperationMaintainConfResult::getConfig()const
|
||||
{
|
||||
return config_;
|
||||
}
|
||||
|
||||
long DescribeActiveOperationMaintainConfResult::getHasConfig()const
|
||||
{
|
||||
return hasConfig_;
|
||||
}
|
||||
|
||||
106
polardb/src/model/DescribeActiveOperationTaskCountRequest.cc
Normal file
106
polardb/src/model/DescribeActiveOperationTaskCountRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeActiveOperationTaskCountRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeActiveOperationTaskCountRequest;
|
||||
|
||||
DescribeActiveOperationTaskCountRequest::DescribeActiveOperationTaskCountRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeActiveOperationTaskCount")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeActiveOperationTaskCountRequest::~DescribeActiveOperationTaskCountRequest()
|
||||
{}
|
||||
|
||||
long DescribeActiveOperationTaskCountRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTaskCountRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTaskCountRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTaskCountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTaskCountRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTaskCountRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTaskCountRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTaskCountRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTaskCountRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTaskCountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTaskCountRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTaskCountRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeActiveOperationTaskCountRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTaskCountRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
58
polardb/src/model/DescribeActiveOperationTaskCountResult.cc
Normal file
58
polardb/src/model/DescribeActiveOperationTaskCountResult.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/polardb/model/DescribeActiveOperationTaskCountResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeActiveOperationTaskCountResult::DescribeActiveOperationTaskCountResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeActiveOperationTaskCountResult::DescribeActiveOperationTaskCountResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeActiveOperationTaskCountResult::~DescribeActiveOperationTaskCountResult()
|
||||
{}
|
||||
|
||||
void DescribeActiveOperationTaskCountResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["NeedPop"].isNull())
|
||||
needPop_ = std::stoi(value["NeedPop"].asString());
|
||||
if(!value["TaskCount"].isNull())
|
||||
taskCount_ = std::stoi(value["TaskCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTaskCountResult::getNeedPop()const
|
||||
{
|
||||
return needPop_;
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTaskCountResult::getTaskCount()const
|
||||
{
|
||||
return taskCount_;
|
||||
}
|
||||
|
||||
238
polardb/src/model/DescribeActiveOperationTasksRequest.cc
Normal file
238
polardb/src/model/DescribeActiveOperationTasksRequest.cc
Normal file
@@ -0,0 +1,238 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeActiveOperationTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeActiveOperationTasksRequest;
|
||||
|
||||
DescribeActiveOperationTasksRequest::DescribeActiveOperationTasksRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeActiveOperationTasks")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeActiveOperationTasksRequest::~DescribeActiveOperationTasksRequest()
|
||||
{}
|
||||
|
||||
long DescribeActiveOperationTasksRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getChangeLevel()const
|
||||
{
|
||||
return changeLevel_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setChangeLevel(const std::string& changeLevel)
|
||||
{
|
||||
changeLevel_ = changeLevel;
|
||||
setParameter("ChangeLevel", changeLevel);
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTasksRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTasksRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getProductName()const
|
||||
{
|
||||
return productName_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setProductName(const std::string& productName)
|
||||
{
|
||||
productName_ = productName;
|
||||
setParameter("ProductName", productName);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getTaskType()const
|
||||
{
|
||||
return taskType_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setTaskType(const std::string& taskType)
|
||||
{
|
||||
taskType_ = taskType;
|
||||
setParameter("TaskType", taskType);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeActiveOperationTasksRequest::getAllowCancel()const
|
||||
{
|
||||
return allowCancel_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setAllowCancel(long allowCancel)
|
||||
{
|
||||
allowCancel_ = allowCancel;
|
||||
setParameter("AllowCancel", std::to_string(allowCancel));
|
||||
}
|
||||
|
||||
long DescribeActiveOperationTasksRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getDBType()const
|
||||
{
|
||||
return dBType_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setDBType(const std::string& dBType)
|
||||
{
|
||||
dBType_ = dBType;
|
||||
setParameter("DBType", dBType);
|
||||
}
|
||||
|
||||
long DescribeActiveOperationTasksRequest::getAllowChange()const
|
||||
{
|
||||
return allowChange_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setAllowChange(long allowChange)
|
||||
{
|
||||
allowChange_ = allowChange;
|
||||
setParameter("AllowChange", std::to_string(allowChange));
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
}
|
||||
|
||||
long DescribeActiveOperationTasksRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setStatus(long status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", std::to_string(status));
|
||||
}
|
||||
|
||||
136
polardb/src/model/DescribeActiveOperationTasksResult.cc
Normal file
136
polardb/src/model/DescribeActiveOperationTasksResult.cc
Normal file
@@ -0,0 +1,136 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeActiveOperationTasksResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeActiveOperationTasksResult::DescribeActiveOperationTasksResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeActiveOperationTasksResult::DescribeActiveOperationTasksResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeActiveOperationTasksResult::~DescribeActiveOperationTasksResult()
|
||||
{}
|
||||
|
||||
void DescribeActiveOperationTasksResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["ItemsItem"];
|
||||
for (auto valueItemsItemsItem : allItemsNode)
|
||||
{
|
||||
ItemsItem itemsObject;
|
||||
if(!valueItemsItemsItem["Status"].isNull())
|
||||
itemsObject.status = std::stoi(valueItemsItemsItem["Status"].asString());
|
||||
if(!valueItemsItemsItem["PrepareInterval"].isNull())
|
||||
itemsObject.prepareInterval = valueItemsItemsItem["PrepareInterval"].asString();
|
||||
if(!valueItemsItemsItem["Deadline"].isNull())
|
||||
itemsObject.deadline = valueItemsItemsItem["Deadline"].asString();
|
||||
if(!valueItemsItemsItem["DBType"].isNull())
|
||||
itemsObject.dBType = valueItemsItemsItem["DBType"].asString();
|
||||
if(!valueItemsItemsItem["TaskType"].isNull())
|
||||
itemsObject.taskType = valueItemsItemsItem["TaskType"].asString();
|
||||
if(!valueItemsItemsItem["StartTime"].isNull())
|
||||
itemsObject.startTime = valueItemsItemsItem["StartTime"].asString();
|
||||
if(!valueItemsItemsItem["DBVersion"].isNull())
|
||||
itemsObject.dBVersion = valueItemsItemsItem["DBVersion"].asString();
|
||||
if(!valueItemsItemsItem["ModifiedTime"].isNull())
|
||||
itemsObject.modifiedTime = valueItemsItemsItem["ModifiedTime"].asString();
|
||||
if(!valueItemsItemsItem["DBClusterId"].isNull())
|
||||
itemsObject.dBClusterId = valueItemsItemsItem["DBClusterId"].asString();
|
||||
if(!valueItemsItemsItem["Region"].isNull())
|
||||
itemsObject.region = valueItemsItemsItem["Region"].asString();
|
||||
if(!valueItemsItemsItem["ResultInfo"].isNull())
|
||||
itemsObject.resultInfo = valueItemsItemsItem["ResultInfo"].asString();
|
||||
if(!valueItemsItemsItem["CreatedTime"].isNull())
|
||||
itemsObject.createdTime = valueItemsItemsItem["CreatedTime"].asString();
|
||||
if(!valueItemsItemsItem["TaskId"].isNull())
|
||||
itemsObject.taskId = std::stoi(valueItemsItemsItem["TaskId"].asString());
|
||||
if(!valueItemsItemsItem["SwitchTime"].isNull())
|
||||
itemsObject.switchTime = valueItemsItemsItem["SwitchTime"].asString();
|
||||
if(!valueItemsItemsItem["CurrentAVZ"].isNull())
|
||||
itemsObject.currentAVZ = valueItemsItemsItem["CurrentAVZ"].asString();
|
||||
if(!valueItemsItemsItem["InsComment"].isNull())
|
||||
itemsObject.insComment = valueItemsItemsItem["InsComment"].asString();
|
||||
if(!valueItemsItemsItem["TaskTypeZh"].isNull())
|
||||
itemsObject.taskTypeZh = valueItemsItemsItem["TaskTypeZh"].asString();
|
||||
if(!valueItemsItemsItem["TaskTypeEn"].isNull())
|
||||
itemsObject.taskTypeEn = valueItemsItemsItem["TaskTypeEn"].asString();
|
||||
if(!valueItemsItemsItem["ChangeLevel"].isNull())
|
||||
itemsObject.changeLevel = valueItemsItemsItem["ChangeLevel"].asString();
|
||||
if(!valueItemsItemsItem["ChangeLevelZh"].isNull())
|
||||
itemsObject.changeLevelZh = valueItemsItemsItem["ChangeLevelZh"].asString();
|
||||
if(!valueItemsItemsItem["ChangeLevelEn"].isNull())
|
||||
itemsObject.changeLevelEn = valueItemsItemsItem["ChangeLevelEn"].asString();
|
||||
if(!valueItemsItemsItem["ImpactZh"].isNull())
|
||||
itemsObject.impactZh = valueItemsItemsItem["ImpactZh"].asString();
|
||||
if(!valueItemsItemsItem["ImpactEn"].isNull())
|
||||
itemsObject.impactEn = valueItemsItemsItem["ImpactEn"].asString();
|
||||
if(!valueItemsItemsItem["AllowChange"].isNull())
|
||||
itemsObject.allowChange = std::stol(valueItemsItemsItem["AllowChange"].asString());
|
||||
if(!valueItemsItemsItem["AllowCancel"].isNull())
|
||||
itemsObject.allowCancel = std::stol(valueItemsItemsItem["AllowCancel"].asString());
|
||||
if(!valueItemsItemsItem["Impact"].isNull())
|
||||
itemsObject.impact = valueItemsItemsItem["Impact"].asString();
|
||||
auto allDBNodeIdsNode = valueItemsItemsItem["DBNodeIds"]["subInsNames"];
|
||||
for (auto valueItemsItemsItemDBNodeIdssubInsNames : allDBNodeIdsNode)
|
||||
{
|
||||
ItemsItem::SubInsNames dBNodeIdsObject;
|
||||
if(!valueItemsItemsItemDBNodeIdssubInsNames["DBNodeIds"].isNull())
|
||||
dBNodeIdsObject.dBNodeIds = valueItemsItemsItemDBNodeIdssubInsNames["DBNodeIds"].asString();
|
||||
itemsObject.dBNodeIds.push_back(dBNodeIdsObject);
|
||||
}
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTasksResult::getTotalRecordCount()const
|
||||
{
|
||||
return totalRecordCount_;
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTasksResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTasksResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<DescribeActiveOperationTasksResult::ItemsItem> DescribeActiveOperationTasksResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
@@ -1,117 +1,139 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeAutoRenewAttributeRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeAutoRenewAttributeRequest;
|
||||
|
||||
DescribeAutoRenewAttributeRequest::DescribeAutoRenewAttributeRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeAutoRenewAttribute") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeAutoRenewAttributeRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeAutoRenewAttributeRequest;
|
||||
|
||||
DescribeAutoRenewAttributeRequest::DescribeAutoRenewAttributeRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeAutoRenewAttribute")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAutoRenewAttributeRequest::~DescribeAutoRenewAttributeRequest()
|
||||
{}
|
||||
|
||||
long DescribeAutoRenewAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeAutoRenewAttributeRequest::~DescribeAutoRenewAttributeRequest() {}
|
||||
|
||||
long DescribeAutoRenewAttributeRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeAutoRenewAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeAutoRenewAttributeRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
int DescribeAutoRenewAttributeRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeAutoRenewAttributeRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
void DescribeAutoRenewAttributeRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeAutoRenewAttributeRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
std::string DescribeAutoRenewAttributeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeAutoRenewAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeAutoRenewAttributeRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeAutoRenewAttributeRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
void DescribeAutoRenewAttributeRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
void DescribeAutoRenewAttributeRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
std::string DescribeAutoRenewAttributeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
void DescribeAutoRenewAttributeRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
void DescribeAutoRenewAttributeRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
int DescribeAutoRenewAttributeRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeAutoRenewAttributeRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
void DescribeAutoRenewAttributeRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeAutoRenewAttributeRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
std::string DescribeAutoRenewAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeAutoRenewAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeAutoRenewAttributeRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeAutoRenewAttributeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeAutoRenewAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeAutoRenewAttributeRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeAutoRenewAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeAutoRenewAttributeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void DescribeAutoRenewAttributeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeAutoRenewAttributeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
std::string DescribeAutoRenewAttributeRequest::getDBClusterIds()const
|
||||
{
|
||||
return dBClusterIds_;
|
||||
}
|
||||
|
||||
std::string DescribeAutoRenewAttributeRequest::getDBClusterIds() const {
|
||||
return dBClusterIds_;
|
||||
}
|
||||
|
||||
void DescribeAutoRenewAttributeRequest::setDBClusterIds(const std::string &dBClusterIds) {
|
||||
dBClusterIds_ = dBClusterIds;
|
||||
setParameter(std::string("DBClusterIds"), dBClusterIds);
|
||||
void DescribeAutoRenewAttributeRequest::setDBClusterIds(const std::string& dBClusterIds)
|
||||
{
|
||||
dBClusterIds_ = dBClusterIds;
|
||||
setParameter("DBClusterIds", dBClusterIds);
|
||||
}
|
||||
|
||||
|
||||
95
polardb/src/model/DescribeAvailableCrossRegionsRequest.cc
Normal file
95
polardb/src/model/DescribeAvailableCrossRegionsRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeAvailableCrossRegionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeAvailableCrossRegionsRequest;
|
||||
|
||||
DescribeAvailableCrossRegionsRequest::DescribeAvailableCrossRegionsRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeAvailableCrossRegions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAvailableCrossRegionsRequest::~DescribeAvailableCrossRegionsRequest()
|
||||
{}
|
||||
|
||||
long DescribeAvailableCrossRegionsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeAvailableCrossRegionsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeAvailableCrossRegionsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeAvailableCrossRegionsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableCrossRegionsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAvailableCrossRegionsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableCrossRegionsRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeAvailableCrossRegionsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableCrossRegionsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeAvailableCrossRegionsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeAvailableCrossRegionsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeAvailableCrossRegionsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
58
polardb/src/model/DescribeAvailableCrossRegionsResult.cc
Normal file
58
polardb/src/model/DescribeAvailableCrossRegionsResult.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/polardb/model/DescribeAvailableCrossRegionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeAvailableCrossRegionsResult::DescribeAvailableCrossRegionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAvailableCrossRegionsResult::DescribeAvailableCrossRegionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAvailableCrossRegionsResult::~DescribeAvailableCrossRegionsResult()
|
||||
{}
|
||||
|
||||
void DescribeAvailableCrossRegionsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Regions"].isNull())
|
||||
regions_ = value["Regions"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeAvailableCrossRegionsResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeAvailableCrossRegionsResult::getRegions()const
|
||||
{
|
||||
return regions_;
|
||||
}
|
||||
|
||||
@@ -1,117 +1,150 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeBackupLogsRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeBackupLogsRequest;
|
||||
|
||||
DescribeBackupLogsRequest::DescribeBackupLogsRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeBackupLogs") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeBackupLogsRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeBackupLogsRequest;
|
||||
|
||||
DescribeBackupLogsRequest::DescribeBackupLogsRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeBackupLogs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBackupLogsRequest::~DescribeBackupLogsRequest()
|
||||
{}
|
||||
|
||||
long DescribeBackupLogsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeBackupLogsRequest::~DescribeBackupLogsRequest() {}
|
||||
|
||||
long DescribeBackupLogsRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeBackupLogsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeBackupLogsRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeBackupLogsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupLogsRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
void DescribeBackupLogsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
void DescribeBackupLogsRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
int DescribeBackupLogsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeBackupLogsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
void DescribeBackupLogsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeBackupLogsRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
std::string DescribeBackupLogsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupLogsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeBackupLogsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeBackupLogsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
int DescribeBackupLogsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeBackupLogsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
void DescribeBackupLogsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeBackupLogsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
std::string DescribeBackupLogsRequest::getBackupRegion()const
|
||||
{
|
||||
return backupRegion_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupLogsRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeBackupLogsRequest::setBackupRegion(const std::string& backupRegion)
|
||||
{
|
||||
backupRegion_ = backupRegion;
|
||||
setParameter("BackupRegion", backupRegion);
|
||||
}
|
||||
|
||||
void DescribeBackupLogsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeBackupLogsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupLogsRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeBackupLogsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeBackupLogsRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeBackupLogsRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupLogsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeBackupLogsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeBackupLogsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
std::string DescribeBackupLogsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupLogsRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
void DescribeBackupLogsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeBackupLogsRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
std::string DescribeBackupLogsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribeBackupLogsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void DescribeBackupLogsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
void DescribeBackupLogsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
long DescribeBackupLogsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeBackupLogsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,81 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeBackupPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeBackupPolicyRequest;
|
||||
|
||||
DescribeBackupPolicyRequest::DescribeBackupPolicyRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeBackupPolicy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeBackupPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeBackupPolicyRequest;
|
||||
|
||||
DescribeBackupPolicyRequest::DescribeBackupPolicyRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeBackupPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBackupPolicyRequest::~DescribeBackupPolicyRequest()
|
||||
{}
|
||||
|
||||
long DescribeBackupPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeBackupPolicyRequest::~DescribeBackupPolicyRequest() {}
|
||||
|
||||
long DescribeBackupPolicyRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeBackupPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeBackupPolicyRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeBackupPolicyRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeBackupPolicyRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeBackupPolicyRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeBackupPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeBackupPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeBackupPolicyRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeBackupPolicyRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeBackupPolicyRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeBackupPolicyRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeBackupPolicyRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeBackupPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeBackupPolicyRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeBackupPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeBackupPolicyRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeBackupPolicyRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DescribeBackupPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -63,17 +63,16 @@ void DescribeBackupPolicyResult::parse(const std::string &payload)
|
||||
dataLevel1BackupTime_ = value["DataLevel1BackupTime"].asString();
|
||||
if(!value["DataLevel2BackupPeriod"].isNull())
|
||||
dataLevel2BackupPeriod_ = value["DataLevel2BackupPeriod"].asString();
|
||||
if(!value["DataLevel2BackupAnotherRegionRetentionPeriod"].isNull())
|
||||
dataLevel2BackupAnotherRegionRetentionPeriod_ = value["DataLevel2BackupAnotherRegionRetentionPeriod"].asString();
|
||||
if(!value["DataLevel2BackupAnotherRegionRegion"].isNull())
|
||||
dataLevel2BackupAnotherRegionRegion_ = value["DataLevel2BackupAnotherRegionRegion"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getPreferredBackupPeriod()const
|
||||
std::string DescribeBackupPolicyResult::getDataLevel2BackupAnotherRegionRegion()const
|
||||
{
|
||||
return preferredBackupPeriod_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getDataLevel1BackupFrequency()const
|
||||
{
|
||||
return dataLevel1BackupFrequency_;
|
||||
return dataLevel2BackupAnotherRegionRegion_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getDataLevel1BackupRetentionPeriod()const
|
||||
@@ -81,9 +80,9 @@ std::string DescribeBackupPolicyResult::getDataLevel1BackupRetentionPeriod()cons
|
||||
return dataLevel1BackupRetentionPeriod_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getDataLevel2BackupPeriod()const
|
||||
std::string DescribeBackupPolicyResult::getDataLevel2BackupAnotherRegionRetentionPeriod()const
|
||||
{
|
||||
return dataLevel2BackupPeriod_;
|
||||
return dataLevel2BackupAnotherRegionRetentionPeriod_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getPreferredBackupTime()const
|
||||
@@ -106,23 +105,38 @@ std::string DescribeBackupPolicyResult::getDataLevel1BackupTime()const
|
||||
return dataLevel1BackupTime_;
|
||||
}
|
||||
|
||||
int DescribeBackupPolicyResult::getBackupRetentionPeriod()const
|
||||
{
|
||||
return backupRetentionPeriod_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getPreferredNextBackupTime()const
|
||||
{
|
||||
return preferredNextBackupTime_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getDataLevel1BackupPeriod()const
|
||||
{
|
||||
return dataLevel1BackupPeriod_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getDataLevel2BackupRetentionPeriod()const
|
||||
{
|
||||
return dataLevel2BackupRetentionPeriod_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getPreferredBackupPeriod()const
|
||||
{
|
||||
return preferredBackupPeriod_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getDataLevel1BackupFrequency()const
|
||||
{
|
||||
return dataLevel1BackupFrequency_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getDataLevel2BackupPeriod()const
|
||||
{
|
||||
return dataLevel2BackupPeriod_;
|
||||
}
|
||||
|
||||
int DescribeBackupPolicyResult::getBackupRetentionPeriod()const
|
||||
{
|
||||
return backupRetentionPeriod_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPolicyResult::getDataLevel1BackupPeriod()const
|
||||
{
|
||||
return dataLevel1BackupPeriod_;
|
||||
}
|
||||
|
||||
|
||||
95
polardb/src/model/DescribeBackupRegionsRequest.cc
Normal file
95
polardb/src/model/DescribeBackupRegionsRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeBackupRegionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeBackupRegionsRequest;
|
||||
|
||||
DescribeBackupRegionsRequest::DescribeBackupRegionsRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeBackupRegions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBackupRegionsRequest::~DescribeBackupRegionsRequest()
|
||||
{}
|
||||
|
||||
long DescribeBackupRegionsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeBackupRegionsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeBackupRegionsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeBackupRegionsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupRegionsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeBackupRegionsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeBackupRegionsRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeBackupRegionsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupRegionsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeBackupRegionsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeBackupRegionsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeBackupRegionsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
58
polardb/src/model/DescribeBackupRegionsResult.cc
Normal file
58
polardb/src/model/DescribeBackupRegionsResult.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/polardb/model/DescribeBackupRegionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeBackupRegionsResult::DescribeBackupRegionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeBackupRegionsResult::DescribeBackupRegionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeBackupRegionsResult::~DescribeBackupRegionsResult()
|
||||
{}
|
||||
|
||||
void DescribeBackupRegionsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Regions"].isNull())
|
||||
regions_ = value["Regions"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeBackupRegionsResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupRegionsResult::getRegions()const
|
||||
{
|
||||
return regions_;
|
||||
}
|
||||
|
||||
@@ -1,108 +1,128 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeBackupTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeBackupTasksRequest;
|
||||
|
||||
DescribeBackupTasksRequest::DescribeBackupTasksRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeBackupTasks") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeBackupTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeBackupTasksRequest;
|
||||
|
||||
DescribeBackupTasksRequest::DescribeBackupTasksRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeBackupTasks")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBackupTasksRequest::~DescribeBackupTasksRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeBackupTasksRequest::getBackupJobId()const
|
||||
{
|
||||
return backupJobId_;
|
||||
}
|
||||
|
||||
DescribeBackupTasksRequest::~DescribeBackupTasksRequest() {}
|
||||
|
||||
std::string DescribeBackupTasksRequest::getBackupJobId() const {
|
||||
return backupJobId_;
|
||||
void DescribeBackupTasksRequest::setBackupJobId(const std::string& backupJobId)
|
||||
{
|
||||
backupJobId_ = backupJobId;
|
||||
setParameter("BackupJobId", backupJobId);
|
||||
}
|
||||
|
||||
void DescribeBackupTasksRequest::setBackupJobId(const std::string &backupJobId) {
|
||||
backupJobId_ = backupJobId;
|
||||
setParameter(std::string("BackupJobId"), backupJobId);
|
||||
long DescribeBackupTasksRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
long DescribeBackupTasksRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeBackupTasksRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeBackupTasksRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeBackupTasksRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupTasksRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeBackupTasksRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeBackupTasksRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeBackupTasksRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupTasksRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
void DescribeBackupTasksRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
void DescribeBackupTasksRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
std::string DescribeBackupTasksRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupTasksRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeBackupTasksRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeBackupTasksRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeBackupTasksRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupTasksRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeBackupTasksRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeBackupTasksRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeBackupTasksRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupTasksRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeBackupTasksRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeBackupTasksRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeBackupTasksRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeBackupTasksRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void DescribeBackupTasksRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeBackupTasksRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
std::string DescribeBackupTasksRequest::getBackupMode()const
|
||||
{
|
||||
return backupMode_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupTasksRequest::getBackupMode() const {
|
||||
return backupMode_;
|
||||
}
|
||||
|
||||
void DescribeBackupTasksRequest::setBackupMode(const std::string &backupMode) {
|
||||
backupMode_ = backupMode;
|
||||
setParameter(std::string("BackupMode"), backupMode);
|
||||
void DescribeBackupTasksRequest::setBackupMode(const std::string& backupMode)
|
||||
{
|
||||
backupMode_ = backupMode;
|
||||
setParameter("BackupMode", backupMode);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,144 +1,183 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeBackupsRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeBackupsRequest;
|
||||
|
||||
DescribeBackupsRequest::DescribeBackupsRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeBackups") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeBackupsRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeBackupsRequest;
|
||||
|
||||
DescribeBackupsRequest::DescribeBackupsRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeBackups")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBackupsRequest::~DescribeBackupsRequest()
|
||||
{}
|
||||
|
||||
long DescribeBackupsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeBackupsRequest::~DescribeBackupsRequest() {}
|
||||
|
||||
long DescribeBackupsRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeBackupsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeBackupsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
void DescribeBackupsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
int DescribeBackupsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
int DescribeBackupsRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
void DescribeBackupsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
std::string DescribeBackupsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeBackupsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
int DescribeBackupsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeBackupsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
void DescribeBackupsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
std::string DescribeBackupsRequest::getBackupRegion()const
|
||||
{
|
||||
return backupRegion_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeBackupsRequest::setBackupRegion(const std::string& backupRegion)
|
||||
{
|
||||
backupRegion_ = backupRegion;
|
||||
setParameter("BackupRegion", backupRegion);
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeBackupsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeBackupsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeBackupsRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeBackupsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
std::string DescribeBackupsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getBackupId() const {
|
||||
return backupId_;
|
||||
void DescribeBackupsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setBackupId(const std::string &backupId) {
|
||||
backupId_ = backupId;
|
||||
setParameter(std::string("BackupId"), backupId);
|
||||
std::string DescribeBackupsRequest::getBackupId()const
|
||||
{
|
||||
return backupId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
void DescribeBackupsRequest::setBackupId(const std::string& backupId)
|
||||
{
|
||||
backupId_ = backupId;
|
||||
setParameter("BackupId", backupId);
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
std::string DescribeBackupsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribeBackupsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void DescribeBackupsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
long DescribeBackupsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getBackupStatus() const {
|
||||
return backupStatus_;
|
||||
void DescribeBackupsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setBackupStatus(const std::string &backupStatus) {
|
||||
backupStatus_ = backupStatus;
|
||||
setParameter(std::string("BackupStatus"), backupStatus);
|
||||
std::string DescribeBackupsRequest::getBackupStatus()const
|
||||
{
|
||||
return backupStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getBackupMode() const {
|
||||
return backupMode_;
|
||||
void DescribeBackupsRequest::setBackupStatus(const std::string& backupStatus)
|
||||
{
|
||||
backupStatus_ = backupStatus;
|
||||
setParameter("BackupStatus", backupStatus);
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setBackupMode(const std::string &backupMode) {
|
||||
backupMode_ = backupMode;
|
||||
setParameter(std::string("BackupMode"), backupMode);
|
||||
std::string DescribeBackupsRequest::getBackupMode()const
|
||||
{
|
||||
return backupMode_;
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setBackupMode(const std::string& backupMode)
|
||||
{
|
||||
backupMode_ = backupMode;
|
||||
setParameter("BackupMode", backupMode);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,90 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeCharacterSetNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeCharacterSetNameRequest;
|
||||
|
||||
DescribeCharacterSetNameRequest::DescribeCharacterSetNameRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeCharacterSetName") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeCharacterSetNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeCharacterSetNameRequest;
|
||||
|
||||
DescribeCharacterSetNameRequest::DescribeCharacterSetNameRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeCharacterSetName")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCharacterSetNameRequest::~DescribeCharacterSetNameRequest()
|
||||
{}
|
||||
|
||||
long DescribeCharacterSetNameRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeCharacterSetNameRequest::~DescribeCharacterSetNameRequest() {}
|
||||
|
||||
long DescribeCharacterSetNameRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeCharacterSetNameRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeCharacterSetNameRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeCharacterSetNameRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeCharacterSetNameRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeCharacterSetNameRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeCharacterSetNameRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeCharacterSetNameRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DescribeCharacterSetNameRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
void DescribeCharacterSetNameRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
void DescribeCharacterSetNameRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
std::string DescribeCharacterSetNameRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeCharacterSetNameRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeCharacterSetNameRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeCharacterSetNameRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeCharacterSetNameRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeCharacterSetNameRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeCharacterSetNameRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeCharacterSetNameRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeCharacterSetNameRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeCharacterSetNameRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeCharacterSetNameRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeCharacterSetNameRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeCharacterSetNameRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeCharacterSetNameRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCharacterSetNameRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DescribeCharacterSetNameRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
128
polardb/src/model/DescribeClassListRequest.cc
Normal file
128
polardb/src/model/DescribeClassListRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeClassListRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeClassListRequest;
|
||||
|
||||
DescribeClassListRequest::DescribeClassListRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeClassList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeClassListRequest::~DescribeClassListRequest()
|
||||
{}
|
||||
|
||||
long DescribeClassListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeClassListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeClassListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeClassListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeClassListRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeClassListRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeClassListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeClassListRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeClassListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeClassListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeClassListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeClassListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeClassListRequest::getCommodityCode()const
|
||||
{
|
||||
return commodityCode_;
|
||||
}
|
||||
|
||||
void DescribeClassListRequest::setCommodityCode(const std::string& commodityCode)
|
||||
{
|
||||
commodityCode_ = commodityCode;
|
||||
setParameter("CommodityCode", commodityCode);
|
||||
}
|
||||
|
||||
long DescribeClassListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeClassListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeClassListRequest::getOrderType()const
|
||||
{
|
||||
return orderType_;
|
||||
}
|
||||
|
||||
void DescribeClassListRequest::setOrderType(const std::string& orderType)
|
||||
{
|
||||
orderType_ = orderType;
|
||||
setParameter("OrderType", orderType);
|
||||
}
|
||||
|
||||
78
polardb/src/model/DescribeClassListResult.cc
Normal file
78
polardb/src/model/DescribeClassListResult.cc
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeClassListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeClassListResult::DescribeClassListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClassListResult::DescribeClassListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClassListResult::~DescribeClassListResult()
|
||||
{}
|
||||
|
||||
void DescribeClassListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["ItemsItem"];
|
||||
for (auto valueItemsItemsItem : allItemsNode)
|
||||
{
|
||||
ItemsItem itemsObject;
|
||||
if(!valueItemsItemsItem["MaxIOPS"].isNull())
|
||||
itemsObject.maxIOPS = valueItemsItemsItem["MaxIOPS"].asString();
|
||||
if(!valueItemsItemsItem["ClassTypeLevel"].isNull())
|
||||
itemsObject.classTypeLevel = valueItemsItemsItem["ClassTypeLevel"].asString();
|
||||
if(!valueItemsItemsItem["Cpu"].isNull())
|
||||
itemsObject.cpu = valueItemsItemsItem["Cpu"].asString();
|
||||
if(!valueItemsItemsItem["ReferencePrice"].isNull())
|
||||
itemsObject.referencePrice = valueItemsItemsItem["ReferencePrice"].asString();
|
||||
if(!valueItemsItemsItem["MaxConnections"].isNull())
|
||||
itemsObject.maxConnections = valueItemsItemsItem["MaxConnections"].asString();
|
||||
if(!valueItemsItemsItem["MemoryClass"].isNull())
|
||||
itemsObject.memoryClass = valueItemsItemsItem["MemoryClass"].asString();
|
||||
if(!valueItemsItemsItem["ClassCode"].isNull())
|
||||
itemsObject.classCode = valueItemsItemsItem["ClassCode"].asString();
|
||||
if(!valueItemsItemsItem["ClassGroup"].isNull())
|
||||
itemsObject.classGroup = valueItemsItemsItem["ClassGroup"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeClassListResult::ItemsItem> DescribeClassListResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
std::string DescribeClassListResult::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
@@ -1,81 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterAccessWhitelistRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterAccessWhitelistRequest;
|
||||
|
||||
DescribeDBClusterAccessWhitelistRequest::DescribeDBClusterAccessWhitelistRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterAccessWhitelist") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeDBClusterAccessWhitelistRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterAccessWhitelistRequest;
|
||||
|
||||
DescribeDBClusterAccessWhitelistRequest::DescribeDBClusterAccessWhitelistRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterAccessWhitelist")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterAccessWhitelistRequest::~DescribeDBClusterAccessWhitelistRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterAccessWhitelistRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeDBClusterAccessWhitelistRequest::~DescribeDBClusterAccessWhitelistRequest() {}
|
||||
|
||||
long DescribeDBClusterAccessWhitelistRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeDBClusterAccessWhitelistRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeDBClusterAccessWhitelistRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeDBClusterAccessWhitelistRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAccessWhitelistRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeDBClusterAccessWhitelistRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAccessWhitelistRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeDBClusterAccessWhitelistRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAccessWhitelistRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeDBClusterAccessWhitelistRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAccessWhitelistRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeDBClusterAccessWhitelistRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAccessWhitelistRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeDBClusterAccessWhitelistRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAccessWhitelistRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeDBClusterAccessWhitelistRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAccessWhitelistRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeDBClusterAccessWhitelistRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAccessWhitelistRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeDBClusterAccessWhitelistRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterAccessWhitelistRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterAccessWhitelistRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DescribeDBClusterAccessWhitelistRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,81 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterAttributeRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterAttributeRequest;
|
||||
|
||||
DescribeDBClusterAttributeRequest::DescribeDBClusterAttributeRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterAttribute") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeDBClusterAttributeRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterAttributeRequest;
|
||||
|
||||
DescribeDBClusterAttributeRequest::DescribeDBClusterAttributeRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterAttribute")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterAttributeRequest::~DescribeDBClusterAttributeRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeDBClusterAttributeRequest::~DescribeDBClusterAttributeRequest() {}
|
||||
|
||||
long DescribeDBClusterAttributeRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeDBClusterAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeDBClusterAttributeRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeDBClusterAttributeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeDBClusterAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAttributeRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeDBClusterAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeDBClusterAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAttributeRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeDBClusterAttributeRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeDBClusterAttributeRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAttributeRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeDBClusterAttributeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeDBClusterAttributeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAttributeRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeDBClusterAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterAttributeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterAttributeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DescribeDBClusterAttributeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -69,6 +69,8 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
|
||||
dBNodesObject.addedCpuCores = valueDBNodesDBNode["AddedCpuCores"].asString();
|
||||
if(!valueDBNodesDBNode["MasterId"].isNull())
|
||||
dBNodesObject.masterId = valueDBNodesDBNode["MasterId"].asString();
|
||||
if(!valueDBNodesDBNode["SccMode"].isNull())
|
||||
dBNodesObject.sccMode = valueDBNodesDBNode["SccMode"].asString();
|
||||
dBNodes_.push_back(dBNodesObject);
|
||||
}
|
||||
auto allTagsNode = value["Tags"]["Tag"];
|
||||
@@ -119,16 +121,28 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
|
||||
expired_ = value["Expired"].asString();
|
||||
if(!value["PayType"].isNull())
|
||||
payType_ = value["PayType"].asString();
|
||||
if(!value["StoragePayType"].isNull())
|
||||
storagePayType_ = value["StoragePayType"].asString();
|
||||
if(!value["LockMode"].isNull())
|
||||
lockMode_ = value["LockMode"].asString();
|
||||
if(!value["StorageUsed"].isNull())
|
||||
storageUsed_ = std::stol(value["StorageUsed"].asString());
|
||||
if(!value["StorageSpace"].isNull())
|
||||
storageSpace_ = std::stol(value["StorageSpace"].asString());
|
||||
if(!value["DBVersionStatus"].isNull())
|
||||
dBVersionStatus_ = value["DBVersionStatus"].asString();
|
||||
if(!value["CreationTime"].isNull())
|
||||
creationTime_ = value["CreationTime"].asString();
|
||||
if(!value["SQLSize"].isNull())
|
||||
sQLSize_ = std::stol(value["SQLSize"].asString());
|
||||
if(!value["InodeTotal"].isNull())
|
||||
inodeTotal_ = std::stol(value["InodeTotal"].asString());
|
||||
if(!value["InodeUsed"].isNull())
|
||||
inodeUsed_ = std::stol(value["InodeUsed"].asString());
|
||||
if(!value["BlktagTotal"].isNull())
|
||||
blktagTotal_ = std::stol(value["BlktagTotal"].asString());
|
||||
if(!value["BlktagUsed"].isNull())
|
||||
blktagUsed_ = std::stol(value["BlktagUsed"].asString());
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
if(!value["ExpireTime"].isNull())
|
||||
@@ -139,6 +153,8 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
|
||||
isProxyLatestVersion_ = value["IsProxyLatestVersion"].asString() == "true";
|
||||
if(!value["StorageType"].isNull())
|
||||
storageType_ = value["StorageType"].asString();
|
||||
if(!value["ServerlessType"].isNull())
|
||||
serverlessType_ = value["ServerlessType"].asString();
|
||||
if(!value["ProxyCpuCores"].isNull())
|
||||
proxyCpuCores_ = value["ProxyCpuCores"].asString();
|
||||
if(!value["ProxyStandardCpuCores"].isNull())
|
||||
@@ -165,6 +181,11 @@ std::string DescribeDBClusterAttributeResult::getResourceGroupId()const
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getStoragePayType()const
|
||||
{
|
||||
return storagePayType_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterAttributeResult::getDataLevel1BackupChainSize()const
|
||||
{
|
||||
return dataLevel1BackupChainSize_;
|
||||
@@ -190,6 +211,11 @@ std::string DescribeDBClusterAttributeResult::getDBClusterNetworkType()const
|
||||
return dBClusterNetworkType_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterAttributeResult::getBlktagUsed()const
|
||||
{
|
||||
return blktagUsed_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getProxyStandardCpuCores()const
|
||||
{
|
||||
return proxyStandardCpuCores_;
|
||||
@@ -220,6 +246,11 @@ std::string DescribeDBClusterAttributeResult::getZoneIds()const
|
||||
return zoneIds_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterAttributeResult::getInodeUsed()const
|
||||
{
|
||||
return inodeUsed_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getMaintainTime()const
|
||||
{
|
||||
return maintainTime_;
|
||||
@@ -235,6 +266,11 @@ std::string DescribeDBClusterAttributeResult::getEngine()const
|
||||
return engine_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterAttributeResult::getBlktagTotal()const
|
||||
{
|
||||
return blktagTotal_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getStorageType()const
|
||||
{
|
||||
return storageType_;
|
||||
@@ -285,16 +321,31 @@ long DescribeDBClusterAttributeResult::getStorageUsed()const
|
||||
return storageUsed_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterAttributeResult::getInodeTotal()const
|
||||
{
|
||||
return inodeTotal_;
|
||||
}
|
||||
|
||||
bool DescribeDBClusterAttributeResult::getIsProxyLatestVersion()const
|
||||
{
|
||||
return isProxyLatestVersion_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterAttributeResult::getStorageSpace()const
|
||||
{
|
||||
return storageSpace_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getDBVersionStatus()const
|
||||
{
|
||||
return dBVersionStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getServerlessType()const
|
||||
{
|
||||
return serverlessType_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getCreationTime()const
|
||||
{
|
||||
return creationTime_;
|
||||
|
||||
@@ -1,81 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterAuditLogCollectorRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterAuditLogCollectorRequest;
|
||||
|
||||
DescribeDBClusterAuditLogCollectorRequest::DescribeDBClusterAuditLogCollectorRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterAuditLogCollector") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeDBClusterAuditLogCollectorRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterAuditLogCollectorRequest;
|
||||
|
||||
DescribeDBClusterAuditLogCollectorRequest::DescribeDBClusterAuditLogCollectorRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterAuditLogCollector")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterAuditLogCollectorRequest::~DescribeDBClusterAuditLogCollectorRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterAuditLogCollectorRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeDBClusterAuditLogCollectorRequest::~DescribeDBClusterAuditLogCollectorRequest() {}
|
||||
|
||||
long DescribeDBClusterAuditLogCollectorRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeDBClusterAuditLogCollectorRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeDBClusterAuditLogCollectorRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeDBClusterAuditLogCollectorRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAuditLogCollectorRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeDBClusterAuditLogCollectorRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAuditLogCollectorRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeDBClusterAuditLogCollectorRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAuditLogCollectorRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeDBClusterAuditLogCollectorRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAuditLogCollectorRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeDBClusterAuditLogCollectorRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAuditLogCollectorRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeDBClusterAuditLogCollectorRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAuditLogCollectorRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeDBClusterAuditLogCollectorRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAuditLogCollectorRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeDBClusterAuditLogCollectorRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAuditLogCollectorRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeDBClusterAuditLogCollectorRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterAuditLogCollectorRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterAuditLogCollectorRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DescribeDBClusterAuditLogCollectorRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,126 +1,150 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterAvailableResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterAvailableResourcesRequest;
|
||||
|
||||
DescribeDBClusterAvailableResourcesRequest::DescribeDBClusterAvailableResourcesRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterAvailableResources") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeDBClusterAvailableResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterAvailableResourcesRequest;
|
||||
|
||||
DescribeDBClusterAvailableResourcesRequest::DescribeDBClusterAvailableResourcesRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterAvailableResources")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterAvailableResourcesRequest::~DescribeDBClusterAvailableResourcesRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterAvailableResourcesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeDBClusterAvailableResourcesRequest::~DescribeDBClusterAvailableResourcesRequest() {}
|
||||
|
||||
long DescribeDBClusterAvailableResourcesRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeDBClusterAvailableResourcesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeDBClusterAvailableResourcesRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeDBClusterAvailableResourcesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAvailableResourcesRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getDBNodeClass()const
|
||||
{
|
||||
return dBNodeClass_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getDBNodeClass() const {
|
||||
return dBNodeClass_;
|
||||
void DescribeDBClusterAvailableResourcesRequest::setDBNodeClass(const std::string& dBNodeClass)
|
||||
{
|
||||
dBNodeClass_ = dBNodeClass;
|
||||
setParameter("DBNodeClass", dBNodeClass);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAvailableResourcesRequest::setDBNodeClass(const std::string &dBNodeClass) {
|
||||
dBNodeClass_ = dBNodeClass;
|
||||
setParameter(std::string("DBNodeClass"), dBNodeClass);
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
void DescribeDBClusterAvailableResourcesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAvailableResourcesRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeDBClusterAvailableResourcesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAvailableResourcesRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeDBClusterAvailableResourcesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAvailableResourcesRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeDBClusterAvailableResourcesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterAvailableResourcesRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void DescribeDBClusterAvailableResourcesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeDBClusterAvailableResourcesRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getDBType()const
|
||||
{
|
||||
return dBType_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getDBType() const {
|
||||
return dBType_;
|
||||
void DescribeDBClusterAvailableResourcesRequest::setDBType(const std::string& dBType)
|
||||
{
|
||||
dBType_ = dBType;
|
||||
setParameter("DBType", dBType);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAvailableResourcesRequest::setDBType(const std::string &dBType) {
|
||||
dBType_ = dBType;
|
||||
setParameter(std::string("DBType"), dBType);
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getDBVersion()const
|
||||
{
|
||||
return dBVersion_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getDBVersion() const {
|
||||
return dBVersion_;
|
||||
void DescribeDBClusterAvailableResourcesRequest::setDBVersion(const std::string& dBVersion)
|
||||
{
|
||||
dBVersion_ = dBVersion;
|
||||
setParameter("DBVersion", dBVersion);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAvailableResourcesRequest::setDBVersion(const std::string &dBVersion) {
|
||||
dBVersion_ = dBVersion;
|
||||
setParameter(std::string("DBVersion"), dBVersion);
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getZoneId() const {
|
||||
return zoneId_;
|
||||
void DescribeDBClusterAvailableResourcesRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterAvailableResourcesRequest::setZoneId(const std::string &zoneId) {
|
||||
zoneId_ = zoneId;
|
||||
setParameter(std::string("ZoneId"), zoneId);
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAvailableResourcesRequest::getPayType() const {
|
||||
return payType_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterAvailableResourcesRequest::setPayType(const std::string &payType) {
|
||||
payType_ = payType;
|
||||
setParameter(std::string("PayType"), payType);
|
||||
void DescribeDBClusterAvailableResourcesRequest::setPayType(const std::string& payType)
|
||||
{
|
||||
payType_ = payType;
|
||||
setParameter("PayType", payType);
|
||||
}
|
||||
|
||||
|
||||
95
polardb/src/model/DescribeDBClusterBasicInfoRequest.cc
Normal file
95
polardb/src/model/DescribeDBClusterBasicInfoRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterBasicInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterBasicInfoRequest;
|
||||
|
||||
DescribeDBClusterBasicInfoRequest::DescribeDBClusterBasicInfoRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterBasicInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterBasicInfoRequest::~DescribeDBClusterBasicInfoRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterBasicInfoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterBasicInfoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterBasicInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterBasicInfoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterBasicInfoRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterBasicInfoRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeDBClusterBasicInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterBasicInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
240
polardb/src/model/DescribeDBClusterBasicInfoResult.cc
Normal file
240
polardb/src/model/DescribeDBClusterBasicInfoResult.cc
Normal file
@@ -0,0 +1,240 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterBasicInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeDBClusterBasicInfoResult::DescribeDBClusterBasicInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDBClusterBasicInfoResult::DescribeDBClusterBasicInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDBClusterBasicInfoResult::~DescribeDBClusterBasicInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeDBClusterBasicInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DeletionLock"].isNull())
|
||||
deletionLock_ = std::stoi(value["DeletionLock"].asString());
|
||||
if(!value["Category"].isNull())
|
||||
category_ = value["Category"].asString();
|
||||
if(!value["ResourceGroupId"].isNull())
|
||||
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["DBType"].isNull())
|
||||
dBType_ = value["DBType"].asString();
|
||||
if(!value["DBClusterNetworkType"].isNull())
|
||||
dBClusterNetworkType_ = value["DBClusterNetworkType"].asString();
|
||||
if(!value["StorageMax"].isNull())
|
||||
storageMax_ = std::stol(value["StorageMax"].asString());
|
||||
if(!value["DBVersion"].isNull())
|
||||
dBVersion_ = value["DBVersion"].asString();
|
||||
if(!value["MaintainTime"].isNull())
|
||||
maintainTime_ = value["MaintainTime"].asString();
|
||||
if(!value["Engine"].isNull())
|
||||
engine_ = value["Engine"].asString();
|
||||
if(!value["VPCId"].isNull())
|
||||
vPCId_ = value["VPCId"].asString();
|
||||
if(!value["DBClusterStatus"].isNull())
|
||||
dBClusterStatus_ = value["DBClusterStatus"].asString();
|
||||
if(!value["VSwitchId"].isNull())
|
||||
vSwitchId_ = value["VSwitchId"].asString();
|
||||
if(!value["DBClusterDescription"].isNull())
|
||||
dBClusterDescription_ = value["DBClusterDescription"].asString();
|
||||
if(!value["Expired"].isNull())
|
||||
expired_ = value["Expired"].asString();
|
||||
if(!value["LockMode"].isNull())
|
||||
lockMode_ = value["LockMode"].asString();
|
||||
if(!value["DBVersionStatus"].isNull())
|
||||
dBVersionStatus_ = value["DBVersionStatus"].asString();
|
||||
if(!value["CreationTime"].isNull())
|
||||
creationTime_ = value["CreationTime"].asString();
|
||||
if(!value["SQLSize"].isNull())
|
||||
sQLSize_ = std::stol(value["SQLSize"].asString());
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
if(!value["ExpireTime"].isNull())
|
||||
expireTime_ = value["ExpireTime"].asString();
|
||||
if(!value["SubCategory"].isNull())
|
||||
subCategory_ = value["SubCategory"].asString();
|
||||
if(!value["IsProxyLatestVersion"].isNull())
|
||||
isProxyLatestVersion_ = value["IsProxyLatestVersion"].asString() == "true";
|
||||
if(!value["StorageType"].isNull())
|
||||
storageType_ = value["StorageType"].asString();
|
||||
if(!value["ProxyCpuCores"].isNull())
|
||||
proxyCpuCores_ = value["ProxyCpuCores"].asString();
|
||||
if(!value["ProxyStandardCpuCores"].isNull())
|
||||
proxyStandardCpuCores_ = value["ProxyStandardCpuCores"].asString();
|
||||
if(!value["ProxyType"].isNull())
|
||||
proxyType_ = value["ProxyType"].asString();
|
||||
if(!value["ProxyStatus"].isNull())
|
||||
proxyStatus_ = value["ProxyStatus"].asString();
|
||||
|
||||
}
|
||||
|
||||
int DescribeDBClusterBasicInfoResult::getDeletionLock()const
|
||||
{
|
||||
return deletionLock_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getCategory()const
|
||||
{
|
||||
return category_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getProxyStatus()const
|
||||
{
|
||||
return proxyStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getDBType()const
|
||||
{
|
||||
return dBType_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getDBClusterNetworkType()const
|
||||
{
|
||||
return dBClusterNetworkType_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getProxyStandardCpuCores()const
|
||||
{
|
||||
return proxyStandardCpuCores_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterBasicInfoResult::getStorageMax()const
|
||||
{
|
||||
return storageMax_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getDBVersion()const
|
||||
{
|
||||
return dBVersion_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getMaintainTime()const
|
||||
{
|
||||
return maintainTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getEngine()const
|
||||
{
|
||||
return engine_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getStorageType()const
|
||||
{
|
||||
return storageType_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getVPCId()const
|
||||
{
|
||||
return vPCId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getDBClusterStatus()const
|
||||
{
|
||||
return dBClusterStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getDBClusterDescription()const
|
||||
{
|
||||
return dBClusterDescription_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getExpired()const
|
||||
{
|
||||
return expired_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getProxyCpuCores()const
|
||||
{
|
||||
return proxyCpuCores_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getLockMode()const
|
||||
{
|
||||
return lockMode_;
|
||||
}
|
||||
|
||||
bool DescribeDBClusterBasicInfoResult::getIsProxyLatestVersion()const
|
||||
{
|
||||
return isProxyLatestVersion_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getDBVersionStatus()const
|
||||
{
|
||||
return dBVersionStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getCreationTime()const
|
||||
{
|
||||
return creationTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getSubCategory()const
|
||||
{
|
||||
return subCategory_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterBasicInfoResult::getSQLSize()const
|
||||
{
|
||||
return sQLSize_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getProxyType()const
|
||||
{
|
||||
return proxyType_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterBasicInfoResult::getExpireTime()const
|
||||
{
|
||||
return expireTime_;
|
||||
}
|
||||
|
||||
@@ -1,90 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterEndpointsRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterEndpointsRequest;
|
||||
|
||||
DescribeDBClusterEndpointsRequest::DescribeDBClusterEndpointsRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterEndpoints") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeDBClusterEndpointsRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterEndpointsRequest;
|
||||
|
||||
DescribeDBClusterEndpointsRequest::DescribeDBClusterEndpointsRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterEndpoints")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterEndpointsRequest::~DescribeDBClusterEndpointsRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterEndpointsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeDBClusterEndpointsRequest::~DescribeDBClusterEndpointsRequest() {}
|
||||
|
||||
long DescribeDBClusterEndpointsRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeDBClusterEndpointsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeDBClusterEndpointsRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeDBClusterEndpointsRequest::getDBEndpointId()const
|
||||
{
|
||||
return dBEndpointId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterEndpointsRequest::getDBEndpointId() const {
|
||||
return dBEndpointId_;
|
||||
void DescribeDBClusterEndpointsRequest::setDBEndpointId(const std::string& dBEndpointId)
|
||||
{
|
||||
dBEndpointId_ = dBEndpointId;
|
||||
setParameter("DBEndpointId", dBEndpointId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterEndpointsRequest::setDBEndpointId(const std::string &dBEndpointId) {
|
||||
dBEndpointId_ = dBEndpointId;
|
||||
setParameter(std::string("DBEndpointId"), dBEndpointId);
|
||||
std::string DescribeDBClusterEndpointsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterEndpointsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeDBClusterEndpointsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterEndpointsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeDBClusterEndpointsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterEndpointsRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeDBClusterEndpointsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterEndpointsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeDBClusterEndpointsRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterEndpointsRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeDBClusterEndpointsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterEndpointsRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeDBClusterEndpointsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterEndpointsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeDBClusterEndpointsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterEndpointsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeDBClusterEndpointsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterEndpointsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterEndpointsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DescribeDBClusterEndpointsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -59,6 +59,8 @@ void DescribeDBClusterEndpointsResult::parse(const std::string &payload)
|
||||
itemsObject.endpointType = valueItemsDBEndpoint["EndpointType"].asString();
|
||||
if(!valueItemsDBEndpoint["AutoAddNewNodes"].isNull())
|
||||
itemsObject.autoAddNewNodes = valueItemsDBEndpoint["AutoAddNewNodes"].asString();
|
||||
if(!valueItemsDBEndpoint["DBClusterId"].isNull())
|
||||
itemsObject.dBClusterId = valueItemsDBEndpoint["DBClusterId"].asString();
|
||||
auto allAddressItemsNode = valueItemsDBEndpoint["AddressItems"]["Address"];
|
||||
for (auto valueItemsDBEndpointAddressItemsAddress : allAddressItemsNode)
|
||||
{
|
||||
|
||||
95
polardb/src/model/DescribeDBClusterExpireInfoRequest.cc
Normal file
95
polardb/src/model/DescribeDBClusterExpireInfoRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterExpireInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterExpireInfoRequest;
|
||||
|
||||
DescribeDBClusterExpireInfoRequest::DescribeDBClusterExpireInfoRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterExpireInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterExpireInfoRequest::~DescribeDBClusterExpireInfoRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterExpireInfoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterExpireInfoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterExpireInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterExpireInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterExpireInfoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterExpireInfoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterExpireInfoRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterExpireInfoRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterExpireInfoRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterExpireInfoRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeDBClusterExpireInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterExpireInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
58
polardb/src/model/DescribeDBClusterExpireInfoResult.cc
Normal file
58
polardb/src/model/DescribeDBClusterExpireInfoResult.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/polardb/model/DescribeDBClusterExpireInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeDBClusterExpireInfoResult::DescribeDBClusterExpireInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDBClusterExpireInfoResult::DescribeDBClusterExpireInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDBClusterExpireInfoResult::~DescribeDBClusterExpireInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeDBClusterExpireInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Expired"].isNull())
|
||||
expired_ = value["Expired"].asString();
|
||||
if(!value["ExpireTime"].isNull())
|
||||
expireTime_ = value["ExpireTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterExpireInfoResult::getExpired()const
|
||||
{
|
||||
return expired_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterExpireInfoResult::getExpireTime()const
|
||||
{
|
||||
return expireTime_;
|
||||
}
|
||||
|
||||
95
polardb/src/model/DescribeDBClusterIPArrayListRequest.cc
Normal file
95
polardb/src/model/DescribeDBClusterIPArrayListRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterIPArrayListRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterIPArrayListRequest;
|
||||
|
||||
DescribeDBClusterIPArrayListRequest::DescribeDBClusterIPArrayListRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterIPArrayList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterIPArrayListRequest::~DescribeDBClusterIPArrayListRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterIPArrayListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterIPArrayListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterIPArrayListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterIPArrayListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterIPArrayListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterIPArrayListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterIPArrayListRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterIPArrayListRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterIPArrayListRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterIPArrayListRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeDBClusterIPArrayListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterIPArrayListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
61
polardb/src/model/DescribeDBClusterIPArrayListResult.cc
Normal file
61
polardb/src/model/DescribeDBClusterIPArrayListResult.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/polardb/model/DescribeDBClusterIPArrayListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeDBClusterIPArrayListResult::DescribeDBClusterIPArrayListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDBClusterIPArrayListResult::DescribeDBClusterIPArrayListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDBClusterIPArrayListResult::~DescribeDBClusterIPArrayListResult()
|
||||
{}
|
||||
|
||||
void DescribeDBClusterIPArrayListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["DBClusterIPArray"];
|
||||
for (auto valueItemsDBClusterIPArray : allItemsNode)
|
||||
{
|
||||
DBClusterIPArray itemsObject;
|
||||
if(!valueItemsDBClusterIPArray["DBClusterIPArrayAttribute"].isNull())
|
||||
itemsObject.dBClusterIPArrayAttribute = valueItemsDBClusterIPArray["DBClusterIPArrayAttribute"].asString();
|
||||
if(!valueItemsDBClusterIPArray["SecurityIPList"].isNull())
|
||||
itemsObject.securityIPList = valueItemsDBClusterIPArray["SecurityIPList"].asString();
|
||||
if(!valueItemsDBClusterIPArray["DBClusterIPArrayName"].isNull())
|
||||
itemsObject.dBClusterIPArrayName = valueItemsDBClusterIPArray["DBClusterIPArrayName"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClusterIPArrayListResult::DBClusterIPArray> DescribeDBClusterIPArrayListResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
@@ -1,81 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterMigrationRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterMigrationRequest;
|
||||
|
||||
DescribeDBClusterMigrationRequest::DescribeDBClusterMigrationRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterMigration") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeDBClusterMigrationRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterMigrationRequest;
|
||||
|
||||
DescribeDBClusterMigrationRequest::DescribeDBClusterMigrationRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterMigration")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterMigrationRequest::~DescribeDBClusterMigrationRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterMigrationRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeDBClusterMigrationRequest::~DescribeDBClusterMigrationRequest() {}
|
||||
|
||||
long DescribeDBClusterMigrationRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeDBClusterMigrationRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeDBClusterMigrationRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeDBClusterMigrationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeDBClusterMigrationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterMigrationRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeDBClusterMigrationRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeDBClusterMigrationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterMigrationRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeDBClusterMigrationRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeDBClusterMigrationRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterMigrationRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeDBClusterMigrationRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeDBClusterMigrationRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterMigrationRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeDBClusterMigrationRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterMigrationRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterMigrationRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DescribeDBClusterMigrationRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -63,6 +63,8 @@ void DescribeDBClusterMigrationResult::parse(const std::string &payload)
|
||||
addressItemsObject.vPCId = valueDBClusterEndpointListDBClusterEndpointAddressItemsAddress["VPCId"].asString();
|
||||
if(!valueDBClusterEndpointListDBClusterEndpointAddressItemsAddress["IPAddress"].isNull())
|
||||
addressItemsObject.iPAddress = valueDBClusterEndpointListDBClusterEndpointAddressItemsAddress["IPAddress"].asString();
|
||||
if(!valueDBClusterEndpointListDBClusterEndpointAddressItemsAddress["SSLEnabled"].isNull())
|
||||
addressItemsObject.sSLEnabled = valueDBClusterEndpointListDBClusterEndpointAddressItemsAddress["SSLEnabled"].asString();
|
||||
dBClusterEndpointListObject.addressItems.push_back(addressItemsObject);
|
||||
}
|
||||
dBClusterEndpointList_.push_back(dBClusterEndpointListObject);
|
||||
@@ -91,6 +93,8 @@ void DescribeDBClusterMigrationResult::parse(const std::string &payload)
|
||||
addressItems1Object.vPCId = valueRdsEndpointListRdsEndpointAddressItemsAddress["VPCId"].asString();
|
||||
if(!valueRdsEndpointListRdsEndpointAddressItemsAddress["IPAddress"].isNull())
|
||||
addressItems1Object.iPAddress = valueRdsEndpointListRdsEndpointAddressItemsAddress["IPAddress"].asString();
|
||||
if(!valueRdsEndpointListRdsEndpointAddressItemsAddress["SSLEnabled"].isNull())
|
||||
addressItems1Object.sSLEnabled = valueRdsEndpointListRdsEndpointAddressItemsAddress["SSLEnabled"].asString();
|
||||
rdsEndpointListObject.addressItems1.push_back(addressItems1Object);
|
||||
}
|
||||
rdsEndpointList_.push_back(rdsEndpointListObject);
|
||||
@@ -113,37 +117,26 @@ void DescribeDBClusterMigrationResult::parse(const std::string &payload)
|
||||
delayedSeconds_ = std::stoi(value["DelayedSeconds"].asString());
|
||||
if(!value["MigrationStatus"].isNull())
|
||||
migrationStatus_ = value["MigrationStatus"].asString();
|
||||
if(!value["DtsInstanceId"].isNull())
|
||||
dtsInstanceId_ = value["DtsInstanceId"].asString();
|
||||
if(!value["SrcDbType"].isNull())
|
||||
srcDbType_ = value["SrcDbType"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClusterMigrationResult::DBClusterEndpoint> DescribeDBClusterMigrationResult::getDBClusterEndpointList()const
|
||||
{
|
||||
return dBClusterEndpointList_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getComment()const
|
||||
{
|
||||
return comment_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getExpiredTime()const
|
||||
{
|
||||
return expiredTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getTopologies()const
|
||||
std::string DescribeDBClusterMigrationResult::getSrcDbType()const
|
||||
{
|
||||
return topologies_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getRdsReadWriteMode()const
|
||||
{
|
||||
return rdsReadWriteMode_;
|
||||
return srcDbType_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getSourceRDSDBInstanceId()const
|
||||
@@ -156,18 +149,43 @@ std::string DescribeDBClusterMigrationResult::getDBClusterReadWriteMode()const
|
||||
return dBClusterReadWriteMode_;
|
||||
}
|
||||
|
||||
int DescribeDBClusterMigrationResult::getDelayedSeconds()const
|
||||
{
|
||||
return delayedSeconds_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getMigrationStatus()const
|
||||
{
|
||||
return migrationStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getDtsInstanceId()const
|
||||
{
|
||||
return dtsInstanceId_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClusterMigrationResult::RdsEndpoint> DescribeDBClusterMigrationResult::getRdsEndpointList()const
|
||||
{
|
||||
return rdsEndpointList_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClusterMigrationResult::DBClusterEndpoint> DescribeDBClusterMigrationResult::getDBClusterEndpointList()const
|
||||
{
|
||||
return dBClusterEndpointList_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getExpiredTime()const
|
||||
{
|
||||
return expiredTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getTopologies()const
|
||||
{
|
||||
return topologies_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getRdsReadWriteMode()const
|
||||
{
|
||||
return rdsReadWriteMode_;
|
||||
}
|
||||
|
||||
int DescribeDBClusterMigrationResult::getDelayedSeconds()const
|
||||
{
|
||||
return delayedSeconds_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,81 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterMonitorRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterMonitorRequest;
|
||||
|
||||
DescribeDBClusterMonitorRequest::DescribeDBClusterMonitorRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterMonitor") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeDBClusterMonitorRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterMonitorRequest;
|
||||
|
||||
DescribeDBClusterMonitorRequest::DescribeDBClusterMonitorRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterMonitor")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterMonitorRequest::~DescribeDBClusterMonitorRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterMonitorRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeDBClusterMonitorRequest::~DescribeDBClusterMonitorRequest() {}
|
||||
|
||||
long DescribeDBClusterMonitorRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeDBClusterMonitorRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeDBClusterMonitorRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeDBClusterMonitorRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMonitorRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeDBClusterMonitorRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterMonitorRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeDBClusterMonitorRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMonitorRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeDBClusterMonitorRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterMonitorRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeDBClusterMonitorRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMonitorRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeDBClusterMonitorRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterMonitorRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeDBClusterMonitorRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMonitorRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeDBClusterMonitorRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterMonitorRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeDBClusterMonitorRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterMonitorRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterMonitorRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DescribeDBClusterMonitorRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
106
polardb/src/model/DescribeDBClusterNetInfoRequest.cc
Normal file
106
polardb/src/model/DescribeDBClusterNetInfoRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterNetInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterNetInfoRequest;
|
||||
|
||||
DescribeDBClusterNetInfoRequest::DescribeDBClusterNetInfoRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterNetInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterNetInfoRequest::~DescribeDBClusterNetInfoRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterNetInfoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterNetInfoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNetInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterNetInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNetInfoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterNetInfoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNetInfoRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterNetInfoRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNetInfoRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterNetInfoRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeDBClusterNetInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterNetInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNetInfoRequest::getConnectionStringType()const
|
||||
{
|
||||
return connectionStringType_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterNetInfoRequest::setConnectionStringType(const std::string& connectionStringType)
|
||||
{
|
||||
connectionStringType_ = connectionStringType;
|
||||
setParameter("ConnectionStringType", connectionStringType);
|
||||
}
|
||||
|
||||
109
polardb/src/model/DescribeDBClusterNetInfoResult.cc
Normal file
109
polardb/src/model/DescribeDBClusterNetInfoResult.cc
Normal file
@@ -0,0 +1,109 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeDBClusterNetInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeDBClusterNetInfoResult::DescribeDBClusterNetInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDBClusterNetInfoResult::DescribeDBClusterNetInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDBClusterNetInfoResult::~DescribeDBClusterNetInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeDBClusterNetInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDBClusterNetInfosNode = value["DBClusterNetInfos"]["DBClusterNetInfo"];
|
||||
for (auto valueDBClusterNetInfosDBClusterNetInfo : allDBClusterNetInfosNode)
|
||||
{
|
||||
DBClusterNetInfo dBClusterNetInfosObject;
|
||||
if(!valueDBClusterNetInfosDBClusterNetInfo["VSwitchId"].isNull())
|
||||
dBClusterNetInfosObject.vSwitchId = valueDBClusterNetInfosDBClusterNetInfo["VSwitchId"].asString();
|
||||
if(!valueDBClusterNetInfosDBClusterNetInfo["ConnectionStringType"].isNull())
|
||||
dBClusterNetInfosObject.connectionStringType = valueDBClusterNetInfosDBClusterNetInfo["ConnectionStringType"].asString();
|
||||
if(!valueDBClusterNetInfosDBClusterNetInfo["ConnectionString"].isNull())
|
||||
dBClusterNetInfosObject.connectionString = valueDBClusterNetInfosDBClusterNetInfo["ConnectionString"].asString();
|
||||
if(!valueDBClusterNetInfosDBClusterNetInfo["IPType"].isNull())
|
||||
dBClusterNetInfosObject.iPType = valueDBClusterNetInfosDBClusterNetInfo["IPType"].asString();
|
||||
if(!valueDBClusterNetInfosDBClusterNetInfo["Port"].isNull())
|
||||
dBClusterNetInfosObject.port = valueDBClusterNetInfosDBClusterNetInfo["Port"].asString();
|
||||
if(!valueDBClusterNetInfosDBClusterNetInfo["VPCId"].isNull())
|
||||
dBClusterNetInfosObject.vPCId = valueDBClusterNetInfosDBClusterNetInfo["VPCId"].asString();
|
||||
if(!valueDBClusterNetInfosDBClusterNetInfo["IPAddress"].isNull())
|
||||
dBClusterNetInfosObject.iPAddress = valueDBClusterNetInfosDBClusterNetInfo["IPAddress"].asString();
|
||||
dBClusterNetInfos_.push_back(dBClusterNetInfosObject);
|
||||
}
|
||||
auto allDBNodeNetInfosNode = value["DBNodeNetInfos"]["DBNodeNetInfo"];
|
||||
for (auto valueDBNodeNetInfosDBNodeNetInfo : allDBNodeNetInfosNode)
|
||||
{
|
||||
DBNodeNetInfo dBNodeNetInfosObject;
|
||||
if(!valueDBNodeNetInfosDBNodeNetInfo["DBNodeRole"].isNull())
|
||||
dBNodeNetInfosObject.dBNodeRole = valueDBNodeNetInfosDBNodeNetInfo["DBNodeRole"].asString();
|
||||
if(!valueDBNodeNetInfosDBNodeNetInfo["DBInstanceId"].isNull())
|
||||
dBNodeNetInfosObject.dBInstanceId = valueDBNodeNetInfosDBNodeNetInfo["DBInstanceId"].asString();
|
||||
auto allNetInfosNode = valueDBNodeNetInfosDBNodeNetInfo["NetInfos"]["NetInfo"];
|
||||
for (auto valueDBNodeNetInfosDBNodeNetInfoNetInfosNetInfo : allNetInfosNode)
|
||||
{
|
||||
DBNodeNetInfo::NetInfo netInfosObject;
|
||||
if(!valueDBNodeNetInfosDBNodeNetInfoNetInfosNetInfo["VSwitchId"].isNull())
|
||||
netInfosObject.vSwitchId = valueDBNodeNetInfosDBNodeNetInfoNetInfosNetInfo["VSwitchId"].asString();
|
||||
if(!valueDBNodeNetInfosDBNodeNetInfoNetInfosNetInfo["ConnectionString"].isNull())
|
||||
netInfosObject.connectionString = valueDBNodeNetInfosDBNodeNetInfoNetInfosNetInfo["ConnectionString"].asString();
|
||||
if(!valueDBNodeNetInfosDBNodeNetInfoNetInfosNetInfo["IPType"].isNull())
|
||||
netInfosObject.iPType = valueDBNodeNetInfosDBNodeNetInfoNetInfosNetInfo["IPType"].asString();
|
||||
if(!valueDBNodeNetInfosDBNodeNetInfoNetInfosNetInfo["Port"].isNull())
|
||||
netInfosObject.port = valueDBNodeNetInfosDBNodeNetInfoNetInfosNetInfo["Port"].asString();
|
||||
if(!valueDBNodeNetInfosDBNodeNetInfoNetInfosNetInfo["VPCId"].isNull())
|
||||
netInfosObject.vPCId = valueDBNodeNetInfosDBNodeNetInfoNetInfosNetInfo["VPCId"].asString();
|
||||
if(!valueDBNodeNetInfosDBNodeNetInfoNetInfosNetInfo["IPAddress"].isNull())
|
||||
netInfosObject.iPAddress = valueDBNodeNetInfosDBNodeNetInfoNetInfosNetInfo["IPAddress"].asString();
|
||||
dBNodeNetInfosObject.netInfos.push_back(netInfosObject);
|
||||
}
|
||||
dBNodeNetInfos_.push_back(dBNodeNetInfosObject);
|
||||
}
|
||||
if(!value["ClusterNetworkType"].isNull())
|
||||
clusterNetworkType_ = value["ClusterNetworkType"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClusterNetInfoResult::DBClusterNetInfo> DescribeDBClusterNetInfoResult::getDBClusterNetInfos()const
|
||||
{
|
||||
return dBClusterNetInfos_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNetInfoResult::getClusterNetworkType()const
|
||||
{
|
||||
return clusterNetworkType_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClusterNetInfoResult::DBNodeNetInfo> DescribeDBClusterNetInfoResult::getDBNodeNetInfos()const
|
||||
{
|
||||
return dBNodeNetInfos_;
|
||||
}
|
||||
|
||||
95
polardb/src/model/DescribeDBClusterNodeInfoRequest.cc
Normal file
95
polardb/src/model/DescribeDBClusterNodeInfoRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterNodeInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterNodeInfoRequest;
|
||||
|
||||
DescribeDBClusterNodeInfoRequest::DescribeDBClusterNodeInfoRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterNodeInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterNodeInfoRequest::~DescribeDBClusterNodeInfoRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterNodeInfoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterNodeInfoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNodeInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterNodeInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNodeInfoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterNodeInfoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNodeInfoRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterNodeInfoRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNodeInfoRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterNodeInfoRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeDBClusterNodeInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterNodeInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
97
polardb/src/model/DescribeDBClusterNodeInfoResult.cc
Normal file
97
polardb/src/model/DescribeDBClusterNodeInfoResult.cc
Normal file
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterNodeInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeDBClusterNodeInfoResult::DescribeDBClusterNodeInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDBClusterNodeInfoResult::DescribeDBClusterNodeInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDBClusterNodeInfoResult::~DescribeDBClusterNodeInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeDBClusterNodeInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDBNodesNode = value["DBNodes"]["DBNode"];
|
||||
for (auto valueDBNodesDBNode : allDBNodesNode)
|
||||
{
|
||||
DBNode dBNodesObject;
|
||||
if(!valueDBNodesDBNode["CreationTime"].isNull())
|
||||
dBNodesObject.creationTime = valueDBNodesDBNode["CreationTime"].asString();
|
||||
if(!valueDBNodesDBNode["FailoverPriority"].isNull())
|
||||
dBNodesObject.failoverPriority = std::stoi(valueDBNodesDBNode["FailoverPriority"].asString());
|
||||
if(!valueDBNodesDBNode["MaxIOPS"].isNull())
|
||||
dBNodesObject.maxIOPS = std::stoi(valueDBNodesDBNode["MaxIOPS"].asString());
|
||||
if(!valueDBNodesDBNode["DBNodeClass"].isNull())
|
||||
dBNodesObject.dBNodeClass = valueDBNodesDBNode["DBNodeClass"].asString();
|
||||
if(!valueDBNodesDBNode["DBNodeRole"].isNull())
|
||||
dBNodesObject.dBNodeRole = valueDBNodesDBNode["DBNodeRole"].asString();
|
||||
if(!valueDBNodesDBNode["ZoneId"].isNull())
|
||||
dBNodesObject.zoneId = valueDBNodesDBNode["ZoneId"].asString();
|
||||
if(!valueDBNodesDBNode["MaxConnections"].isNull())
|
||||
dBNodesObject.maxConnections = std::stoi(valueDBNodesDBNode["MaxConnections"].asString());
|
||||
if(!valueDBNodesDBNode["DBNodeStatus"].isNull())
|
||||
dBNodesObject.dBNodeStatus = valueDBNodesDBNode["DBNodeStatus"].asString();
|
||||
if(!valueDBNodesDBNode["DBNodeId"].isNull())
|
||||
dBNodesObject.dBNodeId = valueDBNodesDBNode["DBNodeId"].asString();
|
||||
if(!valueDBNodesDBNode["ImciSwitch"].isNull())
|
||||
dBNodesObject.imciSwitch = valueDBNodesDBNode["ImciSwitch"].asString();
|
||||
if(!valueDBNodesDBNode["HotReplicaMode"].isNull())
|
||||
dBNodesObject.hotReplicaMode = valueDBNodesDBNode["HotReplicaMode"].asString();
|
||||
if(!valueDBNodesDBNode["AddedCpuCores"].isNull())
|
||||
dBNodesObject.addedCpuCores = valueDBNodesDBNode["AddedCpuCores"].asString();
|
||||
if(!valueDBNodesDBNode["MasterId"].isNull())
|
||||
dBNodesObject.masterId = valueDBNodesDBNode["MasterId"].asString();
|
||||
if(!valueDBNodesDBNode["SccMode"].isNull())
|
||||
dBNodesObject.sccMode = valueDBNodesDBNode["SccMode"].asString();
|
||||
dBNodes_.push_back(dBNodesObject);
|
||||
}
|
||||
if(!value["Category"].isNull())
|
||||
category_ = value["Category"].asString();
|
||||
if(!value["ZoneIds"].isNull())
|
||||
zoneIds_ = value["ZoneIds"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNodeInfoResult::getCategory()const
|
||||
{
|
||||
return category_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClusterNodeInfoResult::DBNode> DescribeDBClusterNodeInfoResult::getDBNodes()const
|
||||
{
|
||||
return dBNodes_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterNodeInfoResult::getZoneIds()const
|
||||
{
|
||||
return zoneIds_;
|
||||
}
|
||||
|
||||
@@ -1,81 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterParametersRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterParametersRequest;
|
||||
|
||||
DescribeDBClusterParametersRequest::DescribeDBClusterParametersRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterParameters") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeDBClusterParametersRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterParametersRequest;
|
||||
|
||||
DescribeDBClusterParametersRequest::DescribeDBClusterParametersRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterParameters")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterParametersRequest::~DescribeDBClusterParametersRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterParametersRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeDBClusterParametersRequest::~DescribeDBClusterParametersRequest() {}
|
||||
|
||||
long DescribeDBClusterParametersRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeDBClusterParametersRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeDBClusterParametersRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeDBClusterParametersRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterParametersRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeDBClusterParametersRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterParametersRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeDBClusterParametersRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterParametersRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeDBClusterParametersRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterParametersRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeDBClusterParametersRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterParametersRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeDBClusterParametersRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterParametersRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeDBClusterParametersRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterParametersRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeDBClusterParametersRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterParametersRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeDBClusterParametersRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterParametersRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterParametersRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DescribeDBClusterParametersRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -65,6 +65,8 @@ void DescribeDBClusterParametersResult::parse(const std::string &payload)
|
||||
runningParametersObject.isNodeAvailable = valueRunningParametersParameter["IsNodeAvailable"].asString();
|
||||
if(!valueRunningParametersParameter["ParamRelyRule"].isNull())
|
||||
runningParametersObject.paramRelyRule = valueRunningParametersParameter["ParamRelyRule"].asString();
|
||||
if(!valueRunningParametersParameter["Factor"].isNull())
|
||||
runningParametersObject.factor = valueRunningParametersParameter["Factor"].asString();
|
||||
runningParameters_.push_back(runningParametersObject);
|
||||
}
|
||||
if(!value["DBVersion"].isNull())
|
||||
|
||||
@@ -1,117 +1,139 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterPerformanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterPerformanceRequest;
|
||||
|
||||
DescribeDBClusterPerformanceRequest::DescribeDBClusterPerformanceRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterPerformance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeDBClusterPerformanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterPerformanceRequest;
|
||||
|
||||
DescribeDBClusterPerformanceRequest::DescribeDBClusterPerformanceRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterPerformance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterPerformanceRequest::~DescribeDBClusterPerformanceRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterPerformanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeDBClusterPerformanceRequest::~DescribeDBClusterPerformanceRequest() {}
|
||||
|
||||
long DescribeDBClusterPerformanceRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeDBClusterPerformanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeDBClusterPerformanceRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeDBClusterPerformanceRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
void DescribeDBClusterPerformanceRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
void DescribeDBClusterPerformanceRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
std::string DescribeDBClusterPerformanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeDBClusterPerformanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterPerformanceRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeDBClusterPerformanceRequest::getKey()const
|
||||
{
|
||||
return key_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getKey() const {
|
||||
return key_;
|
||||
void DescribeDBClusterPerformanceRequest::setKey(const std::string& key)
|
||||
{
|
||||
key_ = key;
|
||||
setParameter("Key", key);
|
||||
}
|
||||
|
||||
void DescribeDBClusterPerformanceRequest::setKey(const std::string &key) {
|
||||
key_ = key;
|
||||
setParameter(std::string("Key"), key);
|
||||
std::string DescribeDBClusterPerformanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeDBClusterPerformanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterPerformanceRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeDBClusterPerformanceRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeDBClusterPerformanceRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterPerformanceRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeDBClusterPerformanceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeDBClusterPerformanceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterPerformanceRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
std::string DescribeDBClusterPerformanceRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
void DescribeDBClusterPerformanceRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
void DescribeDBClusterPerformanceRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
long DescribeDBClusterPerformanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterPerformanceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
void DescribeDBClusterPerformanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DescribeDBClusterPerformanceRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
std::string DescribeDBClusterPerformanceRequest::getMetric()const
|
||||
{
|
||||
return metric_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getMetric() const {
|
||||
return metric_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterPerformanceRequest::setMetric(const std::string &metric) {
|
||||
metric_ = metric;
|
||||
setParameter(std::string("Metric"), metric);
|
||||
void DescribeDBClusterPerformanceRequest::setMetric(const std::string& metric)
|
||||
{
|
||||
metric_ = metric;
|
||||
setParameter("Metric", metric);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,81 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterSSLRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterSSLRequest;
|
||||
|
||||
DescribeDBClusterSSLRequest::DescribeDBClusterSSLRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterSSL") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeDBClusterSSLRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterSSLRequest;
|
||||
|
||||
DescribeDBClusterSSLRequest::DescribeDBClusterSSLRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterSSL")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterSSLRequest::~DescribeDBClusterSSLRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterSSLRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeDBClusterSSLRequest::~DescribeDBClusterSSLRequest() {}
|
||||
|
||||
long DescribeDBClusterSSLRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeDBClusterSSLRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeDBClusterSSLRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeDBClusterSSLRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterSSLRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeDBClusterSSLRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterSSLRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeDBClusterSSLRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterSSLRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeDBClusterSSLRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterSSLRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeDBClusterSSLRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterSSLRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeDBClusterSSLRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterSSLRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeDBClusterSSLRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterSSLRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeDBClusterSSLRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterSSLRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeDBClusterSSLRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterSSLRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterSSLRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DescribeDBClusterSSLRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
95
polardb/src/model/DescribeDBClusterServerlessConfRequest.cc
Normal file
95
polardb/src/model/DescribeDBClusterServerlessConfRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterServerlessConfRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterServerlessConfRequest;
|
||||
|
||||
DescribeDBClusterServerlessConfRequest::DescribeDBClusterServerlessConfRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterServerlessConf")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterServerlessConfRequest::~DescribeDBClusterServerlessConfRequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterServerlessConfRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterServerlessConfRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterServerlessConfRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterServerlessConfRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterServerlessConfRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterServerlessConfRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeDBClusterServerlessConfRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterServerlessConfRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
93
polardb/src/model/DescribeDBClusterServerlessConfResult.cc
Normal file
93
polardb/src/model/DescribeDBClusterServerlessConfResult.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterServerlessConfResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeDBClusterServerlessConfResult::DescribeDBClusterServerlessConfResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDBClusterServerlessConfResult::DescribeDBClusterServerlessConfResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDBClusterServerlessConfResult::~DescribeDBClusterServerlessConfResult()
|
||||
{}
|
||||
|
||||
void DescribeDBClusterServerlessConfResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ScaleMin"].isNull())
|
||||
scaleMin_ = value["ScaleMin"].asString();
|
||||
if(!value["ScaleMax"].isNull())
|
||||
scaleMax_ = value["ScaleMax"].asString();
|
||||
if(!value["ScaleRoNumMin"].isNull())
|
||||
scaleRoNumMin_ = value["ScaleRoNumMin"].asString();
|
||||
if(!value["ScaleRoNumMax"].isNull())
|
||||
scaleRoNumMax_ = value["ScaleRoNumMax"].asString();
|
||||
if(!value["AllowShutDown"].isNull())
|
||||
allowShutDown_ = value["AllowShutDown"].asString();
|
||||
if(!value["SecondsUntilAutoPause"].isNull())
|
||||
secondsUntilAutoPause_ = value["SecondsUntilAutoPause"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getScaleRoNumMin()const
|
||||
{
|
||||
return scaleRoNumMin_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getAllowShutDown()const
|
||||
{
|
||||
return allowShutDown_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getScaleRoNumMax()const
|
||||
{
|
||||
return scaleRoNumMax_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getScaleMin()const
|
||||
{
|
||||
return scaleMin_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getScaleMax()const
|
||||
{
|
||||
return scaleMax_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getSecondsUntilAutoPause()const
|
||||
{
|
||||
return secondsUntilAutoPause_;
|
||||
}
|
||||
|
||||
@@ -1,81 +1,95 @@
|
||||
/*
|
||||
* 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/polardb/model/DescribeDBClusterTDERequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterTDERequest;
|
||||
|
||||
DescribeDBClusterTDERequest::DescribeDBClusterTDERequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterTDE") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeDBClusterTDERequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeDBClusterTDERequest;
|
||||
|
||||
DescribeDBClusterTDERequest::DescribeDBClusterTDERequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeDBClusterTDE")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDBClusterTDERequest::~DescribeDBClusterTDERequest()
|
||||
{}
|
||||
|
||||
long DescribeDBClusterTDERequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
DescribeDBClusterTDERequest::~DescribeDBClusterTDERequest() {}
|
||||
|
||||
long DescribeDBClusterTDERequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
void DescribeDBClusterTDERequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void DescribeDBClusterTDERequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
std::string DescribeDBClusterTDERequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterTDERequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
void DescribeDBClusterTDERequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterTDERequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
std::string DescribeDBClusterTDERequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterTDERequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
void DescribeDBClusterTDERequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterTDERequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
std::string DescribeDBClusterTDERequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterTDERequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
void DescribeDBClusterTDERequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
void DescribeDBClusterTDERequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
std::string DescribeDBClusterTDERequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterTDERequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
void DescribeDBClusterTDERequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
void DescribeDBClusterTDERequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
long DescribeDBClusterTDERequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterTDERequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterTDERequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DescribeDBClusterTDERequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -47,6 +47,8 @@ void DescribeDBClusterTDEResult::parse(const std::string &payload)
|
||||
encryptionKey_ = value["EncryptionKey"].asString();
|
||||
if(!value["EncryptNewTables"].isNull())
|
||||
encryptNewTables_ = value["EncryptNewTables"].asString();
|
||||
if(!value["TDERegion"].isNull())
|
||||
tDERegion_ = value["TDERegion"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -60,6 +62,11 @@ std::string DescribeDBClusterTDEResult::getEncryptNewTables()const
|
||||
return encryptNewTables_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterTDEResult::getTDERegion()const
|
||||
{
|
||||
return tDERegion_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterTDEResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user