Compare commits

..

6 Commits

Author SHA1 Message Date
sdk-team
524b68ac01 Add QueryEmbedTokenInfo,DeleteEmbedToken,CreateEmbedToken,DelayEmbedToken,BuildSignatureUrl, and update QueryDatasetInfo,AuthorizeMenu,AddUserTagMeta,AddUser. 2021-10-26 12:24:04 +00:00
sdk-team
e6902accf9 Update Dyvmsapi SDK. 2021-10-26 02:42:18 +00:00
sdk-team
eda4d09d82 DescribeDtsJobs api, delay filed change from int to long. 2021-10-25 12:10:42 +00:00
sdk-team
537988875e Generated 2016-04-08 for Emr. 2021-10-25 03:40:00 +00:00
sdk-team
d6278ad8a3 Generated 2016-11-01 for live. 2021-10-25 03:26:38 +00:00
sdk-team
c0e3f6e782 Update Open API. 2021-10-21 13:39:55 +00:00
553 changed files with 30663 additions and 8542 deletions

View File

@@ -1,3 +1,21 @@
2021-10-26 Version: 1.36.911
- Add QueryEmbedTokenInfo,DeleteEmbedToken,CreateEmbedToken,DelayEmbedToken,BuildSignatureUrl, and update QueryDatasetInfo,AuthorizeMenu,AddUserTagMeta,AddUser.
2021-10-26 Version: 1.36.910
- Update Dyvmsapi SDK.
2021-10-25 Version: 1.36.909
- DescribeDtsJobs api, delay filed change from int to long.
2021-10-25 Version: 1.36.908
- Generated 2016-04-08 for `Emr`.
2021-10-25 Version: 1.36.907
- Generated 2016-11-01 for `live`.
2021-10-21 Version: 1.36.906
- Update Open API.
2021-10-21 Version: 1.36.905
- Generated 2020-05-18 for `dataworks-public`.

View File

@@ -1 +1 @@
1.36.905
1.36.911

View File

