Supported etlOperatorColumnReference for ModifyDtsJob.
This commit is contained in:
@@ -114,6 +114,8 @@
|
||||
#include "model/DescribeSynchronizationJobsResult.h"
|
||||
#include "model/DescribeSynchronizationObjectModifyStatusRequest.h"
|
||||
#include "model/DescribeSynchronizationObjectModifyStatusResult.h"
|
||||
#include "model/IgnoreJobDetailRequest.h"
|
||||
#include "model/IgnoreJobDetailResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ModifyConsumerChannelRequest.h"
|
||||
@@ -156,6 +158,8 @@
|
||||
#include "model/StopDtsJobResult.h"
|
||||
#include "model/StopMigrationJobRequest.h"
|
||||
#include "model/StopMigrationJobResult.h"
|
||||
#include "model/SummaryJobDetailRequest.h"
|
||||
#include "model/SummaryJobDetailResult.h"
|
||||
#include "model/SuspendDtsJobRequest.h"
|
||||
#include "model/SuspendDtsJobResult.h"
|
||||
#include "model/SuspendMigrationJobRequest.h"
|
||||
@@ -323,6 +327,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeSynchronizationObjectModifyStatusResult> DescribeSynchronizationObjectModifyStatusOutcome;
|
||||
typedef std::future<DescribeSynchronizationObjectModifyStatusOutcome> DescribeSynchronizationObjectModifyStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationObjectModifyStatusRequest&, const DescribeSynchronizationObjectModifyStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationObjectModifyStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::IgnoreJobDetailResult> IgnoreJobDetailOutcome;
|
||||
typedef std::future<IgnoreJobDetailOutcome> IgnoreJobDetailOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::IgnoreJobDetailRequest&, const IgnoreJobDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> IgnoreJobDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
@@ -386,6 +393,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::StopMigrationJobResult> StopMigrationJobOutcome;
|
||||
typedef std::future<StopMigrationJobOutcome> StopMigrationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::StopMigrationJobRequest&, const StopMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMigrationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::SummaryJobDetailResult> SummaryJobDetailOutcome;
|
||||
typedef std::future<SummaryJobDetailOutcome> SummaryJobDetailOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::SummaryJobDetailRequest&, const SummaryJobDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SummaryJobDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::SuspendDtsJobResult> SuspendDtsJobOutcome;
|
||||
typedef std::future<SuspendDtsJobOutcome> SuspendDtsJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::SuspendDtsJobRequest&, const SuspendDtsJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuspendDtsJobAsyncHandler;
|
||||
@@ -559,6 +569,9 @@ namespace AlibabaCloud
|
||||
DescribeSynchronizationObjectModifyStatusOutcome describeSynchronizationObjectModifyStatus(const Model::DescribeSynchronizationObjectModifyStatusRequest &request)const;
|
||||
void describeSynchronizationObjectModifyStatusAsync(const Model::DescribeSynchronizationObjectModifyStatusRequest& request, const DescribeSynchronizationObjectModifyStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSynchronizationObjectModifyStatusOutcomeCallable describeSynchronizationObjectModifyStatusCallable(const Model::DescribeSynchronizationObjectModifyStatusRequest& request) const;
|
||||
IgnoreJobDetailOutcome ignoreJobDetail(const Model::IgnoreJobDetailRequest &request)const;
|
||||
void ignoreJobDetailAsync(const Model::IgnoreJobDetailRequest& request, const IgnoreJobDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
IgnoreJobDetailOutcomeCallable ignoreJobDetailCallable(const Model::IgnoreJobDetailRequest& 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;
|
||||
@@ -622,6 +635,9 @@ namespace AlibabaCloud
|
||||
StopMigrationJobOutcome stopMigrationJob(const Model::StopMigrationJobRequest &request)const;
|
||||
void stopMigrationJobAsync(const Model::StopMigrationJobRequest& request, const StopMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopMigrationJobOutcomeCallable stopMigrationJobCallable(const Model::StopMigrationJobRequest& request) const;
|
||||
SummaryJobDetailOutcome summaryJobDetail(const Model::SummaryJobDetailRequest &request)const;
|
||||
void summaryJobDetailAsync(const Model::SummaryJobDetailRequest& request, const SummaryJobDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SummaryJobDetailOutcomeCallable summaryJobDetailCallable(const Model::SummaryJobDetailRequest& request) const;
|
||||
SuspendDtsJobOutcome suspendDtsJob(const Model::SuspendDtsJobRequest &request)const;
|
||||
void suspendDtsJobAsync(const Model::SuspendDtsJobRequest& request, const SuspendDtsJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SuspendDtsJobOutcomeCallable suspendDtsJobCallable(const Model::SuspendDtsJobRequest& request) const;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setPageSize(const std::string& pageSize);
|
||||
std::string getJobCode()const;
|
||||
void setJobCode(const std::string& jobCode);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getStructPhase()const;
|
||||
@@ -56,6 +58,7 @@ namespace AlibabaCloud
|
||||
std::string pageNo_;
|
||||
std::string pageSize_;
|
||||
std::string jobCode_;
|
||||
std::string name_;
|
||||
std::string dtsJobId_;
|
||||
std::string structPhase_;
|
||||
|
||||
|
||||
@@ -62,6 +62,7 @@ namespace AlibabaCloud
|
||||
int total;
|
||||
bool skip;
|
||||
std::string errDetail;
|
||||
std::string id;
|
||||
std::string jobId;
|
||||
std::string ddlSql;
|
||||
};
|
||||
@@ -97,6 +98,7 @@ namespace AlibabaCloud
|
||||
int total;
|
||||
bool skip;
|
||||
std::string errDetail;
|
||||
std::string id;
|
||||
std::string jobId;
|
||||
std::string ddlSql;
|
||||
};
|
||||
|
||||
63
dts/include/alibabacloud/dts/model/IgnoreJobDetailRequest.h
Normal file
63
dts/include/alibabacloud/dts/model/IgnoreJobDetailRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_IGNOREJOBDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_IGNOREJOBDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT IgnoreJobDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
IgnoreJobDetailRequest();
|
||||
~IgnoreJobDetailRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobCode()const;
|
||||
void setJobCode(const std::string& jobCode);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string jobCode_;
|
||||
std::string dtsJobId_;
|
||||
std::string id_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_IGNOREJOBDETAILREQUEST_H_
|
||||
55
dts/include/alibabacloud/dts/model/IgnoreJobDetailResult.h
Normal file
55
dts/include/alibabacloud/dts/model/IgnoreJobDetailResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_IGNOREJOBDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_IGNOREJOBDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT IgnoreJobDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
IgnoreJobDetailResult();
|
||||
explicit IgnoreJobDetailResult(const std::string &payload);
|
||||
~IgnoreJobDetailResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_IGNOREJOBDETAILRESULT_H_
|
||||
@@ -45,8 +45,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getReserve()const;
|
||||
void setReserve(const std::string& reserve);
|
||||
std::string getEtlOperatorColumnReference()const;
|
||||
void setEtlOperatorColumnReference(const std::string& etlOperatorColumnReference);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
@@ -58,7 +58,7 @@ namespace AlibabaCloud
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string reserve_;
|
||||
std::string etlOperatorColumnReference_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
|
||||
60
dts/include/alibabacloud/dts/model/SummaryJobDetailRequest.h
Normal file
60
dts/include/alibabacloud/dts/model/SummaryJobDetailRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_SUMMARYJOBDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_SUMMARYJOBDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT SummaryJobDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SummaryJobDetailRequest();
|
||||
~SummaryJobDetailRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobCode()const;
|
||||
void setJobCode(const std::string& jobCode);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string jobCode_;
|
||||
std::string dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_SUMMARYJOBDETAILREQUEST_H_
|
||||
65
dts/include/alibabacloud/dts/model/SummaryJobDetailResult.h
Normal file
65
dts/include/alibabacloud/dts/model/SummaryJobDetailResult.h
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_SUMMARYJOBDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_SUMMARYJOBDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT SummaryJobDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ProgressSummaryDetail
|
||||
{
|
||||
long totalCount;
|
||||
int state;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
|
||||
SummaryJobDetailResult();
|
||||
explicit SummaryJobDetailResult(const std::string &payload);
|
||||
~SummaryJobDetailResult();
|
||||
std::vector<ProgressSummaryDetail> getProgressSummaryDetails()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
std::string getJobId()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ProgressSummaryDetail> progressSummaryDetails_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
std::string jobId_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_SUMMARYJOBDETAILRESULT_H_
|
||||
Reference in New Issue
Block a user