Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e81be19ef | ||
|
|
bcda9aa4cd | ||
|
|
01ed244f91 | ||
|
|
979ae0c882 | ||
|
|
58b8b52591 | ||
|
|
29faefa1ab | ||
|
|
b03b322c96 | ||
|
|
0cdb7bfa7c |
22
CHANGELOG
22
CHANGELOG
@@ -1,3 +1,25 @@
|
||||
2022-07-28 Version: 1.36.1212
|
||||
- AMP version.
|
||||
|
||||
2022-07-28 Version: 1.36.1211
|
||||
- Fix bug.
|
||||
|
||||
2022-07-28 Version: 1.36.1210
|
||||
- Automatically generate sdk tasks.
|
||||
|
||||
2022-07-28 Version: 1.36.1209
|
||||
- Add GetImageInfos api.
|
||||
|
||||
2022-07-27 Version: 1.36.1208
|
||||
- Support ListProxies API to return protocolType, protocolPort and remove mysqlPort.
|
||||
- Support GetProxy API to return protocolType, protocolPort and remove mysqlPort.
|
||||
|
||||
2022-07-27 Version: 1.36.1207
|
||||
- Update.
|
||||
|
||||
2022-07-26 Version: 1.36.1206
|
||||
- Change ListCheckInstanceResult Public.
|
||||
|
||||
2022-07-26 Version: 1.36.1205
|
||||
- Support API ARMInstance.
|
||||
- Support Control ARM API.
|
||||
|
||||
0
CHANGELOG.md
Normal file
0
CHANGELOG.md
Normal file
@@ -47,14 +47,10 @@ set(dbs_public_header_model
|
||||
include/alibabacloud/dbs/model/DescribeDLAServiceResult.h
|
||||
include/alibabacloud/dbs/model/DescribeFullBackupListRequest.h
|
||||
include/alibabacloud/dbs/model/DescribeFullBackupListResult.h
|
||||
include/alibabacloud/dbs/model/DescribeFullBackupSetRequest.h
|
||||
include/alibabacloud/dbs/model/DescribeFullBackupSetResult.h
|
||||
include/alibabacloud/dbs/model/DescribeIncrementBackupListRequest.h
|
||||
include/alibabacloud/dbs/model/DescribeIncrementBackupListResult.h
|
||||
include/alibabacloud/dbs/model/DescribeJobErrorCodeRequest.h
|
||||
include/alibabacloud/dbs/model/DescribeJobErrorCodeResult.h
|
||||
include/alibabacloud/dbs/model/DescribeLogicalBackupSetRequest.h
|
||||
include/alibabacloud/dbs/model/DescribeLogicalBackupSetResult.h
|
||||
include/alibabacloud/dbs/model/DescribeNodeCidrListRequest.h
|
||||
include/alibabacloud/dbs/model/DescribeNodeCidrListResult.h
|
||||
include/alibabacloud/dbs/model/DescribePreCheckProgressListRequest.h
|
||||
@@ -126,14 +122,10 @@ set(dbs_src
|
||||
src/model/DescribeDLAServiceResult.cc
|
||||
src/model/DescribeFullBackupListRequest.cc
|
||||
src/model/DescribeFullBackupListResult.cc
|
||||
src/model/DescribeFullBackupSetRequest.cc
|
||||
src/model/DescribeFullBackupSetResult.cc
|
||||
src/model/DescribeIncrementBackupListRequest.cc
|
||||
src/model/DescribeIncrementBackupListResult.cc
|
||||
src/model/DescribeJobErrorCodeRequest.cc
|
||||
src/model/DescribeJobErrorCodeResult.cc
|
||||
src/model/DescribeLogicalBackupSetRequest.cc
|
||||
src/model/DescribeLogicalBackupSetResult.cc
|
||||
src/model/DescribeNodeCidrListRequest.cc
|
||||
src/model/DescribeNodeCidrListResult.cc
|
||||
src/model/DescribePreCheckProgressListRequest.cc
|
||||
|
||||
@@ -48,14 +48,10 @@
|
||||
#include "model/DescribeDLAServiceResult.h"
|
||||
#include "model/DescribeFullBackupListRequest.h"
|
||||
#include "model/DescribeFullBackupListResult.h"
|
||||
#include "model/DescribeFullBackupSetRequest.h"
|
||||
#include "model/DescribeFullBackupSetResult.h"
|
||||
#include "model/DescribeIncrementBackupListRequest.h"
|
||||
#include "model/DescribeIncrementBackupListResult.h"
|
||||
#include "model/DescribeJobErrorCodeRequest.h"
|
||||
#include "model/DescribeJobErrorCodeResult.h"
|
||||
#include "model/DescribeLogicalBackupSetRequest.h"
|
||||
#include "model/DescribeLogicalBackupSetResult.h"
|
||||
#include "model/DescribeNodeCidrListRequest.h"
|
||||
#include "model/DescribeNodeCidrListResult.h"
|
||||
#include "model/DescribePreCheckProgressListRequest.h"
|
||||
@@ -146,18 +142,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeFullBackupListResult> DescribeFullBackupListOutcome;
|
||||
typedef std::future<DescribeFullBackupListOutcome> DescribeFullBackupListOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DescribeFullBackupListRequest&, const DescribeFullBackupListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFullBackupListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeFullBackupSetResult> DescribeFullBackupSetOutcome;
|
||||
typedef std::future<DescribeFullBackupSetOutcome> DescribeFullBackupSetOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DescribeFullBackupSetRequest&, const DescribeFullBackupSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFullBackupSetAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeIncrementBackupListResult> DescribeIncrementBackupListOutcome;
|
||||
typedef std::future<DescribeIncrementBackupListOutcome> DescribeIncrementBackupListOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DescribeIncrementBackupListRequest&, const DescribeIncrementBackupListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIncrementBackupListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeJobErrorCodeResult> DescribeJobErrorCodeOutcome;
|
||||
typedef std::future<DescribeJobErrorCodeOutcome> DescribeJobErrorCodeOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DescribeJobErrorCodeRequest&, const DescribeJobErrorCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeJobErrorCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLogicalBackupSetResult> DescribeLogicalBackupSetOutcome;
|
||||
typedef std::future<DescribeLogicalBackupSetOutcome> DescribeLogicalBackupSetOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DescribeLogicalBackupSetRequest&, const DescribeLogicalBackupSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogicalBackupSetAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeNodeCidrListResult> DescribeNodeCidrListOutcome;
|
||||
typedef std::future<DescribeNodeCidrListOutcome> DescribeNodeCidrListOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DescribeNodeCidrListRequest&, const DescribeNodeCidrListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNodeCidrListAsyncHandler;
|
||||
@@ -265,18 +255,12 @@ namespace AlibabaCloud
|
||||
DescribeFullBackupListOutcome describeFullBackupList(const Model::DescribeFullBackupListRequest &request)const;
|
||||
void describeFullBackupListAsync(const Model::DescribeFullBackupListRequest& request, const DescribeFullBackupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeFullBackupListOutcomeCallable describeFullBackupListCallable(const Model::DescribeFullBackupListRequest& request) const;
|
||||
DescribeFullBackupSetOutcome describeFullBackupSet(const Model::DescribeFullBackupSetRequest &request)const;
|
||||
void describeFullBackupSetAsync(const Model::DescribeFullBackupSetRequest& request, const DescribeFullBackupSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeFullBackupSetOutcomeCallable describeFullBackupSetCallable(const Model::DescribeFullBackupSetRequest& request) const;
|
||||
DescribeIncrementBackupListOutcome describeIncrementBackupList(const Model::DescribeIncrementBackupListRequest &request)const;
|
||||
void describeIncrementBackupListAsync(const Model::DescribeIncrementBackupListRequest& request, const DescribeIncrementBackupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeIncrementBackupListOutcomeCallable describeIncrementBackupListCallable(const Model::DescribeIncrementBackupListRequest& request) const;
|
||||
DescribeJobErrorCodeOutcome describeJobErrorCode(const Model::DescribeJobErrorCodeRequest &request)const;
|
||||
void describeJobErrorCodeAsync(const Model::DescribeJobErrorCodeRequest& request, const DescribeJobErrorCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeJobErrorCodeOutcomeCallable describeJobErrorCodeCallable(const Model::DescribeJobErrorCodeRequest& request) const;
|
||||
DescribeLogicalBackupSetOutcome describeLogicalBackupSet(const Model::DescribeLogicalBackupSetRequest &request)const;
|
||||
void describeLogicalBackupSetAsync(const Model::DescribeLogicalBackupSetRequest& request, const DescribeLogicalBackupSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLogicalBackupSetOutcomeCallable describeLogicalBackupSetCallable(const Model::DescribeLogicalBackupSetRequest& request) const;
|
||||
DescribeNodeCidrListOutcome describeNodeCidrList(const Model::DescribeNodeCidrListRequest &request)const;
|
||||
void describeNodeCidrListAsync(const Model::DescribeNodeCidrListRequest& request, const DescribeNodeCidrListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeNodeCidrListOutcomeCallable describeNodeCidrListCallable(const Model::DescribeNodeCidrListRequest& request) const;
|
||||
|
||||
@@ -1,135 +1,132 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_CONFIGUREBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CONFIGUREBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT ConfigureBackupPlanRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConfigureBackupPlanRequest();
|
||||
~ConfigureBackupPlanRequest();
|
||||
|
||||
std::string getSourceEndpointRegion()const;
|
||||
void setSourceEndpointRegion(const std::string& sourceEndpointRegion);
|
||||
long getBackupGatewayId()const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getSourceEndpointInstanceID()const;
|
||||
void setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID);
|
||||
std::string getSourceEndpointUserName()const;
|
||||
void setSourceEndpointUserName(const std::string& sourceEndpointUserName);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getSourceEndpointDatabaseName()const;
|
||||
void setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName);
|
||||
int getDuplicationInfrequentAccessPeriod()const;
|
||||
void setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod);
|
||||
std::string getBackupStartTime()const;
|
||||
void setBackupStartTime(const std::string& backupStartTime);
|
||||
std::string getSourceEndpointIP()const;
|
||||
void setSourceEndpointIP(const std::string& sourceEndpointIP);
|
||||
std::string getCrossRoleName()const;
|
||||
void setCrossRoleName(const std::string& crossRoleName);
|
||||
bool getEnableBackupLog()const;
|
||||
void setEnableBackupLog(bool enableBackupLog);
|
||||
std::string getBackupStorageType()const;
|
||||
void setBackupStorageType(const std::string& backupStorageType);
|
||||
int getDuplicationArchivePeriod()const;
|
||||
void setDuplicationArchivePeriod(int duplicationArchivePeriod);
|
||||
int getBackupLogIntervalSeconds()const;
|
||||
void setBackupLogIntervalSeconds(int backupLogIntervalSeconds);
|
||||
std::string getCrossAliyunId()const;
|
||||
void setCrossAliyunId(const std::string& crossAliyunId);
|
||||
bool getAutoStartBackup()const;
|
||||
void setAutoStartBackup(bool autoStartBackup);
|
||||
std::string getSourceEndpointPassword()const;
|
||||
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
|
||||
std::string getBackupObjects()const;
|
||||
void setBackupObjects(const std::string& backupObjects);
|
||||
long getBackupRateLimit()const;
|
||||
void setBackupRateLimit(long backupRateLimit);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
int getSourceEndpointPort()const;
|
||||
void setSourceEndpointPort(int sourceEndpointPort);
|
||||
int getBackupRetentionPeriod()const;
|
||||
void setBackupRetentionPeriod(int backupRetentionPeriod);
|
||||
std::string getBackupPeriod()const;
|
||||
void setBackupPeriod(const std::string& backupPeriod);
|
||||
long getBackupSpeedLimit()const;
|
||||
void setBackupSpeedLimit(long backupSpeedLimit);
|
||||
std::string getSourceEndpointInstanceType()const;
|
||||
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
|
||||
std::string getBackupPlanName()const;
|
||||
void setBackupPlanName(const std::string& backupPlanName);
|
||||
std::string getSourceEndpointOracleSID()const;
|
||||
void setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID);
|
||||
std::string getOSSBucketName()const;
|
||||
void setOSSBucketName(const std::string& oSSBucketName);
|
||||
std::string getBackupStrategyType()const;
|
||||
void setBackupStrategyType(const std::string& backupStrategyType);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointRegion_;
|
||||
long backupGatewayId_;
|
||||
std::string sourceEndpointInstanceID_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
int duplicationInfrequentAccessPeriod_;
|
||||
std::string backupStartTime_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string crossRoleName_;
|
||||
bool enableBackupLog_;
|
||||
std::string backupStorageType_;
|
||||
int duplicationArchivePeriod_;
|
||||
int backupLogIntervalSeconds_;
|
||||
std::string crossAliyunId_;
|
||||
bool autoStartBackup_;
|
||||
std::string sourceEndpointPassword_;
|
||||
std::string backupObjects_;
|
||||
long backupRateLimit_;
|
||||
std::string ownerId_;
|
||||
int sourceEndpointPort_;
|
||||
int backupRetentionPeriod_;
|
||||
std::string backupPeriod_;
|
||||
long backupSpeedLimit_;
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string backupPlanName_;
|
||||
std::string sourceEndpointOracleSID_;
|
||||
std::string oSSBucketName_;
|
||||
std::string backupStrategyType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CONFIGUREBACKUPPLANREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_CONFIGUREBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CONFIGUREBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT ConfigureBackupPlanRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ConfigureBackupPlanRequest();
|
||||
~ConfigureBackupPlanRequest();
|
||||
std::string getSourceEndpointRegion() const;
|
||||
void setSourceEndpointRegion(const std::string &sourceEndpointRegion);
|
||||
long getBackupGatewayId() const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getSourceEndpointInstanceID() const;
|
||||
void setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID);
|
||||
std::string getSourceEndpointUserName() const;
|
||||
void setSourceEndpointUserName(const std::string &sourceEndpointUserName);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getSourceEndpointDatabaseName() const;
|
||||
void setSourceEndpointDatabaseName(const std::string &sourceEndpointDatabaseName);
|
||||
int getDuplicationInfrequentAccessPeriod() const;
|
||||
void setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getBackupStartTime() const;
|
||||
void setBackupStartTime(const std::string &backupStartTime);
|
||||
std::string getSourceEndpointIP() const;
|
||||
void setSourceEndpointIP(const std::string &sourceEndpointIP);
|
||||
std::string getCrossRoleName() const;
|
||||
void setCrossRoleName(const std::string &crossRoleName);
|
||||
bool getEnableBackupLog() const;
|
||||
void setEnableBackupLog(bool enableBackupLog);
|
||||
std::string getBackupStorageType() const;
|
||||
void setBackupStorageType(const std::string &backupStorageType);
|
||||
int getDuplicationArchivePeriod() const;
|
||||
void setDuplicationArchivePeriod(int duplicationArchivePeriod);
|
||||
int getBackupLogIntervalSeconds() const;
|
||||
void setBackupLogIntervalSeconds(int backupLogIntervalSeconds);
|
||||
std::string getCrossAliyunId() const;
|
||||
void setCrossAliyunId(const std::string &crossAliyunId);
|
||||
bool getAutoStartBackup() const;
|
||||
void setAutoStartBackup(bool autoStartBackup);
|
||||
std::string getSourceEndpointPassword() const;
|
||||
void setSourceEndpointPassword(const std::string &sourceEndpointPassword);
|
||||
std::string getBackupObjects() const;
|
||||
void setBackupObjects(const std::string &backupObjects);
|
||||
long getBackupRateLimit() const;
|
||||
void setBackupRateLimit(long backupRateLimit);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getSourceEndpointPort() const;
|
||||
void setSourceEndpointPort(int sourceEndpointPort);
|
||||
int getBackupRetentionPeriod() const;
|
||||
void setBackupRetentionPeriod(int backupRetentionPeriod);
|
||||
std::string getBackupPeriod() const;
|
||||
void setBackupPeriod(const std::string &backupPeriod);
|
||||
long getBackupSpeedLimit() const;
|
||||
void setBackupSpeedLimit(long backupSpeedLimit);
|
||||
std::string getSourceEndpointInstanceType() const;
|
||||
void setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType);
|
||||
std::string getBackupPlanName() const;
|
||||
void setBackupPlanName(const std::string &backupPlanName);
|
||||
std::string getSourceEndpointOracleSID() const;
|
||||
void setSourceEndpointOracleSID(const std::string &sourceEndpointOracleSID);
|
||||
std::string getOSSBucketName() const;
|
||||
void setOSSBucketName(const std::string &oSSBucketName);
|
||||
std::string getBackupStrategyType() const;
|
||||
void setBackupStrategyType(const std::string &backupStrategyType);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointRegion_;
|
||||
long backupGatewayId_;
|
||||
std::string sourceEndpointInstanceID_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
int duplicationInfrequentAccessPeriod_;
|
||||
std::string resourceGroupId_;
|
||||
std::string backupStartTime_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string crossRoleName_;
|
||||
bool enableBackupLog_;
|
||||
std::string backupStorageType_;
|
||||
int duplicationArchivePeriod_;
|
||||
int backupLogIntervalSeconds_;
|
||||
std::string crossAliyunId_;
|
||||
bool autoStartBackup_;
|
||||
std::string sourceEndpointPassword_;
|
||||
std::string backupObjects_;
|
||||
long backupRateLimit_;
|
||||
std::string ownerId_;
|
||||
int sourceEndpointPort_;
|
||||
int backupRetentionPeriod_;
|
||||
std::string backupPeriod_;
|
||||
long backupSpeedLimit_;
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string backupPlanName_;
|
||||
std::string sourceEndpointOracleSID_;
|
||||
std::string oSSBucketName_;
|
||||
std::string backupStrategyType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CONFIGUREBACKUPPLANREQUEST_H_
|
||||
|
||||
@@ -1,168 +1,165 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_CREATEANDSTARTBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATEANDSTARTBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateAndStartBackupPlanRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateAndStartBackupPlanRequest();
|
||||
~CreateAndStartBackupPlanRequest();
|
||||
|
||||
std::string getDatabaseType()const;
|
||||
void setDatabaseType(const std::string& databaseType);
|
||||
long getBackupGatewayId()const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getSourceEndpointUserName()const;
|
||||
void setSourceEndpointUserName(const std::string& sourceEndpointUserName);
|
||||
std::string getStorageType()const;
|
||||
void setStorageType(const std::string& storageType);
|
||||
std::string getDatabaseRegion()const;
|
||||
void setDatabaseRegion(const std::string& databaseRegion);
|
||||
std::string getBackupStartTime()const;
|
||||
void setBackupStartTime(const std::string& backupStartTime);
|
||||
std::string getSourceEndpointIP()const;
|
||||
void setSourceEndpointIP(const std::string& sourceEndpointIP);
|
||||
std::string getCrossRoleName()const;
|
||||
void setCrossRoleName(const std::string& crossRoleName);
|
||||
std::string getBackupStorageType()const;
|
||||
void setBackupStorageType(const std::string& backupStorageType);
|
||||
int getDuplicationArchivePeriod()const;
|
||||
void setDuplicationArchivePeriod(int duplicationArchivePeriod);
|
||||
std::string getPeriod()const;
|
||||
void setPeriod(const std::string& period);
|
||||
int getBackupLogIntervalSeconds()const;
|
||||
void setBackupLogIntervalSeconds(int backupLogIntervalSeconds);
|
||||
std::string getFromApp()const;
|
||||
void setFromApp(const std::string& fromApp);
|
||||
std::string getSourceEndpointPassword()const;
|
||||
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getBackupMethod()const;
|
||||
void setBackupMethod(const std::string& backupMethod);
|
||||
int getBackupRetentionPeriod()const;
|
||||
void setBackupRetentionPeriod(int backupRetentionPeriod);
|
||||
std::string getBackupPeriod()const;
|
||||
void setBackupPeriod(const std::string& backupPeriod);
|
||||
long getBackupSpeedLimit()const;
|
||||
void setBackupSpeedLimit(long backupSpeedLimit);
|
||||
std::string getSourceEndpointInstanceType()const;
|
||||
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
|
||||
std::string getBackupPlanName()const;
|
||||
void setBackupPlanName(const std::string& backupPlanName);
|
||||
std::string getOSSBucketName()const;
|
||||
void setOSSBucketName(const std::string& oSSBucketName);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
std::string getSourceEndpointRegion()const;
|
||||
void setSourceEndpointRegion(const std::string& sourceEndpointRegion);
|
||||
std::string getSourceEndpointInstanceID()const;
|
||||
void setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getInstanceClass()const;
|
||||
void setInstanceClass(const std::string& instanceClass);
|
||||
std::string getSourceEndpointDatabaseName()const;
|
||||
void setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName);
|
||||
int getDuplicationInfrequentAccessPeriod()const;
|
||||
void setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod);
|
||||
std::string getInstanceType()const;
|
||||
void setInstanceType(const std::string& instanceType);
|
||||
bool getEnableBackupLog()const;
|
||||
void setEnableBackupLog(bool enableBackupLog);
|
||||
std::string getCrossAliyunId()const;
|
||||
void setCrossAliyunId(const std::string& crossAliyunId);
|
||||
std::string getBackupObjects()const;
|
||||
void setBackupObjects(const std::string& backupObjects);
|
||||
long getBackupRateLimit()const;
|
||||
void setBackupRateLimit(long backupRateLimit);
|
||||
int getUsedTime()const;
|
||||
void setUsedTime(int usedTime);
|
||||
int getSourceEndpointPort()const;
|
||||
void setSourceEndpointPort(int sourceEndpointPort);
|
||||
std::string getStorageRegion()const;
|
||||
void setStorageRegion(const std::string& storageRegion);
|
||||
std::string getSourceEndpointOracleSID()const;
|
||||
void setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID);
|
||||
std::string getBackupStrategyType()const;
|
||||
void setBackupStrategyType(const std::string& backupStrategyType);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
|
||||
private:
|
||||
std::string databaseType_;
|
||||
long backupGatewayId_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string storageType_;
|
||||
std::string databaseRegion_;
|
||||
std::string backupStartTime_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string crossRoleName_;
|
||||
std::string backupStorageType_;
|
||||
int duplicationArchivePeriod_;
|
||||
std::string period_;
|
||||
int backupLogIntervalSeconds_;
|
||||
std::string fromApp_;
|
||||
std::string sourceEndpointPassword_;
|
||||
std::string ownerId_;
|
||||
std::string backupMethod_;
|
||||
int backupRetentionPeriod_;
|
||||
std::string backupPeriod_;
|
||||
long backupSpeedLimit_;
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string backupPlanName_;
|
||||
std::string oSSBucketName_;
|
||||
std::string region_;
|
||||
std::string sourceEndpointRegion_;
|
||||
std::string sourceEndpointInstanceID_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string instanceClass_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
int duplicationInfrequentAccessPeriod_;
|
||||
std::string instanceType_;
|
||||
bool enableBackupLog_;
|
||||
std::string crossAliyunId_;
|
||||
std::string backupObjects_;
|
||||
long backupRateLimit_;
|
||||
int usedTime_;
|
||||
int sourceEndpointPort_;
|
||||
std::string storageRegion_;
|
||||
std::string sourceEndpointOracleSID_;
|
||||
std::string backupStrategyType_;
|
||||
std::string payType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEANDSTARTBACKUPPLANREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_CREATEANDSTARTBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATEANDSTARTBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateAndStartBackupPlanRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateAndStartBackupPlanRequest();
|
||||
~CreateAndStartBackupPlanRequest();
|
||||
std::string getDatabaseType() const;
|
||||
void setDatabaseType(const std::string &databaseType);
|
||||
long getBackupGatewayId() const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getSourceEndpointUserName() const;
|
||||
void setSourceEndpointUserName(const std::string &sourceEndpointUserName);
|
||||
std::string getStorageType() const;
|
||||
void setStorageType(const std::string &storageType);
|
||||
std::string getDatabaseRegion() const;
|
||||
void setDatabaseRegion(const std::string &databaseRegion);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getBackupStartTime() const;
|
||||
void setBackupStartTime(const std::string &backupStartTime);
|
||||
std::string getSourceEndpointIP() const;
|
||||
void setSourceEndpointIP(const std::string &sourceEndpointIP);
|
||||
std::string getCrossRoleName() const;
|
||||
void setCrossRoleName(const std::string &crossRoleName);
|
||||
std::string getBackupStorageType() const;
|
||||
void setBackupStorageType(const std::string &backupStorageType);
|
||||
int getDuplicationArchivePeriod() const;
|
||||
void setDuplicationArchivePeriod(int duplicationArchivePeriod);
|
||||
std::string getPeriod() const;
|
||||
void setPeriod(const std::string &period);
|
||||
int getBackupLogIntervalSeconds() const;
|
||||
void setBackupLogIntervalSeconds(int backupLogIntervalSeconds);
|
||||
std::string getFromApp() const;
|
||||
void setFromApp(const std::string &fromApp);
|
||||
std::string getSourceEndpointPassword() const;
|
||||
void setSourceEndpointPassword(const std::string &sourceEndpointPassword);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getBackupMethod() const;
|
||||
void setBackupMethod(const std::string &backupMethod);
|
||||
int getBackupRetentionPeriod() const;
|
||||
void setBackupRetentionPeriod(int backupRetentionPeriod);
|
||||
std::string getBackupPeriod() const;
|
||||
void setBackupPeriod(const std::string &backupPeriod);
|
||||
long getBackupSpeedLimit() const;
|
||||
void setBackupSpeedLimit(long backupSpeedLimit);
|
||||
std::string getSourceEndpointInstanceType() const;
|
||||
void setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType);
|
||||
std::string getBackupPlanName() const;
|
||||
void setBackupPlanName(const std::string &backupPlanName);
|
||||
std::string getOSSBucketName() const;
|
||||
void setOSSBucketName(const std::string &oSSBucketName);
|
||||
std::string getRegion() const;
|
||||
void setRegion(const std::string ®ion);
|
||||
std::string getSourceEndpointRegion() const;
|
||||
void setSourceEndpointRegion(const std::string &sourceEndpointRegion);
|
||||
std::string getSourceEndpointInstanceID() const;
|
||||
void setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getInstanceClass() const;
|
||||
void setInstanceClass(const std::string &instanceClass);
|
||||
std::string getSourceEndpointDatabaseName() const;
|
||||
void setSourceEndpointDatabaseName(const std::string &sourceEndpointDatabaseName);
|
||||
int getDuplicationInfrequentAccessPeriod() const;
|
||||
void setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod);
|
||||
std::string getInstanceType() const;
|
||||
void setInstanceType(const std::string &instanceType);
|
||||
bool getEnableBackupLog() const;
|
||||
void setEnableBackupLog(bool enableBackupLog);
|
||||
std::string getCrossAliyunId() const;
|
||||
void setCrossAliyunId(const std::string &crossAliyunId);
|
||||
std::string getBackupObjects() const;
|
||||
void setBackupObjects(const std::string &backupObjects);
|
||||
long getBackupRateLimit() const;
|
||||
void setBackupRateLimit(long backupRateLimit);
|
||||
int getUsedTime() const;
|
||||
void setUsedTime(int usedTime);
|
||||
int getSourceEndpointPort() const;
|
||||
void setSourceEndpointPort(int sourceEndpointPort);
|
||||
std::string getStorageRegion() const;
|
||||
void setStorageRegion(const std::string &storageRegion);
|
||||
std::string getSourceEndpointOracleSID() const;
|
||||
void setSourceEndpointOracleSID(const std::string &sourceEndpointOracleSID);
|
||||
std::string getBackupStrategyType() const;
|
||||
void setBackupStrategyType(const std::string &backupStrategyType);
|
||||
std::string getPayType() const;
|
||||
void setPayType(const std::string &payType);
|
||||
|
||||
private:
|
||||
std::string databaseType_;
|
||||
long backupGatewayId_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string storageType_;
|
||||
std::string databaseRegion_;
|
||||
std::string resourceGroupId_;
|
||||
std::string backupStartTime_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string crossRoleName_;
|
||||
std::string backupStorageType_;
|
||||
int duplicationArchivePeriod_;
|
||||
std::string period_;
|
||||
int backupLogIntervalSeconds_;
|
||||
std::string fromApp_;
|
||||
std::string sourceEndpointPassword_;
|
||||
std::string ownerId_;
|
||||
std::string backupMethod_;
|
||||
int backupRetentionPeriod_;
|
||||
std::string backupPeriod_;
|
||||
long backupSpeedLimit_;
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string backupPlanName_;
|
||||
std::string oSSBucketName_;
|
||||
std::string region_;
|
||||
std::string sourceEndpointRegion_;
|
||||
std::string sourceEndpointInstanceID_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string instanceClass_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
int duplicationInfrequentAccessPeriod_;
|
||||
std::string instanceType_;
|
||||
bool enableBackupLog_;
|
||||
std::string crossAliyunId_;
|
||||
std::string backupObjects_;
|
||||
long backupRateLimit_;
|
||||
int usedTime_;
|
||||
int sourceEndpointPort_;
|
||||
std::string storageRegion_;
|
||||
std::string sourceEndpointOracleSID_;
|
||||
std::string backupStrategyType_;
|
||||
std::string payType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEANDSTARTBACKUPPLANREQUEST_H_
|
||||
|
||||
@@ -1,87 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_CREATEBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATEBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateBackupPlanRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateBackupPlanRequest();
|
||||
~CreateBackupPlanRequest();
|
||||
|
||||
std::string getDatabaseType()const;
|
||||
void setDatabaseType(const std::string& databaseType);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getInstanceClass()const;
|
||||
void setInstanceClass(const std::string& instanceClass);
|
||||
std::string getStorageType()const;
|
||||
void setStorageType(const std::string& storageType);
|
||||
std::string getDatabaseRegion()const;
|
||||
void setDatabaseRegion(const std::string& databaseRegion);
|
||||
std::string getInstanceType()const;
|
||||
void setInstanceType(const std::string& instanceType);
|
||||
std::string getPeriod()const;
|
||||
void setPeriod(const std::string& period);
|
||||
std::string getFromApp()const;
|
||||
void setFromApp(const std::string& fromApp);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
int getUsedTime()const;
|
||||
void setUsedTime(int usedTime);
|
||||
std::string getBackupMethod()const;
|
||||
void setBackupMethod(const std::string& backupMethod);
|
||||
std::string getStorageRegion()const;
|
||||
void setStorageRegion(const std::string& storageRegion);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
|
||||
private:
|
||||
std::string databaseType_;
|
||||
std::string clientToken_;
|
||||
std::string instanceClass_;
|
||||
std::string storageType_;
|
||||
std::string databaseRegion_;
|
||||
std::string instanceType_;
|
||||
std::string period_;
|
||||
std::string fromApp_;
|
||||
std::string ownerId_;
|
||||
int usedTime_;
|
||||
std::string backupMethod_;
|
||||
std::string storageRegion_;
|
||||
std::string region_;
|
||||
std::string payType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEBACKUPPLANREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_CREATEBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATEBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateBackupPlanRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateBackupPlanRequest();
|
||||
~CreateBackupPlanRequest();
|
||||
std::string getDatabaseType() const;
|
||||
void setDatabaseType(const std::string &databaseType);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getInstanceClass() const;
|
||||
void setInstanceClass(const std::string &instanceClass);
|
||||
std::string getStorageType() const;
|
||||
void setStorageType(const std::string &storageType);
|
||||
std::string getDatabaseRegion() const;
|
||||
void setDatabaseRegion(const std::string &databaseRegion);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getInstanceType() const;
|
||||
void setInstanceType(const std::string &instanceType);
|
||||
std::string getPeriod() const;
|
||||
void setPeriod(const std::string &period);
|
||||
std::string getFromApp() const;
|
||||
void setFromApp(const std::string &fromApp);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getUsedTime() const;
|
||||
void setUsedTime(int usedTime);
|
||||
std::string getBackupMethod() const;
|
||||
void setBackupMethod(const std::string &backupMethod);
|
||||
std::string getStorageRegion() const;
|
||||
void setStorageRegion(const std::string &storageRegion);
|
||||
std::string getRegion() const;
|
||||
void setRegion(const std::string ®ion);
|
||||
std::string getPayType() const;
|
||||
void setPayType(const std::string &payType);
|
||||
|
||||
private:
|
||||
std::string databaseType_;
|
||||
std::string clientToken_;
|
||||
std::string instanceClass_;
|
||||
std::string storageType_;
|
||||
std::string databaseRegion_;
|
||||
std::string resourceGroupId_;
|
||||
std::string instanceType_;
|
||||
std::string period_;
|
||||
std::string fromApp_;
|
||||
std::string ownerId_;
|
||||
int usedTime_;
|
||||
std::string backupMethod_;
|
||||
std::string storageRegion_;
|
||||
std::string region_;
|
||||
std::string payType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEBACKUPPLANREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_CREATEFULLBACKUPSETDOWNLOADREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATEFULLBACKUPSETDOWNLOADREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateFullBackupSetDownloadRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateFullBackupSetDownloadRequest();
|
||||
~CreateFullBackupSetDownloadRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupSetId()const;
|
||||
void setBackupSetId(const std::string& backupSetId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getBackupSetDataFormat()const;
|
||||
void setBackupSetDataFormat(const std::string& backupSetDataFormat);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupSetId_;
|
||||
std::string ownerId_;
|
||||
std::string backupSetDataFormat_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEFULLBACKUPSETDOWNLOADREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_CREATEFULLBACKUPSETDOWNLOADREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATEFULLBACKUPSETDOWNLOADREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateFullBackupSetDownloadRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateFullBackupSetDownloadRequest();
|
||||
~CreateFullBackupSetDownloadRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupSetId() const;
|
||||
void setBackupSetId(const std::string &backupSetId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getBackupSetDataFormat() const;
|
||||
void setBackupSetDataFormat(const std::string &backupSetDataFormat);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupSetId_;
|
||||
std::string ownerId_;
|
||||
std::string backupSetDataFormat_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEFULLBACKUPSETDOWNLOADREQUEST_H_
|
||||
|
||||
@@ -1,66 +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_DBS_MODEL_CREATEGETDBLISTFROMAGENTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATEGETDBLISTFROMAGENTTASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateGetDBListFromAgentTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateGetDBListFromAgentTaskRequest();
|
||||
~CreateGetDBListFromAgentTaskRequest();
|
||||
|
||||
std::string getSourceEndpointRegion()const;
|
||||
void setSourceEndpointRegion(const std::string& sourceEndpointRegion);
|
||||
long getBackupGatewayId()const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getDatabaseType()const;
|
||||
void setDatabaseType(const std::string& databaseType);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
int getSourceEndpointPort()const;
|
||||
void setSourceEndpointPort(int sourceEndpointPort);
|
||||
std::string getSourceEndpointIP()const;
|
||||
void setSourceEndpointIP(const std::string& sourceEndpointIP);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointRegion_;
|
||||
long backupGatewayId_;
|
||||
std::string databaseType_;
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
int sourceEndpointPort_;
|
||||
std::string sourceEndpointIP_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEGETDBLISTFROMAGENTTASKREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_CREATEGETDBLISTFROMAGENTTASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATEGETDBLISTFROMAGENTTASKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateGetDBListFromAgentTaskRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateGetDBListFromAgentTaskRequest();
|
||||
~CreateGetDBListFromAgentTaskRequest();
|
||||
std::string getSourceEndpointRegion() const;
|
||||
void setSourceEndpointRegion(const std::string &sourceEndpointRegion);
|
||||
long getBackupGatewayId() const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getDatabaseType() const;
|
||||
void setDatabaseType(const std::string &databaseType);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getSourceEndpointPort() const;
|
||||
void setSourceEndpointPort(int sourceEndpointPort);
|
||||
std::string getSourceEndpointIP() const;
|
||||
void setSourceEndpointIP(const std::string &sourceEndpointIP);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointRegion_;
|
||||
long backupGatewayId_;
|
||||
std::string databaseType_;
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
int sourceEndpointPort_;
|
||||
std::string sourceEndpointIP_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEGETDBLISTFROMAGENTTASKREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_CREATEINCREMENTBACKUPSETDOWNLOADREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATEINCREMENTBACKUPSETDOWNLOADREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateIncrementBackupSetDownloadRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateIncrementBackupSetDownloadRequest();
|
||||
~CreateIncrementBackupSetDownloadRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupSetName()const;
|
||||
void setBackupSetName(const std::string& backupSetName);
|
||||
std::string getBackupSetId()const;
|
||||
void setBackupSetId(const std::string& backupSetId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getBackupSetDataFormat()const;
|
||||
void setBackupSetDataFormat(const std::string& backupSetDataFormat);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupSetName_;
|
||||
std::string backupSetId_;
|
||||
std::string ownerId_;
|
||||
std::string backupSetDataFormat_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEINCREMENTBACKUPSETDOWNLOADREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_CREATEINCREMENTBACKUPSETDOWNLOADREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATEINCREMENTBACKUPSETDOWNLOADREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateIncrementBackupSetDownloadRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateIncrementBackupSetDownloadRequest();
|
||||
~CreateIncrementBackupSetDownloadRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupSetName() const;
|
||||
void setBackupSetName(const std::string &backupSetName);
|
||||
std::string getBackupSetId() const;
|
||||
void setBackupSetId(const std::string &backupSetId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getBackupSetDataFormat() const;
|
||||
void setBackupSetDataFormat(const std::string &backupSetDataFormat);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupSetName_;
|
||||
std::string backupSetId_;
|
||||
std::string ownerId_;
|
||||
std::string backupSetDataFormat_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEINCREMENTBACKUPSETDOWNLOADREQUEST_H_
|
||||
|
||||
@@ -1,111 +1,105 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_CREATERESTORETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATERESTORETASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateRestoreTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateRestoreTaskRequest();
|
||||
~CreateRestoreTaskRequest();
|
||||
|
||||
long getBackupGatewayId()const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getDestinationEndpointInstanceType()const;
|
||||
void setDestinationEndpointInstanceType(const std::string& destinationEndpointInstanceType);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getDestinationEndpointRegion()const;
|
||||
void setDestinationEndpointRegion(const std::string& destinationEndpointRegion);
|
||||
std::string getCrossRoleName()const;
|
||||
void setCrossRoleName(const std::string& crossRoleName);
|
||||
std::string getDestinationEndpointUserName()const;
|
||||
void setDestinationEndpointUserName(const std::string& destinationEndpointUserName);
|
||||
std::string getRestoreObjects()const;
|
||||
void setRestoreObjects(const std::string& restoreObjects);
|
||||
std::string getRestoreTaskName()const;
|
||||
void setRestoreTaskName(const std::string& restoreTaskName);
|
||||
std::string getRestoreHome()const;
|
||||
void setRestoreHome(const std::string& restoreHome);
|
||||
std::string getDestinationEndpointOracleSID()const;
|
||||
void setDestinationEndpointOracleSID(const std::string& destinationEndpointOracleSID);
|
||||
long getRestoreTime()const;
|
||||
void setRestoreTime(long restoreTime);
|
||||
std::string getCrossAliyunId()const;
|
||||
void setCrossAliyunId(const std::string& crossAliyunId);
|
||||
std::string getDestinationEndpointInstanceID()const;
|
||||
void setDestinationEndpointInstanceID(const std::string& destinationEndpointInstanceID);
|
||||
int getDestinationEndpointPort()const;
|
||||
void setDestinationEndpointPort(int destinationEndpointPort);
|
||||
std::string getBackupSetId()const;
|
||||
void setBackupSetId(const std::string& backupSetId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getRestoreDir()const;
|
||||
void setRestoreDir(const std::string& restoreDir);
|
||||
std::string getDestinationEndpointIP()const;
|
||||
void setDestinationEndpointIP(const std::string& destinationEndpointIP);
|
||||
std::string getDestinationEndpointDatabaseName()const;
|
||||
void setDestinationEndpointDatabaseName(const std::string& destinationEndpointDatabaseName);
|
||||
std::string getDuplicateConflict()const;
|
||||
void setDuplicateConflict(const std::string& duplicateConflict);
|
||||
std::string getDestinationEndpointPassword()const;
|
||||
void setDestinationEndpointPassword(const std::string& destinationEndpointPassword);
|
||||
|
||||
private:
|
||||
long backupGatewayId_;
|
||||
std::string destinationEndpointInstanceType_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string destinationEndpointRegion_;
|
||||
std::string crossRoleName_;
|
||||
std::string destinationEndpointUserName_;
|
||||
std::string restoreObjects_;
|
||||
std::string restoreTaskName_;
|
||||
std::string restoreHome_;
|
||||
std::string destinationEndpointOracleSID_;
|
||||
long restoreTime_;
|
||||
std::string crossAliyunId_;
|
||||
std::string destinationEndpointInstanceID_;
|
||||
int destinationEndpointPort_;
|
||||
std::string backupSetId_;
|
||||
std::string ownerId_;
|
||||
std::string restoreDir_;
|
||||
std::string destinationEndpointIP_;
|
||||
std::string destinationEndpointDatabaseName_;
|
||||
std::string duplicateConflict_;
|
||||
std::string destinationEndpointPassword_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATERESTORETASKREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_CREATERESTORETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_CREATERESTORETASKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT CreateRestoreTaskRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateRestoreTaskRequest();
|
||||
~CreateRestoreTaskRequest();
|
||||
long getBackupGatewayId() const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getDestinationEndpointInstanceType() const;
|
||||
void setDestinationEndpointInstanceType(const std::string &destinationEndpointInstanceType);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getDestinationEndpointRegion() const;
|
||||
void setDestinationEndpointRegion(const std::string &destinationEndpointRegion);
|
||||
std::string getCrossRoleName() const;
|
||||
void setCrossRoleName(const std::string &crossRoleName);
|
||||
std::string getDestinationEndpointUserName() const;
|
||||
void setDestinationEndpointUserName(const std::string &destinationEndpointUserName);
|
||||
std::string getRestoreObjects() const;
|
||||
void setRestoreObjects(const std::string &restoreObjects);
|
||||
std::string getRestoreTaskName() const;
|
||||
void setRestoreTaskName(const std::string &restoreTaskName);
|
||||
std::string getRestoreHome() const;
|
||||
void setRestoreHome(const std::string &restoreHome);
|
||||
std::string getDestinationEndpointOracleSID() const;
|
||||
void setDestinationEndpointOracleSID(const std::string &destinationEndpointOracleSID);
|
||||
long getRestoreTime() const;
|
||||
void setRestoreTime(long restoreTime);
|
||||
std::string getCrossAliyunId() const;
|
||||
void setCrossAliyunId(const std::string &crossAliyunId);
|
||||
std::string getDestinationEndpointInstanceID() const;
|
||||
void setDestinationEndpointInstanceID(const std::string &destinationEndpointInstanceID);
|
||||
int getDestinationEndpointPort() const;
|
||||
void setDestinationEndpointPort(int destinationEndpointPort);
|
||||
std::string getBackupSetId() const;
|
||||
void setBackupSetId(const std::string &backupSetId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getRestoreDir() const;
|
||||
void setRestoreDir(const std::string &restoreDir);
|
||||
std::string getDestinationEndpointIP() const;
|
||||
void setDestinationEndpointIP(const std::string &destinationEndpointIP);
|
||||
std::string getDestinationEndpointDatabaseName() const;
|
||||
void setDestinationEndpointDatabaseName(const std::string &destinationEndpointDatabaseName);
|
||||
std::string getDuplicateConflict() const;
|
||||
void setDuplicateConflict(const std::string &duplicateConflict);
|
||||
std::string getDestinationEndpointPassword() const;
|
||||
void setDestinationEndpointPassword(const std::string &destinationEndpointPassword);
|
||||
|
||||
private:
|
||||
long backupGatewayId_;
|
||||
std::string destinationEndpointInstanceType_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string destinationEndpointRegion_;
|
||||
std::string crossRoleName_;
|
||||
std::string destinationEndpointUserName_;
|
||||
std::string restoreObjects_;
|
||||
std::string restoreTaskName_;
|
||||
std::string restoreHome_;
|
||||
std::string destinationEndpointOracleSID_;
|
||||
long restoreTime_;
|
||||
std::string crossAliyunId_;
|
||||
std::string destinationEndpointInstanceID_;
|
||||
int destinationEndpointPort_;
|
||||
std::string backupSetId_;
|
||||
std::string ownerId_;
|
||||
std::string restoreDir_;
|
||||
std::string destinationEndpointIP_;
|
||||
std::string destinationEndpointDatabaseName_;
|
||||
std::string duplicateConflict_;
|
||||
std::string destinationEndpointPassword_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_CREATERESTORETASKREQUEST_H_
|
||||
|
||||
@@ -1,63 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_DESCRIBEBACKUPGATEWAYLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPGATEWAYLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeBackupGatewayListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeBackupGatewayListRequest();
|
||||
~DescribeBackupGatewayListRequest();
|
||||
|
||||
std::string getIdentifier()const;
|
||||
void setIdentifier(const std::string& identifier);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string identifier_;
|
||||
std::string clientToken_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
int pageSize_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPGATEWAYLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPGATEWAYLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPGATEWAYLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeBackupGatewayListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeBackupGatewayListRequest();
|
||||
~DescribeBackupGatewayListRequest();
|
||||
std::string getIdentifier() const;
|
||||
void setIdentifier(const std::string &identifier);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getRegion() const;
|
||||
void setRegion(const std::string ®ion);
|
||||
|
||||
private:
|
||||
std::string identifier_;
|
||||
std::string clientToken_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
int pageSize_;
|
||||
std::string region_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPGATEWAYLISTREQUEST_H_
|
||||
|
||||
@@ -38,11 +38,11 @@ namespace AlibabaCloud
|
||||
std::string identifier;
|
||||
long backupGatewayCreateTime;
|
||||
std::string backupGatewayStatus;
|
||||
std::string displayName;
|
||||
std::string sourceEndpointInternetIP;
|
||||
std::string sourceEndpointIntranetIP;
|
||||
std::string displayName;
|
||||
long lastHeartbeatTime;
|
||||
std::string region;
|
||||
long lastHeartbeatTime;
|
||||
std::string backupGatewayId;
|
||||
};
|
||||
|
||||
@@ -50,8 +50,8 @@ namespace AlibabaCloud
|
||||
DescribeBackupGatewayListResult();
|
||||
explicit DescribeBackupGatewayListResult(const std::string &payload);
|
||||
~DescribeBackupGatewayListResult();
|
||||
int getPageSize()const;
|
||||
int getPageNum()const;
|
||||
int getPageSize()const;
|
||||
int getHttpStatusCode()const;
|
||||
int getTotalElements()const;
|
||||
std::vector<BackupGateway> getItems()const;
|
||||
@@ -63,8 +63,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
int httpStatusCode_;
|
||||
int totalElements_;
|
||||
std::vector<BackupGateway> items_;
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPPLANBILLINGREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPPLANBILLINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeBackupPlanBillingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeBackupPlanBillingRequest();
|
||||
~DescribeBackupPlanBillingRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
bool getShowStorageType()const;
|
||||
void setShowStorageType(bool showStorageType);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
bool showStorageType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPPLANBILLINGREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPPLANBILLINGREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPPLANBILLINGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeBackupPlanBillingRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeBackupPlanBillingRequest();
|
||||
~DescribeBackupPlanBillingRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
bool getShowStorageType() const;
|
||||
void setShowStorageType(bool showStorageType);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
bool showStorageType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPPLANBILLINGREQUEST_H_
|
||||
|
||||
@@ -36,9 +36,10 @@ namespace AlibabaCloud
|
||||
{
|
||||
bool isExpired;
|
||||
long buyExpiredTimestamp;
|
||||
std::string resourceGroupId;
|
||||
long quotaStartTimestamp;
|
||||
long totalFreeBytes;
|
||||
long paiedBytes;
|
||||
long quotaStartTimestamp;
|
||||
long fullStorageSize;
|
||||
long buyCreateTimestamp;
|
||||
bool isFreeBytesUnlimited;
|
||||
|
||||
@@ -1,69 +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_DBS_MODEL_DESCRIBEBACKUPPLANLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPPLANLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeBackupPlanListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeBackupPlanListRequest();
|
||||
~DescribeBackupPlanListRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getBackupPlanStatus()const;
|
||||
void setBackupPlanStatus(const std::string& backupPlanStatus);
|
||||
std::string getBackupPlanName()const;
|
||||
void setBackupPlanName(const std::string& backupPlanName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
std::string backupPlanStatus_;
|
||||
std::string backupPlanName_;
|
||||
int pageSize_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPPLANLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPPLANLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPPLANLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeBackupPlanListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeBackupPlanListRequest();
|
||||
~DescribeBackupPlanListRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getBackupPlanStatus() const;
|
||||
void setBackupPlanStatus(const std::string &backupPlanStatus);
|
||||
std::string getBackupPlanName() const;
|
||||
void setBackupPlanName(const std::string &backupPlanName);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getRegion() const;
|
||||
void setRegion(const std::string ®ion);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string backupPlanStatus_;
|
||||
std::string backupPlanName_;
|
||||
int pageSize_;
|
||||
std::string region_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPPLANLISTREQUEST_H_
|
||||
|
||||
@@ -34,9 +34,10 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct BackupPlanDetail
|
||||
{
|
||||
std::string backupPlanName;
|
||||
long backupPlanCreateTime;
|
||||
std::string backupPlanName;
|
||||
std::string backupObjects;
|
||||
std::string resourceGroupId;
|
||||
std::string backupSetDownloadDir;
|
||||
std::string sourceEndpointInstanceID;
|
||||
std::string crossAliyunId;
|
||||
@@ -50,12 +51,12 @@ namespace AlibabaCloud
|
||||
std::string backupPlanId;
|
||||
std::string sourceEndpointInstanceType;
|
||||
long backupGatewayId;
|
||||
std::string sourceEndpointUserName;
|
||||
std::string backupStorageType;
|
||||
int duplicationInfrequentAccessPeriod;
|
||||
std::string sourceEndpointUserName;
|
||||
std::string crossRoleName;
|
||||
std::string backupMethod;
|
||||
int duplicationInfrequentAccessPeriod;
|
||||
std::string backupSetDownloadFullDataFormat;
|
||||
std::string backupMethod;
|
||||
std::string backupPeriod;
|
||||
std::string instanceClass;
|
||||
std::string backupSetDownloadIncrementDataFormat;
|
||||
@@ -63,8 +64,8 @@ namespace AlibabaCloud
|
||||
std::string errMessage;
|
||||
std::string backupSetDownloadTargetType;
|
||||
int duplicationArchivePeriod;
|
||||
std::string oSSBucketName;
|
||||
std::string backupPlanStatus;
|
||||
std::string oSSBucketName;
|
||||
std::string backupStartTime;
|
||||
bool enableBackupLog;
|
||||
std::string sourceEndpointOracleSID;
|
||||
@@ -75,8 +76,8 @@ namespace AlibabaCloud
|
||||
DescribeBackupPlanListResult();
|
||||
explicit DescribeBackupPlanListResult(const std::string &payload);
|
||||
~DescribeBackupPlanListResult();
|
||||
int getPageSize()const;
|
||||
int getPageNum()const;
|
||||
int getPageSize()const;
|
||||
int getHttpStatusCode()const;
|
||||
int getTotalElements()const;
|
||||
std::vector<BackupPlanDetail> getItems()const;
|
||||
@@ -88,8 +89,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
int httpStatusCode_;
|
||||
int totalElements_;
|
||||
std::vector<BackupPlanDetail> items_;
|
||||
|
||||
@@ -1,63 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_DESCRIBEBACKUPSETDOWNLOADTASKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPSETDOWNLOADTASKLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeBackupSetDownloadTaskListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeBackupSetDownloadTaskListRequest();
|
||||
~DescribeBackupSetDownloadTaskListRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupSetDownloadTaskId()const;
|
||||
void setBackupSetDownloadTaskId(const std::string& backupSetDownloadTaskId);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupSetDownloadTaskId_;
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPSETDOWNLOADTASKLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPSETDOWNLOADTASKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPSETDOWNLOADTASKLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeBackupSetDownloadTaskListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeBackupSetDownloadTaskListRequest();
|
||||
~DescribeBackupSetDownloadTaskListRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupSetDownloadTaskId() const;
|
||||
void setBackupSetDownloadTaskId(const std::string &backupSetDownloadTaskId);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupSetDownloadTaskId_;
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
int pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPSETDOWNLOADTASKLISTREQUEST_H_
|
||||
|
||||
@@ -36,12 +36,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string backupSetDbType;
|
||||
long backupSetDownloadCreateTime;
|
||||
std::string backupSetDownloadTaskName;
|
||||
std::string backupSetDownloadDir;
|
||||
std::string backupSetDownloadTaskName;
|
||||
std::string backupSetDownloadWay;
|
||||
std::string backupSetCode;
|
||||
std::string backupSetId;
|
||||
std::string errMessage;
|
||||
std::string backupSetId;
|
||||
std::string backupSetDownloadTargetType;
|
||||
std::string backupSetDownloadStatus;
|
||||
std::string backupSetDownloadIntranetUrl;
|
||||
@@ -59,8 +59,8 @@ namespace AlibabaCloud
|
||||
DescribeBackupSetDownloadTaskListResult();
|
||||
explicit DescribeBackupSetDownloadTaskListResult(const std::string &payload);
|
||||
~DescribeBackupSetDownloadTaskListResult();
|
||||
int getPageSize()const;
|
||||
int getPageNum()const;
|
||||
int getPageSize()const;
|
||||
int getHttpStatusCode()const;
|
||||
int getTotalElements()const;
|
||||
std::vector<BackupSetDownloadTaskDetail> getItems()const;
|
||||
@@ -72,8 +72,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
int httpStatusCode_;
|
||||
int totalElements_;
|
||||
std::vector<BackupSetDownloadTaskDetail> items_;
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_DESCRIBEDLASERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEDLASERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeDLAServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDLAServiceRequest();
|
||||
~DescribeDLAServiceRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEDLASERVICEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEDLASERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEDLASERVICEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeDLAServiceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDLAServiceRequest();
|
||||
~DescribeDLAServiceRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEDLASERVICEREQUEST_H_
|
||||
|
||||
@@ -1,72 +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_DBS_MODEL_DESCRIBEFULLBACKUPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeFullBackupListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeFullBackupListRequest();
|
||||
~DescribeFullBackupListRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getBackupSetId()const;
|
||||
void setBackupSetId(const std::string& backupSetId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
long getStartTimestamp()const;
|
||||
void setStartTimestamp(long startTimestamp);
|
||||
long getEndTimestamp()const;
|
||||
void setEndTimestamp(long endTimestamp);
|
||||
bool getShowStorageType()const;
|
||||
void setShowStorageType(bool showStorageType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string backupSetId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
long startTimestamp_;
|
||||
long endTimestamp_;
|
||||
bool showStorageType_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeFullBackupListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeFullBackupListRequest();
|
||||
~DescribeFullBackupListRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getBackupSetId() const;
|
||||
void setBackupSetId(const std::string &backupSetId);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
long getStartTimestamp() const;
|
||||
void setStartTimestamp(long startTimestamp);
|
||||
long getEndTimestamp() const;
|
||||
void setEndTimestamp(long endTimestamp);
|
||||
bool getShowStorageType() const;
|
||||
void setShowStorageType(bool showStorageType);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string backupSetId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
long startTimestamp_;
|
||||
long endTimestamp_;
|
||||
bool showStorageType_;
|
||||
int pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPLISTREQUEST_H_
|
||||
|
||||
@@ -35,16 +35,16 @@ namespace AlibabaCloud
|
||||
struct FullBackupFile
|
||||
{
|
||||
std::string sourceEndpointIpPort;
|
||||
std::string storageMethod;
|
||||
std::string backupObjects;
|
||||
long endTime;
|
||||
std::string storageMethod;
|
||||
long finishTime;
|
||||
long backupSize;
|
||||
long endTime;
|
||||
long createTime;
|
||||
long backupSize;
|
||||
long startTime;
|
||||
long backupSetExpiredTime;
|
||||
std::string backupSetId;
|
||||
std::string errMessage;
|
||||
std::string backupSetId;
|
||||
std::string backupStatus;
|
||||
};
|
||||
|
||||
@@ -52,8 +52,8 @@ namespace AlibabaCloud
|
||||
DescribeFullBackupListResult();
|
||||
explicit DescribeFullBackupListResult(const std::string &payload);
|
||||
~DescribeFullBackupListResult();
|
||||
int getPageSize()const;
|
||||
int getPageNum()const;
|
||||
int getPageSize()const;
|
||||
int getHttpStatusCode()const;
|
||||
int getTotalElements()const;
|
||||
std::vector<FullBackupFile> getItems()const;
|
||||
@@ -65,8 +65,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
int httpStatusCode_;
|
||||
int totalElements_;
|
||||
std::vector<FullBackupFile> items_;
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeFullBackupSetRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeFullBackupSetRequest();
|
||||
~DescribeFullBackupSetRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getBackupsetId()const;
|
||||
void setBackupsetId(const std::string& backupsetId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string backupsetId_;
|
||||
std::string ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETREQUEST_H_
|
||||
@@ -1,81 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETRESULT_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeFullBackupSetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeFullBackupSetResult();
|
||||
explicit DescribeFullBackupSetResult(const std::string &payload);
|
||||
~DescribeFullBackupSetResult();
|
||||
std::string getStorageMethod()const;
|
||||
std::string getBackupObjects()const;
|
||||
long getEndTime()const;
|
||||
long getBackupSize()const;
|
||||
long getCreateTime()const;
|
||||
long getStartTime()const;
|
||||
long getBackupSetExpiredTime()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getBackupSetId()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrMessage1()const;
|
||||
std::string getErrCode()const;
|
||||
std::string getSourceEndpointIpPort()const;
|
||||
long getFinishTime()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getBackupStatus()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string storageMethod_;
|
||||
std::string backupObjects_;
|
||||
long endTime_;
|
||||
long backupSize_;
|
||||
long createTime_;
|
||||
long startTime_;
|
||||
long backupSetExpiredTime_;
|
||||
std::string errMessage_;
|
||||
std::string backupSetId_;
|
||||
bool success_;
|
||||
std::string errMessage1_;
|
||||
std::string errCode_;
|
||||
std::string sourceEndpointIpPort_;
|
||||
long finishTime_;
|
||||
int httpStatusCode_;
|
||||
std::string backupStatus_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETRESULT_H_
|
||||
@@ -1,69 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEINCREMENTBACKUPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEINCREMENTBACKUPLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeIncrementBackupListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeIncrementBackupListRequest();
|
||||
~DescribeIncrementBackupListRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
long getStartTimestamp()const;
|
||||
void setStartTimestamp(long startTimestamp);
|
||||
long getEndTimestamp()const;
|
||||
void setEndTimestamp(long endTimestamp);
|
||||
bool getShowStorageType()const;
|
||||
void setShowStorageType(bool showStorageType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
long startTimestamp_;
|
||||
long endTimestamp_;
|
||||
bool showStorageType_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEINCREMENTBACKUPLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEINCREMENTBACKUPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEINCREMENTBACKUPLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeIncrementBackupListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeIncrementBackupListRequest();
|
||||
~DescribeIncrementBackupListRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
long getStartTimestamp() const;
|
||||
void setStartTimestamp(long startTimestamp);
|
||||
long getEndTimestamp() const;
|
||||
void setEndTimestamp(long endTimestamp);
|
||||
bool getShowStorageType() const;
|
||||
void setShowStorageType(bool showStorageType);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
long startTimestamp_;
|
||||
long endTimestamp_;
|
||||
bool showStorageType_;
|
||||
int pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEINCREMENTBACKUPLISTREQUEST_H_
|
||||
|
||||
@@ -39,8 +39,8 @@ namespace AlibabaCloud
|
||||
long endTime;
|
||||
std::string backupSetJobId;
|
||||
long backupSize;
|
||||
long startTime;
|
||||
long backupSetExpiredTime;
|
||||
long startTime;
|
||||
std::string backupSetId;
|
||||
std::string backupStatus;
|
||||
};
|
||||
@@ -49,8 +49,8 @@ namespace AlibabaCloud
|
||||
DescribeIncrementBackupListResult();
|
||||
explicit DescribeIncrementBackupListResult(const std::string &payload);
|
||||
~DescribeIncrementBackupListResult();
|
||||
int getPageSize()const;
|
||||
int getPageNum()const;
|
||||
int getPageSize()const;
|
||||
int getHttpStatusCode()const;
|
||||
int getTotalElements()const;
|
||||
std::vector<IncrementBackupFile> getItems()const;
|
||||
@@ -62,8 +62,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
int httpStatusCode_;
|
||||
int totalElements_;
|
||||
std::vector<IncrementBackupFile> items_;
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEJOBERRORCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEJOBERRORCODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeJobErrorCodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeJobErrorCodeRequest();
|
||||
~DescribeJobErrorCodeRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getLanguage()const;
|
||||
void setLanguage(const std::string& language);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string language_;
|
||||
std::string ownerId_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEJOBERRORCODEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEJOBERRORCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEJOBERRORCODEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeJobErrorCodeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeJobErrorCodeRequest();
|
||||
~DescribeJobErrorCodeRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getLanguage() const;
|
||||
void setLanguage(const std::string &language);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getTaskId() const;
|
||||
void setTaskId(const std::string &taskId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string language_;
|
||||
std::string ownerId_;
|
||||
std::string taskId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEJOBERRORCODEREQUEST_H_
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeLogicalBackupSetRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLogicalBackupSetRequest();
|
||||
~DescribeLogicalBackupSetRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getBackupsetId()const;
|
||||
void setBackupsetId(const std::string& backupsetId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string backupsetId_;
|
||||
std::string ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETREQUEST_H_
|
||||
@@ -1,61 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETRESULT_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeLogicalBackupSetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeLogicalBackupSetResult();
|
||||
explicit DescribeLogicalBackupSetResult(const std::string &payload);
|
||||
~DescribeLogicalBackupSetResult();
|
||||
std::string getStatus()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getErrMessage()const;
|
||||
long getRowNum()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
int httpStatusCode_;
|
||||
std::string errMessage_;
|
||||
long rowNum_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETRESULT_H_
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_DESCRIBENODECIDRLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBENODECIDRLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeNodeCidrListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeNodeCidrListRequest();
|
||||
~DescribeNodeCidrListRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBENODECIDRLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBENODECIDRLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBENODECIDRLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeNodeCidrListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeNodeCidrListRequest();
|
||||
~DescribeNodeCidrListRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getRegion() const;
|
||||
void setRegion(const std::string ®ion);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
std::string region_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBENODECIDRLISTREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEPRECHECKPROGRESSLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEPRECHECKPROGRESSLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribePreCheckProgressListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePreCheckProgressListRequest();
|
||||
~DescribePreCheckProgressListRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getRestoreTaskId()const;
|
||||
void setRestoreTaskId(const std::string& restoreTaskId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
std::string restoreTaskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEPRECHECKPROGRESSLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEPRECHECKPROGRESSLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEPRECHECKPROGRESSLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribePreCheckProgressListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribePreCheckProgressListRequest();
|
||||
~DescribePreCheckProgressListRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getRestoreTaskId() const;
|
||||
void setRestoreTaskId(const std::string &restoreTaskId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
std::string restoreTaskId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEPRECHECKPROGRESSLISTREQUEST_H_
|
||||
|
||||
@@ -36,8 +36,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string names;
|
||||
std::string item;
|
||||
std::string orderNum;
|
||||
long finishTime;
|
||||
std::string orderNum;
|
||||
std::string errMsg;
|
||||
std::string state;
|
||||
long bootTime;
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeRegionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRegionsRequest();
|
||||
~DescribeRegionsRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeRegionsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeRegionsRequest();
|
||||
~DescribeRegionsRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
|
||||
@@ -1,63 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_DESCRIBERESTORERANGEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBERESTORERANGEINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeRestoreRangeInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRestoreRangeInfoRequest();
|
||||
~DescribeRestoreRangeInfoRequest();
|
||||
|
||||
long getBeginTimestampForRestore()const;
|
||||
void setBeginTimestampForRestore(long beginTimestampForRestore);
|
||||
long getEndTimestampForRestore()const;
|
||||
void setEndTimestampForRestore(long endTimestampForRestore);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
bool getRecentlyRestore()const;
|
||||
void setRecentlyRestore(bool recentlyRestore);
|
||||
|
||||
private:
|
||||
long beginTimestampForRestore_;
|
||||
long endTimestampForRestore_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
bool recentlyRestore_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBERESTORERANGEINFOREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBERESTORERANGEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBERESTORERANGEINFOREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeRestoreRangeInfoRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeRestoreRangeInfoRequest();
|
||||
~DescribeRestoreRangeInfoRequest();
|
||||
long getBeginTimestampForRestore() const;
|
||||
void setBeginTimestampForRestore(long beginTimestampForRestore);
|
||||
long getEndTimestampForRestore() const;
|
||||
void setEndTimestampForRestore(long endTimestampForRestore);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
bool getRecentlyRestore() const;
|
||||
void setRecentlyRestore(bool recentlyRestore);
|
||||
|
||||
private:
|
||||
long beginTimestampForRestore_;
|
||||
long endTimestampForRestore_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
bool recentlyRestore_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBERESTORERANGEINFOREQUEST_H_
|
||||
|
||||
@@ -43,8 +43,8 @@ namespace AlibabaCloud
|
||||
std::string rangeType;
|
||||
std::vector<DBSRecoverRange::FullBackupDetail> fullBackupList;
|
||||
std::string sourceEndpointInstanceID;
|
||||
std::string sourceEndpointInstanceType;
|
||||
long endTimestampForRestore;
|
||||
std::string sourceEndpointInstanceType;
|
||||
long beginTimestampForRestore;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,69 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBERESTORETASKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBERESTORETASKLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeRestoreTaskListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRestoreTaskListRequest();
|
||||
~DescribeRestoreTaskListRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
long getStartTimestamp()const;
|
||||
void setStartTimestamp(long startTimestamp);
|
||||
long getEndTimestamp()const;
|
||||
void setEndTimestamp(long endTimestamp);
|
||||
std::string getRestoreTaskId()const;
|
||||
void setRestoreTaskId(const std::string& restoreTaskId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
long startTimestamp_;
|
||||
long endTimestamp_;
|
||||
std::string restoreTaskId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBERESTORETASKLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBERESTORETASKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DESCRIBERESTORETASKLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DescribeRestoreTaskListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeRestoreTaskListRequest();
|
||||
~DescribeRestoreTaskListRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
int getPageNum() const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
long getStartTimestamp() const;
|
||||
void setStartTimestamp(long startTimestamp);
|
||||
long getEndTimestamp() const;
|
||||
void setEndTimestamp(long endTimestamp);
|
||||
std::string getRestoreTaskId() const;
|
||||
void setRestoreTaskId(const std::string &restoreTaskId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
int pageNum_;
|
||||
std::string ownerId_;
|
||||
long startTimestamp_;
|
||||
long endTimestamp_;
|
||||
std::string restoreTaskId_;
|
||||
int pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBERESTORETASKLISTREQUEST_H_
|
||||
|
||||
@@ -36,8 +36,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
int fullStruAfterRestoreProgress;
|
||||
std::string crossAliyunId;
|
||||
std::string destinationEndpointOracleSID;
|
||||
std::string restoreStatus;
|
||||
std::string destinationEndpointOracleSID;
|
||||
long restoreTime;
|
||||
std::string destinationEndpointRegion;
|
||||
int fullDataRestoreProgress;
|
||||
@@ -48,12 +48,12 @@ namespace AlibabaCloud
|
||||
std::string restoreTaskName;
|
||||
std::string backupPlanId;
|
||||
long backupGatewayId;
|
||||
long restoreTaskFinishTime;
|
||||
std::string crossRoleName;
|
||||
long restoreTaskFinishTime;
|
||||
std::string restoreDir;
|
||||
int fullStruforeRestoreProgress;
|
||||
std::string backupSetId;
|
||||
std::string errMessage;
|
||||
std::string backupSetId;
|
||||
std::string destinationEndpointInstanceType;
|
||||
std::string restoreTaskId;
|
||||
std::string destinationEndpointUserName;
|
||||
@@ -65,8 +65,8 @@ namespace AlibabaCloud
|
||||
DescribeRestoreTaskListResult();
|
||||
explicit DescribeRestoreTaskListResult(const std::string &payload);
|
||||
~DescribeRestoreTaskListResult();
|
||||
int getPageSize()const;
|
||||
int getPageNum()const;
|
||||
int getPageSize()const;
|
||||
int getHttpStatusCode()const;
|
||||
int getTotalElements()const;
|
||||
std::vector<RestoreTaskDetail> getItems()const;
|
||||
@@ -78,8 +78,8 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNum_;
|
||||
int pageSize_;
|
||||
int httpStatusCode_;
|
||||
int totalElements_;
|
||||
std::vector<RestoreTaskDetail> items_;
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_DISABLEBACKUPLOGREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DISABLEBACKUPLOGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT DisableBackupLogRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DisableBackupLogRequest();
|
||||
~DisableBackupLogRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DISABLEBACKUPLOGREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DISABLEBACKUPLOGREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DISABLEBACKUPLOGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT DisableBackupLogRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DisableBackupLogRequest();
|
||||
~DisableBackupLogRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DISABLEBACKUPLOGREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_ENABLEBACKUPLOGREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_ENABLEBACKUPLOGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT EnableBackupLogRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EnableBackupLogRequest();
|
||||
~EnableBackupLogRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_ENABLEBACKUPLOGREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_ENABLEBACKUPLOGREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_ENABLEBACKUPLOGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT EnableBackupLogRequest : public RpcServiceRequest {
|
||||
public:
|
||||
EnableBackupLogRequest();
|
||||
~EnableBackupLogRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_ENABLEBACKUPLOGREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_GETDBLISTFROMAGENTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_GETDBLISTFROMAGENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT GetDBListFromAgentRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDBListFromAgentRequest();
|
||||
~GetDBListFromAgentRequest();
|
||||
|
||||
std::string getSourceEndpointRegion()const;
|
||||
void setSourceEndpointRegion(const std::string& sourceEndpointRegion);
|
||||
long getBackupGatewayId()const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
long getTaskId()const;
|
||||
void setTaskId(long taskId);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointRegion_;
|
||||
long backupGatewayId_;
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
long taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_GETDBLISTFROMAGENTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_GETDBLISTFROMAGENTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_GETDBLISTFROMAGENTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT GetDBListFromAgentRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetDBListFromAgentRequest();
|
||||
~GetDBListFromAgentRequest();
|
||||
std::string getSourceEndpointRegion() const;
|
||||
void setSourceEndpointRegion(const std::string &sourceEndpointRegion);
|
||||
long getBackupGatewayId() const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
long getTaskId() const;
|
||||
void setTaskId(long taskId);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointRegion_;
|
||||
long backupGatewayId_;
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
long taskId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_GETDBLISTFROMAGENTREQUEST_H_
|
||||
|
||||
@@ -1,45 +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_DBS_MODEL_INITIALIZEDBSSERVICELINKEDROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_INITIALIZEDBSSERVICELINKEDROLEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT InitializeDbsServiceLinkedRoleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
InitializeDbsServiceLinkedRoleRequest();
|
||||
~InitializeDbsServiceLinkedRoleRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_INITIALIZEDBSSERVICELINKEDROLEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_INITIALIZEDBSSERVICELINKEDROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_INITIALIZEDBSSERVICELINKEDROLEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT InitializeDbsServiceLinkedRoleRequest : public RpcServiceRequest {
|
||||
public:
|
||||
InitializeDbsServiceLinkedRoleRequest();
|
||||
~InitializeDbsServiceLinkedRoleRequest();
|
||||
|
||||
private:
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_INITIALIZEDBSSERVICELINKEDROLEREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT ModifyBackupObjectsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyBackupObjectsRequest();
|
||||
~ModifyBackupObjectsRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getBackupObjects()const;
|
||||
void setBackupObjects(const std::string& backupObjects);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string backupObjects_;
|
||||
std::string ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT ModifyBackupObjectsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyBackupObjectsRequest();
|
||||
~ModifyBackupObjectsRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getBackupObjects() const;
|
||||
void setBackupObjects(const std::string &backupObjects);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string backupObjects_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT ModifyBackupPlanNameRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyBackupPlanNameRequest();
|
||||
~ModifyBackupPlanNameRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getBackupPlanName()const;
|
||||
void setBackupPlanName(const std::string& backupPlanName);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
std::string backupPlanName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT ModifyBackupPlanNameRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyBackupPlanNameRequest();
|
||||
~ModifyBackupPlanNameRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getBackupPlanName() const;
|
||||
void setBackupPlanName(const std::string &backupPlanName);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
std::string backupPlanName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMEREQUEST_H_
|
||||
|
||||
@@ -1,75 +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_DBS_MODEL_MODIFYBACKUPSETDOWNLOADRULESREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSETDOWNLOADRULESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT ModifyBackupSetDownloadRulesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyBackupSetDownloadRulesRequest();
|
||||
~ModifyBackupSetDownloadRulesRequest();
|
||||
|
||||
std::string getFullDataFormat()const;
|
||||
void setFullDataFormat(const std::string& fullDataFormat);
|
||||
long getBackupGatewayId()const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupSetDownloadTargetType()const;
|
||||
void setBackupSetDownloadTargetType(const std::string& backupSetDownloadTargetType);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
bool getOpenAutoDownload()const;
|
||||
void setOpenAutoDownload(bool openAutoDownload);
|
||||
std::string getIncrementDataFormat()const;
|
||||
void setIncrementDataFormat(const std::string& incrementDataFormat);
|
||||
std::string getBackupSetDownloadTargetTypeLocation()const;
|
||||
void setBackupSetDownloadTargetTypeLocation(const std::string& backupSetDownloadTargetTypeLocation);
|
||||
std::string getBackupSetDownloadDir()const;
|
||||
void setBackupSetDownloadDir(const std::string& backupSetDownloadDir);
|
||||
|
||||
private:
|
||||
std::string fullDataFormat_;
|
||||
long backupGatewayId_;
|
||||
std::string clientToken_;
|
||||
std::string backupSetDownloadTargetType_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
bool openAutoDownload_;
|
||||
std::string incrementDataFormat_;
|
||||
std::string backupSetDownloadTargetTypeLocation_;
|
||||
std::string backupSetDownloadDir_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSETDOWNLOADRULESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSETDOWNLOADRULESREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSETDOWNLOADRULESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT ModifyBackupSetDownloadRulesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyBackupSetDownloadRulesRequest();
|
||||
~ModifyBackupSetDownloadRulesRequest();
|
||||
std::string getFullDataFormat() const;
|
||||
void setFullDataFormat(const std::string &fullDataFormat);
|
||||
long getBackupGatewayId() const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupSetDownloadTargetType() const;
|
||||
void setBackupSetDownloadTargetType(const std::string &backupSetDownloadTargetType);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
bool getOpenAutoDownload() const;
|
||||
void setOpenAutoDownload(bool openAutoDownload);
|
||||
std::string getIncrementDataFormat() const;
|
||||
void setIncrementDataFormat(const std::string &incrementDataFormat);
|
||||
std::string getBackupSetDownloadTargetTypeLocation() const;
|
||||
void setBackupSetDownloadTargetTypeLocation(const std::string &backupSetDownloadTargetTypeLocation);
|
||||
std::string getBackupSetDownloadDir() const;
|
||||
void setBackupSetDownloadDir(const std::string &backupSetDownloadDir);
|
||||
|
||||
private:
|
||||
std::string fullDataFormat_;
|
||||
long backupGatewayId_;
|
||||
std::string clientToken_;
|
||||
std::string backupSetDownloadTargetType_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
bool openAutoDownload_;
|
||||
std::string incrementDataFormat_;
|
||||
std::string backupSetDownloadTargetTypeLocation_;
|
||||
std::string backupSetDownloadDir_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSETDOWNLOADRULESREQUEST_H_
|
||||
|
||||
@@ -1,93 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT ModifyBackupSourceEndpointRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyBackupSourceEndpointRequest();
|
||||
~ModifyBackupSourceEndpointRequest();
|
||||
|
||||
std::string getSourceEndpointRegion()const;
|
||||
void setSourceEndpointRegion(const std::string& sourceEndpointRegion);
|
||||
long getBackupGatewayId()const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getSourceEndpointInstanceID()const;
|
||||
void setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID);
|
||||
std::string getSourceEndpointUserName()const;
|
||||
void setSourceEndpointUserName(const std::string& sourceEndpointUserName);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getSourceEndpointDatabaseName()const;
|
||||
void setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName);
|
||||
std::string getSourceEndpointIP()const;
|
||||
void setSourceEndpointIP(const std::string& sourceEndpointIP);
|
||||
std::string getCrossRoleName()const;
|
||||
void setCrossRoleName(const std::string& crossRoleName);
|
||||
std::string getCrossAliyunId()const;
|
||||
void setCrossAliyunId(const std::string& crossAliyunId);
|
||||
std::string getSourceEndpointPassword()const;
|
||||
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
|
||||
std::string getBackupObjects()const;
|
||||
void setBackupObjects(const std::string& backupObjects);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
int getSourceEndpointPort()const;
|
||||
void setSourceEndpointPort(int sourceEndpointPort);
|
||||
std::string getSourceEndpointInstanceType()const;
|
||||
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
|
||||
std::string getSourceEndpointOracleSID()const;
|
||||
void setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointRegion_;
|
||||
long backupGatewayId_;
|
||||
std::string sourceEndpointInstanceID_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string crossRoleName_;
|
||||
std::string crossAliyunId_;
|
||||
std::string sourceEndpointPassword_;
|
||||
std::string backupObjects_;
|
||||
std::string ownerId_;
|
||||
int sourceEndpointPort_;
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string sourceEndpointOracleSID_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT ModifyBackupSourceEndpointRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyBackupSourceEndpointRequest();
|
||||
~ModifyBackupSourceEndpointRequest();
|
||||
std::string getSourceEndpointRegion() const;
|
||||
void setSourceEndpointRegion(const std::string &sourceEndpointRegion);
|
||||
long getBackupGatewayId() const;
|
||||
void setBackupGatewayId(long backupGatewayId);
|
||||
std::string getSourceEndpointInstanceID() const;
|
||||
void setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID);
|
||||
std::string getSourceEndpointUserName() const;
|
||||
void setSourceEndpointUserName(const std::string &sourceEndpointUserName);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getSourceEndpointDatabaseName() const;
|
||||
void setSourceEndpointDatabaseName(const std::string &sourceEndpointDatabaseName);
|
||||
std::string getSourceEndpointIP() const;
|
||||
void setSourceEndpointIP(const std::string &sourceEndpointIP);
|
||||
std::string getCrossRoleName() const;
|
||||
void setCrossRoleName(const std::string &crossRoleName);
|
||||
std::string getCrossAliyunId() const;
|
||||
void setCrossAliyunId(const std::string &crossAliyunId);
|
||||
std::string getSourceEndpointPassword() const;
|
||||
void setSourceEndpointPassword(const std::string &sourceEndpointPassword);
|
||||
std::string getBackupObjects() const;
|
||||
void setBackupObjects(const std::string &backupObjects);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getSourceEndpointPort() const;
|
||||
void setSourceEndpointPort(int sourceEndpointPort);
|
||||
std::string getSourceEndpointInstanceType() const;
|
||||
void setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType);
|
||||
std::string getSourceEndpointOracleSID() const;
|
||||
void setSourceEndpointOracleSID(const std::string &sourceEndpointOracleSID);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointRegion_;
|
||||
long backupGatewayId_;
|
||||
std::string sourceEndpointInstanceID_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string crossRoleName_;
|
||||
std::string crossAliyunId_;
|
||||
std::string sourceEndpointPassword_;
|
||||
std::string backupObjects_;
|
||||
std::string ownerId_;
|
||||
int sourceEndpointPort_;
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string sourceEndpointOracleSID_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTREQUEST_H_
|
||||
|
||||
@@ -1,66 +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_DBS_MODEL_MODIFYBACKUPSTRATEGYREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT ModifyBackupStrategyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyBackupStrategyRequest();
|
||||
~ModifyBackupStrategyRequest();
|
||||
|
||||
int getBackupLogIntervalSeconds()const;
|
||||
void setBackupLogIntervalSeconds(int backupLogIntervalSeconds);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getBackupPeriod()const;
|
||||
void setBackupPeriod(const std::string& backupPeriod);
|
||||
std::string getBackupStartTime()const;
|
||||
void setBackupStartTime(const std::string& backupStartTime);
|
||||
std::string getBackupStrategyType()const;
|
||||
void setBackupStrategyType(const std::string& backupStrategyType);
|
||||
|
||||
private:
|
||||
int backupLogIntervalSeconds_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
std::string backupPeriod_;
|
||||
std::string backupStartTime_;
|
||||
std::string backupStrategyType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT ModifyBackupStrategyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyBackupStrategyRequest();
|
||||
~ModifyBackupStrategyRequest();
|
||||
int getBackupLogIntervalSeconds() const;
|
||||
void setBackupLogIntervalSeconds(int backupLogIntervalSeconds);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getBackupPeriod() const;
|
||||
void setBackupPeriod(const std::string &backupPeriod);
|
||||
std::string getBackupStartTime() const;
|
||||
void setBackupStartTime(const std::string &backupStartTime);
|
||||
std::string getBackupStrategyType() const;
|
||||
void setBackupStrategyType(const std::string &backupStrategyType);
|
||||
|
||||
private:
|
||||
int backupLogIntervalSeconds_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
std::string backupPeriod_;
|
||||
std::string backupStartTime_;
|
||||
std::string backupStrategyType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYREQUEST_H_
|
||||
|
||||
@@ -1,63 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_MODIFYSTORAGESTRATEGYREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_MODIFYSTORAGESTRATEGYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT ModifyStorageStrategyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyStorageStrategyRequest();
|
||||
~ModifyStorageStrategyRequest();
|
||||
|
||||
int getDuplicationArchivePeriod()const;
|
||||
void setDuplicationArchivePeriod(int duplicationArchivePeriod);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
int getBackupRetentionPeriod()const;
|
||||
void setBackupRetentionPeriod(int backupRetentionPeriod);
|
||||
int getDuplicationInfrequentAccessPeriod()const;
|
||||
void setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod);
|
||||
|
||||
private:
|
||||
int duplicationArchivePeriod_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
int backupRetentionPeriod_;
|
||||
int duplicationInfrequentAccessPeriod_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYSTORAGESTRATEGYREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYSTORAGESTRATEGYREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_MODIFYSTORAGESTRATEGYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT ModifyStorageStrategyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyStorageStrategyRequest();
|
||||
~ModifyStorageStrategyRequest();
|
||||
int getDuplicationArchivePeriod() const;
|
||||
void setDuplicationArchivePeriod(int duplicationArchivePeriod);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getBackupRetentionPeriod() const;
|
||||
void setBackupRetentionPeriod(int backupRetentionPeriod);
|
||||
int getDuplicationInfrequentAccessPeriod() const;
|
||||
void setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod);
|
||||
|
||||
private:
|
||||
int duplicationArchivePeriod_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
int backupRetentionPeriod_;
|
||||
int duplicationInfrequentAccessPeriod_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYSTORAGESTRATEGYREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_RELEASEBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_RELEASEBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT ReleaseBackupPlanRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ReleaseBackupPlanRequest();
|
||||
~ReleaseBackupPlanRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_RELEASEBACKUPPLANREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_RELEASEBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_RELEASEBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT ReleaseBackupPlanRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ReleaseBackupPlanRequest();
|
||||
~ReleaseBackupPlanRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_RELEASEBACKUPPLANREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_RENEWBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_RENEWBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT RenewBackupPlanRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RenewBackupPlanRequest();
|
||||
~RenewBackupPlanRequest();
|
||||
|
||||
std::string getPeriod()const;
|
||||
void setPeriod(const std::string& period);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
int getUsedTime()const;
|
||||
void setUsedTime(int usedTime);
|
||||
|
||||
private:
|
||||
std::string period_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
int usedTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_RENEWBACKUPPLANREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_RENEWBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_RENEWBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT RenewBackupPlanRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RenewBackupPlanRequest();
|
||||
~RenewBackupPlanRequest();
|
||||
std::string getPeriod() const;
|
||||
void setPeriod(const std::string &period);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
int getUsedTime() const;
|
||||
void setUsedTime(int usedTime);
|
||||
|
||||
private:
|
||||
std::string period_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
int usedTime_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_RENEWBACKUPPLANREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_STARTBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_STARTBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT StartBackupPlanRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartBackupPlanRequest();
|
||||
~StartBackupPlanRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_STARTBACKUPPLANREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_STARTBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_STARTBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT StartBackupPlanRequest : public RpcServiceRequest {
|
||||
public:
|
||||
StartBackupPlanRequest();
|
||||
~StartBackupPlanRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_STARTBACKUPPLANREQUEST_H_
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
explicit StartBackupPlanResult(const std::string &payload);
|
||||
~StartBackupPlanResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCreatedFullBackupsetId()const;
|
||||
std::string getBackupPlanId()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
@@ -47,6 +48,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::string createdFullBackupsetId_;
|
||||
std::string backupPlanId_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBS_MODEL_STARTRESTORETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_STARTRESTORETASKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT StartRestoreTaskRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartRestoreTaskRequest();
|
||||
~StartRestoreTaskRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getRestoreTaskId()const;
|
||||
void setRestoreTaskId(const std::string& restoreTaskId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
std::string restoreTaskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_STARTRESTORETASKREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_STARTRESTORETASKREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_STARTRESTORETASKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT StartRestoreTaskRequest : public RpcServiceRequest {
|
||||
public:
|
||||
StartRestoreTaskRequest();
|
||||
~StartRestoreTaskRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getRestoreTaskId() const;
|
||||
void setRestoreTaskId(const std::string &restoreTaskId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string ownerId_;
|
||||
std::string restoreTaskId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_STARTRESTORETASKREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_STOPBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_STOPBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT StopBackupPlanRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopBackupPlanRequest();
|
||||
~StopBackupPlanRequest();
|
||||
|
||||
std::string getStopMethod()const;
|
||||
void setStopMethod(const std::string& stopMethod);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
|
||||
private:
|
||||
std::string stopMethod_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_STOPBACKUPPLANREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_STOPBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_STOPBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT StopBackupPlanRequest : public RpcServiceRequest {
|
||||
public:
|
||||
StopBackupPlanRequest();
|
||||
~StopBackupPlanRequest();
|
||||
std::string getStopMethod() const;
|
||||
void setStopMethod(const std::string &stopMethod);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
|
||||
private:
|
||||
std::string stopMethod_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_STOPBACKUPPLANREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_UPGRADEBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_UPGRADEBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dbs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DBS_EXPORT UpgradeBackupPlanRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradeBackupPlanRequest();
|
||||
~UpgradeBackupPlanRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
void setBackupPlanId(const std::string& backupPlanId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getInstanceClass()const;
|
||||
void setInstanceClass(const std::string& instanceClass);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
std::string instanceClass_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_UPGRADEBACKUPPLANREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_UPGRADEBACKUPPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_UPGRADEBACKUPPLANREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dbs/DbsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dbs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DBS_EXPORT UpgradeBackupPlanRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpgradeBackupPlanRequest();
|
||||
~UpgradeBackupPlanRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getBackupPlanId() const;
|
||||
void setBackupPlanId(const std::string &backupPlanId);
|
||||
std::string getOwnerId() const;
|
||||
void setOwnerId(const std::string &ownerId);
|
||||
std::string getInstanceClass() const;
|
||||
void setInstanceClass(const std::string &instanceClass);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
std::string instanceClass_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dbs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_UPGRADEBACKUPPLANREQUEST_H_
|
||||
|
||||
@@ -31,21 +31,21 @@ DbsClient::DbsClient(const Credentials &credentials, const ClientConfiguration &
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "cbs");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
DbsClient::DbsClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "cbs");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
DbsClient::DbsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "cbs");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
DbsClient::~DbsClient()
|
||||
@@ -519,42 +519,6 @@ DbsClient::DescribeFullBackupListOutcomeCallable DbsClient::describeFullBackupLi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::DescribeFullBackupSetOutcome DbsClient::describeFullBackupSet(const DescribeFullBackupSetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeFullBackupSetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeFullBackupSetOutcome(DescribeFullBackupSetResult(outcome.result()));
|
||||
else
|
||||
return DescribeFullBackupSetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DbsClient::describeFullBackupSetAsync(const DescribeFullBackupSetRequest& request, const DescribeFullBackupSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeFullBackupSet(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DbsClient::DescribeFullBackupSetOutcomeCallable DbsClient::describeFullBackupSetCallable(const DescribeFullBackupSetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeFullBackupSetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeFullBackupSet(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::DescribeIncrementBackupListOutcome DbsClient::describeIncrementBackupList(const DescribeIncrementBackupListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -627,42 +591,6 @@ DbsClient::DescribeJobErrorCodeOutcomeCallable DbsClient::describeJobErrorCodeCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::DescribeLogicalBackupSetOutcome DbsClient::describeLogicalBackupSet(const DescribeLogicalBackupSetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLogicalBackupSetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLogicalBackupSetOutcome(DescribeLogicalBackupSetResult(outcome.result()));
|
||||
else
|
||||
return DescribeLogicalBackupSetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DbsClient::describeLogicalBackupSetAsync(const DescribeLogicalBackupSetRequest& request, const DescribeLogicalBackupSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLogicalBackupSet(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DbsClient::DescribeLogicalBackupSetOutcomeCallable DbsClient::describeLogicalBackupSetCallable(const DescribeLogicalBackupSetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLogicalBackupSetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLogicalBackupSet(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::DescribeNodeCidrListOutcome DbsClient::describeNodeCidrList(const DescribeNodeCidrListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,359 +1,306 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/ConfigureBackupPlanRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::ConfigureBackupPlanRequest;
|
||||
|
||||
ConfigureBackupPlanRequest::ConfigureBackupPlanRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "ConfigureBackupPlan")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ConfigureBackupPlanRequest::~ConfigureBackupPlanRequest()
|
||||
{}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointRegion()const
|
||||
{
|
||||
return sourceEndpointRegion_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/ConfigureBackupPlanRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::ConfigureBackupPlanRequest;
|
||||
|
||||
ConfigureBackupPlanRequest::ConfigureBackupPlanRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "ConfigureBackupPlan") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointRegion(const std::string& sourceEndpointRegion)
|
||||
{
|
||||
sourceEndpointRegion_ = sourceEndpointRegion;
|
||||
setParameter("SourceEndpointRegion", sourceEndpointRegion);
|
||||
ConfigureBackupPlanRequest::~ConfigureBackupPlanRequest() {}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointRegion() const {
|
||||
return sourceEndpointRegion_;
|
||||
}
|
||||
|
||||
long ConfigureBackupPlanRequest::getBackupGatewayId()const
|
||||
{
|
||||
return backupGatewayId_;
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointRegion(const std::string &sourceEndpointRegion) {
|
||||
sourceEndpointRegion_ = sourceEndpointRegion;
|
||||
setParameter(std::string("SourceEndpointRegion"), sourceEndpointRegion);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupGatewayId(long backupGatewayId)
|
||||
{
|
||||
backupGatewayId_ = backupGatewayId;
|
||||
setParameter("BackupGatewayId", std::to_string(backupGatewayId));
|
||||
long ConfigureBackupPlanRequest::getBackupGatewayId() const {
|
||||
return backupGatewayId_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointInstanceID()const
|
||||
{
|
||||
return sourceEndpointInstanceID_;
|
||||
void ConfigureBackupPlanRequest::setBackupGatewayId(long backupGatewayId) {
|
||||
backupGatewayId_ = backupGatewayId;
|
||||
setParameter(std::string("BackupGatewayId"), std::to_string(backupGatewayId));
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID)
|
||||
{
|
||||
sourceEndpointInstanceID_ = sourceEndpointInstanceID;
|
||||
setParameter("SourceEndpointInstanceID", sourceEndpointInstanceID);
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointInstanceID() const {
|
||||
return sourceEndpointInstanceID_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointUserName()const
|
||||
{
|
||||
return sourceEndpointUserName_;
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID) {
|
||||
sourceEndpointInstanceID_ = sourceEndpointInstanceID;
|
||||
setParameter(std::string("SourceEndpointInstanceID"), sourceEndpointInstanceID);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointUserName(const std::string& sourceEndpointUserName)
|
||||
{
|
||||
sourceEndpointUserName_ = sourceEndpointUserName;
|
||||
setParameter("SourceEndpointUserName", sourceEndpointUserName);
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointUserName() const {
|
||||
return sourceEndpointUserName_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointUserName(const std::string &sourceEndpointUserName) {
|
||||
sourceEndpointUserName_ = sourceEndpointUserName;
|
||||
setParameter(std::string("SourceEndpointUserName"), sourceEndpointUserName);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
std::string ConfigureBackupPlanRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
void ConfigureBackupPlanRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
std::string ConfigureBackupPlanRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointDatabaseName()const
|
||||
{
|
||||
return sourceEndpointDatabaseName_;
|
||||
void ConfigureBackupPlanRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName)
|
||||
{
|
||||
sourceEndpointDatabaseName_ = sourceEndpointDatabaseName;
|
||||
setParameter("SourceEndpointDatabaseName", sourceEndpointDatabaseName);
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointDatabaseName() const {
|
||||
return sourceEndpointDatabaseName_;
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getDuplicationInfrequentAccessPeriod()const
|
||||
{
|
||||
return duplicationInfrequentAccessPeriod_;
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointDatabaseName(const std::string &sourceEndpointDatabaseName) {
|
||||
sourceEndpointDatabaseName_ = sourceEndpointDatabaseName;
|
||||
setParameter(std::string("SourceEndpointDatabaseName"), sourceEndpointDatabaseName);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod)
|
||||
{
|
||||
duplicationInfrequentAccessPeriod_ = duplicationInfrequentAccessPeriod;
|
||||
setParameter("DuplicationInfrequentAccessPeriod", std::to_string(duplicationInfrequentAccessPeriod));
|
||||
int ConfigureBackupPlanRequest::getDuplicationInfrequentAccessPeriod() const {
|
||||
return duplicationInfrequentAccessPeriod_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupStartTime()const
|
||||
{
|
||||
return backupStartTime_;
|
||||
void ConfigureBackupPlanRequest::setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod) {
|
||||
duplicationInfrequentAccessPeriod_ = duplicationInfrequentAccessPeriod;
|
||||
setParameter(std::string("DuplicationInfrequentAccessPeriod"), std::to_string(duplicationInfrequentAccessPeriod));
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupStartTime(const std::string& backupStartTime)
|
||||
{
|
||||
backupStartTime_ = backupStartTime;
|
||||
setParameter("BackupStartTime", backupStartTime);
|
||||
std::string ConfigureBackupPlanRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointIP()const
|
||||
{
|
||||
return sourceEndpointIP_;
|
||||
void ConfigureBackupPlanRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointIP(const std::string& sourceEndpointIP)
|
||||
{
|
||||
sourceEndpointIP_ = sourceEndpointIP;
|
||||
setParameter("SourceEndpointIP", sourceEndpointIP);
|
||||
std::string ConfigureBackupPlanRequest::getBackupStartTime() const {
|
||||
return backupStartTime_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getCrossRoleName()const
|
||||
{
|
||||
return crossRoleName_;
|
||||
void ConfigureBackupPlanRequest::setBackupStartTime(const std::string &backupStartTime) {
|
||||
backupStartTime_ = backupStartTime;
|
||||
setParameter(std::string("BackupStartTime"), backupStartTime);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setCrossRoleName(const std::string& crossRoleName)
|
||||
{
|
||||
crossRoleName_ = crossRoleName;
|
||||
setParameter("CrossRoleName", crossRoleName);
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointIP() const {
|
||||
return sourceEndpointIP_;
|
||||
}
|
||||
|
||||
bool ConfigureBackupPlanRequest::getEnableBackupLog()const
|
||||
{
|
||||
return enableBackupLog_;
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointIP(const std::string &sourceEndpointIP) {
|
||||
sourceEndpointIP_ = sourceEndpointIP;
|
||||
setParameter(std::string("SourceEndpointIP"), sourceEndpointIP);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setEnableBackupLog(bool enableBackupLog)
|
||||
{
|
||||
enableBackupLog_ = enableBackupLog;
|
||||
setParameter("EnableBackupLog", enableBackupLog ? "true" : "false");
|
||||
std::string ConfigureBackupPlanRequest::getCrossRoleName() const {
|
||||
return crossRoleName_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupStorageType()const
|
||||
{
|
||||
return backupStorageType_;
|
||||
void ConfigureBackupPlanRequest::setCrossRoleName(const std::string &crossRoleName) {
|
||||
crossRoleName_ = crossRoleName;
|
||||
setParameter(std::string("CrossRoleName"), crossRoleName);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupStorageType(const std::string& backupStorageType)
|
||||
{
|
||||
backupStorageType_ = backupStorageType;
|
||||
setParameter("BackupStorageType", backupStorageType);
|
||||
bool ConfigureBackupPlanRequest::getEnableBackupLog() const {
|
||||
return enableBackupLog_;
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getDuplicationArchivePeriod()const
|
||||
{
|
||||
return duplicationArchivePeriod_;
|
||||
void ConfigureBackupPlanRequest::setEnableBackupLog(bool enableBackupLog) {
|
||||
enableBackupLog_ = enableBackupLog;
|
||||
setParameter(std::string("EnableBackupLog"), enableBackupLog ? "true" : "false");
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setDuplicationArchivePeriod(int duplicationArchivePeriod)
|
||||
{
|
||||
duplicationArchivePeriod_ = duplicationArchivePeriod;
|
||||
setParameter("DuplicationArchivePeriod", std::to_string(duplicationArchivePeriod));
|
||||
std::string ConfigureBackupPlanRequest::getBackupStorageType() const {
|
||||
return backupStorageType_;
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getBackupLogIntervalSeconds()const
|
||||
{
|
||||
return backupLogIntervalSeconds_;
|
||||
void ConfigureBackupPlanRequest::setBackupStorageType(const std::string &backupStorageType) {
|
||||
backupStorageType_ = backupStorageType;
|
||||
setParameter(std::string("BackupStorageType"), backupStorageType);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupLogIntervalSeconds(int backupLogIntervalSeconds)
|
||||
{
|
||||
backupLogIntervalSeconds_ = backupLogIntervalSeconds;
|
||||
setParameter("BackupLogIntervalSeconds", std::to_string(backupLogIntervalSeconds));
|
||||
int ConfigureBackupPlanRequest::getDuplicationArchivePeriod() const {
|
||||
return duplicationArchivePeriod_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getCrossAliyunId()const
|
||||
{
|
||||
return crossAliyunId_;
|
||||
void ConfigureBackupPlanRequest::setDuplicationArchivePeriod(int duplicationArchivePeriod) {
|
||||
duplicationArchivePeriod_ = duplicationArchivePeriod;
|
||||
setParameter(std::string("DuplicationArchivePeriod"), std::to_string(duplicationArchivePeriod));
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setCrossAliyunId(const std::string& crossAliyunId)
|
||||
{
|
||||
crossAliyunId_ = crossAliyunId;
|
||||
setParameter("CrossAliyunId", crossAliyunId);
|
||||
int ConfigureBackupPlanRequest::getBackupLogIntervalSeconds() const {
|
||||
return backupLogIntervalSeconds_;
|
||||
}
|
||||
|
||||
bool ConfigureBackupPlanRequest::getAutoStartBackup()const
|
||||
{
|
||||
return autoStartBackup_;
|
||||
void ConfigureBackupPlanRequest::setBackupLogIntervalSeconds(int backupLogIntervalSeconds) {
|
||||
backupLogIntervalSeconds_ = backupLogIntervalSeconds;
|
||||
setParameter(std::string("BackupLogIntervalSeconds"), std::to_string(backupLogIntervalSeconds));
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setAutoStartBackup(bool autoStartBackup)
|
||||
{
|
||||
autoStartBackup_ = autoStartBackup;
|
||||
setParameter("AutoStartBackup", autoStartBackup ? "true" : "false");
|
||||
std::string ConfigureBackupPlanRequest::getCrossAliyunId() const {
|
||||
return crossAliyunId_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointPassword()const
|
||||
{
|
||||
return sourceEndpointPassword_;
|
||||
void ConfigureBackupPlanRequest::setCrossAliyunId(const std::string &crossAliyunId) {
|
||||
crossAliyunId_ = crossAliyunId;
|
||||
setParameter(std::string("CrossAliyunId"), crossAliyunId);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointPassword(const std::string& sourceEndpointPassword)
|
||||
{
|
||||
sourceEndpointPassword_ = sourceEndpointPassword;
|
||||
setParameter("SourceEndpointPassword", sourceEndpointPassword);
|
||||
bool ConfigureBackupPlanRequest::getAutoStartBackup() const {
|
||||
return autoStartBackup_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupObjects()const
|
||||
{
|
||||
return backupObjects_;
|
||||
void ConfigureBackupPlanRequest::setAutoStartBackup(bool autoStartBackup) {
|
||||
autoStartBackup_ = autoStartBackup;
|
||||
setParameter(std::string("AutoStartBackup"), autoStartBackup ? "true" : "false");
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupObjects(const std::string& backupObjects)
|
||||
{
|
||||
backupObjects_ = backupObjects;
|
||||
setParameter("BackupObjects", backupObjects);
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointPassword() const {
|
||||
return sourceEndpointPassword_;
|
||||
}
|
||||
|
||||
long ConfigureBackupPlanRequest::getBackupRateLimit()const
|
||||
{
|
||||
return backupRateLimit_;
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointPassword(const std::string &sourceEndpointPassword) {
|
||||
sourceEndpointPassword_ = sourceEndpointPassword;
|
||||
setParameter(std::string("SourceEndpointPassword"), sourceEndpointPassword);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupRateLimit(long backupRateLimit)
|
||||
{
|
||||
backupRateLimit_ = backupRateLimit;
|
||||
setParameter("BackupRateLimit", std::to_string(backupRateLimit));
|
||||
std::string ConfigureBackupPlanRequest::getBackupObjects() const {
|
||||
return backupObjects_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void ConfigureBackupPlanRequest::setBackupObjects(const std::string &backupObjects) {
|
||||
backupObjects_ = backupObjects;
|
||||
setParameter(std::string("BackupObjects"), backupObjects);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
long ConfigureBackupPlanRequest::getBackupRateLimit() const {
|
||||
return backupRateLimit_;
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getSourceEndpointPort()const
|
||||
{
|
||||
return sourceEndpointPort_;
|
||||
void ConfigureBackupPlanRequest::setBackupRateLimit(long backupRateLimit) {
|
||||
backupRateLimit_ = backupRateLimit;
|
||||
setParameter(std::string("BackupRateLimit"), std::to_string(backupRateLimit));
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointPort(int sourceEndpointPort)
|
||||
{
|
||||
sourceEndpointPort_ = sourceEndpointPort;
|
||||
setParameter("SourceEndpointPort", std::to_string(sourceEndpointPort));
|
||||
std::string ConfigureBackupPlanRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
int ConfigureBackupPlanRequest::getBackupRetentionPeriod()const
|
||||
{
|
||||
return backupRetentionPeriod_;
|
||||
void ConfigureBackupPlanRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupRetentionPeriod(int backupRetentionPeriod)
|
||||
{
|
||||
backupRetentionPeriod_ = backupRetentionPeriod;
|
||||
setParameter("BackupRetentionPeriod", std::to_string(backupRetentionPeriod));
|
||||
int ConfigureBackupPlanRequest::getSourceEndpointPort() const {
|
||||
return sourceEndpointPort_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupPeriod()const
|
||||
{
|
||||
return backupPeriod_;
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointPort(int sourceEndpointPort) {
|
||||
sourceEndpointPort_ = sourceEndpointPort;
|
||||
setParameter(std::string("SourceEndpointPort"), std::to_string(sourceEndpointPort));
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupPeriod(const std::string& backupPeriod)
|
||||
{
|
||||
backupPeriod_ = backupPeriod;
|
||||
setParameter("BackupPeriod", backupPeriod);
|
||||
int ConfigureBackupPlanRequest::getBackupRetentionPeriod() const {
|
||||
return backupRetentionPeriod_;
|
||||
}
|
||||
|
||||
long ConfigureBackupPlanRequest::getBackupSpeedLimit()const
|
||||
{
|
||||
return backupSpeedLimit_;
|
||||
void ConfigureBackupPlanRequest::setBackupRetentionPeriod(int backupRetentionPeriod) {
|
||||
backupRetentionPeriod_ = backupRetentionPeriod;
|
||||
setParameter(std::string("BackupRetentionPeriod"), std::to_string(backupRetentionPeriod));
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupSpeedLimit(long backupSpeedLimit)
|
||||
{
|
||||
backupSpeedLimit_ = backupSpeedLimit;
|
||||
setParameter("BackupSpeedLimit", std::to_string(backupSpeedLimit));
|
||||
std::string ConfigureBackupPlanRequest::getBackupPeriod() const {
|
||||
return backupPeriod_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointInstanceType()const
|
||||
{
|
||||
return sourceEndpointInstanceType_;
|
||||
void ConfigureBackupPlanRequest::setBackupPeriod(const std::string &backupPeriod) {
|
||||
backupPeriod_ = backupPeriod;
|
||||
setParameter(std::string("BackupPeriod"), backupPeriod);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType)
|
||||
{
|
||||
sourceEndpointInstanceType_ = sourceEndpointInstanceType;
|
||||
setParameter("SourceEndpointInstanceType", sourceEndpointInstanceType);
|
||||
long ConfigureBackupPlanRequest::getBackupSpeedLimit() const {
|
||||
return backupSpeedLimit_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupPlanName()const
|
||||
{
|
||||
return backupPlanName_;
|
||||
void ConfigureBackupPlanRequest::setBackupSpeedLimit(long backupSpeedLimit) {
|
||||
backupSpeedLimit_ = backupSpeedLimit;
|
||||
setParameter(std::string("BackupSpeedLimit"), std::to_string(backupSpeedLimit));
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupPlanName(const std::string& backupPlanName)
|
||||
{
|
||||
backupPlanName_ = backupPlanName;
|
||||
setParameter("BackupPlanName", backupPlanName);
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointInstanceType() const {
|
||||
return sourceEndpointInstanceType_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointOracleSID()const
|
||||
{
|
||||
return sourceEndpointOracleSID_;
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType) {
|
||||
sourceEndpointInstanceType_ = sourceEndpointInstanceType;
|
||||
setParameter(std::string("SourceEndpointInstanceType"), sourceEndpointInstanceType);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID)
|
||||
{
|
||||
sourceEndpointOracleSID_ = sourceEndpointOracleSID;
|
||||
setParameter("SourceEndpointOracleSID", sourceEndpointOracleSID);
|
||||
std::string ConfigureBackupPlanRequest::getBackupPlanName() const {
|
||||
return backupPlanName_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getOSSBucketName()const
|
||||
{
|
||||
return oSSBucketName_;
|
||||
void ConfigureBackupPlanRequest::setBackupPlanName(const std::string &backupPlanName) {
|
||||
backupPlanName_ = backupPlanName;
|
||||
setParameter(std::string("BackupPlanName"), backupPlanName);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setOSSBucketName(const std::string& oSSBucketName)
|
||||
{
|
||||
oSSBucketName_ = oSSBucketName;
|
||||
setParameter("OSSBucketName", oSSBucketName);
|
||||
std::string ConfigureBackupPlanRequest::getSourceEndpointOracleSID() const {
|
||||
return sourceEndpointOracleSID_;
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupStrategyType()const
|
||||
{
|
||||
return backupStrategyType_;
|
||||
void ConfigureBackupPlanRequest::setSourceEndpointOracleSID(const std::string &sourceEndpointOracleSID) {
|
||||
sourceEndpointOracleSID_ = sourceEndpointOracleSID;
|
||||
setParameter(std::string("SourceEndpointOracleSID"), sourceEndpointOracleSID);
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupStrategyType(const std::string& backupStrategyType)
|
||||
{
|
||||
backupStrategyType_ = backupStrategyType;
|
||||
setParameter("BackupStrategyType", backupStrategyType);
|
||||
std::string ConfigureBackupPlanRequest::getOSSBucketName() const {
|
||||
return oSSBucketName_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setOSSBucketName(const std::string &oSSBucketName) {
|
||||
oSSBucketName_ = oSSBucketName;
|
||||
setParameter(std::string("OSSBucketName"), oSSBucketName);
|
||||
}
|
||||
|
||||
std::string ConfigureBackupPlanRequest::getBackupStrategyType() const {
|
||||
return backupStrategyType_;
|
||||
}
|
||||
|
||||
void ConfigureBackupPlanRequest::setBackupStrategyType(const std::string &backupStrategyType) {
|
||||
backupStrategyType_ = backupStrategyType;
|
||||
setParameter(std::string("BackupStrategyType"), backupStrategyType);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,14 +39,14 @@ void ConfigureBackupPlanResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["BackupPlanId"].isNull())
|
||||
backupPlanId_ = value["BackupPlanId"].asString();
|
||||
|
||||
|
||||
@@ -1,480 +1,405 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CreateAndStartBackupPlanRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CreateAndStartBackupPlanRequest;
|
||||
|
||||
CreateAndStartBackupPlanRequest::CreateAndStartBackupPlanRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "CreateAndStartBackupPlan")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateAndStartBackupPlanRequest::~CreateAndStartBackupPlanRequest()
|
||||
{}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getDatabaseType()const
|
||||
{
|
||||
return databaseType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CreateAndStartBackupPlanRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CreateAndStartBackupPlanRequest;
|
||||
|
||||
CreateAndStartBackupPlanRequest::CreateAndStartBackupPlanRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "CreateAndStartBackupPlan") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateAndStartBackupPlanRequest::~CreateAndStartBackupPlanRequest() {}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getDatabaseType() const {
|
||||
return databaseType_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setDatabaseType(const std::string &databaseType) {
|
||||
databaseType_ = databaseType;
|
||||
setParameter(std::string("DatabaseType"), databaseType);
|
||||
}
|
||||
|
||||
long CreateAndStartBackupPlanRequest::getBackupGatewayId() const {
|
||||
return backupGatewayId_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setDatabaseType(const std::string& databaseType)
|
||||
{
|
||||
databaseType_ = databaseType;
|
||||
setParameter("DatabaseType", databaseType);
|
||||
void CreateAndStartBackupPlanRequest::setBackupGatewayId(long backupGatewayId) {
|
||||
backupGatewayId_ = backupGatewayId;
|
||||
setParameter(std::string("BackupGatewayId"), std::to_string(backupGatewayId));
|
||||
}
|
||||
|
||||
long CreateAndStartBackupPlanRequest::getBackupGatewayId()const
|
||||
{
|
||||
return backupGatewayId_;
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointUserName() const {
|
||||
return sourceEndpointUserName_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setBackupGatewayId(long backupGatewayId)
|
||||
{
|
||||
backupGatewayId_ = backupGatewayId;
|
||||
setParameter("BackupGatewayId", std::to_string(backupGatewayId));
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointUserName(const std::string &sourceEndpointUserName) {
|
||||
sourceEndpointUserName_ = sourceEndpointUserName;
|
||||
setParameter(std::string("SourceEndpointUserName"), sourceEndpointUserName);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointUserName()const
|
||||
{
|
||||
return sourceEndpointUserName_;
|
||||
std::string CreateAndStartBackupPlanRequest::getStorageType() const {
|
||||
return storageType_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointUserName(const std::string& sourceEndpointUserName)
|
||||
{
|
||||
sourceEndpointUserName_ = sourceEndpointUserName;
|
||||
setParameter("SourceEndpointUserName", sourceEndpointUserName);
|
||||
void CreateAndStartBackupPlanRequest::setStorageType(const std::string &storageType) {
|
||||
storageType_ = storageType;
|
||||
setParameter(std::string("StorageType"), storageType);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getStorageType()const
|
||||
{
|
||||
return storageType_;
|
||||
std::string CreateAndStartBackupPlanRequest::getDatabaseRegion() const {
|
||||
return databaseRegion_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setStorageType(const std::string& storageType)
|
||||
{
|
||||
storageType_ = storageType;
|
||||
setParameter("StorageType", storageType);
|
||||
void CreateAndStartBackupPlanRequest::setDatabaseRegion(const std::string &databaseRegion) {
|
||||
databaseRegion_ = databaseRegion;
|
||||
setParameter(std::string("DatabaseRegion"), databaseRegion);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getDatabaseRegion()const
|
||||
{
|
||||
return databaseRegion_;
|
||||
std::string CreateAndStartBackupPlanRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setDatabaseRegion(const std::string& databaseRegion)
|
||||
{
|
||||
databaseRegion_ = databaseRegion;
|
||||
setParameter("DatabaseRegion", databaseRegion);
|
||||
void CreateAndStartBackupPlanRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupStartTime()const
|
||||
{
|
||||
return backupStartTime_;
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupStartTime() const {
|
||||
return backupStartTime_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setBackupStartTime(const std::string& backupStartTime)
|
||||
{
|
||||
backupStartTime_ = backupStartTime;
|
||||
setParameter("BackupStartTime", backupStartTime);
|
||||
void CreateAndStartBackupPlanRequest::setBackupStartTime(const std::string &backupStartTime) {
|
||||
backupStartTime_ = backupStartTime;
|
||||
setParameter(std::string("BackupStartTime"), backupStartTime);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointIP()const
|
||||
{
|
||||
return sourceEndpointIP_;
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointIP() const {
|
||||
return sourceEndpointIP_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointIP(const std::string& sourceEndpointIP)
|
||||
{
|
||||
sourceEndpointIP_ = sourceEndpointIP;
|
||||
setParameter("SourceEndpointIP", sourceEndpointIP);
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointIP(const std::string &sourceEndpointIP) {
|
||||
sourceEndpointIP_ = sourceEndpointIP;
|
||||
setParameter(std::string("SourceEndpointIP"), sourceEndpointIP);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getCrossRoleName()const
|
||||
{
|
||||
return crossRoleName_;
|
||||
std::string CreateAndStartBackupPlanRequest::getCrossRoleName() const {
|
||||
return crossRoleName_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setCrossRoleName(const std::string& crossRoleName)
|
||||
{
|
||||
crossRoleName_ = crossRoleName;
|
||||
setParameter("CrossRoleName", crossRoleName);
|
||||
void CreateAndStartBackupPlanRequest::setCrossRoleName(const std::string &crossRoleName) {
|
||||
crossRoleName_ = crossRoleName;
|
||||
setParameter(std::string("CrossRoleName"), crossRoleName);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupStorageType()const
|
||||
{
|
||||
return backupStorageType_;
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupStorageType() const {
|
||||
return backupStorageType_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setBackupStorageType(const std::string& backupStorageType)
|
||||
{
|
||||
backupStorageType_ = backupStorageType;
|
||||
setParameter("BackupStorageType", backupStorageType);
|
||||
void CreateAndStartBackupPlanRequest::setBackupStorageType(const std::string &backupStorageType) {
|
||||
backupStorageType_ = backupStorageType;
|
||||
setParameter(std::string("BackupStorageType"), backupStorageType);
|
||||
}
|
||||
|
||||
int CreateAndStartBackupPlanRequest::getDuplicationArchivePeriod()const
|
||||
{
|
||||
return duplicationArchivePeriod_;
|
||||
int CreateAndStartBackupPlanRequest::getDuplicationArchivePeriod() const {
|
||||
return duplicationArchivePeriod_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setDuplicationArchivePeriod(int duplicationArchivePeriod)
|
||||
{
|
||||
duplicationArchivePeriod_ = duplicationArchivePeriod;
|
||||
setParameter("DuplicationArchivePeriod", std::to_string(duplicationArchivePeriod));
|
||||
void CreateAndStartBackupPlanRequest::setDuplicationArchivePeriod(int duplicationArchivePeriod) {
|
||||
duplicationArchivePeriod_ = duplicationArchivePeriod;
|
||||
setParameter(std::string("DuplicationArchivePeriod"), std::to_string(duplicationArchivePeriod));
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
std::string CreateAndStartBackupPlanRequest::getPeriod() const {
|
||||
return period_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setPeriod(const std::string& period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", period);
|
||||
void CreateAndStartBackupPlanRequest::setPeriod(const std::string &period) {
|
||||
period_ = period;
|
||||
setParameter(std::string("Period"), period);
|
||||
}
|
||||
|
||||
int CreateAndStartBackupPlanRequest::getBackupLogIntervalSeconds()const
|
||||
{
|
||||
return backupLogIntervalSeconds_;
|
||||
int CreateAndStartBackupPlanRequest::getBackupLogIntervalSeconds() const {
|
||||
return backupLogIntervalSeconds_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setBackupLogIntervalSeconds(int backupLogIntervalSeconds)
|
||||
{
|
||||
backupLogIntervalSeconds_ = backupLogIntervalSeconds;
|
||||
setParameter("BackupLogIntervalSeconds", std::to_string(backupLogIntervalSeconds));
|
||||
void CreateAndStartBackupPlanRequest::setBackupLogIntervalSeconds(int backupLogIntervalSeconds) {
|
||||
backupLogIntervalSeconds_ = backupLogIntervalSeconds;
|
||||
setParameter(std::string("BackupLogIntervalSeconds"), std::to_string(backupLogIntervalSeconds));
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getFromApp()const
|
||||
{
|
||||
return fromApp_;
|
||||
std::string CreateAndStartBackupPlanRequest::getFromApp() const {
|
||||
return fromApp_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setFromApp(const std::string& fromApp)
|
||||
{
|
||||
fromApp_ = fromApp;
|
||||
setParameter("FromApp", fromApp);
|
||||
void CreateAndStartBackupPlanRequest::setFromApp(const std::string &fromApp) {
|
||||
fromApp_ = fromApp;
|
||||
setParameter(std::string("FromApp"), fromApp);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointPassword()const
|
||||
{
|
||||
return sourceEndpointPassword_;
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointPassword() const {
|
||||
return sourceEndpointPassword_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointPassword(const std::string& sourceEndpointPassword)
|
||||
{
|
||||
sourceEndpointPassword_ = sourceEndpointPassword;
|
||||
setParameter("SourceEndpointPassword", sourceEndpointPassword);
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointPassword(const std::string &sourceEndpointPassword) {
|
||||
sourceEndpointPassword_ = sourceEndpointPassword;
|
||||
setParameter(std::string("SourceEndpointPassword"), sourceEndpointPassword);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
std::string CreateAndStartBackupPlanRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
void CreateAndStartBackupPlanRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupMethod()const
|
||||
{
|
||||
return backupMethod_;
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupMethod() const {
|
||||
return backupMethod_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setBackupMethod(const std::string& backupMethod)
|
||||
{
|
||||
backupMethod_ = backupMethod;
|
||||
setParameter("BackupMethod", backupMethod);
|
||||
void CreateAndStartBackupPlanRequest::setBackupMethod(const std::string &backupMethod) {
|
||||
backupMethod_ = backupMethod;
|
||||
setParameter(std::string("BackupMethod"), backupMethod);
|
||||
}
|
||||
|
||||
int CreateAndStartBackupPlanRequest::getBackupRetentionPeriod()const
|
||||
{
|
||||
return backupRetentionPeriod_;
|
||||
int CreateAndStartBackupPlanRequest::getBackupRetentionPeriod() const {
|
||||
return backupRetentionPeriod_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setBackupRetentionPeriod(int backupRetentionPeriod)
|
||||
{
|
||||
backupRetentionPeriod_ = backupRetentionPeriod;
|
||||
setParameter("BackupRetentionPeriod", std::to_string(backupRetentionPeriod));
|
||||
void CreateAndStartBackupPlanRequest::setBackupRetentionPeriod(int backupRetentionPeriod) {
|
||||
backupRetentionPeriod_ = backupRetentionPeriod;
|
||||
setParameter(std::string("BackupRetentionPeriod"), std::to_string(backupRetentionPeriod));
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupPeriod()const
|
||||
{
|
||||
return backupPeriod_;
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupPeriod() const {
|
||||
return backupPeriod_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setBackupPeriod(const std::string& backupPeriod)
|
||||
{
|
||||
backupPeriod_ = backupPeriod;
|
||||
setParameter("BackupPeriod", backupPeriod);
|
||||
void CreateAndStartBackupPlanRequest::setBackupPeriod(const std::string &backupPeriod) {
|
||||
backupPeriod_ = backupPeriod;
|
||||
setParameter(std::string("BackupPeriod"), backupPeriod);
|
||||
}
|
||||
|
||||
long CreateAndStartBackupPlanRequest::getBackupSpeedLimit()const
|
||||
{
|
||||
return backupSpeedLimit_;
|
||||
long CreateAndStartBackupPlanRequest::getBackupSpeedLimit() const {
|
||||
return backupSpeedLimit_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setBackupSpeedLimit(long backupSpeedLimit)
|
||||
{
|
||||
backupSpeedLimit_ = backupSpeedLimit;
|
||||
setParameter("BackupSpeedLimit", std::to_string(backupSpeedLimit));
|
||||
void CreateAndStartBackupPlanRequest::setBackupSpeedLimit(long backupSpeedLimit) {
|
||||
backupSpeedLimit_ = backupSpeedLimit;
|
||||
setParameter(std::string("BackupSpeedLimit"), std::to_string(backupSpeedLimit));
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointInstanceType()const
|
||||
{
|
||||
return sourceEndpointInstanceType_;
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointInstanceType() const {
|
||||
return sourceEndpointInstanceType_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType)
|
||||
{
|
||||
sourceEndpointInstanceType_ = sourceEndpointInstanceType;
|
||||
setParameter("SourceEndpointInstanceType", sourceEndpointInstanceType);
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointInstanceType(const std::string &sourceEndpointInstanceType) {
|
||||
sourceEndpointInstanceType_ = sourceEndpointInstanceType;
|
||||
setParameter(std::string("SourceEndpointInstanceType"), sourceEndpointInstanceType);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupPlanName()const
|
||||
{
|
||||
return backupPlanName_;
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupPlanName() const {
|
||||
return backupPlanName_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setBackupPlanName(const std::string& backupPlanName)
|
||||
{
|
||||
backupPlanName_ = backupPlanName;
|
||||
setParameter("BackupPlanName", backupPlanName);
|
||||
void CreateAndStartBackupPlanRequest::setBackupPlanName(const std::string &backupPlanName) {
|
||||
backupPlanName_ = backupPlanName;
|
||||
setParameter(std::string("BackupPlanName"), backupPlanName);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getOSSBucketName()const
|
||||
{
|
||||
return oSSBucketName_;
|
||||
std::string CreateAndStartBackupPlanRequest::getOSSBucketName() const {
|
||||
return oSSBucketName_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setOSSBucketName(const std::string& oSSBucketName)
|
||||
{
|
||||
oSSBucketName_ = oSSBucketName;
|
||||
setParameter("OSSBucketName", oSSBucketName);
|
||||
void CreateAndStartBackupPlanRequest::setOSSBucketName(const std::string &oSSBucketName) {
|
||||
oSSBucketName_ = oSSBucketName;
|
||||
setParameter(std::string("OSSBucketName"), oSSBucketName);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
std::string CreateAndStartBackupPlanRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
void CreateAndStartBackupPlanRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointRegion()const
|
||||
{
|
||||
return sourceEndpointRegion_;
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointRegion() const {
|
||||
return sourceEndpointRegion_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointRegion(const std::string& sourceEndpointRegion)
|
||||
{
|
||||
sourceEndpointRegion_ = sourceEndpointRegion;
|
||||
setParameter("SourceEndpointRegion", sourceEndpointRegion);
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointRegion(const std::string &sourceEndpointRegion) {
|
||||
sourceEndpointRegion_ = sourceEndpointRegion;
|
||||
setParameter(std::string("SourceEndpointRegion"), sourceEndpointRegion);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointInstanceID()const
|
||||
{
|
||||
return sourceEndpointInstanceID_;
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointInstanceID() const {
|
||||
return sourceEndpointInstanceID_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID)
|
||||
{
|
||||
sourceEndpointInstanceID_ = sourceEndpointInstanceID;
|
||||
setParameter("SourceEndpointInstanceID", sourceEndpointInstanceID);
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointInstanceID(const std::string &sourceEndpointInstanceID) {
|
||||
sourceEndpointInstanceID_ = sourceEndpointInstanceID;
|
||||
setParameter(std::string("SourceEndpointInstanceID"), sourceEndpointInstanceID);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
std::string CreateAndStartBackupPlanRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
void CreateAndStartBackupPlanRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
void CreateAndStartBackupPlanRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getInstanceClass()const
|
||||
{
|
||||
return instanceClass_;
|
||||
std::string CreateAndStartBackupPlanRequest::getInstanceClass() const {
|
||||
return instanceClass_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setInstanceClass(const std::string& instanceClass)
|
||||
{
|
||||
instanceClass_ = instanceClass;
|
||||
setParameter("InstanceClass", instanceClass);
|
||||
void CreateAndStartBackupPlanRequest::setInstanceClass(const std::string &instanceClass) {
|
||||
instanceClass_ = instanceClass;
|
||||
setParameter(std::string("InstanceClass"), instanceClass);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointDatabaseName()const
|
||||
{
|
||||
return sourceEndpointDatabaseName_;
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointDatabaseName() const {
|
||||
return sourceEndpointDatabaseName_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName)
|
||||
{
|
||||
sourceEndpointDatabaseName_ = sourceEndpointDatabaseName;
|
||||
setParameter("SourceEndpointDatabaseName", sourceEndpointDatabaseName);
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointDatabaseName(const std::string &sourceEndpointDatabaseName) {
|
||||
sourceEndpointDatabaseName_ = sourceEndpointDatabaseName;
|
||||
setParameter(std::string("SourceEndpointDatabaseName"), sourceEndpointDatabaseName);
|
||||
}
|
||||
|
||||
int CreateAndStartBackupPlanRequest::getDuplicationInfrequentAccessPeriod()const
|
||||
{
|
||||
return duplicationInfrequentAccessPeriod_;
|
||||
int CreateAndStartBackupPlanRequest::getDuplicationInfrequentAccessPeriod() const {
|
||||
return duplicationInfrequentAccessPeriod_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod)
|
||||
{
|
||||
duplicationInfrequentAccessPeriod_ = duplicationInfrequentAccessPeriod;
|
||||
setParameter("DuplicationInfrequentAccessPeriod", std::to_string(duplicationInfrequentAccessPeriod));
|
||||
void CreateAndStartBackupPlanRequest::setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod) {
|
||||
duplicationInfrequentAccessPeriod_ = duplicationInfrequentAccessPeriod;
|
||||
setParameter(std::string("DuplicationInfrequentAccessPeriod"), std::to_string(duplicationInfrequentAccessPeriod));
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getInstanceType()const
|
||||
{
|
||||
return instanceType_;
|
||||
std::string CreateAndStartBackupPlanRequest::getInstanceType() const {
|
||||
return instanceType_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setInstanceType(const std::string& instanceType)
|
||||
{
|
||||
instanceType_ = instanceType;
|
||||
setParameter("InstanceType", instanceType);
|
||||
void CreateAndStartBackupPlanRequest::setInstanceType(const std::string &instanceType) {
|
||||
instanceType_ = instanceType;
|
||||
setParameter(std::string("InstanceType"), instanceType);
|
||||
}
|
||||
|
||||
bool CreateAndStartBackupPlanRequest::getEnableBackupLog()const
|
||||
{
|
||||
return enableBackupLog_;
|
||||
bool CreateAndStartBackupPlanRequest::getEnableBackupLog() const {
|
||||
return enableBackupLog_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setEnableBackupLog(bool enableBackupLog)
|
||||
{
|
||||
enableBackupLog_ = enableBackupLog;
|
||||
setParameter("EnableBackupLog", enableBackupLog ? "true" : "false");
|
||||
void CreateAndStartBackupPlanRequest::setEnableBackupLog(bool enableBackupLog) {
|
||||
enableBackupLog_ = enableBackupLog;
|
||||
setParameter(std::string("EnableBackupLog"), enableBackupLog ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getCrossAliyunId()const
|
||||
{
|
||||
return crossAliyunId_;
|
||||
std::string CreateAndStartBackupPlanRequest::getCrossAliyunId() const {
|
||||
return crossAliyunId_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setCrossAliyunId(const std::string& crossAliyunId)
|
||||
{
|
||||
crossAliyunId_ = crossAliyunId;
|
||||
setParameter("CrossAliyunId", crossAliyunId);
|
||||
void CreateAndStartBackupPlanRequest::setCrossAliyunId(const std::string &crossAliyunId) {
|
||||
crossAliyunId_ = crossAliyunId;
|
||||
setParameter(std::string("CrossAliyunId"), crossAliyunId);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupObjects()const
|
||||
{
|
||||
return backupObjects_;
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupObjects() const {
|
||||
return backupObjects_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setBackupObjects(const std::string& backupObjects)
|
||||
{
|
||||
backupObjects_ = backupObjects;
|
||||
setParameter("BackupObjects", backupObjects);
|
||||
void CreateAndStartBackupPlanRequest::setBackupObjects(const std::string &backupObjects) {
|
||||
backupObjects_ = backupObjects;
|
||||
setParameter(std::string("BackupObjects"), backupObjects);
|
||||
}
|
||||
|
||||
long CreateAndStartBackupPlanRequest::getBackupRateLimit()const
|
||||
{
|
||||
return backupRateLimit_;
|
||||
long CreateAndStartBackupPlanRequest::getBackupRateLimit() const {
|
||||
return backupRateLimit_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setBackupRateLimit(long backupRateLimit)
|
||||
{
|
||||
backupRateLimit_ = backupRateLimit;
|
||||
setParameter("BackupRateLimit", std::to_string(backupRateLimit));
|
||||
void CreateAndStartBackupPlanRequest::setBackupRateLimit(long backupRateLimit) {
|
||||
backupRateLimit_ = backupRateLimit;
|
||||
setParameter(std::string("BackupRateLimit"), std::to_string(backupRateLimit));
|
||||
}
|
||||
|
||||
int CreateAndStartBackupPlanRequest::getUsedTime()const
|
||||
{
|
||||
return usedTime_;
|
||||
int CreateAndStartBackupPlanRequest::getUsedTime() const {
|
||||
return usedTime_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setUsedTime(int usedTime)
|
||||
{
|
||||
usedTime_ = usedTime;
|
||||
setParameter("UsedTime", std::to_string(usedTime));
|
||||
void CreateAndStartBackupPlanRequest::setUsedTime(int usedTime) {
|
||||
usedTime_ = usedTime;
|
||||
setParameter(std::string("UsedTime"), std::to_string(usedTime));
|
||||
}
|
||||
|
||||
int CreateAndStartBackupPlanRequest::getSourceEndpointPort()const
|
||||
{
|
||||
return sourceEndpointPort_;
|
||||
int CreateAndStartBackupPlanRequest::getSourceEndpointPort() const {
|
||||
return sourceEndpointPort_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointPort(int sourceEndpointPort)
|
||||
{
|
||||
sourceEndpointPort_ = sourceEndpointPort;
|
||||
setParameter("SourceEndpointPort", std::to_string(sourceEndpointPort));
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointPort(int sourceEndpointPort) {
|
||||
sourceEndpointPort_ = sourceEndpointPort;
|
||||
setParameter(std::string("SourceEndpointPort"), std::to_string(sourceEndpointPort));
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getStorageRegion()const
|
||||
{
|
||||
return storageRegion_;
|
||||
std::string CreateAndStartBackupPlanRequest::getStorageRegion() const {
|
||||
return storageRegion_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setStorageRegion(const std::string& storageRegion)
|
||||
{
|
||||
storageRegion_ = storageRegion;
|
||||
setParameter("StorageRegion", storageRegion);
|
||||
void CreateAndStartBackupPlanRequest::setStorageRegion(const std::string &storageRegion) {
|
||||
storageRegion_ = storageRegion;
|
||||
setParameter(std::string("StorageRegion"), storageRegion);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointOracleSID()const
|
||||
{
|
||||
return sourceEndpointOracleSID_;
|
||||
std::string CreateAndStartBackupPlanRequest::getSourceEndpointOracleSID() const {
|
||||
return sourceEndpointOracleSID_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID)
|
||||
{
|
||||
sourceEndpointOracleSID_ = sourceEndpointOracleSID;
|
||||
setParameter("SourceEndpointOracleSID", sourceEndpointOracleSID);
|
||||
void CreateAndStartBackupPlanRequest::setSourceEndpointOracleSID(const std::string &sourceEndpointOracleSID) {
|
||||
sourceEndpointOracleSID_ = sourceEndpointOracleSID;
|
||||
setParameter(std::string("SourceEndpointOracleSID"), sourceEndpointOracleSID);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupStrategyType()const
|
||||
{
|
||||
return backupStrategyType_;
|
||||
std::string CreateAndStartBackupPlanRequest::getBackupStrategyType() const {
|
||||
return backupStrategyType_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setBackupStrategyType(const std::string& backupStrategyType)
|
||||
{
|
||||
backupStrategyType_ = backupStrategyType;
|
||||
setParameter("BackupStrategyType", backupStrategyType);
|
||||
void CreateAndStartBackupPlanRequest::setBackupStrategyType(const std::string &backupStrategyType) {
|
||||
backupStrategyType_ = backupStrategyType;
|
||||
setParameter(std::string("BackupStrategyType"), backupStrategyType);
|
||||
}
|
||||
|
||||
std::string CreateAndStartBackupPlanRequest::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
std::string CreateAndStartBackupPlanRequest::getPayType() const {
|
||||
return payType_;
|
||||
}
|
||||
|
||||
void CreateAndStartBackupPlanRequest::setPayType(const std::string& payType)
|
||||
{
|
||||
payType_ = payType;
|
||||
setParameter("PayType", payType);
|
||||
void CreateAndStartBackupPlanRequest::setPayType(const std::string &payType) {
|
||||
payType_ = payType;
|
||||
setParameter(std::string("PayType"), payType);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,18 +39,18 @@ void CreateAndStartBackupPlanResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["BackupPlanId"].isNull())
|
||||
backupPlanId_ = value["BackupPlanId"].asString();
|
||||
if(!value["CreateBackupSet"].isNull())
|
||||
createBackupSet_ = value["CreateBackupSet"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["BackupPlanId"].isNull())
|
||||
backupPlanId_ = value["BackupPlanId"].asString();
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
|
||||
@@ -1,183 +1,162 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CreateBackupPlanRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CreateBackupPlanRequest;
|
||||
|
||||
CreateBackupPlanRequest::CreateBackupPlanRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "CreateBackupPlan")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateBackupPlanRequest::~CreateBackupPlanRequest()
|
||||
{}
|
||||
|
||||
std::string CreateBackupPlanRequest::getDatabaseType()const
|
||||
{
|
||||
return databaseType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CreateBackupPlanRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CreateBackupPlanRequest;
|
||||
|
||||
CreateBackupPlanRequest::CreateBackupPlanRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "CreateBackupPlan") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setDatabaseType(const std::string& databaseType)
|
||||
{
|
||||
databaseType_ = databaseType;
|
||||
setParameter("DatabaseType", databaseType);
|
||||
CreateBackupPlanRequest::~CreateBackupPlanRequest() {}
|
||||
|
||||
std::string CreateBackupPlanRequest::getDatabaseType() const {
|
||||
return databaseType_;
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
void CreateBackupPlanRequest::setDatabaseType(const std::string &databaseType) {
|
||||
databaseType_ = databaseType;
|
||||
setParameter(std::string("DatabaseType"), databaseType);
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
std::string CreateBackupPlanRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getInstanceClass()const
|
||||
{
|
||||
return instanceClass_;
|
||||
void CreateBackupPlanRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setInstanceClass(const std::string& instanceClass)
|
||||
{
|
||||
instanceClass_ = instanceClass;
|
||||
setParameter("InstanceClass", instanceClass);
|
||||
std::string CreateBackupPlanRequest::getInstanceClass() const {
|
||||
return instanceClass_;
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getStorageType()const
|
||||
{
|
||||
return storageType_;
|
||||
void CreateBackupPlanRequest::setInstanceClass(const std::string &instanceClass) {
|
||||
instanceClass_ = instanceClass;
|
||||
setParameter(std::string("InstanceClass"), instanceClass);
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setStorageType(const std::string& storageType)
|
||||
{
|
||||
storageType_ = storageType;
|
||||
setParameter("StorageType", storageType);
|
||||
std::string CreateBackupPlanRequest::getStorageType() const {
|
||||
return storageType_;
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getDatabaseRegion()const
|
||||
{
|
||||
return databaseRegion_;
|
||||
void CreateBackupPlanRequest::setStorageType(const std::string &storageType) {
|
||||
storageType_ = storageType;
|
||||
setParameter(std::string("StorageType"), storageType);
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setDatabaseRegion(const std::string& databaseRegion)
|
||||
{
|
||||
databaseRegion_ = databaseRegion;
|
||||
setParameter("DatabaseRegion", databaseRegion);
|
||||
std::string CreateBackupPlanRequest::getDatabaseRegion() const {
|
||||
return databaseRegion_;
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getInstanceType()const
|
||||
{
|
||||
return instanceType_;
|
||||
void CreateBackupPlanRequest::setDatabaseRegion(const std::string &databaseRegion) {
|
||||
databaseRegion_ = databaseRegion;
|
||||
setParameter(std::string("DatabaseRegion"), databaseRegion);
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setInstanceType(const std::string& instanceType)
|
||||
{
|
||||
instanceType_ = instanceType;
|
||||
setParameter("InstanceType", instanceType);
|
||||
std::string CreateBackupPlanRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
void CreateBackupPlanRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setPeriod(const std::string& period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", period);
|
||||
std::string CreateBackupPlanRequest::getInstanceType() const {
|
||||
return instanceType_;
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getFromApp()const
|
||||
{
|
||||
return fromApp_;
|
||||
void CreateBackupPlanRequest::setInstanceType(const std::string &instanceType) {
|
||||
instanceType_ = instanceType;
|
||||
setParameter(std::string("InstanceType"), instanceType);
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setFromApp(const std::string& fromApp)
|
||||
{
|
||||
fromApp_ = fromApp;
|
||||
setParameter("FromApp", fromApp);
|
||||
std::string CreateBackupPlanRequest::getPeriod() const {
|
||||
return period_;
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateBackupPlanRequest::setPeriod(const std::string &period) {
|
||||
period_ = period;
|
||||
setParameter(std::string("Period"), period);
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string CreateBackupPlanRequest::getFromApp() const {
|
||||
return fromApp_;
|
||||
}
|
||||
|
||||
int CreateBackupPlanRequest::getUsedTime()const
|
||||
{
|
||||
return usedTime_;
|
||||
void CreateBackupPlanRequest::setFromApp(const std::string &fromApp) {
|
||||
fromApp_ = fromApp;
|
||||
setParameter(std::string("FromApp"), fromApp);
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setUsedTime(int usedTime)
|
||||
{
|
||||
usedTime_ = usedTime;
|
||||
setParameter("UsedTime", std::to_string(usedTime));
|
||||
std::string CreateBackupPlanRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getBackupMethod()const
|
||||
{
|
||||
return backupMethod_;
|
||||
void CreateBackupPlanRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setBackupMethod(const std::string& backupMethod)
|
||||
{
|
||||
backupMethod_ = backupMethod;
|
||||
setParameter("BackupMethod", backupMethod);
|
||||
int CreateBackupPlanRequest::getUsedTime() const {
|
||||
return usedTime_;
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getStorageRegion()const
|
||||
{
|
||||
return storageRegion_;
|
||||
void CreateBackupPlanRequest::setUsedTime(int usedTime) {
|
||||
usedTime_ = usedTime;
|
||||
setParameter(std::string("UsedTime"), std::to_string(usedTime));
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setStorageRegion(const std::string& storageRegion)
|
||||
{
|
||||
storageRegion_ = storageRegion;
|
||||
setParameter("StorageRegion", storageRegion);
|
||||
std::string CreateBackupPlanRequest::getBackupMethod() const {
|
||||
return backupMethod_;
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
void CreateBackupPlanRequest::setBackupMethod(const std::string &backupMethod) {
|
||||
backupMethod_ = backupMethod;
|
||||
setParameter(std::string("BackupMethod"), backupMethod);
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
std::string CreateBackupPlanRequest::getStorageRegion() const {
|
||||
return storageRegion_;
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
void CreateBackupPlanRequest::setStorageRegion(const std::string &storageRegion) {
|
||||
storageRegion_ = storageRegion;
|
||||
setParameter(std::string("StorageRegion"), storageRegion);
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setPayType(const std::string& payType)
|
||||
{
|
||||
payType_ = payType;
|
||||
setParameter("PayType", payType);
|
||||
std::string CreateBackupPlanRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
std::string CreateBackupPlanRequest::getPayType() const {
|
||||
return payType_;
|
||||
}
|
||||
|
||||
void CreateBackupPlanRequest::setPayType(const std::string &payType) {
|
||||
payType_ = payType;
|
||||
setParameter(std::string("PayType"), payType);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,14 +39,14 @@ void CreateBackupPlanResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["BackupPlanId"].isNull())
|
||||
backupPlanId_ = value["BackupPlanId"].asString();
|
||||
if(!value["OrderId"].isNull())
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CreateFullBackupSetDownloadRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CreateFullBackupSetDownloadRequest;
|
||||
|
||||
CreateFullBackupSetDownloadRequest::CreateFullBackupSetDownloadRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "CreateFullBackupSetDownload")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateFullBackupSetDownloadRequest::~CreateFullBackupSetDownloadRequest()
|
||||
{}
|
||||
|
||||
std::string CreateFullBackupSetDownloadRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CreateFullBackupSetDownloadRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CreateFullBackupSetDownloadRequest;
|
||||
|
||||
CreateFullBackupSetDownloadRequest::CreateFullBackupSetDownloadRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "CreateFullBackupSetDownload") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateFullBackupSetDownloadRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
CreateFullBackupSetDownloadRequest::~CreateFullBackupSetDownloadRequest() {}
|
||||
|
||||
std::string CreateFullBackupSetDownloadRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateFullBackupSetDownloadRequest::getBackupSetId()const
|
||||
{
|
||||
return backupSetId_;
|
||||
void CreateFullBackupSetDownloadRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void CreateFullBackupSetDownloadRequest::setBackupSetId(const std::string& backupSetId)
|
||||
{
|
||||
backupSetId_ = backupSetId;
|
||||
setParameter("BackupSetId", backupSetId);
|
||||
std::string CreateFullBackupSetDownloadRequest::getBackupSetId() const {
|
||||
return backupSetId_;
|
||||
}
|
||||
|
||||
std::string CreateFullBackupSetDownloadRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateFullBackupSetDownloadRequest::setBackupSetId(const std::string &backupSetId) {
|
||||
backupSetId_ = backupSetId;
|
||||
setParameter(std::string("BackupSetId"), backupSetId);
|
||||
}
|
||||
|
||||
void CreateFullBackupSetDownloadRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string CreateFullBackupSetDownloadRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string CreateFullBackupSetDownloadRequest::getBackupSetDataFormat()const
|
||||
{
|
||||
return backupSetDataFormat_;
|
||||
void CreateFullBackupSetDownloadRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void CreateFullBackupSetDownloadRequest::setBackupSetDataFormat(const std::string& backupSetDataFormat)
|
||||
{
|
||||
backupSetDataFormat_ = backupSetDataFormat;
|
||||
setParameter("BackupSetDataFormat", backupSetDataFormat);
|
||||
std::string CreateFullBackupSetDownloadRequest::getBackupSetDataFormat() const {
|
||||
return backupSetDataFormat_;
|
||||
}
|
||||
|
||||
void CreateFullBackupSetDownloadRequest::setBackupSetDataFormat(const std::string &backupSetDataFormat) {
|
||||
backupSetDataFormat_ = backupSetDataFormat;
|
||||
setParameter(std::string("BackupSetDataFormat"), backupSetDataFormat);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,14 +39,14 @@ void CreateFullBackupSetDownloadResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["BackupSetDownloadTaskId"].isNull())
|
||||
backupSetDownloadTaskId_ = value["BackupSetDownloadTaskId"].asString();
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CreateGetDBListFromAgentTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CreateGetDBListFromAgentTaskRequest;
|
||||
|
||||
CreateGetDBListFromAgentTaskRequest::CreateGetDBListFromAgentTaskRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "CreateGetDBListFromAgentTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateGetDBListFromAgentTaskRequest::~CreateGetDBListFromAgentTaskRequest()
|
||||
{}
|
||||
|
||||
std::string CreateGetDBListFromAgentTaskRequest::getSourceEndpointRegion()const
|
||||
{
|
||||
return sourceEndpointRegion_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CreateGetDBListFromAgentTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CreateGetDBListFromAgentTaskRequest;
|
||||
|
||||
CreateGetDBListFromAgentTaskRequest::CreateGetDBListFromAgentTaskRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "CreateGetDBListFromAgentTask") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateGetDBListFromAgentTaskRequest::setSourceEndpointRegion(const std::string& sourceEndpointRegion)
|
||||
{
|
||||
sourceEndpointRegion_ = sourceEndpointRegion;
|
||||
setParameter("SourceEndpointRegion", sourceEndpointRegion);
|
||||
CreateGetDBListFromAgentTaskRequest::~CreateGetDBListFromAgentTaskRequest() {}
|
||||
|
||||
std::string CreateGetDBListFromAgentTaskRequest::getSourceEndpointRegion() const {
|
||||
return sourceEndpointRegion_;
|
||||
}
|
||||
|
||||
long CreateGetDBListFromAgentTaskRequest::getBackupGatewayId()const
|
||||
{
|
||||
return backupGatewayId_;
|
||||
void CreateGetDBListFromAgentTaskRequest::setSourceEndpointRegion(const std::string &sourceEndpointRegion) {
|
||||
sourceEndpointRegion_ = sourceEndpointRegion;
|
||||
setParameter(std::string("SourceEndpointRegion"), sourceEndpointRegion);
|
||||
}
|
||||
|
||||
void CreateGetDBListFromAgentTaskRequest::setBackupGatewayId(long backupGatewayId)
|
||||
{
|
||||
backupGatewayId_ = backupGatewayId;
|
||||
setParameter("BackupGatewayId", std::to_string(backupGatewayId));
|
||||
long CreateGetDBListFromAgentTaskRequest::getBackupGatewayId() const {
|
||||
return backupGatewayId_;
|
||||
}
|
||||
|
||||
std::string CreateGetDBListFromAgentTaskRequest::getDatabaseType()const
|
||||
{
|
||||
return databaseType_;
|
||||
void CreateGetDBListFromAgentTaskRequest::setBackupGatewayId(long backupGatewayId) {
|
||||
backupGatewayId_ = backupGatewayId;
|
||||
setParameter(std::string("BackupGatewayId"), std::to_string(backupGatewayId));
|
||||
}
|
||||
|
||||
void CreateGetDBListFromAgentTaskRequest::setDatabaseType(const std::string& databaseType)
|
||||
{
|
||||
databaseType_ = databaseType;
|
||||
setParameter("DatabaseType", databaseType);
|
||||
std::string CreateGetDBListFromAgentTaskRequest::getDatabaseType() const {
|
||||
return databaseType_;
|
||||
}
|
||||
|
||||
std::string CreateGetDBListFromAgentTaskRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
void CreateGetDBListFromAgentTaskRequest::setDatabaseType(const std::string &databaseType) {
|
||||
databaseType_ = databaseType;
|
||||
setParameter(std::string("DatabaseType"), databaseType);
|
||||
}
|
||||
|
||||
void CreateGetDBListFromAgentTaskRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
std::string CreateGetDBListFromAgentTaskRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateGetDBListFromAgentTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateGetDBListFromAgentTaskRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void CreateGetDBListFromAgentTaskRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string CreateGetDBListFromAgentTaskRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
int CreateGetDBListFromAgentTaskRequest::getSourceEndpointPort()const
|
||||
{
|
||||
return sourceEndpointPort_;
|
||||
void CreateGetDBListFromAgentTaskRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void CreateGetDBListFromAgentTaskRequest::setSourceEndpointPort(int sourceEndpointPort)
|
||||
{
|
||||
sourceEndpointPort_ = sourceEndpointPort;
|
||||
setParameter("SourceEndpointPort", std::to_string(sourceEndpointPort));
|
||||
int CreateGetDBListFromAgentTaskRequest::getSourceEndpointPort() const {
|
||||
return sourceEndpointPort_;
|
||||
}
|
||||
|
||||
std::string CreateGetDBListFromAgentTaskRequest::getSourceEndpointIP()const
|
||||
{
|
||||
return sourceEndpointIP_;
|
||||
void CreateGetDBListFromAgentTaskRequest::setSourceEndpointPort(int sourceEndpointPort) {
|
||||
sourceEndpointPort_ = sourceEndpointPort;
|
||||
setParameter(std::string("SourceEndpointPort"), std::to_string(sourceEndpointPort));
|
||||
}
|
||||
|
||||
void CreateGetDBListFromAgentTaskRequest::setSourceEndpointIP(const std::string& sourceEndpointIP)
|
||||
{
|
||||
sourceEndpointIP_ = sourceEndpointIP;
|
||||
setParameter("SourceEndpointIP", sourceEndpointIP);
|
||||
std::string CreateGetDBListFromAgentTaskRequest::getSourceEndpointIP() const {
|
||||
return sourceEndpointIP_;
|
||||
}
|
||||
|
||||
void CreateGetDBListFromAgentTaskRequest::setSourceEndpointIP(const std::string &sourceEndpointIP) {
|
||||
sourceEndpointIP_ = sourceEndpointIP;
|
||||
setParameter(std::string("SourceEndpointIP"), sourceEndpointIP);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,14 +39,14 @@ void CreateGetDBListFromAgentTaskResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = std::stol(value["TaskId"].asString());
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CreateIncrementBackupSetDownloadRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CreateIncrementBackupSetDownloadRequest;
|
||||
|
||||
CreateIncrementBackupSetDownloadRequest::CreateIncrementBackupSetDownloadRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "CreateIncrementBackupSetDownload")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateIncrementBackupSetDownloadRequest::~CreateIncrementBackupSetDownloadRequest()
|
||||
{}
|
||||
|
||||
std::string CreateIncrementBackupSetDownloadRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CreateIncrementBackupSetDownloadRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CreateIncrementBackupSetDownloadRequest;
|
||||
|
||||
CreateIncrementBackupSetDownloadRequest::CreateIncrementBackupSetDownloadRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "CreateIncrementBackupSetDownload") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateIncrementBackupSetDownloadRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
CreateIncrementBackupSetDownloadRequest::~CreateIncrementBackupSetDownloadRequest() {}
|
||||
|
||||
std::string CreateIncrementBackupSetDownloadRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateIncrementBackupSetDownloadRequest::getBackupSetName()const
|
||||
{
|
||||
return backupSetName_;
|
||||
void CreateIncrementBackupSetDownloadRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void CreateIncrementBackupSetDownloadRequest::setBackupSetName(const std::string& backupSetName)
|
||||
{
|
||||
backupSetName_ = backupSetName;
|
||||
setParameter("BackupSetName", backupSetName);
|
||||
std::string CreateIncrementBackupSetDownloadRequest::getBackupSetName() const {
|
||||
return backupSetName_;
|
||||
}
|
||||
|
||||
std::string CreateIncrementBackupSetDownloadRequest::getBackupSetId()const
|
||||
{
|
||||
return backupSetId_;
|
||||
void CreateIncrementBackupSetDownloadRequest::setBackupSetName(const std::string &backupSetName) {
|
||||
backupSetName_ = backupSetName;
|
||||
setParameter(std::string("BackupSetName"), backupSetName);
|
||||
}
|
||||
|
||||
void CreateIncrementBackupSetDownloadRequest::setBackupSetId(const std::string& backupSetId)
|
||||
{
|
||||
backupSetId_ = backupSetId;
|
||||
setParameter("BackupSetId", backupSetId);
|
||||
std::string CreateIncrementBackupSetDownloadRequest::getBackupSetId() const {
|
||||
return backupSetId_;
|
||||
}
|
||||
|
||||
std::string CreateIncrementBackupSetDownloadRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateIncrementBackupSetDownloadRequest::setBackupSetId(const std::string &backupSetId) {
|
||||
backupSetId_ = backupSetId;
|
||||
setParameter(std::string("BackupSetId"), backupSetId);
|
||||
}
|
||||
|
||||
void CreateIncrementBackupSetDownloadRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string CreateIncrementBackupSetDownloadRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string CreateIncrementBackupSetDownloadRequest::getBackupSetDataFormat()const
|
||||
{
|
||||
return backupSetDataFormat_;
|
||||
void CreateIncrementBackupSetDownloadRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void CreateIncrementBackupSetDownloadRequest::setBackupSetDataFormat(const std::string& backupSetDataFormat)
|
||||
{
|
||||
backupSetDataFormat_ = backupSetDataFormat;
|
||||
setParameter("BackupSetDataFormat", backupSetDataFormat);
|
||||
std::string CreateIncrementBackupSetDownloadRequest::getBackupSetDataFormat() const {
|
||||
return backupSetDataFormat_;
|
||||
}
|
||||
|
||||
void CreateIncrementBackupSetDownloadRequest::setBackupSetDataFormat(const std::string &backupSetDataFormat) {
|
||||
backupSetDataFormat_ = backupSetDataFormat;
|
||||
setParameter(std::string("BackupSetDataFormat"), backupSetDataFormat);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,14 +39,14 @@ void CreateIncrementBackupSetDownloadResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["BackupSetDownloadTaskId"].isNull())
|
||||
backupSetDownloadTaskId_ = value["BackupSetDownloadTaskId"].asString();
|
||||
|
||||
|
||||
@@ -1,271 +1,225 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CreateRestoreTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CreateRestoreTaskRequest;
|
||||
|
||||
CreateRestoreTaskRequest::CreateRestoreTaskRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "CreateRestoreTask")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateRestoreTaskRequest::~CreateRestoreTaskRequest()
|
||||
{}
|
||||
|
||||
long CreateRestoreTaskRequest::getBackupGatewayId()const
|
||||
{
|
||||
return backupGatewayId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/CreateRestoreTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::CreateRestoreTaskRequest;
|
||||
|
||||
CreateRestoreTaskRequest::CreateRestoreTaskRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "CreateRestoreTask") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setBackupGatewayId(long backupGatewayId)
|
||||
{
|
||||
backupGatewayId_ = backupGatewayId;
|
||||
setParameter("BackupGatewayId", std::to_string(backupGatewayId));
|
||||
CreateRestoreTaskRequest::~CreateRestoreTaskRequest() {}
|
||||
|
||||
long CreateRestoreTaskRequest::getBackupGatewayId() const {
|
||||
return backupGatewayId_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointInstanceType()const
|
||||
{
|
||||
return destinationEndpointInstanceType_;
|
||||
void CreateRestoreTaskRequest::setBackupGatewayId(long backupGatewayId) {
|
||||
backupGatewayId_ = backupGatewayId;
|
||||
setParameter(std::string("BackupGatewayId"), std::to_string(backupGatewayId));
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointInstanceType(const std::string& destinationEndpointInstanceType)
|
||||
{
|
||||
destinationEndpointInstanceType_ = destinationEndpointInstanceType;
|
||||
setParameter("DestinationEndpointInstanceType", destinationEndpointInstanceType);
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointInstanceType() const {
|
||||
return destinationEndpointInstanceType_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointInstanceType(const std::string &destinationEndpointInstanceType) {
|
||||
destinationEndpointInstanceType_ = destinationEndpointInstanceType;
|
||||
setParameter(std::string("DestinationEndpointInstanceType"), destinationEndpointInstanceType);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
std::string CreateRestoreTaskRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
void CreateRestoreTaskRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
std::string CreateRestoreTaskRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointRegion()const
|
||||
{
|
||||
return destinationEndpointRegion_;
|
||||
void CreateRestoreTaskRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointRegion(const std::string& destinationEndpointRegion)
|
||||
{
|
||||
destinationEndpointRegion_ = destinationEndpointRegion;
|
||||
setParameter("DestinationEndpointRegion", destinationEndpointRegion);
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointRegion() const {
|
||||
return destinationEndpointRegion_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getCrossRoleName()const
|
||||
{
|
||||
return crossRoleName_;
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointRegion(const std::string &destinationEndpointRegion) {
|
||||
destinationEndpointRegion_ = destinationEndpointRegion;
|
||||
setParameter(std::string("DestinationEndpointRegion"), destinationEndpointRegion);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setCrossRoleName(const std::string& crossRoleName)
|
||||
{
|
||||
crossRoleName_ = crossRoleName;
|
||||
setParameter("CrossRoleName", crossRoleName);
|
||||
std::string CreateRestoreTaskRequest::getCrossRoleName() const {
|
||||
return crossRoleName_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointUserName()const
|
||||
{
|
||||
return destinationEndpointUserName_;
|
||||
void CreateRestoreTaskRequest::setCrossRoleName(const std::string &crossRoleName) {
|
||||
crossRoleName_ = crossRoleName;
|
||||
setParameter(std::string("CrossRoleName"), crossRoleName);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointUserName(const std::string& destinationEndpointUserName)
|
||||
{
|
||||
destinationEndpointUserName_ = destinationEndpointUserName;
|
||||
setParameter("DestinationEndpointUserName", destinationEndpointUserName);
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointUserName() const {
|
||||
return destinationEndpointUserName_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getRestoreObjects()const
|
||||
{
|
||||
return restoreObjects_;
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointUserName(const std::string &destinationEndpointUserName) {
|
||||
destinationEndpointUserName_ = destinationEndpointUserName;
|
||||
setParameter(std::string("DestinationEndpointUserName"), destinationEndpointUserName);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setRestoreObjects(const std::string& restoreObjects)
|
||||
{
|
||||
restoreObjects_ = restoreObjects;
|
||||
setParameter("RestoreObjects", restoreObjects);
|
||||
std::string CreateRestoreTaskRequest::getRestoreObjects() const {
|
||||
return restoreObjects_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getRestoreTaskName()const
|
||||
{
|
||||
return restoreTaskName_;
|
||||
void CreateRestoreTaskRequest::setRestoreObjects(const std::string &restoreObjects) {
|
||||
restoreObjects_ = restoreObjects;
|
||||
setParameter(std::string("RestoreObjects"), restoreObjects);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setRestoreTaskName(const std::string& restoreTaskName)
|
||||
{
|
||||
restoreTaskName_ = restoreTaskName;
|
||||
setParameter("RestoreTaskName", restoreTaskName);
|
||||
std::string CreateRestoreTaskRequest::getRestoreTaskName() const {
|
||||
return restoreTaskName_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getRestoreHome()const
|
||||
{
|
||||
return restoreHome_;
|
||||
void CreateRestoreTaskRequest::setRestoreTaskName(const std::string &restoreTaskName) {
|
||||
restoreTaskName_ = restoreTaskName;
|
||||
setParameter(std::string("RestoreTaskName"), restoreTaskName);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setRestoreHome(const std::string& restoreHome)
|
||||
{
|
||||
restoreHome_ = restoreHome;
|
||||
setParameter("RestoreHome", restoreHome);
|
||||
std::string CreateRestoreTaskRequest::getRestoreHome() const {
|
||||
return restoreHome_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointOracleSID()const
|
||||
{
|
||||
return destinationEndpointOracleSID_;
|
||||
void CreateRestoreTaskRequest::setRestoreHome(const std::string &restoreHome) {
|
||||
restoreHome_ = restoreHome;
|
||||
setParameter(std::string("RestoreHome"), restoreHome);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointOracleSID(const std::string& destinationEndpointOracleSID)
|
||||
{
|
||||
destinationEndpointOracleSID_ = destinationEndpointOracleSID;
|
||||
setParameter("DestinationEndpointOracleSID", destinationEndpointOracleSID);
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointOracleSID() const {
|
||||
return destinationEndpointOracleSID_;
|
||||
}
|
||||
|
||||
long CreateRestoreTaskRequest::getRestoreTime()const
|
||||
{
|
||||
return restoreTime_;
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointOracleSID(const std::string &destinationEndpointOracleSID) {
|
||||
destinationEndpointOracleSID_ = destinationEndpointOracleSID;
|
||||
setParameter(std::string("DestinationEndpointOracleSID"), destinationEndpointOracleSID);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setRestoreTime(long restoreTime)
|
||||
{
|
||||
restoreTime_ = restoreTime;
|
||||
setParameter("RestoreTime", std::to_string(restoreTime));
|
||||
long CreateRestoreTaskRequest::getRestoreTime() const {
|
||||
return restoreTime_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getCrossAliyunId()const
|
||||
{
|
||||
return crossAliyunId_;
|
||||
void CreateRestoreTaskRequest::setRestoreTime(long restoreTime) {
|
||||
restoreTime_ = restoreTime;
|
||||
setParameter(std::string("RestoreTime"), std::to_string(restoreTime));
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setCrossAliyunId(const std::string& crossAliyunId)
|
||||
{
|
||||
crossAliyunId_ = crossAliyunId;
|
||||
setParameter("CrossAliyunId", crossAliyunId);
|
||||
std::string CreateRestoreTaskRequest::getCrossAliyunId() const {
|
||||
return crossAliyunId_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointInstanceID()const
|
||||
{
|
||||
return destinationEndpointInstanceID_;
|
||||
void CreateRestoreTaskRequest::setCrossAliyunId(const std::string &crossAliyunId) {
|
||||
crossAliyunId_ = crossAliyunId;
|
||||
setParameter(std::string("CrossAliyunId"), crossAliyunId);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointInstanceID(const std::string& destinationEndpointInstanceID)
|
||||
{
|
||||
destinationEndpointInstanceID_ = destinationEndpointInstanceID;
|
||||
setParameter("DestinationEndpointInstanceID", destinationEndpointInstanceID);
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointInstanceID() const {
|
||||
return destinationEndpointInstanceID_;
|
||||
}
|
||||
|
||||
int CreateRestoreTaskRequest::getDestinationEndpointPort()const
|
||||
{
|
||||
return destinationEndpointPort_;
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointInstanceID(const std::string &destinationEndpointInstanceID) {
|
||||
destinationEndpointInstanceID_ = destinationEndpointInstanceID;
|
||||
setParameter(std::string("DestinationEndpointInstanceID"), destinationEndpointInstanceID);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointPort(int destinationEndpointPort)
|
||||
{
|
||||
destinationEndpointPort_ = destinationEndpointPort;
|
||||
setParameter("DestinationEndpointPort", std::to_string(destinationEndpointPort));
|
||||
int CreateRestoreTaskRequest::getDestinationEndpointPort() const {
|
||||
return destinationEndpointPort_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getBackupSetId()const
|
||||
{
|
||||
return backupSetId_;
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointPort(int destinationEndpointPort) {
|
||||
destinationEndpointPort_ = destinationEndpointPort;
|
||||
setParameter(std::string("DestinationEndpointPort"), std::to_string(destinationEndpointPort));
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setBackupSetId(const std::string& backupSetId)
|
||||
{
|
||||
backupSetId_ = backupSetId;
|
||||
setParameter("BackupSetId", backupSetId);
|
||||
std::string CreateRestoreTaskRequest::getBackupSetId() const {
|
||||
return backupSetId_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateRestoreTaskRequest::setBackupSetId(const std::string &backupSetId) {
|
||||
backupSetId_ = backupSetId;
|
||||
setParameter(std::string("BackupSetId"), backupSetId);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string CreateRestoreTaskRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getRestoreDir()const
|
||||
{
|
||||
return restoreDir_;
|
||||
void CreateRestoreTaskRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setRestoreDir(const std::string& restoreDir)
|
||||
{
|
||||
restoreDir_ = restoreDir;
|
||||
setParameter("RestoreDir", restoreDir);
|
||||
std::string CreateRestoreTaskRequest::getRestoreDir() const {
|
||||
return restoreDir_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointIP()const
|
||||
{
|
||||
return destinationEndpointIP_;
|
||||
void CreateRestoreTaskRequest::setRestoreDir(const std::string &restoreDir) {
|
||||
restoreDir_ = restoreDir;
|
||||
setParameter(std::string("RestoreDir"), restoreDir);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointIP(const std::string& destinationEndpointIP)
|
||||
{
|
||||
destinationEndpointIP_ = destinationEndpointIP;
|
||||
setParameter("DestinationEndpointIP", destinationEndpointIP);
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointIP() const {
|
||||
return destinationEndpointIP_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointDatabaseName()const
|
||||
{
|
||||
return destinationEndpointDatabaseName_;
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointIP(const std::string &destinationEndpointIP) {
|
||||
destinationEndpointIP_ = destinationEndpointIP;
|
||||
setParameter(std::string("DestinationEndpointIP"), destinationEndpointIP);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointDatabaseName(const std::string& destinationEndpointDatabaseName)
|
||||
{
|
||||
destinationEndpointDatabaseName_ = destinationEndpointDatabaseName;
|
||||
setParameter("DestinationEndpointDatabaseName", destinationEndpointDatabaseName);
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointDatabaseName() const {
|
||||
return destinationEndpointDatabaseName_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDuplicateConflict()const
|
||||
{
|
||||
return duplicateConflict_;
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointDatabaseName(const std::string &destinationEndpointDatabaseName) {
|
||||
destinationEndpointDatabaseName_ = destinationEndpointDatabaseName;
|
||||
setParameter(std::string("DestinationEndpointDatabaseName"), destinationEndpointDatabaseName);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDuplicateConflict(const std::string& duplicateConflict)
|
||||
{
|
||||
duplicateConflict_ = duplicateConflict;
|
||||
setParameter("DuplicateConflict", duplicateConflict);
|
||||
std::string CreateRestoreTaskRequest::getDuplicateConflict() const {
|
||||
return duplicateConflict_;
|
||||
}
|
||||
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointPassword()const
|
||||
{
|
||||
return destinationEndpointPassword_;
|
||||
void CreateRestoreTaskRequest::setDuplicateConflict(const std::string &duplicateConflict) {
|
||||
duplicateConflict_ = duplicateConflict;
|
||||
setParameter(std::string("DuplicateConflict"), duplicateConflict);
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointPassword(const std::string& destinationEndpointPassword)
|
||||
{
|
||||
destinationEndpointPassword_ = destinationEndpointPassword;
|
||||
setParameter("DestinationEndpointPassword", destinationEndpointPassword);
|
||||
std::string CreateRestoreTaskRequest::getDestinationEndpointPassword() const {
|
||||
return destinationEndpointPassword_;
|
||||
}
|
||||
|
||||
void CreateRestoreTaskRequest::setDestinationEndpointPassword(const std::string &destinationEndpointPassword) {
|
||||
destinationEndpointPassword_ = destinationEndpointPassword;
|
||||
setParameter(std::string("DestinationEndpointPassword"), destinationEndpointPassword);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,14 +39,14 @@ void CreateRestoreTaskResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["RestoreTaskId"].isNull())
|
||||
restoreTaskId_ = value["RestoreTaskId"].asString();
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeBackupGatewayListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeBackupGatewayListRequest;
|
||||
|
||||
DescribeBackupGatewayListRequest::DescribeBackupGatewayListRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeBackupGatewayList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBackupGatewayListRequest::~DescribeBackupGatewayListRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getIdentifier()const
|
||||
{
|
||||
return identifier_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeBackupGatewayListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeBackupGatewayListRequest;
|
||||
|
||||
DescribeBackupGatewayListRequest::DescribeBackupGatewayListRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "DescribeBackupGatewayList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeBackupGatewayListRequest::setIdentifier(const std::string& identifier)
|
||||
{
|
||||
identifier_ = identifier;
|
||||
setParameter("Identifier", identifier);
|
||||
DescribeBackupGatewayListRequest::~DescribeBackupGatewayListRequest() {}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getIdentifier() const {
|
||||
return identifier_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
void DescribeBackupGatewayListRequest::setIdentifier(const std::string &identifier) {
|
||||
identifier_ = identifier;
|
||||
setParameter(std::string("Identifier"), identifier);
|
||||
}
|
||||
|
||||
void DescribeBackupGatewayListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
std::string DescribeBackupGatewayListRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
int DescribeBackupGatewayListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
void DescribeBackupGatewayListRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribeBackupGatewayListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
int DescribeBackupGatewayListRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeBackupGatewayListRequest::setPageNum(int pageNum) {
|
||||
pageNum_ = pageNum;
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
void DescribeBackupGatewayListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DescribeBackupGatewayListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
int DescribeBackupGatewayListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeBackupGatewayListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void DescribeBackupGatewayListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeBackupGatewayListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupGatewayListRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
void DescribeBackupGatewayListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void DescribeBackupGatewayListRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
std::string DescribeBackupGatewayListRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
void DescribeBackupGatewayListRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,57 +43,57 @@ void DescribeBackupGatewayListResult::parse(const std::string &payload)
|
||||
for (auto valueItemsBackupGateway : allItemsNode)
|
||||
{
|
||||
BackupGateway itemsObject;
|
||||
if(!valueItemsBackupGateway["BackupGatewayId"].isNull())
|
||||
itemsObject.backupGatewayId = valueItemsBackupGateway["BackupGatewayId"].asString();
|
||||
if(!valueItemsBackupGateway["SourceEndpointInternetIP"].isNull())
|
||||
itemsObject.sourceEndpointInternetIP = valueItemsBackupGateway["SourceEndpointInternetIP"].asString();
|
||||
if(!valueItemsBackupGateway["SourceEndpointIntranetIP"].isNull())
|
||||
itemsObject.sourceEndpointIntranetIP = valueItemsBackupGateway["SourceEndpointIntranetIP"].asString();
|
||||
if(!valueItemsBackupGateway["SourceEndpointHostname"].isNull())
|
||||
itemsObject.sourceEndpointHostname = valueItemsBackupGateway["SourceEndpointHostname"].asString();
|
||||
if(!valueItemsBackupGateway["BackupGatewayStatus"].isNull())
|
||||
itemsObject.backupGatewayStatus = valueItemsBackupGateway["BackupGatewayStatus"].asString();
|
||||
if(!valueItemsBackupGateway["LastHeartbeatTime"].isNull())
|
||||
itemsObject.lastHeartbeatTime = std::stol(valueItemsBackupGateway["LastHeartbeatTime"].asString());
|
||||
if(!valueItemsBackupGateway["BackupGatewayCreateTime"].isNull())
|
||||
itemsObject.backupGatewayCreateTime = std::stol(valueItemsBackupGateway["BackupGatewayCreateTime"].asString());
|
||||
if(!valueItemsBackupGateway["Region"].isNull())
|
||||
itemsObject.region = valueItemsBackupGateway["Region"].asString();
|
||||
if(!valueItemsBackupGateway["DisplayName"].isNull())
|
||||
itemsObject.displayName = valueItemsBackupGateway["DisplayName"].asString();
|
||||
if(!valueItemsBackupGateway["BackupGatewayCreateTime"].isNull())
|
||||
itemsObject.backupGatewayCreateTime = std::stol(valueItemsBackupGateway["BackupGatewayCreateTime"].asString());
|
||||
if(!valueItemsBackupGateway["BackupGatewayId"].isNull())
|
||||
itemsObject.backupGatewayId = valueItemsBackupGateway["BackupGatewayId"].asString();
|
||||
if(!valueItemsBackupGateway["Region"].isNull())
|
||||
itemsObject.region = valueItemsBackupGateway["Region"].asString();
|
||||
if(!valueItemsBackupGateway["Identifier"].isNull())
|
||||
itemsObject.identifier = valueItemsBackupGateway["Identifier"].asString();
|
||||
if(!valueItemsBackupGateway["SourceEndpointInternetIP"].isNull())
|
||||
itemsObject.sourceEndpointInternetIP = valueItemsBackupGateway["SourceEndpointInternetIP"].asString();
|
||||
if(!valueItemsBackupGateway["BackupGatewayStatus"].isNull())
|
||||
itemsObject.backupGatewayStatus = valueItemsBackupGateway["BackupGatewayStatus"].asString();
|
||||
if(!valueItemsBackupGateway["SourceEndpointIntranetIP"].isNull())
|
||||
itemsObject.sourceEndpointIntranetIP = valueItemsBackupGateway["SourceEndpointIntranetIP"].asString();
|
||||
if(!valueItemsBackupGateway["LastHeartbeatTime"].isNull())
|
||||
itemsObject.lastHeartbeatTime = std::stol(valueItemsBackupGateway["LastHeartbeatTime"].asString());
|
||||
if(!valueItemsBackupGateway["SourceEndpointHostname"].isNull())
|
||||
itemsObject.sourceEndpointHostname = valueItemsBackupGateway["SourceEndpointHostname"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNum"].isNull())
|
||||
pageNum_ = std::stoi(value["PageNum"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["TotalElements"].isNull())
|
||||
totalElements_ = std::stoi(value["TotalElements"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeBackupGatewayListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeBackupGatewayListResult::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
int DescribeBackupGatewayListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeBackupGatewayListResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeBackupPlanBillingRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeBackupPlanBillingRequest;
|
||||
|
||||
DescribeBackupPlanBillingRequest::DescribeBackupPlanBillingRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeBackupPlanBilling")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBackupPlanBillingRequest::~DescribeBackupPlanBillingRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeBackupPlanBillingRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeBackupPlanBillingRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeBackupPlanBillingRequest;
|
||||
|
||||
DescribeBackupPlanBillingRequest::DescribeBackupPlanBillingRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "DescribeBackupPlanBilling") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeBackupPlanBillingRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
DescribeBackupPlanBillingRequest::~DescribeBackupPlanBillingRequest() {}
|
||||
|
||||
std::string DescribeBackupPlanBillingRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanBillingRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
void DescribeBackupPlanBillingRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribeBackupPlanBillingRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
std::string DescribeBackupPlanBillingRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanBillingRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeBackupPlanBillingRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
void DescribeBackupPlanBillingRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DescribeBackupPlanBillingRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
bool DescribeBackupPlanBillingRequest::getShowStorageType()const
|
||||
{
|
||||
return showStorageType_;
|
||||
void DescribeBackupPlanBillingRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void DescribeBackupPlanBillingRequest::setShowStorageType(bool showStorageType)
|
||||
{
|
||||
showStorageType_ = showStorageType;
|
||||
setParameter("ShowStorageType", showStorageType ? "true" : "false");
|
||||
bool DescribeBackupPlanBillingRequest::getShowStorageType() const {
|
||||
return showStorageType_;
|
||||
}
|
||||
|
||||
void DescribeBackupPlanBillingRequest::setShowStorageType(bool showStorageType) {
|
||||
showStorageType_ = showStorageType;
|
||||
setParameter(std::string("ShowStorageType"), showStorageType ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -40,42 +40,44 @@ void DescribeBackupPlanBillingResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto itemNode = value["Item"];
|
||||
if(!itemNode["BuySpec"].isNull())
|
||||
item_.buySpec = itemNode["BuySpec"].asString();
|
||||
if(!itemNode["BuyChargeType"].isNull())
|
||||
item_.buyChargeType = itemNode["BuyChargeType"].asString();
|
||||
if(!itemNode["BuyCreateTimestamp"].isNull())
|
||||
item_.buyCreateTimestamp = std::stol(itemNode["BuyCreateTimestamp"].asString());
|
||||
if(!itemNode["FullStorageSize"].isNull())
|
||||
item_.fullStorageSize = std::stol(itemNode["FullStorageSize"].asString());
|
||||
if(!itemNode["BuyExpiredTimestamp"].isNull())
|
||||
item_.buyExpiredTimestamp = std::stol(itemNode["BuyExpiredTimestamp"].asString());
|
||||
if(!itemNode["BuySpec"].isNull())
|
||||
item_.buySpec = itemNode["BuySpec"].asString();
|
||||
if(!itemNode["QuotaEndTimestamp"].isNull())
|
||||
item_.quotaEndTimestamp = std::stol(itemNode["QuotaEndTimestamp"].asString());
|
||||
if(!itemNode["IsExpired"].isNull())
|
||||
item_.isExpired = itemNode["IsExpired"].asString() == "true";
|
||||
if(!itemNode["QuotaStartTimestamp"].isNull())
|
||||
item_.quotaStartTimestamp = std::stol(itemNode["QuotaStartTimestamp"].asString());
|
||||
if(!itemNode["TotalFreeBytes"].isNull())
|
||||
item_.totalFreeBytes = std::stol(itemNode["TotalFreeBytes"].asString());
|
||||
if(!itemNode["PaiedBytes"].isNull())
|
||||
item_.paiedBytes = std::stol(itemNode["PaiedBytes"].asString());
|
||||
if(!itemNode["UsedFullBytes"].isNull())
|
||||
item_.usedFullBytes = std::stol(itemNode["UsedFullBytes"].asString());
|
||||
if(!itemNode["UsedIncrementBytes"].isNull())
|
||||
item_.usedIncrementBytes = std::stol(itemNode["UsedIncrementBytes"].asString());
|
||||
if(!itemNode["QuotaStartTimestamp"].isNull())
|
||||
item_.quotaStartTimestamp = std::stol(itemNode["QuotaStartTimestamp"].asString());
|
||||
if(!itemNode["QuotaEndTimestamp"].isNull())
|
||||
item_.quotaEndTimestamp = std::stol(itemNode["QuotaEndTimestamp"].asString());
|
||||
if(!itemNode["BuyCreateTimestamp"].isNull())
|
||||
item_.buyCreateTimestamp = std::stol(itemNode["BuyCreateTimestamp"].asString());
|
||||
if(!itemNode["FullStorageSize"].isNull())
|
||||
item_.fullStorageSize = std::stol(itemNode["FullStorageSize"].asString());
|
||||
if(!itemNode["ContStorageSize"].isNull())
|
||||
item_.contStorageSize = std::stol(itemNode["ContStorageSize"].asString());
|
||||
if(!itemNode["IsExpired"].isNull())
|
||||
item_.isExpired = itemNode["IsExpired"].asString() == "true";
|
||||
if(!itemNode["IsFreeBytesUnlimited"].isNull())
|
||||
item_.isFreeBytesUnlimited = itemNode["IsFreeBytesUnlimited"].asString() == "true";
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!itemNode["ContStorageSize"].isNull())
|
||||
item_.contStorageSize = std::stol(itemNode["ContStorageSize"].asString());
|
||||
if(!itemNode["BuyChargeType"].isNull())
|
||||
item_.buyChargeType = itemNode["BuyChargeType"].asString();
|
||||
if(!itemNode["UsedIncrementBytes"].isNull())
|
||||
item_.usedIncrementBytes = std::stol(itemNode["UsedIncrementBytes"].asString());
|
||||
if(!itemNode["ResourceGroupId"].isNull())
|
||||
item_.resourceGroupId = itemNode["ResourceGroupId"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeBackupPlanListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeBackupPlanListRequest;
|
||||
|
||||
DescribeBackupPlanListRequest::DescribeBackupPlanListRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeBackupPlanList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBackupPlanListRequest::~DescribeBackupPlanListRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeBackupPlanListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeBackupPlanListRequest;
|
||||
|
||||
DescribeBackupPlanListRequest::DescribeBackupPlanListRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "DescribeBackupPlanList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
DescribeBackupPlanListRequest::~DescribeBackupPlanListRequest() {}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
void DescribeBackupPlanListRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
std::string DescribeBackupPlanListRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
int DescribeBackupPlanListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
void DescribeBackupPlanListRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
int DescribeBackupPlanListRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeBackupPlanListRequest::setPageNum(int pageNum) {
|
||||
pageNum_ = pageNum;
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DescribeBackupPlanListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getBackupPlanStatus()const
|
||||
{
|
||||
return backupPlanStatus_;
|
||||
void DescribeBackupPlanListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setBackupPlanStatus(const std::string& backupPlanStatus)
|
||||
{
|
||||
backupPlanStatus_ = backupPlanStatus;
|
||||
setParameter("BackupPlanStatus", backupPlanStatus);
|
||||
std::string DescribeBackupPlanListRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getBackupPlanName()const
|
||||
{
|
||||
return backupPlanName_;
|
||||
void DescribeBackupPlanListRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setBackupPlanName(const std::string& backupPlanName)
|
||||
{
|
||||
backupPlanName_ = backupPlanName;
|
||||
setParameter("BackupPlanName", backupPlanName);
|
||||
std::string DescribeBackupPlanListRequest::getBackupPlanStatus() const {
|
||||
return backupPlanStatus_;
|
||||
}
|
||||
|
||||
int DescribeBackupPlanListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeBackupPlanListRequest::setBackupPlanStatus(const std::string &backupPlanStatus) {
|
||||
backupPlanStatus_ = backupPlanStatus;
|
||||
setParameter(std::string("BackupPlanStatus"), backupPlanStatus);
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
std::string DescribeBackupPlanListRequest::getBackupPlanName() const {
|
||||
return backupPlanName_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
void DescribeBackupPlanListRequest::setBackupPlanName(const std::string &backupPlanName) {
|
||||
backupPlanName_ = backupPlanName;
|
||||
setParameter(std::string("BackupPlanName"), backupPlanName);
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
int DescribeBackupPlanListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeBackupPlanListRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
void DescribeBackupPlanListRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,107 +43,109 @@ void DescribeBackupPlanListResult::parse(const std::string &payload)
|
||||
for (auto valueItemsBackupPlanDetail : allItemsNode)
|
||||
{
|
||||
BackupPlanDetail itemsObject;
|
||||
if(!valueItemsBackupPlanDetail["BackupPlanId"].isNull())
|
||||
itemsObject.backupPlanId = valueItemsBackupPlanDetail["BackupPlanId"].asString();
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointInstanceType"].isNull())
|
||||
itemsObject.sourceEndpointInstanceType = valueItemsBackupPlanDetail["SourceEndpointInstanceType"].asString();
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointRegion"].isNull())
|
||||
itemsObject.sourceEndpointRegion = valueItemsBackupPlanDetail["SourceEndpointRegion"].asString();
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointInstanceID"].isNull())
|
||||
itemsObject.sourceEndpointInstanceID = valueItemsBackupPlanDetail["SourceEndpointInstanceID"].asString();
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointIpPort"].isNull())
|
||||
itemsObject.sourceEndpointIpPort = valueItemsBackupPlanDetail["SourceEndpointIpPort"].asString();
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointDatabaseName"].isNull())
|
||||
itemsObject.sourceEndpointDatabaseName = valueItemsBackupPlanDetail["SourceEndpointDatabaseName"].asString();
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointUserName"].isNull())
|
||||
itemsObject.sourceEndpointUserName = valueItemsBackupPlanDetail["SourceEndpointUserName"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupObjects"].isNull())
|
||||
itemsObject.backupObjects = valueItemsBackupPlanDetail["BackupObjects"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupGatewayId"].isNull())
|
||||
itemsObject.backupGatewayId = std::stol(valueItemsBackupPlanDetail["BackupGatewayId"].asString());
|
||||
if(!valueItemsBackupPlanDetail["OSSBucketRegion"].isNull())
|
||||
itemsObject.oSSBucketRegion = valueItemsBackupPlanDetail["OSSBucketRegion"].asString();
|
||||
if(!valueItemsBackupPlanDetail["OSSBucketName"].isNull())
|
||||
itemsObject.oSSBucketName = valueItemsBackupPlanDetail["OSSBucketName"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupPeriod"].isNull())
|
||||
itemsObject.backupPeriod = valueItemsBackupPlanDetail["BackupPeriod"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupStartTime"].isNull())
|
||||
itemsObject.backupStartTime = valueItemsBackupPlanDetail["BackupStartTime"].asString();
|
||||
if(!valueItemsBackupPlanDetail["EnableBackupLog"].isNull())
|
||||
itemsObject.enableBackupLog = valueItemsBackupPlanDetail["EnableBackupLog"].asString() == "true";
|
||||
if(!valueItemsBackupPlanDetail["BackupRetentionPeriod"].isNull())
|
||||
itemsObject.backupRetentionPeriod = std::stoi(valueItemsBackupPlanDetail["BackupRetentionPeriod"].asString());
|
||||
if(!valueItemsBackupPlanDetail["DuplicationInfrequentAccessPeriod"].isNull())
|
||||
itemsObject.duplicationInfrequentAccessPeriod = std::stoi(valueItemsBackupPlanDetail["DuplicationInfrequentAccessPeriod"].asString());
|
||||
if(!valueItemsBackupPlanDetail["DuplicationArchivePeriod"].isNull())
|
||||
itemsObject.duplicationArchivePeriod = std::stoi(valueItemsBackupPlanDetail["DuplicationArchivePeriod"].asString());
|
||||
if(!valueItemsBackupPlanDetail["BackupPlanName"].isNull())
|
||||
itemsObject.backupPlanName = valueItemsBackupPlanDetail["BackupPlanName"].asString();
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointOracleSID"].isNull())
|
||||
itemsObject.sourceEndpointOracleSID = valueItemsBackupPlanDetail["SourceEndpointOracleSID"].asString();
|
||||
if(!valueItemsBackupPlanDetail["InstanceClass"].isNull())
|
||||
itemsObject.instanceClass = valueItemsBackupPlanDetail["InstanceClass"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupMethod"].isNull())
|
||||
itemsObject.backupMethod = valueItemsBackupPlanDetail["BackupMethod"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupPlanCreateTime"].isNull())
|
||||
itemsObject.backupPlanCreateTime = std::stol(valueItemsBackupPlanDetail["BackupPlanCreateTime"].asString());
|
||||
if(!valueItemsBackupPlanDetail["BackupPlanStatus"].isNull())
|
||||
itemsObject.backupPlanStatus = valueItemsBackupPlanDetail["BackupPlanStatus"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BeginTimestampForRestore"].isNull())
|
||||
itemsObject.beginTimestampForRestore = std::stol(valueItemsBackupPlanDetail["BeginTimestampForRestore"].asString());
|
||||
if(!valueItemsBackupPlanDetail["EndTimestampForRestore"].isNull())
|
||||
itemsObject.endTimestampForRestore = std::stol(valueItemsBackupPlanDetail["EndTimestampForRestore"].asString());
|
||||
if(!valueItemsBackupPlanDetail["OpenBackupSetAutoDownload"].isNull())
|
||||
itemsObject.openBackupSetAutoDownload = valueItemsBackupPlanDetail["OpenBackupSetAutoDownload"].asString() == "true";
|
||||
if(!valueItemsBackupPlanDetail["BackupSetDownloadTargetType"].isNull())
|
||||
itemsObject.backupSetDownloadTargetType = valueItemsBackupPlanDetail["BackupSetDownloadTargetType"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupSetDownloadDir"].isNull())
|
||||
itemsObject.backupSetDownloadDir = valueItemsBackupPlanDetail["BackupSetDownloadDir"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupSetDownloadGatewayId"].isNull())
|
||||
itemsObject.backupSetDownloadGatewayId = std::stol(valueItemsBackupPlanDetail["BackupSetDownloadGatewayId"].asString());
|
||||
if(!valueItemsBackupPlanDetail["BackupSetDownloadFullDataFormat"].isNull())
|
||||
itemsObject.backupSetDownloadFullDataFormat = valueItemsBackupPlanDetail["BackupSetDownloadFullDataFormat"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupSetDownloadIncrementDataFormat"].isNull())
|
||||
itemsObject.backupSetDownloadIncrementDataFormat = valueItemsBackupPlanDetail["BackupSetDownloadIncrementDataFormat"].asString();
|
||||
if(!valueItemsBackupPlanDetail["CrossAliyunId"].isNull())
|
||||
itemsObject.crossAliyunId = valueItemsBackupPlanDetail["CrossAliyunId"].asString();
|
||||
if(!valueItemsBackupPlanDetail["CrossRoleName"].isNull())
|
||||
itemsObject.crossRoleName = valueItemsBackupPlanDetail["CrossRoleName"].asString();
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointInstanceType"].isNull())
|
||||
itemsObject.sourceEndpointInstanceType = valueItemsBackupPlanDetail["SourceEndpointInstanceType"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupSetDownloadDir"].isNull())
|
||||
itemsObject.backupSetDownloadDir = valueItemsBackupPlanDetail["BackupSetDownloadDir"].asString();
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointIpPort"].isNull())
|
||||
itemsObject.sourceEndpointIpPort = valueItemsBackupPlanDetail["SourceEndpointIpPort"].asString();
|
||||
if(!valueItemsBackupPlanDetail["CrossAliyunId"].isNull())
|
||||
itemsObject.crossAliyunId = valueItemsBackupPlanDetail["CrossAliyunId"].asString();
|
||||
if(!valueItemsBackupPlanDetail["DuplicationArchivePeriod"].isNull())
|
||||
itemsObject.duplicationArchivePeriod = std::stoi(valueItemsBackupPlanDetail["DuplicationArchivePeriod"].asString());
|
||||
if(!valueItemsBackupPlanDetail["BackupPlanId"].isNull())
|
||||
itemsObject.backupPlanId = valueItemsBackupPlanDetail["BackupPlanId"].asString();
|
||||
if(!valueItemsBackupPlanDetail["EndTimestampForRestore"].isNull())
|
||||
itemsObject.endTimestampForRestore = std::stol(valueItemsBackupPlanDetail["EndTimestampForRestore"].asString());
|
||||
if(!valueItemsBackupPlanDetail["BackupPlanStatus"].isNull())
|
||||
itemsObject.backupPlanStatus = valueItemsBackupPlanDetail["BackupPlanStatus"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupSetDownloadFullDataFormat"].isNull())
|
||||
itemsObject.backupSetDownloadFullDataFormat = valueItemsBackupPlanDetail["BackupSetDownloadFullDataFormat"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupRetentionPeriod"].isNull())
|
||||
itemsObject.backupRetentionPeriod = std::stoi(valueItemsBackupPlanDetail["BackupRetentionPeriod"].asString());
|
||||
if(!valueItemsBackupPlanDetail["OSSBucketRegion"].isNull())
|
||||
itemsObject.oSSBucketRegion = valueItemsBackupPlanDetail["OSSBucketRegion"].asString();
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointOracleSID"].isNull())
|
||||
itemsObject.sourceEndpointOracleSID = valueItemsBackupPlanDetail["SourceEndpointOracleSID"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupStorageType"].isNull())
|
||||
itemsObject.backupStorageType = valueItemsBackupPlanDetail["BackupStorageType"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupMethod"].isNull())
|
||||
itemsObject.backupMethod = valueItemsBackupPlanDetail["BackupMethod"].asString();
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointRegion"].isNull())
|
||||
itemsObject.sourceEndpointRegion = valueItemsBackupPlanDetail["SourceEndpointRegion"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupPeriod"].isNull())
|
||||
itemsObject.backupPeriod = valueItemsBackupPlanDetail["BackupPeriod"].asString();
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointDatabaseName"].isNull())
|
||||
itemsObject.sourceEndpointDatabaseName = valueItemsBackupPlanDetail["SourceEndpointDatabaseName"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupSetDownloadGatewayId"].isNull())
|
||||
itemsObject.backupSetDownloadGatewayId = std::stol(valueItemsBackupPlanDetail["BackupSetDownloadGatewayId"].asString());
|
||||
if(!valueItemsBackupPlanDetail["BackupPlanCreateTime"].isNull())
|
||||
itemsObject.backupPlanCreateTime = std::stol(valueItemsBackupPlanDetail["BackupPlanCreateTime"].asString());
|
||||
if(!valueItemsBackupPlanDetail["InstanceClass"].isNull())
|
||||
itemsObject.instanceClass = valueItemsBackupPlanDetail["InstanceClass"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupSetDownloadTargetType"].isNull())
|
||||
itemsObject.backupSetDownloadTargetType = valueItemsBackupPlanDetail["BackupSetDownloadTargetType"].asString();
|
||||
if(!valueItemsBackupPlanDetail["DuplicationInfrequentAccessPeriod"].isNull())
|
||||
itemsObject.duplicationInfrequentAccessPeriod = std::stoi(valueItemsBackupPlanDetail["DuplicationInfrequentAccessPeriod"].asString());
|
||||
if(!valueItemsBackupPlanDetail["BackupStartTime"].isNull())
|
||||
itemsObject.backupStartTime = valueItemsBackupPlanDetail["BackupStartTime"].asString();
|
||||
if(!valueItemsBackupPlanDetail["ErrMessage"].isNull())
|
||||
itemsObject.errMessage = valueItemsBackupPlanDetail["ErrMessage"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupObjects"].isNull())
|
||||
itemsObject.backupObjects = valueItemsBackupPlanDetail["BackupObjects"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BeginTimestampForRestore"].isNull())
|
||||
itemsObject.beginTimestampForRestore = std::stol(valueItemsBackupPlanDetail["BeginTimestampForRestore"].asString());
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointInstanceID"].isNull())
|
||||
itemsObject.sourceEndpointInstanceID = valueItemsBackupPlanDetail["SourceEndpointInstanceID"].asString();
|
||||
if(!valueItemsBackupPlanDetail["OpenBackupSetAutoDownload"].isNull())
|
||||
itemsObject.openBackupSetAutoDownload = valueItemsBackupPlanDetail["OpenBackupSetAutoDownload"].asString() == "true";
|
||||
if(!valueItemsBackupPlanDetail["BackupPlanName"].isNull())
|
||||
itemsObject.backupPlanName = valueItemsBackupPlanDetail["BackupPlanName"].asString();
|
||||
if(!valueItemsBackupPlanDetail["OSSBucketName"].isNull())
|
||||
itemsObject.oSSBucketName = valueItemsBackupPlanDetail["OSSBucketName"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupGatewayId"].isNull())
|
||||
itemsObject.backupGatewayId = std::stol(valueItemsBackupPlanDetail["BackupGatewayId"].asString());
|
||||
if(!valueItemsBackupPlanDetail["SourceEndpointUserName"].isNull())
|
||||
itemsObject.sourceEndpointUserName = valueItemsBackupPlanDetail["SourceEndpointUserName"].asString();
|
||||
if(!valueItemsBackupPlanDetail["BackupSetDownloadIncrementDataFormat"].isNull())
|
||||
itemsObject.backupSetDownloadIncrementDataFormat = valueItemsBackupPlanDetail["BackupSetDownloadIncrementDataFormat"].asString();
|
||||
if(!valueItemsBackupPlanDetail["EnableBackupLog"].isNull())
|
||||
itemsObject.enableBackupLog = valueItemsBackupPlanDetail["EnableBackupLog"].asString() == "true";
|
||||
if(!valueItemsBackupPlanDetail["ResourceGroupId"].isNull())
|
||||
itemsObject.resourceGroupId = valueItemsBackupPlanDetail["ResourceGroupId"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNum"].isNull())
|
||||
pageNum_ = std::stoi(value["PageNum"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["TotalElements"].isNull())
|
||||
totalElements_ = std::stoi(value["TotalElements"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeBackupPlanListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeBackupPlanListResult::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
int DescribeBackupPlanListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeBackupPlanListResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeBackupSetDownloadTaskListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeBackupSetDownloadTaskListRequest;
|
||||
|
||||
DescribeBackupSetDownloadTaskListRequest::DescribeBackupSetDownloadTaskListRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeBackupSetDownloadTaskList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBackupSetDownloadTaskListRequest::~DescribeBackupSetDownloadTaskListRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeBackupSetDownloadTaskListRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeBackupSetDownloadTaskListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeBackupSetDownloadTaskListRequest;
|
||||
|
||||
DescribeBackupSetDownloadTaskListRequest::DescribeBackupSetDownloadTaskListRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "DescribeBackupSetDownloadTaskList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeBackupSetDownloadTaskListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
DescribeBackupSetDownloadTaskListRequest::~DescribeBackupSetDownloadTaskListRequest() {}
|
||||
|
||||
std::string DescribeBackupSetDownloadTaskListRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupSetDownloadTaskListRequest::getBackupSetDownloadTaskId()const
|
||||
{
|
||||
return backupSetDownloadTaskId_;
|
||||
void DescribeBackupSetDownloadTaskListRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribeBackupSetDownloadTaskListRequest::setBackupSetDownloadTaskId(const std::string& backupSetDownloadTaskId)
|
||||
{
|
||||
backupSetDownloadTaskId_ = backupSetDownloadTaskId;
|
||||
setParameter("BackupSetDownloadTaskId", backupSetDownloadTaskId);
|
||||
std::string DescribeBackupSetDownloadTaskListRequest::getBackupSetDownloadTaskId() const {
|
||||
return backupSetDownloadTaskId_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupSetDownloadTaskListRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
void DescribeBackupSetDownloadTaskListRequest::setBackupSetDownloadTaskId(const std::string &backupSetDownloadTaskId) {
|
||||
backupSetDownloadTaskId_ = backupSetDownloadTaskId;
|
||||
setParameter(std::string("BackupSetDownloadTaskId"), backupSetDownloadTaskId);
|
||||
}
|
||||
|
||||
void DescribeBackupSetDownloadTaskListRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
std::string DescribeBackupSetDownloadTaskListRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
int DescribeBackupSetDownloadTaskListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
void DescribeBackupSetDownloadTaskListRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
void DescribeBackupSetDownloadTaskListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
int DescribeBackupSetDownloadTaskListRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupSetDownloadTaskListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeBackupSetDownloadTaskListRequest::setPageNum(int pageNum) {
|
||||
pageNum_ = pageNum;
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
void DescribeBackupSetDownloadTaskListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DescribeBackupSetDownloadTaskListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
int DescribeBackupSetDownloadTaskListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeBackupSetDownloadTaskListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void DescribeBackupSetDownloadTaskListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeBackupSetDownloadTaskListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeBackupSetDownloadTaskListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,75 +43,75 @@ void DescribeBackupSetDownloadTaskListResult::parse(const std::string &payload)
|
||||
for (auto valueItemsBackupSetDownloadTaskDetail : allItemsNode)
|
||||
{
|
||||
BackupSetDownloadTaskDetail itemsObject;
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadStatus"].isNull())
|
||||
itemsObject.backupSetDownloadStatus = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadStatus"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDataSize"].isNull())
|
||||
itemsObject.backupSetDataSize = std::stol(valueItemsBackupSetDownloadTaskDetail["BackupSetDataSize"].asString());
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadTargetType"].isNull())
|
||||
itemsObject.backupSetDownloadTargetType = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadTargetType"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadDir"].isNull())
|
||||
itemsObject.backupSetDownloadDir = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadDir"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["ErrMessage"].isNull())
|
||||
itemsObject.errMessage = valueItemsBackupSetDownloadTaskDetail["ErrMessage"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadCreateTime"].isNull())
|
||||
itemsObject.backupSetDownloadCreateTime = std::stol(valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadCreateTime"].asString());
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupPlanId"].isNull())
|
||||
itemsObject.backupPlanId = valueItemsBackupSetDownloadTaskDetail["BackupPlanId"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDbType"].isNull())
|
||||
itemsObject.backupSetDbType = valueItemsBackupSetDownloadTaskDetail["BackupSetDbType"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadInternetUrl"].isNull())
|
||||
itemsObject.backupSetDownloadInternetUrl = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadInternetUrl"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetId"].isNull())
|
||||
itemsObject.backupSetId = valueItemsBackupSetDownloadTaskDetail["BackupSetId"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadIntranetUrl"].isNull())
|
||||
itemsObject.backupSetDownloadIntranetUrl = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadIntranetUrl"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupGatewayId"].isNull())
|
||||
itemsObject.backupGatewayId = std::stol(valueItemsBackupSetDownloadTaskDetail["BackupGatewayId"].asString());
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadWay"].isNull())
|
||||
itemsObject.backupSetDownloadWay = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadWay"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadFinishTime"].isNull())
|
||||
itemsObject.backupSetDownloadFinishTime = std::stol(valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadFinishTime"].asString());
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetJobType"].isNull())
|
||||
itemsObject.backupSetJobType = valueItemsBackupSetDownloadTaskDetail["BackupSetJobType"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadTaskId"].isNull())
|
||||
itemsObject.backupSetDownloadTaskId = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadTaskId"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadTaskName"].isNull())
|
||||
itemsObject.backupSetDownloadTaskName = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadTaskName"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadStatus"].isNull())
|
||||
itemsObject.backupSetDownloadStatus = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadStatus"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadCreateTime"].isNull())
|
||||
itemsObject.backupSetDownloadCreateTime = std::stol(valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadCreateTime"].asString());
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadFinishTime"].isNull())
|
||||
itemsObject.backupSetDownloadFinishTime = std::stol(valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadFinishTime"].asString());
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetId"].isNull())
|
||||
itemsObject.backupSetId = valueItemsBackupSetDownloadTaskDetail["BackupSetId"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetCode"].isNull())
|
||||
itemsObject.backupSetCode = valueItemsBackupSetDownloadTaskDetail["BackupSetCode"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetJobType"].isNull())
|
||||
itemsObject.backupSetJobType = valueItemsBackupSetDownloadTaskDetail["BackupSetJobType"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDataSize"].isNull())
|
||||
itemsObject.backupSetDataSize = std::stol(valueItemsBackupSetDownloadTaskDetail["BackupSetDataSize"].asString());
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDataFormat"].isNull())
|
||||
itemsObject.backupSetDataFormat = valueItemsBackupSetDownloadTaskDetail["BackupSetDataFormat"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDbType"].isNull())
|
||||
itemsObject.backupSetDbType = valueItemsBackupSetDownloadTaskDetail["BackupSetDbType"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadWay"].isNull())
|
||||
itemsObject.backupSetDownloadWay = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadWay"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadDir"].isNull())
|
||||
itemsObject.backupSetDownloadDir = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadDir"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadTargetType"].isNull())
|
||||
itemsObject.backupSetDownloadTargetType = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadTargetType"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupGatewayId"].isNull())
|
||||
itemsObject.backupGatewayId = std::stol(valueItemsBackupSetDownloadTaskDetail["BackupGatewayId"].asString());
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadIntranetUrl"].isNull())
|
||||
itemsObject.backupSetDownloadIntranetUrl = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadIntranetUrl"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadInternetUrl"].isNull())
|
||||
itemsObject.backupSetDownloadInternetUrl = valueItemsBackupSetDownloadTaskDetail["BackupSetDownloadInternetUrl"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["ErrMessage"].isNull())
|
||||
itemsObject.errMessage = valueItemsBackupSetDownloadTaskDetail["ErrMessage"].asString();
|
||||
if(!valueItemsBackupSetDownloadTaskDetail["BackupSetCode"].isNull())
|
||||
itemsObject.backupSetCode = valueItemsBackupSetDownloadTaskDetail["BackupSetCode"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNum"].isNull())
|
||||
pageNum_ = std::stoi(value["PageNum"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["TotalElements"].isNull())
|
||||
totalElements_ = std::stoi(value["TotalElements"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeBackupSetDownloadTaskListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeBackupSetDownloadTaskListResult::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
int DescribeBackupSetDownloadTaskListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeBackupSetDownloadTaskListResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeDLAServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeDLAServiceRequest;
|
||||
|
||||
DescribeDLAServiceRequest::DescribeDLAServiceRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeDLAService")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDLAServiceRequest::~DescribeDLAServiceRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDLAServiceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeDLAServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeDLAServiceRequest;
|
||||
|
||||
DescribeDLAServiceRequest::DescribeDLAServiceRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "DescribeDLAService") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeDLAServiceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
DescribeDLAServiceRequest::~DescribeDLAServiceRequest() {}
|
||||
|
||||
std::string DescribeDLAServiceRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DescribeDLAServiceRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
void DescribeDLAServiceRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribeDLAServiceRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
std::string DescribeDLAServiceRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
std::string DescribeDLAServiceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeDLAServiceRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
void DescribeDLAServiceRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DescribeDLAServiceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDLAServiceRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,16 +39,16 @@ void DescribeDLAServiceResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["State"].isNull())
|
||||
state_ = value["State"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["AutoAdd"].isNull())
|
||||
autoAdd_ = value["AutoAdd"].asString() == "true";
|
||||
if(!value["HaveJobFailed"].isNull())
|
||||
|
||||
@@ -1,128 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeFullBackupListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeFullBackupListRequest;
|
||||
|
||||
DescribeFullBackupListRequest::DescribeFullBackupListRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeFullBackupList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeFullBackupListRequest::~DescribeFullBackupListRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeFullBackupListRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeFullBackupListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeFullBackupListRequest;
|
||||
|
||||
DescribeFullBackupListRequest::DescribeFullBackupListRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "DescribeFullBackupList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
DescribeFullBackupListRequest::~DescribeFullBackupListRequest() {}
|
||||
|
||||
std::string DescribeFullBackupListRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupListRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
void DescribeFullBackupListRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
std::string DescribeFullBackupListRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupListRequest::getBackupSetId()const
|
||||
{
|
||||
return backupSetId_;
|
||||
void DescribeFullBackupListRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setBackupSetId(const std::string& backupSetId)
|
||||
{
|
||||
backupSetId_ = backupSetId;
|
||||
setParameter("BackupSetId", backupSetId);
|
||||
std::string DescribeFullBackupListRequest::getBackupSetId() const {
|
||||
return backupSetId_;
|
||||
}
|
||||
|
||||
int DescribeFullBackupListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
void DescribeFullBackupListRequest::setBackupSetId(const std::string &backupSetId) {
|
||||
backupSetId_ = backupSetId;
|
||||
setParameter(std::string("BackupSetId"), backupSetId);
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
int DescribeFullBackupListRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeFullBackupListRequest::setPageNum(int pageNum) {
|
||||
pageNum_ = pageNum;
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DescribeFullBackupListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupListRequest::getStartTimestamp()const
|
||||
{
|
||||
return startTimestamp_;
|
||||
void DescribeFullBackupListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setStartTimestamp(long startTimestamp)
|
||||
{
|
||||
startTimestamp_ = startTimestamp;
|
||||
setParameter("StartTimestamp", std::to_string(startTimestamp));
|
||||
long DescribeFullBackupListRequest::getStartTimestamp() const {
|
||||
return startTimestamp_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupListRequest::getEndTimestamp()const
|
||||
{
|
||||
return endTimestamp_;
|
||||
void DescribeFullBackupListRequest::setStartTimestamp(long startTimestamp) {
|
||||
startTimestamp_ = startTimestamp;
|
||||
setParameter(std::string("StartTimestamp"), std::to_string(startTimestamp));
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setEndTimestamp(long endTimestamp)
|
||||
{
|
||||
endTimestamp_ = endTimestamp;
|
||||
setParameter("EndTimestamp", std::to_string(endTimestamp));
|
||||
long DescribeFullBackupListRequest::getEndTimestamp() const {
|
||||
return endTimestamp_;
|
||||
}
|
||||
|
||||
bool DescribeFullBackupListRequest::getShowStorageType()const
|
||||
{
|
||||
return showStorageType_;
|
||||
void DescribeFullBackupListRequest::setEndTimestamp(long endTimestamp) {
|
||||
endTimestamp_ = endTimestamp;
|
||||
setParameter(std::string("EndTimestamp"), std::to_string(endTimestamp));
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setShowStorageType(bool showStorageType)
|
||||
{
|
||||
showStorageType_ = showStorageType;
|
||||
setParameter("ShowStorageType", showStorageType ? "true" : "false");
|
||||
bool DescribeFullBackupListRequest::getShowStorageType() const {
|
||||
return showStorageType_;
|
||||
}
|
||||
|
||||
int DescribeFullBackupListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeFullBackupListRequest::setShowStorageType(bool showStorageType) {
|
||||
showStorageType_ = showStorageType;
|
||||
setParameter(std::string("ShowStorageType"), showStorageType ? "true" : "false");
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeFullBackupListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,61 +43,61 @@ void DescribeFullBackupListResult::parse(const std::string &payload)
|
||||
for (auto valueItemsFullBackupFile : allItemsNode)
|
||||
{
|
||||
FullBackupFile itemsObject;
|
||||
if(!valueItemsFullBackupFile["BackupSetId"].isNull())
|
||||
itemsObject.backupSetId = valueItemsFullBackupFile["BackupSetId"].asString();
|
||||
if(!valueItemsFullBackupFile["SourceEndpointIpPort"].isNull())
|
||||
itemsObject.sourceEndpointIpPort = valueItemsFullBackupFile["SourceEndpointIpPort"].asString();
|
||||
if(!valueItemsFullBackupFile["StartTime"].isNull())
|
||||
itemsObject.startTime = std::stol(valueItemsFullBackupFile["StartTime"].asString());
|
||||
if(!valueItemsFullBackupFile["EndTime"].isNull())
|
||||
itemsObject.endTime = std::stol(valueItemsFullBackupFile["EndTime"].asString());
|
||||
if(!valueItemsFullBackupFile["FinishTime"].isNull())
|
||||
itemsObject.finishTime = std::stol(valueItemsFullBackupFile["FinishTime"].asString());
|
||||
if(!valueItemsFullBackupFile["BackupStatus"].isNull())
|
||||
itemsObject.backupStatus = valueItemsFullBackupFile["BackupStatus"].asString();
|
||||
if(!valueItemsFullBackupFile["BackupSetExpiredTime"].isNull())
|
||||
itemsObject.backupSetExpiredTime = std::stol(valueItemsFullBackupFile["BackupSetExpiredTime"].asString());
|
||||
if(!valueItemsFullBackupFile["BackupSize"].isNull())
|
||||
itemsObject.backupSize = std::stol(valueItemsFullBackupFile["BackupSize"].asString());
|
||||
if(!valueItemsFullBackupFile["StorageMethod"].isNull())
|
||||
itemsObject.storageMethod = valueItemsFullBackupFile["StorageMethod"].asString();
|
||||
if(!valueItemsFullBackupFile["SourceEndpointIpPort"].isNull())
|
||||
itemsObject.sourceEndpointIpPort = valueItemsFullBackupFile["SourceEndpointIpPort"].asString();
|
||||
if(!valueItemsFullBackupFile["CreateTime"].isNull())
|
||||
itemsObject.createTime = std::stol(valueItemsFullBackupFile["CreateTime"].asString());
|
||||
if(!valueItemsFullBackupFile["ErrMessage"].isNull())
|
||||
itemsObject.errMessage = valueItemsFullBackupFile["ErrMessage"].asString();
|
||||
if(!valueItemsFullBackupFile["BackupObjects"].isNull())
|
||||
itemsObject.backupObjects = valueItemsFullBackupFile["BackupObjects"].asString();
|
||||
if(!valueItemsFullBackupFile["CreateTime"].isNull())
|
||||
itemsObject.createTime = std::stol(valueItemsFullBackupFile["CreateTime"].asString());
|
||||
if(!valueItemsFullBackupFile["FinishTime"].isNull())
|
||||
itemsObject.finishTime = std::stol(valueItemsFullBackupFile["FinishTime"].asString());
|
||||
if(!valueItemsFullBackupFile["EndTime"].isNull())
|
||||
itemsObject.endTime = std::stol(valueItemsFullBackupFile["EndTime"].asString());
|
||||
if(!valueItemsFullBackupFile["StartTime"].isNull())
|
||||
itemsObject.startTime = std::stol(valueItemsFullBackupFile["StartTime"].asString());
|
||||
if(!valueItemsFullBackupFile["BackupSetExpiredTime"].isNull())
|
||||
itemsObject.backupSetExpiredTime = std::stol(valueItemsFullBackupFile["BackupSetExpiredTime"].asString());
|
||||
if(!valueItemsFullBackupFile["StorageMethod"].isNull())
|
||||
itemsObject.storageMethod = valueItemsFullBackupFile["StorageMethod"].asString();
|
||||
if(!valueItemsFullBackupFile["BackupSetId"].isNull())
|
||||
itemsObject.backupSetId = valueItemsFullBackupFile["BackupSetId"].asString();
|
||||
if(!valueItemsFullBackupFile["BackupSize"].isNull())
|
||||
itemsObject.backupSize = std::stol(valueItemsFullBackupFile["BackupSize"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNum"].isNull())
|
||||
pageNum_ = std::stoi(value["PageNum"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["TotalElements"].isNull())
|
||||
totalElements_ = std::stoi(value["TotalElements"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeFullBackupListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeFullBackupListResult::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
int DescribeFullBackupListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeFullBackupListResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeFullBackupSetRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeFullBackupSetRequest;
|
||||
|
||||
DescribeFullBackupSetRequest::DescribeFullBackupSetRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeFullBackupSet")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeFullBackupSetRequest::~DescribeFullBackupSetRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeFullBackupSetRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupSetRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupSetRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetRequest::getBackupsetId()const
|
||||
{
|
||||
return backupsetId_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupSetRequest::setBackupsetId(const std::string& backupsetId)
|
||||
{
|
||||
backupsetId_ = backupsetId;
|
||||
setParameter("BackupsetId", backupsetId);
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeFullBackupSetRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
@@ -1,156 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeFullBackupSetResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dbs;
|
||||
using namespace AlibabaCloud::Dbs::Model;
|
||||
|
||||
DescribeFullBackupSetResult::DescribeFullBackupSetResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeFullBackupSetResult::DescribeFullBackupSetResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeFullBackupSetResult::~DescribeFullBackupSetResult()
|
||||
{}
|
||||
|
||||
void DescribeFullBackupSetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["BackupSetId"].isNull())
|
||||
backupSetId_ = value["BackupSetId"].asString();
|
||||
if(!value["SourceEndpointIpPort"].isNull())
|
||||
sourceEndpointIpPort_ = value["SourceEndpointIpPort"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = std::stol(value["StartTime"].asString());
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = std::stol(value["EndTime"].asString());
|
||||
if(!value["BackupStatus"].isNull())
|
||||
backupStatus_ = value["BackupStatus"].asString();
|
||||
if(!value["BackupSetExpiredTime"].isNull())
|
||||
backupSetExpiredTime_ = std::stol(value["BackupSetExpiredTime"].asString());
|
||||
if(!value["BackupSize"].isNull())
|
||||
backupSize_ = std::stol(value["BackupSize"].asString());
|
||||
if(!value["StorageMethod"].isNull())
|
||||
storageMethod_ = value["StorageMethod"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage1_ = value["ErrMessage"].asString();
|
||||
if(!value["BackupObjects"].isNull())
|
||||
backupObjects_ = value["BackupObjects"].asString();
|
||||
if(!value["CreateTime"].isNull())
|
||||
createTime_ = std::stol(value["CreateTime"].asString());
|
||||
if(!value["FinishTime"].isNull())
|
||||
finishTime_ = std::stol(value["FinishTime"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getStorageMethod()const
|
||||
{
|
||||
return storageMethod_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getBackupObjects()const
|
||||
{
|
||||
return backupObjects_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupSetResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupSetResult::getBackupSize()const
|
||||
{
|
||||
return backupSize_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupSetResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupSetResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupSetResult::getBackupSetExpiredTime()const
|
||||
{
|
||||
return backupSetExpiredTime_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getBackupSetId()const
|
||||
{
|
||||
return backupSetId_;
|
||||
}
|
||||
|
||||
bool DescribeFullBackupSetResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getErrMessage1()const
|
||||
{
|
||||
return errMessage1_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getSourceEndpointIpPort()const
|
||||
{
|
||||
return sourceEndpointIpPort_;
|
||||
}
|
||||
|
||||
long DescribeFullBackupSetResult::getFinishTime()const
|
||||
{
|
||||
return finishTime_;
|
||||
}
|
||||
|
||||
int DescribeFullBackupSetResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string DescribeFullBackupSetResult::getBackupStatus()const
|
||||
{
|
||||
return backupStatus_;
|
||||
}
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeIncrementBackupListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeIncrementBackupListRequest;
|
||||
|
||||
DescribeIncrementBackupListRequest::DescribeIncrementBackupListRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeIncrementBackupList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeIncrementBackupListRequest::~DescribeIncrementBackupListRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeIncrementBackupListRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeIncrementBackupListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeIncrementBackupListRequest;
|
||||
|
||||
DescribeIncrementBackupListRequest::DescribeIncrementBackupListRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "DescribeIncrementBackupList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeIncrementBackupListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
DescribeIncrementBackupListRequest::~DescribeIncrementBackupListRequest() {}
|
||||
|
||||
std::string DescribeIncrementBackupListRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DescribeIncrementBackupListRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
void DescribeIncrementBackupListRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribeIncrementBackupListRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
std::string DescribeIncrementBackupListRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
int DescribeIncrementBackupListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
void DescribeIncrementBackupListRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
void DescribeIncrementBackupListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
int DescribeIncrementBackupListRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
std::string DescribeIncrementBackupListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeIncrementBackupListRequest::setPageNum(int pageNum) {
|
||||
pageNum_ = pageNum;
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
void DescribeIncrementBackupListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DescribeIncrementBackupListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeIncrementBackupListRequest::getStartTimestamp()const
|
||||
{
|
||||
return startTimestamp_;
|
||||
void DescribeIncrementBackupListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void DescribeIncrementBackupListRequest::setStartTimestamp(long startTimestamp)
|
||||
{
|
||||
startTimestamp_ = startTimestamp;
|
||||
setParameter("StartTimestamp", std::to_string(startTimestamp));
|
||||
long DescribeIncrementBackupListRequest::getStartTimestamp() const {
|
||||
return startTimestamp_;
|
||||
}
|
||||
|
||||
long DescribeIncrementBackupListRequest::getEndTimestamp()const
|
||||
{
|
||||
return endTimestamp_;
|
||||
void DescribeIncrementBackupListRequest::setStartTimestamp(long startTimestamp) {
|
||||
startTimestamp_ = startTimestamp;
|
||||
setParameter(std::string("StartTimestamp"), std::to_string(startTimestamp));
|
||||
}
|
||||
|
||||
void DescribeIncrementBackupListRequest::setEndTimestamp(long endTimestamp)
|
||||
{
|
||||
endTimestamp_ = endTimestamp;
|
||||
setParameter("EndTimestamp", std::to_string(endTimestamp));
|
||||
long DescribeIncrementBackupListRequest::getEndTimestamp() const {
|
||||
return endTimestamp_;
|
||||
}
|
||||
|
||||
bool DescribeIncrementBackupListRequest::getShowStorageType()const
|
||||
{
|
||||
return showStorageType_;
|
||||
void DescribeIncrementBackupListRequest::setEndTimestamp(long endTimestamp) {
|
||||
endTimestamp_ = endTimestamp;
|
||||
setParameter(std::string("EndTimestamp"), std::to_string(endTimestamp));
|
||||
}
|
||||
|
||||
void DescribeIncrementBackupListRequest::setShowStorageType(bool showStorageType)
|
||||
{
|
||||
showStorageType_ = showStorageType;
|
||||
setParameter("ShowStorageType", showStorageType ? "true" : "false");
|
||||
bool DescribeIncrementBackupListRequest::getShowStorageType() const {
|
||||
return showStorageType_;
|
||||
}
|
||||
|
||||
int DescribeIncrementBackupListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeIncrementBackupListRequest::setShowStorageType(bool showStorageType) {
|
||||
showStorageType_ = showStorageType;
|
||||
setParameter(std::string("ShowStorageType"), showStorageType ? "true" : "false");
|
||||
}
|
||||
|
||||
void DescribeIncrementBackupListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeIncrementBackupListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeIncrementBackupListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,55 +43,55 @@ void DescribeIncrementBackupListResult::parse(const std::string &payload)
|
||||
for (auto valueItemsIncrementBackupFile : allItemsNode)
|
||||
{
|
||||
IncrementBackupFile itemsObject;
|
||||
if(!valueItemsIncrementBackupFile["BackupSetId"].isNull())
|
||||
itemsObject.backupSetId = valueItemsIncrementBackupFile["BackupSetId"].asString();
|
||||
if(!valueItemsIncrementBackupFile["BackupSetJobId"].isNull())
|
||||
itemsObject.backupSetJobId = valueItemsIncrementBackupFile["BackupSetJobId"].asString();
|
||||
if(!valueItemsIncrementBackupFile["SourceEndpointIpPort"].isNull())
|
||||
itemsObject.sourceEndpointIpPort = valueItemsIncrementBackupFile["SourceEndpointIpPort"].asString();
|
||||
if(!valueItemsIncrementBackupFile["StartTime"].isNull())
|
||||
itemsObject.startTime = std::stol(valueItemsIncrementBackupFile["StartTime"].asString());
|
||||
if(!valueItemsIncrementBackupFile["EndTime"].isNull())
|
||||
itemsObject.endTime = std::stol(valueItemsIncrementBackupFile["EndTime"].asString());
|
||||
if(!valueItemsIncrementBackupFile["BackupStatus"].isNull())
|
||||
itemsObject.backupStatus = valueItemsIncrementBackupFile["BackupStatus"].asString();
|
||||
if(!valueItemsIncrementBackupFile["BackupSetExpiredTime"].isNull())
|
||||
itemsObject.backupSetExpiredTime = std::stol(valueItemsIncrementBackupFile["BackupSetExpiredTime"].asString());
|
||||
if(!valueItemsIncrementBackupFile["BackupSize"].isNull())
|
||||
itemsObject.backupSize = std::stol(valueItemsIncrementBackupFile["BackupSize"].asString());
|
||||
if(!valueItemsIncrementBackupFile["StartTime"].isNull())
|
||||
itemsObject.startTime = std::stol(valueItemsIncrementBackupFile["StartTime"].asString());
|
||||
if(!valueItemsIncrementBackupFile["StorageMethod"].isNull())
|
||||
itemsObject.storageMethod = valueItemsIncrementBackupFile["StorageMethod"].asString();
|
||||
if(!valueItemsIncrementBackupFile["BackupSetJobId"].isNull())
|
||||
itemsObject.backupSetJobId = valueItemsIncrementBackupFile["BackupSetJobId"].asString();
|
||||
if(!valueItemsIncrementBackupFile["BackupSetId"].isNull())
|
||||
itemsObject.backupSetId = valueItemsIncrementBackupFile["BackupSetId"].asString();
|
||||
if(!valueItemsIncrementBackupFile["BackupStatus"].isNull())
|
||||
itemsObject.backupStatus = valueItemsIncrementBackupFile["BackupStatus"].asString();
|
||||
if(!valueItemsIncrementBackupFile["SourceEndpointIpPort"].isNull())
|
||||
itemsObject.sourceEndpointIpPort = valueItemsIncrementBackupFile["SourceEndpointIpPort"].asString();
|
||||
if(!valueItemsIncrementBackupFile["BackupSize"].isNull())
|
||||
itemsObject.backupSize = std::stol(valueItemsIncrementBackupFile["BackupSize"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNum"].isNull())
|
||||
pageNum_ = std::stoi(value["PageNum"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["TotalElements"].isNull())
|
||||
totalElements_ = std::stoi(value["TotalElements"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeIncrementBackupListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeIncrementBackupListResult::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
int DescribeIncrementBackupListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeIncrementBackupListResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeJobErrorCodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeJobErrorCodeRequest;
|
||||
|
||||
DescribeJobErrorCodeRequest::DescribeJobErrorCodeRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeJobErrorCode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeJobErrorCodeRequest::~DescribeJobErrorCodeRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeJobErrorCodeRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeJobErrorCodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeJobErrorCodeRequest;
|
||||
|
||||
DescribeJobErrorCodeRequest::DescribeJobErrorCodeRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "DescribeJobErrorCode") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeJobErrorCodeRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
DescribeJobErrorCodeRequest::~DescribeJobErrorCodeRequest() {}
|
||||
|
||||
std::string DescribeJobErrorCodeRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DescribeJobErrorCodeRequest::getLanguage()const
|
||||
{
|
||||
return language_;
|
||||
void DescribeJobErrorCodeRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribeJobErrorCodeRequest::setLanguage(const std::string& language)
|
||||
{
|
||||
language_ = language;
|
||||
setParameter("Language", language);
|
||||
std::string DescribeJobErrorCodeRequest::getLanguage() const {
|
||||
return language_;
|
||||
}
|
||||
|
||||
std::string DescribeJobErrorCodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeJobErrorCodeRequest::setLanguage(const std::string &language) {
|
||||
language_ = language;
|
||||
setParameter(std::string("Language"), language);
|
||||
}
|
||||
|
||||
void DescribeJobErrorCodeRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DescribeJobErrorCodeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeJobErrorCodeRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
void DescribeJobErrorCodeRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void DescribeJobErrorCodeRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", taskId);
|
||||
std::string DescribeJobErrorCodeRequest::getTaskId() const {
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void DescribeJobErrorCodeRequest::setTaskId(const std::string &taskId) {
|
||||
taskId_ = taskId;
|
||||
setParameter(std::string("TaskId"), taskId);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,26 +40,26 @@ void DescribeJobErrorCodeResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto itemNode = value["Item"];
|
||||
if(!itemNode["JobId"].isNull())
|
||||
item_.jobId = itemNode["JobId"].asString();
|
||||
if(!itemNode["Language"].isNull())
|
||||
item_.language = itemNode["Language"].asString();
|
||||
if(!itemNode["ErrorCode"].isNull())
|
||||
item_.errorCode = itemNode["ErrorCode"].asString();
|
||||
if(!itemNode["ErrorMessage"].isNull())
|
||||
item_.errorMessage = itemNode["ErrorMessage"].asString();
|
||||
if(!itemNode["JobType"].isNull())
|
||||
item_.jobType = itemNode["JobType"].asString();
|
||||
if(!itemNode["JobState"].isNull())
|
||||
item_.jobState = itemNode["JobState"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!itemNode["ErrorMessage"].isNull())
|
||||
item_.errorMessage = itemNode["ErrorMessage"].asString();
|
||||
if(!itemNode["ErrorCode"].isNull())
|
||||
item_.errorCode = itemNode["ErrorCode"].asString();
|
||||
if(!itemNode["JobId"].isNull())
|
||||
item_.jobId = itemNode["JobId"].asString();
|
||||
if(!itemNode["JobType"].isNull())
|
||||
item_.jobType = itemNode["JobType"].asString();
|
||||
if(!itemNode["Language"].isNull())
|
||||
item_.language = itemNode["Language"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeLogicalBackupSetRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeLogicalBackupSetRequest;
|
||||
|
||||
DescribeLogicalBackupSetRequest::DescribeLogicalBackupSetRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeLogicalBackupSet")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLogicalBackupSetRequest::~DescribeLogicalBackupSetRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeLogicalBackupSetRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void DescribeLogicalBackupSetRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DescribeLogicalBackupSetRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void DescribeLogicalBackupSetRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string DescribeLogicalBackupSetRequest::getBackupsetId()const
|
||||
{
|
||||
return backupsetId_;
|
||||
}
|
||||
|
||||
void DescribeLogicalBackupSetRequest::setBackupsetId(const std::string& backupsetId)
|
||||
{
|
||||
backupsetId_ = backupsetId;
|
||||
setParameter("BackupsetId", backupsetId);
|
||||
}
|
||||
|
||||
std::string DescribeLogicalBackupSetRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLogicalBackupSetRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
@@ -1,86 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeLogicalBackupSetResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dbs;
|
||||
using namespace AlibabaCloud::Dbs::Model;
|
||||
|
||||
DescribeLogicalBackupSetResult::DescribeLogicalBackupSetResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLogicalBackupSetResult::DescribeLogicalBackupSetResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLogicalBackupSetResult::~DescribeLogicalBackupSetResult()
|
||||
{}
|
||||
|
||||
void DescribeLogicalBackupSetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["RowNum"].isNull())
|
||||
rowNum_ = std::stol(value["RowNum"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeLogicalBackupSetResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
int DescribeLogicalBackupSetResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string DescribeLogicalBackupSetResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
long DescribeLogicalBackupSetResult::getRowNum()const
|
||||
{
|
||||
return rowNum_;
|
||||
}
|
||||
|
||||
bool DescribeLogicalBackupSetResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string DescribeLogicalBackupSetResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeNodeCidrListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeNodeCidrListRequest;
|
||||
|
||||
DescribeNodeCidrListRequest::DescribeNodeCidrListRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeNodeCidrList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeNodeCidrListRequest::~DescribeNodeCidrListRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeNodeCidrListRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeNodeCidrListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeNodeCidrListRequest;
|
||||
|
||||
DescribeNodeCidrListRequest::DescribeNodeCidrListRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "DescribeNodeCidrList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeNodeCidrListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
DescribeNodeCidrListRequest::~DescribeNodeCidrListRequest() {}
|
||||
|
||||
std::string DescribeNodeCidrListRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DescribeNodeCidrListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeNodeCidrListRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribeNodeCidrListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DescribeNodeCidrListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribeNodeCidrListRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
void DescribeNodeCidrListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void DescribeNodeCidrListRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
std::string DescribeNodeCidrListRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
void DescribeNodeCidrListRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,20 +39,20 @@ void DescribeNodeCidrListResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allInternetIPs = value["InternetIPs"]["InternetIP"];
|
||||
for (const auto &item : allInternetIPs)
|
||||
internetIPs_.push_back(item.asString());
|
||||
auto allIntranetIPs = value["IntranetIPs"]["IntranetIP"];
|
||||
for (const auto &item : allIntranetIPs)
|
||||
intranetIPs_.push_back(item.asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
auto allInternetIPs = value["InternetIPs"]["InternetIP"];
|
||||
for (const auto &item : allInternetIPs)
|
||||
internetIPs_.push_back(item.asString());
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribePreCheckProgressListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribePreCheckProgressListRequest;
|
||||
|
||||
DescribePreCheckProgressListRequest::DescribePreCheckProgressListRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribePreCheckProgressList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribePreCheckProgressListRequest::~DescribePreCheckProgressListRequest()
|
||||
{}
|
||||
|
||||
std::string DescribePreCheckProgressListRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribePreCheckProgressListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribePreCheckProgressListRequest;
|
||||
|
||||
DescribePreCheckProgressListRequest::DescribePreCheckProgressListRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "DescribePreCheckProgressList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribePreCheckProgressListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
DescribePreCheckProgressListRequest::~DescribePreCheckProgressListRequest() {}
|
||||
|
||||
std::string DescribePreCheckProgressListRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DescribePreCheckProgressListRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
void DescribePreCheckProgressListRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribePreCheckProgressListRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
std::string DescribePreCheckProgressListRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
std::string DescribePreCheckProgressListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribePreCheckProgressListRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
void DescribePreCheckProgressListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DescribePreCheckProgressListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DescribePreCheckProgressListRequest::getRestoreTaskId()const
|
||||
{
|
||||
return restoreTaskId_;
|
||||
void DescribePreCheckProgressListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void DescribePreCheckProgressListRequest::setRestoreTaskId(const std::string& restoreTaskId)
|
||||
{
|
||||
restoreTaskId_ = restoreTaskId;
|
||||
setParameter("RestoreTaskId", restoreTaskId);
|
||||
std::string DescribePreCheckProgressListRequest::getRestoreTaskId() const {
|
||||
return restoreTaskId_;
|
||||
}
|
||||
|
||||
void DescribePreCheckProgressListRequest::setRestoreTaskId(const std::string &restoreTaskId) {
|
||||
restoreTaskId_ = restoreTaskId;
|
||||
setParameter(std::string("RestoreTaskId"), restoreTaskId);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,36 +43,36 @@ void DescribePreCheckProgressListResult::parse(const std::string &payload)
|
||||
for (auto valueItemsPreCheckProgressDetail : allItemsNode)
|
||||
{
|
||||
PreCheckProgressDetail itemsObject;
|
||||
if(!valueItemsPreCheckProgressDetail["JobId"].isNull())
|
||||
itemsObject.jobId = valueItemsPreCheckProgressDetail["JobId"].asString();
|
||||
if(!valueItemsPreCheckProgressDetail["State"].isNull())
|
||||
itemsObject.state = valueItemsPreCheckProgressDetail["State"].asString();
|
||||
if(!valueItemsPreCheckProgressDetail["OrderNum"].isNull())
|
||||
itemsObject.orderNum = valueItemsPreCheckProgressDetail["OrderNum"].asString();
|
||||
if(!valueItemsPreCheckProgressDetail["ErrMsg"].isNull())
|
||||
itemsObject.errMsg = valueItemsPreCheckProgressDetail["ErrMsg"].asString();
|
||||
if(!valueItemsPreCheckProgressDetail["Names"].isNull())
|
||||
itemsObject.names = valueItemsPreCheckProgressDetail["Names"].asString();
|
||||
if(!valueItemsPreCheckProgressDetail["Item"].isNull())
|
||||
itemsObject.item = valueItemsPreCheckProgressDetail["Item"].asString();
|
||||
if(!valueItemsPreCheckProgressDetail["BootTime"].isNull())
|
||||
itemsObject.bootTime = std::stol(valueItemsPreCheckProgressDetail["BootTime"].asString());
|
||||
if(!valueItemsPreCheckProgressDetail["FinishTime"].isNull())
|
||||
itemsObject.finishTime = std::stol(valueItemsPreCheckProgressDetail["FinishTime"].asString());
|
||||
if(!valueItemsPreCheckProgressDetail["State"].isNull())
|
||||
itemsObject.state = valueItemsPreCheckProgressDetail["State"].asString();
|
||||
if(!valueItemsPreCheckProgressDetail["BootTime"].isNull())
|
||||
itemsObject.bootTime = std::stol(valueItemsPreCheckProgressDetail["BootTime"].asString());
|
||||
if(!valueItemsPreCheckProgressDetail["JobId"].isNull())
|
||||
itemsObject.jobId = valueItemsPreCheckProgressDetail["JobId"].asString();
|
||||
if(!valueItemsPreCheckProgressDetail["Item"].isNull())
|
||||
itemsObject.item = valueItemsPreCheckProgressDetail["Item"].asString();
|
||||
if(!valueItemsPreCheckProgressDetail["ErrMsg"].isNull())
|
||||
itemsObject.errMsg = valueItemsPreCheckProgressDetail["ErrMsg"].asString();
|
||||
if(!valueItemsPreCheckProgressDetail["OrderNum"].isNull())
|
||||
itemsObject.orderNum = valueItemsPreCheckProgressDetail["OrderNum"].asString();
|
||||
if(!valueItemsPreCheckProgressDetail["Names"].isNull())
|
||||
itemsObject.names = valueItemsPreCheckProgressDetail["Names"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["Progress"].isNull())
|
||||
progress_ = std::stoi(value["Progress"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Progress"].isNull())
|
||||
progress_ = std::stoi(value["Progress"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeRegionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeRegionsRequest;
|
||||
|
||||
DescribeRegionsRequest::DescribeRegionsRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeRegions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeRegionsRequest::~DescribeRegionsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeRegionsRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeRegionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeRegionsRequest;
|
||||
|
||||
DescribeRegionsRequest::DescribeRegionsRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "DescribeRegions") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
DescribeRegionsRequest::~DescribeRegionsRequest() {}
|
||||
|
||||
std::string DescribeRegionsRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DescribeRegionsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeRegionsRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DescribeRegionsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRegionsRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,14 +42,14 @@ void DescribeRegionsResult::parse(const std::string &payload)
|
||||
auto allRegions = value["Regions"]["RegionCode"];
|
||||
for (const auto &item : allRegions)
|
||||
regions_.push_back(item.asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeRestoreRangeInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeRestoreRangeInfoRequest;
|
||||
|
||||
DescribeRestoreRangeInfoRequest::DescribeRestoreRangeInfoRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeRestoreRangeInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeRestoreRangeInfoRequest::~DescribeRestoreRangeInfoRequest()
|
||||
{}
|
||||
|
||||
long DescribeRestoreRangeInfoRequest::getBeginTimestampForRestore()const
|
||||
{
|
||||
return beginTimestampForRestore_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeRestoreRangeInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeRestoreRangeInfoRequest;
|
||||
|
||||
DescribeRestoreRangeInfoRequest::DescribeRestoreRangeInfoRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "DescribeRestoreRangeInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeRestoreRangeInfoRequest::setBeginTimestampForRestore(long beginTimestampForRestore)
|
||||
{
|
||||
beginTimestampForRestore_ = beginTimestampForRestore;
|
||||
setParameter("BeginTimestampForRestore", std::to_string(beginTimestampForRestore));
|
||||
DescribeRestoreRangeInfoRequest::~DescribeRestoreRangeInfoRequest() {}
|
||||
|
||||
long DescribeRestoreRangeInfoRequest::getBeginTimestampForRestore() const {
|
||||
return beginTimestampForRestore_;
|
||||
}
|
||||
|
||||
long DescribeRestoreRangeInfoRequest::getEndTimestampForRestore()const
|
||||
{
|
||||
return endTimestampForRestore_;
|
||||
void DescribeRestoreRangeInfoRequest::setBeginTimestampForRestore(long beginTimestampForRestore) {
|
||||
beginTimestampForRestore_ = beginTimestampForRestore;
|
||||
setParameter(std::string("BeginTimestampForRestore"), std::to_string(beginTimestampForRestore));
|
||||
}
|
||||
|
||||
void DescribeRestoreRangeInfoRequest::setEndTimestampForRestore(long endTimestampForRestore)
|
||||
{
|
||||
endTimestampForRestore_ = endTimestampForRestore;
|
||||
setParameter("EndTimestampForRestore", std::to_string(endTimestampForRestore));
|
||||
long DescribeRestoreRangeInfoRequest::getEndTimestampForRestore() const {
|
||||
return endTimestampForRestore_;
|
||||
}
|
||||
|
||||
std::string DescribeRestoreRangeInfoRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
void DescribeRestoreRangeInfoRequest::setEndTimestampForRestore(long endTimestampForRestore) {
|
||||
endTimestampForRestore_ = endTimestampForRestore;
|
||||
setParameter(std::string("EndTimestampForRestore"), std::to_string(endTimestampForRestore));
|
||||
}
|
||||
|
||||
void DescribeRestoreRangeInfoRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
std::string DescribeRestoreRangeInfoRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DescribeRestoreRangeInfoRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
void DescribeRestoreRangeInfoRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribeRestoreRangeInfoRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
std::string DescribeRestoreRangeInfoRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
std::string DescribeRestoreRangeInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeRestoreRangeInfoRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
void DescribeRestoreRangeInfoRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DescribeRestoreRangeInfoRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
bool DescribeRestoreRangeInfoRequest::getRecentlyRestore()const
|
||||
{
|
||||
return recentlyRestore_;
|
||||
void DescribeRestoreRangeInfoRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void DescribeRestoreRangeInfoRequest::setRecentlyRestore(bool recentlyRestore)
|
||||
{
|
||||
recentlyRestore_ = recentlyRestore;
|
||||
setParameter("RecentlyRestore", recentlyRestore ? "true" : "false");
|
||||
bool DescribeRestoreRangeInfoRequest::getRecentlyRestore() const {
|
||||
return recentlyRestore_;
|
||||
}
|
||||
|
||||
void DescribeRestoreRangeInfoRequest::setRecentlyRestore(bool recentlyRestore) {
|
||||
recentlyRestore_ = recentlyRestore;
|
||||
setParameter(std::string("RecentlyRestore"), recentlyRestore ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -43,38 +43,38 @@ void DescribeRestoreRangeInfoResult::parse(const std::string &payload)
|
||||
for (auto valueItemsDBSRecoverRange : allItemsNode)
|
||||
{
|
||||
DBSRecoverRange itemsObject;
|
||||
if(!valueItemsDBSRecoverRange["SourceEndpointInstanceType"].isNull())
|
||||
itemsObject.sourceEndpointInstanceType = valueItemsDBSRecoverRange["SourceEndpointInstanceType"].asString();
|
||||
if(!valueItemsDBSRecoverRange["SourceEndpointInstanceID"].isNull())
|
||||
itemsObject.sourceEndpointInstanceID = valueItemsDBSRecoverRange["SourceEndpointInstanceID"].asString();
|
||||
if(!valueItemsDBSRecoverRange["BeginTimestampForRestore"].isNull())
|
||||
itemsObject.beginTimestampForRestore = std::stol(valueItemsDBSRecoverRange["BeginTimestampForRestore"].asString());
|
||||
if(!valueItemsDBSRecoverRange["EndTimestampForRestore"].isNull())
|
||||
itemsObject.endTimestampForRestore = std::stol(valueItemsDBSRecoverRange["EndTimestampForRestore"].asString());
|
||||
if(!valueItemsDBSRecoverRange["SourceEndpointInstanceType"].isNull())
|
||||
itemsObject.sourceEndpointInstanceType = valueItemsDBSRecoverRange["SourceEndpointInstanceType"].asString();
|
||||
if(!valueItemsDBSRecoverRange["RangeType"].isNull())
|
||||
itemsObject.rangeType = valueItemsDBSRecoverRange["RangeType"].asString();
|
||||
if(!valueItemsDBSRecoverRange["BeginTimestampForRestore"].isNull())
|
||||
itemsObject.beginTimestampForRestore = std::stol(valueItemsDBSRecoverRange["BeginTimestampForRestore"].asString());
|
||||
if(!valueItemsDBSRecoverRange["SourceEndpointInstanceID"].isNull())
|
||||
itemsObject.sourceEndpointInstanceID = valueItemsDBSRecoverRange["SourceEndpointInstanceID"].asString();
|
||||
auto allFullBackupListNode = valueItemsDBSRecoverRange["FullBackupList"]["FullBackupDetail"];
|
||||
for (auto valueItemsDBSRecoverRangeFullBackupListFullBackupDetail : allFullBackupListNode)
|
||||
{
|
||||
DBSRecoverRange::FullBackupDetail fullBackupListObject;
|
||||
if(!valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["BackupSetId"].isNull())
|
||||
fullBackupListObject.backupSetId = valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["BackupSetId"].asString();
|
||||
if(!valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["StartTime"].isNull())
|
||||
fullBackupListObject.startTime = std::stol(valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["StartTime"].asString());
|
||||
if(!valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["EndTime"].isNull())
|
||||
fullBackupListObject.endTime = std::stol(valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["EndTime"].asString());
|
||||
if(!valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["StartTime"].isNull())
|
||||
fullBackupListObject.startTime = std::stol(valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["StartTime"].asString());
|
||||
if(!valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["BackupSetId"].isNull())
|
||||
fullBackupListObject.backupSetId = valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["BackupSetId"].asString();
|
||||
itemsObject.fullBackupList.push_back(fullBackupListObject);
|
||||
}
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeRestoreTaskListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeRestoreTaskListRequest;
|
||||
|
||||
DescribeRestoreTaskListRequest::DescribeRestoreTaskListRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DescribeRestoreTaskList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeRestoreTaskListRequest::~DescribeRestoreTaskListRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeRestoreTaskListRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DescribeRestoreTaskListRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DescribeRestoreTaskListRequest;
|
||||
|
||||
DescribeRestoreTaskListRequest::DescribeRestoreTaskListRequest()
|
||||
: RpcServiceRequest("dbs", "2019-03-06", "DescribeRestoreTaskList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeRestoreTaskListRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
DescribeRestoreTaskListRequest::~DescribeRestoreTaskListRequest() {}
|
||||
|
||||
std::string DescribeRestoreTaskListRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string DescribeRestoreTaskListRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
void DescribeRestoreTaskListRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void DescribeRestoreTaskListRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
std::string DescribeRestoreTaskListRequest::getBackupPlanId() const {
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
int DescribeRestoreTaskListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
void DescribeRestoreTaskListRequest::setBackupPlanId(const std::string &backupPlanId) {
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter(std::string("BackupPlanId"), backupPlanId);
|
||||
}
|
||||
|
||||
void DescribeRestoreTaskListRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
int DescribeRestoreTaskListRequest::getPageNum() const {
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
std::string DescribeRestoreTaskListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeRestoreTaskListRequest::setPageNum(int pageNum) {
|
||||
pageNum_ = pageNum;
|
||||
setParameter(std::string("PageNum"), std::to_string(pageNum));
|
||||
}
|
||||
|
||||
void DescribeRestoreTaskListRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
std::string DescribeRestoreTaskListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
long DescribeRestoreTaskListRequest::getStartTimestamp()const
|
||||
{
|
||||
return startTimestamp_;
|
||||
void DescribeRestoreTaskListRequest::setOwnerId(const std::string &ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), ownerId);
|
||||
}
|
||||
|
||||
void DescribeRestoreTaskListRequest::setStartTimestamp(long startTimestamp)
|
||||
{
|
||||
startTimestamp_ = startTimestamp;
|
||||
setParameter("StartTimestamp", std::to_string(startTimestamp));
|
||||
long DescribeRestoreTaskListRequest::getStartTimestamp() const {
|
||||
return startTimestamp_;
|
||||
}
|
||||
|
||||
long DescribeRestoreTaskListRequest::getEndTimestamp()const
|
||||
{
|
||||
return endTimestamp_;
|
||||
void DescribeRestoreTaskListRequest::setStartTimestamp(long startTimestamp) {
|
||||
startTimestamp_ = startTimestamp;
|
||||
setParameter(std::string("StartTimestamp"), std::to_string(startTimestamp));
|
||||
}
|
||||
|
||||
void DescribeRestoreTaskListRequest::setEndTimestamp(long endTimestamp)
|
||||
{
|
||||
endTimestamp_ = endTimestamp;
|
||||
setParameter("EndTimestamp", std::to_string(endTimestamp));
|
||||
long DescribeRestoreTaskListRequest::getEndTimestamp() const {
|
||||
return endTimestamp_;
|
||||
}
|
||||
|
||||
std::string DescribeRestoreTaskListRequest::getRestoreTaskId()const
|
||||
{
|
||||
return restoreTaskId_;
|
||||
void DescribeRestoreTaskListRequest::setEndTimestamp(long endTimestamp) {
|
||||
endTimestamp_ = endTimestamp;
|
||||
setParameter(std::string("EndTimestamp"), std::to_string(endTimestamp));
|
||||
}
|
||||
|
||||
void DescribeRestoreTaskListRequest::setRestoreTaskId(const std::string& restoreTaskId)
|
||||
{
|
||||
restoreTaskId_ = restoreTaskId;
|
||||
setParameter("RestoreTaskId", restoreTaskId);
|
||||
std::string DescribeRestoreTaskListRequest::getRestoreTaskId() const {
|
||||
return restoreTaskId_;
|
||||
}
|
||||
|
||||
int DescribeRestoreTaskListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void DescribeRestoreTaskListRequest::setRestoreTaskId(const std::string &restoreTaskId) {
|
||||
restoreTaskId_ = restoreTaskId;
|
||||
setParameter(std::string("RestoreTaskId"), restoreTaskId);
|
||||
}
|
||||
|
||||
void DescribeRestoreTaskListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int DescribeRestoreTaskListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeRestoreTaskListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,87 +43,87 @@ void DescribeRestoreTaskListResult::parse(const std::string &payload)
|
||||
for (auto valueItemsRestoreTaskDetail : allItemsNode)
|
||||
{
|
||||
RestoreTaskDetail itemsObject;
|
||||
if(!valueItemsRestoreTaskDetail["RestoreStatus"].isNull())
|
||||
itemsObject.restoreStatus = valueItemsRestoreTaskDetail["RestoreStatus"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["FullStruAfterRestoreProgress"].isNull())
|
||||
itemsObject.fullStruAfterRestoreProgress = std::stoi(valueItemsRestoreTaskDetail["FullStruAfterRestoreProgress"].asString());
|
||||
if(!valueItemsRestoreTaskDetail["CrossRoleName"].isNull())
|
||||
itemsObject.crossRoleName = valueItemsRestoreTaskDetail["CrossRoleName"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["RestoreDir"].isNull())
|
||||
itemsObject.restoreDir = valueItemsRestoreTaskDetail["RestoreDir"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["CrossAliyunId"].isNull())
|
||||
itemsObject.crossAliyunId = valueItemsRestoreTaskDetail["CrossAliyunId"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["RestoreObjects"].isNull())
|
||||
itemsObject.restoreObjects = valueItemsRestoreTaskDetail["RestoreObjects"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["BackupPlanId"].isNull())
|
||||
itemsObject.backupPlanId = valueItemsRestoreTaskDetail["BackupPlanId"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["DestinationEndpointInstanceType"].isNull())
|
||||
itemsObject.destinationEndpointInstanceType = valueItemsRestoreTaskDetail["DestinationEndpointInstanceType"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["DestinationEndpointRegion"].isNull())
|
||||
itemsObject.destinationEndpointRegion = valueItemsRestoreTaskDetail["DestinationEndpointRegion"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["DestinationEndpointInstanceID"].isNull())
|
||||
itemsObject.destinationEndpointInstanceID = valueItemsRestoreTaskDetail["DestinationEndpointInstanceID"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["RestoreTaskCreateTime"].isNull())
|
||||
itemsObject.restoreTaskCreateTime = std::stol(valueItemsRestoreTaskDetail["RestoreTaskCreateTime"].asString());
|
||||
if(!valueItemsRestoreTaskDetail["DestinationEndpointUserName"].isNull())
|
||||
itemsObject.destinationEndpointUserName = valueItemsRestoreTaskDetail["DestinationEndpointUserName"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["RestoreTaskFinishTime"].isNull())
|
||||
itemsObject.restoreTaskFinishTime = std::stol(valueItemsRestoreTaskDetail["RestoreTaskFinishTime"].asString());
|
||||
if(!valueItemsRestoreTaskDetail["DestinationEndpointIpPort"].isNull())
|
||||
itemsObject.destinationEndpointIpPort = valueItemsRestoreTaskDetail["DestinationEndpointIpPort"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["DestinationEndpointDatabaseName"].isNull())
|
||||
itemsObject.destinationEndpointDatabaseName = valueItemsRestoreTaskDetail["DestinationEndpointDatabaseName"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["DestinationEndpointUserName"].isNull())
|
||||
itemsObject.destinationEndpointUserName = valueItemsRestoreTaskDetail["DestinationEndpointUserName"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["DestinationEndpointInstanceType"].isNull())
|
||||
itemsObject.destinationEndpointInstanceType = valueItemsRestoreTaskDetail["DestinationEndpointInstanceType"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["DestinationEndpointOracleSID"].isNull())
|
||||
itemsObject.destinationEndpointOracleSID = valueItemsRestoreTaskDetail["DestinationEndpointOracleSID"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["RestoreObjects"].isNull())
|
||||
itemsObject.restoreObjects = valueItemsRestoreTaskDetail["RestoreObjects"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["BackupGatewayId"].isNull())
|
||||
itemsObject.backupGatewayId = std::stol(valueItemsRestoreTaskDetail["BackupGatewayId"].asString());
|
||||
if(!valueItemsRestoreTaskDetail["RestoreDir"].isNull())
|
||||
itemsObject.restoreDir = valueItemsRestoreTaskDetail["RestoreDir"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["RestoreTaskName"].isNull())
|
||||
itemsObject.restoreTaskName = valueItemsRestoreTaskDetail["RestoreTaskName"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["BackupSetId"].isNull())
|
||||
itemsObject.backupSetId = valueItemsRestoreTaskDetail["BackupSetId"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["RestoreTime"].isNull())
|
||||
itemsObject.restoreTime = std::stol(valueItemsRestoreTaskDetail["RestoreTime"].asString());
|
||||
if(!valueItemsRestoreTaskDetail["RestoreTaskCreateTime"].isNull())
|
||||
itemsObject.restoreTaskCreateTime = std::stol(valueItemsRestoreTaskDetail["RestoreTaskCreateTime"].asString());
|
||||
if(!valueItemsRestoreTaskDetail["RestoreTaskFinishTime"].isNull())
|
||||
itemsObject.restoreTaskFinishTime = std::stol(valueItemsRestoreTaskDetail["RestoreTaskFinishTime"].asString());
|
||||
if(!valueItemsRestoreTaskDetail["RestoreStatus"].isNull())
|
||||
itemsObject.restoreStatus = valueItemsRestoreTaskDetail["RestoreStatus"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["RestoreTaskId"].isNull())
|
||||
itemsObject.restoreTaskId = valueItemsRestoreTaskDetail["RestoreTaskId"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["FullStruforeRestoreProgress"].isNull())
|
||||
itemsObject.fullStruforeRestoreProgress = std::stoi(valueItemsRestoreTaskDetail["FullStruforeRestoreProgress"].asString());
|
||||
if(!valueItemsRestoreTaskDetail["ErrMessage"].isNull())
|
||||
itemsObject.errMessage = valueItemsRestoreTaskDetail["ErrMessage"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["RestoreTaskId"].isNull())
|
||||
itemsObject.restoreTaskId = valueItemsRestoreTaskDetail["RestoreTaskId"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["FullDataRestoreProgress"].isNull())
|
||||
itemsObject.fullDataRestoreProgress = std::stoi(valueItemsRestoreTaskDetail["FullDataRestoreProgress"].asString());
|
||||
if(!valueItemsRestoreTaskDetail["ContinuousRestoreProgress"].isNull())
|
||||
itemsObject.continuousRestoreProgress = std::stoi(valueItemsRestoreTaskDetail["ContinuousRestoreProgress"].asString());
|
||||
if(!valueItemsRestoreTaskDetail["FullStruAfterRestoreProgress"].isNull())
|
||||
itemsObject.fullStruAfterRestoreProgress = std::stoi(valueItemsRestoreTaskDetail["FullStruAfterRestoreProgress"].asString());
|
||||
if(!valueItemsRestoreTaskDetail["CrossAliyunId"].isNull())
|
||||
itemsObject.crossAliyunId = valueItemsRestoreTaskDetail["CrossAliyunId"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["CrossRoleName"].isNull())
|
||||
itemsObject.crossRoleName = valueItemsRestoreTaskDetail["CrossRoleName"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["ErrMessage"].isNull())
|
||||
itemsObject.errMessage = valueItemsRestoreTaskDetail["ErrMessage"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["DestinationEndpointInstanceID"].isNull())
|
||||
itemsObject.destinationEndpointInstanceID = valueItemsRestoreTaskDetail["DestinationEndpointInstanceID"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["BackupSetId"].isNull())
|
||||
itemsObject.backupSetId = valueItemsRestoreTaskDetail["BackupSetId"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["BackupGatewayId"].isNull())
|
||||
itemsObject.backupGatewayId = std::stol(valueItemsRestoreTaskDetail["BackupGatewayId"].asString());
|
||||
if(!valueItemsRestoreTaskDetail["RestoreTaskName"].isNull())
|
||||
itemsObject.restoreTaskName = valueItemsRestoreTaskDetail["RestoreTaskName"].asString();
|
||||
if(!valueItemsRestoreTaskDetail["RestoreTime"].isNull())
|
||||
itemsObject.restoreTime = std::stol(valueItemsRestoreTaskDetail["RestoreTime"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNum"].isNull())
|
||||
pageNum_ = std::stoi(value["PageNum"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["TotalPages"].isNull())
|
||||
totalPages_ = std::stoi(value["TotalPages"].asString());
|
||||
if(!value["TotalElements"].isNull())
|
||||
totalElements_ = std::stoi(value["TotalElements"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeRestoreTaskListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeRestoreTaskListResult::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
int DescribeRestoreTaskListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeRestoreTaskListResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user