@@ -39,6 +39,8 @@ set(dts_public_header_model
include/alibabacloud/dts/model/ConfigureSynchronizationJobAlertResult.h
include/alibabacloud/dts/model/ConfigureSynchronizationJobReplicatorCompareRequest.h
include/alibabacloud/dts/model/ConfigureSynchronizationJobReplicatorCompareResult.h
include/alibabacloud/dts/model/CountJobByConditionRequest.h
include/alibabacloud/dts/model/CountJobByConditionResult.h
include/alibabacloud/dts/model/CreateConsumerChannelRequest.h
include/alibabacloud/dts/model/CreateConsumerChannelResult.h
include/alibabacloud/dts/model/CreateConsumerGroupRequest.h
@@ -113,8 +115,8 @@ set(dts_public_header_model
include/alibabacloud/dts/model/DescribeSynchronizationJobsResult.h
include/alibabacloud/dts/model/DescribeSynchronizationObjectModifyStatusRequest.h
include/alibabacloud/dts/model/DescribeSynchronizationObjectModifyStatusResult.h
include/alibabacloud/dts/model/IgnoreJobDetailRequest.h
include/alibabacloud/dts/model/IgnoreJobDetailResult.h
include/alibabacloud/dts/model/InitDtsRdsInstanceRequest.h
include/alibabacloud/dts/model/InitDtsRdsInstanceResult.h
include/alibabacloud/dts/model/ListTagResourcesRequest.h
include/alibabacloud/dts/model/ListTagResourcesResult.h
include/alibabacloud/dts/model/ModifyConsumerChannelRequest.h
@@ -157,8 +159,6 @@ set(dts_public_header_model
include/alibabacloud/dts/model/StopDtsJobResult.h
include/alibabacloud/dts/model/StopMigrationJobRequest.h
include/alibabacloud/dts/model/StopMigrationJobResult.h
include/alibabacloud/dts/model/SummaryJobDetailRequest.h
include/alibabacloud/dts/model/SummaryJobDetailResult.h
include/alibabacloud/dts/model/SuspendDtsJobRequest.h
include/alibabacloud/dts/model/SuspendDtsJobResult.h
include/alibabacloud/dts/model/SuspendMigrationJobRequest.h
@@ -200,6 +200,8 @@ set(dts_src
src/model/ConfigureSynchronizationJobAlertResult.cc
src/model/ConfigureSynchronizationJobReplicatorCompareRequest.cc
src/model/ConfigureSynchronizationJobReplicatorCompareResult.cc
src/model/CountJobByConditionRequest.cc
src/model/CountJobByConditionResult.cc
src/model/CreateConsumerChannelRequest.cc
src/model/CreateConsumerChannelResult.cc
src/model/CreateConsumerGroupRequest.cc
@@ -274,8 +276,8 @@ set(dts_src
src/model/DescribeSynchronizationJobsResult.cc
src/model/DescribeSynchronizationObjectModifyStatusRequest.cc
src/model/DescribeSynchronizationObjectModifyStatusResult.cc
src/model/IgnoreJobDetailRequest.cc
src/model/IgnoreJobDetailResult.cc
src/model/InitDtsRdsInstanceRequest.cc
src/model/InitDtsRdsInstanceResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/ModifyConsumerChannelRequest.cc
@@ -318,8 +320,6 @@ set(dts_src
src/model/StopDtsJobResult.cc
src/model/StopMigrationJobRequest.cc
src/model/StopMigrationJobResult.cc
src/model/SummaryJobDetailRequest.cc
src/model/SummaryJobDetailResult.cc
src/model/SuspendDtsJobRequest.cc
src/model/SuspendDtsJobResult.cc
src/model/SuspendMigrationJobRequest.cc

View File

@@ -40,6 +40,8 @@
#include "model/ConfigureSynchronizationJobAlertResult.h"
#include "model/ConfigureSynchronizationJobReplicatorCompareRequest.h"
#include "model/ConfigureSynchronizationJobReplicatorCompareResult.h"
#include "model/CountJobByConditionRequest.h"
#include "model/CountJobByConditionResult.h"
#include "model/CreateConsumerChannelRequest.h"
#include "model/CreateConsumerChannelResult.h"
#include "model/CreateConsumerGroupRequest.h"
@@ -114,8 +116,8 @@
#include "model/DescribeSynchronizationJobsResult.h"
#include "model/DescribeSynchronizationObjectModifyStatusRequest.h"
#include "model/DescribeSynchronizationObjectModifyStatusResult.h"
#include "model/IgnoreJobDetailRequest.h"
#include "model/IgnoreJobDetailResult.h"
#include "model/InitDtsRdsInstanceRequest.h"
#include "model/InitDtsRdsInstanceResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/ModifyConsumerChannelRequest.h"
@@ -158,8 +160,6 @@
#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"
@@ -216,6 +216,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ConfigureSynchronizationJobReplicatorCompareResult> ConfigureSynchronizationJobReplicatorCompareOutcome;
typedef std::future<ConfigureSynchronizationJobReplicatorCompareOutcome> ConfigureSynchronizationJobReplicatorCompareOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::ConfigureSynchronizationJobReplicatorCompareRequest&, const ConfigureSynchronizationJobReplicatorCompareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSynchronizationJobReplicatorCompareAsyncHandler;
typedef Outcome<Error, Model::CountJobByConditionResult> CountJobByConditionOutcome;
typedef std::future<CountJobByConditionOutcome> CountJobByConditionOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::CountJobByConditionRequest&, const CountJobByConditionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CountJobByConditionAsyncHandler;
typedef Outcome<Error, Model::CreateConsumerChannelResult> CreateConsumerChannelOutcome;
typedef std::future<CreateConsumerChannelOutcome> CreateConsumerChannelOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::CreateConsumerChannelRequest&, const CreateConsumerChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConsumerChannelAsyncHandler;
@@ -327,9 +330,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::InitDtsRdsInstanceResult> InitDtsRdsInstanceOutcome;
typedef std::future<InitDtsRdsInstanceOutcome> InitDtsRdsInstanceOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::InitDtsRdsInstanceRequest&, const InitDtsRdsInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InitDtsRdsInstanceAsyncHandler;
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;
@@ -393,9 +396,6 @@ 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;
@@ -458,6 +458,9 @@ namespace AlibabaCloud
ConfigureSynchronizationJobReplicatorCompareOutcome configureSynchronizationJobReplicatorCompare(const Model::ConfigureSynchronizationJobReplicatorCompareRequest &request)const;
void configureSynchronizationJobReplicatorCompareAsync(const Model::ConfigureSynchronizationJobReplicatorCompareRequest& request, const ConfigureSynchronizationJobReplicatorCompareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigureSynchronizationJobReplicatorCompareOutcomeCallable configureSynchronizationJobReplicatorCompareCallable(const Model::ConfigureSynchronizationJobReplicatorCompareRequest& request) const;
CountJobByConditionOutcome countJobByCondition(const Model::CountJobByConditionRequest &request)const;
void countJobByConditionAsync(const Model::CountJobByConditionRequest& request, const CountJobByConditionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CountJobByConditionOutcomeCallable countJobByConditionCallable(const Model::CountJobByConditionRequest& request) const;
CreateConsumerChannelOutcome createConsumerChannel(const Model::CreateConsumerChannelRequest &request)const;
void createConsumerChannelAsync(const Model::CreateConsumerChannelRequest& request, const CreateConsumerChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateConsumerChannelOutcomeCallable createConsumerChannelCallable(const Model::CreateConsumerChannelRequest& request) const;
@@ -569,9 +572,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;
InitDtsRdsInstanceOutcome initDtsRdsInstance(const Model::InitDtsRdsInstanceRequest &request)const;
void initDtsRdsInstanceAsync(const Model::InitDtsRdsInstanceRequest& request, const InitDtsRdsInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InitDtsRdsInstanceOutcomeCallable initDtsRdsInstanceCallable(const Model::InitDtsRdsInstanceRequest& 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;
@@ -635,9 +638,6 @@ 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;

View 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.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_COUNTJOBBYCONDITIONREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_COUNTJOBBYCONDITIONREQUEST_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 CountJobByConditionRequest : public RpcServiceRequest
{
public:
CountJobByConditionRequest();
~CountJobByConditionRequest();
std::string getType()const;
void setType(const std::string& type);
std::string getSrcDbType()const;
void setSrcDbType(const std::string& srcDbType);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getParams()const;
void setParams(const std::string& params);
std::string getJobType()const;
void setJobType(const std::string& jobType);
std::string getDestDbType()const;
void setDestDbType(const std::string& destDbType);
std::string getRegion()const;
void setRegion(const std::string& region);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string type_;
std::string srcDbType_;
std::string regionId_;
std::string groupId_;
std::string params_;
std::string jobType_;
std::string destDbType_;
std::string region_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_COUNTJOBBYCONDITIONREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_SUMMARYJOBDETAILRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_SUMMARYJOBDETAILRESULT_H_
#ifndef ALIBABACLOUD_DTS_MODEL_COUNTJOBBYCONDITIONRESULT_H_
#define ALIBABACLOUD_DTS_MODEL_COUNTJOBBYCONDITIONRESULT_H_
#include <string>
#include <vector>
@@ -29,37 +29,35 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT SummaryJobDetailResult : public ServiceResult
class ALIBABACLOUD_DTS_EXPORT CountJobByConditionResult : 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;
CountJobByConditionResult();
explicit CountJobByConditionResult(const std::string &payload);
~CountJobByConditionResult();
long getTotalRecordCount()const;
int getHttpStatusCode()const;
std::string getCode()const;
std::string getJobId()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:
std::vector<ProgressSummaryDetail> progressSummaryDetails_;
long totalRecordCount_;
int httpStatusCode_;
std::string code_;
std::string jobId_;
std::string dynamicCode_;
std::string dynamicMessage_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_SUMMARYJOBDETAILRESULT_H_
#endif // !ALIBABACLOUD_DTS_MODEL_COUNTJOBBYCONDITIONRESULT_H_

View File

@@ -89,8 +89,8 @@ namespace AlibabaCloud
std::string getDynamicMessage()const;
std::string getDtsInstanceID()const;
MigrationMode getMigrationMode()const;
long getDelay()const;
bool getSuccess()const;
int getDelay()const;
std::string getAppName()const;
SubscriptionDataType getSubscriptionDataType()const;
std::string getDtsJobClass()const;
@@ -107,7 +107,7 @@ namespace AlibabaCloud
int getCode()const;
std::string getErrCode()const;
std::string getGroupId()const;
int getCheckpoint()const;
long getCheckpoint()const;
std::string getConsumptionCheckpoint()const;
std::string getDtsJobDirection()const;
int getDatabaseCount()const;
@@ -115,8 +115,8 @@ namespace AlibabaCloud
std::string getSubscribeTopic()const;
std::string getConsumptionClient()const;
SourceEndpoint getSourceEndpoint()const;
std::string getExpireTime()const;
std::string getErrorMessage()const;
std::string getExpireTime()const;
std::string getBeginTimestamp()const;
std::string getSynchronizationDirection()const;
std::string getReserved()const;
@@ -130,8 +130,8 @@ namespace AlibabaCloud
std::string dynamicMessage_;
std::string dtsInstanceID_;
MigrationMode migrationMode_;
long delay_;
bool success_;
int delay_;
std::string appName_;
SubscriptionDataType subscriptionDataType_;
std::string dtsJobClass_;
@@ -148,7 +148,7 @@ namespace AlibabaCloud
int code_;
std::string errCode_;
std::string groupId_;
int checkpoint_;
long checkpoint_;
std::string consumptionCheckpoint_;
std::string dtsJobDirection_;
int databaseCount_;
@@ -156,8 +156,8 @@ namespace AlibabaCloud
std::string subscribeTopic_;
std::string consumptionClient_;
SourceEndpoint sourceEndpoint_;
std::string expireTime_;
std::string errorMessage_;
std::string expireTime_;
std::string beginTimestamp_;
std::string synchronizationDirection_;
std::string reserved_;

View File

@@ -46,6 +46,7 @@ namespace AlibabaCloud
std::string status;
std::string progress;
std::string percent;
bool needUpgrade;
std::string errorMessage;
};
struct DataEtlStatus
@@ -108,6 +109,7 @@ namespace AlibabaCloud
std::string status;
std::string progress;
std::string percent;
bool needUpgrade;
std::string errorMessage;
};
struct DestinationEndpoint3
@@ -180,12 +182,12 @@ namespace AlibabaCloud
StructureInitializationStatus8 structureInitializationStatus8;
std::string dtsInstanceID;
DestinationEndpoint3 destinationEndpoint3;
int delay;
long delay;
Performance5 performance5;
std::string checkpoint;
std::string dtsJobClass;
std::string dtsJobDirection;
std::string checkpoint;
std::string dtsJobId;
std::string dtsJobDirection;
DataInitializationStatus1 dataInitializationStatus1;
std::string errorMessage;
std::string expireTime;
@@ -212,6 +214,14 @@ namespace AlibabaCloud
std::string percent;
std::string errorMessage;
};
struct RetryState
{
int maxRetryTime;
std::string retryTarget;
int retryCount;
int retryTime;
std::string errMessage;
};
struct DtsTag
{
std::string tagKey;
@@ -222,7 +232,7 @@ namespace AlibabaCloud
std::string endTimestamp;
std::string dtsInstanceID;
MigrationMode migrationMode;
int delay;
long delay;
std::string appName;
std::string dtsJobClass;
std::string dtsJobId;
@@ -235,8 +245,8 @@ namespace AlibabaCloud
ReverseJob reverseJob;
std::string payType;
PrecheckStatus precheckStatus;
std::string checkpoint;
std::string consumptionCheckpoint;
std::string checkpoint;
std::string dtsJobDirection;
DestinationEndpoint destinationEndpoint;
std::string consumptionClient;
@@ -246,6 +256,7 @@ namespace AlibabaCloud
std::string expireTime;
std::string beginTimestamp;
StructureInitializationStatus structureInitializationStatus;
RetryState retryState;
std::string reserved;
};

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_IGNOREJOBDETAILREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_IGNOREJOBDETAILREQUEST_H_
#ifndef ALIBABACLOUD_DTS_MODEL_INITDTSRDSINSTANCEREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_INITDTSRDSINSTANCEREQUEST_H_
#include <string>
#include <vector>
@@ -28,36 +28,39 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT IgnoreJobDetailRequest : public RpcServiceRequest
class ALIBABACLOUD_DTS_EXPORT InitDtsRdsInstanceRequest : public RpcServiceRequest
{
public:
IgnoreJobDetailRequest();
~IgnoreJobDetailRequest();
InitDtsRdsInstanceRequest();
~InitDtsRdsInstanceRequest();
std::string getEndpointInstanceId()const;
void setEndpointInstanceId(const std::string& endpointInstanceId);
std::string getEndpointRegion()const;
void setEndpointRegion(const std::string& endpointRegion);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
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 getEndpointCenId()const;
void setEndpointCenId(const std::string& endpointCenId);
std::string getEndpointInstanceType()const;
void setEndpointInstanceType(const std::string& endpointInstanceType);
std::string getDtsInstanceId()const;
void setDtsInstanceId(const std::string& dtsInstanceId);
std::string getSynchronizationDirection()const;
void setSynchronizationDirection(const std::string& synchronizationDirection);
private:
std::string endpointInstanceId_;
std::string endpointRegion_;
std::string accessKeyId_;
std::string regionId_;
std::string jobCode_;
std::string dtsJobId_;
std::string id_;
std::string endpointCenId_;
std::string endpointInstanceType_;
std::string dtsInstanceId_;
std::string synchronizationDirection_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_IGNOREJOBDETAILREQUEST_H_
#endif // !ALIBABACLOUD_DTS_MODEL_INITDTSRDSINSTANCEREQUEST_H_

View 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_INITDTSRDSINSTANCERESULT_H_
#define ALIBABACLOUD_DTS_MODEL_INITDTSRDSINSTANCERESULT_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 InitDtsRdsInstanceResult : public ServiceResult
{
public:
InitDtsRdsInstanceResult();
explicit InitDtsRdsInstanceResult(const std::string &payload);
~InitDtsRdsInstanceResult();
std::string getHttpStatusCode()const;
std::string getAdminAccount()const;
std::string getErrMessage()const;
std::string getSuccess()const;
std::string getAdminPassword()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string httpStatusCode_;
std::string adminAccount_;
std::string errMessage_;
std::string success_;
std::string adminPassword_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_INITDTSRDSINSTANCERESULT_H_

View File

@@ -1,60 +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_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_

View File

@@ -375,6 +375,42 @@ DtsClient::ConfigureSynchronizationJobReplicatorCompareOutcomeCallable DtsClient
return task->get_future();
}
DtsClient::CountJobByConditionOutcome DtsClient::countJobByCondition(const CountJobByConditionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CountJobByConditionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CountJobByConditionOutcome(CountJobByConditionResult(outcome.result()));
else
return CountJobByConditionOutcome(outcome.error());
}
void DtsClient::countJobByConditionAsync(const CountJobByConditionRequest& request, const CountJobByConditionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, countJobByCondition(request), context);
};
asyncExecute(new Runnable(fn));
}
DtsClient::CountJobByConditionOutcomeCallable DtsClient::countJobByConditionCallable(const CountJobByConditionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CountJobByConditionOutcome()>>(
[this, request]()
{
return this->countJobByCondition(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DtsClient::CreateConsumerChannelOutcome DtsClient::createConsumerChannel(const CreateConsumerChannelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1707,36 +1743,36 @@ DtsClient::DescribeSynchronizationObjectModifyStatusOutcomeCallable DtsClient::d
return task->get_future();
}
DtsClient::IgnoreJobDetailOutcome DtsClient::ignoreJobDetail(const IgnoreJobDetailRequest &request) const
DtsClient::InitDtsRdsInstanceOutcome DtsClient::initDtsRdsInstance(const InitDtsRdsInstanceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return IgnoreJobDetailOutcome(endpointOutcome.error());
return InitDtsRdsInstanceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return IgnoreJobDetailOutcome(IgnoreJobDetailResult(outcome.result()));
return InitDtsRdsInstanceOutcome(InitDtsRdsInstanceResult(outcome.result()));
else
return IgnoreJobDetailOutcome(outcome.error());
return InitDtsRdsInstanceOutcome(outcome.error());
}
void DtsClient::ignoreJobDetailAsync(const IgnoreJobDetailRequest& request, const IgnoreJobDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void DtsClient::initDtsRdsInstanceAsync(const InitDtsRdsInstanceRequest& request, const InitDtsRdsInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, ignoreJobDetail(request), context);
handler(this, request, initDtsRdsInstance(request), context);
};
asyncExecute(new Runnable(fn));
}
DtsClient::IgnoreJobDetailOutcomeCallable DtsClient::ignoreJobDetailCallable(const IgnoreJobDetailRequest &request) const
DtsClient::InitDtsRdsInstanceOutcomeCallable DtsClient::initDtsRdsInstanceCallable(const InitDtsRdsInstanceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<IgnoreJobDetailOutcome()>>(
auto task = std::make_shared<std::packaged_task<InitDtsRdsInstanceOutcome()>>(
[this, request]()
{
return this->ignoreJobDetail(request);
return this->initDtsRdsInstance(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
@@ -2499,42 +2535,6 @@ DtsClient::StopMigrationJobOutcomeCallable DtsClient::stopMigrationJobCallable(c
return task->get_future();
}
DtsClient::SummaryJobDetailOutcome DtsClient::summaryJobDetail(const SummaryJobDetailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SummaryJobDetailOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SummaryJobDetailOutcome(SummaryJobDetailResult(outcome.result()));
else
return SummaryJobDetailOutcome(outcome.error());
}
void DtsClient::summaryJobDetailAsync(const SummaryJobDetailRequest& request, const SummaryJobDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, summaryJobDetail(request), context);
};
asyncExecute(new Runnable(fn));
}
DtsClient::SummaryJobDetailOutcomeCallable DtsClient::summaryJobDetailCallable(const SummaryJobDetailRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SummaryJobDetailOutcome()>>(
[this, request]()
{
return this->summaryJobDetail(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DtsClient::SuspendDtsJobOutcome DtsClient::suspendDtsJob(const SuspendDtsJobRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,128 @@
/*
* 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/dts/model/CountJobByConditionRequest.h>
using AlibabaCloud::Dts::Model::CountJobByConditionRequest;
CountJobByConditionRequest::CountJobByConditionRequest() :
RpcServiceRequest("dts", "2020-01-01", "CountJobByCondition")
{
setMethod(HttpRequest::Method::Post);
}
CountJobByConditionRequest::~CountJobByConditionRequest()
{}
std::string CountJobByConditionRequest::getType()const
{
return type_;
}
void CountJobByConditionRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
}
std::string CountJobByConditionRequest::getSrcDbType()const
{
return srcDbType_;
}
void CountJobByConditionRequest::setSrcDbType(const std::string& srcDbType)
{
srcDbType_ = srcDbType;
setParameter("SrcDbType", srcDbType);
}
std::string CountJobByConditionRequest::getRegionId()const
{
return regionId_;
}
void CountJobByConditionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CountJobByConditionRequest::getGroupId()const
{
return groupId_;
}
void CountJobByConditionRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setParameter("GroupId", groupId);
}
std::string CountJobByConditionRequest::getParams()const
{
return params_;
}
void CountJobByConditionRequest::setParams(const std::string& params)
{
params_ = params;
setParameter("Params", params);
}
std::string CountJobByConditionRequest::getJobType()const
{
return jobType_;
}
void CountJobByConditionRequest::setJobType(const std::string& jobType)
{
jobType_ = jobType;
setParameter("JobType", jobType);
}
std::string CountJobByConditionRequest::getDestDbType()const
{
return destDbType_;
}
void CountJobByConditionRequest::setDestDbType(const std::string& destDbType)
{
destDbType_ = destDbType;
setParameter("DestDbType", destDbType);
}
std::string CountJobByConditionRequest::getRegion()const
{
return region_;
}
void CountJobByConditionRequest::setRegion(const std::string& region)
{
region_ = region;
setParameter("Region", region);
}
std::string CountJobByConditionRequest::getStatus()const
{
return status_;
}
void CountJobByConditionRequest::setStatus(const std::string& status)
{
status_ = status;
setParameter("Status", status);
}

View File

@@ -0,0 +1,93 @@
/*
* 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/dts/model/CountJobByConditionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dts;
using namespace AlibabaCloud::Dts::Model;
CountJobByConditionResult::CountJobByConditionResult() :
ServiceResult()
{}
CountJobByConditionResult::CountJobByConditionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CountJobByConditionResult::~CountJobByConditionResult()
{}
void CountJobByConditionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["TotalRecordCount"].isNull())
totalRecordCount_ = std::stol(value["TotalRecordCount"].asString());
}
long CountJobByConditionResult::getTotalRecordCount()const
{
return totalRecordCount_;
}
int CountJobByConditionResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string CountJobByConditionResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string CountJobByConditionResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string CountJobByConditionResult::getErrMessage()const
{
return errMessage_;
}
bool CountJobByConditionResult::getSuccess()const
{
return success_;
}
std::string CountJobByConditionResult::getErrCode()const
{
return errCode_;
}

View File

@@ -40,136 +40,136 @@ void DescribeDtsJobDetailResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto sourceEndpointNode = value["SourceEndpoint"];
if(!sourceEndpointNode["InstanceID"].isNull())
sourceEndpoint_.instanceID = sourceEndpointNode["InstanceID"].asString();
if(!sourceEndpointNode["Region"].isNull())
sourceEndpoint_.region = sourceEndpointNode["Region"].asString();
if(!sourceEndpointNode["InstanceType"].isNull())
sourceEndpoint_.instanceType = sourceEndpointNode["InstanceType"].asString();
if(!sourceEndpointNode["EngineName"].isNull())
sourceEndpoint_.engineName = sourceEndpointNode["EngineName"].asString();
if(!sourceEndpointNode["Ip"].isNull())
sourceEndpoint_.ip = sourceEndpointNode["Ip"].asString();
if(!sourceEndpointNode["Port"].isNull())
sourceEndpoint_.port = sourceEndpointNode["Port"].asString();
if(!sourceEndpointNode["DatabaseName"].isNull())
sourceEndpoint_.databaseName = sourceEndpointNode["DatabaseName"].asString();
if(!sourceEndpointNode["OracleSID"].isNull())
sourceEndpoint_.oracleSID = sourceEndpointNode["OracleSID"].asString();
if(!sourceEndpointNode["UserName"].isNull())
sourceEndpoint_.userName = sourceEndpointNode["UserName"].asString();
if(!sourceEndpointNode["SslSolutionEnum"].isNull())
sourceEndpoint_.sslSolutionEnum = sourceEndpointNode["SslSolutionEnum"].asString();
if(!sourceEndpointNode["Ip"].isNull())
sourceEndpoint_.ip = sourceEndpointNode["Ip"].asString();
if(!sourceEndpointNode["InstanceID"].isNull())
sourceEndpoint_.instanceID = sourceEndpointNode["InstanceID"].asString();
if(!sourceEndpointNode["RoleName"].isNull())
sourceEndpoint_.roleName = sourceEndpointNode["RoleName"].asString();
if(!sourceEndpointNode["InstanceType"].isNull())
sourceEndpoint_.instanceType = sourceEndpointNode["InstanceType"].asString();
if(!sourceEndpointNode["Port"].isNull())
sourceEndpoint_.port = sourceEndpointNode["Port"].asString();
if(!sourceEndpointNode["EngineName"].isNull())
sourceEndpoint_.engineName = sourceEndpointNode["EngineName"].asString();
if(!sourceEndpointNode["Region"].isNull())
sourceEndpoint_.region = sourceEndpointNode["Region"].asString();
if(!sourceEndpointNode["DatabaseName"].isNull())
sourceEndpoint_.databaseName = sourceEndpointNode["DatabaseName"].asString();
if(!sourceEndpointNode["AliyunUid"].isNull())
sourceEndpoint_.aliyunUid = sourceEndpointNode["AliyunUid"].asString();
if(!sourceEndpointNode["UserName"].isNull())
sourceEndpoint_.userName = sourceEndpointNode["UserName"].asString();
auto destinationEndpointNode = value["DestinationEndpoint"];
if(!destinationEndpointNode["InstanceID"].isNull())
destinationEndpoint_.instanceID = destinationEndpointNode["InstanceID"].asString();
if(!destinationEndpointNode["Region"].isNull())
destinationEndpoint_.region = destinationEndpointNode["Region"].asString();
if(!destinationEndpointNode["InstanceType"].isNull())
destinationEndpoint_.instanceType = destinationEndpointNode["InstanceType"].asString();
if(!destinationEndpointNode["EngineName"].isNull())
destinationEndpoint_.engineName = destinationEndpointNode["EngineName"].asString();
if(!destinationEndpointNode["Ip"].isNull())
destinationEndpoint_.ip = destinationEndpointNode["Ip"].asString();
if(!destinationEndpointNode["Port"].isNull())
destinationEndpoint_.port = destinationEndpointNode["Port"].asString();
if(!destinationEndpointNode["DatabaseName"].isNull())
destinationEndpoint_.databaseName = destinationEndpointNode["DatabaseName"].asString();
if(!destinationEndpointNode["OracleSID"].isNull())
destinationEndpoint_.oracleSID = destinationEndpointNode["OracleSID"].asString();
if(!destinationEndpointNode["UserName"].isNull())
destinationEndpoint_.userName = destinationEndpointNode["UserName"].asString();
if(!destinationEndpointNode["SslSolutionEnum"].isNull())
destinationEndpoint_.sslSolutionEnum = destinationEndpointNode["SslSolutionEnum"].asString();
if(!destinationEndpointNode["OracleSID"].isNull())
destinationEndpoint_.oracleSID = destinationEndpointNode["OracleSID"].asString();
if(!destinationEndpointNode["DatabaseName"].isNull())
destinationEndpoint_.databaseName = destinationEndpointNode["DatabaseName"].asString();
if(!destinationEndpointNode["Region"].isNull())
destinationEndpoint_.region = destinationEndpointNode["Region"].asString();
if(!destinationEndpointNode["Ip"].isNull())
destinationEndpoint_.ip = destinationEndpointNode["Ip"].asString();
if(!destinationEndpointNode["InstanceID"].isNull())
destinationEndpoint_.instanceID = destinationEndpointNode["InstanceID"].asString();
if(!destinationEndpointNode["Port"].isNull())
destinationEndpoint_.port = destinationEndpointNode["Port"].asString();
if(!destinationEndpointNode["InstanceType"].isNull())
destinationEndpoint_.instanceType = destinationEndpointNode["InstanceType"].asString();
if(!destinationEndpointNode["UserName"].isNull())
destinationEndpoint_.userName = destinationEndpointNode["UserName"].asString();
if(!destinationEndpointNode["EngineName"].isNull())
destinationEndpoint_.engineName = destinationEndpointNode["EngineName"].asString();
auto migrationModeNode = value["MigrationMode"];
if(!migrationModeNode["StructureInitialization"].isNull())
migrationMode_.structureInitialization = migrationModeNode["StructureInitialization"].asString() == "true";
if(!migrationModeNode["DataExtractTransformLoad"].isNull())
migrationMode_.dataExtractTransformLoad = migrationModeNode["DataExtractTransformLoad"].asString() == "true";
if(!migrationModeNode["DataInitialization"].isNull())
migrationMode_.dataInitialization = migrationModeNode["DataInitialization"].asString() == "true";
if(!migrationModeNode["DataSynchronization"].isNull())
migrationMode_.dataSynchronization = migrationModeNode["DataSynchronization"].asString() == "true";
if(!migrationModeNode["DataExtractTransformLoad"].isNull())
migrationMode_.dataExtractTransformLoad = migrationModeNode["DataExtractTransformLoad"].asString() == "true";
if(!migrationModeNode["StructureInitialization"].isNull())
migrationMode_.structureInitialization = migrationModeNode["StructureInitialization"].asString() == "true";
auto subscriptionHostNode = value["SubscriptionHost"];
if(!subscriptionHostNode["VpcHost"].isNull())
subscriptionHost_.vpcHost = subscriptionHostNode["VpcHost"].asString();
if(!subscriptionHostNode["PublicHost"].isNull())
subscriptionHost_.publicHost = subscriptionHostNode["PublicHost"].asString();
if(!subscriptionHostNode["PrivateHost"].isNull())
subscriptionHost_.privateHost = subscriptionHostNode["PrivateHost"].asString();
if(!subscriptionHostNode["VpcHost"].isNull())
subscriptionHost_.vpcHost = subscriptionHostNode["VpcHost"].asString();
auto subscriptionDataTypeNode = value["SubscriptionDataType"];
if(!subscriptionDataTypeNode["Ddl"].isNull())
subscriptionDataType_.ddl = subscriptionDataTypeNode["Ddl"].asString() == "true";
if(!subscriptionDataTypeNode["Dml"].isNull())
subscriptionDataType_.dml = subscriptionDataTypeNode["Dml"].asString() == "true";
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["DtsInstanceID"].isNull())
dtsInstanceID_ = value["DtsInstanceID"].asString();
if(!value["DtsJobId"].isNull())
dtsJobId_ = value["DtsJobId"].asString();
if(!value["DtsJobName"].isNull())
dtsJobName_ = value["DtsJobName"].asString();
if(!value["DtsJobClass"].isNull())
dtsJobClass_ = value["DtsJobClass"].asString();
if(!value["DtsJobDirection"].isNull())
dtsJobDirection_ = value["DtsJobDirection"].asString();
if(!value["PayType"].isNull())
payType_ = value["PayType"].asString();
if(!value["ExpireTime"].isNull())
expireTime_ = value["ExpireTime"].asString();
if(!value["CreateTime"].isNull())
createTime_ = value["CreateTime"].asString();
if(!value["FinishTime"].isNull())
finishTime_ = value["FinishTime"].asString();
if(!subscriptionDataTypeNode["Ddl"].isNull())
subscriptionDataType_.ddl = subscriptionDataTypeNode["Ddl"].asString() == "true";
if(!value["Status"].isNull())
status_ = value["Status"].asString();
if(!value["Checkpoint"].isNull())
checkpoint_ = std::stoi(value["Checkpoint"].asString());
if(!value["Delay"].isNull())
delay_ = std::stoi(value["Delay"].asString());
if(!value["Reserved"].isNull())
reserved_ = value["Reserved"].asString();
if(!value["DtsJobName"].isNull())
dtsJobName_ = value["DtsJobName"].asString();
if(!value["FinishTime"].isNull())
finishTime_ = value["FinishTime"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["DbObject"].isNull())
dbObject_ = value["DbObject"].asString();
if(!value["SynchronizationDirection"].isNull())
synchronizationDirection_ = value["SynchronizationDirection"].asString();
if(!value["EtlCalculator"].isNull())
etlCalculator_ = value["EtlCalculator"].asString();
if(!value["GroupId"].isNull())
groupId_ = value["GroupId"].asString();
if(!value["DtsJobId"].isNull())
dtsJobId_ = value["DtsJobId"].asString();
if(!value["CreateTime"].isNull())
createTime_ = value["CreateTime"].asString();
if(!value["PayType"].isNull())
payType_ = value["PayType"].asString();
if(!value["Reserved"].isNull())
reserved_ = value["Reserved"].asString();
if(!value["DatabaseCount"].isNull())
databaseCount_ = std::stoi(value["DatabaseCount"].asString());
if(!value["SubscribeTopic"].isNull())
subscribeTopic_ = value["SubscribeTopic"].asString();
if(!value["ConsumptionCheckpoint"].isNull())
consumptionCheckpoint_ = value["ConsumptionCheckpoint"].asString();
if(!value["BeginTimestamp"].isNull())
beginTimestamp_ = value["BeginTimestamp"].asString();
if(!value["DtsJobClass"].isNull())
dtsJobClass_ = value["DtsJobClass"].asString();
if(!value["EndTimestamp"].isNull())
endTimestamp_ = value["EndTimestamp"].asString();
if(!value["ConsumptionClient"].isNull())
consumptionClient_ = value["ConsumptionClient"].asString();
if(!value["AppName"].isNull())
appName_ = value["AppName"].asString();
if(!value["DestNetType"].isNull())
destNetType_ = value["DestNetType"].asString();
if(!value["SubscribeTopic"].isNull())
subscribeTopic_ = value["SubscribeTopic"].asString();
if(!value["DtsInstanceID"].isNull())
dtsInstanceID_ = value["DtsInstanceID"].asString();
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Checkpoint"].isNull())
checkpoint_ = std::stol(value["Checkpoint"].asString());
if(!value["Delay"].isNull())
delay_ = std::stol(value["Delay"].asString());
if(!value["ExpireTime"].isNull())
expireTime_ = value["ExpireTime"].asString();
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["ConsumptionClient"].isNull())
consumptionClient_ = value["ConsumptionClient"].asString();
if(!value["DbObject"].isNull())
dbObject_ = value["DbObject"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["ConsumptionCheckpoint"].isNull())
consumptionCheckpoint_ = value["ConsumptionCheckpoint"].asString();
if(!value["EtlCalculator"].isNull())
etlCalculator_ = value["EtlCalculator"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["BeginTimestamp"].isNull())
beginTimestamp_ = value["BeginTimestamp"].asString();
if(!value["GroupId"].isNull())
groupId_ = value["GroupId"].asString();
if(!value["SynchronizationDirection"].isNull())
synchronizationDirection_ = value["SynchronizationDirection"].asString();
if(!value["DtsJobDirection"].isNull())
dtsJobDirection_ = value["DtsJobDirection"].asString();
}
@@ -203,16 +203,16 @@ DescribeDtsJobDetailResult::MigrationMode DescribeDtsJobDetailResult::getMigrati
return migrationMode_;
}
long DescribeDtsJobDetailResult::getDelay()const
{
return delay_;
}
bool DescribeDtsJobDetailResult::getSuccess()const
{
return success_;
}
int DescribeDtsJobDetailResult::getDelay()const
{
return delay_;
}
std::string DescribeDtsJobDetailResult::getAppName()const
{
return appName_;
@@ -293,7 +293,7 @@ std::string DescribeDtsJobDetailResult::getGroupId()const
return groupId_;
}
int DescribeDtsJobDetailResult::getCheckpoint()const
long DescribeDtsJobDetailResult::getCheckpoint()const
{
return checkpoint_;
}
@@ -333,16 +333,16 @@ DescribeDtsJobDetailResult::SourceEndpoint DescribeDtsJobDetailResult::getSource
return sourceEndpoint_;
}
std::string DescribeDtsJobDetailResult::getExpireTime()const
{
return expireTime_;
}
std::string DescribeDtsJobDetailResult::getErrorMessage()const
{
return errorMessage_;
}
std::string DescribeDtsJobDetailResult::getExpireTime()const
{
return expireTime_;
}
std::string DescribeDtsJobDetailResult::getBeginTimestamp()const
{
return beginTimestamp_;

View File

@@ -43,102 +43,104 @@ void DescribeDtsJobsResult::parse(const std::string &payload)
for (auto valueDtsJobListDtsJobStatus : allDtsJobListNode)
{
DtsJobStatus dtsJobListObject;
if(!valueDtsJobListDtsJobStatus["Checkpoint"].isNull())
dtsJobListObject.checkpoint = valueDtsJobListDtsJobStatus["Checkpoint"].asString();
if(!valueDtsJobListDtsJobStatus["CreateTime"].isNull())
dtsJobListObject.createTime = valueDtsJobListDtsJobStatus["CreateTime"].asString();
if(!valueDtsJobListDtsJobStatus["DbObject"].isNull())
dtsJobListObject.dbObject = valueDtsJobListDtsJobStatus["DbObject"].asString();
if(!valueDtsJobListDtsJobStatus["Delay"].isNull())
dtsJobListObject.delay = std::stoi(valueDtsJobListDtsJobStatus["Delay"].asString());
if(!valueDtsJobListDtsJobStatus["DtsInstanceID"].isNull())
dtsJobListObject.dtsInstanceID = valueDtsJobListDtsJobStatus["DtsInstanceID"].asString();
if(!valueDtsJobListDtsJobStatus["DtsJobClass"].isNull())
dtsJobListObject.dtsJobClass = valueDtsJobListDtsJobStatus["DtsJobClass"].asString();
if(!valueDtsJobListDtsJobStatus["DtsJobDirection"].isNull())
dtsJobListObject.dtsJobDirection = valueDtsJobListDtsJobStatus["DtsJobDirection"].asString();
if(!valueDtsJobListDtsJobStatus["DtsJobId"].isNull())
dtsJobListObject.dtsJobId = valueDtsJobListDtsJobStatus["DtsJobId"].asString();
if(!valueDtsJobListDtsJobStatus["Status"].isNull())
dtsJobListObject.status = valueDtsJobListDtsJobStatus["Status"].asString();
if(!valueDtsJobListDtsJobStatus["DtsJobName"].isNull())
dtsJobListObject.dtsJobName = valueDtsJobListDtsJobStatus["DtsJobName"].asString();
if(!valueDtsJobListDtsJobStatus["Delay"].isNull())
dtsJobListObject.delay = std::stol(valueDtsJobListDtsJobStatus["Delay"].asString());
if(!valueDtsJobListDtsJobStatus["ErrorMessage"].isNull())
dtsJobListObject.errorMessage = valueDtsJobListDtsJobStatus["ErrorMessage"].asString();
if(!valueDtsJobListDtsJobStatus["ExpireTime"].isNull())
dtsJobListObject.expireTime = valueDtsJobListDtsJobStatus["ExpireTime"].asString();
if(!valueDtsJobListDtsJobStatus["DtsJobId"].isNull())
dtsJobListObject.dtsJobId = valueDtsJobListDtsJobStatus["DtsJobId"].asString();
if(!valueDtsJobListDtsJobStatus["CreateTime"].isNull())
dtsJobListObject.createTime = valueDtsJobListDtsJobStatus["CreateTime"].asString();
if(!valueDtsJobListDtsJobStatus["PayType"].isNull())
dtsJobListObject.payType = valueDtsJobListDtsJobStatus["PayType"].asString();
if(!valueDtsJobListDtsJobStatus["Reserved"].isNull())
dtsJobListObject.reserved = valueDtsJobListDtsJobStatus["Reserved"].asString();
if(!valueDtsJobListDtsJobStatus["Status"].isNull())
dtsJobListObject.status = valueDtsJobListDtsJobStatus["Status"].asString();
if(!valueDtsJobListDtsJobStatus["ConsumptionClient"].isNull())
dtsJobListObject.consumptionClient = valueDtsJobListDtsJobStatus["ConsumptionClient"].asString();
if(!valueDtsJobListDtsJobStatus["BeginTimestamp"].isNull())
dtsJobListObject.beginTimestamp = valueDtsJobListDtsJobStatus["BeginTimestamp"].asString();
if(!valueDtsJobListDtsJobStatus["EndTimestamp"].isNull())
dtsJobListObject.endTimestamp = valueDtsJobListDtsJobStatus["EndTimestamp"].asString();
if(!valueDtsJobListDtsJobStatus["DbObject"].isNull())
dtsJobListObject.dbObject = valueDtsJobListDtsJobStatus["DbObject"].asString();
if(!valueDtsJobListDtsJobStatus["DtsJobClass"].isNull())
dtsJobListObject.dtsJobClass = valueDtsJobListDtsJobStatus["DtsJobClass"].asString();
if(!valueDtsJobListDtsJobStatus["ConsumptionCheckpoint"].isNull())
dtsJobListObject.consumptionCheckpoint = valueDtsJobListDtsJobStatus["ConsumptionCheckpoint"].asString();
if(!valueDtsJobListDtsJobStatus["EndTimestamp"].isNull())
dtsJobListObject.endTimestamp = valueDtsJobListDtsJobStatus["EndTimestamp"].asString();
if(!valueDtsJobListDtsJobStatus["AppName"].isNull())
dtsJobListObject.appName = valueDtsJobListDtsJobStatus["AppName"].asString();
if(!valueDtsJobListDtsJobStatus["BeginTimestamp"].isNull())
dtsJobListObject.beginTimestamp = valueDtsJobListDtsJobStatus["BeginTimestamp"].asString();
if(!valueDtsJobListDtsJobStatus["DtsInstanceID"].isNull())
dtsJobListObject.dtsInstanceID = valueDtsJobListDtsJobStatus["DtsInstanceID"].asString();
if(!valueDtsJobListDtsJobStatus["DtsJobDirection"].isNull())
dtsJobListObject.dtsJobDirection = valueDtsJobListDtsJobStatus["DtsJobDirection"].asString();
if(!valueDtsJobListDtsJobStatus["Checkpoint"].isNull())
dtsJobListObject.checkpoint = valueDtsJobListDtsJobStatus["Checkpoint"].asString();
auto allTagListNode = valueDtsJobListDtsJobStatus["TagList"]["DtsTag"];
for (auto valueDtsJobListDtsJobStatusTagListDtsTag : allTagListNode)
{
DtsJobStatus::DtsTag tagListObject;
if(!valueDtsJobListDtsJobStatusTagListDtsTag["TagKey"].isNull())
tagListObject.tagKey = valueDtsJobListDtsJobStatusTagListDtsTag["TagKey"].asString();
if(!valueDtsJobListDtsJobStatusTagListDtsTag["TagValue"].isNull())
tagListObject.tagValue = valueDtsJobListDtsJobStatusTagListDtsTag["TagValue"].asString();
if(!valueDtsJobListDtsJobStatusTagListDtsTag["TagKey"].isNull())
tagListObject.tagKey = valueDtsJobListDtsJobStatusTagListDtsTag["TagKey"].asString();
dtsJobListObject.tagList.push_back(tagListObject);
}
auto dataInitializationStatusNode = value["DataInitializationStatus"];
if(!dataInitializationStatusNode["ErrorMessage"].isNull())
dtsJobListObject.dataInitializationStatus.errorMessage = dataInitializationStatusNode["ErrorMessage"].asString();
if(!dataInitializationStatusNode["Percent"].isNull())
dtsJobListObject.dataInitializationStatus.percent = dataInitializationStatusNode["Percent"].asString();
if(!dataInitializationStatusNode["Progress"].isNull())
dtsJobListObject.dataInitializationStatus.progress = dataInitializationStatusNode["Progress"].asString();
if(!dataInitializationStatusNode["Status"].isNull())
dtsJobListObject.dataInitializationStatus.status = dataInitializationStatusNode["Status"].asString();
if(!dataInitializationStatusNode["Percent"].isNull())
dtsJobListObject.dataInitializationStatus.percent = dataInitializationStatusNode["Percent"].asString();
if(!dataInitializationStatusNode["ErrorMessage"].isNull())
dtsJobListObject.dataInitializationStatus.errorMessage = dataInitializationStatusNode["ErrorMessage"].asString();
if(!dataInitializationStatusNode["Progress"].isNull())
dtsJobListObject.dataInitializationStatus.progress = dataInitializationStatusNode["Progress"].asString();
auto dataSynchronizationStatusNode = value["DataSynchronizationStatus"];
if(!dataSynchronizationStatusNode["ErrorMessage"].isNull())
dtsJobListObject.dataSynchronizationStatus.errorMessage = dataSynchronizationStatusNode["ErrorMessage"].asString();
if(!dataSynchronizationStatusNode["Status"].isNull())
dtsJobListObject.dataSynchronizationStatus.status = dataSynchronizationStatusNode["Status"].asString();
if(!dataSynchronizationStatusNode["NeedUpgrade"].isNull())
dtsJobListObject.dataSynchronizationStatus.needUpgrade = dataSynchronizationStatusNode["NeedUpgrade"].asString() == "true";
if(!dataSynchronizationStatusNode["Percent"].isNull())
dtsJobListObject.dataSynchronizationStatus.percent = dataSynchronizationStatusNode["Percent"].asString();
if(!dataSynchronizationStatusNode["Progress"].isNull())
dtsJobListObject.dataSynchronizationStatus.progress = dataSynchronizationStatusNode["Progress"].asString();
if(!dataSynchronizationStatusNode["Status"].isNull())
dtsJobListObject.dataSynchronizationStatus.status = dataSynchronizationStatusNode["Status"].asString();
if(!dataSynchronizationStatusNode["ErrorMessage"].isNull())
dtsJobListObject.dataSynchronizationStatus.errorMessage = dataSynchronizationStatusNode["ErrorMessage"].asString();
auto dataEtlStatusNode = value["DataEtlStatus"];
if(!dataEtlStatusNode["ErrorMessage"].isNull())
dtsJobListObject.dataEtlStatus.errorMessage = dataEtlStatusNode["ErrorMessage"].asString();
if(!dataEtlStatusNode["Percent"].isNull())
dtsJobListObject.dataEtlStatus.percent = dataEtlStatusNode["Percent"].asString();
if(!dataEtlStatusNode["Progress"].isNull())
dtsJobListObject.dataEtlStatus.progress = dataEtlStatusNode["Progress"].asString();
if(!dataEtlStatusNode["Status"].isNull())
dtsJobListObject.dataEtlStatus.status = dataEtlStatusNode["Status"].asString();
if(!dataEtlStatusNode["Percent"].isNull())
dtsJobListObject.dataEtlStatus.percent = dataEtlStatusNode["Percent"].asString();
if(!dataEtlStatusNode["ErrorMessage"].isNull())
dtsJobListObject.dataEtlStatus.errorMessage = dataEtlStatusNode["ErrorMessage"].asString();
if(!dataEtlStatusNode["Progress"].isNull())
dtsJobListObject.dataEtlStatus.progress = dataEtlStatusNode["Progress"].asString();
auto destinationEndpointNode = value["DestinationEndpoint"];
if(!destinationEndpointNode["DatabaseName"].isNull())
dtsJobListObject.destinationEndpoint.databaseName = destinationEndpointNode["DatabaseName"].asString();
if(!destinationEndpointNode["EngineName"].isNull())
dtsJobListObject.destinationEndpoint.engineName = destinationEndpointNode["EngineName"].asString();
if(!destinationEndpointNode["InstanceID"].isNull())
dtsJobListObject.destinationEndpoint.instanceID = destinationEndpointNode["InstanceID"].asString();
if(!destinationEndpointNode["InstanceType"].isNull())
dtsJobListObject.destinationEndpoint.instanceType = destinationEndpointNode["InstanceType"].asString();
if(!destinationEndpointNode["Ip"].isNull())
dtsJobListObject.destinationEndpoint.ip = destinationEndpointNode["Ip"].asString();
if(!destinationEndpointNode["OracleSID"].isNull())
dtsJobListObject.destinationEndpoint.oracleSID = destinationEndpointNode["OracleSID"].asString();
if(!destinationEndpointNode["Port"].isNull())
dtsJobListObject.destinationEndpoint.port = destinationEndpointNode["Port"].asString();
if(!destinationEndpointNode["Region"].isNull())
dtsJobListObject.destinationEndpoint.region = destinationEndpointNode["Region"].asString();
if(!destinationEndpointNode["SslSolutionEnum"].isNull())
dtsJobListObject.destinationEndpoint.sslSolutionEnum = destinationEndpointNode["SslSolutionEnum"].asString();
if(!destinationEndpointNode["OracleSID"].isNull())
dtsJobListObject.destinationEndpoint.oracleSID = destinationEndpointNode["OracleSID"].asString();
if(!destinationEndpointNode["Region"].isNull())
dtsJobListObject.destinationEndpoint.region = destinationEndpointNode["Region"].asString();
if(!destinationEndpointNode["DatabaseName"].isNull())
dtsJobListObject.destinationEndpoint.databaseName = destinationEndpointNode["DatabaseName"].asString();
if(!destinationEndpointNode["Ip"].isNull())
dtsJobListObject.destinationEndpoint.ip = destinationEndpointNode["Ip"].asString();
if(!destinationEndpointNode["InstanceID"].isNull())
dtsJobListObject.destinationEndpoint.instanceID = destinationEndpointNode["InstanceID"].asString();
if(!destinationEndpointNode["Port"].isNull())
dtsJobListObject.destinationEndpoint.port = destinationEndpointNode["Port"].asString();
if(!destinationEndpointNode["InstanceType"].isNull())
dtsJobListObject.destinationEndpoint.instanceType = destinationEndpointNode["InstanceType"].asString();
if(!destinationEndpointNode["UserName"].isNull())
dtsJobListObject.destinationEndpoint.userName = destinationEndpointNode["UserName"].asString();
if(!destinationEndpointNode["EngineName"].isNull())
dtsJobListObject.destinationEndpoint.engineName = destinationEndpointNode["EngineName"].asString();
auto migrationModeNode = value["MigrationMode"];
if(!migrationModeNode["DataInitialization"].isNull())
dtsJobListObject.migrationMode.dataInitialization = migrationModeNode["DataInitialization"].asString() == "true";
@@ -147,101 +149,103 @@ void DescribeDtsJobsResult::parse(const std::string &payload)
if(!migrationModeNode["StructureInitialization"].isNull())
dtsJobListObject.migrationMode.structureInitialization = migrationModeNode["StructureInitialization"].asString() == "true";
auto performanceNode = value["Performance"];
if(!performanceNode["Flow"].isNull())
dtsJobListObject.performance.flow = performanceNode["Flow"].asString();
if(!performanceNode["Rps"].isNull())
dtsJobListObject.performance.rps = performanceNode["Rps"].asString();
if(!performanceNode["Flow"].isNull())
dtsJobListObject.performance.flow = performanceNode["Flow"].asString();
auto precheckStatusNode = value["PrecheckStatus"];
if(!precheckStatusNode["ErrorMessage"].isNull())
dtsJobListObject.precheckStatus.errorMessage = precheckStatusNode["ErrorMessage"].asString();
if(!precheckStatusNode["Percent"].isNull())
dtsJobListObject.precheckStatus.percent = precheckStatusNode["Percent"].asString();
if(!precheckStatusNode["Status"].isNull())
dtsJobListObject.precheckStatus.status = precheckStatusNode["Status"].asString();
if(!precheckStatusNode["Percent"].isNull())
dtsJobListObject.precheckStatus.percent = precheckStatusNode["Percent"].asString();
if(!precheckStatusNode["ErrorMessage"].isNull())
dtsJobListObject.precheckStatus.errorMessage = precheckStatusNode["ErrorMessage"].asString();
auto allDetailNode = precheckStatusNode["Detail"]["PrecheckDetail"];
for (auto precheckStatusNodeDetailPrecheckDetail : allDetailNode)
{
DtsJobStatus::PrecheckStatus::PrecheckDetail precheckDetailObject;
if(!precheckStatusNodeDetailPrecheckDetail["CheckItem"].isNull())
precheckDetailObject.checkItem = precheckStatusNodeDetailPrecheckDetail["CheckItem"].asString();
if(!precheckStatusNodeDetailPrecheckDetail["CheckItemDescription"].isNull())
precheckDetailObject.checkItemDescription = precheckStatusNodeDetailPrecheckDetail["CheckItemDescription"].asString();
if(!precheckStatusNodeDetailPrecheckDetail["CheckResult"].isNull())
precheckDetailObject.checkResult = precheckStatusNodeDetailPrecheckDetail["CheckResult"].asString();
if(!precheckStatusNodeDetailPrecheckDetail["FailedReason"].isNull())
precheckDetailObject.failedReason = precheckStatusNodeDetailPrecheckDetail["FailedReason"].asString();
if(!precheckStatusNodeDetailPrecheckDetail["CheckItemDescription"].isNull())
precheckDetailObject.checkItemDescription = precheckStatusNodeDetailPrecheckDetail["CheckItemDescription"].asString();
if(!precheckStatusNodeDetailPrecheckDetail["CheckItem"].isNull())
precheckDetailObject.checkItem = precheckStatusNodeDetailPrecheckDetail["CheckItem"].asString();
if(!precheckStatusNodeDetailPrecheckDetail["RepairMethod"].isNull())
precheckDetailObject.repairMethod = precheckStatusNodeDetailPrecheckDetail["RepairMethod"].asString();
if(!precheckStatusNodeDetailPrecheckDetail["FailedReason"].isNull())
precheckDetailObject.failedReason = precheckStatusNodeDetailPrecheckDetail["FailedReason"].asString();
dtsJobListObject.precheckStatus.detail.push_back(precheckDetailObject);
}
auto reverseJobNode = value["ReverseJob"];
if(!reverseJobNode["Checkpoint"].isNull())
dtsJobListObject.reverseJob.checkpoint = reverseJobNode["Checkpoint"].asString();
if(!reverseJobNode["CreateTime"].isNull())
dtsJobListObject.reverseJob.createTime = reverseJobNode["CreateTime"].asString();
if(!reverseJobNode["DbObject"].isNull())
dtsJobListObject.reverseJob.dbObject = reverseJobNode["DbObject"].asString();
if(!reverseJobNode["Delay"].isNull())
dtsJobListObject.reverseJob.delay = std::stoi(reverseJobNode["Delay"].asString());
if(!reverseJobNode["DtsInstanceID"].isNull())
dtsJobListObject.reverseJob.dtsInstanceID = reverseJobNode["DtsInstanceID"].asString();
if(!reverseJobNode["DtsJobClass"].isNull())
dtsJobListObject.reverseJob.dtsJobClass = reverseJobNode["DtsJobClass"].asString();
if(!reverseJobNode["DtsJobDirection"].isNull())
dtsJobListObject.reverseJob.dtsJobDirection = reverseJobNode["DtsJobDirection"].asString();
if(!reverseJobNode["DtsJobId"].isNull())
dtsJobListObject.reverseJob.dtsJobId = reverseJobNode["DtsJobId"].asString();
if(!reverseJobNode["Status"].isNull())
dtsJobListObject.reverseJob.status = reverseJobNode["Status"].asString();
if(!reverseJobNode["DtsJobName"].isNull())
dtsJobListObject.reverseJob.dtsJobName = reverseJobNode["DtsJobName"].asString();
if(!reverseJobNode["Delay"].isNull())
dtsJobListObject.reverseJob.delay = std::stol(reverseJobNode["Delay"].asString());
if(!reverseJobNode["ErrorMessage"].isNull())
dtsJobListObject.reverseJob.errorMessage = reverseJobNode["ErrorMessage"].asString();
if(!reverseJobNode["DtsJobId"].isNull())
dtsJobListObject.reverseJob.dtsJobId = reverseJobNode["DtsJobId"].asString();
if(!reverseJobNode["ExpireTime"].isNull())
dtsJobListObject.reverseJob.expireTime = reverseJobNode["ExpireTime"].asString();
if(!reverseJobNode["CreateTime"].isNull())
dtsJobListObject.reverseJob.createTime = reverseJobNode["CreateTime"].asString();
if(!reverseJobNode["PayType"].isNull())
dtsJobListObject.reverseJob.payType = reverseJobNode["PayType"].asString();
if(!reverseJobNode["Reserved"].isNull())
dtsJobListObject.reverseJob.reserved = reverseJobNode["Reserved"].asString();
if(!reverseJobNode["Status"].isNull())
dtsJobListObject.reverseJob.status = reverseJobNode["Status"].asString();
if(!reverseJobNode["DbObject"].isNull())
dtsJobListObject.reverseJob.dbObject = reverseJobNode["DbObject"].asString();
if(!reverseJobNode["DtsJobClass"].isNull())
dtsJobListObject.reverseJob.dtsJobClass = reverseJobNode["DtsJobClass"].asString();
if(!reverseJobNode["DtsInstanceID"].isNull())
dtsJobListObject.reverseJob.dtsInstanceID = reverseJobNode["DtsInstanceID"].asString();
if(!reverseJobNode["DtsJobDirection"].isNull())
dtsJobListObject.reverseJob.dtsJobDirection = reverseJobNode["DtsJobDirection"].asString();
if(!reverseJobNode["Checkpoint"].isNull())
dtsJobListObject.reverseJob.checkpoint = reverseJobNode["Checkpoint"].asString();
auto dataInitializationStatus1Node = reverseJobNode["DataInitializationStatus"];
if(!dataInitializationStatus1Node["ErrorMessage"].isNull())
dtsJobListObject.reverseJob.dataInitializationStatus1.errorMessage = dataInitializationStatus1Node["ErrorMessage"].asString();
if(!dataInitializationStatus1Node["Percent"].isNull())
dtsJobListObject.reverseJob.dataInitializationStatus1.percent = dataInitializationStatus1Node["Percent"].asString();
if(!dataInitializationStatus1Node["Progress"].isNull())
dtsJobListObject.reverseJob.dataInitializationStatus1.progress = dataInitializationStatus1Node["Progress"].asString();
if(!dataInitializationStatus1Node["Status"].isNull())
dtsJobListObject.reverseJob.dataInitializationStatus1.status = dataInitializationStatus1Node["Status"].asString();
if(!dataInitializationStatus1Node["Percent"].isNull())
dtsJobListObject.reverseJob.dataInitializationStatus1.percent = dataInitializationStatus1Node["Percent"].asString();
if(!dataInitializationStatus1Node["ErrorMessage"].isNull())
dtsJobListObject.reverseJob.dataInitializationStatus1.errorMessage = dataInitializationStatus1Node["ErrorMessage"].asString();
if(!dataInitializationStatus1Node["Progress"].isNull())
dtsJobListObject.reverseJob.dataInitializationStatus1.progress = dataInitializationStatus1Node["Progress"].asString();
auto dataSynchronizationStatus2Node = reverseJobNode["DataSynchronizationStatus"];
if(!dataSynchronizationStatus2Node["ErrorMessage"].isNull())
dtsJobListObject.reverseJob.dataSynchronizationStatus2.errorMessage = dataSynchronizationStatus2Node["ErrorMessage"].asString();
if(!dataSynchronizationStatus2Node["Status"].isNull())
dtsJobListObject.reverseJob.dataSynchronizationStatus2.status = dataSynchronizationStatus2Node["Status"].asString();
if(!dataSynchronizationStatus2Node["NeedUpgrade"].isNull())
dtsJobListObject.reverseJob.dataSynchronizationStatus2.needUpgrade = dataSynchronizationStatus2Node["NeedUpgrade"].asString() == "true";
if(!dataSynchronizationStatus2Node["Percent"].isNull())
dtsJobListObject.reverseJob.dataSynchronizationStatus2.percent = dataSynchronizationStatus2Node["Percent"].asString();
if(!dataSynchronizationStatus2Node["Progress"].isNull())
dtsJobListObject.reverseJob.dataSynchronizationStatus2.progress = dataSynchronizationStatus2Node["Progress"].asString();
if(!dataSynchronizationStatus2Node["Status"].isNull())
dtsJobListObject.reverseJob.dataSynchronizationStatus2.status = dataSynchronizationStatus2Node["Status"].asString();
if(!dataSynchronizationStatus2Node["ErrorMessage"].isNull())
dtsJobListObject.reverseJob.dataSynchronizationStatus2.errorMessage = dataSynchronizationStatus2Node["ErrorMessage"].asString();
auto destinationEndpoint3Node = reverseJobNode["DestinationEndpoint"];
if(!destinationEndpoint3Node["DatabaseName"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.databaseName = destinationEndpoint3Node["DatabaseName"].asString();
if(!destinationEndpoint3Node["EngineName"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.engineName = destinationEndpoint3Node["EngineName"].asString();
if(!destinationEndpoint3Node["InstanceID"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.instanceID = destinationEndpoint3Node["InstanceID"].asString();
if(!destinationEndpoint3Node["InstanceType"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.instanceType = destinationEndpoint3Node["InstanceType"].asString();
if(!destinationEndpoint3Node["Ip"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.ip = destinationEndpoint3Node["Ip"].asString();
if(!destinationEndpoint3Node["OracleSID"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.oracleSID = destinationEndpoint3Node["OracleSID"].asString();
if(!destinationEndpoint3Node["Port"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.port = destinationEndpoint3Node["Port"].asString();
if(!destinationEndpoint3Node["Region"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.region = destinationEndpoint3Node["Region"].asString();
if(!destinationEndpoint3Node["SslSolutionEnum"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.sslSolutionEnum = destinationEndpoint3Node["SslSolutionEnum"].asString();
if(!destinationEndpoint3Node["OracleSID"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.oracleSID = destinationEndpoint3Node["OracleSID"].asString();
if(!destinationEndpoint3Node["Region"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.region = destinationEndpoint3Node["Region"].asString();
if(!destinationEndpoint3Node["DatabaseName"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.databaseName = destinationEndpoint3Node["DatabaseName"].asString();
if(!destinationEndpoint3Node["Ip"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.ip = destinationEndpoint3Node["Ip"].asString();
if(!destinationEndpoint3Node["InstanceID"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.instanceID = destinationEndpoint3Node["InstanceID"].asString();
if(!destinationEndpoint3Node["Port"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.port = destinationEndpoint3Node["Port"].asString();
if(!destinationEndpoint3Node["InstanceType"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.instanceType = destinationEndpoint3Node["InstanceType"].asString();
if(!destinationEndpoint3Node["UserName"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.userName = destinationEndpoint3Node["UserName"].asString();
if(!destinationEndpoint3Node["EngineName"].isNull())
dtsJobListObject.reverseJob.destinationEndpoint3.engineName = destinationEndpoint3Node["EngineName"].asString();
auto migrationMode4Node = reverseJobNode["MigrationMode"];
if(!migrationMode4Node["DataInitialization"].isNull())
dtsJobListObject.reverseJob.migrationMode4.dataInitialization = migrationMode4Node["DataInitialization"].asString() == "true";
@@ -250,113 +254,124 @@ void DescribeDtsJobsResult::parse(const std::string &payload)
if(!migrationMode4Node["StructureInitialization"].isNull())
dtsJobListObject.reverseJob.migrationMode4.structureInitialization = migrationMode4Node["StructureInitialization"].asString() == "true";
auto performance5Node = reverseJobNode["Performance"];
if(!performance5Node["Flow"].isNull())
dtsJobListObject.reverseJob.performance5.flow = performance5Node["Flow"].asString();
if(!performance5Node["Rps"].isNull())
dtsJobListObject.reverseJob.performance5.rps = performance5Node["Rps"].asString();
if(!performance5Node["Flow"].isNull())
dtsJobListObject.reverseJob.performance5.flow = performance5Node["Flow"].asString();
auto precheckStatus6Node = reverseJobNode["PrecheckStatus"];
if(!precheckStatus6Node["ErrorMessage"].isNull())
dtsJobListObject.reverseJob.precheckStatus6.errorMessage = precheckStatus6Node["ErrorMessage"].asString();
if(!precheckStatus6Node["Percent"].isNull())
dtsJobListObject.reverseJob.precheckStatus6.percent = precheckStatus6Node["Percent"].asString();
if(!precheckStatus6Node["Status"].isNull())
dtsJobListObject.reverseJob.precheckStatus6.status = precheckStatus6Node["Status"].asString();
if(!precheckStatus6Node["Percent"].isNull())
dtsJobListObject.reverseJob.precheckStatus6.percent = precheckStatus6Node["Percent"].asString();
if(!precheckStatus6Node["ErrorMessage"].isNull())
dtsJobListObject.reverseJob.precheckStatus6.errorMessage = precheckStatus6Node["ErrorMessage"].asString();
auto allDetail9Node = precheckStatus6Node["Detail"]["PrecheckDetail"];
for (auto precheckStatus6NodeDetailPrecheckDetail : allDetail9Node)
{
DtsJobStatus::ReverseJob::PrecheckStatus6::PrecheckDetail10 precheckDetail10Object;
if(!precheckStatus6NodeDetailPrecheckDetail["CheckItem"].isNull())
precheckDetail10Object.checkItem = precheckStatus6NodeDetailPrecheckDetail["CheckItem"].asString();
if(!precheckStatus6NodeDetailPrecheckDetail["CheckItemDescription"].isNull())
precheckDetail10Object.checkItemDescription = precheckStatus6NodeDetailPrecheckDetail["CheckItemDescription"].asString();
if(!precheckStatus6NodeDetailPrecheckDetail["CheckResult"].isNull())
precheckDetail10Object.checkResult = precheckStatus6NodeDetailPrecheckDetail["CheckResult"].asString();
if(!precheckStatus6NodeDetailPrecheckDetail["FailedReason"].isNull())
precheckDetail10Object.failedReason = precheckStatus6NodeDetailPrecheckDetail["FailedReason"].asString();
if(!precheckStatus6NodeDetailPrecheckDetail["CheckItemDescription"].isNull())
precheckDetail10Object.checkItemDescription = precheckStatus6NodeDetailPrecheckDetail["CheckItemDescription"].asString();
if(!precheckStatus6NodeDetailPrecheckDetail["CheckItem"].isNull())
precheckDetail10Object.checkItem = precheckStatus6NodeDetailPrecheckDetail["CheckItem"].asString();
if(!precheckStatus6NodeDetailPrecheckDetail["RepairMethod"].isNull())
precheckDetail10Object.repairMethod = precheckStatus6NodeDetailPrecheckDetail["RepairMethod"].asString();
if(!precheckStatus6NodeDetailPrecheckDetail["FailedReason"].isNull())
precheckDetail10Object.failedReason = precheckStatus6NodeDetailPrecheckDetail["FailedReason"].asString();
dtsJobListObject.reverseJob.precheckStatus6.detail9.push_back(precheckDetail10Object);
}
auto sourceEndpoint7Node = reverseJobNode["SourceEndpoint"];
if(!sourceEndpoint7Node["DatabaseName"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.databaseName = sourceEndpoint7Node["DatabaseName"].asString();
if(!sourceEndpoint7Node["EngineName"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.engineName = sourceEndpoint7Node["EngineName"].asString();
if(!sourceEndpoint7Node["InstanceID"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.instanceID = sourceEndpoint7Node["InstanceID"].asString();
if(!sourceEndpoint7Node["InstanceType"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.instanceType = sourceEndpoint7Node["InstanceType"].asString();
if(!sourceEndpoint7Node["Ip"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.ip = sourceEndpoint7Node["Ip"].asString();
if(!sourceEndpoint7Node["OracleSID"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.oracleSID = sourceEndpoint7Node["OracleSID"].asString();
if(!sourceEndpoint7Node["Port"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.port = sourceEndpoint7Node["Port"].asString();
if(!sourceEndpoint7Node["Region"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.region = sourceEndpoint7Node["Region"].asString();
if(!sourceEndpoint7Node["SslSolutionEnum"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.sslSolutionEnum = sourceEndpoint7Node["SslSolutionEnum"].asString();
if(!sourceEndpoint7Node["OracleSID"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.oracleSID = sourceEndpoint7Node["OracleSID"].asString();
if(!sourceEndpoint7Node["Region"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.region = sourceEndpoint7Node["Region"].asString();
if(!sourceEndpoint7Node["DatabaseName"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.databaseName = sourceEndpoint7Node["DatabaseName"].asString();
if(!sourceEndpoint7Node["Ip"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.ip = sourceEndpoint7Node["Ip"].asString();
if(!sourceEndpoint7Node["InstanceID"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.instanceID = sourceEndpoint7Node["InstanceID"].asString();
if(!sourceEndpoint7Node["Port"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.port = sourceEndpoint7Node["Port"].asString();
if(!sourceEndpoint7Node["InstanceType"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.instanceType = sourceEndpoint7Node["InstanceType"].asString();
if(!sourceEndpoint7Node["UserName"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.userName = sourceEndpoint7Node["UserName"].asString();
if(!sourceEndpoint7Node["EngineName"].isNull())
dtsJobListObject.reverseJob.sourceEndpoint7.engineName = sourceEndpoint7Node["EngineName"].asString();
auto structureInitializationStatus8Node = reverseJobNode["StructureInitializationStatus"];
if(!structureInitializationStatus8Node["ErrorMessage"].isNull())
dtsJobListObject.reverseJob.structureInitializationStatus8.errorMessage = structureInitializationStatus8Node["ErrorMessage"].asString();
if(!structureInitializationStatus8Node["Percent"].isNull())
dtsJobListObject.reverseJob.structureInitializationStatus8.percent = structureInitializationStatus8Node["Percent"].asString();
if(!structureInitializationStatus8Node["Progress"].isNull())
dtsJobListObject.reverseJob.structureInitializationStatus8.progress = structureInitializationStatus8Node["Progress"].asString();
if(!structureInitializationStatus8Node["Status"].isNull())
dtsJobListObject.reverseJob.structureInitializationStatus8.status = structureInitializationStatus8Node["Status"].asString();
if(!structureInitializationStatus8Node["Percent"].isNull())
dtsJobListObject.reverseJob.structureInitializationStatus8.percent = structureInitializationStatus8Node["Percent"].asString();
if(!structureInitializationStatus8Node["ErrorMessage"].isNull())
dtsJobListObject.reverseJob.structureInitializationStatus8.errorMessage = structureInitializationStatus8Node["ErrorMessage"].asString();
if(!structureInitializationStatus8Node["Progress"].isNull())
dtsJobListObject.reverseJob.structureInitializationStatus8.progress = structureInitializationStatus8Node["Progress"].asString();
auto sourceEndpointNode = value["SourceEndpoint"];
if(!sourceEndpointNode["DatabaseName"].isNull())
dtsJobListObject.sourceEndpoint.databaseName = sourceEndpointNode["DatabaseName"].asString();
if(!sourceEndpointNode["EngineName"].isNull())
dtsJobListObject.sourceEndpoint.engineName = sourceEndpointNode["EngineName"].asString();
if(!sourceEndpointNode["InstanceID"].isNull())
dtsJobListObject.sourceEndpoint.instanceID = sourceEndpointNode["InstanceID"].asString();
if(!sourceEndpointNode["InstanceType"].isNull())
dtsJobListObject.sourceEndpoint.instanceType = sourceEndpointNode["InstanceType"].asString();
if(!sourceEndpointNode["Ip"].isNull())
dtsJobListObject.sourceEndpoint.ip = sourceEndpointNode["Ip"].asString();
if(!sourceEndpointNode["OracleSID"].isNull())
dtsJobListObject.sourceEndpoint.oracleSID = sourceEndpointNode["OracleSID"].asString();
if(!sourceEndpointNode["Port"].isNull())
dtsJobListObject.sourceEndpoint.port = sourceEndpointNode["Port"].asString();
if(!sourceEndpointNode["Region"].isNull())
dtsJobListObject.sourceEndpoint.region = sourceEndpointNode["Region"].asString();
if(!sourceEndpointNode["SslSolutionEnum"].isNull())
dtsJobListObject.sourceEndpoint.sslSolutionEnum = sourceEndpointNode["SslSolutionEnum"].asString();
if(!sourceEndpointNode["OracleSID"].isNull())
dtsJobListObject.sourceEndpoint.oracleSID = sourceEndpointNode["OracleSID"].asString();
if(!sourceEndpointNode["Region"].isNull())
dtsJobListObject.sourceEndpoint.region = sourceEndpointNode["Region"].asString();
if(!sourceEndpointNode["DatabaseName"].isNull())
dtsJobListObject.sourceEndpoint.databaseName = sourceEndpointNode["DatabaseName"].asString();
if(!sourceEndpointNode["Ip"].isNull())
dtsJobListObject.sourceEndpoint.ip = sourceEndpointNode["Ip"].asString();
if(!sourceEndpointNode["InstanceID"].isNull())
dtsJobListObject.sourceEndpoint.instanceID = sourceEndpointNode["InstanceID"].asString();
if(!sourceEndpointNode["Port"].isNull())
dtsJobListObject.sourceEndpoint.port = sourceEndpointNode["Port"].asString();
if(!sourceEndpointNode["InstanceType"].isNull())
dtsJobListObject.sourceEndpoint.instanceType = sourceEndpointNode["InstanceType"].asString();
if(!sourceEndpointNode["UserName"].isNull())
dtsJobListObject.sourceEndpoint.userName = sourceEndpointNode["UserName"].asString();
if(!sourceEndpointNode["EngineName"].isNull())
dtsJobListObject.sourceEndpoint.engineName = sourceEndpointNode["EngineName"].asString();
auto structureInitializationStatusNode = value["StructureInitializationStatus"];
if(!structureInitializationStatusNode["ErrorMessage"].isNull())
dtsJobListObject.structureInitializationStatus.errorMessage = structureInitializationStatusNode["ErrorMessage"].asString();
if(!structureInitializationStatusNode["Percent"].isNull())
dtsJobListObject.structureInitializationStatus.percent = structureInitializationStatusNode["Percent"].asString();
if(!structureInitializationStatusNode["Progress"].isNull())
dtsJobListObject.structureInitializationStatus.progress = structureInitializationStatusNode["Progress"].asString();
if(!structureInitializationStatusNode["Status"].isNull())
dtsJobListObject.structureInitializationStatus.status = structureInitializationStatusNode["Status"].asString();
if(!structureInitializationStatusNode["Percent"].isNull())
dtsJobListObject.structureInitializationStatus.percent = structureInitializationStatusNode["Percent"].asString();
if(!structureInitializationStatusNode["ErrorMessage"].isNull())
dtsJobListObject.structureInitializationStatus.errorMessage = structureInitializationStatusNode["ErrorMessage"].asString();
if(!structureInitializationStatusNode["Progress"].isNull())
dtsJobListObject.structureInitializationStatus.progress = structureInitializationStatusNode["Progress"].asString();
auto retryStateNode = value["RetryState"];
if(!retryStateNode["RetryCount"].isNull())
dtsJobListObject.retryState.retryCount = std::stoi(retryStateNode["RetryCount"].asString());
if(!retryStateNode["MaxRetryTime"].isNull())
dtsJobListObject.retryState.maxRetryTime = std::stoi(retryStateNode["MaxRetryTime"].asString());
if(!retryStateNode["ErrMessage"].isNull())
dtsJobListObject.retryState.errMessage = retryStateNode["ErrMessage"].asString();
if(!retryStateNode["RetryTarget"].isNull())
dtsJobListObject.retryState.retryTarget = retryStateNode["RetryTarget"].asString();
if(!retryStateNode["RetryTime"].isNull())
dtsJobListObject.retryState.retryTime = std::stoi(retryStateNode["RetryTime"].asString());
dtsJobList_.push_back(dtsJobListObject);
}
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageRecordCount"].isNull())
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["PageRecordCount"].isNull())
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
if(!value["TotalRecordCount"].isNull())
totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString());
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
}

View File

@@ -1,95 +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/dts/model/IgnoreJobDetailRequest.h>
using AlibabaCloud::Dts::Model::IgnoreJobDetailRequest;
IgnoreJobDetailRequest::IgnoreJobDetailRequest() :
RpcServiceRequest("dts", "2020-01-01", "IgnoreJobDetail")
{
setMethod(HttpRequest::Method::Post);
}
IgnoreJobDetailRequest::~IgnoreJobDetailRequest()
{}
std::string IgnoreJobDetailRequest::getRegionId()const
{
return regionId_;
}
void IgnoreJobDetailRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string IgnoreJobDetailRequest::getJobCode()const
{
return jobCode_;
}
void IgnoreJobDetailRequest::setJobCode(const std::string& jobCode)
{
jobCode_ = jobCode;
setParameter("JobCode", jobCode);
}
std::string IgnoreJobDetailRequest::getDtsJobId()const
{
return dtsJobId_;
}
void IgnoreJobDetailRequest::setDtsJobId(const std::string& dtsJobId)
{
dtsJobId_ = dtsJobId;
setParameter("DtsJobId", dtsJobId);
}
std::string IgnoreJobDetailRequest::getId()const
{
return id_;
}
void IgnoreJobDetailRequest::setId(const std::string& id)
{
id_ = id;
setParameter("Id", id);
}
std::string IgnoreJobDetailRequest::getDtsInstanceId()const
{
return dtsInstanceId_;
}
void IgnoreJobDetailRequest::setDtsInstanceId(const std::string& dtsInstanceId)
{
dtsInstanceId_ = dtsInstanceId;
setParameter("DtsInstanceId", dtsInstanceId);
}
std::string IgnoreJobDetailRequest::getSynchronizationDirection()const
{
return synchronizationDirection_;
}
void IgnoreJobDetailRequest::setSynchronizationDirection(const std::string& synchronizationDirection)
{
synchronizationDirection_ = synchronizationDirection;
setParameter("SynchronizationDirection", synchronizationDirection);
}

View File

@@ -0,0 +1,106 @@
/*
* 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/dts/model/InitDtsRdsInstanceRequest.h>
using AlibabaCloud::Dts::Model::InitDtsRdsInstanceRequest;
InitDtsRdsInstanceRequest::InitDtsRdsInstanceRequest() :
RpcServiceRequest("dts", "2020-01-01", "InitDtsRdsInstance")
{
setMethod(HttpRequest::Method::Post);
}
InitDtsRdsInstanceRequest::~InitDtsRdsInstanceRequest()
{}
std::string InitDtsRdsInstanceRequest::getEndpointInstanceId()const
{
return endpointInstanceId_;
}
void InitDtsRdsInstanceRequest::setEndpointInstanceId(const std::string& endpointInstanceId)
{
endpointInstanceId_ = endpointInstanceId;
setParameter("EndpointInstanceId", endpointInstanceId);
}
std::string InitDtsRdsInstanceRequest::getEndpointRegion()const
{
return endpointRegion_;
}
void InitDtsRdsInstanceRequest::setEndpointRegion(const std::string& endpointRegion)
{
endpointRegion_ = endpointRegion;
setParameter("EndpointRegion", endpointRegion);
}
std::string InitDtsRdsInstanceRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void InitDtsRdsInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string InitDtsRdsInstanceRequest::getRegionId()const
{
return regionId_;
}
void InitDtsRdsInstanceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string InitDtsRdsInstanceRequest::getEndpointCenId()const
{
return endpointCenId_;
}
void InitDtsRdsInstanceRequest::setEndpointCenId(const std::string& endpointCenId)
{
endpointCenId_ = endpointCenId;
setParameter("EndpointCenId", endpointCenId);
}
std::string InitDtsRdsInstanceRequest::getEndpointInstanceType()const
{
return endpointInstanceType_;
}
void InitDtsRdsInstanceRequest::setEndpointInstanceType(const std::string& endpointInstanceType)
{
endpointInstanceType_ = endpointInstanceType;
setParameter("EndpointInstanceType", endpointInstanceType);
}
std::string InitDtsRdsInstanceRequest::getDtsInstanceId()const
{
return dtsInstanceId_;
}
void InitDtsRdsInstanceRequest::setDtsInstanceId(const std::string& dtsInstanceId)
{
dtsInstanceId_ = dtsInstanceId;
setParameter("DtsInstanceId", dtsInstanceId);
}

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dts/model/InitDtsRdsInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dts;
using namespace AlibabaCloud::Dts::Model;
InitDtsRdsInstanceResult::InitDtsRdsInstanceResult() :
ServiceResult()
{}
InitDtsRdsInstanceResult::InitDtsRdsInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
InitDtsRdsInstanceResult::~InitDtsRdsInstanceResult()
{}
void InitDtsRdsInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = value["HttpStatusCode"].asString();
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["AdminAccount"].isNull())
adminAccount_ = value["AdminAccount"].asString();
if(!value["AdminPassword"].isNull())
adminPassword_ = value["AdminPassword"].asString();
}
std::string InitDtsRdsInstanceResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string InitDtsRdsInstanceResult::getAdminAccount()const
{
return adminAccount_;
}
std::string InitDtsRdsInstanceResult::getErrMessage()const
{
return errMessage_;
}
std::string InitDtsRdsInstanceResult::getSuccess()const
{
return success_;
}
std::string InitDtsRdsInstanceResult::getAdminPassword()const
{
return adminPassword_;
}
std::string InitDtsRdsInstanceResult::getErrCode()const
{
return errCode_;
}

View File

@@ -1,84 +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/dts/model/SummaryJobDetailRequest.h>
using AlibabaCloud::Dts::Model::SummaryJobDetailRequest;
SummaryJobDetailRequest::SummaryJobDetailRequest() :
RpcServiceRequest("dts", "2020-01-01", "SummaryJobDetail")
{
setMethod(HttpRequest::Method::Post);
}
SummaryJobDetailRequest::~SummaryJobDetailRequest()
{}
std::string SummaryJobDetailRequest::getRegionId()const
{
return regionId_;
}
void SummaryJobDetailRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string SummaryJobDetailRequest::getJobCode()const
{
return jobCode_;
}
void SummaryJobDetailRequest::setJobCode(const std::string& jobCode)
{
jobCode_ = jobCode;
setParameter("JobCode", jobCode);
}
std::string SummaryJobDetailRequest::getDtsJobId()const
{
return dtsJobId_;
}
void SummaryJobDetailRequest::setDtsJobId(const std::string& dtsJobId)
{
dtsJobId_ = dtsJobId;
setParameter("DtsJobId", dtsJobId);
}
std::string SummaryJobDetailRequest::getDtsInstanceId()const
{
return dtsInstanceId_;
}
void SummaryJobDetailRequest::setDtsInstanceId(const std::string& dtsInstanceId)
{
dtsInstanceId_ = dtsInstanceId;
setParameter("DtsInstanceId", dtsInstanceId);
}
std::string SummaryJobDetailRequest::getSynchronizationDirection()const
{
return synchronizationDirection_;
}
void SummaryJobDetailRequest::setSynchronizationDirection(const std::string& synchronizationDirection)
{
synchronizationDirection_ = synchronizationDirection;
setParameter("SynchronizationDirection", synchronizationDirection);
}

View File

@@ -1,89 +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/dts/model/SummaryJobDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dts;
using namespace AlibabaCloud::Dts::Model;
SummaryJobDetailResult::SummaryJobDetailResult() :
ServiceResult()
{}
SummaryJobDetailResult::SummaryJobDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SummaryJobDetailResult::~SummaryJobDetailResult()
{}
void SummaryJobDetailResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allProgressSummaryDetailsNode = value["ProgressSummaryDetails"]["ProgressSummaryDetail"];
for (auto valueProgressSummaryDetailsProgressSummaryDetail : allProgressSummaryDetailsNode)
{
ProgressSummaryDetail progressSummaryDetailsObject;
if(!valueProgressSummaryDetailsProgressSummaryDetail["Key"].isNull())
progressSummaryDetailsObject.key = valueProgressSummaryDetailsProgressSummaryDetail["Key"].asString();
if(!valueProgressSummaryDetailsProgressSummaryDetail["TotalCount"].isNull())
progressSummaryDetailsObject.totalCount = std::stol(valueProgressSummaryDetailsProgressSummaryDetail["TotalCount"].asString());
if(!valueProgressSummaryDetailsProgressSummaryDetail["State"].isNull())
progressSummaryDetailsObject.state = std::stoi(valueProgressSummaryDetailsProgressSummaryDetail["State"].asString());
progressSummaryDetails_.push_back(progressSummaryDetailsObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["JobId"].isNull())
jobId_ = value["JobId"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::vector<SummaryJobDetailResult::ProgressSummaryDetail> SummaryJobDetailResult::getProgressSummaryDetails()const
{
return progressSummaryDetails_;
}
int SummaryJobDetailResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string SummaryJobDetailResult::getCode()const
{
return code_;
}
std::string SummaryJobDetailResult::getJobId()const
{
return jobId_;
}
bool SummaryJobDetailResult::getSuccess()const
{
return success_;
}

View File

@@ -39,26 +39,26 @@ void TransferInstanceClassResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["EndTime"].isNull())
endTime_ = value["EndTime"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["DtsJobId"].isNull())
dtsJobId_ = value["DtsJobId"].asString();
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["ChargeType"].isNull())
chargeType_ = value["ChargeType"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["DtsJobId"].isNull())
dtsJobId_ = value["DtsJobId"].asString();
if(!value["InstanceId"].isNull())
instanceId_ = value["InstanceId"].asString();
if(!value["ChargeType"].isNull())
chargeType_ = value["ChargeType"].asString();
if(!value["EndTime"].isNull())
endTime_ = value["EndTime"].asString();
}

View File

@@ -41,6 +41,10 @@ namespace AlibabaCloud
void setVoiceCodeParam(const std::string& voiceCodeParam);
bool getEarlyMediaAsr()const;
void setEarlyMediaAsr(bool earlyMediaAsr);
int getBackgroundSpeed()const;
void setBackgroundSpeed(int backgroundSpeed);
int getBackgroundVolume()const;
void setBackgroundVolume(int backgroundVolume);
int getSpeed()const;
void setSpeed(int speed);
std::string getAccessKeyId()const;
@@ -59,6 +63,8 @@ namespace AlibabaCloud
void setVoiceCode(const std::string& voiceCode);
std::string getCalledShowNumber()const;
void setCalledShowNumber(const std::string& calledShowNumber);
bool getEnableITN()const;
void setEnableITN(bool enableITN);
int getActionCodeTimeBreak()const;
void setActionCodeTimeBreak(int actionCodeTimeBreak);
bool getTtsConf()const;
@@ -79,6 +85,8 @@ namespace AlibabaCloud
void setVolume(int volume);
int getMuteTime()const;
void setMuteTime(int muteTime);
std::string getBackgroundFileCode()const;
void setBackgroundFileCode(const std::string& backgroundFileCode);
std::string getOutId()const;
void setOutId(const std::string& outId);
std::string getAsrModelId()const;
@@ -92,6 +100,8 @@ namespace AlibabaCloud
long resourceOwnerId_;
std::string voiceCodeParam_;
bool earlyMediaAsr_;
int backgroundSpeed_;
int backgroundVolume_;
int speed_;
std::string accessKeyId_;
std::string asrBaseId_;
@@ -101,6 +111,7 @@ namespace AlibabaCloud
int ttsSpeed_;
std::string voiceCode_;
std::string calledShowNumber_;
bool enableITN_;
int actionCodeTimeBreak_;
bool ttsConf_;
bool actionCodeBreak_;
@@ -111,6 +122,7 @@ namespace AlibabaCloud
int streamAsr_;
int volume_;
int muteTime_;
std::string backgroundFileCode_;
std::string outId_;
std::string asrModelId_;
int pauseTime_;

View File

@@ -39,12 +39,12 @@ void SingleCallByTtsResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["CallId"].isNull())
callId_ = value["CallId"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["CallId"].isNull())
callId_ = value["CallId"].asString();
}

View File

@@ -60,6 +60,28 @@ void SmartCallRequest::setEarlyMediaAsr(bool earlyMediaAsr)
setParameter("EarlyMediaAsr", earlyMediaAsr ? "true" : "false");
}
int SmartCallRequest::getBackgroundSpeed()const
{
return backgroundSpeed_;
}
void SmartCallRequest::setBackgroundSpeed(int backgroundSpeed)
{
backgroundSpeed_ = backgroundSpeed;
setParameter("BackgroundSpeed", std::to_string(backgroundSpeed));
}
int SmartCallRequest::getBackgroundVolume()const
{
return backgroundVolume_;
}
void SmartCallRequest::setBackgroundVolume(int backgroundVolume)
{
backgroundVolume_ = backgroundVolume;
setParameter("BackgroundVolume", std::to_string(backgroundVolume));
}
int SmartCallRequest::getSpeed()const
{
return speed_;
@@ -159,6 +181,17 @@ void SmartCallRequest::setCalledShowNumber(const std::string& calledShowNumber)
setParameter("CalledShowNumber", calledShowNumber);
}
bool SmartCallRequest::getEnableITN()const
{
return enableITN_;
}
void SmartCallRequest::setEnableITN(bool enableITN)
{
enableITN_ = enableITN;
setParameter("EnableITN", enableITN ? "true" : "false");
}
int SmartCallRequest::getActionCodeTimeBreak()const
{
return actionCodeTimeBreak_;
@@ -269,6 +302,17 @@ void SmartCallRequest::setMuteTime(int muteTime)
setParameter("MuteTime", std::to_string(muteTime));
}
std::string SmartCallRequest::getBackgroundFileCode()const
{
return backgroundFileCode_;
}
void SmartCallRequest::setBackgroundFileCode(const std::string& backgroundFileCode)
{
backgroundFileCode_ = backgroundFileCode;
setParameter("BackgroundFileCode", backgroundFileCode);
}
std::string SmartCallRequest::getOutId()const
{
return outId_;

View File

@@ -39,12 +39,12 @@ void SmartCallResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["CallId"].isNull())
callId_ = value["CallId"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["CallId"].isNull())
callId_ = value["CallId"].asString();
}

View File

@@ -29,20 +29,18 @@ set(emr_public_header_model
include/alibabacloud/emr/model/AuthorizeSecurityGroupResult.h
include/alibabacloud/emr/model/CancelOrderRequest.h
include/alibabacloud/emr/model/CancelOrderResult.h
include/alibabacloud/emr/model/CleanupFlowEntitySnapshotRequest.h
include/alibabacloud/emr/model/CleanupFlowEntitySnapshotResult.h
include/alibabacloud/emr/model/CloneFlowRequest.h
include/alibabacloud/emr/model/CloneFlowResult.h
include/alibabacloud/emr/model/CloneFlowJobRequest.h
include/alibabacloud/emr/model/CloneFlowJobResult.h
include/alibabacloud/emr/model/CommitFlowEntitySnapshotRequest.h
include/alibabacloud/emr/model/CommitFlowEntitySnapshotResult.h
include/alibabacloud/emr/model/CreateBackupRequest.h
include/alibabacloud/emr/model/CreateBackupResult.h
include/alibabacloud/emr/model/CreateBackupPlanRequest.h
include/alibabacloud/emr/model/CreateBackupPlanResult.h
include/alibabacloud/emr/model/CreateClusterBootstrapActionRequest.h
include/alibabacloud/emr/model/CreateClusterBootstrapActionResult.h
include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h
include/alibabacloud/emr/model/CreateClusterHostGroupResult.h
include/alibabacloud/emr/model/CreateClusterTemplateRequest.h
include/alibabacloud/emr/model/CreateClusterTemplateResult.h
include/alibabacloud/emr/model/CreateClusterV2Request.h
@@ -57,8 +55,6 @@ set(emr_public_header_model
include/alibabacloud/emr/model/CreateFlowResult.h
include/alibabacloud/emr/model/CreateFlowCategoryRequest.h
include/alibabacloud/emr/model/CreateFlowCategoryResult.h
include/alibabacloud/emr/model/CreateFlowEditLockRequest.h
include/alibabacloud/emr/model/CreateFlowEditLockResult.h
include/alibabacloud/emr/model/CreateFlowForWebRequest.h
include/alibabacloud/emr/model/CreateFlowForWebResult.h
include/alibabacloud/emr/model/CreateFlowJobRequest.h
@@ -75,10 +71,6 @@ set(emr_public_header_model
include/alibabacloud/emr/model/CreateLibraryResult.h
include/alibabacloud/emr/model/CreateMetaTablePreviewTaskRequest.h
include/alibabacloud/emr/model/CreateMetaTablePreviewTaskResult.h
include/alibabacloud/emr/model/CreateNoteRequest.h
include/alibabacloud/emr/model/CreateNoteResult.h
include/alibabacloud/emr/model/CreateParagraphRequest.h
include/alibabacloud/emr/model/CreateParagraphResult.h
include/alibabacloud/emr/model/CreateResourcePoolRequest.h
include/alibabacloud/emr/model/CreateResourcePoolResult.h
include/alibabacloud/emr/model/CreateResourceQueueRequest.h
@@ -103,8 +95,6 @@ set(emr_public_header_model
include/alibabacloud/emr/model/DeleteFlowResult.h
include/alibabacloud/emr/model/DeleteFlowCategoryRequest.h
include/alibabacloud/emr/model/DeleteFlowCategoryResult.h
include/alibabacloud/emr/model/DeleteFlowEditLockRequest.h
include/alibabacloud/emr/model/DeleteFlowEditLockResult.h
include/alibabacloud/emr/model/DeleteFlowJobRequest.h
include/alibabacloud/emr/model/DeleteFlowJobResult.h
include/alibabacloud/emr/model/DeleteFlowProjectRequest.h
@@ -117,8 +107,6 @@ set(emr_public_header_model
include/alibabacloud/emr/model/DeleteJobResult.h
include/alibabacloud/emr/model/DeleteLibrariesRequest.h
include/alibabacloud/emr/model/DeleteLibrariesResult.h
include/alibabacloud/emr/model/DeleteNoteRequest.h
include/alibabacloud/emr/model/DeleteNoteResult.h
include/alibabacloud/emr/model/DeleteResourcePoolRequest.h
include/alibabacloud/emr/model/DeleteResourcePoolResult.h
include/alibabacloud/emr/model/DeleteResourceQueueRequest.h
@@ -151,20 +139,18 @@ set(emr_public_header_model
include/alibabacloud/emr/model/DescribeClusterV2Result.h
include/alibabacloud/emr/model/DescribeDataSourceRequest.h
include/alibabacloud/emr/model/DescribeDataSourceResult.h
include/alibabacloud/emr/model/DescribeDiskOpsActivityRequest.h
include/alibabacloud/emr/model/DescribeDiskOpsActivityResult.h
include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h
include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h
include/alibabacloud/emr/model/DescribeExecutionPlanRequest.h
include/alibabacloud/emr/model/DescribeExecutionPlanResult.h
include/alibabacloud/emr/model/DescribeFlowRequest.h
include/alibabacloud/emr/model/DescribeFlowResult.h
include/alibabacloud/emr/model/DescribeFlowAgentTokenRequest.h
include/alibabacloud/emr/model/DescribeFlowAgentTokenResult.h
include/alibabacloud/emr/model/DescribeFlowAgentUserRequest.h
include/alibabacloud/emr/model/DescribeFlowAgentUserResult.h
include/alibabacloud/emr/model/DescribeFlowCategoryRequest.h
include/alibabacloud/emr/model/DescribeFlowCategoryResult.h
include/alibabacloud/emr/model/DescribeFlowCategoryTreeRequest.h
include/alibabacloud/emr/model/DescribeFlowCategoryTreeResult.h
include/alibabacloud/emr/model/DescribeFlowEntitySnapshotRequest.h
include/alibabacloud/emr/model/DescribeFlowEntitySnapshotResult.h
include/alibabacloud/emr/model/DescribeFlowInstanceRequest.h
include/alibabacloud/emr/model/DescribeFlowInstanceResult.h
include/alibabacloud/emr/model/DescribeFlowJobRequest.h
@@ -203,12 +189,6 @@ set(emr_public_header_model
include/alibabacloud/emr/model/DescribeSecurityGroupAttributeResult.h
include/alibabacloud/emr/model/DetachAndReleaseClusterEniRequest.h
include/alibabacloud/emr/model/DetachAndReleaseClusterEniResult.h
include/alibabacloud/emr/model/DiffFlowEntitySnapshotRequest.h
include/alibabacloud/emr/model/DiffFlowEntitySnapshotResult.h
include/alibabacloud/emr/model/DumpMetaDataSourceForOuterRequest.h
include/alibabacloud/emr/model/DumpMetaDataSourceForOuterResult.h
include/alibabacloud/emr/model/GetFlowEntityRelationGraphRequest.h
include/alibabacloud/emr/model/GetFlowEntityRelationGraphResult.h
include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoRequest.h
include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoResult.h
include/alibabacloud/emr/model/GetJobInputStatisticInfoRequest.h
@@ -233,8 +213,6 @@ set(emr_public_header_model
include/alibabacloud/emr/model/InstallLibrariesResult.h
include/alibabacloud/emr/model/JoinResourceGroupRequest.h
include/alibabacloud/emr/model/JoinResourceGroupResult.h
include/alibabacloud/emr/model/KillExecutionJobInstanceRequest.h
include/alibabacloud/emr/model/KillExecutionJobInstanceResult.h
include/alibabacloud/emr/model/KillFlowJobRequest.h
include/alibabacloud/emr/model/KillFlowJobResult.h
include/alibabacloud/emr/model/ListAdviceActionRequest.h
@@ -275,6 +253,8 @@ set(emr_public_header_model
include/alibabacloud/emr/model/ListClustersResult.h
include/alibabacloud/emr/model/ListDataSourceRequest.h
include/alibabacloud/emr/model/ListDataSourceResult.h
include/alibabacloud/emr/model/ListDiskOpsEventsRequest.h
include/alibabacloud/emr/model/ListDiskOpsEventsResult.h
include/alibabacloud/emr/model/ListEmrAvailableConfigRequest.h
include/alibabacloud/emr/model/ListEmrAvailableConfigResult.h
include/alibabacloud/emr/model/ListEmrAvailableResourceRequest.h
@@ -283,8 +263,6 @@ set(emr_public_header_model
include/alibabacloud/emr/model/ListEmrMainVersionResult.h
include/alibabacloud/emr/model/ListExecutionPlanInstancesRequest.h
include/alibabacloud/emr/model/ListExecutionPlanInstancesResult.h
include/alibabacloud/emr/model/ListExecutionPlansRequest.h
include/alibabacloud/emr/model/ListExecutionPlansResult.h
include/alibabacloud/emr/model/ListFlowRequest.h
include/alibabacloud/emr/model/ListFlowResult.h
include/alibabacloud/emr/model/ListFlowCategoryRequest.h
@@ -297,8 +275,6 @@ set(emr_public_header_model
include/alibabacloud/emr/model/ListFlowClusterAllHostsResult.h
include/alibabacloud/emr/model/ListFlowClusterHostRequest.h
include/alibabacloud/emr/model/ListFlowClusterHostResult.h
include/alibabacloud/emr/model/ListFlowEntitySnapshotRequest.h
include/alibabacloud/emr/model/ListFlowEntitySnapshotResult.h
include/alibabacloud/emr/model/ListFlowInstanceRequest.h
include/alibabacloud/emr/model/ListFlowInstanceResult.h
include/alibabacloud/emr/model/ListFlowJobRequest.h
@@ -319,8 +295,6 @@ set(emr_public_header_model
include/alibabacloud/emr/model/ListFlowProjectUserResult.h
include/alibabacloud/emr/model/ListJobExecutionInstancesRequest.h
include/alibabacloud/emr/model/ListJobExecutionInstancesResult.h
include/alibabacloud/emr/model/ListJobInstanceWorkersRequest.h
include/alibabacloud/emr/model/ListJobInstanceWorkersResult.h
include/alibabacloud/emr/model/ListJobsRequest.h
include/alibabacloud/emr/model/ListJobsResult.h
include/alibabacloud/emr/model/ListLibrariesRequest.h
@@ -329,12 +303,8 @@ set(emr_public_header_model
include/alibabacloud/emr/model/ListLibraryInstallTasksResult.h
include/alibabacloud/emr/model/ListLibraryStatusRequest.h
include/alibabacloud/emr/model/ListLibraryStatusResult.h
include/alibabacloud/emr/model/ListMetaClusterRequest.h
include/alibabacloud/emr/model/ListMetaClusterResult.h
include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterRequest.h
include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterResult.h
include/alibabacloud/emr/model/ListNotesRequest.h
include/alibabacloud/emr/model/ListNotesResult.h
include/alibabacloud/emr/model/ListLocalDiskComponentInfoRequest.h
include/alibabacloud/emr/model/ListLocalDiskComponentInfoResult.h
include/alibabacloud/emr/model/ListResourcePoolRequest.h
include/alibabacloud/emr/model/ListResourcePoolResult.h
include/alibabacloud/emr/model/ListRolesRequest.h
@@ -403,22 +373,14 @@ set(emr_public_header_model
include/alibabacloud/emr/model/ModifyScalingRuleResult.h
include/alibabacloud/emr/model/ModifyScalingTaskGroupRequest.h
include/alibabacloud/emr/model/ModifyScalingTaskGroupResult.h
include/alibabacloud/emr/model/QueryAlarmHistoryRequest.h
include/alibabacloud/emr/model/QueryAlarmHistoryResult.h
include/alibabacloud/emr/model/QueryEntityRequest.h
include/alibabacloud/emr/model/QueryEntityResult.h
include/alibabacloud/emr/model/QueryTableDataRequest.h
include/alibabacloud/emr/model/QueryTableDataResult.h
include/alibabacloud/emr/model/QueryTagRequest.h
include/alibabacloud/emr/model/QueryTagResult.h
include/alibabacloud/emr/model/QueryTrendDataRequest.h
include/alibabacloud/emr/model/QueryTrendDataResult.h
include/alibabacloud/emr/model/RefreshClusterResourcePoolRequest.h
include/alibabacloud/emr/model/RefreshClusterResourcePoolResult.h
include/alibabacloud/emr/model/ReleaseClusterRequest.h
include/alibabacloud/emr/model/ReleaseClusterResult.h
include/alibabacloud/emr/model/ReleaseClusterByTemplateTagForInternalRequest.h
include/alibabacloud/emr/model/ReleaseClusterByTemplateTagForInternalResult.h
include/alibabacloud/emr/model/ReleaseClusterHostGroupRequest.h
include/alibabacloud/emr/model/ReleaseClusterHostGroupResult.h
include/alibabacloud/emr/model/RemoveScalingConfigItemV2Request.h
@@ -427,10 +389,6 @@ set(emr_public_header_model
include/alibabacloud/emr/model/RerunFlowResult.h
include/alibabacloud/emr/model/ResizeClusterV2Request.h
include/alibabacloud/emr/model/ResizeClusterV2Result.h
include/alibabacloud/emr/model/RestoreBackupRequest.h
include/alibabacloud/emr/model/RestoreBackupResult.h
include/alibabacloud/emr/model/RestoreFlowEntitySnapshotRequest.h
include/alibabacloud/emr/model/RestoreFlowEntitySnapshotResult.h
include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerRequest.h
include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerResult.h
include/alibabacloud/emr/model/ResumeFlowRequest.h
@@ -439,6 +397,8 @@ set(emr_public_header_model
include/alibabacloud/emr/model/RetryOperationResult.h
include/alibabacloud/emr/model/RunClusterServiceActionRequest.h
include/alibabacloud/emr/model/RunClusterServiceActionResult.h
include/alibabacloud/emr/model/RunDiskOpsActivityRequest.h
include/alibabacloud/emr/model/RunDiskOpsActivityResult.h
include/alibabacloud/emr/model/RunExecutionPlanRequest.h
include/alibabacloud/emr/model/RunExecutionPlanResult.h
include/alibabacloud/emr/model/RunScalingActionV2Request.h
@@ -457,14 +417,10 @@ set(emr_public_header_model
include/alibabacloud/emr/model/SuspendFlowResult.h
include/alibabacloud/emr/model/TagResourcesRequest.h
include/alibabacloud/emr/model/TagResourcesResult.h
include/alibabacloud/emr/model/TagResourcesSystemTagsRequest.h
include/alibabacloud/emr/model/TagResourcesSystemTagsResult.h
include/alibabacloud/emr/model/UninstallLibrariesRequest.h
include/alibabacloud/emr/model/UninstallLibrariesResult.h
include/alibabacloud/emr/model/UntagResourcesRequest.h
include/alibabacloud/emr/model/UntagResourcesResult.h
include/alibabacloud/emr/model/UntagResourcesSystemTagsRequest.h
include/alibabacloud/emr/model/UntagResourcesSystemTagsResult.h
include/alibabacloud/emr/model/UpdateDataSourceRequest.h
include/alibabacloud/emr/model/UpdateDataSourceResult.h
include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusRequest.h
@@ -484,20 +440,18 @@ set(emr_src
src/model/AuthorizeSecurityGroupResult.cc
src/model/CancelOrderRequest.cc
src/model/CancelOrderResult.cc
src/model/CleanupFlowEntitySnapshotRequest.cc
src/model/CleanupFlowEntitySnapshotResult.cc
src/model/CloneFlowRequest.cc
src/model/CloneFlowResult.cc
src/model/CloneFlowJobRequest.cc
src/model/CloneFlowJobResult.cc
src/model/CommitFlowEntitySnapshotRequest.cc
src/model/CommitFlowEntitySnapshotResult.cc
src/model/CreateBackupRequest.cc
src/model/CreateBackupResult.cc
src/model/CreateBackupPlanRequest.cc
src/model/CreateBackupPlanResult.cc
src/model/CreateClusterBootstrapActionRequest.cc
src/model/CreateClusterBootstrapActionResult.cc
src/model/CreateClusterHostGroupRequest.cc
src/model/CreateClusterHostGroupResult.cc
src/model/CreateClusterTemplateRequest.cc
src/model/CreateClusterTemplateResult.cc
src/model/CreateClusterV2Request.cc
@@ -512,8 +466,6 @@ set(emr_src
src/model/CreateFlowResult.cc
src/model/CreateFlowCategoryRequest.cc
src/model/CreateFlowCategoryResult.cc
src/model/CreateFlowEditLockRequest.cc
src/model/CreateFlowEditLockResult.cc
src/model/CreateFlowForWebRequest.cc
src/model/CreateFlowForWebResult.cc
src/model/CreateFlowJobRequest.cc
@@ -530,10 +482,6 @@ set(emr_src
src/model/CreateLibraryResult.cc
src/model/CreateMetaTablePreviewTaskRequest.cc
src/model/CreateMetaTablePreviewTaskResult.cc
src/model/CreateNoteRequest.cc
src/model/CreateNoteResult.cc
src/model/CreateParagraphRequest.cc
src/model/CreateParagraphResult.cc
src/model/CreateResourcePoolRequest.cc
src/model/CreateResourcePoolResult.cc
src/model/CreateResourceQueueRequest.cc
@@ -558,8 +506,6 @@ set(emr_src
src/model/DeleteFlowResult.cc
src/model/DeleteFlowCategoryRequest.cc
src/model/DeleteFlowCategoryResult.cc
src/model/DeleteFlowEditLockRequest.cc
src/model/DeleteFlowEditLockResult.cc
src/model/DeleteFlowJobRequest.cc
src/model/DeleteFlowJobResult.cc
src/model/DeleteFlowProjectRequest.cc
@@ -572,8 +518,6 @@ set(emr_src
src/model/DeleteJobResult.cc
src/model/DeleteLibrariesRequest.cc
src/model/DeleteLibrariesResult.cc
src/model/DeleteNoteRequest.cc
src/model/DeleteNoteResult.cc
src/model/DeleteResourcePoolRequest.cc
src/model/DeleteResourcePoolResult.cc
src/model/DeleteResourceQueueRequest.cc
@@ -606,20 +550,18 @@ set(emr_src
src/model/DescribeClusterV2Result.cc
src/model/DescribeDataSourceRequest.cc
src/model/DescribeDataSourceResult.cc
src/model/DescribeDiskOpsActivityRequest.cc
src/model/DescribeDiskOpsActivityResult.cc
src/model/DescribeEmrMainVersionRequest.cc
src/model/DescribeEmrMainVersionResult.cc
src/model/DescribeExecutionPlanRequest.cc
src/model/DescribeExecutionPlanResult.cc
src/model/DescribeFlowRequest.cc
src/model/DescribeFlowResult.cc
src/model/DescribeFlowAgentTokenRequest.cc
src/model/DescribeFlowAgentTokenResult.cc
src/model/DescribeFlowAgentUserRequest.cc
src/model/DescribeFlowAgentUserResult.cc
src/model/DescribeFlowCategoryRequest.cc
src/model/DescribeFlowCategoryResult.cc
src/model/DescribeFlowCategoryTreeRequest.cc
src/model/DescribeFlowCategoryTreeResult.cc
src/model/DescribeFlowEntitySnapshotRequest.cc
src/model/DescribeFlowEntitySnapshotResult.cc
src/model/DescribeFlowInstanceRequest.cc
src/model/DescribeFlowInstanceResult.cc
src/model/DescribeFlowJobRequest.cc
@@ -658,12 +600,6 @@ set(emr_src
src/model/DescribeSecurityGroupAttributeResult.cc
src/model/DetachAndReleaseClusterEniRequest.cc
src/model/DetachAndReleaseClusterEniResult.cc
src/model/DiffFlowEntitySnapshotRequest.cc
src/model/DiffFlowEntitySnapshotResult.cc
src/model/DumpMetaDataSourceForOuterRequest.cc
src/model/DumpMetaDataSourceForOuterResult.cc
src/model/GetFlowEntityRelationGraphRequest.cc
src/model/GetFlowEntityRelationGraphResult.cc
src/model/GetHdfsCapacityStatisticInfoRequest.cc
src/model/GetHdfsCapacityStatisticInfoResult.cc
src/model/GetJobInputStatisticInfoRequest.cc
@@ -688,8 +624,6 @@ set(emr_src
src/model/InstallLibrariesResult.cc
src/model/JoinResourceGroupRequest.cc
src/model/JoinResourceGroupResult.cc
src/model/KillExecutionJobInstanceRequest.cc
src/model/KillExecutionJobInstanceResult.cc
src/model/KillFlowJobRequest.cc
src/model/KillFlowJobResult.cc
src/model/ListAdviceActionRequest.cc
@@ -730,6 +664,8 @@ set(emr_src
src/model/ListClustersResult.cc
src/model/ListDataSourceRequest.cc
src/model/ListDataSourceResult.cc
src/model/ListDiskOpsEventsRequest.cc
src/model/ListDiskOpsEventsResult.cc
src/model/ListEmrAvailableConfigRequest.cc
src/model/ListEmrAvailableConfigResult.cc
src/model/ListEmrAvailableResourceRequest.cc
@@ -738,8 +674,6 @@ set(emr_src
src/model/ListEmrMainVersionResult.cc
src/model/ListExecutionPlanInstancesRequest.cc
src/model/ListExecutionPlanInstancesResult.cc
src/model/ListExecutionPlansRequest.cc
src/model/ListExecutionPlansResult.cc
src/model/ListFlowRequest.cc
src/model/ListFlowResult.cc
src/model/ListFlowCategoryRequest.cc
@@ -752,8 +686,6 @@ set(emr_src
src/model/ListFlowClusterAllHostsResult.cc
src/model/ListFlowClusterHostRequest.cc
src/model/ListFlowClusterHostResult.cc
src/model/ListFlowEntitySnapshotRequest.cc
src/model/ListFlowEntitySnapshotResult.cc
src/model/ListFlowInstanceRequest.cc
src/model/ListFlowInstanceResult.cc
src/model/ListFlowJobRequest.cc
@@ -774,8 +706,6 @@ set(emr_src
src/model/ListFlowProjectUserResult.cc
src/model/ListJobExecutionInstancesRequest.cc
src/model/ListJobExecutionInstancesResult.cc
src/model/ListJobInstanceWorkersRequest.cc
src/model/ListJobInstanceWorkersResult.cc
src/model/ListJobsRequest.cc
src/model/ListJobsResult.cc
src/model/ListLibrariesRequest.cc
@@ -784,12 +714,8 @@ set(emr_src
src/model/ListLibraryInstallTasksResult.cc
src/model/ListLibraryStatusRequest.cc
src/model/ListLibraryStatusResult.cc
src/model/ListMetaClusterRequest.cc
src/model/ListMetaClusterResult.cc
src/model/ListMetaDataSourceClusterForOuterRequest.cc
src/model/ListMetaDataSourceClusterForOuterResult.cc
src/model/ListNotesRequest.cc
src/model/ListNotesResult.cc
src/model/ListLocalDiskComponentInfoRequest.cc
src/model/ListLocalDiskComponentInfoResult.cc
src/model/ListResourcePoolRequest.cc
src/model/ListResourcePoolResult.cc
src/model/ListRolesRequest.cc
@@ -858,22 +784,14 @@ set(emr_src
src/model/ModifyScalingRuleResult.cc
src/model/ModifyScalingTaskGroupRequest.cc
src/model/ModifyScalingTaskGroupResult.cc
src/model/QueryAlarmHistoryRequest.cc
src/model/QueryAlarmHistoryResult.cc
src/model/QueryEntityRequest.cc
src/model/QueryEntityResult.cc
src/model/QueryTableDataRequest.cc
src/model/QueryTableDataResult.cc
src/model/QueryTagRequest.cc
src/model/QueryTagResult.cc
src/model/QueryTrendDataRequest.cc
src/model/QueryTrendDataResult.cc
src/model/RefreshClusterResourcePoolRequest.cc
src/model/RefreshClusterResourcePoolResult.cc
src/model/ReleaseClusterRequest.cc
src/model/ReleaseClusterResult.cc
src/model/ReleaseClusterByTemplateTagForInternalRequest.cc
src/model/ReleaseClusterByTemplateTagForInternalResult.cc
src/model/ReleaseClusterHostGroupRequest.cc
src/model/ReleaseClusterHostGroupResult.cc
src/model/RemoveScalingConfigItemV2Request.cc
@@ -882,10 +800,6 @@ set(emr_src
src/model/RerunFlowResult.cc
src/model/ResizeClusterV2Request.cc
src/model/ResizeClusterV2Result.cc
src/model/RestoreBackupRequest.cc
src/model/RestoreBackupResult.cc
src/model/RestoreFlowEntitySnapshotRequest.cc
src/model/RestoreFlowEntitySnapshotResult.cc
src/model/ResumeExecutionPlanSchedulerRequest.cc
src/model/ResumeExecutionPlanSchedulerResult.cc
src/model/ResumeFlowRequest.cc
@@ -894,6 +808,8 @@ set(emr_src
src/model/RetryOperationResult.cc
src/model/RunClusterServiceActionRequest.cc
src/model/RunClusterServiceActionResult.cc
src/model/RunDiskOpsActivityRequest.cc
src/model/RunDiskOpsActivityResult.cc
src/model/RunExecutionPlanRequest.cc
src/model/RunExecutionPlanResult.cc
src/model/RunScalingActionV2Request.cc
@@ -912,14 +828,10 @@ set(emr_src
src/model/SuspendFlowResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/TagResourcesSystemTagsRequest.cc
src/model/TagResourcesSystemTagsResult.cc
src/model/UninstallLibrariesRequest.cc
src/model/UninstallLibrariesResult.cc
src/model/UntagResourcesRequest.cc
src/model/UntagResourcesResult.cc
src/model/UntagResourcesSystemTagsRequest.cc
src/model/UntagResourcesSystemTagsResult.cc
src/model/UpdateDataSourceRequest.cc
src/model/UpdateDataSourceResult.cc
src/model/UpdateLibraryInstallTaskStatusRequest.cc

View File

@@ -30,20 +30,18 @@
#include "model/AuthorizeSecurityGroupResult.h"
#include "model/CancelOrderRequest.h"
#include "model/CancelOrderResult.h"
#include "model/CleanupFlowEntitySnapshotRequest.h"
#include "model/CleanupFlowEntitySnapshotResult.h"
#include "model/CloneFlowRequest.h"
#include "model/CloneFlowResult.h"
#include "model/CloneFlowJobRequest.h"
#include "model/CloneFlowJobResult.h"
#include "model/CommitFlowEntitySnapshotRequest.h"
#include "model/CommitFlowEntitySnapshotResult.h"
#include "model/CreateBackupRequest.h"
#include "model/CreateBackupResult.h"
#include "model/CreateBackupPlanRequest.h"
#include "model/CreateBackupPlanResult.h"
#include "model/CreateClusterBootstrapActionRequest.h"
#include "model/CreateClusterBootstrapActionResult.h"
#include "model/CreateClusterHostGroupRequest.h"
#include "model/CreateClusterHostGroupResult.h"
#include "model/CreateClusterTemplateRequest.h"
#include "model/CreateClusterTemplateResult.h"
#include "model/CreateClusterV2Request.h"
@@ -58,8 +56,6 @@
#include "model/CreateFlowResult.h"
#include "model/CreateFlowCategoryRequest.h"
#include "model/CreateFlowCategoryResult.h"
#include "model/CreateFlowEditLockRequest.h"
#include "model/CreateFlowEditLockResult.h"
#include "model/CreateFlowForWebRequest.h"
#include "model/CreateFlowForWebResult.h"
#include "model/CreateFlowJobRequest.h"
@@ -76,10 +72,6 @@
#include "model/CreateLibraryResult.h"
#include "model/CreateMetaTablePreviewTaskRequest.h"
#include "model/CreateMetaTablePreviewTaskResult.h"
#include "model/CreateNoteRequest.h"
#include "model/CreateNoteResult.h"
#include "model/CreateParagraphRequest.h"
#include "model/CreateParagraphResult.h"
#include "model/CreateResourcePoolRequest.h"
#include "model/CreateResourcePoolResult.h"
#include "model/CreateResourceQueueRequest.h"
@@ -104,8 +96,6 @@
#include "model/DeleteFlowResult.h"
#include "model/DeleteFlowCategoryRequest.h"
#include "model/DeleteFlowCategoryResult.h"
#include "model/DeleteFlowEditLockRequest.h"
#include "model/DeleteFlowEditLockResult.h"
#include "model/DeleteFlowJobRequest.h"
#include "model/DeleteFlowJobResult.h"
#include "model/DeleteFlowProjectRequest.h"
@@ -118,8 +108,6 @@
#include "model/DeleteJobResult.h"
#include "model/DeleteLibrariesRequest.h"
#include "model/DeleteLibrariesResult.h"
#include "model/DeleteNoteRequest.h"
#include "model/DeleteNoteResult.h"
#include "model/DeleteResourcePoolRequest.h"
#include "model/DeleteResourcePoolResult.h"
#include "model/DeleteResourceQueueRequest.h"
@@ -152,20 +140,18 @@
#include "model/DescribeClusterV2Result.h"
#include "model/DescribeDataSourceRequest.h"
#include "model/DescribeDataSourceResult.h"
#include "model/DescribeDiskOpsActivityRequest.h"
#include "model/DescribeDiskOpsActivityResult.h"
#include "model/DescribeEmrMainVersionRequest.h"
#include "model/DescribeEmrMainVersionResult.h"
#include "model/DescribeExecutionPlanRequest.h"
#include "model/DescribeExecutionPlanResult.h"
#include "model/DescribeFlowRequest.h"
#include "model/DescribeFlowResult.h"
#include "model/DescribeFlowAgentTokenRequest.h"
#include "model/DescribeFlowAgentTokenResult.h"
#include "model/DescribeFlowAgentUserRequest.h"
#include "model/DescribeFlowAgentUserResult.h"
#include "model/DescribeFlowCategoryRequest.h"
#include "model/DescribeFlowCategoryResult.h"
#include "model/DescribeFlowCategoryTreeRequest.h"
#include "model/DescribeFlowCategoryTreeResult.h"
#include "model/DescribeFlowEntitySnapshotRequest.h"
#include "model/DescribeFlowEntitySnapshotResult.h"
#include "model/DescribeFlowInstanceRequest.h"
#include "model/DescribeFlowInstanceResult.h"
#include "model/DescribeFlowJobRequest.h"
@@ -204,12 +190,6 @@
#include "model/DescribeSecurityGroupAttributeResult.h"
#include "model/DetachAndReleaseClusterEniRequest.h"
#include "model/DetachAndReleaseClusterEniResult.h"
#include "model/DiffFlowEntitySnapshotRequest.h"
#include "model/DiffFlowEntitySnapshotResult.h"
#include "model/DumpMetaDataSourceForOuterRequest.h"
#include "model/DumpMetaDataSourceForOuterResult.h"
#include "model/GetFlowEntityRelationGraphRequest.h"
#include "model/GetFlowEntityRelationGraphResult.h"
#include "model/GetHdfsCapacityStatisticInfoRequest.h"
#include "model/GetHdfsCapacityStatisticInfoResult.h"
#include "model/GetJobInputStatisticInfoRequest.h"
@@ -234,8 +214,6 @@
#include "model/InstallLibrariesResult.h"
#include "model/JoinResourceGroupRequest.h"
#include "model/JoinResourceGroupResult.h"
#include "model/KillExecutionJobInstanceRequest.h"
#include "model/KillExecutionJobInstanceResult.h"
#include "model/KillFlowJobRequest.h"
#include "model/KillFlowJobResult.h"
#include "model/ListAdviceActionRequest.h"
@@ -276,6 +254,8 @@
#include "model/ListClustersResult.h"
#include "model/ListDataSourceRequest.h"
#include "model/ListDataSourceResult.h"
#include "model/ListDiskOpsEventsRequest.h"
#include "model/ListDiskOpsEventsResult.h"
#include "model/ListEmrAvailableConfigRequest.h"
#include "model/ListEmrAvailableConfigResult.h"
#include "model/ListEmrAvailableResourceRequest.h"
@@ -284,8 +264,6 @@
#include "model/ListEmrMainVersionResult.h"
#include "model/ListExecutionPlanInstancesRequest.h"
#include "model/ListExecutionPlanInstancesResult.h"
#include "model/ListExecutionPlansRequest.h"
#include "model/ListExecutionPlansResult.h"
#include "model/ListFlowRequest.h"
#include "model/ListFlowResult.h"
#include "model/ListFlowCategoryRequest.h"
@@ -298,8 +276,6 @@
#include "model/ListFlowClusterAllHostsResult.h"
#include "model/ListFlowClusterHostRequest.h"
#include "model/ListFlowClusterHostResult.h"
#include "model/ListFlowEntitySnapshotRequest.h"
#include "model/ListFlowEntitySnapshotResult.h"
#include "model/ListFlowInstanceRequest.h"
#include "model/ListFlowInstanceResult.h"
#include "model/ListFlowJobRequest.h"
@@ -320,8 +296,6 @@
#include "model/ListFlowProjectUserResult.h"
#include "model/ListJobExecutionInstancesRequest.h"
#include "model/ListJobExecutionInstancesResult.h"
#include "model/ListJobInstanceWorkersRequest.h"
#include "model/ListJobInstanceWorkersResult.h"
#include "model/ListJobsRequest.h"
#include "model/ListJobsResult.h"
#include "model/ListLibrariesRequest.h"
@@ -330,12 +304,8 @@
#include "model/ListLibraryInstallTasksResult.h"
#include "model/ListLibraryStatusRequest.h"
#include "model/ListLibraryStatusResult.h"
#include "model/ListMetaClusterRequest.h"
#include "model/ListMetaClusterResult.h"
#include "model/ListMetaDataSourceClusterForOuterRequest.h"
#include "model/ListMetaDataSourceClusterForOuterResult.h"
#include "model/ListNotesRequest.h"
#include "model/ListNotesResult.h"
#include "model/ListLocalDiskComponentInfoRequest.h"
#include "model/ListLocalDiskComponentInfoResult.h"
#include "model/ListResourcePoolRequest.h"
#include "model/ListResourcePoolResult.h"
#include "model/ListRolesRequest.h"
@@ -404,22 +374,14 @@
#include "model/ModifyScalingRuleResult.h"
#include "model/ModifyScalingTaskGroupRequest.h"
#include "model/ModifyScalingTaskGroupResult.h"
#include "model/QueryAlarmHistoryRequest.h"
#include "model/QueryAlarmHistoryResult.h"
#include "model/QueryEntityRequest.h"
#include "model/QueryEntityResult.h"
#include "model/QueryTableDataRequest.h"
#include "model/QueryTableDataResult.h"
#include "model/QueryTagRequest.h"
#include "model/QueryTagResult.h"
#include "model/QueryTrendDataRequest.h"
#include "model/QueryTrendDataResult.h"
#include "model/RefreshClusterResourcePoolRequest.h"
#include "model/RefreshClusterResourcePoolResult.h"
#include "model/ReleaseClusterRequest.h"
#include "model/ReleaseClusterResult.h"
#include "model/ReleaseClusterByTemplateTagForInternalRequest.h"
#include "model/ReleaseClusterByTemplateTagForInternalResult.h"
#include "model/ReleaseClusterHostGroupRequest.h"
#include "model/ReleaseClusterHostGroupResult.h"
#include "model/RemoveScalingConfigItemV2Request.h"
@@ -428,10 +390,6 @@
#include "model/RerunFlowResult.h"
#include "model/ResizeClusterV2Request.h"
#include "model/ResizeClusterV2Result.h"
#include "model/RestoreBackupRequest.h"
#include "model/RestoreBackupResult.h"
#include "model/RestoreFlowEntitySnapshotRequest.h"
#include "model/RestoreFlowEntitySnapshotResult.h"
#include "model/ResumeExecutionPlanSchedulerRequest.h"
#include "model/ResumeExecutionPlanSchedulerResult.h"
#include "model/ResumeFlowRequest.h"
@@ -440,6 +398,8 @@
#include "model/RetryOperationResult.h"
#include "model/RunClusterServiceActionRequest.h"
#include "model/RunClusterServiceActionResult.h"
#include "model/RunDiskOpsActivityRequest.h"
#include "model/RunDiskOpsActivityResult.h"
#include "model/RunExecutionPlanRequest.h"
#include "model/RunExecutionPlanResult.h"
#include "model/RunScalingActionV2Request.h"
@@ -458,14 +418,10 @@
#include "model/SuspendFlowResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/TagResourcesSystemTagsRequest.h"
#include "model/TagResourcesSystemTagsResult.h"
#include "model/UninstallLibrariesRequest.h"
#include "model/UninstallLibrariesResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
#include "model/UntagResourcesSystemTagsRequest.h"
#include "model/UntagResourcesSystemTagsResult.h"
#include "model/UpdateDataSourceRequest.h"
#include "model/UpdateDataSourceResult.h"
#include "model/UpdateLibraryInstallTaskStatusRequest.h"
@@ -495,18 +451,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CancelOrderResult> CancelOrderOutcome;
typedef std::future<CancelOrderOutcome> CancelOrderOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CancelOrderRequest&, const CancelOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelOrderAsyncHandler;
typedef Outcome<Error, Model::CleanupFlowEntitySnapshotResult> CleanupFlowEntitySnapshotOutcome;
typedef std::future<CleanupFlowEntitySnapshotOutcome> CleanupFlowEntitySnapshotOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CleanupFlowEntitySnapshotRequest&, const CleanupFlowEntitySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CleanupFlowEntitySnapshotAsyncHandler;
typedef Outcome<Error, Model::CloneFlowResult> CloneFlowOutcome;
typedef std::future<CloneFlowOutcome> CloneFlowOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CloneFlowRequest&, const CloneFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloneFlowAsyncHandler;
typedef Outcome<Error, Model::CloneFlowJobResult> CloneFlowJobOutcome;
typedef std::future<CloneFlowJobOutcome> CloneFlowJobOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CloneFlowJobRequest&, const CloneFlowJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloneFlowJobAsyncHandler;
typedef Outcome<Error, Model::CommitFlowEntitySnapshotResult> CommitFlowEntitySnapshotOutcome;
typedef std::future<CommitFlowEntitySnapshotOutcome> CommitFlowEntitySnapshotOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CommitFlowEntitySnapshotRequest&, const CommitFlowEntitySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CommitFlowEntitySnapshotAsyncHandler;
typedef Outcome<Error, Model::CreateBackupResult> CreateBackupOutcome;
typedef std::future<CreateBackupOutcome> CreateBackupOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CreateBackupRequest&, const CreateBackupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBackupAsyncHandler;
@@ -516,6 +466,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateClusterBootstrapActionResult> CreateClusterBootstrapActionOutcome;
typedef std::future<CreateClusterBootstrapActionOutcome> CreateClusterBootstrapActionOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CreateClusterBootstrapActionRequest&, const CreateClusterBootstrapActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateClusterBootstrapActionAsyncHandler;
typedef Outcome<Error, Model::CreateClusterHostGroupResult> CreateClusterHostGroupOutcome;
typedef std::future<CreateClusterHostGroupOutcome> CreateClusterHostGroupOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CreateClusterHostGroupRequest&, const CreateClusterHostGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateClusterHostGroupAsyncHandler;
typedef Outcome<Error, Model::CreateClusterTemplateResult> CreateClusterTemplateOutcome;
typedef std::future<CreateClusterTemplateOutcome> CreateClusterTemplateOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CreateClusterTemplateRequest&, const CreateClusterTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateClusterTemplateAsyncHandler;
@@ -537,9 +490,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateFlowCategoryResult> CreateFlowCategoryOutcome;
typedef std::future<CreateFlowCategoryOutcome> CreateFlowCategoryOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CreateFlowCategoryRequest&, const CreateFlowCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFlowCategoryAsyncHandler;
typedef Outcome<Error, Model::CreateFlowEditLockResult> CreateFlowEditLockOutcome;
typedef std::future<CreateFlowEditLockOutcome> CreateFlowEditLockOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CreateFlowEditLockRequest&, const CreateFlowEditLockOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFlowEditLockAsyncHandler;
typedef Outcome<Error, Model::CreateFlowForWebResult> CreateFlowForWebOutcome;
typedef std::future<CreateFlowForWebOutcome> CreateFlowForWebOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CreateFlowForWebRequest&, const CreateFlowForWebOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFlowForWebAsyncHandler;
@@ -564,12 +514,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateMetaTablePreviewTaskResult> CreateMetaTablePreviewTaskOutcome;
typedef std::future<CreateMetaTablePreviewTaskOutcome> CreateMetaTablePreviewTaskOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CreateMetaTablePreviewTaskRequest&, const CreateMetaTablePreviewTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMetaTablePreviewTaskAsyncHandler;
typedef Outcome<Error, Model::CreateNoteResult> CreateNoteOutcome;
typedef std::future<CreateNoteOutcome> CreateNoteOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CreateNoteRequest&, const CreateNoteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateNoteAsyncHandler;
typedef Outcome<Error, Model::CreateParagraphResult> CreateParagraphOutcome;
typedef std::future<CreateParagraphOutcome> CreateParagraphOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CreateParagraphRequest&, const CreateParagraphOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateParagraphAsyncHandler;
typedef Outcome<Error, Model::CreateResourcePoolResult> CreateResourcePoolOutcome;
typedef std::future<CreateResourcePoolOutcome> CreateResourcePoolOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::CreateResourcePoolRequest&, const CreateResourcePoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateResourcePoolAsyncHandler;
@@ -606,9 +550,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteFlowCategoryResult> DeleteFlowCategoryOutcome;
typedef std::future<DeleteFlowCategoryOutcome> DeleteFlowCategoryOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DeleteFlowCategoryRequest&, const DeleteFlowCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFlowCategoryAsyncHandler;
typedef Outcome<Error, Model::DeleteFlowEditLockResult> DeleteFlowEditLockOutcome;
typedef std::future<DeleteFlowEditLockOutcome> DeleteFlowEditLockOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DeleteFlowEditLockRequest&, const DeleteFlowEditLockOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFlowEditLockAsyncHandler;
typedef Outcome<Error, Model::DeleteFlowJobResult> DeleteFlowJobOutcome;
typedef std::future<DeleteFlowJobOutcome> DeleteFlowJobOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DeleteFlowJobRequest&, const DeleteFlowJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFlowJobAsyncHandler;
@@ -627,9 +568,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteLibrariesResult> DeleteLibrariesOutcome;
typedef std::future<DeleteLibrariesOutcome> DeleteLibrariesOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DeleteLibrariesRequest&, const DeleteLibrariesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLibrariesAsyncHandler;
typedef Outcome<Error, Model::DeleteNoteResult> DeleteNoteOutcome;
typedef std::future<DeleteNoteOutcome> DeleteNoteOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DeleteNoteRequest&, const DeleteNoteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteNoteAsyncHandler;
typedef Outcome<Error, Model::DeleteResourcePoolResult> DeleteResourcePoolOutcome;
typedef std::future<DeleteResourcePoolOutcome> DeleteResourcePoolOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DeleteResourcePoolRequest&, const DeleteResourcePoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteResourcePoolAsyncHandler;
@@ -678,27 +616,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDataSourceResult> DescribeDataSourceOutcome;
typedef std::future<DescribeDataSourceOutcome> DescribeDataSourceOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DescribeDataSourceRequest&, const DescribeDataSourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataSourceAsyncHandler;
typedef Outcome<Error, Model::DescribeDiskOpsActivityResult> DescribeDiskOpsActivityOutcome;
typedef std::future<DescribeDiskOpsActivityOutcome> DescribeDiskOpsActivityOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DescribeDiskOpsActivityRequest&, const DescribeDiskOpsActivityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiskOpsActivityAsyncHandler;
typedef Outcome<Error, Model::DescribeEmrMainVersionResult> DescribeEmrMainVersionOutcome;
typedef std::future<DescribeEmrMainVersionOutcome> DescribeEmrMainVersionOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DescribeEmrMainVersionRequest&, const DescribeEmrMainVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEmrMainVersionAsyncHandler;
typedef Outcome<Error, Model::DescribeExecutionPlanResult> DescribeExecutionPlanOutcome;
typedef std::future<DescribeExecutionPlanOutcome> DescribeExecutionPlanOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DescribeExecutionPlanRequest&, const DescribeExecutionPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeExecutionPlanAsyncHandler;
typedef Outcome<Error, Model::DescribeFlowResult> DescribeFlowOutcome;
typedef std::future<DescribeFlowOutcome> DescribeFlowOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DescribeFlowRequest&, const DescribeFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFlowAsyncHandler;
typedef Outcome<Error, Model::DescribeFlowAgentTokenResult> DescribeFlowAgentTokenOutcome;
typedef std::future<DescribeFlowAgentTokenOutcome> DescribeFlowAgentTokenOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DescribeFlowAgentTokenRequest&, const DescribeFlowAgentTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFlowAgentTokenAsyncHandler;
typedef Outcome<Error, Model::DescribeFlowAgentUserResult> DescribeFlowAgentUserOutcome;
typedef std::future<DescribeFlowAgentUserOutcome> DescribeFlowAgentUserOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DescribeFlowAgentUserRequest&, const DescribeFlowAgentUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFlowAgentUserAsyncHandler;
typedef Outcome<Error, Model::DescribeFlowCategoryResult> DescribeFlowCategoryOutcome;
typedef std::future<DescribeFlowCategoryOutcome> DescribeFlowCategoryOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DescribeFlowCategoryRequest&, const DescribeFlowCategoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFlowCategoryAsyncHandler;
typedef Outcome<Error, Model::DescribeFlowCategoryTreeResult> DescribeFlowCategoryTreeOutcome;
typedef std::future<DescribeFlowCategoryTreeOutcome> DescribeFlowCategoryTreeOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DescribeFlowCategoryTreeRequest&, const DescribeFlowCategoryTreeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFlowCategoryTreeAsyncHandler;
typedef Outcome<Error, Model::DescribeFlowEntitySnapshotResult> DescribeFlowEntitySnapshotOutcome;
typedef std::future<DescribeFlowEntitySnapshotOutcome> DescribeFlowEntitySnapshotOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DescribeFlowEntitySnapshotRequest&, const DescribeFlowEntitySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFlowEntitySnapshotAsyncHandler;
typedef Outcome<Error, Model::DescribeFlowInstanceResult> DescribeFlowInstanceOutcome;
typedef std::future<DescribeFlowInstanceOutcome> DescribeFlowInstanceOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DescribeFlowInstanceRequest&, const DescribeFlowInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFlowInstanceAsyncHandler;
@@ -756,15 +691,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DetachAndReleaseClusterEniResult> DetachAndReleaseClusterEniOutcome;
typedef std::future<DetachAndReleaseClusterEniOutcome> DetachAndReleaseClusterEniOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DetachAndReleaseClusterEniRequest&, const DetachAndReleaseClusterEniOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachAndReleaseClusterEniAsyncHandler;
typedef Outcome<Error, Model::DiffFlowEntitySnapshotResult> DiffFlowEntitySnapshotOutcome;
typedef std::future<DiffFlowEntitySnapshotOutcome> DiffFlowEntitySnapshotOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DiffFlowEntitySnapshotRequest&, const DiffFlowEntitySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DiffFlowEntitySnapshotAsyncHandler;
typedef Outcome<Error, Model::DumpMetaDataSourceForOuterResult> DumpMetaDataSourceForOuterOutcome;
typedef std::future<DumpMetaDataSourceForOuterOutcome> DumpMetaDataSourceForOuterOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::DumpMetaDataSourceForOuterRequest&, const DumpMetaDataSourceForOuterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DumpMetaDataSourceForOuterAsyncHandler;
typedef Outcome<Error, Model::GetFlowEntityRelationGraphResult> GetFlowEntityRelationGraphOutcome;
typedef std::future<GetFlowEntityRelationGraphOutcome> GetFlowEntityRelationGraphOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::GetFlowEntityRelationGraphRequest&, const GetFlowEntityRelationGraphOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFlowEntityRelationGraphAsyncHandler;
typedef Outcome<Error, Model::GetHdfsCapacityStatisticInfoResult> GetHdfsCapacityStatisticInfoOutcome;
typedef std::future<GetHdfsCapacityStatisticInfoOutcome> GetHdfsCapacityStatisticInfoOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::GetHdfsCapacityStatisticInfoRequest&, const GetHdfsCapacityStatisticInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetHdfsCapacityStatisticInfoAsyncHandler;
@@ -801,9 +727,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::JoinResourceGroupResult> JoinResourceGroupOutcome;
typedef std::future<JoinResourceGroupOutcome> JoinResourceGroupOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::JoinResourceGroupRequest&, const JoinResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinResourceGroupAsyncHandler;
typedef Outcome<Error, Model::KillExecutionJobInstanceResult> KillExecutionJobInstanceOutcome;
typedef std::future<KillExecutionJobInstanceOutcome> KillExecutionJobInstanceOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::KillExecutionJobInstanceRequest&, const KillExecutionJobInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> KillExecutionJobInstanceAsyncHandler;
typedef Outcome<Error, Model::KillFlowJobResult> KillFlowJobOutcome;
typedef std::future<KillFlowJobOutcome> KillFlowJobOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::KillFlowJobRequest&, const KillFlowJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> KillFlowJobAsyncHandler;
@@ -864,6 +787,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListDataSourceResult> ListDataSourceOutcome;
typedef std::future<ListDataSourceOutcome> ListDataSourceOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListDataSourceRequest&, const ListDataSourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDataSourceAsyncHandler;
typedef Outcome<Error, Model::ListDiskOpsEventsResult> ListDiskOpsEventsOutcome;
typedef std::future<ListDiskOpsEventsOutcome> ListDiskOpsEventsOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListDiskOpsEventsRequest&, const ListDiskOpsEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDiskOpsEventsAsyncHandler;
typedef Outcome<Error, Model::ListEmrAvailableConfigResult> ListEmrAvailableConfigOutcome;
typedef std::future<ListEmrAvailableConfigOutcome> ListEmrAvailableConfigOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListEmrAvailableConfigRequest&, const ListEmrAvailableConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEmrAvailableConfigAsyncHandler;
@@ -876,9 +802,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListExecutionPlanInstancesResult> ListExecutionPlanInstancesOutcome;
typedef std::future<ListExecutionPlanInstancesOutcome> ListExecutionPlanInstancesOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListExecutionPlanInstancesRequest&, const ListExecutionPlanInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListExecutionPlanInstancesAsyncHandler;
typedef Outcome<Error, Model::ListExecutionPlansResult> ListExecutionPlansOutcome;
typedef std::future<ListExecutionPlansOutcome> ListExecutionPlansOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListExecutionPlansRequest&, const ListExecutionPlansOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListExecutionPlansAsyncHandler;
typedef Outcome<Error, Model::ListFlowResult> ListFlowOutcome;
typedef std::future<ListFlowOutcome> ListFlowOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListFlowRequest&, const ListFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFlowAsyncHandler;
@@ -897,9 +820,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListFlowClusterHostResult> ListFlowClusterHostOutcome;
typedef std::future<ListFlowClusterHostOutcome> ListFlowClusterHostOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListFlowClusterHostRequest&, const ListFlowClusterHostOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFlowClusterHostAsyncHandler;
typedef Outcome<Error, Model::ListFlowEntitySnapshotResult> ListFlowEntitySnapshotOutcome;
typedef std::future<ListFlowEntitySnapshotOutcome> ListFlowEntitySnapshotOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListFlowEntitySnapshotRequest&, const ListFlowEntitySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFlowEntitySnapshotAsyncHandler;
typedef Outcome<Error, Model::ListFlowInstanceResult> ListFlowInstanceOutcome;
typedef std::future<ListFlowInstanceOutcome> ListFlowInstanceOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListFlowInstanceRequest&, const ListFlowInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFlowInstanceAsyncHandler;
@@ -930,9 +850,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListJobExecutionInstancesResult> ListJobExecutionInstancesOutcome;
typedef std::future<ListJobExecutionInstancesOutcome> ListJobExecutionInstancesOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListJobExecutionInstancesRequest&, const ListJobExecutionInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobExecutionInstancesAsyncHandler;
typedef Outcome<Error, Model::ListJobInstanceWorkersResult> ListJobInstanceWorkersOutcome;
typedef std::future<ListJobInstanceWorkersOutcome> ListJobInstanceWorkersOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListJobInstanceWorkersRequest&, const ListJobInstanceWorkersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobInstanceWorkersAsyncHandler;
typedef Outcome<Error, Model::ListJobsResult> ListJobsOutcome;
typedef std::future<ListJobsOutcome> ListJobsOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListJobsRequest&, const ListJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobsAsyncHandler;
@@ -945,15 +862,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListLibraryStatusResult> ListLibraryStatusOutcome;
typedef std::future<ListLibraryStatusOutcome> ListLibraryStatusOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListLibraryStatusRequest&, const ListLibraryStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLibraryStatusAsyncHandler;
typedef Outcome<Error, Model::ListMetaClusterResult> ListMetaClusterOutcome;
typedef std::future<ListMetaClusterOutcome> ListMetaClusterOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListMetaClusterRequest&, const ListMetaClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMetaClusterAsyncHandler;
typedef Outcome<Error, Model::ListMetaDataSourceClusterForOuterResult> ListMetaDataSourceClusterForOuterOutcome;
typedef std::future<ListMetaDataSourceClusterForOuterOutcome> ListMetaDataSourceClusterForOuterOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListMetaDataSourceClusterForOuterRequest&, const ListMetaDataSourceClusterForOuterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMetaDataSourceClusterForOuterAsyncHandler;
typedef Outcome<Error, Model::ListNotesResult> ListNotesOutcome;
typedef std::future<ListNotesOutcome> ListNotesOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListNotesRequest&, const ListNotesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListNotesAsyncHandler;
typedef Outcome<Error, Model::ListLocalDiskComponentInfoResult> ListLocalDiskComponentInfoOutcome;
typedef std::future<ListLocalDiskComponentInfoOutcome> ListLocalDiskComponentInfoOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListLocalDiskComponentInfoRequest&, const ListLocalDiskComponentInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLocalDiskComponentInfoAsyncHandler;
typedef Outcome<Error, Model::ListResourcePoolResult> ListResourcePoolOutcome;
typedef std::future<ListResourcePoolOutcome> ListResourcePoolOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ListResourcePoolRequest&, const ListResourcePoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListResourcePoolAsyncHandler;
@@ -1056,30 +967,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyScalingTaskGroupResult> ModifyScalingTaskGroupOutcome;
typedef std::future<ModifyScalingTaskGroupOutcome> ModifyScalingTaskGroupOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ModifyScalingTaskGroupRequest&, const ModifyScalingTaskGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyScalingTaskGroupAsyncHandler;
typedef Outcome<Error, Model::QueryAlarmHistoryResult> QueryAlarmHistoryOutcome;
typedef std::future<QueryAlarmHistoryOutcome> QueryAlarmHistoryOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::QueryAlarmHistoryRequest&, const QueryAlarmHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAlarmHistoryAsyncHandler;
typedef Outcome<Error, Model::QueryEntityResult> QueryEntityOutcome;
typedef std::future<QueryEntityOutcome> QueryEntityOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::QueryEntityRequest&, const QueryEntityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryEntityAsyncHandler;
typedef Outcome<Error, Model::QueryTableDataResult> QueryTableDataOutcome;
typedef std::future<QueryTableDataOutcome> QueryTableDataOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::QueryTableDataRequest&, const QueryTableDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTableDataAsyncHandler;
typedef Outcome<Error, Model::QueryTagResult> QueryTagOutcome;
typedef std::future<QueryTagOutcome> QueryTagOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::QueryTagRequest&, const QueryTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTagAsyncHandler;
typedef Outcome<Error, Model::QueryTrendDataResult> QueryTrendDataOutcome;
typedef std::future<QueryTrendDataOutcome> QueryTrendDataOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::QueryTrendDataRequest&, const QueryTrendDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTrendDataAsyncHandler;
typedef Outcome<Error, Model::RefreshClusterResourcePoolResult> RefreshClusterResourcePoolOutcome;
typedef std::future<RefreshClusterResourcePoolOutcome> RefreshClusterResourcePoolOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::RefreshClusterResourcePoolRequest&, const RefreshClusterResourcePoolOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshClusterResourcePoolAsyncHandler;
typedef Outcome<Error, Model::ReleaseClusterResult> ReleaseClusterOutcome;
typedef std::future<ReleaseClusterOutcome> ReleaseClusterOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ReleaseClusterRequest&, const ReleaseClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseClusterAsyncHandler;
typedef Outcome<Error, Model::ReleaseClusterByTemplateTagForInternalResult> ReleaseClusterByTemplateTagForInternalOutcome;
typedef std::future<ReleaseClusterByTemplateTagForInternalOutcome> ReleaseClusterByTemplateTagForInternalOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ReleaseClusterByTemplateTagForInternalRequest&, const ReleaseClusterByTemplateTagForInternalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseClusterByTemplateTagForInternalAsyncHandler;
typedef Outcome<Error, Model::ReleaseClusterHostGroupResult> ReleaseClusterHostGroupOutcome;
typedef std::future<ReleaseClusterHostGroupOutcome> ReleaseClusterHostGroupOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ReleaseClusterHostGroupRequest&, const ReleaseClusterHostGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseClusterHostGroupAsyncHandler;
@@ -1092,12 +991,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ResizeClusterV2Result> ResizeClusterV2Outcome;
typedef std::future<ResizeClusterV2Outcome> ResizeClusterV2OutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ResizeClusterV2Request&, const ResizeClusterV2Outcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeClusterV2AsyncHandler;
typedef Outcome<Error, Model::RestoreBackupResult> RestoreBackupOutcome;
typedef std::future<RestoreBackupOutcome> RestoreBackupOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::RestoreBackupRequest&, const RestoreBackupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestoreBackupAsyncHandler;
typedef Outcome<Error, Model::RestoreFlowEntitySnapshotResult> RestoreFlowEntitySnapshotOutcome;
typedef std::future<RestoreFlowEntitySnapshotOutcome> RestoreFlowEntitySnapshotOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::RestoreFlowEntitySnapshotRequest&, const RestoreFlowEntitySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestoreFlowEntitySnapshotAsyncHandler;
typedef Outcome<Error, Model::ResumeExecutionPlanSchedulerResult> ResumeExecutionPlanSchedulerOutcome;
typedef std::future<ResumeExecutionPlanSchedulerOutcome> ResumeExecutionPlanSchedulerOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::ResumeExecutionPlanSchedulerRequest&, const ResumeExecutionPlanSchedulerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeExecutionPlanSchedulerAsyncHandler;
@@ -1110,6 +1003,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RunClusterServiceActionResult> RunClusterServiceActionOutcome;
typedef std::future<RunClusterServiceActionOutcome> RunClusterServiceActionOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::RunClusterServiceActionRequest&, const RunClusterServiceActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunClusterServiceActionAsyncHandler;
typedef Outcome<Error, Model::RunDiskOpsActivityResult> RunDiskOpsActivityOutcome;
typedef std::future<RunDiskOpsActivityOutcome> RunDiskOpsActivityOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::RunDiskOpsActivityRequest&, const RunDiskOpsActivityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunDiskOpsActivityAsyncHandler;
typedef Outcome<Error, Model::RunExecutionPlanResult> RunExecutionPlanOutcome;
typedef std::future<RunExecutionPlanOutcome> RunExecutionPlanOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::RunExecutionPlanRequest&, const RunExecutionPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunExecutionPlanAsyncHandler;
@@ -1137,18 +1033,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
typedef Outcome<Error, Model::TagResourcesSystemTagsResult> TagResourcesSystemTagsOutcome;
typedef std::future<TagResourcesSystemTagsOutcome> TagResourcesSystemTagsOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::TagResourcesSystemTagsRequest&, const TagResourcesSystemTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesSystemTagsAsyncHandler;
typedef Outcome<Error, Model::UninstallLibrariesResult> UninstallLibrariesOutcome;
typedef std::future<UninstallLibrariesOutcome> UninstallLibrariesOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::UninstallLibrariesRequest&, const UninstallLibrariesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UninstallLibrariesAsyncHandler;
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
typedef Outcome<Error, Model::UntagResourcesSystemTagsResult> UntagResourcesSystemTagsOutcome;
typedef std::future<UntagResourcesSystemTagsOutcome> UntagResourcesSystemTagsOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::UntagResourcesSystemTagsRequest&, const UntagResourcesSystemTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesSystemTagsAsyncHandler;
typedef Outcome<Error, Model::UpdateDataSourceResult> UpdateDataSourceOutcome;
typedef std::future<UpdateDataSourceOutcome> UpdateDataSourceOutcomeCallable;
typedef std::function<void(const EmrClient*, const Model::UpdateDataSourceRequest&, const UpdateDataSourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDataSourceAsyncHandler;
@@ -1178,18 +1068,12 @@ namespace AlibabaCloud
CancelOrderOutcome cancelOrder(const Model::CancelOrderRequest &request)const;
void cancelOrderAsync(const Model::CancelOrderRequest& request, const CancelOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelOrderOutcomeCallable cancelOrderCallable(const Model::CancelOrderRequest& request) const;
CleanupFlowEntitySnapshotOutcome cleanupFlowEntitySnapshot(const Model::CleanupFlowEntitySnapshotRequest &request)const;
void cleanupFlowEntitySnapshotAsync(const Model::CleanupFlowEntitySnapshotRequest& request, const CleanupFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CleanupFlowEntitySnapshotOutcomeCallable cleanupFlowEntitySnapshotCallable(const Model::CleanupFlowEntitySnapshotRequest& request) const;
CloneFlowOutcome cloneFlow(const Model::CloneFlowRequest &request)const;
void cloneFlowAsync(const Model::CloneFlowRequest& request, const CloneFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CloneFlowOutcomeCallable cloneFlowCallable(const Model::CloneFlowRequest& request) const;
CloneFlowJobOutcome cloneFlowJob(const Model::CloneFlowJobRequest &request)const;
void cloneFlowJobAsync(const Model::CloneFlowJobRequest& request, const CloneFlowJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CloneFlowJobOutcomeCallable cloneFlowJobCallable(const Model::CloneFlowJobRequest& request) const;
CommitFlowEntitySnapshotOutcome commitFlowEntitySnapshot(const Model::CommitFlowEntitySnapshotRequest &request)const;
void commitFlowEntitySnapshotAsync(const Model::CommitFlowEntitySnapshotRequest& request, const CommitFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CommitFlowEntitySnapshotOutcomeCallable commitFlowEntitySnapshotCallable(const Model::CommitFlowEntitySnapshotRequest& request) const;
CreateBackupOutcome createBackup(const Model::CreateBackupRequest &request)const;
void createBackupAsync(const Model::CreateBackupRequest& request, const CreateBackupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateBackupOutcomeCallable createBackupCallable(const Model::CreateBackupRequest& request) const;
@@ -1199,6 +1083,9 @@ namespace AlibabaCloud
CreateClusterBootstrapActionOutcome createClusterBootstrapAction(const Model::CreateClusterBootstrapActionRequest &request)const;
void createClusterBootstrapActionAsync(const Model::CreateClusterBootstrapActionRequest& request, const CreateClusterBootstrapActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateClusterBootstrapActionOutcomeCallable createClusterBootstrapActionCallable(const Model::CreateClusterBootstrapActionRequest& request) const;
CreateClusterHostGroupOutcome createClusterHostGroup(const Model::CreateClusterHostGroupRequest &request)const;
void createClusterHostGroupAsync(const Model::CreateClusterHostGroupRequest& request, const CreateClusterHostGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateClusterHostGroupOutcomeCallable createClusterHostGroupCallable(const Model::CreateClusterHostGroupRequest& request) const;
CreateClusterTemplateOutcome createClusterTemplate(const Model::CreateClusterTemplateRequest &request)const;
void createClusterTemplateAsync(const Model::CreateClusterTemplateRequest& request, const CreateClusterTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateClusterTemplateOutcomeCallable createClusterTemplateCallable(const Model::CreateClusterTemplateRequest& request) const;
@@ -1220,9 +1107,6 @@ namespace AlibabaCloud
CreateFlowCategoryOutcome createFlowCategory(const Model::CreateFlowCategoryRequest &request)const;
void createFlowCategoryAsync(const Model::CreateFlowCategoryRequest& request, const CreateFlowCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateFlowCategoryOutcomeCallable createFlowCategoryCallable(const Model::CreateFlowCategoryRequest& request) const;
CreateFlowEditLockOutcome createFlowEditLock(const Model::CreateFlowEditLockRequest &request)const;
void createFlowEditLockAsync(const Model::CreateFlowEditLockRequest& request, const CreateFlowEditLockAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateFlowEditLockOutcomeCallable createFlowEditLockCallable(const Model::CreateFlowEditLockRequest& request) const;
CreateFlowForWebOutcome createFlowForWeb(const Model::CreateFlowForWebRequest &request)const;
void createFlowForWebAsync(const Model::CreateFlowForWebRequest& request, const CreateFlowForWebAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateFlowForWebOutcomeCallable createFlowForWebCallable(const Model::CreateFlowForWebRequest& request) const;
@@ -1247,12 +1131,6 @@ namespace AlibabaCloud
CreateMetaTablePreviewTaskOutcome createMetaTablePreviewTask(const Model::CreateMetaTablePreviewTaskRequest &request)const;
void createMetaTablePreviewTaskAsync(const Model::CreateMetaTablePreviewTaskRequest& request, const CreateMetaTablePreviewTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMetaTablePreviewTaskOutcomeCallable createMetaTablePreviewTaskCallable(const Model::CreateMetaTablePreviewTaskRequest& request) const;
CreateNoteOutcome createNote(const Model::CreateNoteRequest &request)const;
void createNoteAsync(const Model::CreateNoteRequest& request, const CreateNoteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateNoteOutcomeCallable createNoteCallable(const Model::CreateNoteRequest& request) const;
CreateParagraphOutcome createParagraph(const Model::CreateParagraphRequest &request)const;
void createParagraphAsync(const Model::CreateParagraphRequest& request, const CreateParagraphAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateParagraphOutcomeCallable createParagraphCallable(const Model::CreateParagraphRequest& request) const;
CreateResourcePoolOutcome createResourcePool(const Model::CreateResourcePoolRequest &request)const;
void createResourcePoolAsync(const Model::CreateResourcePoolRequest& request, const CreateResourcePoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateResourcePoolOutcomeCallable createResourcePoolCallable(const Model::CreateResourcePoolRequest& request) const;
@@ -1289,9 +1167,6 @@ namespace AlibabaCloud
DeleteFlowCategoryOutcome deleteFlowCategory(const Model::DeleteFlowCategoryRequest &request)const;
void deleteFlowCategoryAsync(const Model::DeleteFlowCategoryRequest& request, const DeleteFlowCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFlowCategoryOutcomeCallable deleteFlowCategoryCallable(const Model::DeleteFlowCategoryRequest& request) const;
DeleteFlowEditLockOutcome deleteFlowEditLock(const Model::DeleteFlowEditLockRequest &request)const;
void deleteFlowEditLockAsync(const Model::DeleteFlowEditLockRequest& request, const DeleteFlowEditLockAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFlowEditLockOutcomeCallable deleteFlowEditLockCallable(const Model::DeleteFlowEditLockRequest& request) const;
DeleteFlowJobOutcome deleteFlowJob(const Model::DeleteFlowJobRequest &request)const;
void deleteFlowJobAsync(const Model::DeleteFlowJobRequest& request, const DeleteFlowJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFlowJobOutcomeCallable deleteFlowJobCallable(const Model::DeleteFlowJobRequest& request) const;
@@ -1310,9 +1185,6 @@ namespace AlibabaCloud
DeleteLibrariesOutcome deleteLibraries(const Model::DeleteLibrariesRequest &request)const;
void deleteLibrariesAsync(const Model::DeleteLibrariesRequest& request, const DeleteLibrariesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteLibrariesOutcomeCallable deleteLibrariesCallable(const Model::DeleteLibrariesRequest& request) const;
DeleteNoteOutcome deleteNote(const Model::DeleteNoteRequest &request)const;
void deleteNoteAsync(const Model::DeleteNoteRequest& request, const DeleteNoteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteNoteOutcomeCallable deleteNoteCallable(const Model::DeleteNoteRequest& request) const;
DeleteResourcePoolOutcome deleteResourcePool(const Model::DeleteResourcePoolRequest &request)const;
void deleteResourcePoolAsync(const Model::DeleteResourcePoolRequest& request, const DeleteResourcePoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteResourcePoolOutcomeCallable deleteResourcePoolCallable(const Model::DeleteResourcePoolRequest& request) const;
@@ -1361,27 +1233,24 @@ namespace AlibabaCloud
DescribeDataSourceOutcome describeDataSource(const Model::DescribeDataSourceRequest &request)const;
void describeDataSourceAsync(const Model::DescribeDataSourceRequest& request, const DescribeDataSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDataSourceOutcomeCallable describeDataSourceCallable(const Model::DescribeDataSourceRequest& request) const;
DescribeDiskOpsActivityOutcome describeDiskOpsActivity(const Model::DescribeDiskOpsActivityRequest &request)const;
void describeDiskOpsActivityAsync(const Model::DescribeDiskOpsActivityRequest& request, const DescribeDiskOpsActivityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDiskOpsActivityOutcomeCallable describeDiskOpsActivityCallable(const Model::DescribeDiskOpsActivityRequest& request) const;
DescribeEmrMainVersionOutcome describeEmrMainVersion(const Model::DescribeEmrMainVersionRequest &request)const;
void describeEmrMainVersionAsync(const Model::DescribeEmrMainVersionRequest& request, const DescribeEmrMainVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEmrMainVersionOutcomeCallable describeEmrMainVersionCallable(const Model::DescribeEmrMainVersionRequest& request) const;
DescribeExecutionPlanOutcome describeExecutionPlan(const Model::DescribeExecutionPlanRequest &request)const;
void describeExecutionPlanAsync(const Model::DescribeExecutionPlanRequest& request, const DescribeExecutionPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeExecutionPlanOutcomeCallable describeExecutionPlanCallable(const Model::DescribeExecutionPlanRequest& request) const;
DescribeFlowOutcome describeFlow(const Model::DescribeFlowRequest &request)const;
void describeFlowAsync(const Model::DescribeFlowRequest& request, const DescribeFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFlowOutcomeCallable describeFlowCallable(const Model::DescribeFlowRequest& request) const;
DescribeFlowAgentTokenOutcome describeFlowAgentToken(const Model::DescribeFlowAgentTokenRequest &request)const;
void describeFlowAgentTokenAsync(const Model::DescribeFlowAgentTokenRequest& request, const DescribeFlowAgentTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFlowAgentTokenOutcomeCallable describeFlowAgentTokenCallable(const Model::DescribeFlowAgentTokenRequest& request) const;
DescribeFlowAgentUserOutcome describeFlowAgentUser(const Model::DescribeFlowAgentUserRequest &request)const;
void describeFlowAgentUserAsync(const Model::DescribeFlowAgentUserRequest& request, const DescribeFlowAgentUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFlowAgentUserOutcomeCallable describeFlowAgentUserCallable(const Model::DescribeFlowAgentUserRequest& request) const;
DescribeFlowCategoryOutcome describeFlowCategory(const Model::DescribeFlowCategoryRequest &request)const;
void describeFlowCategoryAsync(const Model::DescribeFlowCategoryRequest& request, const DescribeFlowCategoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFlowCategoryOutcomeCallable describeFlowCategoryCallable(const Model::DescribeFlowCategoryRequest& request) const;
DescribeFlowCategoryTreeOutcome describeFlowCategoryTree(const Model::DescribeFlowCategoryTreeRequest &request)const;
void describeFlowCategoryTreeAsync(const Model::DescribeFlowCategoryTreeRequest& request, const DescribeFlowCategoryTreeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFlowCategoryTreeOutcomeCallable describeFlowCategoryTreeCallable(const Model::DescribeFlowCategoryTreeRequest& request) const;
DescribeFlowEntitySnapshotOutcome describeFlowEntitySnapshot(const Model::DescribeFlowEntitySnapshotRequest &request)const;
void describeFlowEntitySnapshotAsync(const Model::DescribeFlowEntitySnapshotRequest& request, const DescribeFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFlowEntitySnapshotOutcomeCallable describeFlowEntitySnapshotCallable(const Model::DescribeFlowEntitySnapshotRequest& request) const;
DescribeFlowInstanceOutcome describeFlowInstance(const Model::DescribeFlowInstanceRequest &request)const;
void describeFlowInstanceAsync(const Model::DescribeFlowInstanceRequest& request, const DescribeFlowInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFlowInstanceOutcomeCallable describeFlowInstanceCallable(const Model::DescribeFlowInstanceRequest& request) const;
@@ -1439,15 +1308,6 @@ namespace AlibabaCloud
DetachAndReleaseClusterEniOutcome detachAndReleaseClusterEni(const Model::DetachAndReleaseClusterEniRequest &request)const;
void detachAndReleaseClusterEniAsync(const Model::DetachAndReleaseClusterEniRequest& request, const DetachAndReleaseClusterEniAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetachAndReleaseClusterEniOutcomeCallable detachAndReleaseClusterEniCallable(const Model::DetachAndReleaseClusterEniRequest& request) const;
DiffFlowEntitySnapshotOutcome diffFlowEntitySnapshot(const Model::DiffFlowEntitySnapshotRequest &request)const;
void diffFlowEntitySnapshotAsync(const Model::DiffFlowEntitySnapshotRequest& request, const DiffFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DiffFlowEntitySnapshotOutcomeCallable diffFlowEntitySnapshotCallable(const Model::DiffFlowEntitySnapshotRequest& request) const;
DumpMetaDataSourceForOuterOutcome dumpMetaDataSourceForOuter(const Model::DumpMetaDataSourceForOuterRequest &request)const;
void dumpMetaDataSourceForOuterAsync(const Model::DumpMetaDataSourceForOuterRequest& request, const DumpMetaDataSourceForOuterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DumpMetaDataSourceForOuterOutcomeCallable dumpMetaDataSourceForOuterCallable(const Model::DumpMetaDataSourceForOuterRequest& request) const;
GetFlowEntityRelationGraphOutcome getFlowEntityRelationGraph(const Model::GetFlowEntityRelationGraphRequest &request)const;
void getFlowEntityRelationGraphAsync(const Model::GetFlowEntityRelationGraphRequest& request, const GetFlowEntityRelationGraphAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetFlowEntityRelationGraphOutcomeCallable getFlowEntityRelationGraphCallable(const Model::GetFlowEntityRelationGraphRequest& request) const;
GetHdfsCapacityStatisticInfoOutcome getHdfsCapacityStatisticInfo(const Model::GetHdfsCapacityStatisticInfoRequest &request)const;
void getHdfsCapacityStatisticInfoAsync(const Model::GetHdfsCapacityStatisticInfoRequest& request, const GetHdfsCapacityStatisticInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetHdfsCapacityStatisticInfoOutcomeCallable getHdfsCapacityStatisticInfoCallable(const Model::GetHdfsCapacityStatisticInfoRequest& request) const;
@@ -1484,9 +1344,6 @@ namespace AlibabaCloud
JoinResourceGroupOutcome joinResourceGroup(const Model::JoinResourceGroupRequest &request)const;
void joinResourceGroupAsync(const Model::JoinResourceGroupRequest& request, const JoinResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
JoinResourceGroupOutcomeCallable joinResourceGroupCallable(const Model::JoinResourceGroupRequest& request) const;
KillExecutionJobInstanceOutcome killExecutionJobInstance(const Model::KillExecutionJobInstanceRequest &request)const;
void killExecutionJobInstanceAsync(const Model::KillExecutionJobInstanceRequest& request, const KillExecutionJobInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
KillExecutionJobInstanceOutcomeCallable killExecutionJobInstanceCallable(const Model::KillExecutionJobInstanceRequest& request) const;
KillFlowJobOutcome killFlowJob(const Model::KillFlowJobRequest &request)const;
void killFlowJobAsync(const Model::KillFlowJobRequest& request, const KillFlowJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
KillFlowJobOutcomeCallable killFlowJobCallable(const Model::KillFlowJobRequest& request) const;
@@ -1547,6 +1404,9 @@ namespace AlibabaCloud
ListDataSourceOutcome listDataSource(const Model::ListDataSourceRequest &request)const;
void listDataSourceAsync(const Model::ListDataSourceRequest& request, const ListDataSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDataSourceOutcomeCallable listDataSourceCallable(const Model::ListDataSourceRequest& request) const;
ListDiskOpsEventsOutcome listDiskOpsEvents(const Model::ListDiskOpsEventsRequest &request)const;
void listDiskOpsEventsAsync(const Model::ListDiskOpsEventsRequest& request, const ListDiskOpsEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDiskOpsEventsOutcomeCallable listDiskOpsEventsCallable(const Model::ListDiskOpsEventsRequest& request) const;
ListEmrAvailableConfigOutcome listEmrAvailableConfig(const Model::ListEmrAvailableConfigRequest &request)const;
void listEmrAvailableConfigAsync(const Model::ListEmrAvailableConfigRequest& request, const ListEmrAvailableConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListEmrAvailableConfigOutcomeCallable listEmrAvailableConfigCallable(const Model::ListEmrAvailableConfigRequest& request) const;
@@ -1559,9 +1419,6 @@ namespace AlibabaCloud
ListExecutionPlanInstancesOutcome listExecutionPlanInstances(const Model::ListExecutionPlanInstancesRequest &request)const;
void listExecutionPlanInstancesAsync(const Model::ListExecutionPlanInstancesRequest& request, const ListExecutionPlanInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListExecutionPlanInstancesOutcomeCallable listExecutionPlanInstancesCallable(const Model::ListExecutionPlanInstancesRequest& request) const;
ListExecutionPlansOutcome listExecutionPlans(const Model::ListExecutionPlansRequest &request)const;
void listExecutionPlansAsync(const Model::ListExecutionPlansRequest& request, const ListExecutionPlansAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListExecutionPlansOutcomeCallable listExecutionPlansCallable(const Model::ListExecutionPlansRequest& request) const;
ListFlowOutcome listFlow(const Model::ListFlowRequest &request)const;
void listFlowAsync(const Model::ListFlowRequest& request, const ListFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFlowOutcomeCallable listFlowCallable(const Model::ListFlowRequest& request) const;
@@ -1580,9 +1437,6 @@ namespace AlibabaCloud
ListFlowClusterHostOutcome listFlowClusterHost(const Model::ListFlowClusterHostRequest &request)const;
void listFlowClusterHostAsync(const Model::ListFlowClusterHostRequest& request, const ListFlowClusterHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFlowClusterHostOutcomeCallable listFlowClusterHostCallable(const Model::ListFlowClusterHostRequest& request) const;
ListFlowEntitySnapshotOutcome listFlowEntitySnapshot(const Model::ListFlowEntitySnapshotRequest &request)const;
void listFlowEntitySnapshotAsync(const Model::ListFlowEntitySnapshotRequest& request, const ListFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFlowEntitySnapshotOutcomeCallable listFlowEntitySnapshotCallable(const Model::ListFlowEntitySnapshotRequest& request) const;
ListFlowInstanceOutcome listFlowInstance(const Model::ListFlowInstanceRequest &request)const;
void listFlowInstanceAsync(const Model::ListFlowInstanceRequest& request, const ListFlowInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFlowInstanceOutcomeCallable listFlowInstanceCallable(const Model::ListFlowInstanceRequest& request) const;
@@ -1613,9 +1467,6 @@ namespace AlibabaCloud
ListJobExecutionInstancesOutcome listJobExecutionInstances(const Model::ListJobExecutionInstancesRequest &request)const;
void listJobExecutionInstancesAsync(const Model::ListJobExecutionInstancesRequest& request, const ListJobExecutionInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListJobExecutionInstancesOutcomeCallable listJobExecutionInstancesCallable(const Model::ListJobExecutionInstancesRequest& request) const;
ListJobInstanceWorkersOutcome listJobInstanceWorkers(const Model::ListJobInstanceWorkersRequest &request)const;
void listJobInstanceWorkersAsync(const Model::ListJobInstanceWorkersRequest& request, const ListJobInstanceWorkersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListJobInstanceWorkersOutcomeCallable listJobInstanceWorkersCallable(const Model::ListJobInstanceWorkersRequest& request) const;
ListJobsOutcome listJobs(const Model::ListJobsRequest &request)const;
void listJobsAsync(const Model::ListJobsRequest& request, const ListJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListJobsOutcomeCallable listJobsCallable(const Model::ListJobsRequest& request) const;
@@ -1628,15 +1479,9 @@ namespace AlibabaCloud
ListLibraryStatusOutcome listLibraryStatus(const Model::ListLibraryStatusRequest &request)const;
void listLibraryStatusAsync(const Model::ListLibraryStatusRequest& request, const ListLibraryStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListLibraryStatusOutcomeCallable listLibraryStatusCallable(const Model::ListLibraryStatusRequest& request) const;
ListMetaClusterOutcome listMetaCluster(const Model::ListMetaClusterRequest &request)const;
void listMetaClusterAsync(const Model::ListMetaClusterRequest& request, const ListMetaClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListMetaClusterOutcomeCallable listMetaClusterCallable(const Model::ListMetaClusterRequest& request) const;
ListMetaDataSourceClusterForOuterOutcome listMetaDataSourceClusterForOuter(const Model::ListMetaDataSourceClusterForOuterRequest &request)const;
void listMetaDataSourceClusterForOuterAsync(const Model::ListMetaDataSourceClusterForOuterRequest& request, const ListMetaDataSourceClusterForOuterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListMetaDataSourceClusterForOuterOutcomeCallable listMetaDataSourceClusterForOuterCallable(const Model::ListMetaDataSourceClusterForOuterRequest& request) const;
ListNotesOutcome listNotes(const Model::ListNotesRequest &request)const;
void listNotesAsync(const Model::ListNotesRequest& request, const ListNotesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListNotesOutcomeCallable listNotesCallable(const Model::ListNotesRequest& request) const;
ListLocalDiskComponentInfoOutcome listLocalDiskComponentInfo(const Model::ListLocalDiskComponentInfoRequest &request)const;
void listLocalDiskComponentInfoAsync(const Model::ListLocalDiskComponentInfoRequest& request, const ListLocalDiskComponentInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListLocalDiskComponentInfoOutcomeCallable listLocalDiskComponentInfoCallable(const Model::ListLocalDiskComponentInfoRequest& request) const;
ListResourcePoolOutcome listResourcePool(const Model::ListResourcePoolRequest &request)const;
void listResourcePoolAsync(const Model::ListResourcePoolRequest& request, const ListResourcePoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListResourcePoolOutcomeCallable listResourcePoolCallable(const Model::ListResourcePoolRequest& request) const;
@@ -1739,30 +1584,18 @@ namespace AlibabaCloud
ModifyScalingTaskGroupOutcome modifyScalingTaskGroup(const Model::ModifyScalingTaskGroupRequest &request)const;
void modifyScalingTaskGroupAsync(const Model::ModifyScalingTaskGroupRequest& request, const ModifyScalingTaskGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyScalingTaskGroupOutcomeCallable modifyScalingTaskGroupCallable(const Model::ModifyScalingTaskGroupRequest& request) const;
QueryAlarmHistoryOutcome queryAlarmHistory(const Model::QueryAlarmHistoryRequest &request)const;
void queryAlarmHistoryAsync(const Model::QueryAlarmHistoryRequest& request, const QueryAlarmHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryAlarmHistoryOutcomeCallable queryAlarmHistoryCallable(const Model::QueryAlarmHistoryRequest& request) const;
QueryEntityOutcome queryEntity(const Model::QueryEntityRequest &request)const;
void queryEntityAsync(const Model::QueryEntityRequest& request, const QueryEntityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryEntityOutcomeCallable queryEntityCallable(const Model::QueryEntityRequest& request) const;
QueryTableDataOutcome queryTableData(const Model::QueryTableDataRequest &request)const;
void queryTableDataAsync(const Model::QueryTableDataRequest& request, const QueryTableDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryTableDataOutcomeCallable queryTableDataCallable(const Model::QueryTableDataRequest& request) const;
QueryTagOutcome queryTag(const Model::QueryTagRequest &request)const;
void queryTagAsync(const Model::QueryTagRequest& request, const QueryTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryTagOutcomeCallable queryTagCallable(const Model::QueryTagRequest& request) const;
QueryTrendDataOutcome queryTrendData(const Model::QueryTrendDataRequest &request)const;
void queryTrendDataAsync(const Model::QueryTrendDataRequest& request, const QueryTrendDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryTrendDataOutcomeCallable queryTrendDataCallable(const Model::QueryTrendDataRequest& request) const;
RefreshClusterResourcePoolOutcome refreshClusterResourcePool(const Model::RefreshClusterResourcePoolRequest &request)const;
void refreshClusterResourcePoolAsync(const Model::RefreshClusterResourcePoolRequest& request, const RefreshClusterResourcePoolAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RefreshClusterResourcePoolOutcomeCallable refreshClusterResourcePoolCallable(const Model::RefreshClusterResourcePoolRequest& request) const;
ReleaseClusterOutcome releaseCluster(const Model::ReleaseClusterRequest &request)const;
void releaseClusterAsync(const Model::ReleaseClusterRequest& request, const ReleaseClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseClusterOutcomeCallable releaseClusterCallable(const Model::ReleaseClusterRequest& request) const;
ReleaseClusterByTemplateTagForInternalOutcome releaseClusterByTemplateTagForInternal(const Model::ReleaseClusterByTemplateTagForInternalRequest &request)const;
void releaseClusterByTemplateTagForInternalAsync(const Model::ReleaseClusterByTemplateTagForInternalRequest& request, const ReleaseClusterByTemplateTagForInternalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseClusterByTemplateTagForInternalOutcomeCallable releaseClusterByTemplateTagForInternalCallable(const Model::ReleaseClusterByTemplateTagForInternalRequest& request) const;
ReleaseClusterHostGroupOutcome releaseClusterHostGroup(const Model::ReleaseClusterHostGroupRequest &request)const;
void releaseClusterHostGroupAsync(const Model::ReleaseClusterHostGroupRequest& request, const ReleaseClusterHostGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseClusterHostGroupOutcomeCallable releaseClusterHostGroupCallable(const Model::ReleaseClusterHostGroupRequest& request) const;
@@ -1775,12 +1608,6 @@ namespace AlibabaCloud
ResizeClusterV2Outcome resizeClusterV2(const Model::ResizeClusterV2Request &request)const;
void resizeClusterV2Async(const Model::ResizeClusterV2Request& request, const ResizeClusterV2AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResizeClusterV2OutcomeCallable resizeClusterV2Callable(const Model::ResizeClusterV2Request& request) const;
RestoreBackupOutcome restoreBackup(const Model::RestoreBackupRequest &request)const;
void restoreBackupAsync(const Model::RestoreBackupRequest& request, const RestoreBackupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RestoreBackupOutcomeCallable restoreBackupCallable(const Model::RestoreBackupRequest& request) const;
RestoreFlowEntitySnapshotOutcome restoreFlowEntitySnapshot(const Model::RestoreFlowEntitySnapshotRequest &request)const;
void restoreFlowEntitySnapshotAsync(const Model::RestoreFlowEntitySnapshotRequest& request, const RestoreFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RestoreFlowEntitySnapshotOutcomeCallable restoreFlowEntitySnapshotCallable(const Model::RestoreFlowEntitySnapshotRequest& request) const;
ResumeExecutionPlanSchedulerOutcome resumeExecutionPlanScheduler(const Model::ResumeExecutionPlanSchedulerRequest &request)const;
void resumeExecutionPlanSchedulerAsync(const Model::ResumeExecutionPlanSchedulerRequest& request, const ResumeExecutionPlanSchedulerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResumeExecutionPlanSchedulerOutcomeCallable resumeExecutionPlanSchedulerCallable(const Model::ResumeExecutionPlanSchedulerRequest& request) const;
@@ -1793,6 +1620,9 @@ namespace AlibabaCloud
RunClusterServiceActionOutcome runClusterServiceAction(const Model::RunClusterServiceActionRequest &request)const;
void runClusterServiceActionAsync(const Model::RunClusterServiceActionRequest& request, const RunClusterServiceActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RunClusterServiceActionOutcomeCallable runClusterServiceActionCallable(const Model::RunClusterServiceActionRequest& request) const;
RunDiskOpsActivityOutcome runDiskOpsActivity(const Model::RunDiskOpsActivityRequest &request)const;
void runDiskOpsActivityAsync(const Model::RunDiskOpsActivityRequest& request, const RunDiskOpsActivityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RunDiskOpsActivityOutcomeCallable runDiskOpsActivityCallable(const Model::RunDiskOpsActivityRequest& request) const;
RunExecutionPlanOutcome runExecutionPlan(const Model::RunExecutionPlanRequest &request)const;
void runExecutionPlanAsync(const Model::RunExecutionPlanRequest& request, const RunExecutionPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RunExecutionPlanOutcomeCallable runExecutionPlanCallable(const Model::RunExecutionPlanRequest& request) const;
@@ -1820,18 +1650,12 @@ namespace AlibabaCloud
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;
TagResourcesSystemTagsOutcome tagResourcesSystemTags(const Model::TagResourcesSystemTagsRequest &request)const;
void tagResourcesSystemTagsAsync(const Model::TagResourcesSystemTagsRequest& request, const TagResourcesSystemTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesSystemTagsOutcomeCallable tagResourcesSystemTagsCallable(const Model::TagResourcesSystemTagsRequest& request) const;
UninstallLibrariesOutcome uninstallLibraries(const Model::UninstallLibrariesRequest &request)const;
void uninstallLibrariesAsync(const Model::UninstallLibrariesRequest& request, const UninstallLibrariesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UninstallLibrariesOutcomeCallable uninstallLibrariesCallable(const Model::UninstallLibrariesRequest& 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;
UntagResourcesSystemTagsOutcome untagResourcesSystemTags(const Model::UntagResourcesSystemTagsRequest &request)const;
void untagResourcesSystemTagsAsync(const Model::UntagResourcesSystemTagsRequest& request, const UntagResourcesSystemTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UntagResourcesSystemTagsOutcomeCallable untagResourcesSystemTagsCallable(const Model::UntagResourcesSystemTagsRequest& request) const;
UpdateDataSourceOutcome updateDataSource(const Model::UpdateDataSourceRequest &request)const;
void updateDataSourceAsync(const Model::UpdateDataSourceRequest& request, const UpdateDataSourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDataSourceOutcomeCallable updateDataSourceCallable(const Model::UpdateDataSourceRequest& request) const;

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_DUMPMETADATASOURCEFOROUTERREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DUMPMETADATASOURCEFOROUTERREQUEST_H_
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_
#include <string>
#include <vector>
@@ -28,51 +28,51 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DumpMetaDataSourceForOuterRequest : public RpcServiceRequest
class ALIBABACLOUD_EMR_EXPORT CreateClusterHostGroupRequest : public RpcServiceRequest
{
public:
DumpMetaDataSourceForOuterRequest();
~DumpMetaDataSourceForOuterRequest();
CreateClusterHostGroupRequest();
~CreateClusterHostGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
bool getDumpAllDatabase()const;
void setDumpAllDatabase(bool dumpAllDatabase);
int getDumpLimit()const;
void setDumpLimit(int dumpLimit);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getHostGroupParams()const;
void setHostGroupParams(const std::string& hostGroupParams);
std::string getSecurityGroupId()const;
void setSecurityGroupId(const std::string& securityGroupId);
std::string getHostGroupName()const;
void setHostGroupName(const std::string& hostGroupName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
bool getDumpAllTable()const;
void setDumpAllTable(bool dumpAllTable);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<std::string> getPartitionValues()const;
void setPartitionValues(const std::vector<std::string>& partitionValues);
std::string getTableId()const;
void setTableId(const std::string& tableId);
std::string getDatabaseId()const;
void setDatabaseId(const std::string& databaseId);
bool getDumpAllPartition()const;
void setDumpAllPartition(bool dumpAllPartition);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getVswitchId()const;
void setVswitchId(const std::string& vswitchId);
std::string getComment()const;
void setComment(const std::string& comment);
std::string getPayType()const;
void setPayType(const std::string& payType);
std::string getHostGroupType()const;
void setHostGroupType(const std::string& hostGroupType);
private:
long resourceOwnerId_;
bool dumpAllDatabase_;
int dumpLimit_;
std::string clusterId_;
std::string hostGroupParams_;
std::string securityGroupId_;
std::string hostGroupName_;
std::string accessKeyId_;
bool dumpAllTable_;
std::string regionId_;
std::vector<std::string> partitionValues_;
std::string tableId_;
std::string databaseId_;
bool dumpAllPartition_;
std::string clusterId_;
std::string vswitchId_;
std::string comment_;
std::string payType_;
std::string hostGroupType_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DUMPMETADATASOURCEFOROUTERREQUEST_H_
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENRESULT_H_
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,25 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeFlowAgentTokenResult : public ServiceResult
class ALIBABACLOUD_EMR_EXPORT CreateClusterHostGroupResult : public ServiceResult
{
public:
DescribeFlowAgentTokenResult();
explicit DescribeFlowAgentTokenResult(const std::string &payload);
~DescribeFlowAgentTokenResult();
std::string getData()const;
CreateClusterHostGroupResult();
explicit CreateClusterHostGroupResult(const std::string &payload);
~CreateClusterHostGroupResult();
std::string getHostGroupId()const;
std::string getClusterId()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
std::string hostGroupId_;
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENRESULT_H_
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_

View File

@@ -49,6 +49,7 @@ namespace AlibabaCloud
{
int period;
int sysDiskCapacity;
std::string privatePoolOptionsId;
int diskCapacity;
std::string sysDiskType;
std::string clusterId;
@@ -65,6 +66,7 @@ namespace AlibabaCloud
std::string multiInstanceTypes;
std::string createType;
std::string hostGroupType;
std::string privatePoolOptionsMatchCriteria;
};
struct Config
{
@@ -130,6 +132,8 @@ namespace AlibabaCloud
void setUseCustomHiveMetaDb(bool useCustomHiveMetaDb);
bool getInitCustomHiveMetaDb()const;
void setInitCustomHiveMetaDb(bool initCustomHiveMetaDb);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
bool getIoOptimized()const;
void setIoOptimized(bool ioOptimized);
std::string getSecurityGroupId()const;
@@ -183,6 +187,7 @@ namespace AlibabaCloud
std::string zoneId_;
bool useCustomHiveMetaDb_;
bool initCustomHiveMetaDb_;
std::string clientToken_;
bool ioOptimized_;
std::string securityGroupId_;
bool easEnable_;

View File

@@ -67,6 +67,7 @@ namespace AlibabaCloud
{
int period;
int sysDiskCapacity;
std::string privatePoolOptionsId;
int diskCapacity;
std::string sysDiskType;
std::string clusterId;
@@ -83,6 +84,7 @@ namespace AlibabaCloud
std::string chargeType;
std::string createType;
std::string hostGroupType;
std::string privatePoolOptionsMatchCriteria;
};
struct ServiceInfo
{
@@ -165,6 +167,8 @@ namespace AlibabaCloud
void setUseCustomHiveMetaDB(bool useCustomHiveMetaDB);
bool getInitCustomHiveMetaDB()const;
void setInitCustomHiveMetaDB(bool initCustomHiveMetaDB);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
bool getIoOptimized()const;
void setIoOptimized(bool ioOptimized);
std::string getSecurityGroupId()const;
@@ -234,6 +238,7 @@ namespace AlibabaCloud
std::string zoneId_;
bool useCustomHiveMetaDB_;
bool initCustomHiveMetaDB_;
std::string clientToken_;
bool ioOptimized_;
std::string securityGroupId_;
bool easEnable_;

View File

@@ -1,60 +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_EMR_MODEL_CREATEFLOWEDITLOCKREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWEDITLOCKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowEditLockRequest : public RpcServiceRequest
{
public:
CreateFlowEditLockRequest();
~CreateFlowEditLockRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getEntityId()const;
void setEntityId(const std::string& entityId);
bool getForce()const;
void setForce(bool force);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::string entityId_;
bool force_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWEDITLOCKREQUEST_H_

View File

@@ -1,60 +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_EMR_MODEL_CREATEPARAGRAPHREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEPARAGRAPHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateParagraphRequest : public RpcServiceRequest
{
public:
CreateParagraphRequest();
~CreateParagraphRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getNoteId()const;
void setNoteId(const std::string& noteId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getText()const;
void setText(const std::string& text);
private:
long resourceOwnerId_;
std::string noteId_;
std::string accessKeyId_;
std::string regionId_;
std::string text_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEPARAGRAPHREQUEST_H_

View File

@@ -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_EMR_MODEL_DELETEFLOWEDITLOCKREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DELETEFLOWEDITLOCKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteFlowEditLockRequest : public RpcServiceRequest
{
public:
DeleteFlowEditLockRequest();
~DeleteFlowEditLockRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getEntityId()const;
void setEntityId(const std::string& entityId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::string entityId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEFLOWEDITLOCKREQUEST_H_

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
std::string status;
std::string clusterId;
std::string clusterName;
std::string clusterType;
};
struct HostPoolInfo
{
@@ -96,6 +97,7 @@ namespace AlibabaCloud
std::string k8sClusterId;
std::string name;
bool highAvailabilityEnable;
std::string clickhouseConf;
std::string autoScalingVersion;
long expiredTime;
std::string createType;
@@ -117,6 +119,7 @@ namespace AlibabaCloud
std::string vpcId;
SoftwareInfo softwareInfo;
std::string securityGroupName;
bool resizeClusterEnable;
bool logEnable;
int masterNodeInService;
RelateClusterInfo relateClusterInfo;

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
std::string status;
std::string clusterId;
std::string clusterName;
std::string clusterType;
};
struct HostPoolInfo
{

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_DELETENOTEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DELETENOTEREQUEST_H_
#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYREQUEST_H_
#include <string>
#include <vector>
@@ -28,33 +28,45 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteNoteRequest : public RpcServiceRequest
class ALIBABACLOUD_EMR_EXPORT DescribeDiskOpsActivityRequest : public RpcServiceRequest
{
public:
DeleteNoteRequest();
~DeleteNoteRequest();
DescribeDiskOpsActivityRequest();
~DescribeDiskOpsActivityRequest();
std::string getEventId()const;
void setEventId(const std::string& eventId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getCurrentStage()const;
void setCurrentStage(const std::string& currentStage);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getId()const;
void setId(const std::string& id);
std::string getDiskId()const;
void setDiskId(const std::string& diskId);
std::string getCurrentState()const;
void setCurrentState(const std::string& currentState);
private:
std::string eventId_;
long resourceOwnerId_;
std::string currentStage_;
std::string clusterId_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string instanceId_;
std::string regionId_;
std::string id_;
std::string diskId_;
std::string currentState_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETENOTEREQUEST_H_
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYREQUEST_H_

View 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_EMR_MODEL_DESCRIBEDISKOPSACTIVITYRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeDiskOpsActivityResult : public ServiceResult
{
public:
DescribeDiskOpsActivityResult();
explicit DescribeDiskOpsActivityResult(const std::string &payload);
~DescribeDiskOpsActivityResult();
std::string getActivityState()const;
std::string getCurrentActivity()const;
std::string getClusterType()const;
bool getNeedReboot()const;
std::string getErrorMessage()const;
protected:
void parse(const std::string &payload);
private:
std::string activityState_;
std::string currentActivity_;
std::string clusterType_;
bool needReboot_;
std::string errorMessage_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_LISTJOBINSTANCEWORKERSREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_LISTJOBINSTANCEWORKERSREQUEST_H_
#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT ListJobInstanceWorkersRequest : public RpcServiceRequest
class ALIBABACLOUD_EMR_EXPORT DescribeEmrMainVersionRequest : public RpcServiceRequest
{
public:
ListJobInstanceWorkersRequest();
~ListJobInstanceWorkersRequest();
DescribeEmrMainVersionRequest();
~DescribeEmrMainVersionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
@@ -41,17 +41,17 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getJobInstanceId()const;
void setJobInstanceId(const std::string& jobInstanceId);
std::string getEmrVersion()const;
void setEmrVersion(const std::string& emrVersion);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::string jobInstanceId_;
std::string emrVersion_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBINSTANCEWORKERSREQUEST_H_
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_

View File

@@ -0,0 +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_EMR_MODEL_DESCRIBEEMRMAINVERSIONRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeEmrMainVersionResult : public ServiceResult
{
public:
struct EmrMainVersion
{
struct ClusterTypeInfo
{
struct ServiceInfo
{
std::string serviceName;
std::string serviceDisplayVersion;
std::string serviceVersion;
std::string serviceDisplayName;
bool mandatory;
bool display;
};
std::vector<ClusterTypeInfo::ServiceInfo> serviceInfoList;
std::string clusterType;
};
struct ClusterTypeWhiteUser
{
std::string userId;
std::string clusterType;
};
std::vector<ClusterTypeInfo> clusterTypeInfoList;
std::string imageId;
std::vector<ClusterTypeWhiteUser> clusterTypeWhiteUserList;
bool ecmVersion;
std::vector<std::string> whiteUserList;
std::string regionId;
std::string emrVersion;
std::string stackName;
std::string publishType;
bool display;
std::string stackVersion;
};
DescribeEmrMainVersionResult();
explicit DescribeEmrMainVersionResult(const std::string &payload);
~DescribeEmrMainVersionResult();
EmrMainVersion getEmrMainVersion()const;
protected:
void parse(const std::string &payload);
private:
EmrMainVersion emrMainVersion_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONRESULT_H_

View File

@@ -1,60 +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_EMR_MODEL_DESCRIBEFLOWAGENTTOKENREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeFlowAgentTokenRequest : public RpcServiceRequest
{
public:
DescribeFlowAgentTokenRequest();
~DescribeFlowAgentTokenRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClusterBizId()const;
void setClusterBizId(const std::string& clusterBizId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getInnerIP()const;
void setInnerIP(const std::string& innerIP);
private:
long resourceOwnerId_;
std::string clusterBizId_;
std::string accessKeyId_;
std::string regionId_;
std::string innerIP_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENREQUEST_H_

View File

@@ -1,90 +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_EMR_MODEL_DESCRIBEFLOWENTITYSNAPSHOTREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWENTITYSNAPSHOTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeFlowEntitySnapshotRequest : public RpcServiceRequest
{
public:
DescribeFlowEntitySnapshotRequest();
~DescribeFlowEntitySnapshotRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getPageCount()const;
void setPageCount(int pageCount);
std::string getOrderMode()const;
void setOrderMode(const std::string& orderMode);
std::string getEntityId()const;
void setEntityId(const std::string& entityId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getLimit()const;
void setLimit(int limit);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getCommitterId()const;
void setCommitterId(const std::string& committerId);
int getCurrentSize()const;
void setCurrentSize(int currentSize);
std::string getOrderField()const;
void setOrderField(const std::string& orderField);
std::string getEntityGroupId()const;
void setEntityGroupId(const std::string& entityGroupId);
std::string getRevision()const;
void setRevision(const std::string& revision);
std::string getEntityType()const;
void setEntityType(const std::string& entityType);
private:
long resourceOwnerId_;
int pageCount_;
std::string orderMode_;
std::string entityId_;
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
int limit_;
int pageSize_;
std::string committerId_;
int currentSize_;
std::string orderField_;
std::string entityGroupId_;
std::string revision_;
std::string entityType_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWENTITYSNAPSHOTREQUEST_H_

View File

@@ -1,69 +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_EMR_MODEL_DESCRIBEFLOWENTITYSNAPSHOTRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWENTITYSNAPSHOTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DescribeFlowEntitySnapshotResult : public ServiceResult
{
public:
DescribeFlowEntitySnapshotResult();
explicit DescribeFlowEntitySnapshotResult(const std::string &payload);
~DescribeFlowEntitySnapshotResult();
std::string getEntityId()const;
std::string getEntityType()const;
long getGmtCreate()const;
bool getActive()const;
std::string getRevision()const;
std::string getMessage()const;
std::string getUserId()const;
std::string getData()const;
std::string getEntityGroupId()const;
std::string getCommitterId()const;
protected:
void parse(const std::string &payload);
private:
std::string entityId_;
std::string entityType_;
long gmtCreate_;
bool active_;
std::string revision_;
std::string message_;
std::string userId_;
std::string data_;
std::string entityGroupId_;
std::string committerId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWENTITYSNAPSHOTRESULT_H_

View File

@@ -1,66 +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_EMR_MODEL_DIFFFLOWENTITYSNAPSHOTREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DIFFFLOWENTITYSNAPSHOTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DiffFlowEntitySnapshotRequest : public RpcServiceRequest
{
public:
DiffFlowEntitySnapshotRequest();
~DiffFlowEntitySnapshotRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSrcRevision()const;
void setSrcRevision(const std::string& srcRevision);
std::string getEntityId()const;
void setEntityId(const std::string& entityId);
std::string getDstRevision()const;
void setDstRevision(const std::string& dstRevision);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getEntityType()const;
void setEntityType(const std::string& entityType);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
long resourceOwnerId_;
std::string srcRevision_;
std::string entityId_;
std::string dstRevision_;
std::string accessKeyId_;
std::string entityType_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DIFFFLOWENTITYSNAPSHOTREQUEST_H_

View File

@@ -1,90 +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_EMR_MODEL_GETFLOWENTITYRELATIONGRAPHREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_GETFLOWENTITYRELATIONGRAPHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT GetFlowEntityRelationGraphRequest : public RpcServiceRequest
{
public:
GetFlowEntityRelationGraphRequest();
~GetFlowEntityRelationGraphRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getPageCount()const;
void setPageCount(int pageCount);
std::string getOrderMode()const;
void setOrderMode(const std::string& orderMode);
std::string getEntityId()const;
void setEntityId(const std::string& entityId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getLimit()const;
void setLimit(int limit);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getRelationship()const;
void setRelationship(const std::string& relationship);
int getCurrentSize()const;
void setCurrentSize(int currentSize);
std::string getOrderField()const;
void setOrderField(const std::string& orderField);
std::string getDirection()const;
void setDirection(const std::string& direction);
std::string getEntityGroupId()const;
void setEntityGroupId(const std::string& entityGroupId);
std::string getEntityType()const;
void setEntityType(const std::string& entityType);
private:
long resourceOwnerId_;
int pageCount_;
std::string orderMode_;
std::string entityId_;
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
int limit_;
int pageSize_;
std::string relationship_;
int currentSize_;
std::string orderField_;
std::string direction_;
std::string entityGroupId_;
std::string entityType_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_GETFLOWENTITYRELATIONGRAPHREQUEST_H_

View File

@@ -36,8 +36,10 @@ namespace AlibabaCloud
{
std::string status;
std::string componentDisplayName;
long healthReportTime;
std::string publicIp;
int memory;
std::string healthStatus;
int cpu;
std::string hostId;
std::string hostInstanceId;
@@ -47,6 +49,7 @@ namespace AlibabaCloud
std::string serialNumber;
std::string serviceName;
std::string privateIp;
std::string state;
std::string serverStatus;
bool needRestart;
std::string componentName;

View File

@@ -49,6 +49,7 @@ namespace AlibabaCloud
std::string serviceStatus;
int notStartedNum;
int abnormalNum;
std::string state;
std::string serviceVersion;
bool onlyClient;
int needRestartNum;

View File

@@ -47,6 +47,8 @@ namespace AlibabaCloud
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getOperationId()const;
void setOperationId(const std::string& operationId);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
std::string getStatus()const;
@@ -59,6 +61,7 @@ namespace AlibabaCloud
std::string accessKeyId_;
std::string regionId_;
int pageSize_;
std::string operationId_;
std::string serviceName_;
std::string status_;

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getComponentName()const;
void setComponentName(const std::string& componentName);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
@@ -48,6 +50,7 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
std::string componentName_;
std::string clusterId_;
std::string accessKeyId_;
std::string regionId_;

View File

@@ -49,16 +49,24 @@ namespace AlibabaCloud
HealthRuleParam healthRuleParam;
std::string code;
};
long createdTime;
int goodHealthNum;
std::string healthStatus;
std::string healthLevel;
int agentHeartBeatLostNum;
int warningHealthNum;
int unknownHealthNum;
int disabledHealthNum;
int badHealthNum;
int noneHealthNum;
int stoppedNum;
std::vector<HealthInfo::HealthDetail> healthDetailList;
int normalNum;
int totalNum;
long createdTime;
std::string serviceName;
int stoppedHealthNum;
int manualStoppedNum;
std::string componentName;
std::string healthLevel;
int agentHeartBeatLostNum;
};

View File

@@ -51,6 +51,7 @@ namespace AlibabaCloud
std::string serviceName;
std::string serviceStatus;
int abnormalNum;
std::string state;
std::string serviceVersion;
bool installStatus;
std::string needRestartInfo;

View File

@@ -69,6 +69,8 @@ namespace AlibabaCloud
void setExpiredTagList(const std::vector<std::string>& expiredTagList);
bool getDefaultStatus()const;
void setDefaultStatus(bool defaultStatus);
std::string getVpcId()const;
void setVpcId(const std::string& vpcId);
std::string getName()const;
void setName(const std::string& name);
std::vector<std::string> getClusterTypeList()const;
@@ -89,6 +91,7 @@ namespace AlibabaCloud
std::string createType_;
std::vector<std::string> expiredTagList_;
bool defaultStatus_;
std::string vpcId_;
std::string name_;
std::vector<std::string> clusterTypeList_;

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_LISTMETACLUSTERREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_LISTMETACLUSTERREQUEST_H_
#ifndef ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSREQUEST_H_
#include <string>
#include <vector>
@@ -28,36 +28,42 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT ListMetaClusterRequest : public RpcServiceRequest
class ALIBABACLOUD_EMR_EXPORT ListDiskOpsEventsRequest : public RpcServiceRequest
{
public:
ListMetaClusterRequest();
~ListMetaClusterRequest();
ListDiskOpsEventsRequest();
~ListDiskOpsEventsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getEndTime()const;
void setEndTime(long endTime);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
long getStartTime()const;
void setStartTime(long startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getSourceType()const;
void setSourceType(const std::string& sourceType);
private:
long resourceOwnerId_;
long endTime_;
std::string clusterId_;
long startTime_;
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
int pageNumber_;
int pageSize_;
std::string sourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_LISTMETACLUSTERREQUEST_H_
#endif // !ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_LISTFLOWENTITYSNAPSHOTRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_LISTFLOWENTITYSNAPSHOTRESULT_H_
#ifndef ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSRESULT_H_
#include <string>
#include <vector>
@@ -29,42 +29,48 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT ListFlowEntitySnapshotResult : public ServiceResult
class ALIBABACLOUD_EMR_EXPORT ListDiskOpsEventsResult : public ServiceResult
{
public:
struct Item
struct DiskOpsEventInfo
{
std::string entityId;
std::string entityType;
long gmtCreate;
bool active;
std::string revision;
std::string message;
std::string instanceId;
std::string eventType;
std::string diskMountPoint;
std::string instanceName;
std::string privateIp;
std::string currentActivityState;
std::string userId;
std::string data;
std::string entityGroupId;
std::string committerId;
std::string clusterBizId;
std::string instanceStatus;
std::string diskDevice;
long eventTriggerTime;
std::string currentActivity;
std::string clusterName;
std::string eventId;
std::string regionId;
std::string diskId;
};
ListFlowEntitySnapshotResult();
explicit ListFlowEntitySnapshotResult(const std::string &payload);
~ListFlowEntitySnapshotResult();
ListDiskOpsEventsResult();
explicit ListDiskOpsEventsResult(const std::string &payload);
~ListDiskOpsEventsResult();
int getTotalCount()const;
int getPageSize()const;
std::vector<DiskOpsEventInfo> getEventList()const;
int getPageNumber()const;
std::vector<Item> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
std::vector<DiskOpsEventInfo> eventList_;
int pageNumber_;
std::vector<Item> items_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_LISTFLOWENTITYSNAPSHOTRESULT_H_
#endif // !ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSRESULT_H_

View File

@@ -49,6 +49,8 @@ namespace AlibabaCloud
void setRegionId(const std::string& regionId);
std::string getInstanceType()const;
void setInstanceType(const std::string& instanceType);
std::string getEmrVersion()const;
void setEmrVersion(const std::string& emrVersion);
std::string getInstanceChargeType()const;
void setInstanceChargeType(const std::string& instanceChargeType);
std::string getClusterId()const;
@@ -74,6 +76,7 @@ namespace AlibabaCloud
std::string resourceGroupId_;
std::string regionId_;
std::string instanceType_;
std::string emrVersion_;
std::string instanceChargeType_;
std::string clusterId_;
std::string destinationResource_;

View File

@@ -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_EMR_MODEL_LISTEXECUTIONPLANSREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT ListExecutionPlansRequest : public RpcServiceRequest
{
public:
ListExecutionPlansRequest();
~ListExecutionPlansRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::vector<std::string> getStatusList()const;
void setStatusList(const std::vector<std::string>& statusList);
bool getIsDesc()const;
void setIsDesc(bool isDesc);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getJobId()const;
void setJobId(const std::string& jobId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getQueryType()const;
void setQueryType(const std::string& queryType);
std::string getQueryString()const;
void setQueryString(const std::string& queryString);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getStrategy()const;
void setStrategy(const std::string& strategy);
private:
long resourceOwnerId_;
std::vector<std::string> statusList_;
bool isDesc_;
int pageNumber_;
std::string accessKeyId_;
std::string jobId_;
std::string regionId_;
int pageSize_;
std::string queryType_;
std::string queryString_;
std::string clusterId_;
std::string strategy_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANSREQUEST_H_

View File

@@ -1,68 +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_EMR_MODEL_LISTEXECUTIONPLANSRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT ListExecutionPlansResult : public ServiceResult
{
public:
struct ExecutionPlanInfo
{
std::string status;
int timeInterval;
std::string stragety;
long startTime;
std::string timeUnit;
std::string id;
bool createClusterOnDemand;
std::string name;
};
ListExecutionPlansResult();
explicit ListExecutionPlansResult(const std::string &payload);
~ListExecutionPlansResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<ExecutionPlanInfo> getExecutionPlans()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<ExecutionPlanInfo> executionPlans_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANSRESULT_H_

View File

@@ -1,90 +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_EMR_MODEL_LISTFLOWENTITYSNAPSHOTREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_LISTFLOWENTITYSNAPSHOTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT ListFlowEntitySnapshotRequest : public RpcServiceRequest
{
public:
ListFlowEntitySnapshotRequest();
~ListFlowEntitySnapshotRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getPageCount()const;
void setPageCount(int pageCount);
std::string getOrderMode()const;
void setOrderMode(const std::string& orderMode);
std::string getEntityId()const;
void setEntityId(const std::string& entityId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getLimit()const;
void setLimit(int limit);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getCommitterId()const;
void setCommitterId(const std::string& committerId);
int getCurrentSize()const;
void setCurrentSize(int currentSize);
std::string getOrderField()const;
void setOrderField(const std::string& orderField);
std::string getEntityGroupId()const;
void setEntityGroupId(const std::string& entityGroupId);
std::string getRevision()const;
void setRevision(const std::string& revision);
std::string getEntityType()const;
void setEntityType(const std::string& entityType);
private:
long resourceOwnerId_;
int pageCount_;
std::string orderMode_;
std::string entityId_;
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
int limit_;
int pageSize_;
std::string committerId_;
int currentSize_;
std::string orderField_;
std::string entityGroupId_;
std::string revision_;
std::string entityType_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_LISTFLOWENTITYSNAPSHOTREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATENOTEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATENOTEREQUEST_H_
#ifndef ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFOREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFOREQUEST_H_
#include <string>
#include <vector>
@@ -28,39 +28,33 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateNoteRequest : public RpcServiceRequest
class ALIBABACLOUD_EMR_EXPORT ListLocalDiskComponentInfoRequest : public RpcServiceRequest
{
public:
CreateNoteRequest();
~CreateNoteRequest();
ListLocalDiskComponentInfoRequest();
~ListLocalDiskComponentInfoRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getType()const;
void setType(const std::string& type);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
private:
long resourceOwnerId_;
std::string clusterId_;
std::string type_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string instanceId_;
std::string regionId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATENOTEREQUEST_H_
#endif // !ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFOREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* 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_EMR_MODEL_LISTLOCALDISKCOMPONENTINFORESULT_H_
#define ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT ListLocalDiskComponentInfoResult : public ServiceResult
{
public:
struct ComponentInfo
{
struct MountParam
{
std::string defaultValue;
std::vector<std::string> options;
int min;
std::string valueType;
int max;
std::string unit;
std::string key;
std::string name;
std::string tips;
};
std::string rebootWarningMsg;
std::string componentDisplayName;
std::vector<std::string> apmMetrics;
std::vector<ComponentInfo::MountParam> mountParams;
std::string serviceName;
std::string componentName;
std::string isolateWarningMsg;
bool supportDiskHotSwap;
std::string mountWarningMsg;
std::string serviceDisplayName;
};
ListLocalDiskComponentInfoResult();
explicit ListLocalDiskComponentInfoResult(const std::string &payload);
~ListLocalDiskComponentInfoResult();
std::vector<ComponentInfo> getComponentInfoList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ComponentInfo> componentInfoList_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFORESULT_H_

View File

@@ -1,69 +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_EMR_MODEL_LISTMETADATASOURCECLUSTERFOROUTERREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_LISTMETADATASOURCECLUSTERFOROUTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT ListMetaDataSourceClusterForOuterRequest : public RpcServiceRequest
{
public:
ListMetaDataSourceClusterForOuterRequest();
~ListMetaDataSourceClusterForOuterRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::vector<std::string> getClusterId()const;
void setClusterId(const std::vector<std::string>& clusterId);
std::string getUserId()const;
void setUserId(const std::string& userId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<std::string> getDataSourceId()const;
void setDataSourceId(const std::vector<std::string>& dataSourceId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
long resourceOwnerId_;
std::vector<std::string> clusterId_;
std::string userId_;
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
std::vector<std::string> dataSourceId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_LISTMETADATASOURCECLUSTERFOROUTERREQUEST_H_

View File

@@ -35,12 +35,10 @@ namespace AlibabaCloud
ListScalingConfigItemV2Request();
~ListScalingConfigItemV2Request();
std::string getConfigItemType()const;
void setConfigItemType(const std::string& configItemType);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getPageCount()const;
void setPageCount(int pageCount);
std::string getOrderMode()const;
void setOrderMode(const std::string& orderMode);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
@@ -51,31 +49,18 @@ namespace AlibabaCloud
void setResourceGroupId(const std::string& resourceGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getLimit()const;
void setLimit(int limit);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentSize()const;
void setCurrentSize(int currentSize);
std::string getOrderField()const;
void setOrderField(const std::string& orderField);
std::string getConfigItemType()const;
void setConfigItemType(const std::string& configItemType);
private:
std::string configItemType_;
long resourceOwnerId_;
int pageCount_;
std::string orderMode_;
int pageNumber_;
std::string accessKeyId_;
std::string scalingGroupBizId_;
std::string resourceGroupId_;
std::string regionId_;
int limit_;
int pageSize_;
int currentSize_;
std::string orderField_;
std::string configItemType_;
};
}

View File

@@ -1,68 +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_EMR_MODEL_QUERYALARMHISTORYRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_QUERYALARMHISTORYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT QueryAlarmHistoryResult : public ServiceResult
{
public:
struct EmrAlarmHistory
{
std::string role;
int status;
std::string metricName;
std::string contactGroups;
std::string clusterId;
std::string instanceId;
long alarmTime;
std::string state;
long lastTime;
std::string name;
};
QueryAlarmHistoryResult();
explicit QueryAlarmHistoryResult(const std::string &payload);
~QueryAlarmHistoryResult();
std::vector<EmrAlarmHistory> getAlarmHistoryList()const;
std::string getTotal()const;
std::string getCursor()const;
protected:
void parse(const std::string &payload);
private:
std::vector<EmrAlarmHistory> alarmHistoryList_;
std::string total_;
std::string cursor_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_QUERYALARMHISTORYRESULT_H_

View File

@@ -1,51 +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_EMR_MODEL_QUERYTABLEDATARESULT_H_
#define ALIBABACLOUD_EMR_MODEL_QUERYTABLEDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT QueryTableDataResult : public ServiceResult
{
public:
QueryTableDataResult();
explicit QueryTableDataResult(const std::string &payload);
~QueryTableDataResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_QUERYTABLEDATARESULT_H_

View File

@@ -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_EMR_MODEL_RELEASECLUSTERBYTEMPLATETAGFORINTERNALREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_RELEASECLUSTERBYTEMPLATETAGFORINTERNALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT ReleaseClusterByTemplateTagForInternalRequest : public RpcServiceRequest
{
public:
ReleaseClusterByTemplateTagForInternalRequest();
~ReleaseClusterByTemplateTagForInternalRequest();
std::vector<std::string> getTemplateTagSet()const;
void setTemplateTagSet(const std::vector<std::string>& templateTagSet);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::vector<std::string> templateTagSet_;
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_RELEASECLUSTERBYTEMPLATETAGFORINTERNALREQUEST_H_

View File

@@ -1,49 +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_EMR_MODEL_RELEASECLUSTERBYTEMPLATETAGFORINTERNALRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_RELEASECLUSTERBYTEMPLATETAGFORINTERNALRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT ReleaseClusterByTemplateTagForInternalResult : public ServiceResult
{
public:
ReleaseClusterByTemplateTagForInternalResult();
explicit ReleaseClusterByTemplateTagForInternalResult(const std::string &payload);
~ReleaseClusterByTemplateTagForInternalResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_RELEASECLUSTERBYTEMPLATETAGFORINTERNALRESULT_H_

View File

@@ -42,6 +42,7 @@ namespace AlibabaCloud
int period;
int sysDiskCapacity;
std::string hostKeyPairName;
std::string privatePoolOptionsId;
int diskCapacity;
std::string sysDiskType;
std::string clusterId;
@@ -58,6 +59,7 @@ namespace AlibabaCloud
std::string createType;
std::string hostPassword;
std::string hostGroupType;
std::string privatePoolOptionsMatchCriteria;
};
struct PromotionInfo
{
@@ -82,6 +84,8 @@ namespace AlibabaCloud
void setVswitchId(const std::string& vswitchId);
std::vector<HostComponentInfo> getHostComponentInfo()const;
void setHostComponentInfo(const std::vector<HostComponentInfo>& hostComponentInfo);
std::string getClickhouseConf()const;
void setClickhouseConf(const std::string& clickhouseConf);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<HostGroup> getHostGroup()const;
@@ -96,6 +100,7 @@ namespace AlibabaCloud
std::string accessKeyId_;
std::string vswitchId_;
std::vector<HostComponentInfo> hostComponentInfo_;
std::string clickhouseConf_;
std::string regionId_;
std::vector<HostGroup> hostGroup_;
std::vector<PromotionInfo> promotionInfo_;

View File

@@ -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_EMR_MODEL_RESTOREBACKUPRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_RESTOREBACKUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT RestoreBackupResult : public ServiceResult
{
public:
RestoreBackupResult();
explicit RestoreBackupResult(const std::string &payload);
~RestoreBackupResult();
std::string getTriggerType()const;
long getEndTime()const;
long getStartTime()const;
long getGmtModified()const;
std::string getTaskStatus()const;
std::string getTaskDetail()const;
std::string getTriggerUser()const;
long getGmtCreate()const;
int getTaskProcess()const;
std::string getClusterBizId()const;
std::string getTaskType()const;
std::string getBizId()const;
long getDataSourceId()const;
std::string getHostName()const;
long getEcmTaskId()const;
std::string getTaskResultDetail()const;
protected:
void parse(const std::string &payload);
private:
std::string triggerType_;
long endTime_;
long startTime_;
long gmtModified_;
std::string taskStatus_;
std::string taskDetail_;
std::string triggerUser_;
long gmtCreate_;
int taskProcess_;
std::string clusterBizId_;
std::string taskType_;
std::string bizId_;
long dataSourceId_;
std::string hostName_;
long ecmTaskId_;
std::string taskResultDetail_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_RESTOREBACKUPRESULT_H_

View File

@@ -1,66 +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_EMR_MODEL_RESTOREFLOWENTITYSNAPSHOTREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_RESTOREFLOWENTITYSNAPSHOTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT RestoreFlowEntitySnapshotRequest : public RpcServiceRequest
{
public:
RestoreFlowEntitySnapshotRequest();
~RestoreFlowEntitySnapshotRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getEntityId()const;
void setEntityId(const std::string& entityId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRevision()const;
void setRevision(const std::string& revision);
std::string getEntityType()const;
void setEntityType(const std::string& entityType);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOperatorId()const;
void setOperatorId(const std::string& operatorId);
private:
long resourceOwnerId_;
std::string entityId_;
std::string accessKeyId_;
std::string revision_;
std::string entityType_;
std::string regionId_;
std::string operatorId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_RESTOREFLOWENTITYSNAPSHOTREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_QUERYALARMHISTORYREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_QUERYALARMHISTORYREQUEST_H_
#ifndef ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYREQUEST_H_
#include <string>
#include <vector>
@@ -28,42 +28,45 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT QueryAlarmHistoryRequest : public RpcServiceRequest
class ALIBABACLOUD_EMR_EXPORT RunDiskOpsActivityRequest : public RpcServiceRequest
{
public:
QueryAlarmHistoryRequest();
~QueryAlarmHistoryRequest();
RunDiskOpsActivityRequest();
~RunDiskOpsActivityRequest();
std::string getCursor()const;
void setCursor(const std::string& cursor);
std::string getEventId()const;
void setEventId(const std::string& eventId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getCurrentStage()const;
void setCurrentStage(const std::string& currentStage);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
long getStartTimeStamp()const;
void setStartTimeStamp(long startTimeStamp);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
long getEndTimeStamp()const;
void setEndTimeStamp(long endTimeStamp);
int getSize()const;
void setSize(int size);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDiskId()const;
void setDiskId(const std::string& diskId);
std::string getCurrentState()const;
void setCurrentState(const std::string& currentState);
private:
std::string cursor_;
std::string eventId_;
long resourceOwnerId_;
std::string currentStage_;
std::string clusterId_;
long startTimeStamp_;
std::string accessKeyId_;
long endTimeStamp_;
int size_;
std::string instanceId_;
std::string regionId_;
std::string diskId_;
std::string currentState_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_QUERYALARMHISTORYREQUEST_H_
#endif // !ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWEDITLOCKRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWEDITLOCKRESULT_H_
#ifndef ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYRESULT_H_
#include <string>
#include <vector>
@@ -29,31 +29,31 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowEditLockResult : public ServiceResult
class ALIBABACLOUD_EMR_EXPORT RunDiskOpsActivityResult : public ServiceResult
{
public:
CreateFlowEditLockResult();
explicit CreateFlowEditLockResult(const std::string &payload);
~CreateFlowEditLockResult();
std::string getEntityId()const;
std::string getStatus()const;
std::string getOwnerId()const;
std::string getUserId()const;
std::string getBizId()const;
RunDiskOpsActivityResult();
explicit RunDiskOpsActivityResult(const std::string &payload);
~RunDiskOpsActivityResult();
std::string getActivityState()const;
std::string getCurrentActivity()const;
std::string getClusterType()const;
bool getNeedReboot()const;
std::string getErrorMessage()const;
protected:
void parse(const std::string &payload);
private:
std::string entityId_;
std::string status_;
std::string ownerId_;
std::string userId_;
std::string bizId_;
std::string activityState_;
std::string currentActivity_;
std::string clusterType_;
bool needReboot_;
std::string errorMessage_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWEDITLOCKRESULT_H_
#endif // !ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYRESULT_H_

View File

@@ -1,69 +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_EMR_MODEL_UNTAGRESOURCESSYSTEMTAGSREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_UNTAGRESOURCESSYSTEMTAGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT UntagResourcesSystemTagsRequest : public RpcServiceRequest
{
public:
UntagResourcesSystemTagsRequest();
~UntagResourcesSystemTagsRequest();
bool getAll()const;
void setAll(bool all);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
long getTagOwnerUid()const;
void setTagOwnerUid(long tagOwnerUid);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<std::string> getTagKey()const;
void setTagKey(const std::vector<std::string>& tagKey);
private:
bool all_;
long resourceOwnerId_;
std::vector<std::string> resourceId_;
long tagOwnerUid_;
std::string resourceType_;
std::string accessKeyId_;
std::string regionId_;
std::vector<std::string> tagKey_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_UNTAGRESOURCESSYSTEMTAGSREQUEST_H_

File diff suppressed because it is too large Load Diff

View File

@@ -1,73 +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/emr/model/CleanupFlowEntitySnapshotRequest.h>
using AlibabaCloud::Emr::Model::CleanupFlowEntitySnapshotRequest;
CleanupFlowEntitySnapshotRequest::CleanupFlowEntitySnapshotRequest() :
RpcServiceRequest("emr", "2016-04-08", "CleanupFlowEntitySnapshot")
{
setMethod(HttpRequest::Method::Post);
}
CleanupFlowEntitySnapshotRequest::~CleanupFlowEntitySnapshotRequest()
{}
long CleanupFlowEntitySnapshotRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CleanupFlowEntitySnapshotRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CleanupFlowEntitySnapshotRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CleanupFlowEntitySnapshotRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CleanupFlowEntitySnapshotRequest::getRegionId()const
{
return regionId_;
}
void CleanupFlowEntitySnapshotRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CleanupFlowEntitySnapshotRequest::getEntityIdList()const
{
return entityIdList_;
}
void CleanupFlowEntitySnapshotRequest::setEntityIdList(const std::string& entityIdList)
{
entityIdList_ = entityIdList;
setParameter("EntityIdList", entityIdList);
}

View File

@@ -1,95 +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/emr/model/CommitFlowEntitySnapshotRequest.h>
using AlibabaCloud::Emr::Model::CommitFlowEntitySnapshotRequest;
CommitFlowEntitySnapshotRequest::CommitFlowEntitySnapshotRequest() :
RpcServiceRequest("emr", "2016-04-08", "CommitFlowEntitySnapshot")
{
setMethod(HttpRequest::Method::Post);
}
CommitFlowEntitySnapshotRequest::~CommitFlowEntitySnapshotRequest()
{}
long CommitFlowEntitySnapshotRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CommitFlowEntitySnapshotRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CommitFlowEntitySnapshotRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CommitFlowEntitySnapshotRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CommitFlowEntitySnapshotRequest::getRegionId()const
{
return regionId_;
}
void CommitFlowEntitySnapshotRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CommitFlowEntitySnapshotRequest::getEntityType()const
{
return entityType_;
}
void CommitFlowEntitySnapshotRequest::setEntityType(const std::string& entityType)
{
entityType_ = entityType;
setParameter("EntityType", entityType);
}
std::string CommitFlowEntitySnapshotRequest::getEntityId()const
{
return entityId_;
}
void CommitFlowEntitySnapshotRequest::setEntityId(const std::string& entityId)
{
entityId_ = entityId;
setParameter("EntityId", entityId);
}
std::string CommitFlowEntitySnapshotRequest::getMessage()const
{
return message_;
}
void CommitFlowEntitySnapshotRequest::setMessage(const std::string& message)
{
message_ = message;
setParameter("Message", message);
}

View File

@@ -0,0 +1,150 @@
/*
* 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/emr/model/CreateClusterHostGroupRequest.h>
using AlibabaCloud::Emr::Model::CreateClusterHostGroupRequest;
CreateClusterHostGroupRequest::CreateClusterHostGroupRequest() :
RpcServiceRequest("emr", "2016-04-08", "CreateClusterHostGroup")
{
setMethod(HttpRequest::Method::Post);
}
CreateClusterHostGroupRequest::~CreateClusterHostGroupRequest()
{}
long CreateClusterHostGroupRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateClusterHostGroupRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateClusterHostGroupRequest::getHostGroupParams()const
{
return hostGroupParams_;
}
void CreateClusterHostGroupRequest::setHostGroupParams(const std::string& hostGroupParams)
{
hostGroupParams_ = hostGroupParams;
setParameter("HostGroupParams", hostGroupParams);
}
std::string CreateClusterHostGroupRequest::getSecurityGroupId()const
{
return securityGroupId_;
}
void CreateClusterHostGroupRequest::setSecurityGroupId(const std::string& securityGroupId)
{
securityGroupId_ = securityGroupId;
setParameter("SecurityGroupId", securityGroupId);
}
std::string CreateClusterHostGroupRequest::getHostGroupName()const
{
return hostGroupName_;
}
void CreateClusterHostGroupRequest::setHostGroupName(const std::string& hostGroupName)
{
hostGroupName_ = hostGroupName;
setParameter("HostGroupName", hostGroupName);
}
std::string CreateClusterHostGroupRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateClusterHostGroupRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CreateClusterHostGroupRequest::getRegionId()const
{
return regionId_;
}
void CreateClusterHostGroupRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CreateClusterHostGroupRequest::getClusterId()const
{
return clusterId_;
}
void CreateClusterHostGroupRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string CreateClusterHostGroupRequest::getVswitchId()const
{
return vswitchId_;
}
void CreateClusterHostGroupRequest::setVswitchId(const std::string& vswitchId)
{
vswitchId_ = vswitchId;
setParameter("VswitchId", vswitchId);
}
std::string CreateClusterHostGroupRequest::getComment()const
{
return comment_;
}
void CreateClusterHostGroupRequest::setComment(const std::string& comment)
{
comment_ = comment;
setParameter("Comment", comment);
}
std::string CreateClusterHostGroupRequest::getPayType()const
{
return payType_;
}
void CreateClusterHostGroupRequest::setPayType(const std::string& payType)
{
payType_ = payType;
setParameter("PayType", payType);
}
std::string CreateClusterHostGroupRequest::getHostGroupType()const
{
return hostGroupType_;
}
void CreateClusterHostGroupRequest::setHostGroupType(const std::string& hostGroupType)
{
hostGroupType_ = hostGroupType;
setParameter("HostGroupType", hostGroupType);
}

View File

@@ -14,38 +14,45 @@
* limitations under the License.
*/
#include <alibabacloud/emr/model/DiffFlowEntitySnapshotResult.h>
#include <alibabacloud/emr/model/CreateClusterHostGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Emr;
using namespace AlibabaCloud::Emr::Model;
DiffFlowEntitySnapshotResult::DiffFlowEntitySnapshotResult() :
CreateClusterHostGroupResult::CreateClusterHostGroupResult() :
ServiceResult()
{}
DiffFlowEntitySnapshotResult::DiffFlowEntitySnapshotResult(const std::string &payload) :
CreateClusterHostGroupResult::CreateClusterHostGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DiffFlowEntitySnapshotResult::~DiffFlowEntitySnapshotResult()
CreateClusterHostGroupResult::~CreateClusterHostGroupResult()
{}
void DiffFlowEntitySnapshotResult::parse(const std::string &payload)
void CreateClusterHostGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["ClusterId"].isNull())
clusterId_ = value["ClusterId"].asString();
if(!value["HostGroupId"].isNull())
hostGroupId_ = value["HostGroupId"].asString();
}
std::string DiffFlowEntitySnapshotResult::getData()const
std::string CreateClusterHostGroupResult::getHostGroupId()const
{
return data_;
return hostGroupId_;
}
std::string CreateClusterHostGroupResult::getClusterId()const
{
return clusterId_;
}

View File

@@ -318,6 +318,17 @@ void CreateClusterTemplateRequest::setInitCustomHiveMetaDb(bool initCustomHiveMe
setParameter("InitCustomHiveMetaDb", initCustomHiveMetaDb ? "true" : "false");
}
std::string CreateClusterTemplateRequest::getClientToken()const
{
return clientToken_;
}
void CreateClusterTemplateRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
bool CreateClusterTemplateRequest::getIoOptimized()const
{
return ioOptimized_;
@@ -441,6 +452,7 @@ void CreateClusterTemplateRequest::setHostGroup(const std::vector<HostGroup>& ho
std::string hostGroupObjStr = "HostGroup." + std::to_string(dep1 + 1);
setParameter(hostGroupObjStr + ".Period", std::to_string(hostGroupObj.period));
setParameter(hostGroupObjStr + ".SysDiskCapacity", std::to_string(hostGroupObj.sysDiskCapacity));
setParameter(hostGroupObjStr + ".PrivatePoolOptionsId", hostGroupObj.privatePoolOptionsId);
setParameter(hostGroupObjStr + ".DiskCapacity", std::to_string(hostGroupObj.diskCapacity));
setParameter(hostGroupObjStr + ".SysDiskType", hostGroupObj.sysDiskType);
setParameter(hostGroupObjStr + ".ClusterId", hostGroupObj.clusterId);
@@ -457,6 +469,7 @@ void CreateClusterTemplateRequest::setHostGroup(const std::vector<HostGroup>& ho
setParameter(hostGroupObjStr + ".MultiInstanceTypes", hostGroupObj.multiInstanceTypes);
setParameter(hostGroupObjStr + ".CreateType", hostGroupObj.createType);
setParameter(hostGroupObjStr + ".HostGroupType", hostGroupObj.hostGroupType);
setParameter(hostGroupObjStr + ".PrivatePoolOptionsMatchCriteria", hostGroupObj.privatePoolOptionsMatchCriteria);
}
}

View File

@@ -392,6 +392,17 @@ void CreateClusterV2Request::setInitCustomHiveMetaDB(bool initCustomHiveMetaDB)
setParameter("InitCustomHiveMetaDB", initCustomHiveMetaDB ? "true" : "false");
}
std::string CreateClusterV2Request::getClientToken()const
{
return clientToken_;
}
void CreateClusterV2Request::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
}
bool CreateClusterV2Request::getIoOptimized()const
{
return ioOptimized_;
@@ -560,6 +571,7 @@ void CreateClusterV2Request::setHostGroup(const std::vector<HostGroup>& hostGrou
std::string hostGroupObjStr = "HostGroup." + std::to_string(dep1 + 1);
setParameter(hostGroupObjStr + ".Period", std::to_string(hostGroupObj.period));
setParameter(hostGroupObjStr + ".SysDiskCapacity", std::to_string(hostGroupObj.sysDiskCapacity));
setParameter(hostGroupObjStr + ".PrivatePoolOptionsId", hostGroupObj.privatePoolOptionsId);
setParameter(hostGroupObjStr + ".DiskCapacity", std::to_string(hostGroupObj.diskCapacity));
setParameter(hostGroupObjStr + ".SysDiskType", hostGroupObj.sysDiskType);
setParameter(hostGroupObjStr + ".ClusterId", hostGroupObj.clusterId);
@@ -576,6 +588,7 @@ void CreateClusterV2Request::setHostGroup(const std::vector<HostGroup>& hostGrou
setParameter(hostGroupObjStr + ".ChargeType", hostGroupObj.chargeType);
setParameter(hostGroupObjStr + ".CreateType", hostGroupObj.createType);
setParameter(hostGroupObjStr + ".HostGroupType", hostGroupObj.hostGroupType);
setParameter(hostGroupObjStr + ".PrivatePoolOptionsMatchCriteria", hostGroupObj.privatePoolOptionsMatchCriteria);
}
}

View File

@@ -1,84 +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/emr/model/CreateFlowEditLockRequest.h>
using AlibabaCloud::Emr::Model::CreateFlowEditLockRequest;
CreateFlowEditLockRequest::CreateFlowEditLockRequest() :
RpcServiceRequest("emr", "2016-04-08", "CreateFlowEditLock")
{
setMethod(HttpRequest::Method::Post);
}
CreateFlowEditLockRequest::~CreateFlowEditLockRequest()
{}
long CreateFlowEditLockRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateFlowEditLockRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateFlowEditLockRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateFlowEditLockRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CreateFlowEditLockRequest::getRegionId()const
{
return regionId_;
}
void CreateFlowEditLockRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CreateFlowEditLockRequest::getEntityId()const
{
return entityId_;
}
void CreateFlowEditLockRequest::setEntityId(const std::string& entityId)
{
entityId_ = entityId;
setParameter("EntityId", entityId);
}
bool CreateFlowEditLockRequest::getForce()const
{
return force_;
}
void CreateFlowEditLockRequest::setForce(bool force)
{
force_ = force;
setParameter("Force", force ? "true" : "false");
}

View File

@@ -1,79 +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/emr/model/CreateFlowEditLockResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Emr;
using namespace AlibabaCloud::Emr::Model;
CreateFlowEditLockResult::CreateFlowEditLockResult() :
ServiceResult()
{}
CreateFlowEditLockResult::CreateFlowEditLockResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateFlowEditLockResult::~CreateFlowEditLockResult()
{}
void CreateFlowEditLockResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["BizId"].isNull())
bizId_ = value["BizId"].asString();
if(!value["EntityId"].isNull())
entityId_ = value["EntityId"].asString();
if(!value["Status"].isNull())
status_ = value["Status"].asString();
if(!value["OwnerId"].isNull())
ownerId_ = value["OwnerId"].asString();
if(!value["UserId"].isNull())
userId_ = value["UserId"].asString();
}
std::string CreateFlowEditLockResult::getEntityId()const
{
return entityId_;
}
std::string CreateFlowEditLockResult::getStatus()const
{
return status_;
}
std::string CreateFlowEditLockResult::getOwnerId()const
{
return ownerId_;
}
std::string CreateFlowEditLockResult::getUserId()const
{
return userId_;
}
std::string CreateFlowEditLockResult::getBizId()const
{
return bizId_;
}

View File

@@ -46,7 +46,7 @@ std::string CreateFlowJobRequest::getRunConf()const
void CreateFlowJobRequest::setRunConf(const std::string& runConf)
{
runConf_ = runConf;
setParameter("RunConf", runConf);
setBodyParameter("RunConf", runConf);
}
std::string CreateFlowJobRequest::getDescription()const
@@ -57,7 +57,7 @@ std::string CreateFlowJobRequest::getDescription()const
void CreateFlowJobRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
setBodyParameter("Description", description);
}
std::string CreateFlowJobRequest::getType()const
@@ -79,7 +79,7 @@ std::string CreateFlowJobRequest::getParamConf()const
void CreateFlowJobRequest::setParamConf(const std::string& paramConf)
{
paramConf_ = paramConf;
setParameter("ParamConf", paramConf);
setBodyParameter("ParamConf", paramConf);
}
std::vector<CreateFlowJobRequest::ResourceList> CreateFlowJobRequest::getResourceList()const
@@ -128,7 +128,7 @@ std::string CreateFlowJobRequest::getMonitorConf()const
void CreateFlowJobRequest::setMonitorConf(const std::string& monitorConf)
{
monitorConf_ = monitorConf;
setParameter("MonitorConf", monitorConf);
setBodyParameter("MonitorConf", monitorConf);
}
std::string CreateFlowJobRequest::getRegionId()const
@@ -183,7 +183,7 @@ std::string CreateFlowJobRequest::getEnvConf()const
void CreateFlowJobRequest::setEnvConf(const std::string& envConf)
{
envConf_ = envConf;
setParameter("EnvConf", envConf);
setBodyParameter("EnvConf", envConf);
}
long CreateFlowJobRequest::getMaxRunningTimeSec()const
@@ -216,7 +216,7 @@ std::string CreateFlowJobRequest::getParams()const
void CreateFlowJobRequest::setParams(const std::string& params)
{
params_ = params;
setParameter("Params", params);
setBodyParameter("Params", params);
}
std::string CreateFlowJobRequest::getCustomVariables()const
@@ -227,7 +227,7 @@ std::string CreateFlowJobRequest::getCustomVariables()const
void CreateFlowJobRequest::setCustomVariables(const std::string& customVariables)
{
customVariables_ = customVariables;
setParameter("CustomVariables", customVariables);
setBodyParameter("CustomVariables", customVariables);
}
long CreateFlowJobRequest::getRetryInterval()const

View File

@@ -1,106 +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/emr/model/CreateNoteRequest.h>
using AlibabaCloud::Emr::Model::CreateNoteRequest;
CreateNoteRequest::CreateNoteRequest() :
RpcServiceRequest("emr", "2016-04-08", "CreateNote")
{
setMethod(HttpRequest::Method::Post);
}
CreateNoteRequest::~CreateNoteRequest()
{}
long CreateNoteRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateNoteRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateNoteRequest::getClusterId()const
{
return clusterId_;
}
void CreateNoteRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string CreateNoteRequest::getType()const
{
return type_;
}
void CreateNoteRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
}
std::string CreateNoteRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateNoteRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CreateNoteRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void CreateNoteRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string CreateNoteRequest::getRegionId()const
{
return regionId_;
}
void CreateNoteRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CreateNoteRequest::getName()const
{
return name_;
}
void CreateNoteRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}

View File

@@ -1,84 +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/emr/model/CreateParagraphRequest.h>
using AlibabaCloud::Emr::Model::CreateParagraphRequest;
CreateParagraphRequest::CreateParagraphRequest() :
RpcServiceRequest("emr", "2016-04-08", "CreateParagraph")
{
setMethod(HttpRequest::Method::Post);
}
CreateParagraphRequest::~CreateParagraphRequest()
{}
long CreateParagraphRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateParagraphRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateParagraphRequest::getNoteId()const
{
return noteId_;
}
void CreateParagraphRequest::setNoteId(const std::string& noteId)
{
noteId_ = noteId;
setParameter("NoteId", noteId);
}
std::string CreateParagraphRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateParagraphRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CreateParagraphRequest::getRegionId()const
{
return regionId_;
}
void CreateParagraphRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CreateParagraphRequest::getText()const
{
return text_;
}
void CreateParagraphRequest::setText(const std::string& text)
{
text_ = text;
setParameter("Text", text);
}

View File

@@ -1,73 +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/emr/model/DeleteFlowEditLockRequest.h>
using AlibabaCloud::Emr::Model::DeleteFlowEditLockRequest;
DeleteFlowEditLockRequest::DeleteFlowEditLockRequest() :
RpcServiceRequest("emr", "2016-04-08", "DeleteFlowEditLock")
{
setMethod(HttpRequest::Method::Post);
}
DeleteFlowEditLockRequest::~DeleteFlowEditLockRequest()
{}
long DeleteFlowEditLockRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteFlowEditLockRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteFlowEditLockRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeleteFlowEditLockRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DeleteFlowEditLockRequest::getRegionId()const
{
return regionId_;
}
void DeleteFlowEditLockRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DeleteFlowEditLockRequest::getEntityId()const
{
return entityId_;
}
void DeleteFlowEditLockRequest::setEntityId(const std::string& entityId)
{
entityId_ = entityId;
setParameter("EntityId", entityId);
}

View File

@@ -1,84 +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/emr/model/DeleteNoteRequest.h>
using AlibabaCloud::Emr::Model::DeleteNoteRequest;
DeleteNoteRequest::DeleteNoteRequest() :
RpcServiceRequest("emr", "2016-04-08", "DeleteNote")
{
setMethod(HttpRequest::Method::Post);
}
DeleteNoteRequest::~DeleteNoteRequest()
{}
long DeleteNoteRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DeleteNoteRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DeleteNoteRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DeleteNoteRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DeleteNoteRequest::getResourceGroupId()const
{
return resourceGroupId_;
}
void DeleteNoteRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
}
std::string DeleteNoteRequest::getRegionId()const
{
return regionId_;
}
void DeleteNoteRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DeleteNoteRequest::getId()const
{
return id_;
}
void DeleteNoteRequest::setId(const std::string& id)
{
id_ = id;
setParameter("Id", id);
}

View File

@@ -138,12 +138,16 @@ void DescribeClusterBasicInfoResult::parse(const std::string &payload)
clusterInfo_.autoScalingWithGraceAllowed = clusterInfoNode["AutoScalingWithGraceAllowed"].asString() == "true";
if(!clusterInfoNode["ResizeDiskEnable"].isNull())
clusterInfo_.resizeDiskEnable = clusterInfoNode["ResizeDiskEnable"].asString() == "true";
if(!clusterInfoNode["ResizeClusterEnable"].isNull())
clusterInfo_.resizeClusterEnable = clusterInfoNode["ResizeClusterEnable"].asString() == "true";
if(!clusterInfoNode["MetaStoreType"].isNull())
clusterInfo_.metaStoreType = clusterInfoNode["MetaStoreType"].asString();
if(!clusterInfoNode["K8sClusterId"].isNull())
clusterInfo_.k8sClusterId = clusterInfoNode["K8sClusterId"].asString();
if(!clusterInfoNode["OperationId"].isNull())
clusterInfo_.operationId = clusterInfoNode["OperationId"].asString();
if(!clusterInfoNode["ClickhouseConf"].isNull())
clusterInfo_.clickhouseConf = clusterInfoNode["ClickhouseConf"].asString();
auto allGatewayClusterInfoListNode = clusterInfoNode["GatewayClusterInfoList"]["GatewayClusterInfo"];
for (auto clusterInfoNodeGatewayClusterInfoListGatewayClusterInfo : allGatewayClusterInfoListNode)
{
@@ -175,6 +179,8 @@ void DescribeClusterBasicInfoResult::parse(const std::string &payload)
clusterInfo_.relateClusterInfo.clusterName = relateClusterInfoNode["ClusterName"].asString();
if(!relateClusterInfoNode["Status"].isNull())
clusterInfo_.relateClusterInfo.status = relateClusterInfoNode["Status"].asString();
if(!relateClusterInfoNode["ClusterType"].isNull())
clusterInfo_.relateClusterInfo.clusterType = relateClusterInfoNode["ClusterType"].asString();
auto hostPoolInfoNode = clusterInfoNode["HostPoolInfo"];
if(!hostPoolInfoNode["HpBizId"].isNull())
clusterInfo_.hostPoolInfo.hpBizId = hostPoolInfoNode["HpBizId"].asString();

View File

@@ -263,6 +263,8 @@ void DescribeClusterV2Result::parse(const std::string &payload)
clusterInfo_.relateClusterInfo.clusterName = relateClusterInfoNode["ClusterName"].asString();
if(!relateClusterInfoNode["Status"].isNull())
clusterInfo_.relateClusterInfo.status = relateClusterInfoNode["Status"].asString();
if(!relateClusterInfoNode["ClusterType"].isNull())
clusterInfo_.relateClusterInfo.clusterType = relateClusterInfoNode["ClusterType"].asString();
auto hostPoolInfoNode = clusterInfoNode["HostPoolInfo"];
if(!hostPoolInfoNode["HpBizId"].isNull())
clusterInfo_.hostPoolInfo.hpBizId = hostPoolInfoNode["HpBizId"].asString();

View File

@@ -0,0 +1,128 @@
/*
* 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/emr/model/DescribeDiskOpsActivityRequest.h>
using AlibabaCloud::Emr::Model::DescribeDiskOpsActivityRequest;
DescribeDiskOpsActivityRequest::DescribeDiskOpsActivityRequest() :
RpcServiceRequest("emr", "2016-04-08", "DescribeDiskOpsActivity")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDiskOpsActivityRequest::~DescribeDiskOpsActivityRequest()
{}
std::string DescribeDiskOpsActivityRequest::getEventId()const
{
return eventId_;
}
void DescribeDiskOpsActivityRequest::setEventId(const std::string& eventId)
{
eventId_ = eventId;
setParameter("EventId", eventId);
}
long DescribeDiskOpsActivityRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeDiskOpsActivityRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeDiskOpsActivityRequest::getCurrentStage()const
{
return currentStage_;
}
void DescribeDiskOpsActivityRequest::setCurrentStage(const std::string& currentStage)
{
currentStage_ = currentStage;
setParameter("CurrentStage", currentStage);
}
std::string DescribeDiskOpsActivityRequest::getClusterId()const
{
return clusterId_;
}
void DescribeDiskOpsActivityRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string DescribeDiskOpsActivityRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeDiskOpsActivityRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DescribeDiskOpsActivityRequest::getInstanceId()const
{
return instanceId_;
}
void DescribeDiskOpsActivityRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}
std::string DescribeDiskOpsActivityRequest::getRegionId()const
{
return regionId_;
}
void DescribeDiskOpsActivityRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DescribeDiskOpsActivityRequest::getDiskId()const
{
return diskId_;
}
void DescribeDiskOpsActivityRequest::setDiskId(const std::string& diskId)
{
diskId_ = diskId;
setParameter("DiskId", diskId);
}
std::string DescribeDiskOpsActivityRequest::getCurrentState()const
{
return currentState_;
}
void DescribeDiskOpsActivityRequest::setCurrentState(const std::string& currentState)
{
currentState_ = currentState;
setParameter("CurrentState", currentState);
}

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/emr/model/DescribeDiskOpsActivityResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Emr;
using namespace AlibabaCloud::Emr::Model;
DescribeDiskOpsActivityResult::DescribeDiskOpsActivityResult() :
ServiceResult()
{}
DescribeDiskOpsActivityResult::DescribeDiskOpsActivityResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDiskOpsActivityResult::~DescribeDiskOpsActivityResult()
{}
void DescribeDiskOpsActivityResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ClusterType"].isNull())
clusterType_ = value["ClusterType"].asString();
if(!value["CurrentActivity"].isNull())
currentActivity_ = value["CurrentActivity"].asString();
if(!value["ActivityState"].isNull())
activityState_ = value["ActivityState"].asString();
if(!value["ErrorMessage"].isNull())
errorMessage_ = value["ErrorMessage"].asString();
if(!value["NeedReboot"].isNull())
needReboot_ = value["NeedReboot"].asString() == "true";
}
std::string DescribeDiskOpsActivityResult::getActivityState()const
{
return activityState_;
}
std::string DescribeDiskOpsActivityResult::getCurrentActivity()const
{
return currentActivity_;
}
std::string DescribeDiskOpsActivityResult::getClusterType()const
{
return clusterType_;
}
bool DescribeDiskOpsActivityResult::getNeedReboot()const
{
return needReboot_;
}
std::string DescribeDiskOpsActivityResult::getErrorMessage()const
{
return errorMessage_;
}

View File

@@ -14,60 +14,60 @@
* limitations under the License.
*/
#include <alibabacloud/emr/model/ListJobInstanceWorkersRequest.h>
#include <alibabacloud/emr/model/DescribeEmrMainVersionRequest.h>
using AlibabaCloud::Emr::Model::ListJobInstanceWorkersRequest;
using AlibabaCloud::Emr::Model::DescribeEmrMainVersionRequest;
ListJobInstanceWorkersRequest::ListJobInstanceWorkersRequest() :
RpcServiceRequest("emr", "2016-04-08", "ListJobInstanceWorkers")
DescribeEmrMainVersionRequest::DescribeEmrMainVersionRequest() :
RpcServiceRequest("emr", "2016-04-08", "DescribeEmrMainVersion")
{
setMethod(HttpRequest::Method::Post);
}
ListJobInstanceWorkersRequest::~ListJobInstanceWorkersRequest()
DescribeEmrMainVersionRequest::~DescribeEmrMainVersionRequest()
{}
long ListJobInstanceWorkersRequest::getResourceOwnerId()const
long DescribeEmrMainVersionRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void ListJobInstanceWorkersRequest::setResourceOwnerId(long resourceOwnerId)
void DescribeEmrMainVersionRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string ListJobInstanceWorkersRequest::getAccessKeyId()const
std::string DescribeEmrMainVersionRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ListJobInstanceWorkersRequest::setAccessKeyId(const std::string& accessKeyId)
void DescribeEmrMainVersionRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string ListJobInstanceWorkersRequest::getRegionId()const
std::string DescribeEmrMainVersionRequest::getRegionId()const
{
return regionId_;
}
void ListJobInstanceWorkersRequest::setRegionId(const std::string& regionId)
void DescribeEmrMainVersionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string ListJobInstanceWorkersRequest::getJobInstanceId()const
std::string DescribeEmrMainVersionRequest::getEmrVersion()const
{
return jobInstanceId_;
return emrVersion_;
}
void ListJobInstanceWorkersRequest::setJobInstanceId(const std::string& jobInstanceId)
void DescribeEmrMainVersionRequest::setEmrVersion(const std::string& emrVersion)
{
jobInstanceId_ = jobInstanceId;
setParameter("JobInstanceId", jobInstanceId);
emrVersion_ = emrVersion;
setParameter("EmrVersion", emrVersion);
}

View File

@@ -0,0 +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.
*/
#include <alibabacloud/emr/model/DescribeEmrMainVersionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Emr;
using namespace AlibabaCloud::Emr::Model;
DescribeEmrMainVersionResult::DescribeEmrMainVersionResult() :
ServiceResult()
{}
DescribeEmrMainVersionResult::DescribeEmrMainVersionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeEmrMainVersionResult::~DescribeEmrMainVersionResult()
{}
void DescribeEmrMainVersionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto emrMainVersionNode = value["EmrMainVersion"];
if(!emrMainVersionNode["RegionId"].isNull())
emrMainVersion_.regionId = emrMainVersionNode["RegionId"].asString();
if(!emrMainVersionNode["EmrVersion"].isNull())
emrMainVersion_.emrVersion = emrMainVersionNode["EmrVersion"].asString();
if(!emrMainVersionNode["EcmVersion"].isNull())
emrMainVersion_.ecmVersion = emrMainVersionNode["EcmVersion"].asString() == "true";
if(!emrMainVersionNode["ImageId"].isNull())
emrMainVersion_.imageId = emrMainVersionNode["ImageId"].asString();
if(!emrMainVersionNode["Display"].isNull())
emrMainVersion_.display = emrMainVersionNode["Display"].asString() == "true";
if(!emrMainVersionNode["StackName"].isNull())
emrMainVersion_.stackName = emrMainVersionNode["StackName"].asString();
if(!emrMainVersionNode["StackVersion"].isNull())
emrMainVersion_.stackVersion = emrMainVersionNode["StackVersion"].asString();
if(!emrMainVersionNode["PublishType"].isNull())
emrMainVersion_.publishType = emrMainVersionNode["PublishType"].asString();
auto allClusterTypeInfoListNode = emrMainVersionNode["ClusterTypeInfoList"]["ClusterTypeInfo"];
for (auto emrMainVersionNodeClusterTypeInfoListClusterTypeInfo : allClusterTypeInfoListNode)
{
EmrMainVersion::ClusterTypeInfo clusterTypeInfoObject;
if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfo["ClusterType"].isNull())
clusterTypeInfoObject.clusterType = emrMainVersionNodeClusterTypeInfoListClusterTypeInfo["ClusterType"].asString();
auto allServiceInfoListNode = emrMainVersionNodeClusterTypeInfoListClusterTypeInfo["ServiceInfoList"]["ServiceInfo"];
for (auto emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo : allServiceInfoListNode)
{
EmrMainVersion::ClusterTypeInfo::ServiceInfo serviceInfoListObject;
if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceName"].isNull())
serviceInfoListObject.serviceName = emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceName"].asString();
if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceDisplayName"].isNull())
serviceInfoListObject.serviceDisplayName = emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceDisplayName"].asString();
if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceVersion"].isNull())
serviceInfoListObject.serviceVersion = emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceVersion"].asString();
if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceDisplayVersion"].isNull())
serviceInfoListObject.serviceDisplayVersion = emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceDisplayVersion"].asString();
if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["Mandatory"].isNull())
serviceInfoListObject.mandatory = emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["Mandatory"].asString() == "true";
if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["Display"].isNull())
serviceInfoListObject.display = emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["Display"].asString() == "true";
clusterTypeInfoObject.serviceInfoList.push_back(serviceInfoListObject);
}
emrMainVersion_.clusterTypeInfoList.push_back(clusterTypeInfoObject);
}
auto allClusterTypeWhiteUserListNode = emrMainVersionNode["ClusterTypeWhiteUserList"]["ClusterTypeWhiteUser"];
for (auto emrMainVersionNodeClusterTypeWhiteUserListClusterTypeWhiteUser : allClusterTypeWhiteUserListNode)
{
EmrMainVersion::ClusterTypeWhiteUser clusterTypeWhiteUserObject;
if(!emrMainVersionNodeClusterTypeWhiteUserListClusterTypeWhiteUser["ClusterType"].isNull())
clusterTypeWhiteUserObject.clusterType = emrMainVersionNodeClusterTypeWhiteUserListClusterTypeWhiteUser["ClusterType"].asString();
if(!emrMainVersionNodeClusterTypeWhiteUserListClusterTypeWhiteUser["UserId"].isNull())
clusterTypeWhiteUserObject.userId = emrMainVersionNodeClusterTypeWhiteUserListClusterTypeWhiteUser["UserId"].asString();
emrMainVersion_.clusterTypeWhiteUserList.push_back(clusterTypeWhiteUserObject);
}
auto allWhiteUserList = emrMainVersionNode["WhiteUserList"]["WwhiteUser"];
for (auto value : allWhiteUserList)
emrMainVersion_.whiteUserList.push_back(value.asString());
}
DescribeEmrMainVersionResult::EmrMainVersion DescribeEmrMainVersionResult::getEmrMainVersion()const
{
return emrMainVersion_;
}

View File

@@ -1,84 +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/emr/model/DescribeFlowAgentTokenRequest.h>
using AlibabaCloud::Emr::Model::DescribeFlowAgentTokenRequest;
DescribeFlowAgentTokenRequest::DescribeFlowAgentTokenRequest() :
RpcServiceRequest("emr", "2016-04-08", "DescribeFlowAgentToken")
{
setMethod(HttpRequest::Method::Post);
}
DescribeFlowAgentTokenRequest::~DescribeFlowAgentTokenRequest()
{}
long DescribeFlowAgentTokenRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeFlowAgentTokenRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeFlowAgentTokenRequest::getClusterBizId()const
{
return clusterBizId_;
}
void DescribeFlowAgentTokenRequest::setClusterBizId(const std::string& clusterBizId)
{
clusterBizId_ = clusterBizId;
setParameter("ClusterBizId", clusterBizId);
}
std::string DescribeFlowAgentTokenRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeFlowAgentTokenRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DescribeFlowAgentTokenRequest::getRegionId()const
{
return regionId_;
}
void DescribeFlowAgentTokenRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DescribeFlowAgentTokenRequest::getInnerIP()const
{
return innerIP_;
}
void DescribeFlowAgentTokenRequest::setInnerIP(const std::string& innerIP)
{
innerIP_ = innerIP;
setParameter("InnerIP", innerIP);
}

View File

@@ -1,84 +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/emr/model/DescribeFlowAgentUserRequest.h>
using AlibabaCloud::Emr::Model::DescribeFlowAgentUserRequest;
DescribeFlowAgentUserRequest::DescribeFlowAgentUserRequest() :
RpcServiceRequest("emr", "2016-04-08", "DescribeFlowAgentUser")
{
setMethod(HttpRequest::Method::Post);
}
DescribeFlowAgentUserRequest::~DescribeFlowAgentUserRequest()
{}
long DescribeFlowAgentUserRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeFlowAgentUserRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DescribeFlowAgentUserRequest::getClusterBizId()const
{
return clusterBizId_;
}
void DescribeFlowAgentUserRequest::setClusterBizId(const std::string& clusterBizId)
{
clusterBizId_ = clusterBizId;
setParameter("ClusterBizId", clusterBizId);
}
std::string DescribeFlowAgentUserRequest::getUserId()const
{
return userId_;
}
void DescribeFlowAgentUserRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setParameter("UserId", userId);
}
std::string DescribeFlowAgentUserRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeFlowAgentUserRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DescribeFlowAgentUserRequest::getRegionId()const
{
return regionId_;
}
void DescribeFlowAgentUserRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

@@ -1,194 +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/emr/model/DescribeFlowEntitySnapshotRequest.h>
using AlibabaCloud::Emr::Model::DescribeFlowEntitySnapshotRequest;
DescribeFlowEntitySnapshotRequest::DescribeFlowEntitySnapshotRequest() :
RpcServiceRequest("emr", "2016-04-08", "DescribeFlowEntitySnapshot")
{
setMethod(HttpRequest::Method::Post);
}
DescribeFlowEntitySnapshotRequest::~DescribeFlowEntitySnapshotRequest()
{}
long DescribeFlowEntitySnapshotRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DescribeFlowEntitySnapshotRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
int DescribeFlowEntitySnapshotRequest::getPageCount()const
{
return pageCount_;
}
void DescribeFlowEntitySnapshotRequest::setPageCount(int pageCount)
{
pageCount_ = pageCount;
setParameter("PageCount", std::to_string(pageCount));
}
std::string DescribeFlowEntitySnapshotRequest::getOrderMode()const
{
return orderMode_;
}
void DescribeFlowEntitySnapshotRequest::setOrderMode(const std::string& orderMode)
{
orderMode_ = orderMode;
setParameter("OrderMode", orderMode);
}
std::string DescribeFlowEntitySnapshotRequest::getEntityId()const
{
return entityId_;
}
void DescribeFlowEntitySnapshotRequest::setEntityId(const std::string& entityId)
{
entityId_ = entityId;
setParameter("EntityId", entityId);
}
int DescribeFlowEntitySnapshotRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeFlowEntitySnapshotRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string DescribeFlowEntitySnapshotRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DescribeFlowEntitySnapshotRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DescribeFlowEntitySnapshotRequest::getRegionId()const
{
return regionId_;
}
void DescribeFlowEntitySnapshotRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
int DescribeFlowEntitySnapshotRequest::getLimit()const
{
return limit_;
}
void DescribeFlowEntitySnapshotRequest::setLimit(int limit)
{
limit_ = limit;
setParameter("Limit", std::to_string(limit));
}
int DescribeFlowEntitySnapshotRequest::getPageSize()const
{
return pageSize_;
}
void DescribeFlowEntitySnapshotRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeFlowEntitySnapshotRequest::getCommitterId()const
{
return committerId_;
}
void DescribeFlowEntitySnapshotRequest::setCommitterId(const std::string& committerId)
{
committerId_ = committerId;
setParameter("CommitterId", committerId);
}
int DescribeFlowEntitySnapshotRequest::getCurrentSize()const
{
return currentSize_;
}
void DescribeFlowEntitySnapshotRequest::setCurrentSize(int currentSize)
{
currentSize_ = currentSize;
setParameter("CurrentSize", std::to_string(currentSize));
}
std::string DescribeFlowEntitySnapshotRequest::getOrderField()const
{
return orderField_;
}
void DescribeFlowEntitySnapshotRequest::setOrderField(const std::string& orderField)
{
orderField_ = orderField;
setParameter("OrderField", orderField);
}
std::string DescribeFlowEntitySnapshotRequest::getEntityGroupId()const
{
return entityGroupId_;
}
void DescribeFlowEntitySnapshotRequest::setEntityGroupId(const std::string& entityGroupId)
{
entityGroupId_ = entityGroupId;
setParameter("EntityGroupId", entityGroupId);
}
std::string DescribeFlowEntitySnapshotRequest::getRevision()const
{
return revision_;
}
void DescribeFlowEntitySnapshotRequest::setRevision(const std::string& revision)
{
revision_ = revision;
setParameter("Revision", revision);
}
std::string DescribeFlowEntitySnapshotRequest::getEntityType()const
{
return entityType_;
}
void DescribeFlowEntitySnapshotRequest::setEntityType(const std::string& entityType)
{
entityType_ = entityType;
setParameter("EntityType", entityType);
}

View File

@@ -1,114 +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/emr/model/DescribeFlowEntitySnapshotResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Emr;
using namespace AlibabaCloud::Emr::Model;
DescribeFlowEntitySnapshotResult::DescribeFlowEntitySnapshotResult() :
ServiceResult()
{}
DescribeFlowEntitySnapshotResult::DescribeFlowEntitySnapshotResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeFlowEntitySnapshotResult::~DescribeFlowEntitySnapshotResult()
{}
void DescribeFlowEntitySnapshotResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["GmtCreate"].isNull())
gmtCreate_ = std::stol(value["GmtCreate"].asString());
if(!value["Revision"].isNull())
revision_ = value["Revision"].asString();
if(!value["UserId"].isNull())
userId_ = value["UserId"].asString();
if(!value["CommitterId"].isNull())
committerId_ = value["CommitterId"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["EntityId"].isNull())
entityId_ = value["EntityId"].asString();
if(!value["EntityGroupId"].isNull())
entityGroupId_ = value["EntityGroupId"].asString();
if(!value["EntityType"].isNull())
entityType_ = value["EntityType"].asString();
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Active"].isNull())
active_ = value["Active"].asString() == "true";
}
std::string DescribeFlowEntitySnapshotResult::getEntityId()const
{
return entityId_;
}
std::string DescribeFlowEntitySnapshotResult::getEntityType()const
{
return entityType_;
}
long DescribeFlowEntitySnapshotResult::getGmtCreate()const
{
return gmtCreate_;
}
bool DescribeFlowEntitySnapshotResult::getActive()const
{
return active_;
}
std::string DescribeFlowEntitySnapshotResult::getRevision()const
{
return revision_;
}
std::string DescribeFlowEntitySnapshotResult::getMessage()const
{
return message_;
}
std::string DescribeFlowEntitySnapshotResult::getUserId()const
{
return userId_;
}
std::string DescribeFlowEntitySnapshotResult::getData()const
{
return data_;
}
std::string DescribeFlowEntitySnapshotResult::getEntityGroupId()const
{
return entityGroupId_;
}
std::string DescribeFlowEntitySnapshotResult::getCommitterId()const
{
return committerId_;
}

View File

@@ -1,106 +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/emr/model/DiffFlowEntitySnapshotRequest.h>
using AlibabaCloud::Emr::Model::DiffFlowEntitySnapshotRequest;
DiffFlowEntitySnapshotRequest::DiffFlowEntitySnapshotRequest() :
RpcServiceRequest("emr", "2016-04-08", "DiffFlowEntitySnapshot")
{
setMethod(HttpRequest::Method::Post);
}
DiffFlowEntitySnapshotRequest::~DiffFlowEntitySnapshotRequest()
{}
long DiffFlowEntitySnapshotRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DiffFlowEntitySnapshotRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string DiffFlowEntitySnapshotRequest::getSrcRevision()const
{
return srcRevision_;
}
void DiffFlowEntitySnapshotRequest::setSrcRevision(const std::string& srcRevision)
{
srcRevision_ = srcRevision;
setParameter("SrcRevision", srcRevision);
}
std::string DiffFlowEntitySnapshotRequest::getEntityId()const
{
return entityId_;
}
void DiffFlowEntitySnapshotRequest::setEntityId(const std::string& entityId)
{
entityId_ = entityId;
setParameter("EntityId", entityId);
}
std::string DiffFlowEntitySnapshotRequest::getDstRevision()const
{
return dstRevision_;
}
void DiffFlowEntitySnapshotRequest::setDstRevision(const std::string& dstRevision)
{
dstRevision_ = dstRevision;
setParameter("DstRevision", dstRevision);
}
std::string DiffFlowEntitySnapshotRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DiffFlowEntitySnapshotRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string DiffFlowEntitySnapshotRequest::getEntityType()const
{
return entityType_;
}
void DiffFlowEntitySnapshotRequest::setEntityType(const std::string& entityType)
{
entityType_ = entityType;
setParameter("EntityType", entityType);
}
std::string DiffFlowEntitySnapshotRequest::getRegionId()const
{
return regionId_;
}
void DiffFlowEntitySnapshotRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

@@ -1,152 +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/emr/model/DumpMetaDataSourceForOuterRequest.h>
using AlibabaCloud::Emr::Model::DumpMetaDataSourceForOuterRequest;
DumpMetaDataSourceForOuterRequest::DumpMetaDataSourceForOuterRequest() :
RpcServiceRequest("emr", "2016-04-08", "DumpMetaDataSourceForOuter")
{
setMethod(HttpRequest::Method::Post);
}
DumpMetaDataSourceForOuterRequest::~DumpMetaDataSourceForOuterRequest()
{}
long DumpMetaDataSourceForOuterRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void DumpMetaDataSourceForOuterRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
bool DumpMetaDataSourceForOuterRequest::getDumpAllDatabase()const
{
return dumpAllDatabase_;
}
void DumpMetaDataSourceForOuterRequest::setDumpAllDatabase(bool dumpAllDatabase)
{
dumpAllDatabase_ = dumpAllDatabase;
setParameter("DumpAllDatabase", dumpAllDatabase ? "true" : "false");
}
int DumpMetaDataSourceForOuterRequest::getDumpLimit()const
{
return dumpLimit_;
}
void DumpMetaDataSourceForOuterRequest::setDumpLimit(int dumpLimit)
{
dumpLimit_ = dumpLimit;
setParameter("DumpLimit", std::to_string(dumpLimit));
}
std::string DumpMetaDataSourceForOuterRequest::getClusterId()const
{
return clusterId_;
}
void DumpMetaDataSourceForOuterRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string DumpMetaDataSourceForOuterRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void DumpMetaDataSourceForOuterRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
bool DumpMetaDataSourceForOuterRequest::getDumpAllTable()const
{
return dumpAllTable_;
}
void DumpMetaDataSourceForOuterRequest::setDumpAllTable(bool dumpAllTable)
{
dumpAllTable_ = dumpAllTable;
setParameter("DumpAllTable", dumpAllTable ? "true" : "false");
}
std::string DumpMetaDataSourceForOuterRequest::getRegionId()const
{
return regionId_;
}
void DumpMetaDataSourceForOuterRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::vector<std::string> DumpMetaDataSourceForOuterRequest::getPartitionValues()const
{
return partitionValues_;
}
void DumpMetaDataSourceForOuterRequest::setPartitionValues(const std::vector<std::string>& partitionValues)
{
partitionValues_ = partitionValues;
for(int dep1 = 0; dep1!= partitionValues.size(); dep1++) {
setParameter("PartitionValues."+ std::to_string(dep1), partitionValues.at(dep1));
}
}
std::string DumpMetaDataSourceForOuterRequest::getTableId()const
{
return tableId_;
}
void DumpMetaDataSourceForOuterRequest::setTableId(const std::string& tableId)
{
tableId_ = tableId;
setParameter("TableId", tableId);
}
std::string DumpMetaDataSourceForOuterRequest::getDatabaseId()const
{
return databaseId_;
}
void DumpMetaDataSourceForOuterRequest::setDatabaseId(const std::string& databaseId)
{
databaseId_ = databaseId;
setParameter("DatabaseId", databaseId);
}
bool DumpMetaDataSourceForOuterRequest::getDumpAllPartition()const
{
return dumpAllPartition_;
}
void DumpMetaDataSourceForOuterRequest::setDumpAllPartition(bool dumpAllPartition)
{
dumpAllPartition_ = dumpAllPartition;
setParameter("DumpAllPartition", dumpAllPartition ? "true" : "false");
}

View File

@@ -1,194 +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/emr/model/GetFlowEntityRelationGraphRequest.h>
using AlibabaCloud::Emr::Model::GetFlowEntityRelationGraphRequest;
GetFlowEntityRelationGraphRequest::GetFlowEntityRelationGraphRequest() :
RpcServiceRequest("emr", "2016-04-08", "GetFlowEntityRelationGraph")
{
setMethod(HttpRequest::Method::Post);
}
GetFlowEntityRelationGraphRequest::~GetFlowEntityRelationGraphRequest()
{}
long GetFlowEntityRelationGraphRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void GetFlowEntityRelationGraphRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
int GetFlowEntityRelationGraphRequest::getPageCount()const
{
return pageCount_;
}
void GetFlowEntityRelationGraphRequest::setPageCount(int pageCount)
{
pageCount_ = pageCount;
setParameter("PageCount", std::to_string(pageCount));
}
std::string GetFlowEntityRelationGraphRequest::getOrderMode()const
{
return orderMode_;
}
void GetFlowEntityRelationGraphRequest::setOrderMode(const std::string& orderMode)
{
orderMode_ = orderMode;
setParameter("OrderMode", orderMode);
}
std::string GetFlowEntityRelationGraphRequest::getEntityId()const
{
return entityId_;
}
void GetFlowEntityRelationGraphRequest::setEntityId(const std::string& entityId)
{
entityId_ = entityId;
setParameter("EntityId", entityId);
}
int GetFlowEntityRelationGraphRequest::getPageNumber()const
{
return pageNumber_;
}
void GetFlowEntityRelationGraphRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string GetFlowEntityRelationGraphRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetFlowEntityRelationGraphRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string GetFlowEntityRelationGraphRequest::getRegionId()const
{
return regionId_;
}
void GetFlowEntityRelationGraphRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
int GetFlowEntityRelationGraphRequest::getLimit()const
{
return limit_;
}
void GetFlowEntityRelationGraphRequest::setLimit(int limit)
{
limit_ = limit;
setParameter("Limit", std::to_string(limit));
}
int GetFlowEntityRelationGraphRequest::getPageSize()const
{
return pageSize_;
}
void GetFlowEntityRelationGraphRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string GetFlowEntityRelationGraphRequest::getRelationship()const
{
return relationship_;
}
void GetFlowEntityRelationGraphRequest::setRelationship(const std::string& relationship)
{
relationship_ = relationship;
setParameter("Relationship", relationship);
}
int GetFlowEntityRelationGraphRequest::getCurrentSize()const
{
return currentSize_;
}
void GetFlowEntityRelationGraphRequest::setCurrentSize(int currentSize)
{
currentSize_ = currentSize;
setParameter("CurrentSize", std::to_string(currentSize));
}
std::string GetFlowEntityRelationGraphRequest::getOrderField()const
{
return orderField_;
}
void GetFlowEntityRelationGraphRequest::setOrderField(const std::string& orderField)
{
orderField_ = orderField;
setParameter("OrderField", orderField);
}
std::string GetFlowEntityRelationGraphRequest::getDirection()const
{
return direction_;
}
void GetFlowEntityRelationGraphRequest::setDirection(const std::string& direction)
{
direction_ = direction;
setParameter("Direction", direction);
}
std::string GetFlowEntityRelationGraphRequest::getEntityGroupId()const
{
return entityGroupId_;
}
void GetFlowEntityRelationGraphRequest::setEntityGroupId(const std::string& entityGroupId)
{
entityGroupId_ = entityGroupId;
setParameter("EntityGroupId", entityGroupId);
}
std::string GetFlowEntityRelationGraphRequest::getEntityType()const
{
return entityType_;
}
void GetFlowEntityRelationGraphRequest::setEntityType(const std::string& entityType)
{
entityType_ = entityType;
setParameter("EntityType", entityType);
}

Some files were not shown because too many files have changed in this diff Show More