Compare commits
26 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e81be19ef | ||
|
|
bcda9aa4cd | ||
|
|
01ed244f91 | ||
|
|
979ae0c882 | ||
|
|
58b8b52591 | ||
|
|
29faefa1ab | ||
|
|
b03b322c96 | ||
|
|
0cdb7bfa7c | ||
|
|
4ff92e0924 | ||
|
|
acb3224329 | ||
|
|
36e644262a | ||
|
|
3f598709ce | ||
|
|
ff12aa8e1c | ||
|
|
35f5b170e3 | ||
|
|
af10d89e40 | ||
|
|
851f067179 | ||
|
|
d9c4d7f556 | ||
|
|
6b7018d7d5 | ||
|
|
de410cb26c | ||
|
|
63d1456017 | ||
|
|
53badb17c1 | ||
|
|
51c7466a7c | ||
|
|
e097e2342f | ||
|
|
21cd880292 | ||
|
|
6bb79f8a04 | ||
|
|
939eeccab4 |
77
CHANGELOG
77
CHANGELOG
@@ -1,3 +1,80 @@
|
||||
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.
|
||||
|
||||
2022-07-26 Version: 1.36.1204
|
||||
- Add cmsGroupId parameter to CreateApplicationGroupRequest.
|
||||
|
||||
2022-07-26 Version: 1.36.1203
|
||||
- Change ListCheckInstanceResult Public.
|
||||
|
||||
2022-07-25 Version: 1.36.1202
|
||||
- Change ListCheckInstanceResult GetCheckDetail Public.
|
||||
|
||||
2022-07-25 Version: 1.36.1201
|
||||
- Update MonitorExamination.
|
||||
|
||||
2022-07-25 Version: 1.36.1200
|
||||
- Update SegmentOAR.
|
||||
|
||||
2022-07-25 Version: 1.36.1199
|
||||
- Change ListCheckInstanceResult GetCheckDetail Public.
|
||||
|
||||
2022-07-22 Version: 1.36.1198
|
||||
- Change ListCheckInstanceResult GetCheckDetail Public.
|
||||
|
||||
2022-07-22 Version: 1.36.1197
|
||||
- Update ScreenChestCT Release SegmentOAR.
|
||||
|
||||
2022-07-22 Version: 1.36.1196
|
||||
- Update ScreenChestCT - Release SegmentOAR.
|
||||
|
||||
2022-07-21 Version: 1.36.1195
|
||||
- Support PreConfigRule.
|
||||
|
||||
2022-07-21 Version: 1.36.1194
|
||||
- Add kms apis.
|
||||
|
||||
2022-07-21 Version: 1.36.1193
|
||||
- Ram action config.
|
||||
|
||||
2022-07-21 Version: 1.36.1192
|
||||
- Add Body Detection and Image Splicing API.
|
||||
|
||||
2022-07-20 Version: 1.36.1191
|
||||
- Change getFileDetectResult.
|
||||
|
||||
2022-07-20 Version: 1.36.1190
|
||||
- Support AK Audit API.
|
||||
|
||||
2022-07-20 Version: 1.36.1189
|
||||
- Add Body Detection and Image Splicing API.
|
||||
|
||||
2022-07-20 Version: 1.36.1188
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2022-07-19 Version: 1.36.1187
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
|
||||
0
CHANGELOG.md
Normal file
0
CHANGELOG.md
Normal file
@@ -181,6 +181,8 @@ set(config_public_header_model
|
||||
include/alibabacloud/config/model/ListRemediationsResult.h
|
||||
include/alibabacloud/config/model/ListResourceEvaluationResultsRequest.h
|
||||
include/alibabacloud/config/model/ListResourceEvaluationResultsResult.h
|
||||
include/alibabacloud/config/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/config/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/config/model/RevertAggregateEvaluationResultsRequest.h
|
||||
include/alibabacloud/config/model/RevertAggregateEvaluationResultsResult.h
|
||||
include/alibabacloud/config/model/RevertEvaluationResultsRequest.h
|
||||
@@ -191,6 +193,10 @@ set(config_public_header_model
|
||||
include/alibabacloud/config/model/StartAggregateRemediationResult.h
|
||||
include/alibabacloud/config/model/StartRemediationRequest.h
|
||||
include/alibabacloud/config/model/StartRemediationResult.h
|
||||
include/alibabacloud/config/model/TagResourcesRequest.h
|
||||
include/alibabacloud/config/model/TagResourcesResult.h
|
||||
include/alibabacloud/config/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/config/model/UntagResourcesResult.h
|
||||
include/alibabacloud/config/model/UpdateAggregateCompliancePackRequest.h
|
||||
include/alibabacloud/config/model/UpdateAggregateCompliancePackResult.h
|
||||
include/alibabacloud/config/model/UpdateAggregateConfigDeliveryChannelRequest.h
|
||||
@@ -370,6 +376,8 @@ set(config_src
|
||||
src/model/ListRemediationsResult.cc
|
||||
src/model/ListResourceEvaluationResultsRequest.cc
|
||||
src/model/ListResourceEvaluationResultsResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/RevertAggregateEvaluationResultsRequest.cc
|
||||
src/model/RevertAggregateEvaluationResultsResult.cc
|
||||
src/model/RevertEvaluationResultsRequest.cc
|
||||
@@ -380,6 +388,10 @@ set(config_src
|
||||
src/model/StartAggregateRemediationResult.cc
|
||||
src/model/StartRemediationRequest.cc
|
||||
src/model/StartRemediationResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/UpdateAggregateCompliancePackRequest.cc
|
||||
src/model/UpdateAggregateCompliancePackResult.cc
|
||||
src/model/UpdateAggregateConfigDeliveryChannelRequest.cc
|
||||
|
||||
@@ -182,6 +182,8 @@
|
||||
#include "model/ListRemediationsResult.h"
|
||||
#include "model/ListResourceEvaluationResultsRequest.h"
|
||||
#include "model/ListResourceEvaluationResultsResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/RevertAggregateEvaluationResultsRequest.h"
|
||||
#include "model/RevertAggregateEvaluationResultsResult.h"
|
||||
#include "model/RevertEvaluationResultsRequest.h"
|
||||
@@ -192,6 +194,10 @@
|
||||
#include "model/StartAggregateRemediationResult.h"
|
||||
#include "model/StartRemediationRequest.h"
|
||||
#include "model/StartRemediationResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
#include "model/UntagResourcesResult.h"
|
||||
#include "model/UpdateAggregateCompliancePackRequest.h"
|
||||
#include "model/UpdateAggregateCompliancePackResult.h"
|
||||
#include "model/UpdateAggregateConfigDeliveryChannelRequest.h"
|
||||
@@ -457,6 +463,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListResourceEvaluationResultsResult> ListResourceEvaluationResultsOutcome;
|
||||
typedef std::future<ListResourceEvaluationResultsOutcome> ListResourceEvaluationResultsOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::ListResourceEvaluationResultsRequest&, const ListResourceEvaluationResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListResourceEvaluationResultsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::RevertAggregateEvaluationResultsResult> RevertAggregateEvaluationResultsOutcome;
|
||||
typedef std::future<RevertAggregateEvaluationResultsOutcome> RevertAggregateEvaluationResultsOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::RevertAggregateEvaluationResultsRequest&, const RevertAggregateEvaluationResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevertAggregateEvaluationResultsAsyncHandler;
|
||||
@@ -472,6 +481,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::StartRemediationResult> StartRemediationOutcome;
|
||||
typedef std::future<StartRemediationOutcome> StartRemediationOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::StartRemediationRequest&, const StartRemediationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartRemediationAsyncHandler;
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateAggregateCompliancePackResult> UpdateAggregateCompliancePackOutcome;
|
||||
typedef std::future<UpdateAggregateCompliancePackOutcome> UpdateAggregateCompliancePackOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::UpdateAggregateCompliancePackRequest&, const UpdateAggregateCompliancePackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAggregateCompliancePackAsyncHandler;
|
||||
@@ -741,6 +756,9 @@ namespace AlibabaCloud
|
||||
ListResourceEvaluationResultsOutcome listResourceEvaluationResults(const Model::ListResourceEvaluationResultsRequest &request)const;
|
||||
void listResourceEvaluationResultsAsync(const Model::ListResourceEvaluationResultsRequest& request, const ListResourceEvaluationResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListResourceEvaluationResultsOutcomeCallable listResourceEvaluationResultsCallable(const Model::ListResourceEvaluationResultsRequest& request) const;
|
||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||
RevertAggregateEvaluationResultsOutcome revertAggregateEvaluationResults(const Model::RevertAggregateEvaluationResultsRequest &request)const;
|
||||
void revertAggregateEvaluationResultsAsync(const Model::RevertAggregateEvaluationResultsRequest& request, const RevertAggregateEvaluationResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RevertAggregateEvaluationResultsOutcomeCallable revertAggregateEvaluationResultsCallable(const Model::RevertAggregateEvaluationResultsRequest& request) const;
|
||||
@@ -756,6 +774,12 @@ namespace AlibabaCloud
|
||||
StartRemediationOutcome startRemediation(const Model::StartRemediationRequest &request)const;
|
||||
void startRemediationAsync(const Model::StartRemediationRequest& request, const StartRemediationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartRemediationOutcomeCallable startRemediationCallable(const Model::StartRemediationRequest& request) const;
|
||||
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
|
||||
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||
UpdateAggregateCompliancePackOutcome updateAggregateCompliancePack(const Model::UpdateAggregateCompliancePackRequest &request)const;
|
||||
void updateAggregateCompliancePackAsync(const Model::UpdateAggregateCompliancePackRequest& request, const UpdateAggregateCompliancePackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateAggregateCompliancePackOutcomeCallable updateAggregateCompliancePackCallable(const Model::UpdateAggregateCompliancePackRequest& request) const;
|
||||
|
||||
@@ -28,6 +28,10 @@ namespace Config {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CONFIG_EXPORT ListAggregateConfigRulesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
ListAggregateConfigRulesRequest();
|
||||
~ListAggregateConfigRulesRequest();
|
||||
bool getFilterInCompliancePack() const;
|
||||
@@ -46,6 +50,8 @@ public:
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCompliancePackId() const;
|
||||
void setCompliancePackId(const std::string &compliancePackId);
|
||||
Tag getTag() const;
|
||||
void setTag(const Tag &tag);
|
||||
std::string getComplianceType() const;
|
||||
void setComplianceType(const std::string &complianceType);
|
||||
int getRiskLevel() const;
|
||||
@@ -62,6 +68,7 @@ private:
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string compliancePackId_;
|
||||
Tag tag_;
|
||||
std::string complianceType_;
|
||||
int riskLevel_;
|
||||
std::string configRuleName_;
|
||||
|
||||
@@ -51,18 +51,24 @@ namespace AlibabaCloud
|
||||
std::string creatorName;
|
||||
std::string aggregatorId;
|
||||
};
|
||||
std::string configRuleId;
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
long accountId;
|
||||
std::string description;
|
||||
Compliance compliance;
|
||||
std::string configRuleArn;
|
||||
std::string automationType;
|
||||
std::string sourceOwner;
|
||||
CreateBy createBy;
|
||||
std::string sourceIdentifier;
|
||||
std::string configRuleState;
|
||||
std::string configRuleId;
|
||||
std::string configRuleArn;
|
||||
std::string automationType;
|
||||
std::string configRuleName;
|
||||
int riskLevel;
|
||||
std::string configRuleState;
|
||||
std::vector<ConfigRule::Tag> tags;
|
||||
};
|
||||
long totalCount;
|
||||
int pageSize;
|
||||
|
||||
@@ -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_CONFIG_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Config {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CONFIG_EXPORT ListTagResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListTagResourcesRequest();
|
||||
~ListTagResourcesRequest();
|
||||
std::vector<std::string> getResourceId() const;
|
||||
void setResourceId(const std::vector<std::string> &resourceId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getTag() const;
|
||||
void setTag(const std::string &tag);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::string tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Config
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_LISTTAGRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_LISTTAGRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT ListTagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TagResource
|
||||
{
|
||||
std::string resourceId;
|
||||
std::string tagKey;
|
||||
std::string resourceType;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
|
||||
ListTagResourcesResult();
|
||||
explicit ListTagResourcesResult(const std::string &payload);
|
||||
~ListTagResourcesResult();
|
||||
std::string getNextToken()const;
|
||||
std::vector<TagResource> getTagResources()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::vector<TagResource> tagResources_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_LISTTAGRESOURCESRESULT_H_
|
||||
@@ -0,0 +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_CONFIG_MODEL_TAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_TAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Config {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CONFIG_EXPORT TagResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
TagResourcesRequest();
|
||||
~TagResourcesRequest();
|
||||
std::vector<std::string> getResourceId() const;
|
||||
void setResourceId(const std::vector<std::string> &resourceId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTag() const;
|
||||
void setTag(const std::string &tag);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string regionId_;
|
||||
std::string tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Config
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_TAGRESOURCESREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DOMAIN_MODEL_FINISHDEMANDRESULT_H_
|
||||
#define ALIBABACLOUD_DOMAIN_MODEL_FINISHDEMANDRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_TAGRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_TAGRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/domain/DomainExport.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Domain
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DOMAIN_EXPORT FinishDemandResult : public ServiceResult
|
||||
class ALIBABACLOUD_CONFIG_EXPORT TagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
FinishDemandResult();
|
||||
explicit FinishDemandResult(const std::string &payload);
|
||||
~FinishDemandResult();
|
||||
TagResourcesResult();
|
||||
explicit TagResourcesResult(const std::string &payload);
|
||||
~TagResourcesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DOMAIN_MODEL_FINISHDEMANDRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_TAGRESOURCESRESULT_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_CONFIG_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Config {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CONFIG_EXPORT UntagResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UntagResourcesRequest();
|
||||
~UntagResourcesRequest();
|
||||
bool getAll() const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getResourceId() const;
|
||||
void setResourceId(const std::vector<std::string> &resourceId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<std::string> getTagKey() const;
|
||||
void setTagKey(const std::vector<std::string> &tagKey);
|
||||
|
||||
private:
|
||||
bool all_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string regionId_;
|
||||
std::vector<std::string> tagKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Config
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DOMAIN_MODEL_CHANGEAUCTIONRESULT_H_
|
||||
#define ALIBABACLOUD_DOMAIN_MODEL_CHANGEAUCTIONRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/domain/DomainExport.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Domain
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DOMAIN_EXPORT ChangeAuctionResult : public ServiceResult
|
||||
class ALIBABACLOUD_CONFIG_EXPORT UntagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ChangeAuctionResult();
|
||||
explicit ChangeAuctionResult(const std::string &payload);
|
||||
~ChangeAuctionResult();
|
||||
UntagResourcesResult();
|
||||
explicit UntagResourcesResult(const std::string &payload);
|
||||
~UntagResourcesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DOMAIN_MODEL_CHANGEAUCTIONRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
@@ -2931,6 +2931,42 @@ ConfigClient::ListResourceEvaluationResultsOutcomeCallable ConfigClient::listRes
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ConfigClient::ListTagResourcesOutcome ConfigClient::listTagResources(const ListTagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListTagResourcesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListTagResourcesOutcome(ListTagResourcesResult(outcome.result()));
|
||||
else
|
||||
return ListTagResourcesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ConfigClient::listTagResourcesAsync(const ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listTagResources(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ConfigClient::ListTagResourcesOutcomeCallable ConfigClient::listTagResourcesCallable(const ListTagResourcesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListTagResourcesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listTagResources(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ConfigClient::RevertAggregateEvaluationResultsOutcome ConfigClient::revertAggregateEvaluationResults(const RevertAggregateEvaluationResultsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3111,6 +3147,78 @@ ConfigClient::StartRemediationOutcomeCallable ConfigClient::startRemediationCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ConfigClient::TagResourcesOutcome ConfigClient::tagResources(const TagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TagResourcesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TagResourcesOutcome(TagResourcesResult(outcome.result()));
|
||||
else
|
||||
return TagResourcesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ConfigClient::tagResourcesAsync(const TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, tagResources(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ConfigClient::TagResourcesOutcomeCallable ConfigClient::tagResourcesCallable(const TagResourcesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TagResourcesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->tagResources(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ConfigClient::UntagResourcesOutcome ConfigClient::untagResources(const UntagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UntagResourcesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UntagResourcesOutcome(UntagResourcesResult(outcome.result()));
|
||||
else
|
||||
return UntagResourcesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ConfigClient::untagResourcesAsync(const UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, untagResources(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ConfigClient::UntagResourcesOutcomeCallable ConfigClient::untagResourcesCallable(const UntagResourcesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UntagResourcesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->untagResources(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ConfigClient::UpdateAggregateCompliancePackOutcome ConfigClient::updateAggregateCompliancePack(const UpdateAggregateCompliancePackRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -97,6 +97,16 @@ void ListAggregateConfigRulesRequest::setCompliancePackId(const std::string &com
|
||||
setParameter(std::string("CompliancePackId"), compliancePackId);
|
||||
}
|
||||
|
||||
ListAggregateConfigRulesRequest::Tag ListAggregateConfigRulesRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void ListAggregateConfigRulesRequest::setTag(const ListAggregateConfigRulesRequest::Tag &tag) {
|
||||
tag_ = tag;
|
||||
setParameter(std::string("Tag") + ".Value", tag.value);
|
||||
setParameter(std::string("Tag") + ".Key", tag.key);
|
||||
}
|
||||
|
||||
std::string ListAggregateConfigRulesRequest::getComplianceType() const {
|
||||
return complianceType_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,16 @@ void ListAggregateConfigRulesResult::parse(const std::string &payload)
|
||||
configRuleObject.configRuleName = configRulesNodeConfigRuleListConfigRule["ConfigRuleName"].asString();
|
||||
if(!configRulesNodeConfigRuleListConfigRule["ConfigRuleId"].isNull())
|
||||
configRuleObject.configRuleId = configRulesNodeConfigRuleListConfigRule["ConfigRuleId"].asString();
|
||||
auto allTagsNode = configRulesNodeConfigRuleListConfigRule["Tags"]["tag"];
|
||||
for (auto configRulesNodeConfigRuleListConfigRuleTagstag : allTagsNode)
|
||||
{
|
||||
ConfigRules::ConfigRule::Tag tagsObject;
|
||||
if(!configRulesNodeConfigRuleListConfigRuleTagstag["Key"].isNull())
|
||||
tagsObject.key = configRulesNodeConfigRuleListConfigRuleTagstag["Key"].asString();
|
||||
if(!configRulesNodeConfigRuleListConfigRuleTagstag["Value"].isNull())
|
||||
tagsObject.value = configRulesNodeConfigRuleListConfigRuleTagstag["Value"].asString();
|
||||
configRuleObject.tags.push_back(tagsObject);
|
||||
}
|
||||
auto complianceNode = value["Compliance"];
|
||||
if(!complianceNode["ComplianceType"].isNull())
|
||||
configRuleObject.compliance.complianceType = complianceNode["ComplianceType"].asString();
|
||||
|
||||
71
config/src/model/ListTagResourcesRequest.cc
Normal file
71
config/src/model/ListTagResourcesRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/config/model/ListTagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Config::Model::ListTagResourcesRequest;
|
||||
|
||||
ListTagResourcesRequest::ListTagResourcesRequest()
|
||||
: RpcServiceRequest("config", "2020-09-07", "ListTagResources") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListTagResourcesRequest::~ListTagResourcesRequest() {}
|
||||
|
||||
std::vector<std::string> ListTagResourcesRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setResourceId(const std::vector<std::string> &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getResourceType() const {
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setResourceType(const std::string &resourceType) {
|
||||
resourceType_ = resourceType;
|
||||
setBodyParameter(std::string("ResourceType"), resourceType);
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setBodyParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setBodyParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setTag(const std::string &tag) {
|
||||
tag_ = tag;
|
||||
setBodyParameter(std::string("Tag"), tag);
|
||||
}
|
||||
|
||||
70
config/src/model/ListTagResourcesResult.cc
Normal file
70
config/src/model/ListTagResourcesResult.cc
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/config/model/ListTagResourcesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Config;
|
||||
using namespace AlibabaCloud::Config::Model;
|
||||
|
||||
ListTagResourcesResult::ListTagResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListTagResourcesResult::ListTagResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListTagResourcesResult::~ListTagResourcesResult()
|
||||
{}
|
||||
|
||||
void ListTagResourcesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTagResourcesNode = value["TagResources"]["TagResource"];
|
||||
for (auto valueTagResourcesTagResource : allTagResourcesNode)
|
||||
{
|
||||
TagResource tagResourcesObject;
|
||||
if(!valueTagResourcesTagResource["TagKey"].isNull())
|
||||
tagResourcesObject.tagKey = valueTagResourcesTagResource["TagKey"].asString();
|
||||
if(!valueTagResourcesTagResource["TagValue"].isNull())
|
||||
tagResourcesObject.tagValue = valueTagResourcesTagResource["TagValue"].asString();
|
||||
if(!valueTagResourcesTagResource["ResourceId"].isNull())
|
||||
tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString();
|
||||
if(!valueTagResourcesTagResource["ResourceType"].isNull())
|
||||
tagResourcesObject.resourceType = valueTagResourcesTagResource["ResourceType"].asString();
|
||||
tagResources_.push_back(tagResourcesObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListTagResourcesResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<ListTagResourcesResult::TagResource> ListTagResourcesResult::getTagResources()const
|
||||
{
|
||||
return tagResources_;
|
||||
}
|
||||
|
||||
62
config/src/model/TagResourcesRequest.cc
Normal file
62
config/src/model/TagResourcesRequest.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/config/model/TagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Config::Model::TagResourcesRequest;
|
||||
|
||||
TagResourcesRequest::TagResourcesRequest()
|
||||
: RpcServiceRequest("config", "2020-09-07", "TagResources") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TagResourcesRequest::~TagResourcesRequest() {}
|
||||
|
||||
std::vector<std::string> TagResourcesRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setResourceId(const std::vector<std::string> &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getResourceType() const {
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setResourceType(const std::string &resourceType) {
|
||||
resourceType_ = resourceType;
|
||||
setBodyParameter(std::string("ResourceType"), resourceType);
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setBodyParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setTag(const std::string &tag) {
|
||||
tag_ = tag;
|
||||
setBodyParameter(std::string("Tag"), tag);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/RefuseDemandResult.h>
|
||||
#include <alibabacloud/config/model/TagResourcesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
using namespace AlibabaCloud::Config;
|
||||
using namespace AlibabaCloud::Config::Model;
|
||||
|
||||
RefuseDemandResult::RefuseDemandResult() :
|
||||
TagResourcesResult::TagResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RefuseDemandResult::RefuseDemandResult(const std::string &payload) :
|
||||
TagResourcesResult::TagResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RefuseDemandResult::~RefuseDemandResult()
|
||||
TagResourcesResult::~TagResourcesResult()
|
||||
{}
|
||||
|
||||
void RefuseDemandResult::parse(const std::string &payload)
|
||||
void TagResourcesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
70
config/src/model/UntagResourcesRequest.cc
Normal file
70
config/src/model/UntagResourcesRequest.cc
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/config/model/UntagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Config::Model::UntagResourcesRequest;
|
||||
|
||||
UntagResourcesRequest::UntagResourcesRequest()
|
||||
: RpcServiceRequest("config", "2020-09-07", "UntagResources") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UntagResourcesRequest::~UntagResourcesRequest() {}
|
||||
|
||||
bool UntagResourcesRequest::getAll() const {
|
||||
return all_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setAll(bool all) {
|
||||
all_ = all;
|
||||
setBodyParameter(std::string("All"), all ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> UntagResourcesRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceId(const std::vector<std::string> &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getResourceType() const {
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceType(const std::string &resourceType) {
|
||||
resourceType_ = resourceType;
|
||||
setBodyParameter(std::string("ResourceType"), resourceType);
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setBodyParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::vector<std::string> UntagResourcesRequest::getTagKey() const {
|
||||
return tagKey_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setTagKey(const std::vector<std::string> &tagKey) {
|
||||
tagKey_ = tagKey;
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/domain/model/FailDemandResult.h>
|
||||
#include <alibabacloud/config/model/UntagResourcesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Domain;
|
||||
using namespace AlibabaCloud::Domain::Model;
|
||||
using namespace AlibabaCloud::Config;
|
||||
using namespace AlibabaCloud::Config::Model;
|
||||
|
||||
FailDemandResult::FailDemandResult() :
|
||||
UntagResourcesResult::UntagResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FailDemandResult::FailDemandResult(const std::string &payload) :
|
||||
UntagResourcesResult::UntagResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FailDemandResult::~FailDemandResult()
|
||||
UntagResourcesResult::~UntagResourcesResult()
|
||||
{}
|
||||
|
||||
void FailDemandResult::parse(const std::string &payload)
|
||||
void UntagResourcesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SubmitFileRequest : public RpcService
|
||||
public:
|
||||
SubmitFileRequest();
|
||||
~SubmitFileRequest();
|
||||
bool getSkipAllDeployFileExtensions() const;
|
||||
void setSkipAllDeployFileExtensions(bool skipAllDeployFileExtensions);
|
||||
std::string getComment() const;
|
||||
void setComment(const std::string &comment);
|
||||
long getProjectId() const;
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void setFileId(long fileId);
|
||||
|
||||
private:
|
||||
bool skipAllDeployFileExtensions_;
|
||||
std::string comment_;
|
||||
long projectId_;
|
||||
std::string projectIdentifier_;
|
||||
|
||||
@@ -25,6 +25,15 @@ SubmitFileRequest::SubmitFileRequest()
|
||||
|
||||
SubmitFileRequest::~SubmitFileRequest() {}
|
||||
|
||||
bool SubmitFileRequest::getSkipAllDeployFileExtensions() const {
|
||||
return skipAllDeployFileExtensions_;
|
||||
}
|
||||
|
||||
void SubmitFileRequest::setSkipAllDeployFileExtensions(bool skipAllDeployFileExtensions) {
|
||||
skipAllDeployFileExtensions_ = skipAllDeployFileExtensions;
|
||||
setBodyParameter(std::string("SkipAllDeployFileExtensions"), skipAllDeployFileExtensions ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SubmitFileRequest::getComment() const {
|
||||
return comment_;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user