Generate SDK by new Generator

This commit is contained in:
wb-hx510875
2019-09-18 11:18:56 +08:00
parent be86048a76
commit f3eaf1d292
9054 changed files with 325898 additions and 381375 deletions

View File

@@ -22,30 +22,30 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "FnfExport.h"
#include "model/UpdateFlowRequest.h"
#include "model/UpdateFlowResult.h"
#include "model/DeleteFlowRequest.h"
#include "model/DeleteFlowResult.h"
#include "model/CreateFlowRequest.h"
#include "model/CreateFlowResult.h"
#include "model/DeleteFlowRequest.h"
#include "model/DeleteFlowResult.h"
#include "model/DescribeExecutionRequest.h"
#include "model/DescribeExecutionResult.h"
#include "model/ReportTaskFailedRequest.h"
#include "model/ReportTaskFailedResult.h"
#include "model/DescribeFlowRequest.h"
#include "model/DescribeFlowResult.h"
#include "model/StopExecutionRequest.h"
#include "model/StopExecutionResult.h"
#include "model/StartExecutionRequest.h"
#include "model/StartExecutionResult.h"
#include "model/GetExecutionHistoryRequest.h"
#include "model/GetExecutionHistoryResult.h"
#include "model/ListExecutionsRequest.h"
#include "model/ListExecutionsResult.h"
#include "model/ReportTaskSucceededRequest.h"
#include "model/ReportTaskSucceededResult.h"
#include "model/ListFlowsRequest.h"
#include "model/ListFlowsResult.h"
#include "model/ReportTaskFailedRequest.h"
#include "model/ReportTaskFailedResult.h"
#include "model/ReportTaskSucceededRequest.h"
#include "model/ReportTaskSucceededResult.h"
#include "model/StartExecutionRequest.h"
#include "model/StartExecutionResult.h"
#include "model/StopExecutionRequest.h"
#include "model/StopExecutionResult.h"
#include "model/UpdateFlowRequest.h"
#include "model/UpdateFlowResult.h"
namespace AlibabaCloud
@@ -55,83 +55,83 @@ namespace AlibabaCloud
class ALIBABACLOUD_FNF_EXPORT FnfClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::UpdateFlowResult> UpdateFlowOutcome;
typedef std::future<UpdateFlowOutcome> UpdateFlowOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::UpdateFlowRequest&, const UpdateFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateFlowAsyncHandler;
typedef Outcome<Error, Model::DeleteFlowResult> DeleteFlowOutcome;
typedef std::future<DeleteFlowOutcome> DeleteFlowOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::DeleteFlowRequest&, const DeleteFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFlowAsyncHandler;
typedef Outcome<Error, Model::CreateFlowResult> CreateFlowOutcome;
typedef std::future<CreateFlowOutcome> CreateFlowOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::CreateFlowRequest&, const CreateFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFlowAsyncHandler;
typedef Outcome<Error, Model::DeleteFlowResult> DeleteFlowOutcome;
typedef std::future<DeleteFlowOutcome> DeleteFlowOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::DeleteFlowRequest&, const DeleteFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFlowAsyncHandler;
typedef Outcome<Error, Model::DescribeExecutionResult> DescribeExecutionOutcome;
typedef std::future<DescribeExecutionOutcome> DescribeExecutionOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::DescribeExecutionRequest&, const DescribeExecutionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeExecutionAsyncHandler;
typedef Outcome<Error, Model::ReportTaskFailedResult> ReportTaskFailedOutcome;
typedef std::future<ReportTaskFailedOutcome> ReportTaskFailedOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::ReportTaskFailedRequest&, const ReportTaskFailedOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReportTaskFailedAsyncHandler;
typedef Outcome<Error, Model::DescribeFlowResult> DescribeFlowOutcome;
typedef std::future<DescribeFlowOutcome> DescribeFlowOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::DescribeFlowRequest&, const DescribeFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFlowAsyncHandler;
typedef Outcome<Error, Model::StopExecutionResult> StopExecutionOutcome;
typedef std::future<StopExecutionOutcome> StopExecutionOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::StopExecutionRequest&, const StopExecutionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopExecutionAsyncHandler;
typedef Outcome<Error, Model::StartExecutionResult> StartExecutionOutcome;
typedef std::future<StartExecutionOutcome> StartExecutionOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::StartExecutionRequest&, const StartExecutionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartExecutionAsyncHandler;
typedef Outcome<Error, Model::GetExecutionHistoryResult> GetExecutionHistoryOutcome;
typedef std::future<GetExecutionHistoryOutcome> GetExecutionHistoryOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::GetExecutionHistoryRequest&, const GetExecutionHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetExecutionHistoryAsyncHandler;
typedef Outcome<Error, Model::ListExecutionsResult> ListExecutionsOutcome;
typedef std::future<ListExecutionsOutcome> ListExecutionsOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::ListExecutionsRequest&, const ListExecutionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListExecutionsAsyncHandler;
typedef Outcome<Error, Model::ReportTaskSucceededResult> ReportTaskSucceededOutcome;
typedef std::future<ReportTaskSucceededOutcome> ReportTaskSucceededOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::ReportTaskSucceededRequest&, const ReportTaskSucceededOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReportTaskSucceededAsyncHandler;
typedef Outcome<Error, Model::ListFlowsResult> ListFlowsOutcome;
typedef std::future<ListFlowsOutcome> ListFlowsOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::ListFlowsRequest&, const ListFlowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFlowsAsyncHandler;
typedef Outcome<Error, Model::ReportTaskFailedResult> ReportTaskFailedOutcome;
typedef std::future<ReportTaskFailedOutcome> ReportTaskFailedOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::ReportTaskFailedRequest&, const ReportTaskFailedOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReportTaskFailedAsyncHandler;
typedef Outcome<Error, Model::ReportTaskSucceededResult> ReportTaskSucceededOutcome;
typedef std::future<ReportTaskSucceededOutcome> ReportTaskSucceededOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::ReportTaskSucceededRequest&, const ReportTaskSucceededOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReportTaskSucceededAsyncHandler;
typedef Outcome<Error, Model::StartExecutionResult> StartExecutionOutcome;
typedef std::future<StartExecutionOutcome> StartExecutionOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::StartExecutionRequest&, const StartExecutionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartExecutionAsyncHandler;
typedef Outcome<Error, Model::StopExecutionResult> StopExecutionOutcome;
typedef std::future<StopExecutionOutcome> StopExecutionOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::StopExecutionRequest&, const StopExecutionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopExecutionAsyncHandler;
typedef Outcome<Error, Model::UpdateFlowResult> UpdateFlowOutcome;
typedef std::future<UpdateFlowOutcome> UpdateFlowOutcomeCallable;
typedef std::function<void(const FnfClient*, const Model::UpdateFlowRequest&, const UpdateFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateFlowAsyncHandler;
FnfClient(const Credentials &credentials, const ClientConfiguration &configuration);
FnfClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
FnfClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~FnfClient();
UpdateFlowOutcome updateFlow(const Model::UpdateFlowRequest &request)const;
void updateFlowAsync(const Model::UpdateFlowRequest& request, const UpdateFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateFlowOutcomeCallable updateFlowCallable(const Model::UpdateFlowRequest& request) const;
DeleteFlowOutcome deleteFlow(const Model::DeleteFlowRequest &request)const;
void deleteFlowAsync(const Model::DeleteFlowRequest& request, const DeleteFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFlowOutcomeCallable deleteFlowCallable(const Model::DeleteFlowRequest& request) const;
CreateFlowOutcome createFlow(const Model::CreateFlowRequest &request)const;
void createFlowAsync(const Model::CreateFlowRequest& request, const CreateFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateFlowOutcomeCallable createFlowCallable(const Model::CreateFlowRequest& request) const;
DeleteFlowOutcome deleteFlow(const Model::DeleteFlowRequest &request)const;
void deleteFlowAsync(const Model::DeleteFlowRequest& request, const DeleteFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFlowOutcomeCallable deleteFlowCallable(const Model::DeleteFlowRequest& request) const;
DescribeExecutionOutcome describeExecution(const Model::DescribeExecutionRequest &request)const;
void describeExecutionAsync(const Model::DescribeExecutionRequest& request, const DescribeExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeExecutionOutcomeCallable describeExecutionCallable(const Model::DescribeExecutionRequest& request) const;
ReportTaskFailedOutcome reportTaskFailed(const Model::ReportTaskFailedRequest &request)const;
void reportTaskFailedAsync(const Model::ReportTaskFailedRequest& request, const ReportTaskFailedAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReportTaskFailedOutcomeCallable reportTaskFailedCallable(const Model::ReportTaskFailedRequest& 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;
StopExecutionOutcome stopExecution(const Model::StopExecutionRequest &request)const;
void stopExecutionAsync(const Model::StopExecutionRequest& request, const StopExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopExecutionOutcomeCallable stopExecutionCallable(const Model::StopExecutionRequest& request) const;
StartExecutionOutcome startExecution(const Model::StartExecutionRequest &request)const;
void startExecutionAsync(const Model::StartExecutionRequest& request, const StartExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartExecutionOutcomeCallable startExecutionCallable(const Model::StartExecutionRequest& request) const;
GetExecutionHistoryOutcome getExecutionHistory(const Model::GetExecutionHistoryRequest &request)const;
void getExecutionHistoryAsync(const Model::GetExecutionHistoryRequest& request, const GetExecutionHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetExecutionHistoryOutcomeCallable getExecutionHistoryCallable(const Model::GetExecutionHistoryRequest& request) const;
ListExecutionsOutcome listExecutions(const Model::ListExecutionsRequest &request)const;
void listExecutionsAsync(const Model::ListExecutionsRequest& request, const ListExecutionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListExecutionsOutcomeCallable listExecutionsCallable(const Model::ListExecutionsRequest& request) const;
ReportTaskSucceededOutcome reportTaskSucceeded(const Model::ReportTaskSucceededRequest &request)const;
void reportTaskSucceededAsync(const Model::ReportTaskSucceededRequest& request, const ReportTaskSucceededAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReportTaskSucceededOutcomeCallable reportTaskSucceededCallable(const Model::ReportTaskSucceededRequest& request) const;
ListFlowsOutcome listFlows(const Model::ListFlowsRequest &request)const;
void listFlowsAsync(const Model::ListFlowsRequest& request, const ListFlowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFlowsOutcomeCallable listFlowsCallable(const Model::ListFlowsRequest& request) const;
ReportTaskFailedOutcome reportTaskFailed(const Model::ReportTaskFailedRequest &request)const;
void reportTaskFailedAsync(const Model::ReportTaskFailedRequest& request, const ReportTaskFailedAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReportTaskFailedOutcomeCallable reportTaskFailedCallable(const Model::ReportTaskFailedRequest& request) const;
ReportTaskSucceededOutcome reportTaskSucceeded(const Model::ReportTaskSucceededRequest &request)const;
void reportTaskSucceededAsync(const Model::ReportTaskSucceededRequest& request, const ReportTaskSucceededAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReportTaskSucceededOutcomeCallable reportTaskSucceededCallable(const Model::ReportTaskSucceededRequest& request) const;
StartExecutionOutcome startExecution(const Model::StartExecutionRequest &request)const;
void startExecutionAsync(const Model::StartExecutionRequest& request, const StartExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartExecutionOutcomeCallable startExecutionCallable(const Model::StartExecutionRequest& request) const;
StopExecutionOutcome stopExecution(const Model::StopExecutionRequest &request)const;
void stopExecutionAsync(const Model::StopExecutionRequest& request, const StopExecutionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopExecutionOutcomeCallable stopExecutionCallable(const Model::StopExecutionRequest& request) const;
UpdateFlowOutcome updateFlow(const Model::UpdateFlowRequest &request)const;
void updateFlowAsync(const Model::UpdateFlowRequest& request, const UpdateFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateFlowOutcomeCallable updateFlowCallable(const Model::UpdateFlowRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -35,26 +35,26 @@ namespace AlibabaCloud
CreateFlowRequest();
~CreateFlowRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getType()const;
void setType(const std::string& type);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getRoleArn()const;
void setRoleArn(const std::string& roleArn);
std::string getName()const;
void setName(const std::string& name);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getDefinition()const;
void setDefinition(const std::string& definition);
std::string getType()const;
void setType(const std::string& type);
private:
std::string description_;
std::string type_;
std::string requestId_;
std::string roleArn_;
std::string name_;
std::string description_;
std::string definition_;
std::string type_;
};
}

View File

@@ -35,20 +35,20 @@ namespace AlibabaCloud
ReportTaskFailedRequest();
~ReportTaskFailedRequest();
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getCause()const;
void setCause(const std::string& cause);
std::string getTaskToken()const;
void setTaskToken(const std::string& taskToken);
std::string getError()const;
void setError(const std::string& error);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getTaskToken()const;
void setTaskToken(const std::string& taskToken);
private:
std::string requestId_;
std::string cause_;
std::string taskToken_;
std::string error_;
std::string requestId_;
std::string taskToken_;
};
}

View File

@@ -35,18 +35,18 @@ namespace AlibabaCloud
StartExecutionRequest();
~StartExecutionRequest();
std::string getInput()const;
void setInput(const std::string& input);
std::string getExecutionName()const;
void setExecutionName(const std::string& executionName);
std::string getInput()const;
void setInput(const std::string& input);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getFlowName()const;
void setFlowName(const std::string& flowName);
private:
std::string input_;
std::string executionName_;
std::string input_;
std::string requestId_;
std::string flowName_;

View File

@@ -37,21 +37,21 @@ namespace AlibabaCloud
std::string getExecutionName()const;
void setExecutionName(const std::string& executionName);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getCause()const;
void setCause(const std::string& cause);
std::string getFlowName()const;
void setFlowName(const std::string& flowName);
std::string getError()const;
void setError(const std::string& error);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getFlowName()const;
void setFlowName(const std::string& flowName);
private:
std::string executionName_;
std::string requestId_;
std::string cause_;
std::string flowName_;
std::string error_;
std::string requestId_;
std::string flowName_;
};
}

View File

@@ -35,26 +35,26 @@ namespace AlibabaCloud
UpdateFlowRequest();
~UpdateFlowRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getType()const;
void setType(const std::string& type);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getRoleArn()const;
void setRoleArn(const std::string& roleArn);
std::string getName()const;
void setName(const std::string& name);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getDefinition()const;
void setDefinition(const std::string& definition);
std::string getType()const;
void setType(const std::string& type);
private:
std::string description_;
std::string type_;
std::string requestId_;
std::string roleArn_;
std::string name_;
std::string description_;
std::string definition_;
std::string type_;
};
}