First commit rds moudle

This commit is contained in:
wb-flc318515
2018-01-10 11:23:54 +00:00
parent 9bba7e2582
commit beeaa75f44
683 changed files with 65133 additions and 54 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_RDSEXPORT_H_
#define ALIBABACLOUD_RDS_RDSEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_RDS_LIBRARY)
# define ALIBABACLOUD_RDS_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_RDS_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_RDS_EXPORT
#endif
#endif // !ALIBABACLOUD_RDS_RDSEXPORT_H_

View File

@@ -0,0 +1,39 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_RDSREQUEST_H_
#define ALIBABACLOUD_RDS_RDSREQUEST_H_
#include <alibabacloud/core/RpcServiceRequest.h>
#include "RdsExport.h"
namespace AlibabaCloud
{
namespace Rds
{
class ALIBABACLOUD_RDS_EXPORT RdsRequest : public RpcServiceRequest
{
public:
explicit RdsRequest(const std::string & action);
virtual ~RdsRequest();
private:
};
}
}
#endif // !ALIBABACLOUD_RDS_RDSREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_ADDBUDBINSTANCERELATIONREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_ADDBUDBINSTANCERELATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT AddBuDBInstanceRelationRequest : public RdsRequest
{
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_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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;
void setBusinessUnit(const std::string& businessUnit);
std::string getDBInstanceName()const;
void setDBInstanceName(const std::string& dBInstanceName);
protected:
void parse(const std::string &payload);
private:
std::string businessUnit_;
std::string dBInstanceName_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_ADDBUDBINSTANCERELATIONRESULT_H_

View File

@@ -0,0 +1,104 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDTAGSTORESOURCEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_ADDTAGSTORESOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT AddTagsToResourceRequest : public RdsRequest
{
public:
AddTagsToResourceRequest();
~AddTagsToResourceRequest();
std::string getTag4value()const;
void setTag4value(const std::string& tag4value);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getTag2key()const;
void setTag2key(const std::string& tag2key);
std::string getTag5key()const;
void setTag5key(const std::string& tag5key);
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);
std::string getTag3key()const;
void setTag3key(const std::string& tag3key);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTag5value()const;
void setTag5value(const std::string& tag5value);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getTags()const;
void setTags(const std::string& tags);
std::string getTag1key()const;
void setTag1key(const std::string& tag1key);
std::string getTag1value()const;
void setTag1value(const std::string& tag1value);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getTag2value()const;
void setTag2value(const std::string& tag2value);
std::string getTag4key()const;
void setTag4key(const std::string& tag4key);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getTag3value()const;
void setTag3value(const std::string& tag3value);
std::string getProxyId()const;
void setProxyId(const std::string& proxyId);
private:
std::string tag4value_;
long resourceOwnerId_;
std::string tag2key_;
std::string tag5key_;
std::string resourceOwnerAccount_;
std::string clientToken_;
std::string ownerAccount_;
std::string tag3key_;
long ownerId_;
std::string tag5value_;
std::string accessKeyId_;
std::string tags_;
std::string tag1key_;
std::string tag1value_;
std::string regionId_;
std::string tag2value_;
std::string tag4key_;
std::string dBInstanceId_;
std::string tag3value_;
std::string proxyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_ADDTAGSTORESOURCEREQUEST_H_

View 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_ADDTAGSTORESOURCERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_ADDTAGSTORESOURCERESULT_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 AddTagsToResourceResult : public ServiceResult
{
public:
AddTagsToResourceResult();
explicit AddTagsToResourceResult(const std::string &payload);
~AddTagsToResourceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_ADDTAGSTORESOURCERESULT_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ALLOCATEINSTANCEPRIVATECONNECTIONREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPRIVATECONNECTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT AllocateInstancePrivateConnectionRequest : public RdsRequest
{
public:
AllocateInstancePrivateConnectionRequest();
~AllocateInstancePrivateConnectionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getConnectionStringPrefix()const;
void setConnectionStringPrefix(const std::string& connectionStringPrefix);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getPort()const;
void setPort(const std::string& port);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 connectionStringPrefix_;
std::string resourceOwnerAccount_;
std::string port_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPRIVATECONNECTIONREQUEST_H_

View 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_ALLOCATEINSTANCEPRIVATECONNECTIONRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPRIVATECONNECTIONRESULT_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 AllocateInstancePrivateConnectionResult : public ServiceResult
{
public:
AllocateInstancePrivateConnectionResult();
explicit AllocateInstancePrivateConnectionResult(const std::string &payload);
~AllocateInstancePrivateConnectionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPRIVATECONNECTIONRESULT_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT AllocateInstancePublicConnectionRequest : public RdsRequest
{
public:
AllocateInstancePublicConnectionRequest();
~AllocateInstancePublicConnectionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getConnectionStringPrefix()const;
void setConnectionStringPrefix(const std::string& connectionStringPrefix);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getPort()const;
void setPort(const std::string& port);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 connectionStringPrefix_;
std::string resourceOwnerAccount_;
std::string port_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_

View 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_ALLOCATEINSTANCEPUBLICCONNECTIONRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONRESULT_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 AllocateInstancePublicConnectionResult : public ServiceResult
{
public:
AllocateInstancePublicConnectionResult();
explicit AllocateInstancePublicConnectionResult(const std::string &payload);
~AllocateInstancePublicConnectionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONRESULT_H_

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ALLOCATEREADWRITESPLITTINGCONNECTIONREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_ALLOCATEREADWRITESPLITTINGCONNECTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT AllocateReadWriteSplittingConnectionRequest : public RdsRequest
{
public:
AllocateReadWriteSplittingConnectionRequest();
~AllocateReadWriteSplittingConnectionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getConnectionStringPrefix()const;
void setConnectionStringPrefix(const std::string& connectionStringPrefix);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getWeight()const;
void setWeight(const std::string& weight);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getIPType()const;
void setIPType(const std::string& iPType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPort()const;
void setPort(const std::string& port);
std::string getDistributionType()const;
void setDistributionType(const std::string& distributionType);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getMaxDelayTime()const;
void setMaxDelayTime(const std::string& maxDelayTime);
private:
long resourceOwnerId_;
std::string connectionStringPrefix_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string weight_;
long ownerId_;
std::string iPType_;
std::string accessKeyId_;
std::string port_;
std::string distributionType_;
std::string dBInstanceId_;
std::string maxDelayTime_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEREADWRITESPLITTINGCONNECTIONREQUEST_H_

View 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_ALLOCATEREADWRITESPLITTINGCONNECTIONRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_ALLOCATEREADWRITESPLITTINGCONNECTIONRESULT_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 AllocateReadWriteSplittingConnectionResult : public ServiceResult
{
public:
AllocateReadWriteSplittingConnectionResult();
explicit AllocateReadWriteSplittingConnectionResult(const std::string &payload);
~AllocateReadWriteSplittingConnectionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEREADWRITESPLITTINGCONNECTIONRESULT_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CALCULATEDBINSTANCEWEIGHTREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CALCULATEDBINSTANCEWEIGHTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CalculateDBInstanceWeightRequest : public RdsRequest
{
public:
CalculateDBInstanceWeightRequest();
~CalculateDBInstanceWeightRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CALCULATEDBINSTANCEWEIGHTREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CALCULATEDBINSTANCEWEIGHTRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CALCULATEDBINSTANCEWEIGHTRESULT_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 CalculateDBInstanceWeightResult : public ServiceResult
{
public:
struct DBInstanceWeight
{
std::string availability;
std::string dBInstanceId;
std::string dBInstanceType;
std::string weight;
};
CalculateDBInstanceWeightResult();
explicit CalculateDBInstanceWeightResult(const std::string &payload);
~CalculateDBInstanceWeightResult();
std::vector<DBInstanceWeight> getItems()const;
void setItems(const std::vector<DBInstanceWeight>& items);
protected:
void parse(const std::string &payload);
private:
std::vector<DBInstanceWeight> items_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CALCULATEDBINSTANCEWEIGHTRESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CANCELIMPORTREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CANCELIMPORTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CancelImportRequest : public RdsRequest
{
public:
CancelImportRequest();
~CancelImportRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getImportId()const;
void setImportId(int importId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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_;
int importId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CANCELIMPORTREQUEST_H_

View 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_CANCELIMPORTRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CANCELIMPORTRESULT_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 CancelImportResult : public ServiceResult
{
public:
CancelImportResult();
explicit CancelImportResult(const std::string &payload);
~CancelImportResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CANCELIMPORTRESULT_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CHECKACCOUNTNAMEAVAILABLEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CHECKACCOUNTNAMEAVAILABLEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CheckAccountNameAvailableRequest : public RdsRequest
{
public:
CheckAccountNameAvailableRequest();
~CheckAccountNameAvailableRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccountName()const;
void setAccountName(const std::string& accountName);
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);
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 accountName_;
std::string resourceOwnerAccount_;
std::string clientToken_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CHECKACCOUNTNAMEAVAILABLEREQUEST_H_

View 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_CHECKACCOUNTNAMEAVAILABLERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CHECKACCOUNTNAMEAVAILABLERESULT_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 CheckAccountNameAvailableResult : public ServiceResult
{
public:
CheckAccountNameAvailableResult();
explicit CheckAccountNameAvailableResult(const std::string &payload);
~CheckAccountNameAvailableResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CHECKACCOUNTNAMEAVAILABLERESULT_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CHECKDBNAMEAVAILABLEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CHECKDBNAMEAVAILABLEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CheckDBNameAvailableRequest : public RdsRequest
{
public:
CheckDBNameAvailableRequest();
~CheckDBNameAvailableRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDBName()const;
void setDBName(const std::string& dBName);
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);
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 dBName_;
std::string resourceOwnerAccount_;
std::string clientToken_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CHECKDBNAMEAVAILABLEREQUEST_H_

View 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_CHECKDBNAMEAVAILABLERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CHECKDBNAMEAVAILABLERESULT_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 CheckDBNameAvailableResult : public ServiceResult
{
public:
CheckDBNameAvailableResult();
explicit CheckDBNameAvailableResult(const std::string &payload);
~CheckDBNameAvailableResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CHECKDBNAMEAVAILABLERESULT_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CHECKRECOVERYCONDITIONSREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CHECKRECOVERYCONDITIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CheckRecoveryConditionsRequest : public RdsRequest
{
public:
CheckRecoveryConditionsRequest();
~CheckRecoveryConditionsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRestoreTime()const;
void setRestoreTime(const std::string& restoreTime);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getBackupFile()const;
void setBackupFile(const std::string& backupFile);
std::string getBackupId()const;
void setBackupId(const std::string& backupId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 restoreTime_;
std::string resourceOwnerAccount_;
std::string backupFile_;
std::string backupId_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CHECKRECOVERYCONDITIONSREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CHECKRECOVERYCONDITIONSRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CHECKRECOVERYCONDITIONSRESULT_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 CheckRecoveryConditionsResult : public ServiceResult
{
public:
CheckRecoveryConditionsResult();
explicit CheckRecoveryConditionsResult(const std::string &payload);
~CheckRecoveryConditionsResult();
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getRecoveryStatus()const;
void setRecoveryStatus(const std::string& recoveryStatus);
protected:
void parse(const std::string &payload);
private:
std::string dBInstanceId_;
std::string recoveryStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CHECKRECOVERYCONDITIONSRESULT_H_

View File

@@ -0,0 +1,83 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CHECKRESOURCEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CHECKRESOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CheckResourceRequest : public RdsRequest
{
public:
CheckResourceRequest();
~CheckResourceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getSpecifyCount()const;
void setSpecifyCount(const std::string& specifyCount);
std::string getEngineVersion()const;
void setEngineVersion(const std::string& engineVersion);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getDBInstanceClass()const;
void setDBInstanceClass(const std::string& dBInstanceClass);
std::string getEngine()const;
void setEngine(const std::string& engine);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getDBInstanceUseType()const;
void setDBInstanceUseType(const std::string& dBInstanceUseType);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string specifyCount_;
std::string engineVersion_;
long ownerId_;
std::string accessKeyId_;
std::string dBInstanceClass_;
std::string engine_;
std::string regionId_;
std::string zoneId_;
std::string dBInstanceUseType_;
std::string dBInstanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CHECKRESOURCEREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CHECKRESOURCERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CHECKRESOURCERESULT_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 CheckResourceResult : public ServiceResult
{
public:
struct Resource
{
std::string dBInstanceAvailable;
std::string engineVersion;
std::string engine;
};
CheckResourceResult();
explicit CheckResourceResult(const std::string &payload);
~CheckResourceResult();
std::string getSpecifyCount()const;
void setSpecifyCount(const std::string& specifyCount);
std::vector<Resource> getResources()const;
void setResources(const std::vector<Resource>& resources);
protected:
void parse(const std::string &payload);
private:
std::string specifyCount_;
std::vector<Resource> resources_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CHECKRESOURCERESULT_H_

View File

@@ -0,0 +1,104 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CLONEDBINSTANCEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CLONEDBINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CloneDBInstanceRequest : public RdsRequest
{
public:
CloneDBInstanceRequest();
~CloneDBInstanceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRestoreTime()const;
void setRestoreTime(const std::string& restoreTime);
std::string getPeriod()const;
void setPeriod(const std::string& period);
int getDBInstanceStorage()const;
void setDBInstanceStorage(int dBInstanceStorage);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupId()const;
void setBackupId(const std::string& backupId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getUsedTime()const;
void setUsedTime(const std::string& usedTime);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getDBInstanceClass()const;
void setDBInstanceClass(const std::string& dBInstanceClass);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getPrivateIpAddress()const;
void setPrivateIpAddress(const std::string& privateIpAddress);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getVPCId()const;
void setVPCId(const std::string& vPCId);
std::string getDBInstanceDescription()const;
void setDBInstanceDescription(const std::string& dBInstanceDescription);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getPayType()const;
void setPayType(const std::string& payType);
std::string getInstanceNetworkType()const;
void setInstanceNetworkType(const std::string& instanceNetworkType);
private:
long resourceOwnerId_;
std::string restoreTime_;
std::string period_;
int dBInstanceStorage_;
std::string resourceOwnerAccount_;
std::string clientToken_;
std::string backupId_;
std::string ownerAccount_;
long ownerId_;
std::string usedTime_;
std::string accessKeyId_;
std::string dBInstanceClass_;
std::string vSwitchId_;
std::string privateIpAddress_;
std::string resourceGroupId_;
std::string vPCId_;
std::string dBInstanceDescription_;
std::string dBInstanceId_;
std::string payType_;
std::string instanceNetworkType_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CLONEDBINSTANCEREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CLONEDBINSTANCERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CLONEDBINSTANCERESULT_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 CloneDBInstanceResult : public ServiceResult
{
public:
CloneDBInstanceResult();
explicit CloneDBInstanceResult(const std::string &payload);
~CloneDBInstanceResult();
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getPort()const;
void setPort(const std::string& port);
std::string getOrderId()const;
void setOrderId(const std::string& orderId);
std::string getConnectionString()const;
void setConnectionString(const std::string& connectionString);
protected:
void parse(const std::string &payload);
private:
std::string dBInstanceId_;
std::string port_;
std::string orderId_;
std::string connectionString_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CLONEDBINSTANCERESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_COPYDATABASEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_COPYDATABASEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CopyDatabaseRequest : public RdsRequest
{
public:
CopyDatabaseRequest();
~CopyDatabaseRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_COPYDATABASEREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_COPYDATABASERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_COPYDATABASERESULT_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 CopyDatabaseResult : public ServiceResult
{
public:
CopyDatabaseResult();
explicit CopyDatabaseResult(const std::string &payload);
~CopyDatabaseResult();
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
std::string getDBName()const;
void setDBName(const std::string& dBName);
std::string getDBStatus()const;
void setDBStatus(const std::string& dBStatus);
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string dBName_;
std::string dBStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_COPYDATABASERESULT_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CREATEACCOUNTREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEACCOUNTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreateAccountRequest : public RdsRequest
{
public:
CreateAccountRequest();
~CreateAccountRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccountPassword()const;
void setAccountPassword(const std::string& accountPassword);
std::string getAccountName()const;
void setAccountName(const std::string& accountName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getAccountType()const;
void setAccountType(const std::string& accountType);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccountDescription()const;
void setAccountDescription(const std::string& accountDescription);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string accountPassword_;
std::string accountName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string accountType_;
std::string dBInstanceId_;
long ownerId_;
std::string accountDescription_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEACCOUNTREQUEST_H_

View 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_CREATEACCOUNTRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEACCOUNTRESULT_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 CreateAccountResult : public ServiceResult
{
public:
CreateAccountResult();
explicit CreateAccountResult(const std::string &payload);
~CreateAccountResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEACCOUNTRESULT_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEBACKUPREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEBACKUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreateBackupRequest : public RdsRequest
{
public:
CreateBackupRequest();
~CreateBackupRequest();
std::string getBackupMethod()const;
void setBackupMethod(const std::string& backupMethod);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDBName()const;
void setDBName(const std::string& dBName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getBackupType()const;
void setBackupType(const std::string& backupType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string backupMethod_;
long resourceOwnerId_;
std::string dBName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string backupType_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEBACKUPREQUEST_H_

View 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_CREATEBACKUPRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEBACKUPRESULT_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 CreateBackupResult : public ServiceResult
{
public:
CreateBackupResult();
explicit CreateBackupResult(const std::string &payload);
~CreateBackupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEBACKUPRESULT_H_

View File

@@ -0,0 +1,128 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICAREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreateDBInstanceReplicaRequest : public RdsRequest
{
public:
CreateDBInstanceReplicaRequest();
~CreateDBInstanceReplicaRequest();
std::string getConnectionMode()const;
void setConnectionMode(const std::string& connectionMode);
std::string getDomainMode()const;
void setDomainMode(const std::string& domainMode);
std::string getReplicaDescription()const;
void setReplicaDescription(const std::string& replicaDescription);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getDBInstanceStorage()const;
void setDBInstanceStorage(int dBInstanceStorage);
std::string getSystemDBCharset()const;
void setSystemDBCharset(const std::string& systemDBCharset);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getEngineVersion()const;
void setEngineVersion(const std::string& engineVersion);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getEngine()const;
void setEngine(const std::string& engine);
std::string getDBInstanceDescription()const;
void setDBInstanceDescription(const std::string& dBInstanceDescription);
std::string getDBInstanceNetType()const;
void setDBInstanceNetType(const std::string& dBInstanceNetType);
std::string getPeriod()const;
void setPeriod(const std::string& period);
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);
std::string getUsedTime()const;
void setUsedTime(const std::string& usedTime);
std::string getDBInstanceClass()const;
void setDBInstanceClass(const std::string& dBInstanceClass);
std::string getSecurityIPList()const;
void setSecurityIPList(const std::string& securityIPList);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getPrivateIpAddress()const;
void setPrivateIpAddress(const std::string& privateIpAddress);
std::string getSourceDBInstanceId()const;
void setSourceDBInstanceId(const std::string& sourceDBInstanceId);
std::string getReplicaMode()const;
void setReplicaMode(const std::string& replicaMode);
std::string getVPCId()const;
void setVPCId(const std::string& vPCId);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getPayType()const;
void setPayType(const std::string& payType);
std::string getInstanceNetworkType()const;
void setInstanceNetworkType(const std::string& instanceNetworkType);
private:
std::string connectionMode_;
std::string domainMode_;
std::string replicaDescription_;
long resourceOwnerId_;
int dBInstanceStorage_;
std::string systemDBCharset_;
std::string clientToken_;
std::string engineVersion_;
std::string accessKeyId_;
std::string regionId_;
std::string engine_;
std::string dBInstanceDescription_;
std::string dBInstanceNetType_;
std::string period_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string usedTime_;
std::string dBInstanceClass_;
std::string securityIPList_;
std::string vSwitchId_;
std::string privateIpAddress_;
std::string sourceDBInstanceId_;
std::string replicaMode_;
std::string vPCId_;
std::string zoneId_;
std::string payType_;
std::string instanceNetworkType_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICAREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICARESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICARESULT_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 CreateDBInstanceReplicaResult : public ServiceResult
{
public:
CreateDBInstanceReplicaResult();
explicit CreateDBInstanceReplicaResult(const std::string &payload);
~CreateDBInstanceReplicaResult();
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
long getOrderId()const;
void setOrderId(long orderId);
std::string getWorkflowId()const;
void setWorkflowId(const std::string& workflowId);
std::string getReplicaId()const;
void setReplicaId(const std::string& replicaId);
protected:
void parse(const std::string &payload);
private:
std::string dBInstanceId_;
long orderId_;
std::string workflowId_;
std::string replicaId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICARESULT_H_

View File

@@ -0,0 +1,122 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CREATEDBINSTANCEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreateDBInstanceRequest : public RdsRequest
{
public:
CreateDBInstanceRequest();
~CreateDBInstanceRequest();
std::string getConnectionMode()const;
void setConnectionMode(const std::string& connectionMode);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getDBInstanceStorage()const;
void setDBInstanceStorage(int dBInstanceStorage);
std::string getSystemDBCharset()const;
void setSystemDBCharset(const std::string& systemDBCharset);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getEngineVersion()const;
void setEngineVersion(const std::string& engineVersion);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getEngine()const;
void setEngine(const std::string& engine);
std::string getDBInstanceDescription()const;
void setDBInstanceDescription(const std::string& dBInstanceDescription);
std::string getDBInstanceNetType()const;
void setDBInstanceNetType(const std::string& dBInstanceNetType);
std::string getPeriod()const;
void setPeriod(const std::string& period);
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);
std::string getUsedTime()const;
void setUsedTime(const std::string& usedTime);
std::string getDBInstanceClass()const;
void setDBInstanceClass(const std::string& dBInstanceClass);
std::string getSecurityIPList()const;
void setSecurityIPList(const std::string& securityIPList);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getPrivateIpAddress()const;
void setPrivateIpAddress(const std::string& privateIpAddress);
std::string getVPCId()const;
void setVPCId(const std::string& vPCId);
std::string getTunnelId()const;
void setTunnelId(const std::string& tunnelId);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getPayType()const;
void setPayType(const std::string& payType);
std::string getInstanceNetworkType()const;
void setInstanceNetworkType(const std::string& instanceNetworkType);
private:
std::string connectionMode_;
long resourceOwnerId_;
int dBInstanceStorage_;
std::string systemDBCharset_;
std::string clientToken_;
std::string engineVersion_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string regionId_;
std::string engine_;
std::string dBInstanceDescription_;
std::string dBInstanceNetType_;
std::string period_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string usedTime_;
std::string dBInstanceClass_;
std::string securityIPList_;
std::string vSwitchId_;
std::string privateIpAddress_;
std::string vPCId_;
std::string tunnelId_;
std::string zoneId_;
std::string payType_;
std::string instanceNetworkType_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCERESULT_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 CreateDBInstanceResult : public ServiceResult
{
public:
CreateDBInstanceResult();
explicit CreateDBInstanceResult(const std::string &payload);
~CreateDBInstanceResult();
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getPort()const;
void setPort(const std::string& port);
std::string getOrderId()const;
void setOrderId(const std::string& orderId);
std::string getConnectionString()const;
void setConnectionString(const std::string& connectionString);
protected:
void parse(const std::string &payload);
private:
std::string dBInstanceId_;
std::string port_;
std::string orderId_;
std::string connectionString_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCERESULT_H_

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDAMPPOLICYREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEDAMPPOLICYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreateDampPolicyRequest : public RdsRequest
{
public:
CreateDampPolicyRequest();
~CreateDampPolicyRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
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);
int getPriority()const;
void setPriority(int priority);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getTimeRules()const;
void setTimeRules(const std::string& timeRules);
std::string getActionRules()const;
void setActionRules(const std::string& actionRules);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getHandlers()const;
void setHandlers(const std::string& handlers);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getPolicyName()const;
void setPolicyName(const std::string& policyName);
std::string getSourceRules()const;
void setSourceRules(const std::string& sourceRules);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
int priority_;
std::string accessKeyId_;
std::string timeRules_;
std::string actionRules_;
std::string securityToken_;
std::string regionId_;
std::string handlers_;
std::string dBInstanceId_;
std::string policyName_;
std::string sourceRules_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDAMPPOLICYREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CREATEDAMPPOLICYRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEDAMPPOLICYRESULT_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 CreateDampPolicyResult : public ServiceResult
{
public:
CreateDampPolicyResult();
explicit CreateDampPolicyResult(const std::string &payload);
~CreateDampPolicyResult();
std::string getPolicyName()const;
void setPolicyName(const std::string& policyName);
std::string getPolicyId()const;
void setPolicyId(const std::string& policyId);
protected:
void parse(const std::string &payload);
private:
std::string policyName_;
std::string policyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDAMPPOLICYRESULT_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDATABASEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEDATABASEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreateDatabaseRequest : public RdsRequest
{
public:
CreateDatabaseRequest();
~CreateDatabaseRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDBName()const;
void setDBName(const std::string& dBName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getDBDescription()const;
void setDBDescription(const std::string& dBDescription);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getCharacterSetName()const;
void setCharacterSetName(const std::string& characterSetName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string dBName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBInstanceId_;
std::string dBDescription_;
long ownerId_;
std::string characterSetName_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDATABASEREQUEST_H_

View 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_CREATEDATABASERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEDATABASERESULT_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 CreateDatabaseResult : public ServiceResult
{
public:
CreateDatabaseResult();
explicit CreateDatabaseResult(const std::string &payload);
~CreateDatabaseResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDATABASERESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CREATEDIAGNOSTICREPORTREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEDIAGNOSTICREPORTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreateDiagnosticReportRequest : public RdsRequest
{
public:
CreateDiagnosticReportRequest();
~CreateDiagnosticReportRequest();
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_CREATEDIAGNOSTICREPORTREQUEST_H_

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDIAGNOSTICREPORTRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEDIAGNOSTICREPORTRESULT_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 CreateDiagnosticReportResult : public ServiceResult
{
public:
CreateDiagnosticReportResult();
explicit CreateDiagnosticReportResult(const std::string &payload);
~CreateDiagnosticReportResult();
std::string getReportId()const;
void setReportId(const std::string& reportId);
protected:
void parse(const std::string &payload);
private:
std::string reportId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDIAGNOSTICREPORTRESULT_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreateMigrateTaskForSQLServerRequest : public RdsRequest
{
public:
CreateMigrateTaskForSQLServerRequest();
~CreateMigrateTaskForSQLServerRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getTaskType()const;
void setTaskType(const std::string& taskType);
std::string getDBName()const;
void setDBName(const std::string& dBName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getIsOnlineDB()const;
void setIsOnlineDB(const std::string& isOnlineDB);
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);
std::string getOSSUrls()const;
void setOSSUrls(const std::string& oSSUrls);
private:
long resourceOwnerId_;
std::string taskType_;
std::string dBName_;
std::string resourceOwnerAccount_;
std::string isOnlineDB_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
std::string oSSUrls_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERRESULT_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 CreateMigrateTaskForSQLServerResult : public ServiceResult
{
public:
CreateMigrateTaskForSQLServerResult();
explicit CreateMigrateTaskForSQLServerResult(const std::string &payload);
~CreateMigrateTaskForSQLServerResult();
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getTaskType()const;
void setTaskType(const std::string& taskType);
std::string getDBName()const;
void setDBName(const std::string& dBName);
std::string getMigrateIaskId()const;
void setMigrateIaskId(const std::string& migrateIaskId);
std::string getDBInstanceName()const;
void setDBInstanceName(const std::string& dBInstanceName);
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string dBInstanceId_;
std::string taskType_;
std::string dBName_;
std::string migrateIaskId_;
std::string dBInstanceName_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERRESULT_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreateMigrateTaskRequest : public RdsRequest
{
public:
CreateMigrateTaskRequest();
~CreateMigrateTaskRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDBName()const;
void setDBName(const std::string& dBName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getIsOnlineDB()const;
void setIsOnlineDB(const std::string& isOnlineDB);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getBackupMode()const;
void setBackupMode(const std::string& backupMode);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getOSSUrls()const;
void setOSSUrls(const std::string& oSSUrls);
private:
long resourceOwnerId_;
std::string dBName_;
std::string resourceOwnerAccount_;
std::string isOnlineDB_;
std::string dBInstanceId_;
std::string backupMode_;
long ownerId_;
std::string accessKeyId_;
std::string oSSUrls_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CREATEMIGRATETASKRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKRESULT_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 CreateMigrateTaskResult : public ServiceResult
{
public:
CreateMigrateTaskResult();
explicit CreateMigrateTaskResult(const std::string &payload);
~CreateMigrateTaskResult();
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getBackupMode()const;
void setBackupMode(const std::string& backupMode);
std::string getDBName()const;
void setDBName(const std::string& dBName);
std::string getMigrateIaskId()const;
void setMigrateIaskId(const std::string& migrateIaskId);
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string dBInstanceId_;
std::string backupMode_;
std::string dBName_;
std::string migrateIaskId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKRESULT_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEPOLICYWITHSPECIFIEDPOLICYREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEPOLICYWITHSPECIFIEDPOLICYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreatePolicyWithSpecifiedPolicyRequest : public RdsRequest
{
public:
CreatePolicyWithSpecifiedPolicyRequest();
~CreatePolicyWithSpecifiedPolicyRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPolicyId()const;
void setPolicyId(const std::string& policyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 policyId_;
std::string securityToken_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEPOLICYWITHSPECIFIEDPOLICYREQUEST_H_

View 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_CREATEPOLICYWITHSPECIFIEDPOLICYRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEPOLICYWITHSPECIFIEDPOLICYRESULT_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 CreatePolicyWithSpecifiedPolicyResult : public ServiceResult
{
public:
CreatePolicyWithSpecifiedPolicyResult();
explicit CreatePolicyWithSpecifiedPolicyResult(const std::string &payload);
~CreatePolicyWithSpecifiedPolicyResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEPOLICYWITHSPECIFIEDPOLICYRESULT_H_

View File

@@ -0,0 +1,101 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CREATEREADONLYDBINSTANCEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEREADONLYDBINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreateReadOnlyDBInstanceRequest : public RdsRequest
{
public:
CreateReadOnlyDBInstanceRequest();
~CreateReadOnlyDBInstanceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getDBInstanceStorage()const;
void setDBInstanceStorage(int dBInstanceStorage);
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);
std::string getEngineVersion()const;
void setEngineVersion(const std::string& engineVersion);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getDBInstanceClass()const;
void setDBInstanceClass(const std::string& dBInstanceClass);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getPrivateIpAddress()const;
void setPrivateIpAddress(const std::string& privateIpAddress);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getVPCId()const;
void setVPCId(const std::string& vPCId);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getDBInstanceDescription()const;
void setDBInstanceDescription(const std::string& dBInstanceDescription);
std::string getPayType()const;
void setPayType(const std::string& payType);
std::string getInstanceNetworkType()const;
void setInstanceNetworkType(const std::string& instanceNetworkType);
private:
long resourceOwnerId_;
int dBInstanceStorage_;
std::string resourceOwnerAccount_;
std::string clientToken_;
std::string ownerAccount_;
std::string engineVersion_;
long ownerId_;
std::string accessKeyId_;
std::string dBInstanceClass_;
std::string vSwitchId_;
std::string privateIpAddress_;
std::string resourceGroupId_;
std::string regionId_;
std::string vPCId_;
std::string zoneId_;
std::string dBInstanceId_;
std::string dBInstanceDescription_;
std::string payType_;
std::string instanceNetworkType_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEREADONLYDBINSTANCEREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEREADONLYDBINSTANCERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEREADONLYDBINSTANCERESULT_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 CreateReadOnlyDBInstanceResult : public ServiceResult
{
public:
CreateReadOnlyDBInstanceResult();
explicit CreateReadOnlyDBInstanceResult(const std::string &payload);
~CreateReadOnlyDBInstanceResult();
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getPort()const;
void setPort(const std::string& port);
std::string getOrderId()const;
void setOrderId(const std::string& orderId);
std::string getConnectionString()const;
void setConnectionString(const std::string& connectionString);
protected:
void parse(const std::string &payload);
private:
std::string dBInstanceId_;
std::string port_;
std::string orderId_;
std::string connectionString_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEREADONLYDBINSTANCERESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CREATESQLDIAGNOSISREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATESQLDIAGNOSISREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreateSQLDiagnosisRequest : public RdsRequest
{
public:
CreateSQLDiagnosisRequest();
~CreateSQLDiagnosisRequest();
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_CREATESQLDIAGNOSISREQUEST_H_

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATESQLDIAGNOSISRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATESQLDIAGNOSISRESULT_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 CreateSQLDiagnosisResult : public ServiceResult
{
public:
CreateSQLDiagnosisResult();
explicit CreateSQLDiagnosisResult(const std::string &payload);
~CreateSQLDiagnosisResult();
std::string getSQLDiagId()const;
void setSQLDiagId(const std::string& sQLDiagId);
protected:
void parse(const std::string &payload);
private:
std::string sQLDiagId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATESQLDIAGNOSISRESULT_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CREATETEMPDBINSTANCEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATETEMPDBINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreateTempDBInstanceRequest : public RdsRequest
{
public:
CreateTempDBInstanceRequest();
~CreateTempDBInstanceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRestoreTime()const;
void setRestoreTime(const std::string& restoreTime);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
int getBackupId()const;
void setBackupId(int backupId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 restoreTime_;
std::string resourceOwnerAccount_;
int backupId_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATETEMPDBINSTANCEREQUEST_H_

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATETEMPDBINSTANCERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATETEMPDBINSTANCERESULT_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 CreateTempDBInstanceResult : public ServiceResult
{
public:
CreateTempDBInstanceResult();
explicit CreateTempDBInstanceResult(const std::string &payload);
~CreateTempDBInstanceResult();
std::string getTempDBInstanceId()const;
void setTempDBInstanceId(const std::string& tempDBInstanceId);
protected:
void parse(const std::string &payload);
private:
std::string tempDBInstanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATETEMPDBINSTANCERESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEUPLOADPATHFORSQLSERVERREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEUPLOADPATHFORSQLSERVERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT CreateUploadPathForSQLServerRequest : public RdsRequest
{
public:
CreateUploadPathForSQLServerRequest();
~CreateUploadPathForSQLServerRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDBName()const;
void setDBName(const std::string& dBName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 dBName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEUPLOADPATHFORSQLSERVERREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEUPLOADPATHFORSQLSERVERRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_CREATEUPLOADPATHFORSQLSERVERRESULT_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 CreateUploadPathForSQLServerResult : public ServiceResult
{
public:
CreateUploadPathForSQLServerResult();
explicit CreateUploadPathForSQLServerResult(const std::string &payload);
~CreateUploadPathForSQLServerResult();
std::string getIntranetFtpserver()const;
void setIntranetFtpserver(const std::string& intranetFtpserver);
std::string getUserName()const;
void setUserName(const std::string& userName);
std::string getFileName()const;
void setFileName(const std::string& fileName);
int getInternetPort()const;
void setInternetPort(int internetPort);
std::string getInternetFtpServer()const;
void setInternetFtpServer(const std::string& internetFtpServer);
int getIntranetport()const;
void setIntranetport(int intranetport);
std::string getPassword()const;
void setPassword(const std::string& password);
protected:
void parse(const std::string &payload);
private:
std::string intranetFtpserver_;
std::string userName_;
std::string fileName_;
int internetPort_;
std::string internetFtpServer_;
int intranetport_;
std::string password_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEUPLOADPATHFORSQLSERVERRESULT_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DEGRADEDBINSTANCESPECREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DEGRADEDBINSTANCESPECREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DegradeDBInstanceSpecRequest : public RdsRequest
{
public:
DegradeDBInstanceSpecRequest();
~DegradeDBInstanceSpecRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getDBInstanceStorage()const;
void setDBInstanceStorage(int dBInstanceStorage);
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);
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);
std::string getDBInstanceClass()const;
void setDBInstanceClass(const std::string& dBInstanceClass);
private:
long resourceOwnerId_;
int dBInstanceStorage_;
std::string resourceOwnerAccount_;
std::string clientToken_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
std::string dBInstanceClass_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DEGRADEDBINSTANCESPECREQUEST_H_

View 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_DEGRADEDBINSTANCESPECRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DEGRADEDBINSTANCESPECRESULT_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 DegradeDBInstanceSpecResult : public ServiceResult
{
public:
DegradeDBInstanceSpecResult();
explicit DegradeDBInstanceSpecResult(const std::string &payload);
~DegradeDBInstanceSpecResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DEGRADEDBINSTANCESPECRESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DELETEACCOUNTREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DELETEACCOUNTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DeleteAccountRequest : public RdsRequest
{
public:
DeleteAccountRequest();
~DeleteAccountRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccountName()const;
void setAccountName(const std::string& accountName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 accountName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEACCOUNTREQUEST_H_

View 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_DELETEACCOUNTRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DELETEACCOUNTRESULT_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 DeleteAccountResult : public ServiceResult
{
public:
DeleteAccountResult();
explicit DeleteAccountResult(const std::string &payload);
~DeleteAccountResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEACCOUNTRESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DELETEBACKUPREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DELETEBACKUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DeleteBackupRequest : public RdsRequest
{
public:
DeleteBackupRequest();
~DeleteBackupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getBackupId()const;
void setBackupId(const std::string& backupId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 resourceOwnerAccount_;
std::string backupId_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEBACKUPREQUEST_H_

View 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_DELETEBACKUPRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DELETEBACKUPRESULT_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 DeleteBackupResult : public ServiceResult
{
public:
DeleteBackupResult();
explicit DeleteBackupResult(const std::string &payload);
~DeleteBackupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEBACKUPRESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DELETEDBINSTANCEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DELETEDBINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DeleteDBInstanceRequest : public RdsRequest
{
public:
DeleteDBInstanceRequest();
~DeleteDBInstanceRequest();
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);
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 resourceOwnerAccount_;
std::string clientToken_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEDBINSTANCEREQUEST_H_

View 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_DELETEDBINSTANCERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DELETEDBINSTANCERESULT_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 DeleteDBInstanceResult : public ServiceResult
{
public:
DeleteDBInstanceResult();
explicit DeleteDBInstanceResult(const std::string &payload);
~DeleteDBInstanceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEDBINSTANCERESULT_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DELETEDAMPPOLICYREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DELETEDAMPPOLICYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DeleteDampPolicyRequest : public RdsRequest
{
public:
DeleteDampPolicyRequest();
~DeleteDampPolicyRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getPolicyName()const;
void setPolicyName(const std::string& policyName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string securityToken_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string ownerAccount_;
std::string dBInstanceId_;
std::string policyName_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEDAMPPOLICYREQUEST_H_

View 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_DELETEDAMPPOLICYRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DELETEDAMPPOLICYRESULT_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 DeleteDampPolicyResult : public ServiceResult
{
public:
DeleteDampPolicyResult();
explicit DeleteDampPolicyResult(const std::string &payload);
~DeleteDampPolicyResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEDAMPPOLICYRESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DELETEDATABASEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DELETEDATABASEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DeleteDatabaseRequest : public RdsRequest
{
public:
DeleteDatabaseRequest();
~DeleteDatabaseRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDBName()const;
void setDBName(const std::string& dBName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 dBName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEDATABASEREQUEST_H_

View 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_DELETEDATABASERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DELETEDATABASERESULT_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 DeleteDatabaseResult : public ServiceResult
{
public:
DeleteDatabaseResult();
explicit DeleteDatabaseResult(const std::string &payload);
~DeleteDatabaseResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEDATABASERESULT_H_

View File

@@ -0,0 +1,83 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCIBEIMPORTSFROMDATABASEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCIBEIMPORTSFROMDATABASEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescibeImportsFromDatabaseRequest : public RdsRequest
{
public:
DescibeImportsFromDatabaseRequest();
~DescibeImportsFromDatabaseRequest();
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);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getImportId()const;
void setImportId(int importId);
std::string getEngine()const;
void setEngine(const std::string& engine);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string clientToken_;
std::string ownerAccount_;
std::string endTime_;
std::string startTime_;
long ownerId_;
int pageNumber_;
std::string accessKeyId_;
int importId_;
std::string engine_;
int pageSize_;
std::string dBInstanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCIBEIMPORTSFROMDATABASEREQUEST_H_

View File

@@ -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_DESCIBEIMPORTSFROMDATABASERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCIBEIMPORTSFROMDATABASERESULT_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 DescibeImportsFromDatabaseResult : public ServiceResult
{
public:
struct ImportResultFromDB
{
std::string importDataStatus;
std::string incrementalImportingTime;
std::string importDataStatusDescription;
std::string importDataType;
int importId;
};
DescibeImportsFromDatabaseResult();
explicit DescibeImportsFromDatabaseResult(const std::string &payload);
~DescibeImportsFromDatabaseResult();
int getTotalRecordCount()const;
void setTotalRecordCount(int totalRecordCount);
int getPageRecordCount()const;
void setPageRecordCount(int pageRecordCount);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::vector<ImportResultFromDB> getItems()const;
void setItems(const std::vector<ImportResultFromDB>& items);
protected:
void parse(const std::string &payload);
private:
int totalRecordCount_;
int pageRecordCount_;
int pageNumber_;
std::vector<ImportResultFromDB> items_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCIBEIMPORTSFROMDATABASERESULT_H_

View File

@@ -0,0 +1,107 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEABNORMALDBINSTANCESREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEABNORMALDBINSTANCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeAbnormalDBInstancesRequest : public RdsRequest
{
public:
DescribeAbnormalDBInstancesRequest();
~DescribeAbnormalDBInstancesRequest();
std::string getTag4value()const;
void setTag4value(const std::string& tag4value);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getTag2key()const;
void setTag2key(const std::string& tag2key);
std::string getTag5key()const;
void setTag5key(const std::string& tag5key);
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);
std::string getTag3key()const;
void setTag3key(const std::string& tag3key);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTag5value()const;
void setTag5value(const std::string& tag5value);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getTags()const;
void setTags(const std::string& tags);
std::string getTag1key()const;
void setTag1key(const std::string& tag1key);
std::string getTag1value()const;
void setTag1value(const std::string& tag1value);
std::string getTag2value()const;
void setTag2value(const std::string& tag2value);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getTag4key()const;
void setTag4key(const std::string& tag4key);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getTag3value()const;
void setTag3value(const std::string& tag3value);
std::string getProxyId()const;
void setProxyId(const std::string& proxyId);
private:
std::string tag4value_;
long resourceOwnerId_;
std::string tag2key_;
std::string tag5key_;
std::string resourceOwnerAccount_;
std::string clientToken_;
std::string ownerAccount_;
std::string tag3key_;
long ownerId_;
std::string tag5value_;
int pageNumber_;
std::string accessKeyId_;
std::string tags_;
std::string tag1key_;
std::string tag1value_;
std::string tag2value_;
int pageSize_;
std::string tag4key_;
std::string dBInstanceId_;
std::string tag3value_;
std::string proxyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEABNORMALDBINSTANCESREQUEST_H_

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEABNORMALDBINSTANCESRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEABNORMALDBINSTANCESRESULT_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 DescribeAbnormalDBInstancesResult : public ServiceResult
{
public:
struct InstanceResult
{
struct AbnormalItem
{
std::string abnormalReason;
std::string checkTime;
std::string adviceKey;
std::string checkItem;
std::string abnormalValue;
std::string abnormalDetail;
std::vector<std::string> adviseValue;
};
std::string dBInstanceId;
std::vector<InstanceResult::AbnormalItem> abnormalItems;
std::string dBInstanceDescription;
};
DescribeAbnormalDBInstancesResult();
explicit DescribeAbnormalDBInstancesResult(const std::string &payload);
~DescribeAbnormalDBInstancesResult();
int getTotalRecordCount()const;
void setTotalRecordCount(int totalRecordCount);
int getPageRecordCount()const;
void setPageRecordCount(int pageRecordCount);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::vector<InstanceResult> getItems()const;
void setItems(const std::vector<InstanceResult>& items);
protected:
void parse(const std::string &payload);
private:
int totalRecordCount_;
int pageRecordCount_;
int pageNumber_;
std::vector<InstanceResult> items_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEABNORMALDBINSTANCESRESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEACCOUNTSREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEACCOUNTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeAccountsRequest : public RdsRequest
{
public:
DescribeAccountsRequest();
~DescribeAccountsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccountName()const;
void setAccountName(const std::string& accountName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 accountName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEACCOUNTSREQUEST_H_

View File

@@ -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_DESCRIBEACCOUNTSRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEACCOUNTSRESULT_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 DescribeAccountsResult : public ServiceResult
{
public:
struct DBInstanceAccount
{
struct DatabasePrivilege
{
std::string accountPrivilege;
std::string dBName;
};
std::string accountDescription;
std::string accountStatus;
std::string dBInstanceId;
std::string accountType;
std::vector<DBInstanceAccount::DatabasePrivilege> databasePrivileges;
std::string accountName;
};
DescribeAccountsResult();
explicit DescribeAccountsResult(const std::string &payload);
~DescribeAccountsResult();
std::vector<DBInstanceAccount> getAccounts()const;
void setAccounts(const std::vector<DBInstanceAccount>& accounts);
protected:
void parse(const std::string &payload);
private:
std::vector<DBInstanceAccount> accounts_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEACCOUNTSRESULT_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeBackupPolicyRequest : public RdsRequest
{
public:
DescribeBackupPolicyRequest();
~DescribeBackupPolicyRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPPOLICYRESULT_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 DescribeBackupPolicyResult : public ServiceResult
{
public:
DescribeBackupPolicyResult();
explicit DescribeBackupPolicyResult(const std::string &payload);
~DescribeBackupPolicyResult();
std::string getPreferredBackupPeriod()const;
void setPreferredBackupPeriod(const std::string& preferredBackupPeriod);
int getLogBackupRetentionPeriod()const;
void setLogBackupRetentionPeriod(int logBackupRetentionPeriod);
std::string getPreferredBackupTime()const;
void setPreferredBackupTime(const std::string& preferredBackupTime);
std::string getBackupLog()const;
void setBackupLog(const std::string& backupLog);
int getBackupRetentionPeriod()const;
void setBackupRetentionPeriod(int backupRetentionPeriod);
std::string getPreferredNextBackupTime()const;
void setPreferredNextBackupTime(const std::string& preferredNextBackupTime);
protected:
void parse(const std::string &payload);
private:
std::string preferredBackupPeriod_;
int logBackupRetentionPeriod_;
std::string preferredBackupTime_;
std::string backupLog_;
int backupRetentionPeriod_;
std::string preferredNextBackupTime_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_

View File

@@ -0,0 +1,92 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEBACKUPSETSFORSECURITYREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSETSFORSECURITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeBackupSetsForSecurityRequest : public RdsRequest
{
public:
DescribeBackupSetsForSecurityRequest();
~DescribeBackupSetsForSecurityRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getTargetAliBid()const;
void setTargetAliBid(const std::string& targetAliBid);
std::string getBackupId()const;
void setBackupId(const std::string& backupId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getBackupStatus()const;
void setBackupStatus(const std::string& backupStatus);
std::string getBackupLocation()const;
void setBackupLocation(const std::string& backupLocation);
std::string getTargetAliUid()const;
void setTargetAliUid(const std::string& targetAliUid);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getBackupMode()const;
void setBackupMode(const std::string& backupMode);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string targetAliBid_;
std::string backupId_;
std::string ownerAccount_;
std::string endTime_;
std::string startTime_;
long ownerId_;
int pageNumber_;
std::string accessKeyId_;
std::string backupStatus_;
std::string backupLocation_;
std::string targetAliUid_;
int pageSize_;
std::string dBInstanceId_;
std::string backupMode_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSETSFORSECURITYREQUEST_H_

View File

@@ -0,0 +1,85 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEBACKUPSETSFORSECURITYRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSETSFORSECURITYRESULT_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 DescribeBackupSetsForSecurityResult : public ServiceResult
{
public:
struct Backup
{
std::string backupMethod;
std::string backupExtractionStatus;
std::string backupIntranetDownloadURL;
std::string backupMode;
long backupSize;
std::string backupId;
std::string hostInstanceID;
std::string backupDBNames;
std::string storeStatus;
std::string dBInstanceId;
std::string backupDownloadURL;
std::string backupEndTime;
std::string backupStartTime;
std::string backupType;
std::string backupScale;
std::string backupStatus;
std::string backupLocation;
long totalBackupSize;
};
DescribeBackupSetsForSecurityResult();
explicit DescribeBackupSetsForSecurityResult(const std::string &payload);
~DescribeBackupSetsForSecurityResult();
std::string getTotalRecordCount()const;
void setTotalRecordCount(const std::string& totalRecordCount);
std::string getPageRecordCount()const;
void setPageRecordCount(const std::string& pageRecordCount);
std::string getPageNumber()const;
void setPageNumber(const std::string& pageNumber);
std::vector<Backup> getItems()const;
void setItems(const std::vector<Backup>& items);
long getTotalBackupSize()const;
void setTotalBackupSize(long totalBackupSize);
protected:
void parse(const std::string &payload);
private:
std::string totalRecordCount_;
std::string pageRecordCount_;
std::string pageNumber_;
std::vector<Backup> items_;
long totalBackupSize_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSETSFORSECURITYRESULT_H_

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEBACKUPTASKSREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPTASKSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeBackupTasksRequest : public RdsRequest
{
public:
DescribeBackupTasksRequest();
~DescribeBackupTasksRequest();
std::string getBackupJobId()const;
void setBackupJobId(const std::string& backupJobId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getFlag()const;
void setFlag(const std::string& flag);
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);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getBackupMode()const;
void setBackupMode(const std::string& backupMode);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getBackupJobStatus()const;
void setBackupJobStatus(const std::string& backupJobStatus);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string backupJobId_;
long resourceOwnerId_;
std::string flag_;
std::string resourceOwnerAccount_;
std::string clientToken_;
std::string ownerAccount_;
std::string dBInstanceId_;
std::string backupMode_;
long ownerId_;
std::string backupJobStatus_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPTASKSREQUEST_H_

View File

@@ -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_DESCRIBEBACKUPTASKSRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPTASKSRESULT_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 DescribeBackupTasksResult : public ServiceResult
{
public:
struct BackupJob
{
std::string jobMode;
std::string taskAction;
std::string backupjobId;
std::string backupProgressStatus;
std::string process;
};
DescribeBackupTasksResult();
explicit DescribeBackupTasksResult(const std::string &payload);
~DescribeBackupTasksResult();
std::vector<BackupJob> getItems()const;
void setItems(const std::vector<BackupJob>& items);
protected:
void parse(const std::string &payload);
private:
std::vector<BackupJob> items_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPTASKSRESULT_H_

View File

@@ -0,0 +1,92 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEBACKUPSFORSECURITYREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSFORSECURITYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeBackupsForSecurityRequest : public RdsRequest
{
public:
DescribeBackupsForSecurityRequest();
~DescribeBackupsForSecurityRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getTargetAliBid()const;
void setTargetAliBid(const std::string& targetAliBid);
std::string getBackupId()const;
void setBackupId(const std::string& backupId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getBackupStatus()const;
void setBackupStatus(const std::string& backupStatus);
std::string getBackupLocation()const;
void setBackupLocation(const std::string& backupLocation);
std::string getTargetAliUid()const;
void setTargetAliUid(const std::string& targetAliUid);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getBackupMode()const;
void setBackupMode(const std::string& backupMode);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string targetAliBid_;
std::string backupId_;
std::string ownerAccount_;
std::string endTime_;
std::string startTime_;
long ownerId_;
int pageNumber_;
std::string accessKeyId_;
std::string backupStatus_;
std::string backupLocation_;
std::string targetAliUid_;
int pageSize_;
std::string dBInstanceId_;
std::string backupMode_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSFORSECURITYREQUEST_H_

View File

@@ -0,0 +1,85 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEBACKUPSFORSECURITYRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSFORSECURITYRESULT_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 DescribeBackupsForSecurityResult : public ServiceResult
{
public:
struct Backup
{
std::string backupMethod;
std::string backupExtractionStatus;
std::string backupIntranetDownloadURL;
std::string backupMode;
long backupSize;
std::string backupId;
std::string hostInstanceID;
std::string backupDBNames;
std::string storeStatus;
std::string dBInstanceId;
std::string backupDownloadURL;
std::string backupEndTime;
std::string backupStartTime;
std::string backupType;
std::string backupScale;
std::string backupStatus;
std::string backupLocation;
long totalBackupSize;
};
DescribeBackupsForSecurityResult();
explicit DescribeBackupsForSecurityResult(const std::string &payload);
~DescribeBackupsForSecurityResult();
std::string getTotalRecordCount()const;
void setTotalRecordCount(const std::string& totalRecordCount);
std::string getPageRecordCount()const;
void setPageRecordCount(const std::string& pageRecordCount);
std::string getPageNumber()const;
void setPageNumber(const std::string& pageNumber);
std::vector<Backup> getItems()const;
void setItems(const std::vector<Backup>& items);
long getTotalBackupSize()const;
void setTotalBackupSize(long totalBackupSize);
protected:
void parse(const std::string &payload);
private:
std::string totalRecordCount_;
std::string pageRecordCount_;
std::string pageNumber_;
std::vector<Backup> items_;
long totalBackupSize_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSFORSECURITYRESULT_H_

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeBackupsRequest : public RdsRequest
{
public:
DescribeBackupsRequest();
~DescribeBackupsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getBackupId()const;
void setBackupId(const std::string& backupId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getBackupStatus()const;
void setBackupStatus(const std::string& backupStatus);
std::string getBackupLocation()const;
void setBackupLocation(const std::string& backupLocation);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getBackupMode()const;
void setBackupMode(const std::string& backupMode);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string backupId_;
std::string ownerAccount_;
std::string endTime_;
std::string startTime_;
long ownerId_;
int pageNumber_;
std::string accessKeyId_;
std::string backupStatus_;
std::string backupLocation_;
int pageSize_;
std::string dBInstanceId_;
std::string backupMode_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSREQUEST_H_

View File

@@ -0,0 +1,85 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEBACKUPSRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSRESULT_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 DescribeBackupsResult : public ServiceResult
{
public:
struct Backup
{
std::string backupMethod;
std::string backupExtractionStatus;
std::string backupIntranetDownloadURL;
std::string backupMode;
long backupSize;
std::string backupId;
std::string hostInstanceID;
std::string backupDBNames;
std::string storeStatus;
std::string dBInstanceId;
std::string backupDownloadURL;
std::string backupEndTime;
std::string backupStartTime;
std::string backupType;
std::string backupScale;
std::string backupStatus;
std::string backupLocation;
long totalBackupSize;
};
DescribeBackupsResult();
explicit DescribeBackupsResult(const std::string &payload);
~DescribeBackupsResult();
std::string getTotalRecordCount()const;
void setTotalRecordCount(const std::string& totalRecordCount);
std::string getPageRecordCount()const;
void setPageRecordCount(const std::string& pageRecordCount);
std::string getPageNumber()const;
void setPageNumber(const std::string& pageNumber);
std::vector<Backup> getItems()const;
void setItems(const std::vector<Backup>& items);
long getTotalBackupSize()const;
void setTotalBackupSize(long totalBackupSize);
protected:
void parse(const std::string &payload);
private:
std::string totalRecordCount_;
std::string pageRecordCount_;
std::string pageNumber_;
std::vector<Backup> items_;
long totalBackupSize_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSRESULT_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEBINLOGFILESREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBINLOGFILESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeBinlogFilesRequest : public RdsRequest
{
public:
DescribeBinlogFilesRequest();
~DescribeBinlogFilesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
int getPageSize()const;
void setPageSize(int pageSize);
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);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
int pageSize_;
std::string endTime_;
std::string dBInstanceId_;
std::string startTime_;
long ownerId_;
int pageNumber_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBINLOGFILESREQUEST_H_

View File

@@ -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_DESCRIBEBINLOGFILESRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBINLOGFILESRESULT_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 DescribeBinlogFilesResult : public ServiceResult
{
public:
struct BinLogFile
{
std::string downloadLink;
std::string logBeginTime;
std::string linkExpiredTime;
std::string checksum;
std::string logEndTime;
std::string intranetDownloadLink;
std::string hostInstanceID;
long fileSize;
};
DescribeBinlogFilesResult();
explicit DescribeBinlogFilesResult(const std::string &payload);
~DescribeBinlogFilesResult();
int getTotalRecordCount()const;
void setTotalRecordCount(int totalRecordCount);
int getPageRecordCount()const;
void setPageRecordCount(int pageRecordCount);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::vector<BinLogFile> getItems()const;
void setItems(const std::vector<BinLogFile>& items);
long getTotalFileSize()const;
void setTotalFileSize(long totalFileSize);
protected:
void parse(const std::string &payload);
private:
int totalRecordCount_;
int pageRecordCount_;
int pageNumber_;
std::vector<BinLogFile> items_;
long totalFileSize_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBINLOGFILESRESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBECHARACTERSETNAMEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBECHARACTERSETNAMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeCharacterSetNameRequest : public RdsRequest
{
public:
DescribeCharacterSetNameRequest();
~DescribeCharacterSetNameRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getEngine()const;
void setEngine(const std::string& engine);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
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);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string engine_;
std::string regionId_;
std::string ownerAccount_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBECHARACTERSETNAMEREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBECHARACTERSETNAMERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBECHARACTERSETNAMERESULT_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 DescribeCharacterSetNameResult : public ServiceResult
{
public:
DescribeCharacterSetNameResult();
explicit DescribeCharacterSetNameResult(const std::string &payload);
~DescribeCharacterSetNameResult();
std::vector<std::string> getCharacterSetNameItems()const;
void setCharacterSetNameItems(const std::vector<std::string>& characterSetNameItems);
std::string getEngine()const;
void setEngine(const std::string& engine);
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> characterSetNameItems_;
std::string engine_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBECHARACTERSETNAMERESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceAttributeRequest : public RdsRequest
{
public:
DescribeDBInstanceAttributeRequest();
~DescribeDBInstanceAttributeRequest();
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 resourceGroupId_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_

View File

@@ -0,0 +1,114 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEDBINSTANCEATTRIBUTERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEATTRIBUTERESULT_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 DescribeDBInstanceAttributeResult : public ServiceResult
{
public:
struct DBInstanceAttribute
{
struct ReadOnlyDBInstanceId
{
std::string dBInstanceId;
};
long dBInstanceMemory;
std::string resourceGroupId;
std::string incrementSourceDBInstanceId;
std::string port;
std::string dBInstanceType;
std::string instanceNetworkType;
std::string dBInstanceClassType;
std::string tempUpgradeRecoveryMaxIOPS;
std::string replicateId;
std::string dBInstanceId;
int dBInstanceStorage;
std::string lockReason;
std::string availabilityValue;
std::string tempUpgradeRecoveryClass;
std::string engine;
std::string dBInstanceDescription;
std::string dBInstanceDiskUsed;
std::string engineVersion;
std::string dBInstanceStatus;
int maxConnections;
std::string dBInstanceClass;
int accountMaxQuantity;
std::string vSwitchId;
std::string payType;
std::string lockMode;
std::string guardDBInstanceId;
int insId;
std::string vpcId;
std::string masterInstanceId;
std::string tempUpgradeTimeStart;
std::string tempUpgradeTimeEnd;
std::string readDelayTime;
std::string creationTime;
std::string connectionMode;
std::string connectionString;
std::string expireTime;
int dBMaxQuantity;
std::string category;
std::string dBInstanceNetType;
int tempUpgradeRecoveryCpu;
std::string tempDBInstanceId;
std::string dBInstanceCPU;
int tempUpgradeRecoveryMemory;
std::string guardDBInstanceName;
std::string tempUpgradeRecoveryMaxConnections;
std::string securityIPList;
std::vector<DBInstanceAttribute::ReadOnlyDBInstanceId> readOnlyDBInstanceIds;
std::string maintainTime;
std::string zoneId;
std::string tempUpgradeRecoveryTime;
std::string accountType;
int maxIOPS;
std::string supportUpgradeAccountType;
bool canTempUpgrade;
std::string regionId;
};
DescribeDBInstanceAttributeResult();
explicit DescribeDBInstanceAttributeResult(const std::string &payload);
~DescribeDBInstanceAttributeResult();
std::vector<DBInstanceAttribute> getItems()const;
void setItems(const std::vector<DBInstanceAttribute>& items);
protected:
void parse(const std::string &payload);
private:
std::vector<DBInstanceAttribute> items_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEATTRIBUTERESULT_H_

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEDBINSTANCEBYTAGSREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEBYTAGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceByTagsRequest : public RdsRequest
{
public:
DescribeDBInstanceByTagsRequest();
~DescribeDBInstanceByTagsRequest();
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 getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getProxyId()const;
void setProxyId(const std::string& proxyId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string clientToken_;
std::string regionId_;
std::string ownerAccount_;
int pageSize_;
std::string dBInstanceId_;
long ownerId_;
int pageNumber_;
std::string accessKeyId_;
std::string proxyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEBYTAGSREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEBYTAGSRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEBYTAGSRESULT_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 DescribeDBInstanceByTagsResult : public ServiceResult
{
public:
struct DBInstanceTag
{
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string dBInstanceId;
std::vector<DBInstanceTag::Tag> tags;
};
DescribeDBInstanceByTagsResult();
explicit DescribeDBInstanceByTagsResult(const std::string &payload);
~DescribeDBInstanceByTagsResult();
int getTotalRecordCount()const;
void setTotalRecordCount(int totalRecordCount);
int getPageRecordCount()const;
void setPageRecordCount(int pageRecordCount);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::vector<DBInstanceTag> getItems()const;
void setItems(const std::vector<DBInstanceTag>& items);
protected:
void parse(const std::string &payload);
private:
int totalRecordCount_;
int pageRecordCount_;
int pageNumber_;
std::vector<DBInstanceTag> items_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEBYTAGSRESULT_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEECSSGRELATIONREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEECSSGRELATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceECSSGRelationRequest : public RdsRequest
{
public:
DescribeDBInstanceECSSGRelationRequest();
~DescribeDBInstanceECSSGRelationRequest();
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:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEECSSGRELATIONREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEECSSGRELATIONRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEECSSGRELATIONRESULT_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 DescribeDBInstanceECSSGRelationResult : public ServiceResult
{
public:
struct RdsEcsSecurityGroupRel
{
std::string securityGroupId;
std::string regionId;
std::string netType;
};
DescribeDBInstanceECSSGRelationResult();
explicit DescribeDBInstanceECSSGRelationResult(const std::string &payload);
~DescribeDBInstanceECSSGRelationResult();
std::vector<RdsEcsSecurityGroupRel> getItems()const;
void setItems(const std::vector<RdsEcsSecurityGroupRel>& items);
std::string getDBInstanceName()const;
void setDBInstanceName(const std::string& dBInstanceName);
protected:
void parse(const std::string &payload);
private:
std::vector<RdsEcsSecurityGroupRel> items_;
std::string dBInstanceName_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEECSSGRELATIONRESULT_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEEXTENDATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEEXTENDATTRIBUTEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceExtendAttributeRequest : public RdsRequest
{
public:
DescribeDBInstanceExtendAttributeRequest();
~DescribeDBInstanceExtendAttributeRequest();
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:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEEXTENDATTRIBUTEREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEDBINSTANCEEXTENDATTRIBUTERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEEXTENDATTRIBUTERESULT_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 DescribeDBInstanceExtendAttributeResult : public ServiceResult
{
public:
DescribeDBInstanceExtendAttributeResult();
explicit DescribeDBInstanceExtendAttributeResult(const std::string &payload);
~DescribeDBInstanceExtendAttributeResult();
std::string getTempUpgradeRecoveryMaxIOPS()const;
void setTempUpgradeRecoveryMaxIOPS(const std::string& tempUpgradeRecoveryMaxIOPS);
int getTempUpgradeRecoveryMemory()const;
void setTempUpgradeRecoveryMemory(int tempUpgradeRecoveryMemory);
std::string getTempUpgradeRecoveryTime()const;
void setTempUpgradeRecoveryTime(const std::string& tempUpgradeRecoveryTime);
std::string getTempUpgradeRecoveryMaxConnections()const;
void setTempUpgradeRecoveryMaxConnections(const std::string& tempUpgradeRecoveryMaxConnections);
int getTempUpgradeRecoveryCpu()const;
void setTempUpgradeRecoveryCpu(int tempUpgradeRecoveryCpu);
std::string getTempUpgradeTimeStart()const;
void setTempUpgradeTimeStart(const std::string& tempUpgradeTimeStart);
std::string getTempUpgradeTimeEnd()const;
void setTempUpgradeTimeEnd(const std::string& tempUpgradeTimeEnd);
bool getCanTempUpgrade()const;
void setCanTempUpgrade(bool canTempUpgrade);
std::string getTempUpgradeRecoveryClass()const;
void setTempUpgradeRecoveryClass(const std::string& tempUpgradeRecoveryClass);
protected:
void parse(const std::string &payload);
private:
std::string tempUpgradeRecoveryMaxIOPS_;
int tempUpgradeRecoveryMemory_;
std::string tempUpgradeRecoveryTime_;
std::string tempUpgradeRecoveryMaxConnections_;
int tempUpgradeRecoveryCpu_;
std::string tempUpgradeTimeStart_;
std::string tempUpgradeTimeEnd_;
bool canTempUpgrade_;
std::string tempUpgradeRecoveryClass_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEEXTENDATTRIBUTERESULT_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEHACONFIGREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEHACONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceHAConfigRequest : public RdsRequest
{
public:
DescribeDBInstanceHAConfigRequest();
~DescribeDBInstanceHAConfigRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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 resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEHACONFIGREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEHACONFIGRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEHACONFIGRESULT_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 DescribeDBInstanceHAConfigResult : public ServiceResult
{
public:
struct NodeInfo
{
std::string dataSyncTime;
std::string zoneId;
std::string logSyncTime;
std::string nodeType;
std::string nodeId;
std::string syncStatus;
std::string regionId;
};
DescribeDBInstanceHAConfigResult();
explicit DescribeDBInstanceHAConfigResult(const std::string &payload);
~DescribeDBInstanceHAConfigResult();
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getHAMode()const;
void setHAMode(const std::string& hAMode);
std::vector<NodeInfo> getHostInstanceInfos()const;
void setHostInstanceInfos(const std::vector<NodeInfo>& hostInstanceInfos);
std::string getSyncMode()const;
void setSyncMode(const std::string& syncMode);
protected:
void parse(const std::string &payload);
private:
std::string dBInstanceId_;
std::string hAMode_;
std::vector<NodeInfo> hostInstanceInfos_;
std::string syncMode_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEHACONFIGRESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/rds/RdsRequest.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceIPArrayListRequest : public RdsRequest
{
public:
DescribeDBInstanceIPArrayListRequest();
~DescribeDBInstanceIPArrayListRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
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);
std::string getWhitelistNetType()const;
void setWhitelistNetType(const std::string& whitelistNetType);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string dBInstanceId_;
long ownerId_;
std::string accessKeyId_;
std::string whitelistNetType_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_

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