Add DisableBackupLog.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2020-09-10 Version: patch
|
||||
- Add DisableBackupLog.
|
||||
- Add EnableBackupLog.
|
||||
- Add ReleaseBackupPlan.
|
||||
- Add ModifyStorageStrategy.
|
||||
- Modify ModifyBackupStrategy.
|
||||
- Modify ModifyBackupSetDownloadRules.
|
||||
|
||||
2020-09-10 Version: patch
|
||||
- Update HasRenewChangeOrder type to Boolean in DescribeInstances.
|
||||
|
||||
|
||||
@@ -57,6 +57,10 @@ set(dbs_public_header_model
|
||||
include/alibabacloud/dbs/model/DescribeRestoreRangeInfoResult.h
|
||||
include/alibabacloud/dbs/model/DescribeRestoreTaskListRequest.h
|
||||
include/alibabacloud/dbs/model/DescribeRestoreTaskListResult.h
|
||||
include/alibabacloud/dbs/model/DisableBackupLogRequest.h
|
||||
include/alibabacloud/dbs/model/DisableBackupLogResult.h
|
||||
include/alibabacloud/dbs/model/EnableBackupLogRequest.h
|
||||
include/alibabacloud/dbs/model/EnableBackupLogResult.h
|
||||
include/alibabacloud/dbs/model/GetDBListFromAgentRequest.h
|
||||
include/alibabacloud/dbs/model/GetDBListFromAgentResult.h
|
||||
include/alibabacloud/dbs/model/ModifyBackupObjectsRequest.h
|
||||
@@ -69,6 +73,10 @@ set(dbs_public_header_model
|
||||
include/alibabacloud/dbs/model/ModifyBackupSourceEndpointResult.h
|
||||
include/alibabacloud/dbs/model/ModifyBackupStrategyRequest.h
|
||||
include/alibabacloud/dbs/model/ModifyBackupStrategyResult.h
|
||||
include/alibabacloud/dbs/model/ModifyStorageStrategyRequest.h
|
||||
include/alibabacloud/dbs/model/ModifyStorageStrategyResult.h
|
||||
include/alibabacloud/dbs/model/ReleaseBackupPlanRequest.h
|
||||
include/alibabacloud/dbs/model/ReleaseBackupPlanResult.h
|
||||
include/alibabacloud/dbs/model/RenewBackupPlanRequest.h
|
||||
include/alibabacloud/dbs/model/RenewBackupPlanResult.h
|
||||
include/alibabacloud/dbs/model/StartBackupPlanRequest.h
|
||||
@@ -120,6 +128,10 @@ set(dbs_src
|
||||
src/model/DescribeRestoreRangeInfoResult.cc
|
||||
src/model/DescribeRestoreTaskListRequest.cc
|
||||
src/model/DescribeRestoreTaskListResult.cc
|
||||
src/model/DisableBackupLogRequest.cc
|
||||
src/model/DisableBackupLogResult.cc
|
||||
src/model/EnableBackupLogRequest.cc
|
||||
src/model/EnableBackupLogResult.cc
|
||||
src/model/GetDBListFromAgentRequest.cc
|
||||
src/model/GetDBListFromAgentResult.cc
|
||||
src/model/ModifyBackupObjectsRequest.cc
|
||||
@@ -132,6 +144,10 @@ set(dbs_src
|
||||
src/model/ModifyBackupSourceEndpointResult.cc
|
||||
src/model/ModifyBackupStrategyRequest.cc
|
||||
src/model/ModifyBackupStrategyResult.cc
|
||||
src/model/ModifyStorageStrategyRequest.cc
|
||||
src/model/ModifyStorageStrategyResult.cc
|
||||
src/model/ReleaseBackupPlanRequest.cc
|
||||
src/model/ReleaseBackupPlanResult.cc
|
||||
src/model/RenewBackupPlanRequest.cc
|
||||
src/model/RenewBackupPlanResult.cc
|
||||
src/model/StartBackupPlanRequest.cc
|
||||
|
||||
@@ -58,6 +58,10 @@
|
||||
#include "model/DescribeRestoreRangeInfoResult.h"
|
||||
#include "model/DescribeRestoreTaskListRequest.h"
|
||||
#include "model/DescribeRestoreTaskListResult.h"
|
||||
#include "model/DisableBackupLogRequest.h"
|
||||
#include "model/DisableBackupLogResult.h"
|
||||
#include "model/EnableBackupLogRequest.h"
|
||||
#include "model/EnableBackupLogResult.h"
|
||||
#include "model/GetDBListFromAgentRequest.h"
|
||||
#include "model/GetDBListFromAgentResult.h"
|
||||
#include "model/ModifyBackupObjectsRequest.h"
|
||||
@@ -70,6 +74,10 @@
|
||||
#include "model/ModifyBackupSourceEndpointResult.h"
|
||||
#include "model/ModifyBackupStrategyRequest.h"
|
||||
#include "model/ModifyBackupStrategyResult.h"
|
||||
#include "model/ModifyStorageStrategyRequest.h"
|
||||
#include "model/ModifyStorageStrategyResult.h"
|
||||
#include "model/ReleaseBackupPlanRequest.h"
|
||||
#include "model/ReleaseBackupPlanResult.h"
|
||||
#include "model/RenewBackupPlanRequest.h"
|
||||
#include "model/RenewBackupPlanResult.h"
|
||||
#include "model/StartBackupPlanRequest.h"
|
||||
@@ -145,6 +153,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeRestoreTaskListResult> DescribeRestoreTaskListOutcome;
|
||||
typedef std::future<DescribeRestoreTaskListOutcome> DescribeRestoreTaskListOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DescribeRestoreTaskListRequest&, const DescribeRestoreTaskListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRestoreTaskListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableBackupLogResult> DisableBackupLogOutcome;
|
||||
typedef std::future<DisableBackupLogOutcome> DisableBackupLogOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::DisableBackupLogRequest&, const DisableBackupLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableBackupLogAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableBackupLogResult> EnableBackupLogOutcome;
|
||||
typedef std::future<EnableBackupLogOutcome> EnableBackupLogOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::EnableBackupLogRequest&, const EnableBackupLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableBackupLogAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDBListFromAgentResult> GetDBListFromAgentOutcome;
|
||||
typedef std::future<GetDBListFromAgentOutcome> GetDBListFromAgentOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::GetDBListFromAgentRequest&, const GetDBListFromAgentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDBListFromAgentAsyncHandler;
|
||||
@@ -163,6 +177,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyBackupStrategyResult> ModifyBackupStrategyOutcome;
|
||||
typedef std::future<ModifyBackupStrategyOutcome> ModifyBackupStrategyOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::ModifyBackupStrategyRequest&, const ModifyBackupStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupStrategyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyStorageStrategyResult> ModifyStorageStrategyOutcome;
|
||||
typedef std::future<ModifyStorageStrategyOutcome> ModifyStorageStrategyOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::ModifyStorageStrategyRequest&, const ModifyStorageStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyStorageStrategyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReleaseBackupPlanResult> ReleaseBackupPlanOutcome;
|
||||
typedef std::future<ReleaseBackupPlanOutcome> ReleaseBackupPlanOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::ReleaseBackupPlanRequest&, const ReleaseBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseBackupPlanAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenewBackupPlanResult> RenewBackupPlanOutcome;
|
||||
typedef std::future<RenewBackupPlanOutcome> RenewBackupPlanOutcomeCallable;
|
||||
typedef std::function<void(const DbsClient*, const Model::RenewBackupPlanRequest&, const RenewBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewBackupPlanAsyncHandler;
|
||||
@@ -240,6 +260,12 @@ namespace AlibabaCloud
|
||||
DescribeRestoreTaskListOutcome describeRestoreTaskList(const Model::DescribeRestoreTaskListRequest &request)const;
|
||||
void describeRestoreTaskListAsync(const Model::DescribeRestoreTaskListRequest& request, const DescribeRestoreTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRestoreTaskListOutcomeCallable describeRestoreTaskListCallable(const Model::DescribeRestoreTaskListRequest& request) const;
|
||||
DisableBackupLogOutcome disableBackupLog(const Model::DisableBackupLogRequest &request)const;
|
||||
void disableBackupLogAsync(const Model::DisableBackupLogRequest& request, const DisableBackupLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableBackupLogOutcomeCallable disableBackupLogCallable(const Model::DisableBackupLogRequest& request) const;
|
||||
EnableBackupLogOutcome enableBackupLog(const Model::EnableBackupLogRequest &request)const;
|
||||
void enableBackupLogAsync(const Model::EnableBackupLogRequest& request, const EnableBackupLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableBackupLogOutcomeCallable enableBackupLogCallable(const Model::EnableBackupLogRequest& request) const;
|
||||
GetDBListFromAgentOutcome getDBListFromAgent(const Model::GetDBListFromAgentRequest &request)const;
|
||||
void getDBListFromAgentAsync(const Model::GetDBListFromAgentRequest& request, const GetDBListFromAgentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDBListFromAgentOutcomeCallable getDBListFromAgentCallable(const Model::GetDBListFromAgentRequest& request) const;
|
||||
@@ -258,6 +284,12 @@ namespace AlibabaCloud
|
||||
ModifyBackupStrategyOutcome modifyBackupStrategy(const Model::ModifyBackupStrategyRequest &request)const;
|
||||
void modifyBackupStrategyAsync(const Model::ModifyBackupStrategyRequest& request, const ModifyBackupStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyBackupStrategyOutcomeCallable modifyBackupStrategyCallable(const Model::ModifyBackupStrategyRequest& request) const;
|
||||
ModifyStorageStrategyOutcome modifyStorageStrategy(const Model::ModifyStorageStrategyRequest &request)const;
|
||||
void modifyStorageStrategyAsync(const Model::ModifyStorageStrategyRequest& request, const ModifyStorageStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyStorageStrategyOutcomeCallable modifyStorageStrategyCallable(const Model::ModifyStorageStrategyRequest& request) const;
|
||||
ReleaseBackupPlanOutcome releaseBackupPlan(const Model::ReleaseBackupPlanRequest &request)const;
|
||||
void releaseBackupPlanAsync(const Model::ReleaseBackupPlanRequest& request, const ReleaseBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReleaseBackupPlanOutcomeCallable releaseBackupPlanCallable(const Model::ReleaseBackupPlanRequest& request) const;
|
||||
RenewBackupPlanOutcome renewBackupPlan(const Model::RenewBackupPlanRequest &request)const;
|
||||
void renewBackupPlanAsync(const Model::RenewBackupPlanRequest& request, const RenewBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewBackupPlanOutcomeCallable renewBackupPlanCallable(const Model::RenewBackupPlanRequest& request) const;
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace AlibabaCloud
|
||||
std::string sourceEndpointIpPort;
|
||||
std::string storageMethod;
|
||||
long endTime;
|
||||
std::string backupSetJobId;
|
||||
long backupSize;
|
||||
long startTime;
|
||||
long backupSetExpiredTime;
|
||||
|
||||
54
dbs/include/alibabacloud/dbs/model/DisableBackupLogRequest.h
Normal file
54
dbs/include/alibabacloud/dbs/model/DisableBackupLogRequest.h
Normal file
@@ -0,0 +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_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_
|
||||
61
dbs/include/alibabacloud/dbs/model/DisableBackupLogResult.h
Normal file
61
dbs/include/alibabacloud/dbs/model/DisableBackupLogResult.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_DISABLEBACKUPLOGRESULT_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_DISABLEBACKUPLOGRESULT_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 DisableBackupLogResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DisableBackupLogResult();
|
||||
explicit DisableBackupLogResult(const std::string &payload);
|
||||
~DisableBackupLogResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::string getBackupPlanId()const;
|
||||
bool getNeedPrecheck()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::string backupPlanId_;
|
||||
bool needPrecheck_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_DISABLEBACKUPLOGRESULT_H_
|
||||
54
dbs/include/alibabacloud/dbs/model/EnableBackupLogRequest.h
Normal file
54
dbs/include/alibabacloud/dbs/model/EnableBackupLogRequest.h
Normal file
@@ -0,0 +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_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_
|
||||
61
dbs/include/alibabacloud/dbs/model/EnableBackupLogResult.h
Normal file
61
dbs/include/alibabacloud/dbs/model/EnableBackupLogResult.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_ENABLEBACKUPLOGRESULT_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_ENABLEBACKUPLOGRESULT_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 EnableBackupLogResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableBackupLogResult();
|
||||
explicit EnableBackupLogResult(const std::string &payload);
|
||||
~EnableBackupLogResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::string getBackupPlanId()const;
|
||||
bool getNeedPrecheck()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::string backupPlanId_;
|
||||
bool needPrecheck_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_ENABLEBACKUPLOGRESULT_H_
|
||||
@@ -51,6 +51,8 @@ namespace AlibabaCloud
|
||||
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);
|
||||
|
||||
@@ -63,6 +65,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
bool openAutoDownload_;
|
||||
std::string incrementDataFormat_;
|
||||
std::string backupSetDownloadTargetTypeLocation_;
|
||||
std::string backupSetDownloadDir_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
ModifyBackupStrategyRequest();
|
||||
~ModifyBackupStrategyRequest();
|
||||
|
||||
int getBackupLogIntervalSeconds()const;
|
||||
void setBackupLogIntervalSeconds(int backupLogIntervalSeconds);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getBackupPlanId()const;
|
||||
@@ -49,6 +51,7 @@ namespace AlibabaCloud
|
||||
void setBackupStrategyType(const std::string& backupStrategyType);
|
||||
|
||||
private:
|
||||
int backupLogIntervalSeconds_;
|
||||
std::string clientToken_;
|
||||
std::string backupPlanId_;
|
||||
std::string ownerId_;
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_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_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYSTORAGESTRATEGYRESULT_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_MODIFYSTORAGESTRATEGYRESULT_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 ModifyStorageStrategyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyStorageStrategyResult();
|
||||
explicit ModifyStorageStrategyResult(const std::string &payload);
|
||||
~ModifyStorageStrategyResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::string getBackupPlanId()const;
|
||||
bool getNeedPrecheck()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::string backupPlanId_;
|
||||
bool needPrecheck_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYSTORAGESTRATEGYRESULT_H_
|
||||
@@ -0,0 +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_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_
|
||||
59
dbs/include/alibabacloud/dbs/model/ReleaseBackupPlanResult.h
Normal file
59
dbs/include/alibabacloud/dbs/model/ReleaseBackupPlanResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBS_MODEL_RELEASEBACKUPPLANRESULT_H_
|
||||
#define ALIBABACLOUD_DBS_MODEL_RELEASEBACKUPPLANRESULT_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 ReleaseBackupPlanResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ReleaseBackupPlanResult();
|
||||
explicit ReleaseBackupPlanResult(const std::string &payload);
|
||||
~ReleaseBackupPlanResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::string getBackupPlanId()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::string backupPlanId_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBS_MODEL_RELEASEBACKUPPLANRESULT_H_
|
||||
@@ -699,6 +699,78 @@ DbsClient::DescribeRestoreTaskListOutcomeCallable DbsClient::describeRestoreTask
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::DisableBackupLogOutcome DbsClient::disableBackupLog(const DisableBackupLogRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DisableBackupLogOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DisableBackupLogOutcome(DisableBackupLogResult(outcome.result()));
|
||||
else
|
||||
return DisableBackupLogOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DbsClient::disableBackupLogAsync(const DisableBackupLogRequest& request, const DisableBackupLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, disableBackupLog(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DbsClient::DisableBackupLogOutcomeCallable DbsClient::disableBackupLogCallable(const DisableBackupLogRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DisableBackupLogOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->disableBackupLog(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::EnableBackupLogOutcome DbsClient::enableBackupLog(const EnableBackupLogRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return EnableBackupLogOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return EnableBackupLogOutcome(EnableBackupLogResult(outcome.result()));
|
||||
else
|
||||
return EnableBackupLogOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DbsClient::enableBackupLogAsync(const EnableBackupLogRequest& request, const EnableBackupLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, enableBackupLog(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DbsClient::EnableBackupLogOutcomeCallable DbsClient::enableBackupLogCallable(const EnableBackupLogRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<EnableBackupLogOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->enableBackupLog(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::GetDBListFromAgentOutcome DbsClient::getDBListFromAgent(const GetDBListFromAgentRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -915,6 +987,78 @@ DbsClient::ModifyBackupStrategyOutcomeCallable DbsClient::modifyBackupStrategyCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::ModifyStorageStrategyOutcome DbsClient::modifyStorageStrategy(const ModifyStorageStrategyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyStorageStrategyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyStorageStrategyOutcome(ModifyStorageStrategyResult(outcome.result()));
|
||||
else
|
||||
return ModifyStorageStrategyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DbsClient::modifyStorageStrategyAsync(const ModifyStorageStrategyRequest& request, const ModifyStorageStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyStorageStrategy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DbsClient::ModifyStorageStrategyOutcomeCallable DbsClient::modifyStorageStrategyCallable(const ModifyStorageStrategyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyStorageStrategyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyStorageStrategy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::ReleaseBackupPlanOutcome DbsClient::releaseBackupPlan(const ReleaseBackupPlanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ReleaseBackupPlanOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ReleaseBackupPlanOutcome(ReleaseBackupPlanResult(outcome.result()));
|
||||
else
|
||||
return ReleaseBackupPlanOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DbsClient::releaseBackupPlanAsync(const ReleaseBackupPlanRequest& request, const ReleaseBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, releaseBackupPlan(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DbsClient::ReleaseBackupPlanOutcomeCallable DbsClient::releaseBackupPlanCallable(const ReleaseBackupPlanRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ReleaseBackupPlanOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->releaseBackupPlan(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DbsClient::RenewBackupPlanOutcome DbsClient::renewBackupPlan(const RenewBackupPlanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -45,6 +45,8 @@ void DescribeIncrementBackupListResult::parse(const std::string &payload)
|
||||
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())
|
||||
|
||||
62
dbs/src/model/DisableBackupLogRequest.cc
Normal file
62
dbs/src/model/DisableBackupLogRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DisableBackupLogRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::DisableBackupLogRequest;
|
||||
|
||||
DisableBackupLogRequest::DisableBackupLogRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "DisableBackupLog")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DisableBackupLogRequest::~DisableBackupLogRequest()
|
||||
{}
|
||||
|
||||
std::string DisableBackupLogRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void DisableBackupLogRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string DisableBackupLogRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void DisableBackupLogRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string DisableBackupLogRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DisableBackupLogRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
86
dbs/src/model/DisableBackupLogResult.cc
Normal file
86
dbs/src/model/DisableBackupLogResult.cc
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/DisableBackupLogResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dbs;
|
||||
using namespace AlibabaCloud::Dbs::Model;
|
||||
|
||||
DisableBackupLogResult::DisableBackupLogResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DisableBackupLogResult::DisableBackupLogResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DisableBackupLogResult::~DisableBackupLogResult()
|
||||
{}
|
||||
|
||||
void DisableBackupLogResult::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["BackupPlanId"].isNull())
|
||||
backupPlanId_ = value["BackupPlanId"].asString();
|
||||
if(!value["NeedPrecheck"].isNull())
|
||||
needPrecheck_ = value["NeedPrecheck"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int DisableBackupLogResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string DisableBackupLogResult::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
bool DisableBackupLogResult::getNeedPrecheck()const
|
||||
{
|
||||
return needPrecheck_;
|
||||
}
|
||||
|
||||
std::string DisableBackupLogResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool DisableBackupLogResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string DisableBackupLogResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
62
dbs/src/model/EnableBackupLogRequest.cc
Normal file
62
dbs/src/model/EnableBackupLogRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/EnableBackupLogRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::EnableBackupLogRequest;
|
||||
|
||||
EnableBackupLogRequest::EnableBackupLogRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "EnableBackupLog")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
EnableBackupLogRequest::~EnableBackupLogRequest()
|
||||
{}
|
||||
|
||||
std::string EnableBackupLogRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void EnableBackupLogRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string EnableBackupLogRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void EnableBackupLogRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string EnableBackupLogRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void EnableBackupLogRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
86
dbs/src/model/EnableBackupLogResult.cc
Normal file
86
dbs/src/model/EnableBackupLogResult.cc
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/EnableBackupLogResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dbs;
|
||||
using namespace AlibabaCloud::Dbs::Model;
|
||||
|
||||
EnableBackupLogResult::EnableBackupLogResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
EnableBackupLogResult::EnableBackupLogResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
EnableBackupLogResult::~EnableBackupLogResult()
|
||||
{}
|
||||
|
||||
void EnableBackupLogResult::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["BackupPlanId"].isNull())
|
||||
backupPlanId_ = value["BackupPlanId"].asString();
|
||||
if(!value["NeedPrecheck"].isNull())
|
||||
needPrecheck_ = value["NeedPrecheck"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int EnableBackupLogResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string EnableBackupLogResult::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
bool EnableBackupLogResult::getNeedPrecheck()const
|
||||
{
|
||||
return needPrecheck_;
|
||||
}
|
||||
|
||||
std::string EnableBackupLogResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool EnableBackupLogResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string EnableBackupLogResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -115,6 +115,17 @@ void ModifyBackupSetDownloadRulesRequest::setIncrementDataFormat(const std::stri
|
||||
setParameter("IncrementDataFormat", incrementDataFormat);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSetDownloadRulesRequest::getBackupSetDownloadTargetTypeLocation()const
|
||||
{
|
||||
return backupSetDownloadTargetTypeLocation_;
|
||||
}
|
||||
|
||||
void ModifyBackupSetDownloadRulesRequest::setBackupSetDownloadTargetTypeLocation(const std::string& backupSetDownloadTargetTypeLocation)
|
||||
{
|
||||
backupSetDownloadTargetTypeLocation_ = backupSetDownloadTargetTypeLocation;
|
||||
setParameter("BackupSetDownloadTargetTypeLocation", backupSetDownloadTargetTypeLocation);
|
||||
}
|
||||
|
||||
std::string ModifyBackupSetDownloadRulesRequest::getBackupSetDownloadDir()const
|
||||
{
|
||||
return backupSetDownloadDir_;
|
||||
|
||||
@@ -27,6 +27,17 @@ ModifyBackupStrategyRequest::ModifyBackupStrategyRequest() :
|
||||
ModifyBackupStrategyRequest::~ModifyBackupStrategyRequest()
|
||||
{}
|
||||
|
||||
int ModifyBackupStrategyRequest::getBackupLogIntervalSeconds()const
|
||||
{
|
||||
return backupLogIntervalSeconds_;
|
||||
}
|
||||
|
||||
void ModifyBackupStrategyRequest::setBackupLogIntervalSeconds(int backupLogIntervalSeconds)
|
||||
{
|
||||
backupLogIntervalSeconds_ = backupLogIntervalSeconds;
|
||||
setParameter("BackupLogIntervalSeconds", std::to_string(backupLogIntervalSeconds));
|
||||
}
|
||||
|
||||
std::string ModifyBackupStrategyRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
|
||||
95
dbs/src/model/ModifyStorageStrategyRequest.cc
Normal file
95
dbs/src/model/ModifyStorageStrategyRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ModifyStorageStrategyRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::ModifyStorageStrategyRequest;
|
||||
|
||||
ModifyStorageStrategyRequest::ModifyStorageStrategyRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "ModifyStorageStrategy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyStorageStrategyRequest::~ModifyStorageStrategyRequest()
|
||||
{}
|
||||
|
||||
int ModifyStorageStrategyRequest::getDuplicationArchivePeriod()const
|
||||
{
|
||||
return duplicationArchivePeriod_;
|
||||
}
|
||||
|
||||
void ModifyStorageStrategyRequest::setDuplicationArchivePeriod(int duplicationArchivePeriod)
|
||||
{
|
||||
duplicationArchivePeriod_ = duplicationArchivePeriod;
|
||||
setParameter("DuplicationArchivePeriod", std::to_string(duplicationArchivePeriod));
|
||||
}
|
||||
|
||||
std::string ModifyStorageStrategyRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void ModifyStorageStrategyRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string ModifyStorageStrategyRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void ModifyStorageStrategyRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string ModifyStorageStrategyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyStorageStrategyRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
int ModifyStorageStrategyRequest::getBackupRetentionPeriod()const
|
||||
{
|
||||
return backupRetentionPeriod_;
|
||||
}
|
||||
|
||||
void ModifyStorageStrategyRequest::setBackupRetentionPeriod(int backupRetentionPeriod)
|
||||
{
|
||||
backupRetentionPeriod_ = backupRetentionPeriod;
|
||||
setParameter("BackupRetentionPeriod", std::to_string(backupRetentionPeriod));
|
||||
}
|
||||
|
||||
int ModifyStorageStrategyRequest::getDuplicationInfrequentAccessPeriod()const
|
||||
{
|
||||
return duplicationInfrequentAccessPeriod_;
|
||||
}
|
||||
|
||||
void ModifyStorageStrategyRequest::setDuplicationInfrequentAccessPeriod(int duplicationInfrequentAccessPeriod)
|
||||
{
|
||||
duplicationInfrequentAccessPeriod_ = duplicationInfrequentAccessPeriod;
|
||||
setParameter("DuplicationInfrequentAccessPeriod", std::to_string(duplicationInfrequentAccessPeriod));
|
||||
}
|
||||
|
||||
86
dbs/src/model/ModifyStorageStrategyResult.cc
Normal file
86
dbs/src/model/ModifyStorageStrategyResult.cc
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/ModifyStorageStrategyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dbs;
|
||||
using namespace AlibabaCloud::Dbs::Model;
|
||||
|
||||
ModifyStorageStrategyResult::ModifyStorageStrategyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyStorageStrategyResult::ModifyStorageStrategyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyStorageStrategyResult::~ModifyStorageStrategyResult()
|
||||
{}
|
||||
|
||||
void ModifyStorageStrategyResult::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["BackupPlanId"].isNull())
|
||||
backupPlanId_ = value["BackupPlanId"].asString();
|
||||
if(!value["NeedPrecheck"].isNull())
|
||||
needPrecheck_ = value["NeedPrecheck"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
int ModifyStorageStrategyResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ModifyStorageStrategyResult::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
bool ModifyStorageStrategyResult::getNeedPrecheck()const
|
||||
{
|
||||
return needPrecheck_;
|
||||
}
|
||||
|
||||
std::string ModifyStorageStrategyResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool ModifyStorageStrategyResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string ModifyStorageStrategyResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
62
dbs/src/model/ReleaseBackupPlanRequest.cc
Normal file
62
dbs/src/model/ReleaseBackupPlanRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dbs/model/ReleaseBackupPlanRequest.h>
|
||||
|
||||
using AlibabaCloud::Dbs::Model::ReleaseBackupPlanRequest;
|
||||
|
||||
ReleaseBackupPlanRequest::ReleaseBackupPlanRequest() :
|
||||
RpcServiceRequest("dbs", "2019-03-06", "ReleaseBackupPlan")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ReleaseBackupPlanRequest::~ReleaseBackupPlanRequest()
|
||||
{}
|
||||
|
||||
std::string ReleaseBackupPlanRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void ReleaseBackupPlanRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string ReleaseBackupPlanRequest::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
void ReleaseBackupPlanRequest::setBackupPlanId(const std::string& backupPlanId)
|
||||
{
|
||||
backupPlanId_ = backupPlanId;
|
||||
setParameter("BackupPlanId", backupPlanId);
|
||||
}
|
||||
|
||||
std::string ReleaseBackupPlanRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ReleaseBackupPlanRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
79
dbs/src/model/ReleaseBackupPlanResult.cc
Normal file
79
dbs/src/model/ReleaseBackupPlanResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ReleaseBackupPlanResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dbs;
|
||||
using namespace AlibabaCloud::Dbs::Model;
|
||||
|
||||
ReleaseBackupPlanResult::ReleaseBackupPlanResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ReleaseBackupPlanResult::ReleaseBackupPlanResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ReleaseBackupPlanResult::~ReleaseBackupPlanResult()
|
||||
{}
|
||||
|
||||
void ReleaseBackupPlanResult::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["BackupPlanId"].isNull())
|
||||
backupPlanId_ = value["BackupPlanId"].asString();
|
||||
|
||||
}
|
||||
|
||||
int ReleaseBackupPlanResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ReleaseBackupPlanResult::getBackupPlanId()const
|
||||
{
|
||||
return backupPlanId_;
|
||||
}
|
||||
|
||||
std::string ReleaseBackupPlanResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
bool ReleaseBackupPlanResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::string ReleaseBackupPlanResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user