RDS SDK Auto Released By tangtai,Version:1.36.35

Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
This commit is contained in:
sdk-team
2019-05-28 11:57:53 +08:00
parent 769d0b4573
commit 67bc9aa0c6
570 changed files with 29429 additions and 28902 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/AddTagsToResourceRequest.h>
using AlibabaCloud::Rds::Model::AddTagsToResourceRequest;
AddTagsToResourceRequest::AddTagsToResourceRequest() :
RpcServiceRequest("rds", "2014-08-15", "AddTagsToResource")
{}
AddTagsToResourceRequest::~AddTagsToResourceRequest()
{}
/*
* 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/rds/model/AddTagsToResourceRequest.h>
using AlibabaCloud::Rds::Model::AddTagsToResourceRequest;
AddTagsToResourceRequest::AddTagsToResourceRequest() :
RpcServiceRequest("rds", "2014-08-15", "AddTagsToResource")
{}
AddTagsToResourceRequest::~AddTagsToResourceRequest()
{}
std::string AddTagsToResourceRequest::getTag4value()const
{
return tag4value_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/AddTagsToResourceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
AddTagsToResourceResult::AddTagsToResourceResult() :
ServiceResult()
{}
AddTagsToResourceResult::AddTagsToResourceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddTagsToResourceResult::~AddTagsToResourceResult()
{}
void AddTagsToResourceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/AddTagsToResourceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
AddTagsToResourceResult::AddTagsToResourceResult() :
ServiceResult()
{}
AddTagsToResourceResult::AddTagsToResourceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddTagsToResourceResult::~AddTagsToResourceResult()
{}
void AddTagsToResourceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/AllocateInstancePrivateConnectionRequest.h>
using AlibabaCloud::Rds::Model::AllocateInstancePrivateConnectionRequest;
AllocateInstancePrivateConnectionRequest::AllocateInstancePrivateConnectionRequest() :
RpcServiceRequest("rds", "2014-08-15", "AllocateInstancePrivateConnection")
{}
AllocateInstancePrivateConnectionRequest::~AllocateInstancePrivateConnectionRequest()
{}
/*
* 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/rds/model/AllocateInstancePrivateConnectionRequest.h>
using AlibabaCloud::Rds::Model::AllocateInstancePrivateConnectionRequest;
AllocateInstancePrivateConnectionRequest::AllocateInstancePrivateConnectionRequest() :
RpcServiceRequest("rds", "2014-08-15", "AllocateInstancePrivateConnection")
{}
AllocateInstancePrivateConnectionRequest::~AllocateInstancePrivateConnectionRequest()
{}
long AllocateInstancePrivateConnectionRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/AllocateInstancePrivateConnectionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
AllocateInstancePrivateConnectionResult::AllocateInstancePrivateConnectionResult() :
ServiceResult()
{}
AllocateInstancePrivateConnectionResult::AllocateInstancePrivateConnectionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AllocateInstancePrivateConnectionResult::~AllocateInstancePrivateConnectionResult()
{}
void AllocateInstancePrivateConnectionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/AllocateInstancePrivateConnectionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
AllocateInstancePrivateConnectionResult::AllocateInstancePrivateConnectionResult() :
ServiceResult()
{}
AllocateInstancePrivateConnectionResult::AllocateInstancePrivateConnectionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AllocateInstancePrivateConnectionResult::~AllocateInstancePrivateConnectionResult()
{}
void AllocateInstancePrivateConnectionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/AllocateInstancePublicConnectionRequest.h>
using AlibabaCloud::Rds::Model::AllocateInstancePublicConnectionRequest;
AllocateInstancePublicConnectionRequest::AllocateInstancePublicConnectionRequest() :
RpcServiceRequest("rds", "2014-08-15", "AllocateInstancePublicConnection")
{}
AllocateInstancePublicConnectionRequest::~AllocateInstancePublicConnectionRequest()
{}
/*
* 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/rds/model/AllocateInstancePublicConnectionRequest.h>
using AlibabaCloud::Rds::Model::AllocateInstancePublicConnectionRequest;
AllocateInstancePublicConnectionRequest::AllocateInstancePublicConnectionRequest() :
RpcServiceRequest("rds", "2014-08-15", "AllocateInstancePublicConnection")
{}
AllocateInstancePublicConnectionRequest::~AllocateInstancePublicConnectionRequest()
{}
long AllocateInstancePublicConnectionRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/AllocateInstancePublicConnectionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
AllocateInstancePublicConnectionResult::AllocateInstancePublicConnectionResult() :
ServiceResult()
{}
AllocateInstancePublicConnectionResult::AllocateInstancePublicConnectionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AllocateInstancePublicConnectionResult::~AllocateInstancePublicConnectionResult()
{}
void AllocateInstancePublicConnectionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/AllocateInstancePublicConnectionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
AllocateInstancePublicConnectionResult::AllocateInstancePublicConnectionResult() :
ServiceResult()
{}
AllocateInstancePublicConnectionResult::AllocateInstancePublicConnectionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AllocateInstancePublicConnectionResult::~AllocateInstancePublicConnectionResult()
{}
void AllocateInstancePublicConnectionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/AllocateInstanceVpcNetworkTypeRequest.h>
using AlibabaCloud::Rds::Model::AllocateInstanceVpcNetworkTypeRequest;
AllocateInstanceVpcNetworkTypeRequest::AllocateInstanceVpcNetworkTypeRequest() :
RpcServiceRequest("rds", "2014-08-15", "AllocateInstanceVpcNetworkType")
{}
AllocateInstanceVpcNetworkTypeRequest::~AllocateInstanceVpcNetworkTypeRequest()
{}
/*
* 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/rds/model/AllocateInstanceVpcNetworkTypeRequest.h>
using AlibabaCloud::Rds::Model::AllocateInstanceVpcNetworkTypeRequest;
AllocateInstanceVpcNetworkTypeRequest::AllocateInstanceVpcNetworkTypeRequest() :
RpcServiceRequest("rds", "2014-08-15", "AllocateInstanceVpcNetworkType")
{}
AllocateInstanceVpcNetworkTypeRequest::~AllocateInstanceVpcNetworkTypeRequest()
{}
std::string AllocateInstanceVpcNetworkTypeRequest::getTargetVpcId()const
{
return targetVpcId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/AllocateInstanceVpcNetworkTypeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
AllocateInstanceVpcNetworkTypeResult::AllocateInstanceVpcNetworkTypeResult() :
ServiceResult()
{}
AllocateInstanceVpcNetworkTypeResult::AllocateInstanceVpcNetworkTypeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AllocateInstanceVpcNetworkTypeResult::~AllocateInstanceVpcNetworkTypeResult()
{}
void AllocateInstanceVpcNetworkTypeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/AllocateInstanceVpcNetworkTypeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
AllocateInstanceVpcNetworkTypeResult::AllocateInstanceVpcNetworkTypeResult() :
ServiceResult()
{}
AllocateInstanceVpcNetworkTypeResult::AllocateInstanceVpcNetworkTypeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AllocateInstanceVpcNetworkTypeResult::~AllocateInstanceVpcNetworkTypeResult()
{}
void AllocateInstanceVpcNetworkTypeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/AllocateReadWriteSplittingConnectionRequest.h>
using AlibabaCloud::Rds::Model::AllocateReadWriteSplittingConnectionRequest;
AllocateReadWriteSplittingConnectionRequest::AllocateReadWriteSplittingConnectionRequest() :
RpcServiceRequest("rds", "2014-08-15", "AllocateReadWriteSplittingConnection")
{}
AllocateReadWriteSplittingConnectionRequest::~AllocateReadWriteSplittingConnectionRequest()
{}
/*
* 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/rds/model/AllocateReadWriteSplittingConnectionRequest.h>
using AlibabaCloud::Rds::Model::AllocateReadWriteSplittingConnectionRequest;
AllocateReadWriteSplittingConnectionRequest::AllocateReadWriteSplittingConnectionRequest() :
RpcServiceRequest("rds", "2014-08-15", "AllocateReadWriteSplittingConnection")
{}
AllocateReadWriteSplittingConnectionRequest::~AllocateReadWriteSplittingConnectionRequest()
{}
long AllocateReadWriteSplittingConnectionRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/AllocateReadWriteSplittingConnectionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
AllocateReadWriteSplittingConnectionResult::AllocateReadWriteSplittingConnectionResult() :
ServiceResult()
{}
AllocateReadWriteSplittingConnectionResult::AllocateReadWriteSplittingConnectionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AllocateReadWriteSplittingConnectionResult::~AllocateReadWriteSplittingConnectionResult()
{}
void AllocateReadWriteSplittingConnectionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/AllocateReadWriteSplittingConnectionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
AllocateReadWriteSplittingConnectionResult::AllocateReadWriteSplittingConnectionResult() :
ServiceResult()
{}
AllocateReadWriteSplittingConnectionResult::AllocateReadWriteSplittingConnectionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AllocateReadWriteSplittingConnectionResult::~AllocateReadWriteSplittingConnectionResult()
{}
void AllocateReadWriteSplittingConnectionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CalculateDBInstanceWeightRequest.h>
using AlibabaCloud::Rds::Model::CalculateDBInstanceWeightRequest;
CalculateDBInstanceWeightRequest::CalculateDBInstanceWeightRequest() :
RpcServiceRequest("rds", "2014-08-15", "CalculateDBInstanceWeight")
{}
CalculateDBInstanceWeightRequest::~CalculateDBInstanceWeightRequest()
{}
/*
* 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/rds/model/CalculateDBInstanceWeightRequest.h>
using AlibabaCloud::Rds::Model::CalculateDBInstanceWeightRequest;
CalculateDBInstanceWeightRequest::CalculateDBInstanceWeightRequest() :
RpcServiceRequest("rds", "2014-08-15", "CalculateDBInstanceWeight")
{}
CalculateDBInstanceWeightRequest::~CalculateDBInstanceWeightRequest()
{}
long CalculateDBInstanceWeightRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/CalculateDBInstanceWeightResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CalculateDBInstanceWeightResult::CalculateDBInstanceWeightResult() :
ServiceResult()
{}
CalculateDBInstanceWeightResult::CalculateDBInstanceWeightResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CalculateDBInstanceWeightResult::~CalculateDBInstanceWeightResult()
{}
void CalculateDBInstanceWeightResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CalculateDBInstanceWeightResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CalculateDBInstanceWeightResult::CalculateDBInstanceWeightResult() :
ServiceResult()
{}
CalculateDBInstanceWeightResult::CalculateDBInstanceWeightResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CalculateDBInstanceWeightResult::~CalculateDBInstanceWeightResult()
{}
void CalculateDBInstanceWeightResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItems = value["Items"]["DBInstanceWeight"];
for (auto value : allItems)
{
@@ -56,9 +56,9 @@ void CalculateDBInstanceWeightResult::parse(const std::string &payload)
itemsObject.weight = value["Weight"].asString();
items_.push_back(itemsObject);
}
}
}
std::vector<CalculateDBInstanceWeightResult::DBInstanceWeight> CalculateDBInstanceWeightResult::getItems()const
{
return items_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CancelImportRequest.h>
using AlibabaCloud::Rds::Model::CancelImportRequest;
CancelImportRequest::CancelImportRequest() :
RpcServiceRequest("rds", "2014-08-15", "CancelImport")
{}
CancelImportRequest::~CancelImportRequest()
{}
/*
* 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/rds/model/CancelImportRequest.h>
using AlibabaCloud::Rds::Model::CancelImportRequest;
CancelImportRequest::CancelImportRequest() :
RpcServiceRequest("rds", "2014-08-15", "CancelImport")
{}
CancelImportRequest::~CancelImportRequest()
{}
long CancelImportRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/CancelImportResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CancelImportResult::CancelImportResult() :
ServiceResult()
{}
CancelImportResult::CancelImportResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CancelImportResult::~CancelImportResult()
{}
void CancelImportResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/CancelImportResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CancelImportResult::CancelImportResult() :
ServiceResult()
{}
CancelImportResult::CancelImportResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CancelImportResult::~CancelImportResult()
{}
void CancelImportResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CheckAccountNameAvailableRequest.h>
using AlibabaCloud::Rds::Model::CheckAccountNameAvailableRequest;
CheckAccountNameAvailableRequest::CheckAccountNameAvailableRequest() :
RpcServiceRequest("rds", "2014-08-15", "CheckAccountNameAvailable")
{}
CheckAccountNameAvailableRequest::~CheckAccountNameAvailableRequest()
{}
/*
* 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/rds/model/CheckAccountNameAvailableRequest.h>
using AlibabaCloud::Rds::Model::CheckAccountNameAvailableRequest;
CheckAccountNameAvailableRequest::CheckAccountNameAvailableRequest() :
RpcServiceRequest("rds", "2014-08-15", "CheckAccountNameAvailable")
{}
CheckAccountNameAvailableRequest::~CheckAccountNameAvailableRequest()
{}
long CheckAccountNameAvailableRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/CheckAccountNameAvailableResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CheckAccountNameAvailableResult::CheckAccountNameAvailableResult() :
ServiceResult()
{}
CheckAccountNameAvailableResult::CheckAccountNameAvailableResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckAccountNameAvailableResult::~CheckAccountNameAvailableResult()
{}
void CheckAccountNameAvailableResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/CheckAccountNameAvailableResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CheckAccountNameAvailableResult::CheckAccountNameAvailableResult() :
ServiceResult()
{}
CheckAccountNameAvailableResult::CheckAccountNameAvailableResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckAccountNameAvailableResult::~CheckAccountNameAvailableResult()
{}
void CheckAccountNameAvailableResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CheckInstanceExistRequest.h>
using AlibabaCloud::Rds::Model::CheckInstanceExistRequest;
CheckInstanceExistRequest::CheckInstanceExistRequest() :
RpcServiceRequest("rds", "2014-08-15", "CheckInstanceExist")
{}
CheckInstanceExistRequest::~CheckInstanceExistRequest()
{}
/*
* 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/rds/model/CheckInstanceExistRequest.h>
using AlibabaCloud::Rds::Model::CheckInstanceExistRequest;
CheckInstanceExistRequest::CheckInstanceExistRequest() :
RpcServiceRequest("rds", "2014-08-15", "CheckInstanceExist")
{}
CheckInstanceExistRequest::~CheckInstanceExistRequest()
{}
long CheckInstanceExistRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,50 +1,50 @@
/*
* 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/rds/model/CheckInstanceExistResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CheckInstanceExistResult::CheckInstanceExistResult() :
ServiceResult()
{}
CheckInstanceExistResult::CheckInstanceExistResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckInstanceExistResult::~CheckInstanceExistResult()
{}
void CheckInstanceExistResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CheckInstanceExistResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CheckInstanceExistResult::CheckInstanceExistResult() :
ServiceResult()
{}
CheckInstanceExistResult::CheckInstanceExistResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckInstanceExistResult::~CheckInstanceExistResult()
{}
void CheckInstanceExistResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["IsExistInstance"].isNull())
isExistInstance_ = value["IsExistInstance"].asString() == "true";
}
}
bool CheckInstanceExistResult::getIsExistInstance()const
{
return isExistInstance_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CheckRecoveryConditionsRequest.h>
using AlibabaCloud::Rds::Model::CheckRecoveryConditionsRequest;
CheckRecoveryConditionsRequest::CheckRecoveryConditionsRequest() :
RpcServiceRequest("rds", "2014-08-15", "CheckRecoveryConditions")
{}
CheckRecoveryConditionsRequest::~CheckRecoveryConditionsRequest()
{}
/*
* 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/rds/model/CheckRecoveryConditionsRequest.h>
using AlibabaCloud::Rds::Model::CheckRecoveryConditionsRequest;
CheckRecoveryConditionsRequest::CheckRecoveryConditionsRequest() :
RpcServiceRequest("rds", "2014-08-15", "CheckRecoveryConditions")
{}
CheckRecoveryConditionsRequest::~CheckRecoveryConditionsRequest()
{}
long CheckRecoveryConditionsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,52 +1,52 @@
/*
* 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/rds/model/CheckRecoveryConditionsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CheckRecoveryConditionsResult::CheckRecoveryConditionsResult() :
ServiceResult()
{}
CheckRecoveryConditionsResult::CheckRecoveryConditionsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckRecoveryConditionsResult::~CheckRecoveryConditionsResult()
{}
void CheckRecoveryConditionsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CheckRecoveryConditionsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CheckRecoveryConditionsResult::CheckRecoveryConditionsResult() :
ServiceResult()
{}
CheckRecoveryConditionsResult::CheckRecoveryConditionsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckRecoveryConditionsResult::~CheckRecoveryConditionsResult()
{}
void CheckRecoveryConditionsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DBInstanceId"].isNull())
dBInstanceId_ = value["DBInstanceId"].asString();
if(!value["RecoveryStatus"].isNull())
recoveryStatus_ = value["RecoveryStatus"].asString();
}
}
std::string CheckRecoveryConditionsResult::getDBInstanceId()const
{
return dBInstanceId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CheckResourceRequest.h>
using AlibabaCloud::Rds::Model::CheckResourceRequest;
CheckResourceRequest::CheckResourceRequest() :
RpcServiceRequest("rds", "2014-08-15", "CheckResource")
{}
CheckResourceRequest::~CheckResourceRequest()
{}
/*
* 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/rds/model/CheckResourceRequest.h>
using AlibabaCloud::Rds::Model::CheckResourceRequest;
CheckResourceRequest::CheckResourceRequest() :
RpcServiceRequest("rds", "2014-08-15", "CheckResource")
{}
CheckResourceRequest::~CheckResourceRequest()
{}
long CheckResourceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/CheckResourceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CheckResourceResult::CheckResourceResult() :
ServiceResult()
{}
CheckResourceResult::CheckResourceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckResourceResult::~CheckResourceResult()
{}
void CheckResourceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CheckResourceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CheckResourceResult::CheckResourceResult() :
ServiceResult()
{}
CheckResourceResult::CheckResourceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckResourceResult::~CheckResourceResult()
{}
void CheckResourceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allResources = value["Resources"]["Resource"];
for (auto value : allResources)
{
@@ -54,9 +54,9 @@ void CheckResourceResult::parse(const std::string &payload)
}
if(!value["SpecifyCount"].isNull())
specifyCount_ = value["SpecifyCount"].asString();
}
}
std::string CheckResourceResult::getSpecifyCount()const
{
return specifyCount_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CloneDBInstanceRequest.h>
using AlibabaCloud::Rds::Model::CloneDBInstanceRequest;
CloneDBInstanceRequest::CloneDBInstanceRequest() :
RpcServiceRequest("rds", "2014-08-15", "CloneDBInstance")
{}
CloneDBInstanceRequest::~CloneDBInstanceRequest()
{}
/*
* 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/rds/model/CloneDBInstanceRequest.h>
using AlibabaCloud::Rds::Model::CloneDBInstanceRequest;
CloneDBInstanceRequest::CloneDBInstanceRequest() :
RpcServiceRequest("rds", "2014-08-15", "CloneDBInstance")
{}
CloneDBInstanceRequest::~CloneDBInstanceRequest()
{}
long CloneDBInstanceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/CloneDBInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CloneDBInstanceResult::CloneDBInstanceResult() :
ServiceResult()
{}
CloneDBInstanceResult::CloneDBInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CloneDBInstanceResult::~CloneDBInstanceResult()
{}
void CloneDBInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CloneDBInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CloneDBInstanceResult::CloneDBInstanceResult() :
ServiceResult()
{}
CloneDBInstanceResult::CloneDBInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CloneDBInstanceResult::~CloneDBInstanceResult()
{}
void CloneDBInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DBInstanceId"].isNull())
dBInstanceId_ = value["DBInstanceId"].asString();
if(!value["OrderId"].isNull())
@@ -48,9 +48,9 @@ void CloneDBInstanceResult::parse(const std::string &payload)
connectionString_ = value["ConnectionString"].asString();
if(!value["Port"].isNull())
port_ = value["Port"].asString();
}
}
std::string CloneDBInstanceResult::getDBInstanceId()const
{
return dBInstanceId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CopyDatabaseBetweenInstancesRequest.h>
using AlibabaCloud::Rds::Model::CopyDatabaseBetweenInstancesRequest;
CopyDatabaseBetweenInstancesRequest::CopyDatabaseBetweenInstancesRequest() :
RpcServiceRequest("rds", "2014-08-15", "CopyDatabaseBetweenInstances")
{}
CopyDatabaseBetweenInstancesRequest::~CopyDatabaseBetweenInstancesRequest()
{}
/*
* 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/rds/model/CopyDatabaseBetweenInstancesRequest.h>
using AlibabaCloud::Rds::Model::CopyDatabaseBetweenInstancesRequest;
CopyDatabaseBetweenInstancesRequest::CopyDatabaseBetweenInstancesRequest() :
RpcServiceRequest("rds", "2014-08-15", "CopyDatabaseBetweenInstances")
{}
CopyDatabaseBetweenInstancesRequest::~CopyDatabaseBetweenInstancesRequest()
{}
long CopyDatabaseBetweenInstancesRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,50 +1,50 @@
/*
* 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/rds/model/CopyDatabaseBetweenInstancesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CopyDatabaseBetweenInstancesResult::CopyDatabaseBetweenInstancesResult() :
ServiceResult()
{}
CopyDatabaseBetweenInstancesResult::CopyDatabaseBetweenInstancesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CopyDatabaseBetweenInstancesResult::~CopyDatabaseBetweenInstancesResult()
{}
void CopyDatabaseBetweenInstancesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CopyDatabaseBetweenInstancesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CopyDatabaseBetweenInstancesResult::CopyDatabaseBetweenInstancesResult() :
ServiceResult()
{}
CopyDatabaseBetweenInstancesResult::CopyDatabaseBetweenInstancesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CopyDatabaseBetweenInstancesResult::~CopyDatabaseBetweenInstancesResult()
{}
void CopyDatabaseBetweenInstancesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DBInstanceId"].isNull())
dBInstanceId_ = value["DBInstanceId"].asString();
}
}
std::string CopyDatabaseBetweenInstancesResult::getDBInstanceId()const
{
return dBInstanceId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CopyDatabaseRequest.h>
using AlibabaCloud::Rds::Model::CopyDatabaseRequest;
CopyDatabaseRequest::CopyDatabaseRequest() :
RpcServiceRequest("rds", "2014-08-15", "CopyDatabase")
{}
CopyDatabaseRequest::~CopyDatabaseRequest()
{}
/*
* 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/rds/model/CopyDatabaseRequest.h>
using AlibabaCloud::Rds::Model::CopyDatabaseRequest;
CopyDatabaseRequest::CopyDatabaseRequest() :
RpcServiceRequest("rds", "2014-08-15", "CopyDatabase")
{}
CopyDatabaseRequest::~CopyDatabaseRequest()
{}
long CopyDatabaseRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,54 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/rds/model/CopyDatabaseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CopyDatabaseResult::CopyDatabaseResult() :
ServiceResult()
{}
CopyDatabaseResult::CopyDatabaseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CopyDatabaseResult::~CopyDatabaseResult()
{}
void CopyDatabaseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CopyDatabaseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CopyDatabaseResult::CopyDatabaseResult() :
ServiceResult()
{}
CopyDatabaseResult::CopyDatabaseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CopyDatabaseResult::~CopyDatabaseResult()
{}
void CopyDatabaseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DBName"].isNull())
dBName_ = value["DBName"].asString();
if(!value["DBStatus"].isNull())
dBStatus_ = value["DBStatus"].asString();
if(!value["TaskId"].isNull())
taskId_ = value["TaskId"].asString();
}
}
std::string CopyDatabaseResult::getTaskId()const
{
return taskId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CreateAccountRequest.h>
using AlibabaCloud::Rds::Model::CreateAccountRequest;
CreateAccountRequest::CreateAccountRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateAccount")
{}
CreateAccountRequest::~CreateAccountRequest()
{}
/*
* 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/rds/model/CreateAccountRequest.h>
using AlibabaCloud::Rds::Model::CreateAccountRequest;
CreateAccountRequest::CreateAccountRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateAccount")
{}
CreateAccountRequest::~CreateAccountRequest()
{}
long CreateAccountRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/CreateAccountResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateAccountResult::CreateAccountResult() :
ServiceResult()
{}
CreateAccountResult::CreateAccountResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateAccountResult::~CreateAccountResult()
{}
void CreateAccountResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/CreateAccountResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateAccountResult::CreateAccountResult() :
ServiceResult()
{}
CreateAccountResult::CreateAccountResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateAccountResult::~CreateAccountResult()
{}
void CreateAccountResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CreateBackupRequest.h>
using AlibabaCloud::Rds::Model::CreateBackupRequest;
CreateBackupRequest::CreateBackupRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateBackup")
{}
CreateBackupRequest::~CreateBackupRequest()
{}
/*
* 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/rds/model/CreateBackupRequest.h>
using AlibabaCloud::Rds::Model::CreateBackupRequest;
CreateBackupRequest::CreateBackupRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateBackup")
{}
CreateBackupRequest::~CreateBackupRequest()
{}
std::string CreateBackupRequest::getBackupMethod()const
{
return backupMethod_;

View File

@@ -1,50 +1,50 @@
/*
* 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/rds/model/CreateBackupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateBackupResult::CreateBackupResult() :
ServiceResult()
{}
CreateBackupResult::CreateBackupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateBackupResult::~CreateBackupResult()
{}
void CreateBackupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CreateBackupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateBackupResult::CreateBackupResult() :
ServiceResult()
{}
CreateBackupResult::CreateBackupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateBackupResult::~CreateBackupResult()
{}
void CreateBackupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["BackupJobId"].isNull())
backupJobId_ = value["BackupJobId"].asString();
}
}
std::string CreateBackupResult::getBackupJobId()const
{
return backupJobId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CreateDBInstanceReplicaRequest.h>
using AlibabaCloud::Rds::Model::CreateDBInstanceReplicaRequest;
CreateDBInstanceReplicaRequest::CreateDBInstanceReplicaRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateDBInstanceReplica")
{}
CreateDBInstanceReplicaRequest::~CreateDBInstanceReplicaRequest()
{}
/*
* 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/rds/model/CreateDBInstanceReplicaRequest.h>
using AlibabaCloud::Rds::Model::CreateDBInstanceReplicaRequest;
CreateDBInstanceReplicaRequest::CreateDBInstanceReplicaRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateDBInstanceReplica")
{}
CreateDBInstanceReplicaRequest::~CreateDBInstanceReplicaRequest()
{}
std::string CreateDBInstanceReplicaRequest::getConnectionMode()const
{
return connectionMode_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/CreateDBInstanceReplicaResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateDBInstanceReplicaResult::CreateDBInstanceReplicaResult() :
ServiceResult()
{}
CreateDBInstanceReplicaResult::CreateDBInstanceReplicaResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDBInstanceReplicaResult::~CreateDBInstanceReplicaResult()
{}
void CreateDBInstanceReplicaResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CreateDBInstanceReplicaResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateDBInstanceReplicaResult::CreateDBInstanceReplicaResult() :
ServiceResult()
{}
CreateDBInstanceReplicaResult::CreateDBInstanceReplicaResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDBInstanceReplicaResult::~CreateDBInstanceReplicaResult()
{}
void CreateDBInstanceReplicaResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DBInstanceId"].isNull())
dBInstanceId_ = value["DBInstanceId"].asString();
if(!value["OrderId"].isNull())
@@ -48,9 +48,9 @@ void CreateDBInstanceReplicaResult::parse(const std::string &payload)
replicaId_ = value["ReplicaId"].asString();
if(!value["WorkflowId"].isNull())
workflowId_ = value["WorkflowId"].asString();
}
}
std::string CreateDBInstanceReplicaResult::getDBInstanceId()const
{
return dBInstanceId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CreateDBInstanceRequest.h>
using AlibabaCloud::Rds::Model::CreateDBInstanceRequest;
CreateDBInstanceRequest::CreateDBInstanceRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateDBInstance")
{}
CreateDBInstanceRequest::~CreateDBInstanceRequest()
{}
/*
* 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/rds/model/CreateDBInstanceRequest.h>
using AlibabaCloud::Rds::Model::CreateDBInstanceRequest;
CreateDBInstanceRequest::CreateDBInstanceRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateDBInstance")
{}
CreateDBInstanceRequest::~CreateDBInstanceRequest()
{}
std::string CreateDBInstanceRequest::getConnectionMode()const
{
return connectionMode_;
@@ -212,6 +212,17 @@ void CreateDBInstanceRequest::setOwnerAccount(const std::string& ownerAccount)
setCoreParameter("OwnerAccount", ownerAccount);
}
std::string CreateDBInstanceRequest::getEncryptionKey()const
{
return encryptionKey_;
}
void CreateDBInstanceRequest::setEncryptionKey(const std::string& encryptionKey)
{
encryptionKey_ = encryptionKey;
setCoreParameter("EncryptionKey", encryptionKey);
}
long CreateDBInstanceRequest::getOwnerId()const
{
return ownerId_;
@@ -278,6 +289,28 @@ void CreateDBInstanceRequest::setPrivateIpAddress(const std::string& privateIpAd
setCoreParameter("PrivateIpAddress", privateIpAddress);
}
std::string CreateDBInstanceRequest::getAutoRenew()const
{
return autoRenew_;
}
void CreateDBInstanceRequest::setAutoRenew(const std::string& autoRenew)
{
autoRenew_ = autoRenew;
setCoreParameter("AutoRenew", autoRenew);
}
std::string CreateDBInstanceRequest::getRoleARN()const
{
return roleARN_;
}
void CreateDBInstanceRequest::setRoleARN(const std::string& roleARN)
{
roleARN_ = roleARN;
setCoreParameter("RoleARN", roleARN);
}
std::string CreateDBInstanceRequest::getVPCId()const
{
return vPCId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/CreateDBInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateDBInstanceResult::CreateDBInstanceResult() :
ServiceResult()
{}
CreateDBInstanceResult::CreateDBInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDBInstanceResult::~CreateDBInstanceResult()
{}
void CreateDBInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CreateDBInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateDBInstanceResult::CreateDBInstanceResult() :
ServiceResult()
{}
CreateDBInstanceResult::CreateDBInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDBInstanceResult::~CreateDBInstanceResult()
{}
void CreateDBInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DBInstanceId"].isNull())
dBInstanceId_ = value["DBInstanceId"].asString();
if(!value["OrderId"].isNull())
@@ -48,9 +48,9 @@ void CreateDBInstanceResult::parse(const std::string &payload)
connectionString_ = value["ConnectionString"].asString();
if(!value["Port"].isNull())
port_ = value["Port"].asString();
}
}
std::string CreateDBInstanceResult::getDBInstanceId()const
{
return dBInstanceId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CreateDatabaseRequest.h>
using AlibabaCloud::Rds::Model::CreateDatabaseRequest;
CreateDatabaseRequest::CreateDatabaseRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateDatabase")
{}
CreateDatabaseRequest::~CreateDatabaseRequest()
{}
/*
* 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/rds/model/CreateDatabaseRequest.h>
using AlibabaCloud::Rds::Model::CreateDatabaseRequest;
CreateDatabaseRequest::CreateDatabaseRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateDatabase")
{}
CreateDatabaseRequest::~CreateDatabaseRequest()
{}
long CreateDatabaseRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/CreateDatabaseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateDatabaseResult::CreateDatabaseResult() :
ServiceResult()
{}
CreateDatabaseResult::CreateDatabaseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDatabaseResult::~CreateDatabaseResult()
{}
void CreateDatabaseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/CreateDatabaseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateDatabaseResult::CreateDatabaseResult() :
ServiceResult()
{}
CreateDatabaseResult::CreateDatabaseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDatabaseResult::~CreateDatabaseResult()
{}
void CreateDatabaseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CreateDiagnosticReportRequest.h>
using AlibabaCloud::Rds::Model::CreateDiagnosticReportRequest;
CreateDiagnosticReportRequest::CreateDiagnosticReportRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateDiagnosticReport")
{}
CreateDiagnosticReportRequest::~CreateDiagnosticReportRequest()
{}
/*
* 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/rds/model/CreateDiagnosticReportRequest.h>
using AlibabaCloud::Rds::Model::CreateDiagnosticReportRequest;
CreateDiagnosticReportRequest::CreateDiagnosticReportRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateDiagnosticReport")
{}
CreateDiagnosticReportRequest::~CreateDiagnosticReportRequest()
{}
std::string CreateDiagnosticReportRequest::getEndTime()const
{
return endTime_;

View File

@@ -1,50 +1,50 @@
/*
* 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/rds/model/CreateDiagnosticReportResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateDiagnosticReportResult::CreateDiagnosticReportResult() :
ServiceResult()
{}
CreateDiagnosticReportResult::CreateDiagnosticReportResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDiagnosticReportResult::~CreateDiagnosticReportResult()
{}
void CreateDiagnosticReportResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CreateDiagnosticReportResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateDiagnosticReportResult::CreateDiagnosticReportResult() :
ServiceResult()
{}
CreateDiagnosticReportResult::CreateDiagnosticReportResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDiagnosticReportResult::~CreateDiagnosticReportResult()
{}
void CreateDiagnosticReportResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ReportId"].isNull())
reportId_ = value["ReportId"].asString();
}
}
std::string CreateDiagnosticReportResult::getReportId()const
{
return reportId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CreateMigrateTaskForSQLServerRequest.h>
using AlibabaCloud::Rds::Model::CreateMigrateTaskForSQLServerRequest;
CreateMigrateTaskForSQLServerRequest::CreateMigrateTaskForSQLServerRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateMigrateTaskForSQLServer")
{}
CreateMigrateTaskForSQLServerRequest::~CreateMigrateTaskForSQLServerRequest()
{}
/*
* 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/rds/model/CreateMigrateTaskForSQLServerRequest.h>
using AlibabaCloud::Rds::Model::CreateMigrateTaskForSQLServerRequest;
CreateMigrateTaskForSQLServerRequest::CreateMigrateTaskForSQLServerRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateMigrateTaskForSQLServer")
{}
CreateMigrateTaskForSQLServerRequest::~CreateMigrateTaskForSQLServerRequest()
{}
long CreateMigrateTaskForSQLServerRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/CreateMigrateTaskForSQLServerResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateMigrateTaskForSQLServerResult::CreateMigrateTaskForSQLServerResult() :
ServiceResult()
{}
CreateMigrateTaskForSQLServerResult::CreateMigrateTaskForSQLServerResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateMigrateTaskForSQLServerResult::~CreateMigrateTaskForSQLServerResult()
{}
void CreateMigrateTaskForSQLServerResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CreateMigrateTaskForSQLServerResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateMigrateTaskForSQLServerResult::CreateMigrateTaskForSQLServerResult() :
ServiceResult()
{}
CreateMigrateTaskForSQLServerResult::CreateMigrateTaskForSQLServerResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateMigrateTaskForSQLServerResult::~CreateMigrateTaskForSQLServerResult()
{}
void CreateMigrateTaskForSQLServerResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DBInstanceId"].isNull())
dBInstanceId_ = value["DBInstanceId"].asString();
if(!value["DBInstanceName"].isNull())
@@ -52,9 +52,9 @@ void CreateMigrateTaskForSQLServerResult::parse(const std::string &payload)
migrateIaskId_ = value["MigrateIaskId"].asString();
if(!value["TaskType"].isNull())
taskType_ = value["TaskType"].asString();
}
}
std::string CreateMigrateTaskForSQLServerResult::getTaskId()const
{
return taskId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CreateMigrateTaskRequest.h>
using AlibabaCloud::Rds::Model::CreateMigrateTaskRequest;
CreateMigrateTaskRequest::CreateMigrateTaskRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateMigrateTask")
{}
CreateMigrateTaskRequest::~CreateMigrateTaskRequest()
{}
/*
* 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/rds/model/CreateMigrateTaskRequest.h>
using AlibabaCloud::Rds::Model::CreateMigrateTaskRequest;
CreateMigrateTaskRequest::CreateMigrateTaskRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateMigrateTask")
{}
CreateMigrateTaskRequest::~CreateMigrateTaskRequest()
{}
long CreateMigrateTaskRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/CreateMigrateTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateMigrateTaskResult::CreateMigrateTaskResult() :
ServiceResult()
{}
CreateMigrateTaskResult::CreateMigrateTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateMigrateTaskResult::~CreateMigrateTaskResult()
{}
void CreateMigrateTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CreateMigrateTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateMigrateTaskResult::CreateMigrateTaskResult() :
ServiceResult()
{}
CreateMigrateTaskResult::CreateMigrateTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateMigrateTaskResult::~CreateMigrateTaskResult()
{}
void CreateMigrateTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DBInstanceId"].isNull())
dBInstanceId_ = value["DBInstanceId"].asString();
if(!value["TaskId"].isNull())
@@ -50,9 +50,9 @@ void CreateMigrateTaskResult::parse(const std::string &payload)
migrateTaskId_ = value["MigrateTaskId"].asString();
if(!value["BackupMode"].isNull())
backupMode_ = value["BackupMode"].asString();
}
}
std::string CreateMigrateTaskResult::getTaskId()const
{
return taskId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CreateOnlineDatabaseTaskRequest.h>
using AlibabaCloud::Rds::Model::CreateOnlineDatabaseTaskRequest;
CreateOnlineDatabaseTaskRequest::CreateOnlineDatabaseTaskRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateOnlineDatabaseTask")
{}
CreateOnlineDatabaseTaskRequest::~CreateOnlineDatabaseTaskRequest()
{}
/*
* 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/rds/model/CreateOnlineDatabaseTaskRequest.h>
using AlibabaCloud::Rds::Model::CreateOnlineDatabaseTaskRequest;
CreateOnlineDatabaseTaskRequest::CreateOnlineDatabaseTaskRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateOnlineDatabaseTask")
{}
CreateOnlineDatabaseTaskRequest::~CreateOnlineDatabaseTaskRequest()
{}
long CreateOnlineDatabaseTaskRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/CreateOnlineDatabaseTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateOnlineDatabaseTaskResult::CreateOnlineDatabaseTaskResult() :
ServiceResult()
{}
CreateOnlineDatabaseTaskResult::CreateOnlineDatabaseTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateOnlineDatabaseTaskResult::~CreateOnlineDatabaseTaskResult()
{}
void CreateOnlineDatabaseTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/CreateOnlineDatabaseTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateOnlineDatabaseTaskResult::CreateOnlineDatabaseTaskResult() :
ServiceResult()
{}
CreateOnlineDatabaseTaskResult::CreateOnlineDatabaseTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateOnlineDatabaseTaskResult::~CreateOnlineDatabaseTaskResult()
{}
void CreateOnlineDatabaseTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CreateReadOnlyDBInstanceRequest.h>
using AlibabaCloud::Rds::Model::CreateReadOnlyDBInstanceRequest;
CreateReadOnlyDBInstanceRequest::CreateReadOnlyDBInstanceRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateReadOnlyDBInstance")
{}
CreateReadOnlyDBInstanceRequest::~CreateReadOnlyDBInstanceRequest()
{}
/*
* 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/rds/model/CreateReadOnlyDBInstanceRequest.h>
using AlibabaCloud::Rds::Model::CreateReadOnlyDBInstanceRequest;
CreateReadOnlyDBInstanceRequest::CreateReadOnlyDBInstanceRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateReadOnlyDBInstance")
{}
CreateReadOnlyDBInstanceRequest::~CreateReadOnlyDBInstanceRequest()
{}
long CreateReadOnlyDBInstanceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/CreateReadOnlyDBInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateReadOnlyDBInstanceResult::CreateReadOnlyDBInstanceResult() :
ServiceResult()
{}
CreateReadOnlyDBInstanceResult::CreateReadOnlyDBInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateReadOnlyDBInstanceResult::~CreateReadOnlyDBInstanceResult()
{}
void CreateReadOnlyDBInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CreateReadOnlyDBInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateReadOnlyDBInstanceResult::CreateReadOnlyDBInstanceResult() :
ServiceResult()
{}
CreateReadOnlyDBInstanceResult::CreateReadOnlyDBInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateReadOnlyDBInstanceResult::~CreateReadOnlyDBInstanceResult()
{}
void CreateReadOnlyDBInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DBInstanceId"].isNull())
dBInstanceId_ = value["DBInstanceId"].asString();
if(!value["OrderId"].isNull())
@@ -48,9 +48,9 @@ void CreateReadOnlyDBInstanceResult::parse(const std::string &payload)
connectionString_ = value["ConnectionString"].asString();
if(!value["Port"].isNull())
port_ = value["Port"].asString();
}
}
std::string CreateReadOnlyDBInstanceResult::getDBInstanceId()const
{
return dBInstanceId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/CreateTempDBInstanceRequest.h>
using AlibabaCloud::Rds::Model::CreateTempDBInstanceRequest;
CreateTempDBInstanceRequest::CreateTempDBInstanceRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateTempDBInstance")
{}
CreateTempDBInstanceRequest::~CreateTempDBInstanceRequest()
{}
/*
* 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/rds/model/CreateTempDBInstanceRequest.h>
using AlibabaCloud::Rds::Model::CreateTempDBInstanceRequest;
CreateTempDBInstanceRequest::CreateTempDBInstanceRequest() :
RpcServiceRequest("rds", "2014-08-15", "CreateTempDBInstance")
{}
CreateTempDBInstanceRequest::~CreateTempDBInstanceRequest()
{}
long CreateTempDBInstanceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,50 +1,50 @@
/*
* 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/rds/model/CreateTempDBInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateTempDBInstanceResult::CreateTempDBInstanceResult() :
ServiceResult()
{}
CreateTempDBInstanceResult::CreateTempDBInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTempDBInstanceResult::~CreateTempDBInstanceResult()
{}
void CreateTempDBInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/CreateTempDBInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
CreateTempDBInstanceResult::CreateTempDBInstanceResult() :
ServiceResult()
{}
CreateTempDBInstanceResult::CreateTempDBInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTempDBInstanceResult::~CreateTempDBInstanceResult()
{}
void CreateTempDBInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["TempDBInstanceId"].isNull())
tempDBInstanceId_ = value["TempDBInstanceId"].asString();
}
}
std::string CreateTempDBInstanceResult::getTempDBInstanceId()const
{
return tempDBInstanceId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DeleteAccountRequest.h>
using AlibabaCloud::Rds::Model::DeleteAccountRequest;
DeleteAccountRequest::DeleteAccountRequest() :
RpcServiceRequest("rds", "2014-08-15", "DeleteAccount")
{}
DeleteAccountRequest::~DeleteAccountRequest()
{}
/*
* 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/rds/model/DeleteAccountRequest.h>
using AlibabaCloud::Rds::Model::DeleteAccountRequest;
DeleteAccountRequest::DeleteAccountRequest() :
RpcServiceRequest("rds", "2014-08-15", "DeleteAccount")
{}
DeleteAccountRequest::~DeleteAccountRequest()
{}
long DeleteAccountRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DeleteAccountResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DeleteAccountResult::DeleteAccountResult() :
ServiceResult()
{}
DeleteAccountResult::DeleteAccountResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteAccountResult::~DeleteAccountResult()
{}
void DeleteAccountResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/DeleteAccountResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DeleteAccountResult::DeleteAccountResult() :
ServiceResult()
{}
DeleteAccountResult::DeleteAccountResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteAccountResult::~DeleteAccountResult()
{}
void DeleteAccountResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DeleteBackupRequest.h>
using AlibabaCloud::Rds::Model::DeleteBackupRequest;
DeleteBackupRequest::DeleteBackupRequest() :
RpcServiceRequest("rds", "2014-08-15", "DeleteBackup")
{}
DeleteBackupRequest::~DeleteBackupRequest()
{}
/*
* 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/rds/model/DeleteBackupRequest.h>
using AlibabaCloud::Rds::Model::DeleteBackupRequest;
DeleteBackupRequest::DeleteBackupRequest() :
RpcServiceRequest("rds", "2014-08-15", "DeleteBackup")
{}
DeleteBackupRequest::~DeleteBackupRequest()
{}
long DeleteBackupRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DeleteBackupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DeleteBackupResult::DeleteBackupResult() :
ServiceResult()
{}
DeleteBackupResult::DeleteBackupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteBackupResult::~DeleteBackupResult()
{}
void DeleteBackupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/DeleteBackupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DeleteBackupResult::DeleteBackupResult() :
ServiceResult()
{}
DeleteBackupResult::DeleteBackupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteBackupResult::~DeleteBackupResult()
{}
void DeleteBackupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DeleteDBInstanceRequest.h>
using AlibabaCloud::Rds::Model::DeleteDBInstanceRequest;
DeleteDBInstanceRequest::DeleteDBInstanceRequest() :
RpcServiceRequest("rds", "2014-08-15", "DeleteDBInstance")
{}
DeleteDBInstanceRequest::~DeleteDBInstanceRequest()
{}
/*
* 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/rds/model/DeleteDBInstanceRequest.h>
using AlibabaCloud::Rds::Model::DeleteDBInstanceRequest;
DeleteDBInstanceRequest::DeleteDBInstanceRequest() :
RpcServiceRequest("rds", "2014-08-15", "DeleteDBInstance")
{}
DeleteDBInstanceRequest::~DeleteDBInstanceRequest()
{}
long DeleteDBInstanceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DeleteDBInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DeleteDBInstanceResult::DeleteDBInstanceResult() :
ServiceResult()
{}
DeleteDBInstanceResult::DeleteDBInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteDBInstanceResult::~DeleteDBInstanceResult()
{}
void DeleteDBInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/DeleteDBInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DeleteDBInstanceResult::DeleteDBInstanceResult() :
ServiceResult()
{}
DeleteDBInstanceResult::DeleteDBInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteDBInstanceResult::~DeleteDBInstanceResult()
{}
void DeleteDBInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DeleteDatabaseRequest.h>
using AlibabaCloud::Rds::Model::DeleteDatabaseRequest;
DeleteDatabaseRequest::DeleteDatabaseRequest() :
RpcServiceRequest("rds", "2014-08-15", "DeleteDatabase")
{}
DeleteDatabaseRequest::~DeleteDatabaseRequest()
{}
/*
* 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/rds/model/DeleteDatabaseRequest.h>
using AlibabaCloud::Rds::Model::DeleteDatabaseRequest;
DeleteDatabaseRequest::DeleteDatabaseRequest() :
RpcServiceRequest("rds", "2014-08-15", "DeleteDatabase")
{}
DeleteDatabaseRequest::~DeleteDatabaseRequest()
{}
long DeleteDatabaseRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DeleteDatabaseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DeleteDatabaseResult::DeleteDatabaseResult() :
ServiceResult()
{}
DeleteDatabaseResult::DeleteDatabaseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteDatabaseResult::~DeleteDatabaseResult()
{}
void DeleteDatabaseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
/*
* 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/rds/model/DeleteDatabaseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DeleteDatabaseResult::DeleteDatabaseResult() :
ServiceResult()
{}
DeleteDatabaseResult::DeleteDatabaseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteDatabaseResult::~DeleteDatabaseResult()
{}
void DeleteDatabaseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescibeImportsFromDatabaseRequest.h>
using AlibabaCloud::Rds::Model::DescibeImportsFromDatabaseRequest;
DescibeImportsFromDatabaseRequest::DescibeImportsFromDatabaseRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescibeImportsFromDatabase")
{}
DescibeImportsFromDatabaseRequest::~DescibeImportsFromDatabaseRequest()
{}
/*
* 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/rds/model/DescibeImportsFromDatabaseRequest.h>
using AlibabaCloud::Rds::Model::DescibeImportsFromDatabaseRequest;
DescibeImportsFromDatabaseRequest::DescibeImportsFromDatabaseRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescibeImportsFromDatabase")
{}
DescibeImportsFromDatabaseRequest::~DescibeImportsFromDatabaseRequest()
{}
long DescibeImportsFromDatabaseRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescibeImportsFromDatabaseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescibeImportsFromDatabaseResult::DescibeImportsFromDatabaseResult() :
ServiceResult()
{}
DescibeImportsFromDatabaseResult::DescibeImportsFromDatabaseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescibeImportsFromDatabaseResult::~DescibeImportsFromDatabaseResult()
{}
void DescibeImportsFromDatabaseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescibeImportsFromDatabaseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescibeImportsFromDatabaseResult::DescibeImportsFromDatabaseResult() :
ServiceResult()
{}
DescibeImportsFromDatabaseResult::DescibeImportsFromDatabaseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescibeImportsFromDatabaseResult::~DescibeImportsFromDatabaseResult()
{}
void DescibeImportsFromDatabaseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItems = value["Items"]["ImportResultFromDB"];
for (auto value : allItems)
{
@@ -62,9 +62,9 @@ void DescibeImportsFromDatabaseResult::parse(const std::string &payload)
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageRecordCount"].isNull())
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
}
}
int DescibeImportsFromDatabaseResult::getTotalRecordCount()const
{
return totalRecordCount_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeAccountsRequest.h>
using AlibabaCloud::Rds::Model::DescribeAccountsRequest;
DescribeAccountsRequest::DescribeAccountsRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeAccounts")
{}
DescribeAccountsRequest::~DescribeAccountsRequest()
{}
/*
* 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/rds/model/DescribeAccountsRequest.h>
using AlibabaCloud::Rds::Model::DescribeAccountsRequest;
DescribeAccountsRequest::DescribeAccountsRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeAccounts")
{}
DescribeAccountsRequest::~DescribeAccountsRequest()
{}
long DescribeAccountsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeAccountsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeAccountsResult::DescribeAccountsResult() :
ServiceResult()
{}
DescribeAccountsResult::DescribeAccountsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAccountsResult::~DescribeAccountsResult()
{}
void DescribeAccountsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeAccountsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeAccountsResult::DescribeAccountsResult() :
ServiceResult()
{}
DescribeAccountsResult::DescribeAccountsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAccountsResult::~DescribeAccountsResult()
{}
void DescribeAccountsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allAccounts = value["Accounts"]["DBInstanceAccount"];
for (auto value : allAccounts)
{
@@ -70,9 +70,9 @@ void DescribeAccountsResult::parse(const std::string &payload)
}
accounts_.push_back(accountsObject);
}
}
}
std::vector<DescribeAccountsResult::DBInstanceAccount> DescribeAccountsResult::getAccounts()const
{
return accounts_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeAvailableInstanceClassRequest.h>
using AlibabaCloud::Rds::Model::DescribeAvailableInstanceClassRequest;
DescribeAvailableInstanceClassRequest::DescribeAvailableInstanceClassRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeAvailableInstanceClass")
{}
DescribeAvailableInstanceClassRequest::~DescribeAvailableInstanceClassRequest()
{}
/*
* 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/rds/model/DescribeAvailableInstanceClassRequest.h>
using AlibabaCloud::Rds::Model::DescribeAvailableInstanceClassRequest;
DescribeAvailableInstanceClassRequest::DescribeAvailableInstanceClassRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeAvailableInstanceClass")
{}
DescribeAvailableInstanceClassRequest::~DescribeAvailableInstanceClassRequest()
{}
long DescribeAvailableInstanceClassRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeAvailableInstanceClassResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeAvailableInstanceClassResult::DescribeAvailableInstanceClassResult() :
ServiceResult()
{}
DescribeAvailableInstanceClassResult::DescribeAvailableInstanceClassResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAvailableInstanceClassResult::~DescribeAvailableInstanceClassResult()
{}
void DescribeAvailableInstanceClassResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeAvailableInstanceClassResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeAvailableInstanceClassResult::DescribeAvailableInstanceClassResult() :
ServiceResult()
{}
DescribeAvailableInstanceClassResult::DescribeAvailableInstanceClassResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAvailableInstanceClassResult::~DescribeAvailableInstanceClassResult()
{}
void DescribeAvailableInstanceClassResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allAvailableZones = value["AvailableZones"]["AvailableZone"];
for (auto value : allAvailableZones)
{
@@ -96,9 +96,9 @@ void DescribeAvailableInstanceClassResult::parse(const std::string &payload)
}
availableZones_.push_back(availableZonesObject);
}
}
}
std::vector<DescribeAvailableInstanceClassResult::AvailableZone> DescribeAvailableInstanceClassResult::getAvailableZones()const
{
return availableZones_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeAvailableResourceRequest.h>
using AlibabaCloud::Rds::Model::DescribeAvailableResourceRequest;
DescribeAvailableResourceRequest::DescribeAvailableResourceRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeAvailableResource")
{}
DescribeAvailableResourceRequest::~DescribeAvailableResourceRequest()
{}
/*
* 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/rds/model/DescribeAvailableResourceRequest.h>
using AlibabaCloud::Rds::Model::DescribeAvailableResourceRequest;
DescribeAvailableResourceRequest::DescribeAvailableResourceRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeAvailableResource")
{}
DescribeAvailableResourceRequest::~DescribeAvailableResourceRequest()
{}
long DescribeAvailableResourceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeAvailableResourceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeAvailableResourceResult::DescribeAvailableResourceResult() :
ServiceResult()
{}
DescribeAvailableResourceResult::DescribeAvailableResourceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAvailableResourceResult::~DescribeAvailableResourceResult()
{}
void DescribeAvailableResourceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeAvailableResourceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeAvailableResourceResult::DescribeAvailableResourceResult() :
ServiceResult()
{}
DescribeAvailableResourceResult::DescribeAvailableResourceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAvailableResourceResult::~DescribeAvailableResourceResult()
{}
void DescribeAvailableResourceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allAvailableZones = value["AvailableZones"]["AvailableZone"];
for (auto value : allAvailableZones)
{
@@ -96,9 +96,9 @@ void DescribeAvailableResourceResult::parse(const std::string &payload)
}
availableZones_.push_back(availableZonesObject);
}
}
}
std::vector<DescribeAvailableResourceResult::AvailableZone> DescribeAvailableResourceResult::getAvailableZones()const
{
return availableZones_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeBackupDatabaseRequest.h>
using AlibabaCloud::Rds::Model::DescribeBackupDatabaseRequest;
DescribeBackupDatabaseRequest::DescribeBackupDatabaseRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeBackupDatabase")
{}
DescribeBackupDatabaseRequest::~DescribeBackupDatabaseRequest()
{}
/*
* 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/rds/model/DescribeBackupDatabaseRequest.h>
using AlibabaCloud::Rds::Model::DescribeBackupDatabaseRequest;
DescribeBackupDatabaseRequest::DescribeBackupDatabaseRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeBackupDatabase")
{}
DescribeBackupDatabaseRequest::~DescribeBackupDatabaseRequest()
{}
long DescribeBackupDatabaseRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,50 +1,50 @@
/*
* 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/rds/model/DescribeBackupDatabaseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeBackupDatabaseResult::DescribeBackupDatabaseResult() :
ServiceResult()
{}
DescribeBackupDatabaseResult::DescribeBackupDatabaseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeBackupDatabaseResult::~DescribeBackupDatabaseResult()
{}
void DescribeBackupDatabaseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeBackupDatabaseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeBackupDatabaseResult::DescribeBackupDatabaseResult() :
ServiceResult()
{}
DescribeBackupDatabaseResult::DescribeBackupDatabaseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeBackupDatabaseResult::~DescribeBackupDatabaseResult()
{}
void DescribeBackupDatabaseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DatabaseNames"].isNull())
databaseNames_ = value["DatabaseNames"].asString();
}
}
std::string DescribeBackupDatabaseResult::getDatabaseNames()const
{
return databaseNames_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeBackupPolicyRequest.h>
using AlibabaCloud::Rds::Model::DescribeBackupPolicyRequest;
DescribeBackupPolicyRequest::DescribeBackupPolicyRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeBackupPolicy")
{}
DescribeBackupPolicyRequest::~DescribeBackupPolicyRequest()
{}
/*
* 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/rds/model/DescribeBackupPolicyRequest.h>
using AlibabaCloud::Rds::Model::DescribeBackupPolicyRequest;
DescribeBackupPolicyRequest::DescribeBackupPolicyRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeBackupPolicy")
{}
DescribeBackupPolicyRequest::~DescribeBackupPolicyRequest()
{}
long DescribeBackupPolicyRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeBackupPolicyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeBackupPolicyResult::DescribeBackupPolicyResult() :
ServiceResult()
{}
DescribeBackupPolicyResult::DescribeBackupPolicyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeBackupPolicyResult::~DescribeBackupPolicyResult()
{}
void DescribeBackupPolicyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeBackupPolicyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeBackupPolicyResult::DescribeBackupPolicyResult() :
ServiceResult()
{}
DescribeBackupPolicyResult::DescribeBackupPolicyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeBackupPolicyResult::~DescribeBackupPolicyResult()
{}
void DescribeBackupPolicyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto duplicationLocationNode = value["DuplicationLocation"];
if(!duplicationLocationNode["Sotrage"].isNull())
duplicationLocation_.sotrage = duplicationLocationNode["Sotrage"].asString();
@@ -76,9 +76,9 @@ void DescribeBackupPolicyResult::parse(const std::string &payload)
logBackupFrequency_ = value["LogBackupFrequency"].asString();
if(!value["CompressType"].isNull())
compressType_ = value["CompressType"].asString();
}
}
std::string DescribeBackupPolicyResult::getDuplication()const
{
return duplication_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeBackupTasksRequest.h>
using AlibabaCloud::Rds::Model::DescribeBackupTasksRequest;
DescribeBackupTasksRequest::DescribeBackupTasksRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeBackupTasks")
{}
DescribeBackupTasksRequest::~DescribeBackupTasksRequest()
{}
/*
* 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/rds/model/DescribeBackupTasksRequest.h>
using AlibabaCloud::Rds::Model::DescribeBackupTasksRequest;
DescribeBackupTasksRequest::DescribeBackupTasksRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeBackupTasks")
{}
DescribeBackupTasksRequest::~DescribeBackupTasksRequest()
{}
std::string DescribeBackupTasksRequest::getBackupJobId()const
{
return backupJobId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeBackupTasksResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeBackupTasksResult::DescribeBackupTasksResult() :
ServiceResult()
{}
DescribeBackupTasksResult::DescribeBackupTasksResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeBackupTasksResult::~DescribeBackupTasksResult()
{}
void DescribeBackupTasksResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeBackupTasksResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeBackupTasksResult::DescribeBackupTasksResult() :
ServiceResult()
{}
DescribeBackupTasksResult::DescribeBackupTasksResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeBackupTasksResult::~DescribeBackupTasksResult()
{}
void DescribeBackupTasksResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItems = value["Items"]["BackupJob"];
for (auto value : allItems)
{
@@ -60,9 +60,9 @@ void DescribeBackupTasksResult::parse(const std::string &payload)
itemsObject.backupId = value["BackupId"].asString();
items_.push_back(itemsObject);
}
}
}
std::vector<DescribeBackupTasksResult::BackupJob> DescribeBackupTasksResult::getItems()const
{
return items_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeBackupsRequest.h>
using AlibabaCloud::Rds::Model::DescribeBackupsRequest;
DescribeBackupsRequest::DescribeBackupsRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeBackups")
{}
DescribeBackupsRequest::~DescribeBackupsRequest()
{}
/*
* 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/rds/model/DescribeBackupsRequest.h>
using AlibabaCloud::Rds::Model::DescribeBackupsRequest;
DescribeBackupsRequest::DescribeBackupsRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeBackups")
{}
DescribeBackupsRequest::~DescribeBackupsRequest()
{}
long DescribeBackupsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeBackupsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeBackupsResult::DescribeBackupsResult() :
ServiceResult()
{}
DescribeBackupsResult::DescribeBackupsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeBackupsResult::~DescribeBackupsResult()
{}
void DescribeBackupsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeBackupsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeBackupsResult::DescribeBackupsResult() :
ServiceResult()
{}
DescribeBackupsResult::DescribeBackupsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeBackupsResult::~DescribeBackupsResult()
{}
void DescribeBackupsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItems = value["Items"]["Backup"];
for (auto value : allItems)
{
@@ -94,9 +94,9 @@ void DescribeBackupsResult::parse(const std::string &payload)
pageRecordCount_ = value["PageRecordCount"].asString();
if(!value["TotalBackupSize"].isNull())
totalBackupSize_ = std::stol(value["TotalBackupSize"].asString());
}
}
std::string DescribeBackupsResult::getTotalRecordCount()const
{
return totalRecordCount_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeBinlogFilesRequest.h>
using AlibabaCloud::Rds::Model::DescribeBinlogFilesRequest;
DescribeBinlogFilesRequest::DescribeBinlogFilesRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeBinlogFiles")
{}
DescribeBinlogFilesRequest::~DescribeBinlogFilesRequest()
{}
/*
* 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/rds/model/DescribeBinlogFilesRequest.h>
using AlibabaCloud::Rds::Model::DescribeBinlogFilesRequest;
DescribeBinlogFilesRequest::DescribeBinlogFilesRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeBinlogFiles")
{}
DescribeBinlogFilesRequest::~DescribeBinlogFilesRequest()
{}
long DescribeBinlogFilesRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeBinlogFilesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeBinlogFilesResult::DescribeBinlogFilesResult() :
ServiceResult()
{}
DescribeBinlogFilesResult::DescribeBinlogFilesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeBinlogFilesResult::~DescribeBinlogFilesResult()
{}
void DescribeBinlogFilesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeBinlogFilesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeBinlogFilesResult::DescribeBinlogFilesResult() :
ServiceResult()
{}
DescribeBinlogFilesResult::DescribeBinlogFilesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeBinlogFilesResult::~DescribeBinlogFilesResult()
{}
void DescribeBinlogFilesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItems = value["Items"]["BinLogFile"];
for (auto value : allItems)
{
@@ -72,9 +72,9 @@ void DescribeBinlogFilesResult::parse(const std::string &payload)
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
if(!value["TotalFileSize"].isNull())
totalFileSize_ = std::stol(value["TotalFileSize"].asString());
}
}
int DescribeBinlogFilesResult::getTotalRecordCount()const
{
return totalRecordCount_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeCharacterSetNameRequest.h>
using AlibabaCloud::Rds::Model::DescribeCharacterSetNameRequest;
DescribeCharacterSetNameRequest::DescribeCharacterSetNameRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeCharacterSetName")
{}
DescribeCharacterSetNameRequest::~DescribeCharacterSetNameRequest()
{}
/*
* 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/rds/model/DescribeCharacterSetNameRequest.h>
using AlibabaCloud::Rds::Model::DescribeCharacterSetNameRequest;
DescribeCharacterSetNameRequest::DescribeCharacterSetNameRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeCharacterSetName")
{}
DescribeCharacterSetNameRequest::~DescribeCharacterSetNameRequest()
{}
long DescribeCharacterSetNameRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,53 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/rds/model/DescribeCharacterSetNameResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeCharacterSetNameResult::DescribeCharacterSetNameResult() :
ServiceResult()
{}
DescribeCharacterSetNameResult::DescribeCharacterSetNameResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCharacterSetNameResult::~DescribeCharacterSetNameResult()
{}
void DescribeCharacterSetNameResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeCharacterSetNameResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeCharacterSetNameResult::DescribeCharacterSetNameResult() :
ServiceResult()
{}
DescribeCharacterSetNameResult::DescribeCharacterSetNameResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCharacterSetNameResult::~DescribeCharacterSetNameResult()
{}
void DescribeCharacterSetNameResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allCharacterSetNameItems = value["CharacterSetNameItems"]["CharacterSetName"];
for (const auto &item : allCharacterSetNameItems)
characterSetNameItems_.push_back(item.asString());
if(!value["Engine"].isNull())
engine_ = value["Engine"].asString();
}
}
std::vector<std::string> DescribeCharacterSetNameResult::getCharacterSetNameItems()const
{
return characterSetNameItems_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeCloudDbExpertServiceRequest.h>
using AlibabaCloud::Rds::Model::DescribeCloudDbExpertServiceRequest;
DescribeCloudDbExpertServiceRequest::DescribeCloudDbExpertServiceRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeCloudDbExpertService")
{}
DescribeCloudDbExpertServiceRequest::~DescribeCloudDbExpertServiceRequest()
{}
/*
* 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/rds/model/DescribeCloudDbExpertServiceRequest.h>
using AlibabaCloud::Rds::Model::DescribeCloudDbExpertServiceRequest;
DescribeCloudDbExpertServiceRequest::DescribeCloudDbExpertServiceRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeCloudDbExpertService")
{}
DescribeCloudDbExpertServiceRequest::~DescribeCloudDbExpertServiceRequest()
{}
std::string DescribeCloudDbExpertServiceRequest::getServiceRequestParam()const
{
return serviceRequestParam_;

View File

@@ -1,54 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/rds/model/DescribeCloudDbExpertServiceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeCloudDbExpertServiceResult::DescribeCloudDbExpertServiceResult() :
ServiceResult()
{}
DescribeCloudDbExpertServiceResult::DescribeCloudDbExpertServiceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCloudDbExpertServiceResult::~DescribeCloudDbExpertServiceResult()
{}
void DescribeCloudDbExpertServiceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeCloudDbExpertServiceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeCloudDbExpertServiceResult::DescribeCloudDbExpertServiceResult() :
ServiceResult()
{}
DescribeCloudDbExpertServiceResult::DescribeCloudDbExpertServiceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCloudDbExpertServiceResult::~DescribeCloudDbExpertServiceResult()
{}
void DescribeCloudDbExpertServiceResult::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["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
}
}
std::string DescribeCloudDbExpertServiceResult::getMessage()const
{
return message_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeCollationTimeZonesRequest.h>
using AlibabaCloud::Rds::Model::DescribeCollationTimeZonesRequest;
DescribeCollationTimeZonesRequest::DescribeCollationTimeZonesRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeCollationTimeZones")
{}
DescribeCollationTimeZonesRequest::~DescribeCollationTimeZonesRequest()
{}
/*
* 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/rds/model/DescribeCollationTimeZonesRequest.h>
using AlibabaCloud::Rds::Model::DescribeCollationTimeZonesRequest;
DescribeCollationTimeZonesRequest::DescribeCollationTimeZonesRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeCollationTimeZones")
{}
DescribeCollationTimeZonesRequest::~DescribeCollationTimeZonesRequest()
{}
long DescribeCollationTimeZonesRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeCollationTimeZonesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeCollationTimeZonesResult::DescribeCollationTimeZonesResult() :
ServiceResult()
{}
DescribeCollationTimeZonesResult::DescribeCollationTimeZonesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCollationTimeZonesResult::~DescribeCollationTimeZonesResult()
{}
void DescribeCollationTimeZonesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeCollationTimeZonesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeCollationTimeZonesResult::DescribeCollationTimeZonesResult() :
ServiceResult()
{}
DescribeCollationTimeZonesResult::DescribeCollationTimeZonesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCollationTimeZonesResult::~DescribeCollationTimeZonesResult()
{}
void DescribeCollationTimeZonesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allCollationTimeZones = value["CollationTimeZones"]["CollationTimeZone"];
for (auto value : allCollationTimeZones)
{
@@ -52,9 +52,9 @@ void DescribeCollationTimeZonesResult::parse(const std::string &payload)
collationTimeZonesObject.description = value["Description"].asString();
collationTimeZones_.push_back(collationTimeZonesObject);
}
}
}
std::vector<DescribeCollationTimeZonesResult::CollationTimeZone> DescribeCollationTimeZonesResult::getCollationTimeZones()const
{
return collationTimeZones_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeDBInstanceAttributeRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceAttributeRequest;
DescribeDBInstanceAttributeRequest::DescribeDBInstanceAttributeRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceAttribute")
{}
DescribeDBInstanceAttributeRequest::~DescribeDBInstanceAttributeRequest()
{}
/*
* 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/rds/model/DescribeDBInstanceAttributeRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceAttributeRequest;
DescribeDBInstanceAttributeRequest::DescribeDBInstanceAttributeRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceAttribute")
{}
DescribeDBInstanceAttributeRequest::~DescribeDBInstanceAttributeRequest()
{}
std::string DescribeDBInstanceAttributeRequest::getResourceGroupId()const
{
return resourceGroupId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeDBInstanceAttributeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceAttributeResult::DescribeDBInstanceAttributeResult() :
ServiceResult()
{}
DescribeDBInstanceAttributeResult::DescribeDBInstanceAttributeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceAttributeResult::~DescribeDBInstanceAttributeResult()
{}
void DescribeDBInstanceAttributeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeDBInstanceAttributeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceAttributeResult::DescribeDBInstanceAttributeResult() :
ServiceResult()
{}
DescribeDBInstanceAttributeResult::DescribeDBInstanceAttributeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceAttributeResult::~DescribeDBInstanceAttributeResult()
{}
void DescribeDBInstanceAttributeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItems = value["Items"]["DBInstanceAttribute"];
for (auto value : allItems)
{
@@ -206,9 +206,9 @@ void DescribeDBInstanceAttributeResult::parse(const std::string &payload)
itemsObject.extra.dBInstanceId.push_back(value.asString());
items_.push_back(itemsObject);
}
}
}
std::vector<DescribeDBInstanceAttributeResult::DBInstanceAttribute> DescribeDBInstanceAttributeResult::getItems()const
{
return items_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeDBInstanceByTagsRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceByTagsRequest;
DescribeDBInstanceByTagsRequest::DescribeDBInstanceByTagsRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceByTags")
{}
DescribeDBInstanceByTagsRequest::~DescribeDBInstanceByTagsRequest()
{}
/*
* 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/rds/model/DescribeDBInstanceByTagsRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceByTagsRequest;
DescribeDBInstanceByTagsRequest::DescribeDBInstanceByTagsRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceByTags")
{}
DescribeDBInstanceByTagsRequest::~DescribeDBInstanceByTagsRequest()
{}
long DescribeDBInstanceByTagsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeDBInstanceByTagsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceByTagsResult::DescribeDBInstanceByTagsResult() :
ServiceResult()
{}
DescribeDBInstanceByTagsResult::DescribeDBInstanceByTagsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceByTagsResult::~DescribeDBInstanceByTagsResult()
{}
void DescribeDBInstanceByTagsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeDBInstanceByTagsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceByTagsResult::DescribeDBInstanceByTagsResult() :
ServiceResult()
{}
DescribeDBInstanceByTagsResult::DescribeDBInstanceByTagsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceByTagsResult::~DescribeDBInstanceByTagsResult()
{}
void DescribeDBInstanceByTagsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItems = value["Items"]["DBInstanceTag"];
for (auto value : allItems)
{
@@ -64,9 +64,9 @@ void DescribeDBInstanceByTagsResult::parse(const std::string &payload)
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
if(!value["TotalRecordCount"].isNull())
totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString());
}
}
int DescribeDBInstanceByTagsResult::getTotalRecordCount()const
{
return totalRecordCount_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeDBInstanceHAConfigRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceHAConfigRequest;
DescribeDBInstanceHAConfigRequest::DescribeDBInstanceHAConfigRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceHAConfig")
{}
DescribeDBInstanceHAConfigRequest::~DescribeDBInstanceHAConfigRequest()
{}
/*
* 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/rds/model/DescribeDBInstanceHAConfigRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceHAConfigRequest;
DescribeDBInstanceHAConfigRequest::DescribeDBInstanceHAConfigRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceHAConfig")
{}
DescribeDBInstanceHAConfigRequest::~DescribeDBInstanceHAConfigRequest()
{}
long DescribeDBInstanceHAConfigRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeDBInstanceHAConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceHAConfigResult::DescribeDBInstanceHAConfigResult() :
ServiceResult()
{}
DescribeDBInstanceHAConfigResult::DescribeDBInstanceHAConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceHAConfigResult::~DescribeDBInstanceHAConfigResult()
{}
void DescribeDBInstanceHAConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeDBInstanceHAConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceHAConfigResult::DescribeDBInstanceHAConfigResult() :
ServiceResult()
{}
DescribeDBInstanceHAConfigResult::DescribeDBInstanceHAConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceHAConfigResult::~DescribeDBInstanceHAConfigResult()
{}
void DescribeDBInstanceHAConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allHostInstanceInfos = value["HostInstanceInfos"]["NodeInfo"];
for (auto value : allHostInstanceInfos)
{
@@ -66,9 +66,9 @@ void DescribeDBInstanceHAConfigResult::parse(const std::string &payload)
syncMode_ = value["SyncMode"].asString();
if(!value["HAMode"].isNull())
hAMode_ = value["HAMode"].asString();
}
}
std::string DescribeDBInstanceHAConfigResult::getDBInstanceId()const
{
return dBInstanceId_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeDBInstanceIPArrayListRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceIPArrayListRequest;
DescribeDBInstanceIPArrayListRequest::DescribeDBInstanceIPArrayListRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceIPArrayList")
{}
DescribeDBInstanceIPArrayListRequest::~DescribeDBInstanceIPArrayListRequest()
{}
/*
* 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/rds/model/DescribeDBInstanceIPArrayListRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceIPArrayListRequest;
DescribeDBInstanceIPArrayListRequest::DescribeDBInstanceIPArrayListRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceIPArrayList")
{}
DescribeDBInstanceIPArrayListRequest::~DescribeDBInstanceIPArrayListRequest()
{}
long DescribeDBInstanceIPArrayListRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeDBInstanceIPArrayListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceIPArrayListResult::DescribeDBInstanceIPArrayListResult() :
ServiceResult()
{}
DescribeDBInstanceIPArrayListResult::DescribeDBInstanceIPArrayListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceIPArrayListResult::~DescribeDBInstanceIPArrayListResult()
{}
void DescribeDBInstanceIPArrayListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeDBInstanceIPArrayListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceIPArrayListResult::DescribeDBInstanceIPArrayListResult() :
ServiceResult()
{}
DescribeDBInstanceIPArrayListResult::DescribeDBInstanceIPArrayListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceIPArrayListResult::~DescribeDBInstanceIPArrayListResult()
{}
void DescribeDBInstanceIPArrayListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItems = value["Items"]["DBInstanceIPArray"];
for (auto value : allItems)
{
@@ -56,9 +56,9 @@ void DescribeDBInstanceIPArrayListResult::parse(const std::string &payload)
itemsObject.whitelistNetworkType = value["WhitelistNetworkType"].asString();
items_.push_back(itemsObject);
}
}
}
std::vector<DescribeDBInstanceIPArrayListResult::DBInstanceIPArray> DescribeDBInstanceIPArrayListResult::getItems()const
{
return items_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeDBInstanceMonitorRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceMonitorRequest;
DescribeDBInstanceMonitorRequest::DescribeDBInstanceMonitorRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceMonitor")
{}
DescribeDBInstanceMonitorRequest::~DescribeDBInstanceMonitorRequest()
{}
/*
* 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/rds/model/DescribeDBInstanceMonitorRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceMonitorRequest;
DescribeDBInstanceMonitorRequest::DescribeDBInstanceMonitorRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceMonitor")
{}
DescribeDBInstanceMonitorRequest::~DescribeDBInstanceMonitorRequest()
{}
long DescribeDBInstanceMonitorRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,50 +1,50 @@
/*
* 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/rds/model/DescribeDBInstanceMonitorResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceMonitorResult::DescribeDBInstanceMonitorResult() :
ServiceResult()
{}
DescribeDBInstanceMonitorResult::DescribeDBInstanceMonitorResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceMonitorResult::~DescribeDBInstanceMonitorResult()
{}
void DescribeDBInstanceMonitorResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeDBInstanceMonitorResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceMonitorResult::DescribeDBInstanceMonitorResult() :
ServiceResult()
{}
DescribeDBInstanceMonitorResult::DescribeDBInstanceMonitorResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceMonitorResult::~DescribeDBInstanceMonitorResult()
{}
void DescribeDBInstanceMonitorResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Period"].isNull())
period_ = value["Period"].asString();
}
}
std::string DescribeDBInstanceMonitorResult::getPeriod()const
{
return period_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeDBInstanceNetInfoRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceNetInfoRequest;
DescribeDBInstanceNetInfoRequest::DescribeDBInstanceNetInfoRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceNetInfo")
{}
DescribeDBInstanceNetInfoRequest::~DescribeDBInstanceNetInfoRequest()
{}
/*
* 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/rds/model/DescribeDBInstanceNetInfoRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceNetInfoRequest;
DescribeDBInstanceNetInfoRequest::DescribeDBInstanceNetInfoRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceNetInfo")
{}
DescribeDBInstanceNetInfoRequest::~DescribeDBInstanceNetInfoRequest()
{}
long DescribeDBInstanceNetInfoRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeDBInstanceNetInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceNetInfoResult::DescribeDBInstanceNetInfoResult() :
ServiceResult()
{}
DescribeDBInstanceNetInfoResult::DescribeDBInstanceNetInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceNetInfoResult::~DescribeDBInstanceNetInfoResult()
{}
void DescribeDBInstanceNetInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeDBInstanceNetInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceNetInfoResult::DescribeDBInstanceNetInfoResult() :
ServiceResult()
{}
DescribeDBInstanceNetInfoResult::DescribeDBInstanceNetInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceNetInfoResult::~DescribeDBInstanceNetInfoResult()
{}
void DescribeDBInstanceNetInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDBInstanceNetInfos = value["DBInstanceNetInfos"]["DBInstanceNetInfo"];
for (auto value : allDBInstanceNetInfos)
{
@@ -96,9 +96,9 @@ void DescribeDBInstanceNetInfoResult::parse(const std::string &payload)
instanceNetworkType_ = value["InstanceNetworkType"].asString();
if(!value["SecurityIPMode"].isNull())
securityIPMode_ = value["SecurityIPMode"].asString();
}
}
std::vector<DescribeDBInstanceNetInfoResult::DBInstanceNetInfo> DescribeDBInstanceNetInfoResult::getDBInstanceNetInfos()const
{
return dBInstanceNetInfos_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeDBInstancePerformanceRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstancePerformanceRequest;
DescribeDBInstancePerformanceRequest::DescribeDBInstancePerformanceRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstancePerformance")
{}
DescribeDBInstancePerformanceRequest::~DescribeDBInstancePerformanceRequest()
{}
/*
* 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/rds/model/DescribeDBInstancePerformanceRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstancePerformanceRequest;
DescribeDBInstancePerformanceRequest::DescribeDBInstancePerformanceRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstancePerformance")
{}
DescribeDBInstancePerformanceRequest::~DescribeDBInstancePerformanceRequest()
{}
long DescribeDBInstancePerformanceRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,45 @@
/*
* 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/rds/model/DescribeDBInstancePerformanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstancePerformanceResult::DescribeDBInstancePerformanceResult() :
ServiceResult()
{}
DescribeDBInstancePerformanceResult::DescribeDBInstancePerformanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstancePerformanceResult::~DescribeDBInstancePerformanceResult()
{}
void DescribeDBInstancePerformanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeDBInstancePerformanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstancePerformanceResult::DescribeDBInstancePerformanceResult() :
ServiceResult()
{}
DescribeDBInstancePerformanceResult::DescribeDBInstancePerformanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstancePerformanceResult::~DescribeDBInstancePerformanceResult()
{}
void DescribeDBInstancePerformanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allPerformanceKeys = value["PerformanceKeys"]["PerformanceKey"];
for (auto value : allPerformanceKeys)
{
@@ -70,9 +70,9 @@ void DescribeDBInstancePerformanceResult::parse(const std::string &payload)
startTime_ = value["StartTime"].asString();
if(!value["EndTime"].isNull())
endTime_ = value["EndTime"].asString();
}
}
std::vector<DescribeDBInstancePerformanceResult::PerformanceKey> DescribeDBInstancePerformanceResult::getPerformanceKeys()const
{
return performanceKeys_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeDBInstanceProxyConfigurationRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceProxyConfigurationRequest;
DescribeDBInstanceProxyConfigurationRequest::DescribeDBInstanceProxyConfigurationRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceProxyConfiguration")
{}
DescribeDBInstanceProxyConfigurationRequest::~DescribeDBInstanceProxyConfigurationRequest()
{}
/*
* 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/rds/model/DescribeDBInstanceProxyConfigurationRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceProxyConfigurationRequest;
DescribeDBInstanceProxyConfigurationRequest::DescribeDBInstanceProxyConfigurationRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceProxyConfiguration")
{}
DescribeDBInstanceProxyConfigurationRequest::~DescribeDBInstanceProxyConfigurationRequest()
{}
long DescribeDBInstanceProxyConfigurationRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,54 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/rds/model/DescribeDBInstanceProxyConfigurationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceProxyConfigurationResult::DescribeDBInstanceProxyConfigurationResult() :
ServiceResult()
{}
DescribeDBInstanceProxyConfigurationResult::DescribeDBInstanceProxyConfigurationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceProxyConfigurationResult::~DescribeDBInstanceProxyConfigurationResult()
{}
void DescribeDBInstanceProxyConfigurationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/rds/model/DescribeDBInstanceProxyConfigurationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Rds;
using namespace AlibabaCloud::Rds::Model;
DescribeDBInstanceProxyConfigurationResult::DescribeDBInstanceProxyConfigurationResult() :
ServiceResult()
{}
DescribeDBInstanceProxyConfigurationResult::DescribeDBInstanceProxyConfigurationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDBInstanceProxyConfigurationResult::~DescribeDBInstanceProxyConfigurationResult()
{}
void DescribeDBInstanceProxyConfigurationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["TransparentSwitchConfiguration"].isNull())
transparentSwitchConfiguration_ = value["TransparentSwitchConfiguration"].asString();
if(!value["PersistentConnectionsConfiguration"].isNull())
persistentConnectionsConfiguration_ = value["PersistentConnectionsConfiguration"].asString();
if(!value["AttacksProtectionConfiguration"].isNull())
attacksProtectionConfiguration_ = value["AttacksProtectionConfiguration"].asString();
}
}
std::string DescribeDBInstanceProxyConfigurationResult::getPersistentConnectionsConfiguration()const
{
return persistentConnectionsConfiguration_;

View File

@@ -1,30 +1,30 @@
/*
* 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/rds/model/DescribeDBInstanceSSLRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceSSLRequest;
DescribeDBInstanceSSLRequest::DescribeDBInstanceSSLRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceSSL")
{}
DescribeDBInstanceSSLRequest::~DescribeDBInstanceSSLRequest()
{}
/*
* 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/rds/model/DescribeDBInstanceSSLRequest.h>
using AlibabaCloud::Rds::Model::DescribeDBInstanceSSLRequest;
DescribeDBInstanceSSLRequest::DescribeDBInstanceSSLRequest() :
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceSSL")
{}
DescribeDBInstanceSSLRequest::~DescribeDBInstanceSSLRequest()
{}
long DescribeDBInstanceSSLRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

Some files were not shown because too many files have changed in this diff Show More