Add TaskId for DescribeMigrationJobStatus, DescribeSubscriptionInstanceStatus, DescribeSynchronizationJobStatus.
This commit is contained in:
159
dts/include/alibabacloud/dts/model/ConfigureDtsJobRequest.h
Normal file
159
dts/include/alibabacloud/dts/model/ConfigureDtsJobRequest.h
Normal file
@@ -0,0 +1,159 @@
|
||||
/*
|
||||
* 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_CONFIGUREDTSJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CONFIGUREDTSJOBREQUEST_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 ConfigureDtsJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConfigureDtsJobRequest();
|
||||
~ConfigureDtsJobRequest();
|
||||
|
||||
std::string getCheckpoint()const;
|
||||
void setCheckpoint(const std::string& checkpoint);
|
||||
std::string getSourceEndpointUserName()const;
|
||||
void setSourceEndpointUserName(const std::string& sourceEndpointUserName);
|
||||
std::string getDelayPhone()const;
|
||||
void setDelayPhone(const std::string& delayPhone);
|
||||
std::string getSourceEndpointIP()const;
|
||||
void setSourceEndpointIP(const std::string& sourceEndpointIP);
|
||||
std::string getErrorPhone()const;
|
||||
void setErrorPhone(const std::string& errorPhone);
|
||||
std::string getDestinationEndpointUserName()const;
|
||||
void setDestinationEndpointUserName(const std::string& destinationEndpointUserName);
|
||||
std::string getDtsJobId()const;
|
||||
void setDtsJobId(const std::string& dtsJobId);
|
||||
std::string getDbList()const;
|
||||
void setDbList(const std::string& dbList);
|
||||
std::string getDestinationEndpointOracleSID()const;
|
||||
void setDestinationEndpointOracleSID(const std::string& destinationEndpointOracleSID);
|
||||
std::string getDestinationEndpointPort()const;
|
||||
void setDestinationEndpointPort(const std::string& destinationEndpointPort);
|
||||
std::string getSourceEndpointPassword()const;
|
||||
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getJobType()const;
|
||||
void setJobType(const std::string& jobType);
|
||||
long getDelayRuleTime()const;
|
||||
void setDelayRuleTime(long delayRuleTime);
|
||||
std::string getDestinationEndpointIP()const;
|
||||
void setDestinationEndpointIP(const std::string& destinationEndpointIP);
|
||||
std::string getSourceEndpointInstanceType()const;
|
||||
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
|
||||
std::string getDtsJobName()const;
|
||||
void setDtsJobName(const std::string& dtsJobName);
|
||||
std::string getDtsInstanceId()const;
|
||||
void setDtsInstanceId(const std::string& dtsInstanceId);
|
||||
std::string getSourceEndpointRegion()const;
|
||||
void setSourceEndpointRegion(const std::string& sourceEndpointRegion);
|
||||
bool getDelayNotice()const;
|
||||
void setDelayNotice(bool delayNotice);
|
||||
std::string getDestinationEndpointInstanceType()const;
|
||||
void setDestinationEndpointInstanceType(const std::string& destinationEndpointInstanceType);
|
||||
bool getDataInitialization()const;
|
||||
void setDataInitialization(bool dataInitialization);
|
||||
std::string getSourceEndpointInstanceID()const;
|
||||
void setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID);
|
||||
bool getStructureInitialization()const;
|
||||
void setStructureInitialization(bool structureInitialization);
|
||||
std::string getSourceEndpointOwnerID()const;
|
||||
void setSourceEndpointOwnerID(const std::string& sourceEndpointOwnerID);
|
||||
std::string getSourceEndpointDatabaseName()const;
|
||||
void setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName);
|
||||
std::string getDestinationEndpointRegion()const;
|
||||
void setDestinationEndpointRegion(const std::string& destinationEndpointRegion);
|
||||
std::string getReserve()const;
|
||||
void setReserve(const std::string& reserve);
|
||||
bool getDataSynchronization()const;
|
||||
void setDataSynchronization(bool dataSynchronization);
|
||||
std::string getDestinationEndpointEngineName()const;
|
||||
void setDestinationEndpointEngineName(const std::string& destinationEndpointEngineName);
|
||||
std::string getDestinationEndpointInstanceID()const;
|
||||
void setDestinationEndpointInstanceID(const std::string& destinationEndpointInstanceID);
|
||||
std::string getSourceEndpointPort()const;
|
||||
void setSourceEndpointPort(const std::string& sourceEndpointPort);
|
||||
std::string getSourceEndpointOracleSID()const;
|
||||
void setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID);
|
||||
std::string getDestinationEndpointDataBaseName()const;
|
||||
void setDestinationEndpointDataBaseName(const std::string& destinationEndpointDataBaseName);
|
||||
bool getErrorNotice()const;
|
||||
void setErrorNotice(bool errorNotice);
|
||||
std::string getSourceEndpointRole()const;
|
||||
void setSourceEndpointRole(const std::string& sourceEndpointRole);
|
||||
std::string getDestinationEndpointPassword()const;
|
||||
void setDestinationEndpointPassword(const std::string& destinationEndpointPassword);
|
||||
std::string getSourceEndpointEngineName()const;
|
||||
void setSourceEndpointEngineName(const std::string& sourceEndpointEngineName);
|
||||
|
||||
private:
|
||||
std::string checkpoint_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string delayPhone_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string errorPhone_;
|
||||
std::string destinationEndpointUserName_;
|
||||
std::string dtsJobId_;
|
||||
std::string dbList_;
|
||||
std::string destinationEndpointOracleSID_;
|
||||
std::string destinationEndpointPort_;
|
||||
std::string sourceEndpointPassword_;
|
||||
std::string ownerId_;
|
||||
std::string jobType_;
|
||||
long delayRuleTime_;
|
||||
std::string destinationEndpointIP_;
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string dtsJobName_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string sourceEndpointRegion_;
|
||||
bool delayNotice_;
|
||||
std::string destinationEndpointInstanceType_;
|
||||
bool dataInitialization_;
|
||||
std::string sourceEndpointInstanceID_;
|
||||
bool structureInitialization_;
|
||||
std::string sourceEndpointOwnerID_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
std::string destinationEndpointRegion_;
|
||||
std::string reserve_;
|
||||
bool dataSynchronization_;
|
||||
std::string destinationEndpointEngineName_;
|
||||
std::string destinationEndpointInstanceID_;
|
||||
std::string sourceEndpointPort_;
|
||||
std::string sourceEndpointOracleSID_;
|
||||
std::string destinationEndpointDataBaseName_;
|
||||
bool errorNotice_;
|
||||
std::string sourceEndpointRole_;
|
||||
std::string destinationEndpointPassword_;
|
||||
std::string sourceEndpointEngineName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGUREDTSJOBREQUEST_H_
|
||||
61
dts/include/alibabacloud/dts/model/ConfigureDtsJobResult.h
Normal file
61
dts/include/alibabacloud/dts/model/ConfigureDtsJobResult.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CONFIGUREDTSJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CONFIGUREDTSJOBRESULT_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 ConfigureDtsJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ConfigureDtsJobResult();
|
||||
explicit ConfigureDtsJobResult(const std::string &payload);
|
||||
~ConfigureDtsJobResult();
|
||||
std::string getDtsJobId()const;
|
||||
std::string getHttpStatusCode()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getDtsInstanceId()const;
|
||||
std::string getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dtsJobId_;
|
||||
std::string httpStatusCode_;
|
||||
std::string errMessage_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGUREDTSJOBRESULT_H_
|
||||
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CREATEDTSINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CREATEDTSINSTANCEREQUEST_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 CreateDtsInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDtsInstanceRequest();
|
||||
~CreateDtsInstanceRequest();
|
||||
|
||||
bool getAutoStart()const;
|
||||
void setAutoStart(bool autoStart);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getInstanceClass()const;
|
||||
void setInstanceClass(const std::string& instanceClass);
|
||||
int getDatabaseCount()const;
|
||||
void setDatabaseCount(int databaseCount);
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
std::string getDestinationRegion()const;
|
||||
void setDestinationRegion(const std::string& destinationRegion);
|
||||
std::string getPeriod()const;
|
||||
void setPeriod(const std::string& period);
|
||||
std::string getDestinationEndpointEngineName()const;
|
||||
void setDestinationEndpointEngineName(const std::string& destinationEndpointEngineName);
|
||||
int getQuantity()const;
|
||||
void setQuantity(int quantity);
|
||||
bool getAutoPay()const;
|
||||
void setAutoPay(bool autoPay);
|
||||
int getUsedTime()const;
|
||||
void setUsedTime(int usedTime);
|
||||
std::string getSyncArchitecture()const;
|
||||
void setSyncArchitecture(const std::string& syncArchitecture);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
std::string getSourceRegion()const;
|
||||
void setSourceRegion(const std::string& sourceRegion);
|
||||
std::string getSourceEndpointEngineName()const;
|
||||
void setSourceEndpointEngineName(const std::string& sourceEndpointEngineName);
|
||||
|
||||
private:
|
||||
bool autoStart_;
|
||||
std::string type_;
|
||||
std::string instanceClass_;
|
||||
int databaseCount_;
|
||||
std::string jobId_;
|
||||
std::string destinationRegion_;
|
||||
std::string period_;
|
||||
std::string destinationEndpointEngineName_;
|
||||
int quantity_;
|
||||
bool autoPay_;
|
||||
int usedTime_;
|
||||
std::string syncArchitecture_;
|
||||
std::string payType_;
|
||||
std::string sourceRegion_;
|
||||
std::string sourceEndpointEngineName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CREATEDTSINSTANCEREQUEST_H_
|
||||
59
dts/include/alibabacloud/dts/model/CreateDtsInstanceResult.h
Normal file
59
dts/include/alibabacloud/dts/model/CreateDtsInstanceResult.h
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CREATEDTSINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CREATEDTSINSTANCERESULT_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 CreateDtsInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDtsInstanceResult();
|
||||
explicit CreateDtsInstanceResult(const std::string &payload);
|
||||
~CreateDtsInstanceResult();
|
||||
std::string getInstanceId()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getSuccess()const;
|
||||
std::string getJobId()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string errMessage_;
|
||||
std::string success_;
|
||||
std::string jobId_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CREATEDTSINSTANCERESULT_H_
|
||||
54
dts/include/alibabacloud/dts/model/StartDtsJobRequest.h
Normal file
54
dts/include/alibabacloud/dts/model/StartDtsJobRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_STARTDTSJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_STARTDTSJOBREQUEST_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 StartDtsJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartDtsJobRequest();
|
||||
~StartDtsJobRequest();
|
||||
|
||||
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 dtsJobId_;
|
||||
std::string dtsInstanceId_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_STARTDTSJOBREQUEST_H_
|
||||
61
dts/include/alibabacloud/dts/model/StartDtsJobResult.h
Normal file
61
dts/include/alibabacloud/dts/model/StartDtsJobResult.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_STARTDTSJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_STARTDTSJOBRESULT_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 StartDtsJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartDtsJobResult();
|
||||
explicit StartDtsJobResult(const std::string &payload);
|
||||
~StartDtsJobResult();
|
||||
int getHttpStatusCode()const;
|
||||
std::string getDynamicCode()const;
|
||||
std::string getDynamicMessage()const;
|
||||
std::string getErrMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int httpStatusCode_;
|
||||
std::string dynamicCode_;
|
||||
std::string dynamicMessage_;
|
||||
std::string errMessage_;
|
||||
bool success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_STARTDTSJOBRESULT_H_
|
||||
Reference in New Issue
Block a user