Supported CheckCloudResourceAuthorized API.
This commit is contained in:
@@ -72,6 +72,8 @@
|
||||
#include "model/CreateDedicatedHostUserResult.h"
|
||||
#include "model/CreateDiagnosticReportRequest.h"
|
||||
#include "model/CreateDiagnosticReportResult.h"
|
||||
#include "model/CreateHostAccountRequest.h"
|
||||
#include "model/CreateHostAccountResult.h"
|
||||
#include "model/CreateMigrateTaskRequest.h"
|
||||
#include "model/CreateMigrateTaskResult.h"
|
||||
#include "model/CreateMigrateTaskForSQLServerRequest.h"
|
||||
@@ -98,6 +100,8 @@
|
||||
#include "model/DeleteDedicatedHostAccountResult.h"
|
||||
#include "model/DeleteDedicatedHostGroupRequest.h"
|
||||
#include "model/DeleteDedicatedHostGroupResult.h"
|
||||
#include "model/DeleteHostAccountRequest.h"
|
||||
#include "model/DeleteHostAccountResult.h"
|
||||
#include "model/DeleteParameterGroupRequest.h"
|
||||
#include "model/DeleteParameterGroupResult.h"
|
||||
#include "model/DescibeImportsFromDatabaseRequest.h"
|
||||
@@ -204,6 +208,8 @@
|
||||
#include "model/DescribeEventsResult.h"
|
||||
#include "model/DescribeHASwitchConfigRequest.h"
|
||||
#include "model/DescribeHASwitchConfigResult.h"
|
||||
#include "model/DescribeHostAccountsRequest.h"
|
||||
#include "model/DescribeHostAccountsResult.h"
|
||||
#include "model/DescribeInstanceAutoRenewalAttributeRequest.h"
|
||||
#include "model/DescribeInstanceAutoRenewalAttributeResult.h"
|
||||
#include "model/DescribeInstanceCrossBackupPolicyRequest.h"
|
||||
@@ -238,6 +244,8 @@
|
||||
#include "model/DescribeParametersResult.h"
|
||||
#include "model/DescribePriceRequest.h"
|
||||
#include "model/DescribePriceResult.h"
|
||||
#include "model/DescribeRdsResourceSettingsRequest.h"
|
||||
#include "model/DescribeRdsResourceSettingsResult.h"
|
||||
#include "model/DescribeReadDBInstanceDelayRequest.h"
|
||||
#include "model/DescribeReadDBInstanceDelayResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
@@ -400,6 +408,8 @@
|
||||
#include "model/ResetAccountForPGResult.h"
|
||||
#include "model/ResetAccountPasswordRequest.h"
|
||||
#include "model/ResetAccountPasswordResult.h"
|
||||
#include "model/ResetHostAccountPasswordRequest.h"
|
||||
#include "model/ResetHostAccountPasswordResult.h"
|
||||
#include "model/RestartDBInstanceRequest.h"
|
||||
#include "model/RestartDBInstanceResult.h"
|
||||
#include "model/RestartDedicatedHostRequest.h"
|
||||
@@ -524,6 +534,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateDiagnosticReportResult> CreateDiagnosticReportOutcome;
|
||||
typedef std::future<CreateDiagnosticReportOutcome> CreateDiagnosticReportOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::CreateDiagnosticReportRequest&, const CreateDiagnosticReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDiagnosticReportAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateHostAccountResult> CreateHostAccountOutcome;
|
||||
typedef std::future<CreateHostAccountOutcome> CreateHostAccountOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::CreateHostAccountRequest&, const CreateHostAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateHostAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMigrateTaskResult> CreateMigrateTaskOutcome;
|
||||
typedef std::future<CreateMigrateTaskOutcome> CreateMigrateTaskOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::CreateMigrateTaskRequest&, const CreateMigrateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMigrateTaskAsyncHandler;
|
||||
@@ -563,6 +576,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteDedicatedHostGroupResult> DeleteDedicatedHostGroupOutcome;
|
||||
typedef std::future<DeleteDedicatedHostGroupOutcome> DeleteDedicatedHostGroupOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DeleteDedicatedHostGroupRequest&, const DeleteDedicatedHostGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDedicatedHostGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteHostAccountResult> DeleteHostAccountOutcome;
|
||||
typedef std::future<DeleteHostAccountOutcome> DeleteHostAccountOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DeleteHostAccountRequest&, const DeleteHostAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteHostAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteParameterGroupResult> DeleteParameterGroupOutcome;
|
||||
typedef std::future<DeleteParameterGroupOutcome> DeleteParameterGroupOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DeleteParameterGroupRequest&, const DeleteParameterGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteParameterGroupAsyncHandler;
|
||||
@@ -722,6 +738,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeHASwitchConfigResult> DescribeHASwitchConfigOutcome;
|
||||
typedef std::future<DescribeHASwitchConfigOutcome> DescribeHASwitchConfigOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeHASwitchConfigRequest&, const DescribeHASwitchConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHASwitchConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeHostAccountsResult> DescribeHostAccountsOutcome;
|
||||
typedef std::future<DescribeHostAccountsOutcome> DescribeHostAccountsOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeHostAccountsRequest&, const DescribeHostAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHostAccountsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeInstanceAutoRenewalAttributeResult> DescribeInstanceAutoRenewalAttributeOutcome;
|
||||
typedef std::future<DescribeInstanceAutoRenewalAttributeOutcome> DescribeInstanceAutoRenewalAttributeOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeInstanceAutoRenewalAttributeRequest&, const DescribeInstanceAutoRenewalAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceAutoRenewalAttributeAsyncHandler;
|
||||
@@ -773,6 +792,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribePriceResult> DescribePriceOutcome;
|
||||
typedef std::future<DescribePriceOutcome> DescribePriceOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribePriceRequest&, const DescribePriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePriceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRdsResourceSettingsResult> DescribeRdsResourceSettingsOutcome;
|
||||
typedef std::future<DescribeRdsResourceSettingsOutcome> DescribeRdsResourceSettingsOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeRdsResourceSettingsRequest&, const DescribeRdsResourceSettingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRdsResourceSettingsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeReadDBInstanceDelayResult> DescribeReadDBInstanceDelayOutcome;
|
||||
typedef std::future<DescribeReadDBInstanceDelayOutcome> DescribeReadDBInstanceDelayOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeReadDBInstanceDelayRequest&, const DescribeReadDBInstanceDelayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeReadDBInstanceDelayAsyncHandler;
|
||||
@@ -1016,6 +1038,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ResetAccountPasswordResult> ResetAccountPasswordOutcome;
|
||||
typedef std::future<ResetAccountPasswordOutcome> ResetAccountPasswordOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ResetAccountPasswordRequest&, const ResetAccountPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetAccountPasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResetHostAccountPasswordResult> ResetHostAccountPasswordOutcome;
|
||||
typedef std::future<ResetHostAccountPasswordOutcome> ResetHostAccountPasswordOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ResetHostAccountPasswordRequest&, const ResetHostAccountPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetHostAccountPasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartDBInstanceResult> RestartDBInstanceOutcome;
|
||||
typedef std::future<RestartDBInstanceOutcome> RestartDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::RestartDBInstanceRequest&, const RestartDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartDBInstanceAsyncHandler;
|
||||
@@ -1156,6 +1181,9 @@ namespace AlibabaCloud
|
||||
CreateDiagnosticReportOutcome createDiagnosticReport(const Model::CreateDiagnosticReportRequest &request)const;
|
||||
void createDiagnosticReportAsync(const Model::CreateDiagnosticReportRequest& request, const CreateDiagnosticReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDiagnosticReportOutcomeCallable createDiagnosticReportCallable(const Model::CreateDiagnosticReportRequest& request) const;
|
||||
CreateHostAccountOutcome createHostAccount(const Model::CreateHostAccountRequest &request)const;
|
||||
void createHostAccountAsync(const Model::CreateHostAccountRequest& request, const CreateHostAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateHostAccountOutcomeCallable createHostAccountCallable(const Model::CreateHostAccountRequest& request) const;
|
||||
CreateMigrateTaskOutcome createMigrateTask(const Model::CreateMigrateTaskRequest &request)const;
|
||||
void createMigrateTaskAsync(const Model::CreateMigrateTaskRequest& request, const CreateMigrateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMigrateTaskOutcomeCallable createMigrateTaskCallable(const Model::CreateMigrateTaskRequest& request) const;
|
||||
@@ -1195,6 +1223,9 @@ namespace AlibabaCloud
|
||||
DeleteDedicatedHostGroupOutcome deleteDedicatedHostGroup(const Model::DeleteDedicatedHostGroupRequest &request)const;
|
||||
void deleteDedicatedHostGroupAsync(const Model::DeleteDedicatedHostGroupRequest& request, const DeleteDedicatedHostGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDedicatedHostGroupOutcomeCallable deleteDedicatedHostGroupCallable(const Model::DeleteDedicatedHostGroupRequest& request) const;
|
||||
DeleteHostAccountOutcome deleteHostAccount(const Model::DeleteHostAccountRequest &request)const;
|
||||
void deleteHostAccountAsync(const Model::DeleteHostAccountRequest& request, const DeleteHostAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteHostAccountOutcomeCallable deleteHostAccountCallable(const Model::DeleteHostAccountRequest& request) const;
|
||||
DeleteParameterGroupOutcome deleteParameterGroup(const Model::DeleteParameterGroupRequest &request)const;
|
||||
void deleteParameterGroupAsync(const Model::DeleteParameterGroupRequest& request, const DeleteParameterGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteParameterGroupOutcomeCallable deleteParameterGroupCallable(const Model::DeleteParameterGroupRequest& request) const;
|
||||
@@ -1354,6 +1385,9 @@ namespace AlibabaCloud
|
||||
DescribeHASwitchConfigOutcome describeHASwitchConfig(const Model::DescribeHASwitchConfigRequest &request)const;
|
||||
void describeHASwitchConfigAsync(const Model::DescribeHASwitchConfigRequest& request, const DescribeHASwitchConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeHASwitchConfigOutcomeCallable describeHASwitchConfigCallable(const Model::DescribeHASwitchConfigRequest& request) const;
|
||||
DescribeHostAccountsOutcome describeHostAccounts(const Model::DescribeHostAccountsRequest &request)const;
|
||||
void describeHostAccountsAsync(const Model::DescribeHostAccountsRequest& request, const DescribeHostAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeHostAccountsOutcomeCallable describeHostAccountsCallable(const Model::DescribeHostAccountsRequest& request) const;
|
||||
DescribeInstanceAutoRenewalAttributeOutcome describeInstanceAutoRenewalAttribute(const Model::DescribeInstanceAutoRenewalAttributeRequest &request)const;
|
||||
void describeInstanceAutoRenewalAttributeAsync(const Model::DescribeInstanceAutoRenewalAttributeRequest& request, const DescribeInstanceAutoRenewalAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInstanceAutoRenewalAttributeOutcomeCallable describeInstanceAutoRenewalAttributeCallable(const Model::DescribeInstanceAutoRenewalAttributeRequest& request) const;
|
||||
@@ -1405,6 +1439,9 @@ namespace AlibabaCloud
|
||||
DescribePriceOutcome describePrice(const Model::DescribePriceRequest &request)const;
|
||||
void describePriceAsync(const Model::DescribePriceRequest& request, const DescribePriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePriceOutcomeCallable describePriceCallable(const Model::DescribePriceRequest& request) const;
|
||||
DescribeRdsResourceSettingsOutcome describeRdsResourceSettings(const Model::DescribeRdsResourceSettingsRequest &request)const;
|
||||
void describeRdsResourceSettingsAsync(const Model::DescribeRdsResourceSettingsRequest& request, const DescribeRdsResourceSettingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRdsResourceSettingsOutcomeCallable describeRdsResourceSettingsCallable(const Model::DescribeRdsResourceSettingsRequest& request) const;
|
||||
DescribeReadDBInstanceDelayOutcome describeReadDBInstanceDelay(const Model::DescribeReadDBInstanceDelayRequest &request)const;
|
||||
void describeReadDBInstanceDelayAsync(const Model::DescribeReadDBInstanceDelayRequest& request, const DescribeReadDBInstanceDelayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeReadDBInstanceDelayOutcomeCallable describeReadDBInstanceDelayCallable(const Model::DescribeReadDBInstanceDelayRequest& request) const;
|
||||
@@ -1648,6 +1685,9 @@ namespace AlibabaCloud
|
||||
ResetAccountPasswordOutcome resetAccountPassword(const Model::ResetAccountPasswordRequest &request)const;
|
||||
void resetAccountPasswordAsync(const Model::ResetAccountPasswordRequest& request, const ResetAccountPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetAccountPasswordOutcomeCallable resetAccountPasswordCallable(const Model::ResetAccountPasswordRequest& request) const;
|
||||
ResetHostAccountPasswordOutcome resetHostAccountPassword(const Model::ResetHostAccountPasswordRequest &request)const;
|
||||
void resetHostAccountPasswordAsync(const Model::ResetHostAccountPasswordRequest& request, const ResetHostAccountPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetHostAccountPasswordOutcomeCallable resetHostAccountPasswordCallable(const Model::ResetHostAccountPasswordRequest& request) const;
|
||||
RestartDBInstanceOutcome restartDBInstance(const Model::RestartDBInstanceRequest &request)const;
|
||||
void restartDBInstanceAsync(const Model::RestartDBInstanceRequest& request, const RestartDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartDBInstanceOutcomeCallable restartDBInstanceCallable(const Model::RestartDBInstanceRequest& request) const;
|
||||
|
||||
@@ -77,6 +77,8 @@ namespace AlibabaCloud
|
||||
void setTunnelId(const std::string& tunnelId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getStorageAutoScale()const;
|
||||
void setStorageAutoScale(const std::string& storageAutoScale);
|
||||
std::string getInstanceNetworkType()const;
|
||||
void setInstanceNetworkType(const std::string& instanceNetworkType);
|
||||
std::string getConnectionMode()const;
|
||||
@@ -111,6 +113,10 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getUsedTime()const;
|
||||
void setUsedTime(const std::string& usedTime);
|
||||
int getStorageUpperBound()const;
|
||||
void setStorageUpperBound(int storageUpperBound);
|
||||
int getStorageThreshold()const;
|
||||
void setStorageThreshold(int storageThreshold);
|
||||
std::string getVPCId()const;
|
||||
void setVPCId(const std::string& vPCId);
|
||||
std::string getCategory()const;
|
||||
@@ -140,6 +146,7 @@ namespace AlibabaCloud
|
||||
std::string roleARN_;
|
||||
std::string tunnelId_;
|
||||
std::string zoneId_;
|
||||
std::string storageAutoScale_;
|
||||
std::string instanceNetworkType_;
|
||||
std::string connectionMode_;
|
||||
std::string clientToken_;
|
||||
@@ -157,6 +164,8 @@ namespace AlibabaCloud
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string usedTime_;
|
||||
int storageUpperBound_;
|
||||
int storageThreshold_;
|
||||
std::string vPCId_;
|
||||
std::string category_;
|
||||
std::string payType_;
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CREATEHOSTACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_CREATEHOSTACCOUNTREQUEST_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 CreateHostAccountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateHostAccountRequest();
|
||||
~CreateHostAccountRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getAccountType()const;
|
||||
void setAccountType(const std::string& accountType);
|
||||
std::string getAccountDescription()const;
|
||||
void setAccountDescription(const std::string& accountDescription);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccountPassword()const;
|
||||
void setAccountPassword(const std::string& accountPassword);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string accountType_;
|
||||
std::string accountDescription_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accountPassword_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEHOSTACCOUNTREQUEST_H_
|
||||
49
rds/include/alibabacloud/rds/model/CreateHostAccountResult.h
Normal file
49
rds/include/alibabacloud/rds/model/CreateHostAccountResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEHOSTACCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_CREATEHOSTACCOUNTRESULT_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 CreateHostAccountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateHostAccountResult();
|
||||
explicit CreateHostAccountResult(const std::string &payload);
|
||||
~CreateHostAccountResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEHOSTACCOUNTRESULT_H_
|
||||
@@ -49,16 +49,22 @@ namespace AlibabaCloud
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTddlRegionConfig()const;
|
||||
void setTddlRegionConfig(const std::string& tddlRegionConfig);
|
||||
std::string getTargetDedicatedHostIdForMaster()const;
|
||||
void setTargetDedicatedHostIdForMaster(const std::string& targetDedicatedHostIdForMaster);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getDBInstanceDescription()const;
|
||||
void setDBInstanceDescription(const std::string& dBInstanceDescription);
|
||||
std::string getGdnInstanceName()const;
|
||||
void setGdnInstanceName(const std::string& gdnInstanceName);
|
||||
std::string getDBInstanceStorageType()const;
|
||||
void setDBInstanceStorageType(const std::string& dBInstanceStorageType);
|
||||
std::string getDedicatedHostGroupId()const;
|
||||
void setDedicatedHostGroupId(const std::string& dedicatedHostGroupId);
|
||||
std::string getTddlBizType()const;
|
||||
void setTddlBizType(const std::string& tddlBizType);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -90,11 +96,14 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string tddlRegionConfig_;
|
||||
std::string targetDedicatedHostIdForMaster_;
|
||||
std::string dBInstanceId_;
|
||||
std::string dBInstanceDescription_;
|
||||
std::string gdnInstanceName_;
|
||||
std::string dBInstanceStorageType_;
|
||||
std::string dedicatedHostGroupId_;
|
||||
std::string tddlBizType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -37,27 +37,30 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getReleasedKeepPolicy()const;
|
||||
void setReleasedKeepPolicy(const std::string& releasedKeepPolicy);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string releasedKeepPolicy_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DELETEHOSTACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DELETEHOSTACCOUNTREQUEST_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 DeleteHostAccountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteHostAccountRequest();
|
||||
~DeleteHostAccountRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEHOSTACCOUNTREQUEST_H_
|
||||
49
rds/include/alibabacloud/rds/model/DeleteHostAccountResult.h
Normal file
49
rds/include/alibabacloud/rds/model/DeleteHostAccountResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DELETEHOSTACCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DELETEHOSTACCOUNTRESULT_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 DeleteHostAccountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteHostAccountResult();
|
||||
explicit DeleteHostAccountResult(const std::string &payload);
|
||||
~DeleteHostAccountResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEHOSTACCOUNTRESULT_H_
|
||||
@@ -57,8 +57,6 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getCommodityCode()const;
|
||||
void setCommodityCode(const std::string& commodityCode);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getEvaluateResource()const;
|
||||
@@ -82,7 +80,6 @@ namespace AlibabaCloud
|
||||
std::string instanceChargeType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string commodityCode_;
|
||||
long ownerId_;
|
||||
bool evaluateResource_;
|
||||
std::string zoneId_;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getEngine()const;
|
||||
void setEngine(const std::string& engine);
|
||||
std::string getInstanceChargeType()const;
|
||||
void setInstanceChargeType(const std::string& instanceChargeType);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
@@ -60,6 +62,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string engine_;
|
||||
std::string instanceChargeType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
bool evaluateResource_;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getBackupPolicyMode()const;
|
||||
void setBackupPolicyMode(const std::string& backupPolicyMode);
|
||||
std::string getReleasedKeepPolicy()const;
|
||||
void setReleasedKeepPolicy(const std::string& releasedKeepPolicy);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -57,6 +59,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string backupPolicyMode_;
|
||||
std::string releasedKeepPolicy_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string compressType_;
|
||||
|
||||
@@ -47,6 +47,7 @@ namespace AlibabaCloud
|
||||
DescribeBackupPolicyResult();
|
||||
explicit DescribeBackupPolicyResult(const std::string &payload);
|
||||
~DescribeBackupPolicyResult();
|
||||
std::string getCategory()const;
|
||||
std::string getDuplication()const;
|
||||
std::string getArchiveBackupRetentionPeriod()const;
|
||||
std::string getArchiveBackupKeepPolicy()const;
|
||||
@@ -65,12 +66,15 @@ namespace AlibabaCloud
|
||||
std::string getBackupLog()const;
|
||||
std::string getEnableBackupLog()const;
|
||||
std::string getLocalLogRetentionSpace()const;
|
||||
int getSupportReleasedKeep()const;
|
||||
int getBackupRetentionPeriod()const;
|
||||
std::string getDuplicationContent()const;
|
||||
std::string getBackupInterval()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string category_;
|
||||
std::string duplication_;
|
||||
std::string archiveBackupRetentionPeriod_;
|
||||
std::string archiveBackupKeepPolicy_;
|
||||
@@ -89,8 +93,10 @@ namespace AlibabaCloud
|
||||
std::string backupLog_;
|
||||
std::string enableBackupLog_;
|
||||
std::string localLogRetentionSpace_;
|
||||
int supportReleasedKeep_;
|
||||
int backupRetentionPeriod_;
|
||||
std::string duplicationContent_;
|
||||
std::string backupInterval_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,30 +34,31 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Backup
|
||||
{
|
||||
std::string backupMode;
|
||||
std::string backupId;
|
||||
std::string backupDBNames;
|
||||
std::string dBInstanceId;
|
||||
std::string backupType;
|
||||
long totalBackupSize;
|
||||
std::string backupMethod;
|
||||
std::string backupExtractionStatus;
|
||||
std::string backupInitiator;
|
||||
std::string backupIntranetDownloadURL;
|
||||
std::string storageClass;
|
||||
std::string backupMode;
|
||||
long backupSize;
|
||||
std::string backupId;
|
||||
int isAvail;
|
||||
std::string slaveStatus;
|
||||
std::string hostInstanceID;
|
||||
std::string backupDBNames;
|
||||
std::string storeStatus;
|
||||
std::string dBInstanceId;
|
||||
std::string backupDownloadURL;
|
||||
std::string backupEndTime;
|
||||
std::string copyOnlyBackup;
|
||||
std::string backupStartTime;
|
||||
long consistentTime;
|
||||
std::string backupType;
|
||||
std::string metaStatus;
|
||||
std::string backupScale;
|
||||
std::string backupStatus;
|
||||
std::string backupLocation;
|
||||
long totalBackupSize;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -37,9 +37,9 @@ namespace AlibabaCloud
|
||||
struct Extra
|
||||
{
|
||||
std::string replicaGroupStatus;
|
||||
std::vector<std::string> dBInstanceId;
|
||||
std::string replicaGroupID;
|
||||
std::string activeReplicaDBInstanceID;
|
||||
std::vector<std::string> dBInstanceIds;
|
||||
};
|
||||
struct SlaveZone
|
||||
{
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace AlibabaCloud
|
||||
std::string dBInstanceStatus;
|
||||
std::string dBInstanceId;
|
||||
std::string lockMode;
|
||||
std::string payType;
|
||||
std::string expireTime;
|
||||
std::string dBInstanceDescription;
|
||||
};
|
||||
|
||||
@@ -37,19 +37,29 @@ namespace AlibabaCloud
|
||||
int diskAllocationRatio;
|
||||
std::string allocationPolicy;
|
||||
int instanceNumber;
|
||||
int memAllocationRatio;
|
||||
std::string vPCId;
|
||||
float diskUsedAmount;
|
||||
std::string dedicatedHostGroupId;
|
||||
std::string hostReplacePolicy;
|
||||
std::string createTime;
|
||||
std::string bastionInstanceId;
|
||||
float memAllocatedAmount;
|
||||
std::string openPermission;
|
||||
float memAllocateRation;
|
||||
float diskAllocatedAmount;
|
||||
std::string engine;
|
||||
float memUtility;
|
||||
int memAllocationRatio;
|
||||
std::string vPCId;
|
||||
float cpuAllocateRation;
|
||||
std::string createTime;
|
||||
std::string text;
|
||||
std::vector<std::string> zoneIDList;
|
||||
float memUsedAmount;
|
||||
std::string dedicatedHostGroupDesc;
|
||||
std::string openPermission;
|
||||
float diskUtility;
|
||||
int cpuAllocationRatio;
|
||||
int hostNumber;
|
||||
std::string engine;
|
||||
float diskAllocateRation;
|
||||
float cpuAllocatedAmount;
|
||||
std::string dedicatedHostCountGroupByHostType;
|
||||
};
|
||||
|
||||
|
||||
@@ -53,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOrderId()const;
|
||||
void setOrderId(long orderId);
|
||||
std::string getDedicatedHostId()const;
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getZoneId()const;
|
||||
@@ -68,6 +70,7 @@ namespace AlibabaCloud
|
||||
std::string dedicatedHostGroupId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long orderId_;
|
||||
std::string dedicatedHostId_;
|
||||
long ownerId_;
|
||||
std::string zoneId_;
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string dedicatedHostId;
|
||||
std::string createdTime;
|
||||
std::string endTime;
|
||||
std::string dedicatedHostGroupId;
|
||||
std::string bastionInstanceId;
|
||||
std::string imageCategory;
|
||||
std::string hostStorage;
|
||||
@@ -50,6 +51,7 @@ namespace AlibabaCloud
|
||||
std::string memoryUsed;
|
||||
std::string cpuUsed;
|
||||
std::string hostName;
|
||||
std::string engine;
|
||||
std::string allocationStatus;
|
||||
std::string memAllocationRatio;
|
||||
std::string zoneId;
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string backupMode;
|
||||
long backupSize;
|
||||
std::string backupId;
|
||||
int isAvail;
|
||||
std::string slaveStatus;
|
||||
std::string hostInstanceID;
|
||||
std::string backupDBNames;
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DESCRIBEHOSTACCOUNTSREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEHOSTACCOUNTSREQUEST_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 DescribeHostAccountsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeHostAccountsRequest();
|
||||
~DescribeHostAccountsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEHOSTACCOUNTSREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEHOSTACCOUNTSRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEHOSTACCOUNTSRESULT_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 DescribeHostAccountsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AccountsItem
|
||||
{
|
||||
std::string accountDescription;
|
||||
std::string accountStatus;
|
||||
std::string dBInstanceId;
|
||||
std::string accountType;
|
||||
std::string accountName;
|
||||
};
|
||||
|
||||
|
||||
DescribeHostAccountsResult();
|
||||
explicit DescribeHostAccountsResult(const std::string &payload);
|
||||
~DescribeHostAccountsResult();
|
||||
std::vector<AccountsItem> getAccounts()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AccountsItem> accounts_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEHOSTACCOUNTSRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DESCRIBERDSRESOURCESETTINGSREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBERDSRESOURCESETTINGSREQUEST_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 DescribeRdsResourceSettingsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRdsResourceSettingsRequest();
|
||||
~DescribeRdsResourceSettingsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getResourceNiche()const;
|
||||
void setResourceNiche(const std::string& resourceNiche);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string resourceNiche_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBERDSRESOURCESETTINGSREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBERDSRESOURCESETTINGSRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBERDSRESOURCESETTINGSRESULT_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 DescribeRdsResourceSettingsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RdsInstanceResourceSetting
|
||||
{
|
||||
std::string startDate;
|
||||
std::string poppedUpButtonUrl;
|
||||
std::string poppedUpButtonType;
|
||||
std::string resourceNiche;
|
||||
std::string noticeBarContent;
|
||||
std::string endDate;
|
||||
std::string poppedUpContent;
|
||||
std::string poppedUpButtonText;
|
||||
};
|
||||
|
||||
|
||||
DescribeRdsResourceSettingsResult();
|
||||
explicit DescribeRdsResourceSettingsResult(const std::string &payload);
|
||||
~DescribeRdsResourceSettingsResult();
|
||||
std::vector<RdsInstanceResourceSetting> getRdsInstanceResourceSettings()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<RdsInstanceResourceSetting> rdsInstanceResourceSettings_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBERDSRESOURCESETTINGSRESULT_H_
|
||||
@@ -47,6 +47,8 @@ namespace AlibabaCloud
|
||||
void setBackupLog(const std::string& backupLog);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getBackupInterval()const;
|
||||
void setBackupInterval(const std::string& backupInterval);
|
||||
std::string getDuplicationContent()const;
|
||||
void setDuplicationContent(const std::string& duplicationContent);
|
||||
std::string getHighSpaceUsageProtection()const;
|
||||
@@ -85,6 +87,8 @@ namespace AlibabaCloud
|
||||
void setDuplicationLocation(const std::string& duplicationLocation);
|
||||
std::string getArchiveBackupRetentionPeriod()const;
|
||||
void setArchiveBackupRetentionPeriod(const std::string& archiveBackupRetentionPeriod);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
std::string getLogBackupRetentionPeriod()const;
|
||||
void setLogBackupRetentionPeriod(const std::string& logBackupRetentionPeriod);
|
||||
|
||||
@@ -95,6 +99,7 @@ namespace AlibabaCloud
|
||||
std::string archiveBackupKeepCount_;
|
||||
std::string backupLog_;
|
||||
std::string accessKeyId_;
|
||||
std::string backupInterval_;
|
||||
std::string duplicationContent_;
|
||||
std::string highSpaceUsageProtection_;
|
||||
int logBackupLocalRetentionNumber_;
|
||||
@@ -114,6 +119,7 @@ namespace AlibabaCloud
|
||||
std::string backupRetentionPeriod_;
|
||||
std::string duplicationLocation_;
|
||||
std::string archiveBackupRetentionPeriod_;
|
||||
std::string category_;
|
||||
std::string logBackupRetentionPeriod_;
|
||||
|
||||
};
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_RESETHOSTACCOUNTPASSWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_RESETHOSTACCOUNTPASSWORDREQUEST_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 ResetHostAccountPasswordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ResetHostAccountPasswordRequest();
|
||||
~ResetHostAccountPasswordRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccountPassword()const;
|
||||
void setAccountPassword(const std::string& accountPassword);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accountPassword_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_RESETHOSTACCOUNTPASSWORDREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_RESETHOSTACCOUNTPASSWORDRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_RESETHOSTACCOUNTPASSWORDRESULT_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 ResetHostAccountPasswordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResetHostAccountPasswordResult();
|
||||
explicit ResetHostAccountPasswordResult(const std::string &payload);
|
||||
~ResetHostAccountPasswordResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_RESETHOSTACCOUNTPASSWORDRESULT_H_
|
||||
Reference in New Issue
Block a user