由温仰发起的RDS SDK自动发布, BUILD_ID=464, 版本号:1.2.11
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2018-03-15 Version: 1.2.11
|
||||
1, Synchronize to the latest api list
|
||||
|
||||
2018-03-15 Version: 1.2.10
|
||||
1, Add QueryCustomerSaleInfo API.
|
||||
|
||||
|
||||
@@ -171,8 +171,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/DescribeInstanceAutoRenewalAttributeResult.h
|
||||
include/alibabacloud/rds/model/RestoreDBInstanceRequest.h
|
||||
include/alibabacloud/rds/model/RestoreDBInstanceResult.h
|
||||
include/alibabacloud/rds/model/AddBuDBInstanceRelationRequest.h
|
||||
include/alibabacloud/rds/model/AddBuDBInstanceRelationResult.h
|
||||
include/alibabacloud/rds/model/RevokeOperatorPermissionRequest.h
|
||||
include/alibabacloud/rds/model/RevokeOperatorPermissionResult.h
|
||||
include/alibabacloud/rds/model/ModifyDBInstanceSpecRequest.h
|
||||
@@ -261,8 +259,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/ModifyReplicaRelationResult.h
|
||||
include/alibabacloud/rds/model/ModifyDBInstanceNetworkTypeRequest.h
|
||||
include/alibabacloud/rds/model/ModifyDBInstanceNetworkTypeResult.h
|
||||
include/alibabacloud/rds/model/DescribeDBInstanceNetworkRequest.h
|
||||
include/alibabacloud/rds/model/DescribeDBInstanceNetworkResult.h
|
||||
include/alibabacloud/rds/model/DescribeAbnormalDBInstancesRequest.h
|
||||
include/alibabacloud/rds/model/DescribeAbnormalDBInstancesResult.h
|
||||
include/alibabacloud/rds/model/DescribeSlowLogsRequest.h
|
||||
@@ -279,8 +275,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/ModifyDBInstanceMaintainTimeResult.h
|
||||
include/alibabacloud/rds/model/ModifyDBInstanceDescriptionRequest.h
|
||||
include/alibabacloud/rds/model/ModifyDBInstanceDescriptionResult.h
|
||||
include/alibabacloud/rds/model/DescribeDBInstanceNetworkDetailRequest.h
|
||||
include/alibabacloud/rds/model/DescribeDBInstanceNetworkDetailResult.h
|
||||
include/alibabacloud/rds/model/DescribeReplicaPerformanceRequest.h
|
||||
include/alibabacloud/rds/model/DescribeReplicaPerformanceResult.h
|
||||
include/alibabacloud/rds/model/DescribeSQLDiagnosisRequest.h
|
||||
@@ -339,8 +333,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/CreateDampPolicyResult.h
|
||||
include/alibabacloud/rds/model/DescribeDBInstancesByPerformanceRequest.h
|
||||
include/alibabacloud/rds/model/DescribeDBInstancesByPerformanceResult.h
|
||||
include/alibabacloud/rds/model/RenewDBInstanceRequest.h
|
||||
include/alibabacloud/rds/model/RenewDBInstanceResult.h
|
||||
include/alibabacloud/rds/model/QueryPriceForBuyRequest.h
|
||||
include/alibabacloud/rds/model/QueryPriceForBuyResult.h
|
||||
include/alibabacloud/rds/model/DescribeSQLReportsRequest.h
|
||||
@@ -516,8 +508,6 @@ set(rds_src
|
||||
src/model/DescribeInstanceAutoRenewalAttributeResult.cc
|
||||
src/model/RestoreDBInstanceRequest.cc
|
||||
src/model/RestoreDBInstanceResult.cc
|
||||
src/model/AddBuDBInstanceRelationRequest.cc
|
||||
src/model/AddBuDBInstanceRelationResult.cc
|
||||
src/model/RevokeOperatorPermissionRequest.cc
|
||||
src/model/RevokeOperatorPermissionResult.cc
|
||||
src/model/ModifyDBInstanceSpecRequest.cc
|
||||
@@ -606,8 +596,6 @@ set(rds_src
|
||||
src/model/ModifyReplicaRelationResult.cc
|
||||
src/model/ModifyDBInstanceNetworkTypeRequest.cc
|
||||
src/model/ModifyDBInstanceNetworkTypeResult.cc
|
||||
src/model/DescribeDBInstanceNetworkRequest.cc
|
||||
src/model/DescribeDBInstanceNetworkResult.cc
|
||||
src/model/DescribeAbnormalDBInstancesRequest.cc
|
||||
src/model/DescribeAbnormalDBInstancesResult.cc
|
||||
src/model/DescribeSlowLogsRequest.cc
|
||||
@@ -624,8 +612,6 @@ set(rds_src
|
||||
src/model/ModifyDBInstanceMaintainTimeResult.cc
|
||||
src/model/ModifyDBInstanceDescriptionRequest.cc
|
||||
src/model/ModifyDBInstanceDescriptionResult.cc
|
||||
src/model/DescribeDBInstanceNetworkDetailRequest.cc
|
||||
src/model/DescribeDBInstanceNetworkDetailResult.cc
|
||||
src/model/DescribeReplicaPerformanceRequest.cc
|
||||
src/model/DescribeReplicaPerformanceResult.cc
|
||||
src/model/DescribeSQLDiagnosisRequest.cc
|
||||
@@ -684,8 +670,6 @@ set(rds_src
|
||||
src/model/CreateDampPolicyResult.cc
|
||||
src/model/DescribeDBInstancesByPerformanceRequest.cc
|
||||
src/model/DescribeDBInstancesByPerformanceResult.cc
|
||||
src/model/RenewDBInstanceRequest.cc
|
||||
src/model/RenewDBInstanceResult.cc
|
||||
src/model/QueryPriceForBuyRequest.cc
|
||||
src/model/QueryPriceForBuyResult.cc
|
||||
src/model/DescribeSQLReportsRequest.cc
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_ADDBUDBINSTANCERELATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_ADDBUDBINSTANCERELATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT AddBuDBInstanceRelationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddBuDBInstanceRelationRequest();
|
||||
~AddBuDBInstanceRelationRequest();
|
||||
|
||||
std::string getBusinessUnit()const;
|
||||
void setBusinessUnit(const std::string& businessUnit);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string businessUnit_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBInstanceId_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_ADDBUDBINSTANCERELATIONREQUEST_H_
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_ADDBUDBINSTANCERELATIONRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_ADDBUDBINSTANCERELATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT AddBuDBInstanceRelationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddBuDBInstanceRelationResult();
|
||||
explicit AddBuDBInstanceRelationResult(const std::string &payload);
|
||||
~AddBuDBInstanceRelationResult();
|
||||
std::string getBusinessUnit()const;
|
||||
std::string getDBInstanceName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string businessUnit_;
|
||||
std::string dBInstanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_ADDBUDBINSTANCERELATIONRESULT_H_
|
||||
@@ -72,6 +72,7 @@ namespace AlibabaCloud
|
||||
std::string readDelayTime;
|
||||
std::string creationTime;
|
||||
std::string connectionMode;
|
||||
std::string vpcCloudInstanceId;
|
||||
std::string connectionString;
|
||||
std::string expireTime;
|
||||
std::string advancedFeatures;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getWhitelistNetworkType()const;
|
||||
void setWhitelistNetworkType(const std::string& whitelistNetworkType);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -47,17 +49,15 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getWhitelistNetType()const;
|
||||
void setWhitelistNetType(const std::string& whitelistNetType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string whitelistNetworkType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string dBInstanceId_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string whitelistNetType_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,8 +36,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string dBInstanceIPArrayAttribute;
|
||||
std::string securityIPList;
|
||||
std::string whitelistNetworkType;
|
||||
std::string dBInstanceIPArrayName;
|
||||
std::string whitelistNetType;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETWORKDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETWORKDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceNetworkDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDBInstanceNetworkDetailRequest();
|
||||
~DescribeDBInstanceNetworkDetailRequest();
|
||||
|
||||
std::string getEndPoint()const;
|
||||
void setEndPoint(const std::string& endPoint);
|
||||
std::string getStartPoint()const;
|
||||
void setStartPoint(const std::string& startPoint);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string endPoint_;
|
||||
std::string startPoint_;
|
||||
std::string endTime_;
|
||||
std::string dBInstanceId_;
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETWORKDETAILREQUEST_H_
|
||||
@@ -1,86 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETWORKDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETWORKDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceNetworkDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct NetworkKey
|
||||
{
|
||||
struct NetworkValue
|
||||
{
|
||||
std::string value;
|
||||
std::string dateTime;
|
||||
};
|
||||
std::vector<NetworkKey::NetworkValue> values;
|
||||
std::string unit;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBInstanceNetworkDetailResult();
|
||||
explicit DescribeDBInstanceNetworkDetailResult(const std::string &payload);
|
||||
~DescribeDBInstanceNetworkDetailResult();
|
||||
std::string getEndTime()const;
|
||||
std::string getNetworkLatency()const;
|
||||
std::string getNetworkTrafficOut()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getNetworkRequest()const;
|
||||
std::string getAbortedConnection()const;
|
||||
std::string getBackendLatency()const;
|
||||
std::string getDBInstanceId()const;
|
||||
std::string getActiveConnection()const;
|
||||
std::string getNetworkErrors()const;
|
||||
std::string getNewConnection()const;
|
||||
std::string getNetworkTrafficIn()const;
|
||||
std::vector<NetworkKey> getNetworkDetail()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string networkLatency_;
|
||||
std::string networkTrafficOut_;
|
||||
std::string startTime_;
|
||||
std::string networkRequest_;
|
||||
std::string abortedConnection_;
|
||||
std::string backendLatency_;
|
||||
std::string dBInstanceId_;
|
||||
std::string activeConnection_;
|
||||
std::string networkErrors_;
|
||||
std::string newConnection_;
|
||||
std::string networkTrafficIn_;
|
||||
std::vector<NetworkKey> networkDetail_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETWORKDETAILRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETWORKREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETWORKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceNetworkRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDBInstanceNetworkRequest();
|
||||
~DescribeDBInstanceNetworkRequest();
|
||||
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string dBInstanceId_;
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETWORKREQUEST_H_
|
||||
@@ -1,67 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETWORKRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETWORKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceNetworkResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TopologyItem
|
||||
{
|
||||
std::string networkLatency;
|
||||
std::string networkTrafficOut;
|
||||
std::string networkErrors;
|
||||
std::string startPoint;
|
||||
std::string networkTrafficIn;
|
||||
std::string endPoint;
|
||||
std::string backendLatency;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBInstanceNetworkResult();
|
||||
explicit DescribeDBInstanceNetworkResult(const std::string &payload);
|
||||
~DescribeDBInstanceNetworkResult();
|
||||
std::string getEndTime()const;
|
||||
std::string getDBInstanceId()const;
|
||||
std::string getStartTime()const;
|
||||
std::vector<TopologyItem> getTopology()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string dBInstanceId_;
|
||||
std::string startTime_;
|
||||
std::vector<TopologyItem> topology_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETWORKRESULT_H_
|
||||
@@ -53,7 +53,6 @@ namespace AlibabaCloud
|
||||
std::string engine;
|
||||
std::string dBInstanceDescription;
|
||||
std::string tags;
|
||||
std::string dBInstanceName;
|
||||
std::string engineVersion;
|
||||
std::string dBInstanceStatus;
|
||||
int maxConnections;
|
||||
@@ -66,7 +65,6 @@ namespace AlibabaCloud
|
||||
std::string guardDBInstanceId;
|
||||
std::string accountType;
|
||||
int maxIOPS;
|
||||
int insId;
|
||||
std::string supportUpgradeAccountType;
|
||||
std::string vpcId;
|
||||
std::string masterInstanceId;
|
||||
|
||||
@@ -63,6 +63,7 @@ namespace AlibabaCloud
|
||||
std::string vpcId;
|
||||
std::string masterInstanceId;
|
||||
std::string connectionMode;
|
||||
std::string vpcCloudInstanceId;
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
};
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_RENEWDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_RENEWDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT RenewDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RenewDBInstanceRequest();
|
||||
~RenewDBInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPeriod()const;
|
||||
void setPeriod(const std::string& period);
|
||||
std::string getAutoPay()const;
|
||||
void setAutoPay(const std::string& autoPay);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string period_;
|
||||
std::string autoPay_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
std::string dBInstanceId_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_RENEWDBINSTANCEREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_RENEWDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_RENEWDBINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT RenewDBInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RenewDBInstanceResult();
|
||||
explicit RenewDBInstanceResult(const std::string &payload);
|
||||
~RenewDBInstanceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_RENEWDBINSTANCERESULT_H_
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR 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/AddBuDBInstanceRelationRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::AddBuDBInstanceRelationRequest;
|
||||
|
||||
AddBuDBInstanceRelationRequest::AddBuDBInstanceRelationRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "AddBuDBInstanceRelation")
|
||||
{}
|
||||
|
||||
AddBuDBInstanceRelationRequest::~AddBuDBInstanceRelationRequest()
|
||||
{}
|
||||
|
||||
std::string AddBuDBInstanceRelationRequest::getBusinessUnit()const
|
||||
{
|
||||
return businessUnit_;
|
||||
}
|
||||
|
||||
void AddBuDBInstanceRelationRequest::setBusinessUnit(const std::string& businessUnit)
|
||||
{
|
||||
businessUnit_ = businessUnit;
|
||||
setParameter("BusinessUnit", businessUnit);
|
||||
}
|
||||
|
||||
long AddBuDBInstanceRelationRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AddBuDBInstanceRelationRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddBuDBInstanceRelationRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AddBuDBInstanceRelationRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddBuDBInstanceRelationRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void AddBuDBInstanceRelationRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
long AddBuDBInstanceRelationRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddBuDBInstanceRelationRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddBuDBInstanceRelationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddBuDBInstanceRelationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR 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/AddBuDBInstanceRelationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
AddBuDBInstanceRelationResult::AddBuDBInstanceRelationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddBuDBInstanceRelationResult::AddBuDBInstanceRelationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddBuDBInstanceRelationResult::~AddBuDBInstanceRelationResult()
|
||||
{}
|
||||
|
||||
void AddBuDBInstanceRelationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BusinessUnit"].isNull())
|
||||
businessUnit_ = value["BusinessUnit"].asString();
|
||||
if(!value["DBInstanceName"].isNull())
|
||||
dBInstanceName_ = value["DBInstanceName"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddBuDBInstanceRelationResult::getBusinessUnit()const
|
||||
{
|
||||
return businessUnit_;
|
||||
}
|
||||
|
||||
std::string AddBuDBInstanceRelationResult::getDBInstanceName()const
|
||||
{
|
||||
return dBInstanceName_;
|
||||
}
|
||||
|
||||
@@ -92,6 +92,8 @@ void DescribeDBInstanceAttributeResult::parse(const std::string &payload)
|
||||
itemsObject.dBInstanceMemory = std::stol(value["DBInstanceMemory"].asString());
|
||||
if(!value["DBInstanceStorage"].isNull())
|
||||
itemsObject.dBInstanceStorage = std::stoi(value["DBInstanceStorage"].asString());
|
||||
if(!value["VpcCloudInstanceId"].isNull())
|
||||
itemsObject.vpcCloudInstanceId = value["VpcCloudInstanceId"].asString();
|
||||
if(!value["DBInstanceNetType"].isNull())
|
||||
itemsObject.dBInstanceNetType = value["DBInstanceNetType"].asString();
|
||||
if(!value["DBInstanceStatus"].isNull())
|
||||
@@ -138,6 +140,8 @@ void DescribeDBInstanceAttributeResult::parse(const std::string &payload)
|
||||
itemsObject.zoneId = value["ZoneId"].asString();
|
||||
if(!value["InstanceNetworkType"].isNull())
|
||||
itemsObject.instanceNetworkType = value["InstanceNetworkType"].asString();
|
||||
if(!value["AdvancedFeatures"].isNull())
|
||||
itemsObject.advancedFeatures = value["AdvancedFeatures"].asString();
|
||||
if(!value["Category"].isNull())
|
||||
itemsObject.category = value["Category"].asString();
|
||||
if(!value["AccountType"].isNull())
|
||||
@@ -152,8 +156,6 @@ void DescribeDBInstanceAttributeResult::parse(const std::string &payload)
|
||||
itemsObject.connectionMode = value["ConnectionMode"].asString();
|
||||
if(!value["ResourceGroupId"].isNull())
|
||||
itemsObject.resourceGroupId = value["ResourceGroupId"].asString();
|
||||
if(!value["AdvancedFeatures"].isNull())
|
||||
itemsObject.advancedFeatures = value["AdvancedFeatures"].asString();
|
||||
auto allReadOnlyDBInstanceIds = value["ReadOnlyDBInstanceIds"]["ReadOnlyDBInstanceId"];
|
||||
for (auto value : allReadOnlyDBInstanceIds)
|
||||
{
|
||||
|
||||
@@ -36,6 +36,17 @@ void DescribeDBInstanceIPArrayListRequest::setResourceOwnerId(long resourceOwner
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceIPArrayListRequest::getWhitelistNetworkType()const
|
||||
{
|
||||
return whitelistNetworkType_;
|
||||
}
|
||||
|
||||
void DescribeDBInstanceIPArrayListRequest::setWhitelistNetworkType(const std::string& whitelistNetworkType)
|
||||
{
|
||||
whitelistNetworkType_ = whitelistNetworkType;
|
||||
setParameter("WhitelistNetworkType", whitelistNetworkType);
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceIPArrayListRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -91,14 +102,3 @@ void DescribeDBInstanceIPArrayListRequest::setAccessKeyId(const std::string& acc
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceIPArrayListRequest::getWhitelistNetType()const
|
||||
{
|
||||
return whitelistNetType_;
|
||||
}
|
||||
|
||||
void DescribeDBInstanceIPArrayListRequest::setWhitelistNetType(const std::string& whitelistNetType)
|
||||
{
|
||||
whitelistNetType_ = whitelistNetType;
|
||||
setParameter("WhitelistNetType", whitelistNetType);
|
||||
}
|
||||
|
||||
|
||||
@@ -50,8 +50,8 @@ void DescribeDBInstanceIPArrayListResult::parse(const std::string &payload)
|
||||
itemsObject.dBInstanceIPArrayAttribute = value["DBInstanceIPArrayAttribute"].asString();
|
||||
if(!value["SecurityIPList"].isNull())
|
||||
itemsObject.securityIPList = value["SecurityIPList"].asString();
|
||||
if(!value["WhitelistNetType"].isNull())
|
||||
itemsObject.whitelistNetType = value["WhitelistNetType"].asString();
|
||||
if(!value["WhitelistNetworkType"].isNull())
|
||||
itemsObject.whitelistNetworkType = value["WhitelistNetworkType"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR 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/DescribeDBInstanceNetworkDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::DescribeDBInstanceNetworkDetailRequest;
|
||||
|
||||
DescribeDBInstanceNetworkDetailRequest::DescribeDBInstanceNetworkDetailRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceNetworkDetail")
|
||||
{}
|
||||
|
||||
DescribeDBInstanceNetworkDetailRequest::~DescribeDBInstanceNetworkDetailRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailRequest::getEndPoint()const
|
||||
{
|
||||
return endPoint_;
|
||||
}
|
||||
|
||||
void DescribeDBInstanceNetworkDetailRequest::setEndPoint(const std::string& endPoint)
|
||||
{
|
||||
endPoint_ = endPoint;
|
||||
setParameter("EndPoint", endPoint);
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailRequest::getStartPoint()const
|
||||
{
|
||||
return startPoint_;
|
||||
}
|
||||
|
||||
void DescribeDBInstanceNetworkDetailRequest::setStartPoint(const std::string& startPoint)
|
||||
{
|
||||
startPoint_ = startPoint;
|
||||
setParameter("StartPoint", startPoint);
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDBInstanceNetworkDetailRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeDBInstanceNetworkDetailRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDBInstanceNetworkDetailRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDBInstanceNetworkDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,154 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR 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/DescribeDBInstanceNetworkDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
DescribeDBInstanceNetworkDetailResult::DescribeDBInstanceNetworkDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDBInstanceNetworkDetailResult::DescribeDBInstanceNetworkDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDBInstanceNetworkDetailResult::~DescribeDBInstanceNetworkDetailResult()
|
||||
{}
|
||||
|
||||
void DescribeDBInstanceNetworkDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNetworkDetail = value["NetworkDetail"]["NetworkKey"];
|
||||
for (auto value : allNetworkDetail)
|
||||
{
|
||||
NetworkKey networkDetailObject;
|
||||
if(!value["Key"].isNull())
|
||||
networkDetailObject.key = value["Key"].asString();
|
||||
if(!value["Unit"].isNull())
|
||||
networkDetailObject.unit = value["Unit"].asString();
|
||||
auto allValues = value["Values"]["NetworkValue"];
|
||||
for (auto value : allValues)
|
||||
{
|
||||
NetworkKey::NetworkValue valuesObject;
|
||||
if(!value["Value"].isNull())
|
||||
valuesObject.value = value["Value"].asString();
|
||||
if(!value["DateTime"].isNull())
|
||||
valuesObject.dateTime = value["DateTime"].asString();
|
||||
networkDetailObject.values.push_back(valuesObject);
|
||||
}
|
||||
networkDetail_.push_back(networkDetailObject);
|
||||
}
|
||||
if(!value["DBInstanceId"].isNull())
|
||||
dBInstanceId_ = value["DBInstanceId"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["NewConnection"].isNull())
|
||||
newConnection_ = value["NewConnection"].asString();
|
||||
if(!value["ActiveConnection"].isNull())
|
||||
activeConnection_ = value["ActiveConnection"].asString();
|
||||
if(!value["AbortedConnection"].isNull())
|
||||
abortedConnection_ = value["AbortedConnection"].asString();
|
||||
if(!value["NetworkRequest"].isNull())
|
||||
networkRequest_ = value["NetworkRequest"].asString();
|
||||
if(!value["NetworkTrafficIn"].isNull())
|
||||
networkTrafficIn_ = value["NetworkTrafficIn"].asString();
|
||||
if(!value["NetworkTrafficOut"].isNull())
|
||||
networkTrafficOut_ = value["NetworkTrafficOut"].asString();
|
||||
if(!value["NetworkLatency"].isNull())
|
||||
networkLatency_ = value["NetworkLatency"].asString();
|
||||
if(!value["BackendLatency"].isNull())
|
||||
backendLatency_ = value["BackendLatency"].asString();
|
||||
if(!value["NetworkErrors"].isNull())
|
||||
networkErrors_ = value["NetworkErrors"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailResult::getNetworkLatency()const
|
||||
{
|
||||
return networkLatency_;
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailResult::getNetworkTrafficOut()const
|
||||
{
|
||||
return networkTrafficOut_;
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailResult::getNetworkRequest()const
|
||||
{
|
||||
return networkRequest_;
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailResult::getAbortedConnection()const
|
||||
{
|
||||
return abortedConnection_;
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailResult::getBackendLatency()const
|
||||
{
|
||||
return backendLatency_;
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailResult::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailResult::getActiveConnection()const
|
||||
{
|
||||
return activeConnection_;
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailResult::getNetworkErrors()const
|
||||
{
|
||||
return networkErrors_;
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailResult::getNewConnection()const
|
||||
{
|
||||
return newConnection_;
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkDetailResult::getNetworkTrafficIn()const
|
||||
{
|
||||
return networkTrafficIn_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDBInstanceNetworkDetailResult::NetworkKey> DescribeDBInstanceNetworkDetailResult::getNetworkDetail()const
|
||||
{
|
||||
return networkDetail_;
|
||||
}
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR 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/DescribeDBInstanceNetworkRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::DescribeDBInstanceNetworkRequest;
|
||||
|
||||
DescribeDBInstanceNetworkRequest::DescribeDBInstanceNetworkRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceNetwork")
|
||||
{}
|
||||
|
||||
DescribeDBInstanceNetworkRequest::~DescribeDBInstanceNetworkRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDBInstanceNetworkRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDBInstanceNetworkRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeDBInstanceNetworkRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDBInstanceNetworkRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDBInstanceNetworkRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,91 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR 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/DescribeDBInstanceNetworkResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
DescribeDBInstanceNetworkResult::DescribeDBInstanceNetworkResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDBInstanceNetworkResult::DescribeDBInstanceNetworkResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDBInstanceNetworkResult::~DescribeDBInstanceNetworkResult()
|
||||
{}
|
||||
|
||||
void DescribeDBInstanceNetworkResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTopology = value["Topology"]["TopologyItem"];
|
||||
for (auto value : allTopology)
|
||||
{
|
||||
TopologyItem topologyObject;
|
||||
if(!value["StartPoint"].isNull())
|
||||
topologyObject.startPoint = value["StartPoint"].asString();
|
||||
if(!value["EndPoint"].isNull())
|
||||
topologyObject.endPoint = value["EndPoint"].asString();
|
||||
if(!value["NetworkTrafficIn"].isNull())
|
||||
topologyObject.networkTrafficIn = value["NetworkTrafficIn"].asString();
|
||||
if(!value["NetworkTrafficOut"].isNull())
|
||||
topologyObject.networkTrafficOut = value["NetworkTrafficOut"].asString();
|
||||
if(!value["NetworkLatency"].isNull())
|
||||
topologyObject.networkLatency = value["NetworkLatency"].asString();
|
||||
if(!value["BackendLatency"].isNull())
|
||||
topologyObject.backendLatency = value["BackendLatency"].asString();
|
||||
if(!value["NetworkErrors"].isNull())
|
||||
topologyObject.networkErrors = value["NetworkErrors"].asString();
|
||||
topology_.push_back(topologyObject);
|
||||
}
|
||||
if(!value["DBInstanceId"].isNull())
|
||||
dBInstanceId_ = value["DBInstanceId"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkResult::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBInstanceNetworkResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDBInstanceNetworkResult::TopologyItem> DescribeDBInstanceNetworkResult::getTopology()const
|
||||
{
|
||||
return topology_;
|
||||
}
|
||||
|
||||
@@ -44,12 +44,8 @@ void DescribeDBInstancesAsCsvResult::parse(const std::string &payload)
|
||||
for (auto value : allItems)
|
||||
{
|
||||
DBInstanceAttribute itemsObject;
|
||||
if(!value["InsId"].isNull())
|
||||
itemsObject.insId = std::stoi(value["InsId"].asString());
|
||||
if(!value["DBInstanceId"].isNull())
|
||||
itemsObject.dBInstanceId = value["DBInstanceId"].asString();
|
||||
if(!value["DBInstanceName"].isNull())
|
||||
itemsObject.dBInstanceName = value["DBInstanceName"].asString();
|
||||
if(!value["PayType"].isNull())
|
||||
itemsObject.payType = value["PayType"].asString();
|
||||
if(!value["DBInstanceClassType"].isNull())
|
||||
|
||||
@@ -72,6 +72,8 @@ void DescribeDBInstancesResult::parse(const std::string &payload)
|
||||
itemsObject.dBInstanceClass = value["DBInstanceClass"].asString();
|
||||
if(!value["InstanceNetworkType"].isNull())
|
||||
itemsObject.instanceNetworkType = value["InstanceNetworkType"].asString();
|
||||
if(!value["VpcCloudInstanceId"].isNull())
|
||||
itemsObject.vpcCloudInstanceId = value["VpcCloudInstanceId"].asString();
|
||||
if(!value["LockReason"].isNull())
|
||||
itemsObject.lockReason = value["LockReason"].asString();
|
||||
if(!value["ZoneId"].isNull())
|
||||
|
||||
@@ -1,115 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR 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/RenewDBInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::RenewDBInstanceRequest;
|
||||
|
||||
RenewDBInstanceRequest::RenewDBInstanceRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "RenewDBInstance")
|
||||
{}
|
||||
|
||||
RenewDBInstanceRequest::~RenewDBInstanceRequest()
|
||||
{}
|
||||
|
||||
long RenewDBInstanceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void RenewDBInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string RenewDBInstanceRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
}
|
||||
|
||||
void RenewDBInstanceRequest::setPeriod(const std::string& period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", period);
|
||||
}
|
||||
|
||||
std::string RenewDBInstanceRequest::getAutoPay()const
|
||||
{
|
||||
return autoPay_;
|
||||
}
|
||||
|
||||
void RenewDBInstanceRequest::setAutoPay(const std::string& autoPay)
|
||||
{
|
||||
autoPay_ = autoPay;
|
||||
setParameter("AutoPay", autoPay);
|
||||
}
|
||||
|
||||
std::string RenewDBInstanceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void RenewDBInstanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string RenewDBInstanceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void RenewDBInstanceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string RenewDBInstanceRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void RenewDBInstanceRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
long RenewDBInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RenewDBInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string RenewDBInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void RenewDBInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR 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/RenewDBInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
RenewDBInstanceResult::RenewDBInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RenewDBInstanceResult::RenewDBInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RenewDBInstanceResult::~RenewDBInstanceResult()
|
||||
{}
|
||||
|
||||
void RenewDBInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user