由谦正发起的EHPC SDK自动发布, 版本号:1.11.0

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2018-05-23 12:30:50 +08:00
parent 02c620b5a5
commit d3de3f8736
108 changed files with 3044 additions and 1563 deletions

View File

@@ -30,6 +30,8 @@
#include "model/ListUsersResult.h"
#include "model/UpgradeClientRequest.h"
#include "model/UpgradeClientResult.h"
#include "model/StopNodesRequest.h"
#include "model/StopNodesResult.h"
#include "model/ListCurrentClientVersionRequest.h"
#include "model/ListCurrentClientVersionResult.h"
#include "model/DeleteClusterRequest.h"
@@ -46,6 +48,8 @@
#include "model/ListSoftwaresResult.h"
#include "model/StopJobsRequest.h"
#include "model/StopJobsResult.h"
#include "model/StartNodesRequest.h"
#include "model/StartNodesResult.h"
#include "model/GetAutoScaleConfigRequest.h"
#include "model/GetAutoScaleConfigResult.h"
#include "model/ListNodesRequest.h"
@@ -54,6 +58,8 @@
#include "model/SetJobUserResult.h"
#include "model/ModifyUserGroupsRequest.h"
#include "model/ModifyUserGroupsResult.h"
#include "model/StartClusterRequest.h"
#include "model/StartClusterResult.h"
#include "model/ListClustersRequest.h"
#include "model/ListClustersResult.h"
#include "model/SubmitJobRequest.h"
@@ -70,6 +76,8 @@
#include "model/ModifyClusterAttributesResult.h"
#include "model/DeleteJobTemplatesRequest.h"
#include "model/DeleteJobTemplatesResult.h"
#include "model/StopClusterRequest.h"
#include "model/StopClusterResult.h"
#include "model/ListNodesNoPagingRequest.h"
#include "model/ListNodesNoPagingResult.h"
#include "model/CreateJobTemplateRequest.h"
@@ -84,6 +92,8 @@
#include "model/ListPreferredEcsTypesResult.h"
#include "model/ListClusterLogsRequest.h"
#include "model/ListClusterLogsResult.h"
#include "model/RecoverClusterRequest.h"
#include "model/RecoverClusterResult.h"
#include "model/DeleteJobsRequest.h"
#include "model/DeleteJobsResult.h"
#include "model/DeleteNodesRequest.h"
@@ -103,227 +113,257 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT EHPCClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::DeleteUsersResult> DeleteUsersOutcome;
typedef std::future<DeleteUsersOutcome> DeleteUsersOutcomeCallable;
typedef Outcome<Error, Model::DeleteUsersResult> DeleteUsersOutcome;
typedef std::future<DeleteUsersOutcome> DeleteUsersOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DeleteUsersRequest&, const DeleteUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUsersAsyncHandler;
typedef Outcome<Error, Model::DescribeClusterResult> DescribeClusterOutcome;
typedef std::future<DescribeClusterOutcome> DescribeClusterOutcomeCallable;
typedef Outcome<Error, Model::DescribeClusterResult> DescribeClusterOutcome;
typedef std::future<DescribeClusterOutcome> DescribeClusterOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DescribeClusterRequest&, const DescribeClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterAsyncHandler;
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
typedef Outcome<Error, Model::UpgradeClientResult> UpgradeClientOutcome;
typedef std::future<UpgradeClientOutcome> UpgradeClientOutcomeCallable;
typedef Outcome<Error, Model::UpgradeClientResult> UpgradeClientOutcome;
typedef std::future<UpgradeClientOutcome> UpgradeClientOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::UpgradeClientRequest&, const UpgradeClientOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeClientAsyncHandler;
typedef Outcome<Error, Model::ListCurrentClientVersionResult> ListCurrentClientVersionOutcome;
typedef std::future<ListCurrentClientVersionOutcome> ListCurrentClientVersionOutcomeCallable;
typedef Outcome<Error, Model::StopNodesResult> StopNodesOutcome;
typedef std::future<StopNodesOutcome> StopNodesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::StopNodesRequest&, const StopNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopNodesAsyncHandler;
typedef Outcome<Error, Model::ListCurrentClientVersionResult> ListCurrentClientVersionOutcome;
typedef std::future<ListCurrentClientVersionOutcome> ListCurrentClientVersionOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListCurrentClientVersionRequest&, const ListCurrentClientVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCurrentClientVersionAsyncHandler;
typedef Outcome<Error, Model::DeleteClusterResult> DeleteClusterOutcome;
typedef std::future<DeleteClusterOutcome> DeleteClusterOutcomeCallable;
typedef Outcome<Error, Model::DeleteClusterResult> DeleteClusterOutcome;
typedef std::future<DeleteClusterOutcome> DeleteClusterOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DeleteClusterRequest&, const DeleteClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteClusterAsyncHandler;
typedef Outcome<Error, Model::ListImagesResult> ListImagesOutcome;
typedef std::future<ListImagesOutcome> ListImagesOutcomeCallable;
typedef Outcome<Error, Model::ListImagesResult> ListImagesOutcome;
typedef std::future<ListImagesOutcome> ListImagesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListImagesRequest&, const ListImagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListImagesAsyncHandler;
typedef Outcome<Error, Model::SetAutoScaleConfigResult> SetAutoScaleConfigOutcome;
typedef std::future<SetAutoScaleConfigOutcome> SetAutoScaleConfigOutcomeCallable;
typedef Outcome<Error, Model::SetAutoScaleConfigResult> SetAutoScaleConfigOutcome;
typedef std::future<SetAutoScaleConfigOutcome> SetAutoScaleConfigOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::SetAutoScaleConfigRequest&, const SetAutoScaleConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetAutoScaleConfigAsyncHandler;
typedef Outcome<Error, Model::ListVolumesResult> ListVolumesOutcome;
typedef std::future<ListVolumesOutcome> ListVolumesOutcomeCallable;
typedef Outcome<Error, Model::ListVolumesResult> ListVolumesOutcome;
typedef std::future<ListVolumesOutcome> ListVolumesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListVolumesRequest&, const ListVolumesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVolumesAsyncHandler;
typedef Outcome<Error, Model::AddNodesResult> AddNodesOutcome;
typedef std::future<AddNodesOutcome> AddNodesOutcomeCallable;
typedef Outcome<Error, Model::AddNodesResult> AddNodesOutcome;
typedef std::future<AddNodesOutcome> AddNodesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::AddNodesRequest&, const AddNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddNodesAsyncHandler;
typedef Outcome<Error, Model::ListSoftwaresResult> ListSoftwaresOutcome;
typedef std::future<ListSoftwaresOutcome> ListSoftwaresOutcomeCallable;
typedef Outcome<Error, Model::ListSoftwaresResult> ListSoftwaresOutcome;
typedef std::future<ListSoftwaresOutcome> ListSoftwaresOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListSoftwaresRequest&, const ListSoftwaresOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSoftwaresAsyncHandler;
typedef Outcome<Error, Model::StopJobsResult> StopJobsOutcome;
typedef std::future<StopJobsOutcome> StopJobsOutcomeCallable;
typedef Outcome<Error, Model::StopJobsResult> StopJobsOutcome;
typedef std::future<StopJobsOutcome> StopJobsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::StopJobsRequest&, const StopJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopJobsAsyncHandler;
typedef Outcome<Error, Model::GetAutoScaleConfigResult> GetAutoScaleConfigOutcome;
typedef std::future<GetAutoScaleConfigOutcome> GetAutoScaleConfigOutcomeCallable;
typedef Outcome<Error, Model::StartNodesResult> StartNodesOutcome;
typedef std::future<StartNodesOutcome> StartNodesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::StartNodesRequest&, const StartNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartNodesAsyncHandler;
typedef Outcome<Error, Model::GetAutoScaleConfigResult> GetAutoScaleConfigOutcome;
typedef std::future<GetAutoScaleConfigOutcome> GetAutoScaleConfigOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::GetAutoScaleConfigRequest&, const GetAutoScaleConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAutoScaleConfigAsyncHandler;
typedef Outcome<Error, Model::ListNodesResult> ListNodesOutcome;
typedef std::future<ListNodesOutcome> ListNodesOutcomeCallable;
typedef Outcome<Error, Model::ListNodesResult> ListNodesOutcome;
typedef std::future<ListNodesOutcome> ListNodesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListNodesRequest&, const ListNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListNodesAsyncHandler;
typedef Outcome<Error, Model::SetJobUserResult> SetJobUserOutcome;
typedef std::future<SetJobUserOutcome> SetJobUserOutcomeCallable;
typedef Outcome<Error, Model::SetJobUserResult> SetJobUserOutcome;
typedef std::future<SetJobUserOutcome> SetJobUserOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::SetJobUserRequest&, const SetJobUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetJobUserAsyncHandler;
typedef Outcome<Error, Model::ModifyUserGroupsResult> ModifyUserGroupsOutcome;
typedef std::future<ModifyUserGroupsOutcome> ModifyUserGroupsOutcomeCallable;
typedef Outcome<Error, Model::ModifyUserGroupsResult> ModifyUserGroupsOutcome;
typedef std::future<ModifyUserGroupsOutcome> ModifyUserGroupsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ModifyUserGroupsRequest&, const ModifyUserGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyUserGroupsAsyncHandler;
typedef Outcome<Error, Model::ListClustersResult> ListClustersOutcome;
typedef std::future<ListClustersOutcome> ListClustersOutcomeCallable;
typedef Outcome<Error, Model::StartClusterResult> StartClusterOutcome;
typedef std::future<StartClusterOutcome> StartClusterOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::StartClusterRequest&, const StartClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartClusterAsyncHandler;
typedef Outcome<Error, Model::ListClustersResult> ListClustersOutcome;
typedef std::future<ListClustersOutcome> ListClustersOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListClustersRequest&, const ListClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListClustersAsyncHandler;
typedef Outcome<Error, Model::SubmitJobResult> SubmitJobOutcome;
typedef std::future<SubmitJobOutcome> SubmitJobOutcomeCallable;
typedef Outcome<Error, Model::SubmitJobResult> SubmitJobOutcome;
typedef std::future<SubmitJobOutcome> SubmitJobOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::SubmitJobRequest&, const SubmitJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitJobAsyncHandler;
typedef Outcome<Error, Model::ListCustomImagesResult> ListCustomImagesOutcome;
typedef std::future<ListCustomImagesOutcome> ListCustomImagesOutcomeCallable;
typedef Outcome<Error, Model::ListCustomImagesResult> ListCustomImagesOutcome;
typedef std::future<ListCustomImagesOutcome> ListCustomImagesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListCustomImagesRequest&, const ListCustomImagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCustomImagesAsyncHandler;
typedef Outcome<Error, Model::ListRegionsResult> ListRegionsOutcome;
typedef std::future<ListRegionsOutcome> ListRegionsOutcomeCallable;
typedef Outcome<Error, Model::ListRegionsResult> ListRegionsOutcome;
typedef std::future<ListRegionsOutcome> ListRegionsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListRegionsRequest&, const ListRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRegionsAsyncHandler;
typedef Outcome<Error, Model::AddUsersResult> AddUsersOutcome;
typedef std::future<AddUsersOutcome> AddUsersOutcomeCallable;
typedef Outcome<Error, Model::AddUsersResult> AddUsersOutcome;
typedef std::future<AddUsersOutcome> AddUsersOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::AddUsersRequest&, const AddUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddUsersAsyncHandler;
typedef Outcome<Error, Model::ListJobTemplatesResult> ListJobTemplatesOutcome;
typedef std::future<ListJobTemplatesOutcome> ListJobTemplatesOutcomeCallable;
typedef Outcome<Error, Model::ListJobTemplatesResult> ListJobTemplatesOutcome;
typedef std::future<ListJobTemplatesOutcome> ListJobTemplatesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListJobTemplatesRequest&, const ListJobTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobTemplatesAsyncHandler;
typedef Outcome<Error, Model::ModifyClusterAttributesResult> ModifyClusterAttributesOutcome;
typedef std::future<ModifyClusterAttributesOutcome> ModifyClusterAttributesOutcomeCallable;
typedef Outcome<Error, Model::ModifyClusterAttributesResult> ModifyClusterAttributesOutcome;
typedef std::future<ModifyClusterAttributesOutcome> ModifyClusterAttributesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ModifyClusterAttributesRequest&, const ModifyClusterAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyClusterAttributesAsyncHandler;
typedef Outcome<Error, Model::DeleteJobTemplatesResult> DeleteJobTemplatesOutcome;
typedef std::future<DeleteJobTemplatesOutcome> DeleteJobTemplatesOutcomeCallable;
typedef Outcome<Error, Model::DeleteJobTemplatesResult> DeleteJobTemplatesOutcome;
typedef std::future<DeleteJobTemplatesOutcome> DeleteJobTemplatesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DeleteJobTemplatesRequest&, const DeleteJobTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteJobTemplatesAsyncHandler;
typedef Outcome<Error, Model::ListNodesNoPagingResult> ListNodesNoPagingOutcome;
typedef std::future<ListNodesNoPagingOutcome> ListNodesNoPagingOutcomeCallable;
typedef Outcome<Error, Model::StopClusterResult> StopClusterOutcome;
typedef std::future<StopClusterOutcome> StopClusterOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::StopClusterRequest&, const StopClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopClusterAsyncHandler;
typedef Outcome<Error, Model::ListNodesNoPagingResult> ListNodesNoPagingOutcome;
typedef std::future<ListNodesNoPagingOutcome> ListNodesNoPagingOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListNodesNoPagingRequest&, const ListNodesNoPagingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListNodesNoPagingAsyncHandler;
typedef Outcome<Error, Model::CreateJobTemplateResult> CreateJobTemplateOutcome;
typedef std::future<CreateJobTemplateOutcome> CreateJobTemplateOutcomeCallable;
typedef Outcome<Error, Model::CreateJobTemplateResult> CreateJobTemplateOutcome;
typedef std::future<CreateJobTemplateOutcome> CreateJobTemplateOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::CreateJobTemplateRequest&, const CreateJobTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateJobTemplateAsyncHandler;
typedef Outcome<Error, Model::RerunJobsResult> RerunJobsOutcome;
typedef std::future<RerunJobsOutcome> RerunJobsOutcomeCallable;
typedef Outcome<Error, Model::RerunJobsResult> RerunJobsOutcome;
typedef std::future<RerunJobsOutcome> RerunJobsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::RerunJobsRequest&, const RerunJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RerunJobsAsyncHandler;
typedef Outcome<Error, Model::ResetNodesResult> ResetNodesOutcome;
typedef std::future<ResetNodesOutcome> ResetNodesOutcomeCallable;
typedef Outcome<Error, Model::ResetNodesResult> ResetNodesOutcome;
typedef std::future<ResetNodesOutcome> ResetNodesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ResetNodesRequest&, const ResetNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetNodesAsyncHandler;
typedef Outcome<Error, Model::EditJobTemplateResult> EditJobTemplateOutcome;
typedef std::future<EditJobTemplateOutcome> EditJobTemplateOutcomeCallable;
typedef Outcome<Error, Model::EditJobTemplateResult> EditJobTemplateOutcome;
typedef std::future<EditJobTemplateOutcome> EditJobTemplateOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::EditJobTemplateRequest&, const EditJobTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditJobTemplateAsyncHandler;
typedef Outcome<Error, Model::ListPreferredEcsTypesResult> ListPreferredEcsTypesOutcome;
typedef std::future<ListPreferredEcsTypesOutcome> ListPreferredEcsTypesOutcomeCallable;
typedef Outcome<Error, Model::ListPreferredEcsTypesResult> ListPreferredEcsTypesOutcome;
typedef std::future<ListPreferredEcsTypesOutcome> ListPreferredEcsTypesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListPreferredEcsTypesRequest&, const ListPreferredEcsTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPreferredEcsTypesAsyncHandler;
typedef Outcome<Error, Model::ListClusterLogsResult> ListClusterLogsOutcome;
typedef std::future<ListClusterLogsOutcome> ListClusterLogsOutcomeCallable;
typedef Outcome<Error, Model::ListClusterLogsResult> ListClusterLogsOutcome;
typedef std::future<ListClusterLogsOutcome> ListClusterLogsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListClusterLogsRequest&, const ListClusterLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListClusterLogsAsyncHandler;
typedef Outcome<Error, Model::DeleteJobsResult> DeleteJobsOutcome;
typedef std::future<DeleteJobsOutcome> DeleteJobsOutcomeCallable;
typedef Outcome<Error, Model::RecoverClusterResult> RecoverClusterOutcome;
typedef std::future<RecoverClusterOutcome> RecoverClusterOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::RecoverClusterRequest&, const RecoverClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecoverClusterAsyncHandler;
typedef Outcome<Error, Model::DeleteJobsResult> DeleteJobsOutcome;
typedef std::future<DeleteJobsOutcome> DeleteJobsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DeleteJobsRequest&, const DeleteJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteJobsAsyncHandler;
typedef Outcome<Error, Model::DeleteNodesResult> DeleteNodesOutcome;
typedef std::future<DeleteNodesOutcome> DeleteNodesOutcomeCallable;
typedef Outcome<Error, Model::DeleteNodesResult> DeleteNodesOutcome;
typedef std::future<DeleteNodesOutcome> DeleteNodesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DeleteNodesRequest&, const DeleteNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteNodesAsyncHandler;
typedef Outcome<Error, Model::ListJobsResult> ListJobsOutcome;
typedef std::future<ListJobsOutcome> ListJobsOutcomeCallable;
typedef Outcome<Error, Model::ListJobsResult> ListJobsOutcome;
typedef std::future<ListJobsOutcome> ListJobsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListJobsRequest&, const ListJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobsAsyncHandler;
typedef Outcome<Error, Model::CreateClusterResult> CreateClusterOutcome;
typedef std::future<CreateClusterOutcome> CreateClusterOutcomeCallable;
typedef Outcome<Error, Model::CreateClusterResult> CreateClusterOutcome;
typedef std::future<CreateClusterOutcome> CreateClusterOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::CreateClusterRequest&, const CreateClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateClusterAsyncHandler;
typedef Outcome<Error, Model::ModifyUserPasswordsResult> ModifyUserPasswordsOutcome;
typedef std::future<ModifyUserPasswordsOutcome> ModifyUserPasswordsOutcomeCallable;
typedef Outcome<Error, Model::ModifyUserPasswordsResult> ModifyUserPasswordsOutcome;
typedef std::future<ModifyUserPasswordsOutcome> ModifyUserPasswordsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ModifyUserPasswordsRequest&, const ModifyUserPasswordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyUserPasswordsAsyncHandler;
EHPCClient(const Credentials &credentials, const ClientConfiguration &configuration);
EHPCClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
EHPCClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~EHPCClient();
DeleteUsersOutcome deleteUsers(const Model::DeleteUsersRequest &request)const;
void deleteUsersAsync(const Model::DeleteUsersRequest& request, const DeleteUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteUsersOutcomeCallable deleteUsersCallable(const Model::DeleteUsersRequest& request) const;
DescribeClusterOutcome describeCluster(const Model::DescribeClusterRequest &request)const;
void describeClusterAsync(const Model::DescribeClusterRequest& request, const DescribeClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterOutcomeCallable describeClusterCallable(const Model::DescribeClusterRequest& request) const;
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
UpgradeClientOutcome upgradeClient(const Model::UpgradeClientRequest &request)const;
void upgradeClientAsync(const Model::UpgradeClientRequest& request, const UpgradeClientAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpgradeClientOutcomeCallable upgradeClientCallable(const Model::UpgradeClientRequest& request) const;
ListCurrentClientVersionOutcome listCurrentClientVersion(const Model::ListCurrentClientVersionRequest &request)const;
void listCurrentClientVersionAsync(const Model::ListCurrentClientVersionRequest& request, const ListCurrentClientVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCurrentClientVersionOutcomeCallable listCurrentClientVersionCallable(const Model::ListCurrentClientVersionRequest& request) const;
DeleteClusterOutcome deleteCluster(const Model::DeleteClusterRequest &request)const;
void deleteClusterAsync(const Model::DeleteClusterRequest& request, const DeleteClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteClusterOutcomeCallable deleteClusterCallable(const Model::DeleteClusterRequest& request) const;
ListImagesOutcome listImages(const Model::ListImagesRequest &request)const;
void listImagesAsync(const Model::ListImagesRequest& request, const ListImagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListImagesOutcomeCallable listImagesCallable(const Model::ListImagesRequest& request) const;
SetAutoScaleConfigOutcome setAutoScaleConfig(const Model::SetAutoScaleConfigRequest &request)const;
void setAutoScaleConfigAsync(const Model::SetAutoScaleConfigRequest& request, const SetAutoScaleConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetAutoScaleConfigOutcomeCallable setAutoScaleConfigCallable(const Model::SetAutoScaleConfigRequest& request) const;
ListVolumesOutcome listVolumes(const Model::ListVolumesRequest &request)const;
void listVolumesAsync(const Model::ListVolumesRequest& request, const ListVolumesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListVolumesOutcomeCallable listVolumesCallable(const Model::ListVolumesRequest& request) const;
AddNodesOutcome addNodes(const Model::AddNodesRequest &request)const;
void addNodesAsync(const Model::AddNodesRequest& request, const AddNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddNodesOutcomeCallable addNodesCallable(const Model::AddNodesRequest& request) const;
ListSoftwaresOutcome listSoftwares(const Model::ListSoftwaresRequest &request)const;
void listSoftwaresAsync(const Model::ListSoftwaresRequest& request, const ListSoftwaresAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSoftwaresOutcomeCallable listSoftwaresCallable(const Model::ListSoftwaresRequest& request) const;
StopJobsOutcome stopJobs(const Model::StopJobsRequest &request)const;
void stopJobsAsync(const Model::StopJobsRequest& request, const StopJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopJobsOutcomeCallable stopJobsCallable(const Model::StopJobsRequest& request) const;
GetAutoScaleConfigOutcome getAutoScaleConfig(const Model::GetAutoScaleConfigRequest &request)const;
void getAutoScaleConfigAsync(const Model::GetAutoScaleConfigRequest& request, const GetAutoScaleConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAutoScaleConfigOutcomeCallable getAutoScaleConfigCallable(const Model::GetAutoScaleConfigRequest& request) const;
ListNodesOutcome listNodes(const Model::ListNodesRequest &request)const;
void listNodesAsync(const Model::ListNodesRequest& request, const ListNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListNodesOutcomeCallable listNodesCallable(const Model::ListNodesRequest& request) const;
SetJobUserOutcome setJobUser(const Model::SetJobUserRequest &request)const;
void setJobUserAsync(const Model::SetJobUserRequest& request, const SetJobUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetJobUserOutcomeCallable setJobUserCallable(const Model::SetJobUserRequest& request) const;
ModifyUserGroupsOutcome modifyUserGroups(const Model::ModifyUserGroupsRequest &request)const;
void modifyUserGroupsAsync(const Model::ModifyUserGroupsRequest& request, const ModifyUserGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyUserGroupsOutcomeCallable modifyUserGroupsCallable(const Model::ModifyUserGroupsRequest& request) const;
ListClustersOutcome listClusters(const Model::ListClustersRequest &request)const;
void listClustersAsync(const Model::ListClustersRequest& request, const ListClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListClustersOutcomeCallable listClustersCallable(const Model::ListClustersRequest& request) const;
SubmitJobOutcome submitJob(const Model::SubmitJobRequest &request)const;
void submitJobAsync(const Model::SubmitJobRequest& request, const SubmitJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitJobOutcomeCallable submitJobCallable(const Model::SubmitJobRequest& request) const;
ListCustomImagesOutcome listCustomImages(const Model::ListCustomImagesRequest &request)const;
void listCustomImagesAsync(const Model::ListCustomImagesRequest& request, const ListCustomImagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCustomImagesOutcomeCallable listCustomImagesCallable(const Model::ListCustomImagesRequest& request) const;
ListRegionsOutcome listRegions(const Model::ListRegionsRequest &request)const;
void listRegionsAsync(const Model::ListRegionsRequest& request, const ListRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRegionsOutcomeCallable listRegionsCallable(const Model::ListRegionsRequest& request) const;
AddUsersOutcome addUsers(const Model::AddUsersRequest &request)const;
void addUsersAsync(const Model::AddUsersRequest& request, const AddUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddUsersOutcomeCallable addUsersCallable(const Model::AddUsersRequest& request) const;
ListJobTemplatesOutcome listJobTemplates(const Model::ListJobTemplatesRequest &request)const;
void listJobTemplatesAsync(const Model::ListJobTemplatesRequest& request, const ListJobTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListJobTemplatesOutcomeCallable listJobTemplatesCallable(const Model::ListJobTemplatesRequest& request) const;
ModifyClusterAttributesOutcome modifyClusterAttributes(const Model::ModifyClusterAttributesRequest &request)const;
void modifyClusterAttributesAsync(const Model::ModifyClusterAttributesRequest& request, const ModifyClusterAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyClusterAttributesOutcomeCallable modifyClusterAttributesCallable(const Model::ModifyClusterAttributesRequest& request) const;
DeleteJobTemplatesOutcome deleteJobTemplates(const Model::DeleteJobTemplatesRequest &request)const;
void deleteJobTemplatesAsync(const Model::DeleteJobTemplatesRequest& request, const DeleteJobTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteJobTemplatesOutcomeCallable deleteJobTemplatesCallable(const Model::DeleteJobTemplatesRequest& request) const;
ListNodesNoPagingOutcome listNodesNoPaging(const Model::ListNodesNoPagingRequest &request)const;
void listNodesNoPagingAsync(const Model::ListNodesNoPagingRequest& request, const ListNodesNoPagingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListNodesNoPagingOutcomeCallable listNodesNoPagingCallable(const Model::ListNodesNoPagingRequest& request) const;
CreateJobTemplateOutcome createJobTemplate(const Model::CreateJobTemplateRequest &request)const;
void createJobTemplateAsync(const Model::CreateJobTemplateRequest& request, const CreateJobTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateJobTemplateOutcomeCallable createJobTemplateCallable(const Model::CreateJobTemplateRequest& request) const;
RerunJobsOutcome rerunJobs(const Model::RerunJobsRequest &request)const;
void rerunJobsAsync(const Model::RerunJobsRequest& request, const RerunJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RerunJobsOutcomeCallable rerunJobsCallable(const Model::RerunJobsRequest& request) const;
ResetNodesOutcome resetNodes(const Model::ResetNodesRequest &request)const;
void resetNodesAsync(const Model::ResetNodesRequest& request, const ResetNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResetNodesOutcomeCallable resetNodesCallable(const Model::ResetNodesRequest& request) const;
EditJobTemplateOutcome editJobTemplate(const Model::EditJobTemplateRequest &request)const;
void editJobTemplateAsync(const Model::EditJobTemplateRequest& request, const EditJobTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EditJobTemplateOutcomeCallable editJobTemplateCallable(const Model::EditJobTemplateRequest& request) const;
ListPreferredEcsTypesOutcome listPreferredEcsTypes(const Model::ListPreferredEcsTypesRequest &request)const;
void listPreferredEcsTypesAsync(const Model::ListPreferredEcsTypesRequest& request, const ListPreferredEcsTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPreferredEcsTypesOutcomeCallable listPreferredEcsTypesCallable(const Model::ListPreferredEcsTypesRequest& request) const;
ListClusterLogsOutcome listClusterLogs(const Model::ListClusterLogsRequest &request)const;
void listClusterLogsAsync(const Model::ListClusterLogsRequest& request, const ListClusterLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListClusterLogsOutcomeCallable listClusterLogsCallable(const Model::ListClusterLogsRequest& request) const;
DeleteJobsOutcome deleteJobs(const Model::DeleteJobsRequest &request)const;
void deleteJobsAsync(const Model::DeleteJobsRequest& request, const DeleteJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteJobsOutcomeCallable deleteJobsCallable(const Model::DeleteJobsRequest& request) const;
DeleteNodesOutcome deleteNodes(const Model::DeleteNodesRequest &request)const;
void deleteNodesAsync(const Model::DeleteNodesRequest& request, const DeleteNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteNodesOutcomeCallable deleteNodesCallable(const Model::DeleteNodesRequest& 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;
CreateClusterOutcome createCluster(const Model::CreateClusterRequest &request)const;
void createClusterAsync(const Model::CreateClusterRequest& request, const CreateClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateClusterOutcomeCallable createClusterCallable(const Model::CreateClusterRequest& request) const;
ModifyUserPasswordsOutcome modifyUserPasswords(const Model::ModifyUserPasswordsRequest &request)const;
void modifyUserPasswordsAsync(const Model::ModifyUserPasswordsRequest& request, const ModifyUserPasswordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyUserPasswordsOutcomeCallable modifyUserPasswordsCallable(const Model::ModifyUserPasswordsRequest& request) const;
DeleteUsersOutcome deleteUsers(const Model::DeleteUsersRequest &request)const;
void deleteUsersAsync(const Model::DeleteUsersRequest& request, const DeleteUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteUsersOutcomeCallable deleteUsersCallable(const Model::DeleteUsersRequest& request) const;
DescribeClusterOutcome describeCluster(const Model::DescribeClusterRequest &request)const;
void describeClusterAsync(const Model::DescribeClusterRequest& request, const DescribeClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeClusterOutcomeCallable describeClusterCallable(const Model::DescribeClusterRequest& request) const;
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
UpgradeClientOutcome upgradeClient(const Model::UpgradeClientRequest &request)const;
void upgradeClientAsync(const Model::UpgradeClientRequest& request, const UpgradeClientAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpgradeClientOutcomeCallable upgradeClientCallable(const Model::UpgradeClientRequest& request) const;
StopNodesOutcome stopNodes(const Model::StopNodesRequest &request)const;
void stopNodesAsync(const Model::StopNodesRequest& request, const StopNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopNodesOutcomeCallable stopNodesCallable(const Model::StopNodesRequest& request) const;
ListCurrentClientVersionOutcome listCurrentClientVersion(const Model::ListCurrentClientVersionRequest &request)const;
void listCurrentClientVersionAsync(const Model::ListCurrentClientVersionRequest& request, const ListCurrentClientVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCurrentClientVersionOutcomeCallable listCurrentClientVersionCallable(const Model::ListCurrentClientVersionRequest& request) const;
DeleteClusterOutcome deleteCluster(const Model::DeleteClusterRequest &request)const;
void deleteClusterAsync(const Model::DeleteClusterRequest& request, const DeleteClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteClusterOutcomeCallable deleteClusterCallable(const Model::DeleteClusterRequest& request) const;
ListImagesOutcome listImages(const Model::ListImagesRequest &request)const;
void listImagesAsync(const Model::ListImagesRequest& request, const ListImagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListImagesOutcomeCallable listImagesCallable(const Model::ListImagesRequest& request) const;
SetAutoScaleConfigOutcome setAutoScaleConfig(const Model::SetAutoScaleConfigRequest &request)const;
void setAutoScaleConfigAsync(const Model::SetAutoScaleConfigRequest& request, const SetAutoScaleConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetAutoScaleConfigOutcomeCallable setAutoScaleConfigCallable(const Model::SetAutoScaleConfigRequest& request) const;
ListVolumesOutcome listVolumes(const Model::ListVolumesRequest &request)const;
void listVolumesAsync(const Model::ListVolumesRequest& request, const ListVolumesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListVolumesOutcomeCallable listVolumesCallable(const Model::ListVolumesRequest& request) const;
AddNodesOutcome addNodes(const Model::AddNodesRequest &request)const;
void addNodesAsync(const Model::AddNodesRequest& request, const AddNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddNodesOutcomeCallable addNodesCallable(const Model::AddNodesRequest& request) const;
ListSoftwaresOutcome listSoftwares(const Model::ListSoftwaresRequest &request)const;
void listSoftwaresAsync(const Model::ListSoftwaresRequest& request, const ListSoftwaresAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSoftwaresOutcomeCallable listSoftwaresCallable(const Model::ListSoftwaresRequest& request) const;
StopJobsOutcome stopJobs(const Model::StopJobsRequest &request)const;
void stopJobsAsync(const Model::StopJobsRequest& request, const StopJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopJobsOutcomeCallable stopJobsCallable(const Model::StopJobsRequest& request) const;
StartNodesOutcome startNodes(const Model::StartNodesRequest &request)const;
void startNodesAsync(const Model::StartNodesRequest& request, const StartNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartNodesOutcomeCallable startNodesCallable(const Model::StartNodesRequest& request) const;
GetAutoScaleConfigOutcome getAutoScaleConfig(const Model::GetAutoScaleConfigRequest &request)const;
void getAutoScaleConfigAsync(const Model::GetAutoScaleConfigRequest& request, const GetAutoScaleConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAutoScaleConfigOutcomeCallable getAutoScaleConfigCallable(const Model::GetAutoScaleConfigRequest& request) const;
ListNodesOutcome listNodes(const Model::ListNodesRequest &request)const;
void listNodesAsync(const Model::ListNodesRequest& request, const ListNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListNodesOutcomeCallable listNodesCallable(const Model::ListNodesRequest& request) const;
SetJobUserOutcome setJobUser(const Model::SetJobUserRequest &request)const;
void setJobUserAsync(const Model::SetJobUserRequest& request, const SetJobUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetJobUserOutcomeCallable setJobUserCallable(const Model::SetJobUserRequest& request) const;
ModifyUserGroupsOutcome modifyUserGroups(const Model::ModifyUserGroupsRequest &request)const;
void modifyUserGroupsAsync(const Model::ModifyUserGroupsRequest& request, const ModifyUserGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyUserGroupsOutcomeCallable modifyUserGroupsCallable(const Model::ModifyUserGroupsRequest& request) const;
StartClusterOutcome startCluster(const Model::StartClusterRequest &request)const;
void startClusterAsync(const Model::StartClusterRequest& request, const StartClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartClusterOutcomeCallable startClusterCallable(const Model::StartClusterRequest& request) const;
ListClustersOutcome listClusters(const Model::ListClustersRequest &request)const;
void listClustersAsync(const Model::ListClustersRequest& request, const ListClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListClustersOutcomeCallable listClustersCallable(const Model::ListClustersRequest& request) const;
SubmitJobOutcome submitJob(const Model::SubmitJobRequest &request)const;
void submitJobAsync(const Model::SubmitJobRequest& request, const SubmitJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitJobOutcomeCallable submitJobCallable(const Model::SubmitJobRequest& request) const;
ListCustomImagesOutcome listCustomImages(const Model::ListCustomImagesRequest &request)const;
void listCustomImagesAsync(const Model::ListCustomImagesRequest& request, const ListCustomImagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCustomImagesOutcomeCallable listCustomImagesCallable(const Model::ListCustomImagesRequest& request) const;
ListRegionsOutcome listRegions(const Model::ListRegionsRequest &request)const;
void listRegionsAsync(const Model::ListRegionsRequest& request, const ListRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRegionsOutcomeCallable listRegionsCallable(const Model::ListRegionsRequest& request) const;
AddUsersOutcome addUsers(const Model::AddUsersRequest &request)const;
void addUsersAsync(const Model::AddUsersRequest& request, const AddUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddUsersOutcomeCallable addUsersCallable(const Model::AddUsersRequest& request) const;
ListJobTemplatesOutcome listJobTemplates(const Model::ListJobTemplatesRequest &request)const;
void listJobTemplatesAsync(const Model::ListJobTemplatesRequest& request, const ListJobTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListJobTemplatesOutcomeCallable listJobTemplatesCallable(const Model::ListJobTemplatesRequest& request) const;
ModifyClusterAttributesOutcome modifyClusterAttributes(const Model::ModifyClusterAttributesRequest &request)const;
void modifyClusterAttributesAsync(const Model::ModifyClusterAttributesRequest& request, const ModifyClusterAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyClusterAttributesOutcomeCallable modifyClusterAttributesCallable(const Model::ModifyClusterAttributesRequest& request) const;
DeleteJobTemplatesOutcome deleteJobTemplates(const Model::DeleteJobTemplatesRequest &request)const;
void deleteJobTemplatesAsync(const Model::DeleteJobTemplatesRequest& request, const DeleteJobTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteJobTemplatesOutcomeCallable deleteJobTemplatesCallable(const Model::DeleteJobTemplatesRequest& request) const;
StopClusterOutcome stopCluster(const Model::StopClusterRequest &request)const;
void stopClusterAsync(const Model::StopClusterRequest& request, const StopClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopClusterOutcomeCallable stopClusterCallable(const Model::StopClusterRequest& request) const;
ListNodesNoPagingOutcome listNodesNoPaging(const Model::ListNodesNoPagingRequest &request)const;
void listNodesNoPagingAsync(const Model::ListNodesNoPagingRequest& request, const ListNodesNoPagingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListNodesNoPagingOutcomeCallable listNodesNoPagingCallable(const Model::ListNodesNoPagingRequest& request) const;
CreateJobTemplateOutcome createJobTemplate(const Model::CreateJobTemplateRequest &request)const;
void createJobTemplateAsync(const Model::CreateJobTemplateRequest& request, const CreateJobTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateJobTemplateOutcomeCallable createJobTemplateCallable(const Model::CreateJobTemplateRequest& request) const;
RerunJobsOutcome rerunJobs(const Model::RerunJobsRequest &request)const;
void rerunJobsAsync(const Model::RerunJobsRequest& request, const RerunJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RerunJobsOutcomeCallable rerunJobsCallable(const Model::RerunJobsRequest& request) const;
ResetNodesOutcome resetNodes(const Model::ResetNodesRequest &request)const;
void resetNodesAsync(const Model::ResetNodesRequest& request, const ResetNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResetNodesOutcomeCallable resetNodesCallable(const Model::ResetNodesRequest& request) const;
EditJobTemplateOutcome editJobTemplate(const Model::EditJobTemplateRequest &request)const;
void editJobTemplateAsync(const Model::EditJobTemplateRequest& request, const EditJobTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EditJobTemplateOutcomeCallable editJobTemplateCallable(const Model::EditJobTemplateRequest& request) const;
ListPreferredEcsTypesOutcome listPreferredEcsTypes(const Model::ListPreferredEcsTypesRequest &request)const;
void listPreferredEcsTypesAsync(const Model::ListPreferredEcsTypesRequest& request, const ListPreferredEcsTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPreferredEcsTypesOutcomeCallable listPreferredEcsTypesCallable(const Model::ListPreferredEcsTypesRequest& request) const;
ListClusterLogsOutcome listClusterLogs(const Model::ListClusterLogsRequest &request)const;
void listClusterLogsAsync(const Model::ListClusterLogsRequest& request, const ListClusterLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListClusterLogsOutcomeCallable listClusterLogsCallable(const Model::ListClusterLogsRequest& request) const;
RecoverClusterOutcome recoverCluster(const Model::RecoverClusterRequest &request)const;
void recoverClusterAsync(const Model::RecoverClusterRequest& request, const RecoverClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RecoverClusterOutcomeCallable recoverClusterCallable(const Model::RecoverClusterRequest& request) const;
DeleteJobsOutcome deleteJobs(const Model::DeleteJobsRequest &request)const;
void deleteJobsAsync(const Model::DeleteJobsRequest& request, const DeleteJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteJobsOutcomeCallable deleteJobsCallable(const Model::DeleteJobsRequest& request) const;
DeleteNodesOutcome deleteNodes(const Model::DeleteNodesRequest &request)const;
void deleteNodesAsync(const Model::DeleteNodesRequest& request, const DeleteNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteNodesOutcomeCallable deleteNodesCallable(const Model::DeleteNodesRequest& 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;
CreateClusterOutcome createCluster(const Model::CreateClusterRequest &request)const;
void createClusterAsync(const Model::CreateClusterRequest& request, const CreateClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateClusterOutcomeCallable createClusterCallable(const Model::CreateClusterRequest& request) const;
ModifyUserPasswordsOutcome modifyUserPasswords(const Model::ModifyUserPasswordsRequest &request)const;
void modifyUserPasswordsAsync(const Model::ModifyUserPasswordsRequest& request, const ModifyUserPasswordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyUserPasswordsOutcomeCallable modifyUserPasswordsCallable(const Model::ModifyUserPasswordsRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -35,6 +35,10 @@ namespace AlibabaCloud
AddNodesRequest();
~AddNodesRequest();
int getAutoRenewPeriod()const;
void setAutoRenewPeriod(int autoRenewPeriod);
int getPeriod()const;
void setPeriod(int period);
std::string getImageId()const;
void setImageId(const std::string& imageId);
int getCount()const;
@@ -43,21 +47,32 @@ namespace AlibabaCloud
void setClusterId(const std::string& clusterId);
std::string getComputeSpotStrategy()const;
void setComputeSpotStrategy(const std::string& computeSpotStrategy);
std::string getComputeSpotPriceLimit()const;
void setComputeSpotPriceLimit(const std::string& computeSpotPriceLimit);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getImageOwnerAlias()const;
void setImageOwnerAlias(const std::string& imageOwnerAlias);
std::string getPeriodUnit()const;
void setPeriodUnit(const std::string& periodUnit);
std::string getAutoRenew()const;
void setAutoRenew(const std::string& autoRenew);
std::string getEcsChargeType()const;
void setEcsChargeType(const std::string& ecsChargeType);
std::string getComputeSpotPriceLimit()const;
void setComputeSpotPriceLimit(const std::string& computeSpotPriceLimit);
private:
int autoRenewPeriod_;
int period_;
std::string imageId_;
int count_;
std::string clusterId_;
std::string computeSpotStrategy_;
std::string computeSpotPriceLimit_;
std::string accessKeyId_;
std::string imageOwnerAlias_;
std::string periodUnit_;
std::string autoRenew_;
std::string ecsChargeType_;
std::string computeSpotPriceLimit_;
};
}

View File

@@ -37,12 +37,12 @@ namespace AlibabaCloud
AddNodesResult();
explicit AddNodesResult(const std::string &payload);
~AddNodesResult();
std::vector<std::string> getInstanceIds()const;
std::vector<std::string> getInstanceIds()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> instanceIds_;
std::vector<std::string> instanceIds_;
};
}

View File

@@ -30,6 +30,11 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_EHPC_EXPORT CreateClusterRequest : public RpcServiceRequest
{
struct PostInstallScript
{
std::string url;
std::string args;
};
struct Application
{
std::string tag;
@@ -65,6 +70,8 @@ namespace AlibabaCloud
void setImageOwnerAlias(const std::string& imageOwnerAlias);
std::string getVolumeType()const;
void setVolumeType(const std::string& volumeType);
std::string getDeployMode()const;
void setDeployMode(const std::string& deployMode);
int getEcsOrderManagerCount()const;
void setEcsOrderManagerCount(int ecsOrderManagerCount);
std::string getPassword()const;
@@ -73,6 +80,10 @@ namespace AlibabaCloud
void setEcsOrderLoginCount(int ecsOrderLoginCount);
std::string getComputeSpotPriceLimit()const;
void setComputeSpotPriceLimit(const std::string& computeSpotPriceLimit);
int getAutoRenewPeriod()const;
void setAutoRenewPeriod(int autoRenewPeriod);
int getPeriod()const;
void setPeriod(int period);
std::string getVolumeProtocol()const;
void setVolumeProtocol(const std::string& volumeProtocol);
std::string getOsTag()const;
@@ -83,12 +94,20 @@ namespace AlibabaCloud
void setEcsOrderComputeCount(int ecsOrderComputeCount);
std::string getComputeSpotStrategy()const;
void setComputeSpotStrategy(const std::string& computeSpotStrategy);
std::vector<PostInstallScript> getPostInstallScript()const;
void setPostInstallScript(const std::vector<PostInstallScript>& postInstallScript);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getPeriodUnit()const;
void setPeriodUnit(const std::string& periodUnit);
std::vector<Application> getApplication()const;
void setApplication(const std::vector<Application>& application);
std::string getAutoRenew()const;
void setAutoRenew(const std::string& autoRenew);
std::string getEcsChargeType()const;
void setEcsChargeType(const std::string& ecsChargeType);
std::string getVpcId()const;
void setVpcId(const std::string& vpcId);
bool getHaEnable()const;
void setHaEnable(bool haEnable);
std::string getName()const;
@@ -118,18 +137,25 @@ namespace AlibabaCloud
std::string accessKeyId_;
std::string imageOwnerAlias_;
std::string volumeType_;
std::string deployMode_;
int ecsOrderManagerCount_;
std::string password_;
int ecsOrderLoginCount_;
std::string computeSpotPriceLimit_;
int autoRenewPeriod_;
int period_;
std::string volumeProtocol_;
std::string osTag_;
std::string remoteDirectory_;
int ecsOrderComputeCount_;
std::string computeSpotStrategy_;
std::vector<PostInstallScript> postInstallScript_;
std::string vSwitchId_;
std::string periodUnit_;
std::vector<Application> application_;
std::string autoRenew_;
std::string ecsChargeType_;
std::string vpcId_;
bool haEnable_;
std::string name_;
std::string schedulerType_;

View File

@@ -37,12 +37,12 @@ namespace AlibabaCloud
CreateClusterResult();
explicit CreateClusterResult(const std::string &payload);
~CreateClusterResult();
std::string getClusterId()const;
std::string getClusterId()const;
protected:
void parse(const std::string &payload);
private:
std::string clusterId_;
std::string clusterId_;
};
}

View File

@@ -37,12 +37,12 @@ namespace AlibabaCloud
CreateJobTemplateResult();
explicit CreateJobTemplateResult(const std::string &payload);
~CreateJobTemplateResult();
std::string getTemplateId()const;
std::string getTemplateId()const;
protected:
void parse(const std::string &payload);
private:
std::string templateId_;
std::string templateId_;
};
}

View File

@@ -32,72 +32,73 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT DescribeClusterResult : public ServiceResult
{
public:
struct ClusterInfo
{
struct EcsInfo
{
struct Manager
{
int count;
std::string instanceType;
};
struct Compute
{
int count;
std::string instanceType;
};
struct Login
{
int count;
std::string instanceType;
};
std::vector<Compute> compute;
std::vector<Login> login;
std::vector<Manager> manager;
};
struct ApplicationInfoItem
{
std::string version;
std::string tag;
std::string name;
};
std::string volumeProtocol;
std::string imageOwnerAlias;
std::string description;
std::vector<ApplicationInfoItem> applicationInfo;
std::string clientVersion;
std::string name;
std::string volumeId;
std::string volumeType;
std::string imageId;
std::string status;
std::string keyPairName;
std::string remoteDirectory;
std::string sccClusterId;
std::string createTime;
std::string securityGroupId;
std::string vSwitchId;
std::string schedulerType;
std::string accountType;
std::string volumeMountpoint;
std::vector<EcsInfo> ecsInfo;
bool haEnable;
std::string osTag;
std::string id;
std::string regionId;
std::string ecsChargeType;
};
struct ClusterInfo
{
struct EcsInfo
{
struct Manager
{
int count;
std::string instanceType;
};
struct Compute
{
int count;
std::string instanceType;
};
struct Login
{
int count;
std::string instanceType;
};
Compute compute;
Login login;
Manager manager;
};
struct ApplicationInfo
{
std::string version;
std::string tag;
std::string name;
};
std::string volumeProtocol;
std::string imageOwnerAlias;
std::string description;
std::string clientVersion;
std::string name;
std::string volumeId;
std::string volumeType;
std::string deployMode;
std::string imageId;
std::string status;
std::string keyPairName;
std::string remoteDirectory;
std::string sccClusterId;
std::vector<ApplicationInfo> applications;
std::string createTime;
std::string securityGroupId;
std::string vSwitchId;
std::string schedulerType;
std::string accountType;
std::string volumeMountpoint;
EcsInfo ecsInfo;
bool haEnable;
std::string osTag;
std::string id;
std::string regionId;
std::string ecsChargeType;
};
DescribeClusterResult();
explicit DescribeClusterResult(const std::string &payload);
~DescribeClusterResult();
std::vector<ClusterInfo> getClusterInfo()const;
ClusterInfo getClusterInfo()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ClusterInfo> clusterInfo_;
ClusterInfo clusterInfo_;
};
}

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setVariables(const std::string& variables);
std::string getRunasUser()const;
void setRunasUser(const std::string& runasUser);
bool getReRunable()const;
void setReRunable(bool reRunable);
std::string getTemplateId()const;
void setTemplateId(const std::string& templateId);
int getPriority()const;
@@ -53,8 +55,6 @@ namespace AlibabaCloud
void setArrayRequest(const std::string& arrayRequest);
std::string getPackagePath()const;
void setPackagePath(const std::string& packagePath);
bool getReRunnable()const;
void setReRunnable(bool reRunnable);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
@@ -66,13 +66,13 @@ namespace AlibabaCloud
std::string stderrRedirectPath_;
std::string variables_;
std::string runasUser_;
bool reRunable_;
std::string templateId_;
int priority_;
std::string commandLine_;
std::string accessKeyId_;
std::string arrayRequest_;
std::string packagePath_;
bool reRunnable_;
std::string regionId_;
std::string name_;
std::string stdoutRedirectPath_;

View File

@@ -37,12 +37,12 @@ namespace AlibabaCloud
EditJobTemplateResult();
explicit EditJobTemplateResult(const std::string &payload);
~EditJobTemplateResult();
std::string getTemplateId()const;
std::string getTemplateId()const;
protected:
void parse(const std::string &payload);
private:
std::string templateId_;
std::string templateId_;
};
}

View File

@@ -37,36 +37,36 @@ namespace AlibabaCloud
GetAutoScaleConfigResult();
explicit GetAutoScaleConfigResult(const std::string &payload);
~GetAutoScaleConfigResult();
int getExtraNodesGrowRatio()const;
bool getEnableAutoGrow()const;
std::string getClusterId()const;
int getShrinkIdleTimes()const;
int getMaxNodesInCluster()const;
std::string getClusterType()const;
bool getEnableAutoShrink()const;
int getGrowRatio()const;
int getGrowIntervalInMinutes()const;
std::string getUid()const;
int getGrowTimeoutInMinutes()const;
int getShrinkIntervalInMinutes()const;
std::string getExcludeNodes()const;
int getExtraNodesGrowRatio()const;
bool getEnableAutoGrow()const;
std::string getClusterId()const;
int getShrinkIdleTimes()const;
int getMaxNodesInCluster()const;
std::string getClusterType()const;
bool getEnableAutoShrink()const;
int getGrowRatio()const;
int getGrowIntervalInMinutes()const;
std::string getUid()const;
int getGrowTimeoutInMinutes()const;
int getShrinkIntervalInMinutes()const;
std::string getExcludeNodes()const;
protected:
void parse(const std::string &payload);
private:
int extraNodesGrowRatio_;
bool enableAutoGrow_;
std::string clusterId_;
int shrinkIdleTimes_;
int maxNodesInCluster_;
std::string clusterType_;
bool enableAutoShrink_;
int growRatio_;
int growIntervalInMinutes_;
std::string uid_;
int growTimeoutInMinutes_;
int shrinkIntervalInMinutes_;
std::string excludeNodes_;
int extraNodesGrowRatio_;
bool enableAutoGrow_;
std::string clusterId_;
int shrinkIdleTimes_;
int maxNodesInCluster_;
std::string clusterType_;
bool enableAutoShrink_;
int growRatio_;
int growIntervalInMinutes_;
std::string uid_;
int growTimeoutInMinutes_;
int shrinkIntervalInMinutes_;
std::string excludeNodes_;
};
}

View File

@@ -32,32 +32,32 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT ListClusterLogsResult : public ServiceResult
{
public:
struct LogInfo
{
std::string message;
std::string createTime;
std::string level;
std::string operation;
};
struct LogInfo
{
std::string message;
std::string createTime;
std::string level;
std::string operation;
};
ListClusterLogsResult();
explicit ListClusterLogsResult(const std::string &payload);
~ListClusterLogsResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::string getClusterId()const;
std::vector<LogInfo> getLogs()const;
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::string getClusterId()const;
std::vector<LogInfo> getLogs()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::string clusterId_;
std::vector<LogInfo> logs_;
int totalCount_;
int pageSize_;
int pageNumber_;
std::string clusterId_;
std::vector<LogInfo> logs_;
};
}

View File

@@ -32,69 +32,74 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT ListClustersResult : public ServiceResult
{
public:
struct ClusterInfoSimple
{
struct Managers
{
int normalCount;
int total;
int exceptionCount;
};
struct Computes
{
int normalCount;
int total;
int exceptionCount;
};
struct TotalResources
{
int memory;
int cpu;
int gpu;
};
struct UsedResources
{
int memory;
int cpu;
int gpu;
};
std::string status;
std::string imageOwnerAlias;
std::string description;
std::string zoneId;
std::string createTime;
std::string schedulerType;
int count;
std::string accountType;
std::string name;
std::vector<UsedResources> usedResources;
std::vector<Managers> managers;
std::vector<TotalResources> totalResources;
std::string osTag;
std::string imageId;
std::string id;
std::string regionId;
std::string instanceType;
std::string loginNodes;
std::vector<Computes> computes;
};
struct ClusterInfoSimple
{
struct Managers
{
int normalCount;
int operatingCount;
int stoppedCount;
int total;
int exceptionCount;
};
struct Computes
{
int normalCount;
int operatingCount;
int stoppedCount;
int total;
int exceptionCount;
};
struct TotalResources
{
int memory;
int cpu;
int gpu;
};
struct UsedResources
{
int memory;
int cpu;
int gpu;
};
std::string status;
std::string imageOwnerAlias;
std::string description;
std::string zoneId;
std::string createTime;
std::string schedulerType;
int count;
std::string accountType;
std::string name;
UsedResources usedResources;
std::string deployMode;
Managers managers;
TotalResources totalResources;
std::string osTag;
std::string imageId;
std::string id;
std::string regionId;
std::string instanceType;
std::string loginNodes;
Computes computes;
};
ListClustersResult();
explicit ListClustersResult(const std::string &payload);
~ListClustersResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<ClusterInfoSimple> getClusters()const;
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<ClusterInfoSimple> getClusters()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<ClusterInfoSimple> clusters_;
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<ClusterInfoSimple> clusters_;
};
}

View File

@@ -37,12 +37,12 @@ namespace AlibabaCloud
ListCurrentClientVersionResult();
explicit ListCurrentClientVersionResult(const std::string &payload);
~ListCurrentClientVersionResult();
std::string getClientVersion()const;
std::string getClientVersion()const;
protected:
void parse(const std::string &payload);
private:
std::string clientVersion_;
std::string clientVersion_;
};
}

View File

@@ -32,32 +32,38 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT ListCustomImagesResult : public ServiceResult
{
public:
struct ImageInfo
{
struct BaseOsTag
{
std::string platform;
std::string architecture;
std::string version;
std::string osTag;
};
std::string imageOwnerAlias;
std::string imageName;
std::string description;
std::string imageId;
std::vector<BaseOsTag> baseOsTag;
};
struct ImageInfo
{
struct BaseOsTag
{
std::string platform;
std::string architecture;
std::string version;
std::string osTag;
};
std::string imageOwnerAlias;
std::string status;
std::string uid;
std::string imageName;
std::string description;
std::string postInstallScript;
std::string productCode;
std::string skuCode;
std::string pricingCycle;
std::string imageId;
BaseOsTag baseOsTag;
};
ListCustomImagesResult();
explicit ListCustomImagesResult(const std::string &payload);
~ListCustomImagesResult();
std::vector<ImageInfo> getImages()const;
std::vector<ImageInfo> getImages()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ImageInfo> images_;
std::vector<ImageInfo> images_;
};
}

View File

@@ -32,24 +32,24 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT ListImagesResult : public ServiceResult
{
public:
struct OsInfo
{
std::string platform;
std::string architecture;
std::string version;
std::string osTag;
};
struct OsInfo
{
std::string platform;
std::string architecture;
std::string version;
std::string osTag;
};
ListImagesResult();
explicit ListImagesResult(const std::string &payload);
~ListImagesResult();
std::vector<OsInfo> getOsTags()const;
std::vector<OsInfo> getOsTags()const;
protected:
void parse(const std::string &payload);
private:
std::vector<OsInfo> osTags_;
std::vector<OsInfo> osTags_;
};
}

View File

@@ -32,37 +32,37 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT ListJobTemplatesResult : public ServiceResult
{
public:
struct JobTemplates
{
std::string variables;
bool reRunable;
std::string commandLine;
int priority;
std::string stderrRedirectPath;
std::string stdoutRedirectPath;
std::string id;
std::string package;
std::string arrayRequest;
std::string runasUser;
std::string name;
};
struct JobTemplates
{
std::string variables;
bool reRunable;
std::string commandLine;
int priority;
std::string stderrRedirectPath;
std::string stdoutRedirectPath;
std::string id;
std::string arrayRequest;
std::string runasUser;
std::string packagePath;
std::string name;
};
ListJobTemplatesResult();
explicit ListJobTemplatesResult(const std::string &payload);
~ListJobTemplatesResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<JobTemplates> getTemplates()const;
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<JobTemplates> getTemplates()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<JobTemplates> templates_;
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<JobTemplates> templates_;
};
}

View File

@@ -43,6 +43,8 @@ namespace AlibabaCloud
void setClusterId(const std::string& clusterId);
std::string getState()const;
void setState(const std::string& state);
std::string getRerunable()const;
void setRerunable(const std::string& rerunable);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
@@ -53,6 +55,7 @@ namespace AlibabaCloud
int pageSize_;
std::string clusterId_;
std::string state_;
std::string rerunable_;
int pageNumber_;
std::string accessKeyId_;

View File

@@ -32,44 +32,45 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT ListJobsResult : public ServiceResult
{
public:
struct JobInfo
{
struct Resources
{
int cores;
int nodes;
};
std::string comment;
std::string owner;
int priority;
std::string startTime;
std::string lastModifyTime;
std::string submitTime;
std::string name;
std::string _stderr;
std::string state;
std::vector<Resources> resources;
std::string id;
std::string arrayRequest;
std::string _stdout;
};
struct JobInfo
{
struct Resources
{
int cores;
int nodes;
};
std::string comment;
std::string owner;
std::string _stderr;
int priority;
std::string startTime;
std::string lastModifyTime;
std::string submitTime;
std::string _stdout;
std::string name;
std::string state;
std::string shellPath;
Resources resources;
std::string id;
std::string arrayRequest;
};
ListJobsResult();
explicit ListJobsResult(const std::string &payload);
~ListJobsResult();
int getTotalCount()const;
int getPageSize()const;
std::vector<JobInfo> getJobs()const;
int getPageNumber()const;
int getTotalCount()const;
int getPageSize()const;
std::vector<JobInfo> getJobs()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
std::vector<JobInfo> jobs_;
int pageNumber_;
int totalCount_;
int pageSize_;
std::vector<JobInfo> jobs_;
int pageNumber_;
};
}

View File

@@ -32,52 +32,52 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT ListNodesNoPagingResult : public ServiceResult
{
public:
struct NodeInfo
{
struct TotalResources
{
int memory;
int cpu;
int gpu;
};
struct UsedResources
{
int memory;
int cpu;
int gpu;
};
std::string status;
std::string imageOwnerAlias;
bool expired;
std::string addTime;
std::vector<UsedResources> usedResources;
std::string role;
bool createdByEhpc;
std::vector<TotalResources> totalResources;
std::string expiredTime;
std::string imageId;
std::string id;
std::string regionId;
std::string lockReason;
std::string spotStrategy;
};
struct NodeInfo
{
struct TotalResources
{
int memory;
int cpu;
int gpu;
};
struct UsedResources
{
int memory;
int cpu;
int gpu;
};
std::string status;
std::string imageOwnerAlias;
bool expired;
std::vector<std::string> roles;
std::string addTime;
UsedResources usedResources;
bool createdByEhpc;
TotalResources totalResources;
std::string expiredTime;
std::string imageId;
std::string id;
std::string regionId;
std::string lockReason;
std::string spotStrategy;
};
ListNodesNoPagingResult();
explicit ListNodesNoPagingResult(const std::string &payload);
~ListNodesNoPagingResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<NodeInfo> getNodes()const;
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<NodeInfo> getNodes()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<NodeInfo> nodes_;
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<NodeInfo> nodes_;
};
}

View File

@@ -32,52 +32,52 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT ListNodesResult : public ServiceResult
{
public:
struct NodeInfo
{
struct TotalResources
{
int memory;
int cpu;
int gpu;
};
struct UsedResources
{
int memory;
int cpu;
int gpu;
};
std::string status;
std::string imageOwnerAlias;
bool expired;
std::string addTime;
std::vector<UsedResources> usedResources;
std::string role;
bool createdByEhpc;
std::vector<TotalResources> totalResources;
std::string expiredTime;
std::string imageId;
std::string id;
std::string regionId;
std::string lockReason;
std::string spotStrategy;
};
struct NodeInfo
{
struct TotalResources
{
int memory;
int cpu;
int gpu;
};
struct UsedResources
{
int memory;
int cpu;
int gpu;
};
std::string status;
std::string imageOwnerAlias;
bool expired;
std::vector<std::string> roles;
std::string addTime;
UsedResources usedResources;
bool createdByEhpc;
TotalResources totalResources;
std::string expiredTime;
std::string imageId;
std::string id;
std::string regionId;
std::string lockReason;
std::string spotStrategy;
};
ListNodesResult();
explicit ListNodesResult(const std::string &payload);
~ListNodesResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<NodeInfo> getNodes()const;
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<NodeInfo> getNodes()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<NodeInfo> nodes_;
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<NodeInfo> nodes_;
};
}

View File

@@ -35,13 +35,19 @@ namespace AlibabaCloud
ListPreferredEcsTypesRequest();
~ListPreferredEcsTypesRequest();
std::string getSpotStrategy()const;
void setSpotStrategy(const std::string& spotStrategy);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getInstanceChargeType()const;
void setInstanceChargeType(const std::string& instanceChargeType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string spotStrategy_;
std::string zoneId_;
std::string instanceChargeType_;
std::string accessKeyId_;
};

View File

@@ -32,29 +32,31 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT ListPreferredEcsTypesResult : public ServiceResult
{
public:
struct SeriesInfo
{
struct Roles
{
std::vector<std::string> compute;
std::vector<std::string> login;
std::vector<std::string> manager;
};
std::string seriesId;
std::string seriesName;
std::vector<Roles> roles;
};
struct SeriesInfo
{
struct Roles
{
std::vector<std::string> compute;
std::vector<std::string> login;
std::vector<std::string> manager;
};
std::string seriesId;
std::string seriesName;
Roles roles;
};
ListPreferredEcsTypesResult();
explicit ListPreferredEcsTypesResult(const std::string &payload);
~ListPreferredEcsTypesResult();
std::vector<SeriesInfo> getSeries()const;
std::vector<SeriesInfo> getSeries()const;
bool getSupportSpotInstance()const;
protected:
void parse(const std::string &payload);
private:
std::vector<SeriesInfo> series_;
std::vector<SeriesInfo> series_;
bool supportSpotInstance_;
};
}

View File

@@ -32,22 +32,22 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT ListRegionsResult : public ServiceResult
{
public:
struct RegionInfo
{
std::string regionId;
std::string localName;
};
struct RegionInfo
{
std::string regionId;
std::string localName;
};
ListRegionsResult();
explicit ListRegionsResult(const std::string &payload);
~ListRegionsResult();
std::vector<RegionInfo> getRegions()const;
std::vector<RegionInfo> getRegions()const;
protected:
void parse(const std::string &payload);
private:
std::vector<RegionInfo> regions_;
std::vector<RegionInfo> regions_;
};
}

View File

@@ -32,34 +32,34 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT ListSoftwaresResult : public ServiceResult
{
public:
struct SoftwareInfo
{
struct ApplicationInfo
{
bool required;
std::string version;
std::string tag;
std::string name;
};
std::vector<SoftwareInfo::ApplicationInfo> applications;
std::string schedulerVersion;
std::string osTag;
std::string schedulerType;
std::string accountType;
std::string accountVersion;
std::string ehpcVersion;
};
struct SoftwareInfo
{
struct ApplicationInfo
{
bool required;
std::string version;
std::string tag;
std::string name;
};
std::vector<SoftwareInfo::ApplicationInfo> applications;
std::string schedulerVersion;
std::string osTag;
std::string schedulerType;
std::string accountType;
std::string accountVersion;
std::string ehpcVersion;
};
ListSoftwaresResult();
explicit ListSoftwaresResult(const std::string &payload);
~ListSoftwaresResult();
std::vector<SoftwareInfo> getSoftwares()const;
std::vector<SoftwareInfo> getSoftwares()const;
protected:
void parse(const std::string &payload);
private:
std::vector<SoftwareInfo> softwares_;
std::vector<SoftwareInfo> softwares_;
};
}

View File

@@ -32,29 +32,29 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT ListUsersResult : public ServiceResult
{
public:
struct UserInfo
{
std::string group;
std::string addTime;
std::string name;
};
struct UserInfo
{
std::string group;
std::string addTime;
std::string name;
};
ListUsersResult();
explicit ListUsersResult(const std::string &payload);
~ListUsersResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<UserInfo> getUsers()const;
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<UserInfo> getUsers()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<UserInfo> users_;
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<UserInfo> users_;
};
}

View File

@@ -32,34 +32,34 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT ListVolumesResult : public ServiceResult
{
public:
struct VolumeInfo
{
std::string volumeProtocol;
std::string volumeId;
std::string remoteDirectory;
std::string volumeType;
std::string clusterId;
std::string clusterName;
std::string regionId;
std::string volumeMountpoint;
};
struct VolumeInfo
{
std::string volumeProtocol;
std::string volumeId;
std::string remoteDirectory;
std::string volumeType;
std::string clusterId;
std::string clusterName;
std::string regionId;
std::string volumeMountpoint;
};
ListVolumesResult();
explicit ListVolumesResult(const std::string &payload);
~ListVolumesResult();
int getTotalCount()const;
std::vector<VolumeInfo> getVolumes()const;
int getPageSize()const;
int getPageNumber()const;
int getTotalCount()const;
std::vector<VolumeInfo> getVolumes()const;
int getPageSize()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<VolumeInfo> volumes_;
int pageSize_;
int pageNumber_;
int totalCount_;
std::vector<VolumeInfo> volumes_;
int pageSize_;
int pageNumber_;
};
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_RECOVERCLUSTERREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_RECOVERCLUSTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT RecoverClusterRequest : public RpcServiceRequest
{
public:
RecoverClusterRequest();
~RecoverClusterRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_RECOVERCLUSTERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_EHPC_MODEL_RECOVERCLUSTERRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_RECOVERCLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT RecoverClusterResult : public ServiceResult
{
public:
RecoverClusterResult();
explicit RecoverClusterResult(const std::string &payload);
~RecoverClusterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_RECOVERCLUSTERRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_STARTCLUSTERREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_STARTCLUSTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT StartClusterRequest : public RpcServiceRequest
{
public:
StartClusterRequest();
~StartClusterRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STARTCLUSTERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_EHPC_MODEL_STARTCLUSTERRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_STARTCLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT StartClusterResult : public ServiceResult
{
public:
StartClusterResult();
explicit StartClusterResult(const std::string &payload);
~StartClusterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STARTCLUSTERRESULT_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_EHPC_MODEL_STARTNODESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_STARTNODESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT StartNodesRequest : public RpcServiceRequest
{
struct Instance
{
std::string id;
};
public:
StartNodesRequest();
~StartNodesRequest();
std::string getRole()const;
void setRole(const std::string& role);
std::vector<Instance> getInstance()const;
void setInstance(const std::vector<Instance>& instance);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string role_;
std::vector<Instance> instance_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STARTNODESREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_EHPC_MODEL_STARTNODESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_STARTNODESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT StartNodesResult : public ServiceResult
{
public:
StartNodesResult();
explicit StartNodesResult(const std::string &payload);
~StartNodesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STARTNODESRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_STOPCLUSTERREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_STOPCLUSTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT StopClusterRequest : public RpcServiceRequest
{
public:
StopClusterRequest();
~StopClusterRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STOPCLUSTERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_EHPC_MODEL_STOPCLUSTERRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_STOPCLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT StopClusterResult : public ServiceResult
{
public:
StopClusterResult();
explicit StopClusterResult(const std::string &payload);
~StopClusterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STOPCLUSTERRESULT_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_EHPC_MODEL_STOPNODESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_STOPNODESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT StopNodesRequest : public RpcServiceRequest
{
struct Instance
{
std::string id;
};
public:
StopNodesRequest();
~StopNodesRequest();
std::string getRole()const;
void setRole(const std::string& role);
std::vector<Instance> getInstance()const;
void setInstance(const std::vector<Instance>& instance);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string role_;
std::vector<Instance> instance_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STOPNODESREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_EHPC_MODEL_STOPNODESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_STOPNODESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT StopNodesResult : public ServiceResult
{
public:
StopNodesResult();
explicit StopNodesResult(const std::string &payload);
~StopNodesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STOPNODESRESULT_H_

View File

@@ -37,12 +37,12 @@ namespace AlibabaCloud
SubmitJobResult();
explicit SubmitJobResult(const std::string &payload);
~SubmitJobResult();
std::string getJobId()const;
std::string getJobId()const;
protected:
void parse(const std::string &payload);
private:
std::string jobId_;
std::string jobId_;
};
}