Compare commits
27 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 | ||
|
|
c6fe210221 |
80
CHANGELOG
80
CHANGELOG
@@ -1,3 +1,83 @@
|
||||
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`.
|
||||
|
||||
2022-07-19 Version: 1.36.1186
|
||||
- Support MatchAddressType in RouteMap API.
|
||||
|
||||
|
||||
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_EAS_MODEL_GETOSSAUTHORIZERESULT_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_GETOSSAUTHORIZERESULT_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/eas/EasExport.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eas
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAS_EXPORT GetOssAuthorizeResult : public ServiceResult
|
||||
class ALIBABACLOUD_CONFIG_EXPORT TagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetOssAuthorizeResult();
|
||||
explicit GetOssAuthorizeResult(const std::string &payload);
|
||||
~GetOssAuthorizeResult();
|
||||
TagResourcesResult();
|
||||
explicit TagResourcesResult(const std::string &payload);
|
||||
~TagResourcesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_GETOSSAUTHORIZERESULT_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/FinishDemandResult.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;
|
||||
|
||||
FinishDemandResult::FinishDemandResult() :
|
||||
TagResourcesResult::TagResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FinishDemandResult::FinishDemandResult(const std::string &payload) :
|
||||
TagResourcesResult::TagResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FinishDemandResult::~FinishDemandResult()
|
||||
TagResourcesResult::~TagResourcesResult()
|
||||
{}
|
||||
|
||||
void FinishDemandResult::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;
|
||||
@@ -175,8 +175,6 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/GetDataSourceMetaResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDeploymentResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetDutyRosterRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetDutyRosterResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetExtensionRequest.h
|
||||
include/alibabacloud/dataworks-public/model/GetExtensionResult.h
|
||||
include/alibabacloud/dataworks-public/model/GetFileRequest.h
|
||||
@@ -319,8 +317,6 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/ListDataSourcesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDeploymentsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDeploymentsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListDutyRostersRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListDutyRostersResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListExtensionsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListExtensionsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h
|
||||
@@ -377,6 +373,10 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/ListRemindsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListShiftPersonnelsRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListShiftPersonnelsResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListShiftSchedulesRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListShiftSchedulesResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountRequest.h
|
||||
include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountResult.h
|
||||
include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h
|
||||
@@ -648,8 +648,6 @@ set(dataworks-public_src
|
||||
src/model/GetDataSourceMetaResult.cc
|
||||
src/model/GetDeploymentRequest.cc
|
||||
src/model/GetDeploymentResult.cc
|
||||
src/model/GetDutyRosterRequest.cc
|
||||
src/model/GetDutyRosterResult.cc
|
||||
src/model/GetExtensionRequest.cc
|
||||
src/model/GetExtensionResult.cc
|
||||
src/model/GetFileRequest.cc
|
||||
@@ -792,8 +790,6 @@ set(dataworks-public_src
|
||||
src/model/ListDataSourcesResult.cc
|
||||
src/model/ListDeploymentsRequest.cc
|
||||
src/model/ListDeploymentsResult.cc
|
||||
src/model/ListDutyRostersRequest.cc
|
||||
src/model/ListDutyRostersResult.cc
|
||||
src/model/ListExtensionsRequest.cc
|
||||
src/model/ListExtensionsResult.cc
|
||||
src/model/ListFileTypeRequest.cc
|
||||
@@ -850,6 +846,10 @@ set(dataworks-public_src
|
||||
src/model/ListRemindsResult.cc
|
||||
src/model/ListResourceGroupsRequest.cc
|
||||
src/model/ListResourceGroupsResult.cc
|
||||
src/model/ListShiftPersonnelsRequest.cc
|
||||
src/model/ListShiftPersonnelsResult.cc
|
||||
src/model/ListShiftSchedulesRequest.cc
|
||||
src/model/ListShiftSchedulesResult.cc
|
||||
src/model/ListSuccessInstanceAmountRequest.cc
|
||||
src/model/ListSuccessInstanceAmountResult.cc
|
||||
src/model/ListTableLevelRequest.cc
|
||||
|
||||
@@ -176,8 +176,6 @@
|
||||
#include "model/GetDataSourceMetaResult.h"
|
||||
#include "model/GetDeploymentRequest.h"
|
||||
#include "model/GetDeploymentResult.h"
|
||||
#include "model/GetDutyRosterRequest.h"
|
||||
#include "model/GetDutyRosterResult.h"
|
||||
#include "model/GetExtensionRequest.h"
|
||||
#include "model/GetExtensionResult.h"
|
||||
#include "model/GetFileRequest.h"
|
||||
@@ -320,8 +318,6 @@
|
||||
#include "model/ListDataSourcesResult.h"
|
||||
#include "model/ListDeploymentsRequest.h"
|
||||
#include "model/ListDeploymentsResult.h"
|
||||
#include "model/ListDutyRostersRequest.h"
|
||||
#include "model/ListDutyRostersResult.h"
|
||||
#include "model/ListExtensionsRequest.h"
|
||||
#include "model/ListExtensionsResult.h"
|
||||
#include "model/ListFileTypeRequest.h"
|
||||
@@ -378,6 +374,10 @@
|
||||
#include "model/ListRemindsResult.h"
|
||||
#include "model/ListResourceGroupsRequest.h"
|
||||
#include "model/ListResourceGroupsResult.h"
|
||||
#include "model/ListShiftPersonnelsRequest.h"
|
||||
#include "model/ListShiftPersonnelsResult.h"
|
||||
#include "model/ListShiftSchedulesRequest.h"
|
||||
#include "model/ListShiftSchedulesResult.h"
|
||||
#include "model/ListSuccessInstanceAmountRequest.h"
|
||||
#include "model/ListSuccessInstanceAmountResult.h"
|
||||
#include "model/ListTableLevelRequest.h"
|
||||
@@ -732,9 +732,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetDeploymentResult> GetDeploymentOutcome;
|
||||
typedef std::future<GetDeploymentOutcome> GetDeploymentOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetDeploymentRequest&, const GetDeploymentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeploymentAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDutyRosterResult> GetDutyRosterOutcome;
|
||||
typedef std::future<GetDutyRosterOutcome> GetDutyRosterOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetDutyRosterRequest&, const GetDutyRosterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDutyRosterAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetExtensionResult> GetExtensionOutcome;
|
||||
typedef std::future<GetExtensionOutcome> GetExtensionOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::GetExtensionRequest&, const GetExtensionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetExtensionAsyncHandler;
|
||||
@@ -948,9 +945,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListDeploymentsResult> ListDeploymentsOutcome;
|
||||
typedef std::future<ListDeploymentsOutcome> ListDeploymentsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListDeploymentsRequest&, const ListDeploymentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeploymentsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDutyRostersResult> ListDutyRostersOutcome;
|
||||
typedef std::future<ListDutyRostersOutcome> ListDutyRostersOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListDutyRostersRequest&, const ListDutyRostersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDutyRostersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListExtensionsResult> ListExtensionsOutcome;
|
||||
typedef std::future<ListExtensionsOutcome> ListExtensionsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListExtensionsRequest&, const ListExtensionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListExtensionsAsyncHandler;
|
||||
@@ -1035,6 +1029,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListResourceGroupsResult> ListResourceGroupsOutcome;
|
||||
typedef std::future<ListResourceGroupsOutcome> ListResourceGroupsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListResourceGroupsRequest&, const ListResourceGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListResourceGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListShiftPersonnelsResult> ListShiftPersonnelsOutcome;
|
||||
typedef std::future<ListShiftPersonnelsOutcome> ListShiftPersonnelsOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListShiftPersonnelsRequest&, const ListShiftPersonnelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListShiftPersonnelsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListShiftSchedulesResult> ListShiftSchedulesOutcome;
|
||||
typedef std::future<ListShiftSchedulesOutcome> ListShiftSchedulesOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListShiftSchedulesRequest&, const ListShiftSchedulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListShiftSchedulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSuccessInstanceAmountResult> ListSuccessInstanceAmountOutcome;
|
||||
typedef std::future<ListSuccessInstanceAmountOutcome> ListSuccessInstanceAmountOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::ListSuccessInstanceAmountRequest&, const ListSuccessInstanceAmountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSuccessInstanceAmountAsyncHandler;
|
||||
@@ -1442,9 +1442,6 @@ namespace AlibabaCloud
|
||||
GetDeploymentOutcome getDeployment(const Model::GetDeploymentRequest &request)const;
|
||||
void getDeploymentAsync(const Model::GetDeploymentRequest& request, const GetDeploymentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDeploymentOutcomeCallable getDeploymentCallable(const Model::GetDeploymentRequest& request) const;
|
||||
GetDutyRosterOutcome getDutyRoster(const Model::GetDutyRosterRequest &request)const;
|
||||
void getDutyRosterAsync(const Model::GetDutyRosterRequest& request, const GetDutyRosterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDutyRosterOutcomeCallable getDutyRosterCallable(const Model::GetDutyRosterRequest& request) const;
|
||||
GetExtensionOutcome getExtension(const Model::GetExtensionRequest &request)const;
|
||||
void getExtensionAsync(const Model::GetExtensionRequest& request, const GetExtensionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetExtensionOutcomeCallable getExtensionCallable(const Model::GetExtensionRequest& request) const;
|
||||
@@ -1658,9 +1655,6 @@ namespace AlibabaCloud
|
||||
ListDeploymentsOutcome listDeployments(const Model::ListDeploymentsRequest &request)const;
|
||||
void listDeploymentsAsync(const Model::ListDeploymentsRequest& request, const ListDeploymentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDeploymentsOutcomeCallable listDeploymentsCallable(const Model::ListDeploymentsRequest& request) const;
|
||||
ListDutyRostersOutcome listDutyRosters(const Model::ListDutyRostersRequest &request)const;
|
||||
void listDutyRostersAsync(const Model::ListDutyRostersRequest& request, const ListDutyRostersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDutyRostersOutcomeCallable listDutyRostersCallable(const Model::ListDutyRostersRequest& request) const;
|
||||
ListExtensionsOutcome listExtensions(const Model::ListExtensionsRequest &request)const;
|
||||
void listExtensionsAsync(const Model::ListExtensionsRequest& request, const ListExtensionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListExtensionsOutcomeCallable listExtensionsCallable(const Model::ListExtensionsRequest& request) const;
|
||||
@@ -1745,6 +1739,12 @@ namespace AlibabaCloud
|
||||
ListResourceGroupsOutcome listResourceGroups(const Model::ListResourceGroupsRequest &request)const;
|
||||
void listResourceGroupsAsync(const Model::ListResourceGroupsRequest& request, const ListResourceGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListResourceGroupsOutcomeCallable listResourceGroupsCallable(const Model::ListResourceGroupsRequest& request) const;
|
||||
ListShiftPersonnelsOutcome listShiftPersonnels(const Model::ListShiftPersonnelsRequest &request)const;
|
||||
void listShiftPersonnelsAsync(const Model::ListShiftPersonnelsRequest& request, const ListShiftPersonnelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListShiftPersonnelsOutcomeCallable listShiftPersonnelsCallable(const Model::ListShiftPersonnelsRequest& request) const;
|
||||
ListShiftSchedulesOutcome listShiftSchedules(const Model::ListShiftSchedulesRequest &request)const;
|
||||
void listShiftSchedulesAsync(const Model::ListShiftSchedulesRequest& request, const ListShiftSchedulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListShiftSchedulesOutcomeCallable listShiftSchedulesCallable(const Model::ListShiftSchedulesRequest& request) const;
|
||||
ListSuccessInstanceAmountOutcome listSuccessInstanceAmount(const Model::ListSuccessInstanceAmountRequest &request)const;
|
||||
void listSuccessInstanceAmountAsync(const Model::ListSuccessInstanceAmountRequest& request, const ListSuccessInstanceAmountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSuccessInstanceAmountOutcomeCallable listSuccessInstanceAmountCallable(const Model::ListSuccessInstanceAmountRequest& request) const;
|
||||
|
||||
@@ -38,21 +38,21 @@ public:
|
||||
void setContent(const std::string &content);
|
||||
std::string getSubType() const;
|
||||
void setSubType(const std::string &subType);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
int getEnvType() const;
|
||||
void setEnvType(int envType);
|
||||
long getProjectId() const;
|
||||
void setProjectId(long projectId);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::string description_;
|
||||
std::string content_;
|
||||
std::string subType_;
|
||||
std::string name_;
|
||||
int envType_;
|
||||
long projectId_;
|
||||
std::string name_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
|
||||
@@ -43,6 +43,8 @@ public:
|
||||
};
|
||||
CreateTableRequest();
|
||||
~CreateTableRequest();
|
||||
std::string getSchema() const;
|
||||
void setSchema(const std::string &schema);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::vector<Columns> getColumns() const;
|
||||
@@ -83,6 +85,7 @@ public:
|
||||
void setComment(const std::string &comment);
|
||||
|
||||
private:
|
||||
std::string schema_;
|
||||
std::string clientToken_;
|
||||
std::vector<Columns> columns_;
|
||||
int lifeCycle_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableRequest : public RpcServic
|
||||
public:
|
||||
DeleteTableRequest();
|
||||
~DeleteTableRequest();
|
||||
std::string getSchema() const;
|
||||
void setSchema(const std::string &schema);
|
||||
int getEnvType() const;
|
||||
void setEnvType(int envType);
|
||||
std::string getTableName() const;
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string schema_;
|
||||
int envType_;
|
||||
std::string tableName_;
|
||||
std::string appGuid_;
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
int lifeCycle;
|
||||
bool isPartitionTable;
|
||||
std::string projectName;
|
||||
std::string schema;
|
||||
long lastAccessTime;
|
||||
long lastModifyTime;
|
||||
int envType;
|
||||
|
||||
@@ -53,6 +53,7 @@ namespace AlibabaCloud
|
||||
long lastDdlTime;
|
||||
long createTime;
|
||||
long totalColumnCount;
|
||||
std::string schema;
|
||||
long projectId;
|
||||
std::string databaseName;
|
||||
long lastAccessTime;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTPERSONNELSREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTPERSONNELSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
@@ -26,29 +26,29 @@
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDutyRosterRequest : public RpcServiceRequest {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListShiftPersonnelsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetDutyRosterRequest();
|
||||
~GetDutyRosterRequest();
|
||||
std::string getDutyRosterIdentifier() const;
|
||||
void setDutyRosterIdentifier(const std::string &dutyRosterIdentifier);
|
||||
std::string getWatchkeeper() const;
|
||||
void setWatchkeeper(const std::string &watchkeeper);
|
||||
ListShiftPersonnelsRequest();
|
||||
~ListShiftPersonnelsRequest();
|
||||
std::string getShiftPersonUID() const;
|
||||
void setShiftPersonUID(const std::string &shiftPersonUID);
|
||||
std::string getUserType() const;
|
||||
void setUserType(const std::string &userType);
|
||||
long getEndTime() const;
|
||||
void setEndTime(long endTime);
|
||||
long getBeginTime() const;
|
||||
void setBeginTime(long beginTime);
|
||||
std::string getShiftScheduleIdentifier() const;
|
||||
void setShiftScheduleIdentifier(const std::string &shiftScheduleIdentifier);
|
||||
|
||||
private:
|
||||
std::string dutyRosterIdentifier_;
|
||||
std::string watchkeeper_;
|
||||
std::string shiftPersonUID_;
|
||||
std::string userType_;
|
||||
long endTime_;
|
||||
long beginTime_;
|
||||
std::string shiftScheduleIdentifier_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTPERSONNELSREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTPERSONNELSRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTPERSONNELSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,26 +29,28 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDutyRostersResult : public ServiceResult
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListShiftPersonnelsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Paging
|
||||
{
|
||||
struct DutyRostersItem
|
||||
struct ShiftPersonsItem
|
||||
{
|
||||
std::string dutyRosterName;
|
||||
std::string dutyRosterIdentifier;
|
||||
std::string shiftPersonName;
|
||||
long endTime;
|
||||
long beginTime;
|
||||
std::string shiftPersonUID;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<DutyRostersItem> dutyRosters;
|
||||
std::vector<ShiftPersonsItem> shiftPersons;
|
||||
};
|
||||
|
||||
|
||||
ListDutyRostersResult();
|
||||
explicit ListDutyRostersResult(const std::string &payload);
|
||||
~ListDutyRostersResult();
|
||||
ListShiftPersonnelsResult();
|
||||
explicit ListShiftPersonnelsResult(const std::string &payload);
|
||||
~ListShiftPersonnelsResult();
|
||||
Paging getPaging()const;
|
||||
|
||||
protected:
|
||||
@@ -60,4 +62,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTPERSONNELSRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTSCHEDULESREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTSCHEDULESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
@@ -26,26 +26,26 @@
|
||||
namespace AlibabaCloud {
|
||||
namespace Dataworks_public {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDutyRostersRequest : public RpcServiceRequest {
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListShiftSchedulesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListDutyRostersRequest();
|
||||
~ListDutyRostersRequest();
|
||||
std::string getDutyRosterOwner() const;
|
||||
void setDutyRosterOwner(const std::string &dutyRosterOwner);
|
||||
std::string getDutyRosterName() const;
|
||||
void setDutyRosterName(const std::string &dutyRosterName);
|
||||
ListShiftSchedulesRequest();
|
||||
~ListShiftSchedulesRequest();
|
||||
std::string getOwner() const;
|
||||
void setOwner(const std::string &owner);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getShiftScheduleName() const;
|
||||
void setShiftScheduleName(const std::string &shiftScheduleName);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string dutyRosterOwner_;
|
||||
std::string dutyRosterName_;
|
||||
std::string owner_;
|
||||
int pageSize_;
|
||||
std::string shiftScheduleName_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dataworks_public
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTSCHEDULESREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERRESULT_H_
|
||||
#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTSCHEDULESRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTSCHEDULESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,28 +29,26 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDutyRosterResult : public ServiceResult
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListShiftSchedulesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Paging
|
||||
{
|
||||
struct DutyRosterItem
|
||||
struct ShiftSchedulesItem
|
||||
{
|
||||
std::string watchkeeperName;
|
||||
std::string watchkeeper;
|
||||
long startLong;
|
||||
long endLong;
|
||||
std::string shiftScheduleIdentifier;
|
||||
std::string shiftScheduleName;
|
||||
};
|
||||
int totalCount;
|
||||
std::vector<DutyRosterItem> dutyRoster;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<ShiftSchedulesItem> shiftSchedules;
|
||||
};
|
||||
|
||||
|
||||
GetDutyRosterResult();
|
||||
explicit GetDutyRosterResult(const std::string &payload);
|
||||
~GetDutyRosterResult();
|
||||
ListShiftSchedulesResult();
|
||||
explicit ListShiftSchedulesResult(const std::string &payload);
|
||||
~ListShiftSchedulesResult();
|
||||
Paging getPaging()const;
|
||||
|
||||
protected:
|
||||
@@ -62,4 +60,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERRESULT_H_
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSHIFTSCHEDULESRESULT_H_
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchMetaTablesRequest : public RpcS
|
||||
public:
|
||||
SearchMetaTablesRequest();
|
||||
~SearchMetaTablesRequest();
|
||||
std::string getSchema() const;
|
||||
void setSchema(const std::string &schema);
|
||||
std::string getDataSourceType() const;
|
||||
void setDataSourceType(const std::string &dataSourceType);
|
||||
std::string getClusterId() const;
|
||||
@@ -46,6 +48,7 @@ public:
|
||||
void setKeyword(const std::string &keyword);
|
||||
|
||||
private:
|
||||
std::string schema_;
|
||||
std::string dataSourceType_;
|
||||
std::string clusterId_;
|
||||
int pageNumber_;
|
||||
|
||||
@@ -43,6 +43,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId;
|
||||
std::string projectName;
|
||||
std::string clusterId;
|
||||
std::string schema;
|
||||
std::string databaseName;
|
||||
long projectId;
|
||||
int envType;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaTableRequest : public RpcSe
|
||||
public:
|
||||
UpdateMetaTableRequest();
|
||||
~UpdateMetaTableRequest();
|
||||
std::string getSchema() const;
|
||||
void setSchema(const std::string &schema);
|
||||
int getVisibility() const;
|
||||
void setVisibility(int visibility);
|
||||
std::string getCaption() const;
|
||||
@@ -52,6 +54,7 @@ public:
|
||||
void setCategoryId(long categoryId);
|
||||
|
||||
private:
|
||||
std::string schema_;
|
||||
int visibility_;
|
||||
std::string caption_;
|
||||
std::string newOwnerId_;
|
||||
|
||||
@@ -43,6 +43,8 @@ public:
|
||||
};
|
||||
UpdateTableRequest();
|
||||
~UpdateTableRequest();
|
||||
std::string getSchema() const;
|
||||
void setSchema(const std::string &schema);
|
||||
std::vector<Columns> getColumns() const;
|
||||
void setColumns(const std::vector<Columns> &columns);
|
||||
int getLifeCycle() const;
|
||||
@@ -83,6 +85,7 @@ public:
|
||||
void setCreateIfNotExists(bool createIfNotExists);
|
||||
|
||||
private:
|
||||
std::string schema_;
|
||||
std::vector<Columns> columns_;
|
||||
int lifeCycle_;
|
||||
std::vector<Themes> themes_;
|
||||
|
||||
@@ -2823,42 +2823,6 @@ Dataworks_publicClient::GetDeploymentOutcomeCallable Dataworks_publicClient::get
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetDutyRosterOutcome Dataworks_publicClient::getDutyRoster(const GetDutyRosterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDutyRosterOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDutyRosterOutcome(GetDutyRosterResult(outcome.result()));
|
||||
else
|
||||
return GetDutyRosterOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::getDutyRosterAsync(const GetDutyRosterRequest& request, const GetDutyRosterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDutyRoster(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetDutyRosterOutcomeCallable Dataworks_publicClient::getDutyRosterCallable(const GetDutyRosterRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDutyRosterOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDutyRoster(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::GetExtensionOutcome Dataworks_publicClient::getExtension(const GetExtensionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5415,42 +5379,6 @@ Dataworks_publicClient::ListDeploymentsOutcomeCallable Dataworks_publicClient::l
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListDutyRostersOutcome Dataworks_publicClient::listDutyRosters(const ListDutyRostersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListDutyRostersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListDutyRostersOutcome(ListDutyRostersResult(outcome.result()));
|
||||
else
|
||||
return ListDutyRostersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listDutyRostersAsync(const ListDutyRostersRequest& request, const ListDutyRostersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listDutyRosters(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListDutyRostersOutcomeCallable Dataworks_publicClient::listDutyRostersCallable(const ListDutyRostersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListDutyRostersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listDutyRosters(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListExtensionsOutcome Dataworks_publicClient::listExtensions(const ListExtensionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6459,6 +6387,78 @@ Dataworks_publicClient::ListResourceGroupsOutcomeCallable Dataworks_publicClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListShiftPersonnelsOutcome Dataworks_publicClient::listShiftPersonnels(const ListShiftPersonnelsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListShiftPersonnelsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListShiftPersonnelsOutcome(ListShiftPersonnelsResult(outcome.result()));
|
||||
else
|
||||
return ListShiftPersonnelsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listShiftPersonnelsAsync(const ListShiftPersonnelsRequest& request, const ListShiftPersonnelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listShiftPersonnels(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListShiftPersonnelsOutcomeCallable Dataworks_publicClient::listShiftPersonnelsCallable(const ListShiftPersonnelsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListShiftPersonnelsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listShiftPersonnels(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListShiftSchedulesOutcome Dataworks_publicClient::listShiftSchedules(const ListShiftSchedulesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListShiftSchedulesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListShiftSchedulesOutcome(ListShiftSchedulesResult(outcome.result()));
|
||||
else
|
||||
return ListShiftSchedulesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::listShiftSchedulesAsync(const ListShiftSchedulesRequest& request, const ListShiftSchedulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listShiftSchedules(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListShiftSchedulesOutcomeCallable Dataworks_publicClient::listShiftSchedulesCallable(const ListShiftSchedulesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListShiftSchedulesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listShiftSchedules(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::ListSuccessInstanceAmountOutcome Dataworks_publicClient::listSuccessInstanceAmount(const ListSuccessInstanceAmountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -61,15 +61,6 @@ void CreateDataSourceRequest::setSubType(const std::string &subType) {
|
||||
setParameter(std::string("SubType"), subType);
|
||||
}
|
||||
|
||||
std::string CreateDataSourceRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateDataSourceRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
int CreateDataSourceRequest::getEnvType() const {
|
||||
return envType_;
|
||||
}
|
||||
@@ -88,3 +79,12 @@ void CreateDataSourceRequest::setProjectId(long projectId) {
|
||||
setParameter(std::string("ProjectId"), std::to_string(projectId));
|
||||
}
|
||||
|
||||
std::string CreateDataSourceRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateDataSourceRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,15 @@ CreateTableRequest::CreateTableRequest()
|
||||
|
||||
CreateTableRequest::~CreateTableRequest() {}
|
||||
|
||||
std::string CreateTableRequest::getSchema() const {
|
||||
return schema_;
|
||||
}
|
||||
|
||||
void CreateTableRequest::setSchema(const std::string &schema) {
|
||||
schema_ = schema;
|
||||
setParameter(std::string("Schema"), schema);
|
||||
}
|
||||
|
||||
std::string CreateTableRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ DeleteTableRequest::DeleteTableRequest()
|
||||
|
||||
DeleteTableRequest::~DeleteTableRequest() {}
|
||||
|
||||
std::string DeleteTableRequest::getSchema() const {
|
||||
return schema_;
|
||||
}
|
||||
|
||||
void DeleteTableRequest::setSchema(const std::string &schema) {
|
||||
schema_ = schema;
|
||||
setParameter(std::string("Schema"), schema);
|
||||
}
|
||||
|
||||
int DeleteTableRequest::getEnvType() const {
|
||||
return envType_;
|
||||
}
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetDutyRosterRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::GetDutyRosterRequest;
|
||||
|
||||
GetDutyRosterRequest::GetDutyRosterRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "GetDutyRoster") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDutyRosterRequest::~GetDutyRosterRequest() {}
|
||||
|
||||
std::string GetDutyRosterRequest::getDutyRosterIdentifier() const {
|
||||
return dutyRosterIdentifier_;
|
||||
}
|
||||
|
||||
void GetDutyRosterRequest::setDutyRosterIdentifier(const std::string &dutyRosterIdentifier) {
|
||||
dutyRosterIdentifier_ = dutyRosterIdentifier;
|
||||
setBodyParameter(std::string("DutyRosterIdentifier"), dutyRosterIdentifier);
|
||||
}
|
||||
|
||||
std::string GetDutyRosterRequest::getWatchkeeper() const {
|
||||
return watchkeeper_;
|
||||
}
|
||||
|
||||
void GetDutyRosterRequest::setWatchkeeper(const std::string &watchkeeper) {
|
||||
watchkeeper_ = watchkeeper;
|
||||
setBodyParameter(std::string("Watchkeeper"), watchkeeper);
|
||||
}
|
||||
|
||||
std::string GetDutyRosterRequest::getUserType() const {
|
||||
return userType_;
|
||||
}
|
||||
|
||||
void GetDutyRosterRequest::setUserType(const std::string &userType) {
|
||||
userType_ = userType;
|
||||
setBodyParameter(std::string("UserType"), userType);
|
||||
}
|
||||
|
||||
long GetDutyRosterRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void GetDutyRosterRequest::setEndTime(long endTime) {
|
||||
endTime_ = endTime;
|
||||
setBodyParameter(std::string("EndTime"), std::to_string(endTime));
|
||||
}
|
||||
|
||||
long GetDutyRosterRequest::getBeginTime() const {
|
||||
return beginTime_;
|
||||
}
|
||||
|
||||
void GetDutyRosterRequest::setBeginTime(long beginTime) {
|
||||
beginTime_ = beginTime;
|
||||
setBodyParameter(std::string("BeginTime"), std::to_string(beginTime));
|
||||
}
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/GetDutyRosterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
GetDutyRosterResult::GetDutyRosterResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDutyRosterResult::GetDutyRosterResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDutyRosterResult::~GetDutyRosterResult()
|
||||
{}
|
||||
|
||||
void GetDutyRosterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto pagingNode = value["Paging"];
|
||||
if(!pagingNode["PageNumber"].isNull())
|
||||
paging_.pageNumber = std::stoi(pagingNode["PageNumber"].asString());
|
||||
if(!pagingNode["PageSize"].isNull())
|
||||
paging_.pageSize = std::stoi(pagingNode["PageSize"].asString());
|
||||
if(!pagingNode["TotalCount"].isNull())
|
||||
paging_.totalCount = std::stoi(pagingNode["TotalCount"].asString());
|
||||
auto allDutyRosterNode = pagingNode["DutyRoster"]["DutyRosterItem"];
|
||||
for (auto pagingNodeDutyRosterDutyRosterItem : allDutyRosterNode)
|
||||
{
|
||||
Paging::DutyRosterItem dutyRosterItemObject;
|
||||
if(!pagingNodeDutyRosterDutyRosterItem["Watchkeeper"].isNull())
|
||||
dutyRosterItemObject.watchkeeper = pagingNodeDutyRosterDutyRosterItem["Watchkeeper"].asString();
|
||||
if(!pagingNodeDutyRosterDutyRosterItem["WatchkeeperName"].isNull())
|
||||
dutyRosterItemObject.watchkeeperName = pagingNodeDutyRosterDutyRosterItem["WatchkeeperName"].asString();
|
||||
if(!pagingNodeDutyRosterDutyRosterItem["StartLong"].isNull())
|
||||
dutyRosterItemObject.startLong = std::stol(pagingNodeDutyRosterDutyRosterItem["StartLong"].asString());
|
||||
if(!pagingNodeDutyRosterDutyRosterItem["EndLong"].isNull())
|
||||
dutyRosterItemObject.endLong = std::stol(pagingNodeDutyRosterDutyRosterItem["EndLong"].asString());
|
||||
paging_.dutyRoster.push_back(dutyRosterItemObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
GetDutyRosterResult::Paging GetDutyRosterResult::getPaging()const
|
||||
{
|
||||
return paging_;
|
||||
}
|
||||
|
||||
@@ -92,6 +92,8 @@ void GetMetaTableBasicInfoResult::parse(const std::string &payload)
|
||||
data_.caption = dataNode["Caption"].asString();
|
||||
if(!dataNode["TenantId"].isNull())
|
||||
data_.tenantId = std::stol(dataNode["TenantId"].asString());
|
||||
if(!dataNode["Schema"].isNull())
|
||||
data_.schema = dataNode["Schema"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
|
||||
@@ -80,6 +80,8 @@ void GetMetaTableFullInfoResult::parse(const std::string &payload)
|
||||
data_.clusterId = dataNode["ClusterId"].asString();
|
||||
if(!dataNode["TenantId"].isNull())
|
||||
data_.tenantId = std::stol(dataNode["TenantId"].asString());
|
||||
if(!dataNode["Schema"].isNull())
|
||||
data_.schema = dataNode["Schema"].asString();
|
||||
auto allColumnListNode = dataNode["ColumnList"]["ColumnListItem"];
|
||||
for (auto dataNodeColumnListColumnListItem : allColumnListNode)
|
||||
{
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListDutyRostersRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListDutyRostersRequest;
|
||||
|
||||
ListDutyRostersRequest::ListDutyRostersRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "ListDutyRosters") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListDutyRostersRequest::~ListDutyRostersRequest() {}
|
||||
|
||||
std::string ListDutyRostersRequest::getDutyRosterOwner() const {
|
||||
return dutyRosterOwner_;
|
||||
}
|
||||
|
||||
void ListDutyRostersRequest::setDutyRosterOwner(const std::string &dutyRosterOwner) {
|
||||
dutyRosterOwner_ = dutyRosterOwner;
|
||||
setBodyParameter(std::string("DutyRosterOwner"), dutyRosterOwner);
|
||||
}
|
||||
|
||||
std::string ListDutyRostersRequest::getDutyRosterName() const {
|
||||
return dutyRosterName_;
|
||||
}
|
||||
|
||||
void ListDutyRostersRequest::setDutyRosterName(const std::string &dutyRosterName) {
|
||||
dutyRosterName_ = dutyRosterName;
|
||||
setBodyParameter(std::string("DutyRosterName"), dutyRosterName);
|
||||
}
|
||||
|
||||
int ListDutyRostersRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListDutyRostersRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int ListDutyRostersRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListDutyRostersRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
72
dataworks-public/src/model/ListShiftPersonnelsRequest.cc
Normal file
72
dataworks-public/src/model/ListShiftPersonnelsRequest.cc
Normal file
@@ -0,0 +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/dataworks-public/model/ListShiftPersonnelsRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListShiftPersonnelsRequest;
|
||||
|
||||
ListShiftPersonnelsRequest::ListShiftPersonnelsRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "ListShiftPersonnels") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListShiftPersonnelsRequest::~ListShiftPersonnelsRequest() {}
|
||||
|
||||
std::string ListShiftPersonnelsRequest::getShiftPersonUID() const {
|
||||
return shiftPersonUID_;
|
||||
}
|
||||
|
||||
void ListShiftPersonnelsRequest::setShiftPersonUID(const std::string &shiftPersonUID) {
|
||||
shiftPersonUID_ = shiftPersonUID;
|
||||
setBodyParameter(std::string("ShiftPersonUID"), shiftPersonUID);
|
||||
}
|
||||
|
||||
std::string ListShiftPersonnelsRequest::getUserType() const {
|
||||
return userType_;
|
||||
}
|
||||
|
||||
void ListShiftPersonnelsRequest::setUserType(const std::string &userType) {
|
||||
userType_ = userType;
|
||||
setBodyParameter(std::string("UserType"), userType);
|
||||
}
|
||||
|
||||
long ListShiftPersonnelsRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListShiftPersonnelsRequest::setEndTime(long endTime) {
|
||||
endTime_ = endTime;
|
||||
setBodyParameter(std::string("EndTime"), std::to_string(endTime));
|
||||
}
|
||||
|
||||
long ListShiftPersonnelsRequest::getBeginTime() const {
|
||||
return beginTime_;
|
||||
}
|
||||
|
||||
void ListShiftPersonnelsRequest::setBeginTime(long beginTime) {
|
||||
beginTime_ = beginTime;
|
||||
setBodyParameter(std::string("BeginTime"), std::to_string(beginTime));
|
||||
}
|
||||
|
||||
std::string ListShiftPersonnelsRequest::getShiftScheduleIdentifier() const {
|
||||
return shiftScheduleIdentifier_;
|
||||
}
|
||||
|
||||
void ListShiftPersonnelsRequest::setShiftScheduleIdentifier(const std::string &shiftScheduleIdentifier) {
|
||||
shiftScheduleIdentifier_ = shiftScheduleIdentifier;
|
||||
setBodyParameter(std::string("ShiftScheduleIdentifier"), shiftScheduleIdentifier);
|
||||
}
|
||||
|
||||
70
dataworks-public/src/model/ListShiftPersonnelsResult.cc
Normal file
70
dataworks-public/src/model/ListShiftPersonnelsResult.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/dataworks-public/model/ListShiftPersonnelsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListShiftPersonnelsResult::ListShiftPersonnelsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListShiftPersonnelsResult::ListShiftPersonnelsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListShiftPersonnelsResult::~ListShiftPersonnelsResult()
|
||||
{}
|
||||
|
||||
void ListShiftPersonnelsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto pagingNode = value["Paging"];
|
||||
if(!pagingNode["PageNumber"].isNull())
|
||||
paging_.pageNumber = std::stoi(pagingNode["PageNumber"].asString());
|
||||
if(!pagingNode["PageSize"].isNull())
|
||||
paging_.pageSize = std::stoi(pagingNode["PageSize"].asString());
|
||||
if(!pagingNode["TotalCount"].isNull())
|
||||
paging_.totalCount = std::stoi(pagingNode["TotalCount"].asString());
|
||||
auto allShiftPersonsNode = pagingNode["ShiftPersons"]["ShiftPersonsItem"];
|
||||
for (auto pagingNodeShiftPersonsShiftPersonsItem : allShiftPersonsNode)
|
||||
{
|
||||
Paging::ShiftPersonsItem shiftPersonsItemObject;
|
||||
if(!pagingNodeShiftPersonsShiftPersonsItem["ShiftPersonUID"].isNull())
|
||||
shiftPersonsItemObject.shiftPersonUID = pagingNodeShiftPersonsShiftPersonsItem["ShiftPersonUID"].asString();
|
||||
if(!pagingNodeShiftPersonsShiftPersonsItem["ShiftPersonName"].isNull())
|
||||
shiftPersonsItemObject.shiftPersonName = pagingNodeShiftPersonsShiftPersonsItem["ShiftPersonName"].asString();
|
||||
if(!pagingNodeShiftPersonsShiftPersonsItem["BeginTime"].isNull())
|
||||
shiftPersonsItemObject.beginTime = std::stol(pagingNodeShiftPersonsShiftPersonsItem["BeginTime"].asString());
|
||||
if(!pagingNodeShiftPersonsShiftPersonsItem["EndTime"].isNull())
|
||||
shiftPersonsItemObject.endTime = std::stol(pagingNodeShiftPersonsShiftPersonsItem["EndTime"].asString());
|
||||
paging_.shiftPersons.push_back(shiftPersonsItemObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
ListShiftPersonnelsResult::Paging ListShiftPersonnelsResult::getPaging()const
|
||||
{
|
||||
return paging_;
|
||||
}
|
||||
|
||||
63
dataworks-public/src/model/ListShiftSchedulesRequest.cc
Normal file
63
dataworks-public/src/model/ListShiftSchedulesRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListShiftSchedulesRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::ListShiftSchedulesRequest;
|
||||
|
||||
ListShiftSchedulesRequest::ListShiftSchedulesRequest()
|
||||
: RpcServiceRequest("dataworks-public", "2020-05-18", "ListShiftSchedules") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListShiftSchedulesRequest::~ListShiftSchedulesRequest() {}
|
||||
|
||||
std::string ListShiftSchedulesRequest::getOwner() const {
|
||||
return owner_;
|
||||
}
|
||||
|
||||
void ListShiftSchedulesRequest::setOwner(const std::string &owner) {
|
||||
owner_ = owner;
|
||||
setBodyParameter(std::string("Owner"), owner);
|
||||
}
|
||||
|
||||
int ListShiftSchedulesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListShiftSchedulesRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListShiftSchedulesRequest::getShiftScheduleName() const {
|
||||
return shiftScheduleName_;
|
||||
}
|
||||
|
||||
void ListShiftSchedulesRequest::setShiftScheduleName(const std::string &shiftScheduleName) {
|
||||
shiftScheduleName_ = shiftScheduleName;
|
||||
setBodyParameter(std::string("ShiftScheduleName"), shiftScheduleName);
|
||||
}
|
||||
|
||||
int ListShiftSchedulesRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListShiftSchedulesRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/ListDutyRostersResult.h>
|
||||
#include <alibabacloud/dataworks-public/model/ListShiftSchedulesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
ListDutyRostersResult::ListDutyRostersResult() :
|
||||
ListShiftSchedulesResult::ListShiftSchedulesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListDutyRostersResult::ListDutyRostersResult(const std::string &payload) :
|
||||
ListShiftSchedulesResult::ListShiftSchedulesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListDutyRostersResult::~ListDutyRostersResult()
|
||||
ListShiftSchedulesResult::~ListShiftSchedulesResult()
|
||||
{}
|
||||
|
||||
void ListDutyRostersResult::parse(const std::string &payload)
|
||||
void ListShiftSchedulesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -46,20 +46,20 @@ void ListDutyRostersResult::parse(const std::string &payload)
|
||||
paging_.pageSize = std::stoi(pagingNode["PageSize"].asString());
|
||||
if(!pagingNode["TotalCount"].isNull())
|
||||
paging_.totalCount = std::stoi(pagingNode["TotalCount"].asString());
|
||||
auto allDutyRostersNode = pagingNode["DutyRosters"]["DutyRostersItem"];
|
||||
for (auto pagingNodeDutyRostersDutyRostersItem : allDutyRostersNode)
|
||||
auto allShiftSchedulesNode = pagingNode["ShiftSchedules"]["ShiftSchedulesItem"];
|
||||
for (auto pagingNodeShiftSchedulesShiftSchedulesItem : allShiftSchedulesNode)
|
||||
{
|
||||
Paging::DutyRostersItem dutyRostersItemObject;
|
||||
if(!pagingNodeDutyRostersDutyRostersItem["DutyRosterIdentifier"].isNull())
|
||||
dutyRostersItemObject.dutyRosterIdentifier = pagingNodeDutyRostersDutyRostersItem["DutyRosterIdentifier"].asString();
|
||||
if(!pagingNodeDutyRostersDutyRostersItem["DutyRosterName"].isNull())
|
||||
dutyRostersItemObject.dutyRosterName = pagingNodeDutyRostersDutyRostersItem["DutyRosterName"].asString();
|
||||
paging_.dutyRosters.push_back(dutyRostersItemObject);
|
||||
Paging::ShiftSchedulesItem shiftSchedulesItemObject;
|
||||
if(!pagingNodeShiftSchedulesShiftSchedulesItem["ShiftScheduleIdentifier"].isNull())
|
||||
shiftSchedulesItemObject.shiftScheduleIdentifier = pagingNodeShiftSchedulesShiftSchedulesItem["ShiftScheduleIdentifier"].asString();
|
||||
if(!pagingNodeShiftSchedulesShiftSchedulesItem["ShiftScheduleName"].isNull())
|
||||
shiftSchedulesItemObject.shiftScheduleName = pagingNodeShiftSchedulesShiftSchedulesItem["ShiftScheduleName"].asString();
|
||||
paging_.shiftSchedules.push_back(shiftSchedulesItemObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
ListDutyRostersResult::Paging ListDutyRostersResult::getPaging()const
|
||||
ListShiftSchedulesResult::Paging ListShiftSchedulesResult::getPaging()const
|
||||
{
|
||||
return paging_;
|
||||
}
|
||||
@@ -25,6 +25,15 @@ SearchMetaTablesRequest::SearchMetaTablesRequest()
|
||||
|
||||
SearchMetaTablesRequest::~SearchMetaTablesRequest() {}
|
||||
|
||||
std::string SearchMetaTablesRequest::getSchema() const {
|
||||
return schema_;
|
||||
}
|
||||
|
||||
void SearchMetaTablesRequest::setSchema(const std::string &schema) {
|
||||
schema_ = schema;
|
||||
setParameter(std::string("Schema"), schema);
|
||||
}
|
||||
|
||||
std::string SearchMetaTablesRequest::getDataSourceType() const {
|
||||
return dataSourceType_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,8 @@ void SearchMetaTablesResult::parse(const std::string &payload)
|
||||
dataEntityListItemObject.envType = std::stoi(dataNodeDataEntityListDataEntityListItem["EnvType"].asString());
|
||||
if(!dataNodeDataEntityListDataEntityListItem["TenantId"].isNull())
|
||||
dataEntityListItemObject.tenantId = std::stol(dataNodeDataEntityListDataEntityListItem["TenantId"].asString());
|
||||
if(!dataNodeDataEntityListDataEntityListItem["Schema"].isNull())
|
||||
dataEntityListItemObject.schema = dataNodeDataEntityListDataEntityListItem["Schema"].asString();
|
||||
data_.dataEntityList.push_back(dataEntityListItemObject);
|
||||
}
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
|
||||
@@ -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_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ UpdateMetaTableRequest::UpdateMetaTableRequest()
|
||||
|
||||
UpdateMetaTableRequest::~UpdateMetaTableRequest() {}
|
||||
|
||||
std::string UpdateMetaTableRequest::getSchema() const {
|
||||
return schema_;
|
||||
}
|
||||
|
||||
void UpdateMetaTableRequest::setSchema(const std::string &schema) {
|
||||
schema_ = schema;
|
||||
setParameter(std::string("Schema"), schema);
|
||||
}
|
||||
|
||||
int UpdateMetaTableRequest::getVisibility() const {
|
||||
return visibility_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ UpdateTableRequest::UpdateTableRequest()
|
||||
|
||||
UpdateTableRequest::~UpdateTableRequest() {}
|
||||
|
||||
std::string UpdateTableRequest::getSchema() const {
|
||||
return schema_;
|
||||
}
|
||||
|
||||
void UpdateTableRequest::setSchema(const std::string &schema) {
|
||||
schema_ = schema;
|
||||
setParameter(std::string("Schema"), schema);
|
||||
}
|
||||
|
||||
std::vector<UpdateTableRequest::Columns> UpdateTableRequest::getColumns() const {
|
||||
return columns_;
|
||||
}
|
||||
|
||||
@@ -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_
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user