EHPC SDK Auto Released By qianzheng.llc,Version:1.36.0

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2019-04-10 11:21:39 +08:00
parent a4b515be6c
commit eafc1d87f5
163 changed files with 6445 additions and 680 deletions

View File

@@ -22,6 +22,8 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "EHPCExport.h"
#include "model/DescribeJobRequest.h"
#include "model/DescribeJobResult.h"
#include "model/DeleteImageRequest.h"
#include "model/DeleteImageResult.h"
#include "model/DeleteUsersRequest.h"
@@ -38,48 +40,54 @@
#include "model/DescribeContainerAppResult.h"
#include "model/ListCurrentClientVersionRequest.h"
#include "model/ListCurrentClientVersionResult.h"
#include "model/UpdateClusterVolumesRequest.h"
#include "model/UpdateClusterVolumesResult.h"
#include "model/ListNodesByQueueRequest.h"
#include "model/ListNodesByQueueResult.h"
#include "model/ModifyContainerAppAttributesRequest.h"
#include "model/ModifyContainerAppAttributesResult.h"
#include "model/SetAutoScaleConfigRequest.h"
#include "model/SetAutoScaleConfigResult.h"
#include "model/ListInvocationResultsRequest.h"
#include "model/ListInvocationResultsResult.h"
#include "model/AddNodesRequest.h"
#include "model/AddNodesResult.h"
#include "model/SetAutoScaleConfigRequest.h"
#include "model/SetAutoScaleConfigResult.h"
#include "model/ListSoftwaresRequest.h"
#include "model/ListSoftwaresResult.h"
#include "model/AddNodesRequest.h"
#include "model/AddNodesResult.h"
#include "model/StopJobsRequest.h"
#include "model/StopJobsResult.h"
#include "model/StartNodesRequest.h"
#include "model/StartNodesResult.h"
#include "model/GetCloudMetricProfilingRequest.h"
#include "model/GetCloudMetricProfilingResult.h"
#include "model/DescribeImagePriceRequest.h"
#include "model/DescribeImagePriceResult.h"
#include "model/GetAutoScaleConfigRequest.h"
#include "model/GetAutoScaleConfigResult.h"
#include "model/DescribeImagePriceRequest.h"
#include "model/DescribeImagePriceResult.h"
#include "model/ListNodesRequest.h"
#include "model/ListNodesResult.h"
#include "model/ModifyUserGroupsRequest.h"
#include "model/ModifyUserGroupsResult.h"
#include "model/StartClusterRequest.h"
#include "model/StartClusterResult.h"
#include "model/SetQueueRequest.h"
#include "model/SetQueueResult.h"
#include "model/ListCommandsRequest.h"
#include "model/ListCommandsResult.h"
#include "model/ListCustomImagesRequest.h"
#include "model/ListCustomImagesResult.h"
#include "model/InvokeShellCommandRequest.h"
#include "model/InvokeShellCommandResult.h"
#include "model/ListJobTemplatesRequest.h"
#include "model/ListJobTemplatesResult.h"
#include "model/ListFileSystemWithMountTargetsRequest.h"
#include "model/ListFileSystemWithMountTargetsResult.h"
#include "model/AddUsersRequest.h"
#include "model/AddUsersResult.h"
#include "model/ListJobTemplatesRequest.h"
#include "model/ListJobTemplatesResult.h"
#include "model/ModifyClusterAttributesRequest.h"
#include "model/ModifyClusterAttributesResult.h"
#include "model/DescribeImageGatewayConfigRequest.h"
#include "model/DescribeImageGatewayConfigResult.h"
#include "model/ModifyClusterAttributesRequest.h"
#include "model/ModifyClusterAttributesResult.h"
#include "model/DeleteJobTemplatesRequest.h"
#include "model/DeleteJobTemplatesResult.h"
#include "model/StopClusterRequest.h"
@@ -88,12 +96,14 @@
#include "model/ListNodesNoPagingResult.h"
#include "model/GetCloudMetricLogsRequest.h"
#include "model/GetCloudMetricLogsResult.h"
#include "model/GetHybridClusterConfigRequest.h"
#include "model/GetHybridClusterConfigResult.h"
#include "model/CreateJobTemplateRequest.h"
#include "model/CreateJobTemplateResult.h"
#include "model/GetHybridClusterConfigRequest.h"
#include "model/GetHybridClusterConfigResult.h"
#include "model/ResetNodesRequest.h"
#include "model/ResetNodesResult.h"
#include "model/UninstallSoftwareRequest.h"
#include "model/UninstallSoftwareResult.h"
#include "model/CreateHybridClusterRequest.h"
#include "model/CreateHybridClusterResult.h"
#include "model/ListContainerImagesRequest.h"
@@ -102,16 +112,28 @@
#include "model/DeleteJobsResult.h"
#include "model/DeleteNodesRequest.h"
#include "model/DeleteNodesResult.h"
#include "model/StopVisualServiceRequest.h"
#include "model/StopVisualServiceResult.h"
#include "model/ListJobsRequest.h"
#include "model/ListJobsResult.h"
#include "model/CreateClusterRequest.h"
#include "model/CreateClusterResult.h"
#include "model/DescribeImageRequest.h"
#include "model/DescribeImageResult.h"
#include "model/ModifyUserPasswordsRequest.h"
#include "model/ModifyUserPasswordsResult.h"
#include "model/DescribeImageRequest.h"
#include "model/DescribeImageResult.h"
#include "model/DeleteQueueRequest.h"
#include "model/DeleteQueueResult.h"
#include "model/ListCpfsFileSystemsRequest.h"
#include "model/ListCpfsFileSystemsResult.h"
#include "model/ListInstalledSoftwareRequest.h"
#include "model/ListInstalledSoftwareResult.h"
#include "model/UpgradeClientRequest.h"
#include "model/UpgradeClientResult.h"
#include "model/ListAvailableFileSystemTypesRequest.h"
#include "model/ListAvailableFileSystemTypesResult.h"
#include "model/ListClustersMetaRequest.h"
#include "model/ListClustersMetaResult.h"
#include "model/DeleteClusterRequest.h"
#include "model/DeleteClusterResult.h"
#include "model/ListImagesRequest.h"
@@ -128,20 +150,30 @@
#include "model/ListContainerAppsResult.h"
#include "model/ListQueuesRequest.h"
#include "model/ListQueuesResult.h"
#include "model/CreateJobFileRequest.h"
#include "model/CreateJobFileResult.h"
#include "model/ListCloudMetricProfilingsRequest.h"
#include "model/ListCloudMetricProfilingsResult.h"
#include "model/GetClusterVolumesRequest.h"
#include "model/GetClusterVolumesResult.h"
#include "model/SetJobUserRequest.h"
#include "model/SetJobUserResult.h"
#include "model/ListClustersRequest.h"
#include "model/ListClustersResult.h"
#include "model/SubmitJobRequest.h"
#include "model/SubmitJobResult.h"
#include "model/GetAccountingReportRequest.h"
#include "model/GetAccountingReportResult.h"
#include "model/ListRegionsRequest.h"
#include "model/ListRegionsResult.h"
#include "model/DescribeAutoScaleConfigRequest.h"
#include "model/DescribeAutoScaleConfigResult.h"
#include "model/GetVisualServiceStatusRequest.h"
#include "model/GetVisualServiceStatusResult.h"
#include "model/RunCloudMetricProfilingRequest.h"
#include "model/RunCloudMetricProfilingResult.h"
#include "model/StartVisualServiceRequest.h"
#include "model/StartVisualServiceResult.h"
#include "model/DescribePriceRequest.h"
#include "model/DescribePriceResult.h"
#include "model/RerunJobsRequest.h"
@@ -150,16 +182,22 @@
#include "model/EditJobTemplateResult.h"
#include "model/AddLocalNodesRequest.h"
#include "model/AddLocalNodesResult.h"
#include "model/ModifyVisualServicePasswdRequest.h"
#include "model/ModifyVisualServicePasswdResult.h"
#include "model/ListPreferredEcsTypesRequest.h"
#include "model/ListPreferredEcsTypesResult.h"
#include "model/AddContainerAppRequest.h"
#include "model/AddContainerAppResult.h"
#include "model/InstallSoftwareRequest.h"
#include "model/InstallSoftwareResult.h"
#include "model/ListClusterLogsRequest.h"
#include "model/ListClusterLogsResult.h"
#include "model/RecoverClusterRequest.h"
#include "model/RecoverClusterResult.h"
#include "model/ListAvailableEcsTypesRequest.h"
#include "model/ListAvailableEcsTypesResult.h"
#include "model/AddQueueRequest.h"
#include "model/AddQueueResult.h"
namespace AlibabaCloud
@@ -169,6 +207,9 @@ namespace AlibabaCloud
class ALIBABACLOUD_EHPC_EXPORT EHPCClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::DescribeJobResult> DescribeJobOutcome;
typedef std::future<DescribeJobOutcome> DescribeJobOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DescribeJobRequest&, const DescribeJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeJobAsyncHandler;
typedef Outcome<Error, Model::DeleteImageResult> DeleteImageOutcome;
typedef std::future<DeleteImageOutcome> DeleteImageOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DeleteImageRequest&, const DeleteImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteImageAsyncHandler;
@@ -193,21 +234,27 @@ namespace AlibabaCloud
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::UpdateClusterVolumesResult> UpdateClusterVolumesOutcome;
typedef std::future<UpdateClusterVolumesOutcome> UpdateClusterVolumesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::UpdateClusterVolumesRequest&, const UpdateClusterVolumesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateClusterVolumesAsyncHandler;
typedef Outcome<Error, Model::ListNodesByQueueResult> ListNodesByQueueOutcome;
typedef std::future<ListNodesByQueueOutcome> ListNodesByQueueOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListNodesByQueueRequest&, const ListNodesByQueueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListNodesByQueueAsyncHandler;
typedef Outcome<Error, Model::ModifyContainerAppAttributesResult> ModifyContainerAppAttributesOutcome;
typedef std::future<ModifyContainerAppAttributesOutcome> ModifyContainerAppAttributesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ModifyContainerAppAttributesRequest&, const ModifyContainerAppAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyContainerAppAttributesAsyncHandler;
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::ListInvocationResultsResult> ListInvocationResultsOutcome;
typedef std::future<ListInvocationResultsOutcome> ListInvocationResultsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListInvocationResultsRequest&, const ListInvocationResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInvocationResultsAsyncHandler;
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::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::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::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::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;
@@ -217,12 +264,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetCloudMetricProfilingResult> GetCloudMetricProfilingOutcome;
typedef std::future<GetCloudMetricProfilingOutcome> GetCloudMetricProfilingOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::GetCloudMetricProfilingRequest&, const GetCloudMetricProfilingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCloudMetricProfilingAsyncHandler;
typedef Outcome<Error, Model::DescribeImagePriceResult> DescribeImagePriceOutcome;
typedef std::future<DescribeImagePriceOutcome> DescribeImagePriceOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DescribeImagePriceRequest&, const DescribeImagePriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImagePriceAsyncHandler;
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::DescribeImagePriceResult> DescribeImagePriceOutcome;
typedef std::future<DescribeImagePriceOutcome> DescribeImagePriceOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DescribeImagePriceRequest&, const DescribeImagePriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImagePriceAsyncHandler;
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;
@@ -232,6 +279,9 @@ namespace AlibabaCloud
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::SetQueueResult> SetQueueOutcome;
typedef std::future<SetQueueOutcome> SetQueueOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::SetQueueRequest&, const SetQueueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetQueueAsyncHandler;
typedef Outcome<Error, Model::ListCommandsResult> ListCommandsOutcome;
typedef std::future<ListCommandsOutcome> ListCommandsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListCommandsRequest&, const ListCommandsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCommandsAsyncHandler;
@@ -241,21 +291,21 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::InvokeShellCommandResult> InvokeShellCommandOutcome;
typedef std::future<InvokeShellCommandOutcome> InvokeShellCommandOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::InvokeShellCommandRequest&, const InvokeShellCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InvokeShellCommandAsyncHandler;
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::ListFileSystemWithMountTargetsResult> ListFileSystemWithMountTargetsOutcome;
typedef std::future<ListFileSystemWithMountTargetsOutcome> ListFileSystemWithMountTargetsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListFileSystemWithMountTargetsRequest&, const ListFileSystemWithMountTargetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFileSystemWithMountTargetsAsyncHandler;
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 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 std::function<void(const EHPCClient*, const Model::ModifyClusterAttributesRequest&, const ModifyClusterAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyClusterAttributesAsyncHandler;
typedef Outcome<Error, Model::DescribeImageGatewayConfigResult> DescribeImageGatewayConfigOutcome;
typedef std::future<DescribeImageGatewayConfigOutcome> DescribeImageGatewayConfigOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DescribeImageGatewayConfigRequest&, const DescribeImageGatewayConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImageGatewayConfigAsyncHandler;
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 std::function<void(const EHPCClient*, const Model::DeleteJobTemplatesRequest&, const DeleteJobTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteJobTemplatesAsyncHandler;
@@ -268,15 +318,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetCloudMetricLogsResult> GetCloudMetricLogsOutcome;
typedef std::future<GetCloudMetricLogsOutcome> GetCloudMetricLogsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::GetCloudMetricLogsRequest&, const GetCloudMetricLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCloudMetricLogsAsyncHandler;
typedef Outcome<Error, Model::GetHybridClusterConfigResult> GetHybridClusterConfigOutcome;
typedef std::future<GetHybridClusterConfigOutcome> GetHybridClusterConfigOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::GetHybridClusterConfigRequest&, const GetHybridClusterConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetHybridClusterConfigAsyncHandler;
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::GetHybridClusterConfigResult> GetHybridClusterConfigOutcome;
typedef std::future<GetHybridClusterConfigOutcome> GetHybridClusterConfigOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::GetHybridClusterConfigRequest&, const GetHybridClusterConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetHybridClusterConfigAsyncHandler;
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::UninstallSoftwareResult> UninstallSoftwareOutcome;
typedef std::future<UninstallSoftwareOutcome> UninstallSoftwareOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::UninstallSoftwareRequest&, const UninstallSoftwareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UninstallSoftwareAsyncHandler;
typedef Outcome<Error, Model::CreateHybridClusterResult> CreateHybridClusterOutcome;
typedef std::future<CreateHybridClusterOutcome> CreateHybridClusterOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::CreateHybridClusterRequest&, const CreateHybridClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateHybridClusterAsyncHandler;
@@ -289,21 +342,39 @@ namespace AlibabaCloud
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::StopVisualServiceResult> StopVisualServiceOutcome;
typedef std::future<StopVisualServiceOutcome> StopVisualServiceOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::StopVisualServiceRequest&, const StopVisualServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopVisualServiceAsyncHandler;
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 std::function<void(const EHPCClient*, const Model::CreateClusterRequest&, const CreateClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateClusterAsyncHandler;
typedef Outcome<Error, Model::DescribeImageResult> DescribeImageOutcome;
typedef std::future<DescribeImageOutcome> DescribeImageOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DescribeImageRequest&, const DescribeImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImageAsyncHandler;
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;
typedef Outcome<Error, Model::DescribeImageResult> DescribeImageOutcome;
typedef std::future<DescribeImageOutcome> DescribeImageOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DescribeImageRequest&, const DescribeImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeImageAsyncHandler;
typedef Outcome<Error, Model::DeleteQueueResult> DeleteQueueOutcome;
typedef std::future<DeleteQueueOutcome> DeleteQueueOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DeleteQueueRequest&, const DeleteQueueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteQueueAsyncHandler;
typedef Outcome<Error, Model::ListCpfsFileSystemsResult> ListCpfsFileSystemsOutcome;
typedef std::future<ListCpfsFileSystemsOutcome> ListCpfsFileSystemsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListCpfsFileSystemsRequest&, const ListCpfsFileSystemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCpfsFileSystemsAsyncHandler;
typedef Outcome<Error, Model::ListInstalledSoftwareResult> ListInstalledSoftwareOutcome;
typedef std::future<ListInstalledSoftwareOutcome> ListInstalledSoftwareOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListInstalledSoftwareRequest&, const ListInstalledSoftwareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInstalledSoftwareAsyncHandler;
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::ListAvailableFileSystemTypesResult> ListAvailableFileSystemTypesOutcome;
typedef std::future<ListAvailableFileSystemTypesOutcome> ListAvailableFileSystemTypesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListAvailableFileSystemTypesRequest&, const ListAvailableFileSystemTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAvailableFileSystemTypesAsyncHandler;
typedef Outcome<Error, Model::ListClustersMetaResult> ListClustersMetaOutcome;
typedef std::future<ListClustersMetaOutcome> ListClustersMetaOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListClustersMetaRequest&, const ListClustersMetaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListClustersMetaAsyncHandler;
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;
@@ -328,9 +399,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListQueuesResult> ListQueuesOutcome;
typedef std::future<ListQueuesOutcome> ListQueuesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListQueuesRequest&, const ListQueuesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListQueuesAsyncHandler;
typedef Outcome<Error, Model::CreateJobFileResult> CreateJobFileOutcome;
typedef std::future<CreateJobFileOutcome> CreateJobFileOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::CreateJobFileRequest&, const CreateJobFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateJobFileAsyncHandler;
typedef Outcome<Error, Model::ListCloudMetricProfilingsResult> ListCloudMetricProfilingsOutcome;
typedef std::future<ListCloudMetricProfilingsOutcome> ListCloudMetricProfilingsOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListCloudMetricProfilingsRequest&, const ListCloudMetricProfilingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCloudMetricProfilingsAsyncHandler;
typedef Outcome<Error, Model::GetClusterVolumesResult> GetClusterVolumesOutcome;
typedef std::future<GetClusterVolumesOutcome> GetClusterVolumesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::GetClusterVolumesRequest&, const GetClusterVolumesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetClusterVolumesAsyncHandler;
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;
@@ -340,15 +417,24 @@ namespace AlibabaCloud
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::GetAccountingReportResult> GetAccountingReportOutcome;
typedef std::future<GetAccountingReportOutcome> GetAccountingReportOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::GetAccountingReportRequest&, const GetAccountingReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccountingReportAsyncHandler;
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::DescribeAutoScaleConfigResult> DescribeAutoScaleConfigOutcome;
typedef std::future<DescribeAutoScaleConfigOutcome> DescribeAutoScaleConfigOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DescribeAutoScaleConfigRequest&, const DescribeAutoScaleConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAutoScaleConfigAsyncHandler;
typedef Outcome<Error, Model::GetVisualServiceStatusResult> GetVisualServiceStatusOutcome;
typedef std::future<GetVisualServiceStatusOutcome> GetVisualServiceStatusOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::GetVisualServiceStatusRequest&, const GetVisualServiceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVisualServiceStatusAsyncHandler;
typedef Outcome<Error, Model::RunCloudMetricProfilingResult> RunCloudMetricProfilingOutcome;
typedef std::future<RunCloudMetricProfilingOutcome> RunCloudMetricProfilingOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::RunCloudMetricProfilingRequest&, const RunCloudMetricProfilingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunCloudMetricProfilingAsyncHandler;
typedef Outcome<Error, Model::StartVisualServiceResult> StartVisualServiceOutcome;
typedef std::future<StartVisualServiceOutcome> StartVisualServiceOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::StartVisualServiceRequest&, const StartVisualServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartVisualServiceAsyncHandler;
typedef Outcome<Error, Model::DescribePriceResult> DescribePriceOutcome;
typedef std::future<DescribePriceOutcome> DescribePriceOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::DescribePriceRequest&, const DescribePriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePriceAsyncHandler;
@@ -361,12 +447,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddLocalNodesResult> AddLocalNodesOutcome;
typedef std::future<AddLocalNodesOutcome> AddLocalNodesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::AddLocalNodesRequest&, const AddLocalNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddLocalNodesAsyncHandler;
typedef Outcome<Error, Model::ModifyVisualServicePasswdResult> ModifyVisualServicePasswdOutcome;
typedef std::future<ModifyVisualServicePasswdOutcome> ModifyVisualServicePasswdOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ModifyVisualServicePasswdRequest&, const ModifyVisualServicePasswdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyVisualServicePasswdAsyncHandler;
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::AddContainerAppResult> AddContainerAppOutcome;
typedef std::future<AddContainerAppOutcome> AddContainerAppOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::AddContainerAppRequest&, const AddContainerAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddContainerAppAsyncHandler;
typedef Outcome<Error, Model::InstallSoftwareResult> InstallSoftwareOutcome;
typedef std::future<InstallSoftwareOutcome> InstallSoftwareOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::InstallSoftwareRequest&, const InstallSoftwareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InstallSoftwareAsyncHandler;
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;
@@ -376,11 +468,17 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListAvailableEcsTypesResult> ListAvailableEcsTypesOutcome;
typedef std::future<ListAvailableEcsTypesOutcome> ListAvailableEcsTypesOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::ListAvailableEcsTypesRequest&, const ListAvailableEcsTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAvailableEcsTypesAsyncHandler;
typedef Outcome<Error, Model::AddQueueResult> AddQueueOutcome;
typedef std::future<AddQueueOutcome> AddQueueOutcomeCallable;
typedef std::function<void(const EHPCClient*, const Model::AddQueueRequest&, const AddQueueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddQueueAsyncHandler;
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();
DescribeJobOutcome describeJob(const Model::DescribeJobRequest &request)const;
void describeJobAsync(const Model::DescribeJobRequest& request, const DescribeJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeJobOutcomeCallable describeJobCallable(const Model::DescribeJobRequest& request) const;
DeleteImageOutcome deleteImage(const Model::DeleteImageRequest &request)const;
void deleteImageAsync(const Model::DeleteImageRequest& request, const DeleteImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteImageOutcomeCallable deleteImageCallable(const Model::DeleteImageRequest& request) const;
@@ -405,21 +503,27 @@ namespace AlibabaCloud
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;
UpdateClusterVolumesOutcome updateClusterVolumes(const Model::UpdateClusterVolumesRequest &request)const;
void updateClusterVolumesAsync(const Model::UpdateClusterVolumesRequest& request, const UpdateClusterVolumesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateClusterVolumesOutcomeCallable updateClusterVolumesCallable(const Model::UpdateClusterVolumesRequest& request) const;
ListNodesByQueueOutcome listNodesByQueue(const Model::ListNodesByQueueRequest &request)const;
void listNodesByQueueAsync(const Model::ListNodesByQueueRequest& request, const ListNodesByQueueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListNodesByQueueOutcomeCallable listNodesByQueueCallable(const Model::ListNodesByQueueRequest& request) const;
ModifyContainerAppAttributesOutcome modifyContainerAppAttributes(const Model::ModifyContainerAppAttributesRequest &request)const;
void modifyContainerAppAttributesAsync(const Model::ModifyContainerAppAttributesRequest& request, const ModifyContainerAppAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyContainerAppAttributesOutcomeCallable modifyContainerAppAttributesCallable(const Model::ModifyContainerAppAttributesRequest& 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;
ListInvocationResultsOutcome listInvocationResults(const Model::ListInvocationResultsRequest &request)const;
void listInvocationResultsAsync(const Model::ListInvocationResultsRequest& request, const ListInvocationResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInvocationResultsOutcomeCallable listInvocationResultsCallable(const Model::ListInvocationResultsRequest& 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;
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;
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;
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;
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;
@@ -429,12 +533,12 @@ namespace AlibabaCloud
GetCloudMetricProfilingOutcome getCloudMetricProfiling(const Model::GetCloudMetricProfilingRequest &request)const;
void getCloudMetricProfilingAsync(const Model::GetCloudMetricProfilingRequest& request, const GetCloudMetricProfilingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCloudMetricProfilingOutcomeCallable getCloudMetricProfilingCallable(const Model::GetCloudMetricProfilingRequest& request) const;
DescribeImagePriceOutcome describeImagePrice(const Model::DescribeImagePriceRequest &request)const;
void describeImagePriceAsync(const Model::DescribeImagePriceRequest& request, const DescribeImagePriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeImagePriceOutcomeCallable describeImagePriceCallable(const Model::DescribeImagePriceRequest& 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;
DescribeImagePriceOutcome describeImagePrice(const Model::DescribeImagePriceRequest &request)const;
void describeImagePriceAsync(const Model::DescribeImagePriceRequest& request, const DescribeImagePriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeImagePriceOutcomeCallable describeImagePriceCallable(const Model::DescribeImagePriceRequest& 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;
@@ -444,6 +548,9 @@ namespace AlibabaCloud
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;
SetQueueOutcome setQueue(const Model::SetQueueRequest &request)const;
void setQueueAsync(const Model::SetQueueRequest& request, const SetQueueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetQueueOutcomeCallable setQueueCallable(const Model::SetQueueRequest& request) const;
ListCommandsOutcome listCommands(const Model::ListCommandsRequest &request)const;
void listCommandsAsync(const Model::ListCommandsRequest& request, const ListCommandsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCommandsOutcomeCallable listCommandsCallable(const Model::ListCommandsRequest& request) const;
@@ -453,21 +560,21 @@ namespace AlibabaCloud
InvokeShellCommandOutcome invokeShellCommand(const Model::InvokeShellCommandRequest &request)const;
void invokeShellCommandAsync(const Model::InvokeShellCommandRequest& request, const InvokeShellCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InvokeShellCommandOutcomeCallable invokeShellCommandCallable(const Model::InvokeShellCommandRequest& 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;
ListFileSystemWithMountTargetsOutcome listFileSystemWithMountTargets(const Model::ListFileSystemWithMountTargetsRequest &request)const;
void listFileSystemWithMountTargetsAsync(const Model::ListFileSystemWithMountTargetsRequest& request, const ListFileSystemWithMountTargetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFileSystemWithMountTargetsOutcomeCallable listFileSystemWithMountTargetsCallable(const Model::ListFileSystemWithMountTargetsRequest& 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;
DescribeImageGatewayConfigOutcome describeImageGatewayConfig(const Model::DescribeImageGatewayConfigRequest &request)const;
void describeImageGatewayConfigAsync(const Model::DescribeImageGatewayConfigRequest& request, const DescribeImageGatewayConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeImageGatewayConfigOutcomeCallable describeImageGatewayConfigCallable(const Model::DescribeImageGatewayConfigRequest& 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;
@@ -480,15 +587,18 @@ namespace AlibabaCloud
GetCloudMetricLogsOutcome getCloudMetricLogs(const Model::GetCloudMetricLogsRequest &request)const;
void getCloudMetricLogsAsync(const Model::GetCloudMetricLogsRequest& request, const GetCloudMetricLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCloudMetricLogsOutcomeCallable getCloudMetricLogsCallable(const Model::GetCloudMetricLogsRequest& request) const;
GetHybridClusterConfigOutcome getHybridClusterConfig(const Model::GetHybridClusterConfigRequest &request)const;
void getHybridClusterConfigAsync(const Model::GetHybridClusterConfigRequest& request, const GetHybridClusterConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetHybridClusterConfigOutcomeCallable getHybridClusterConfigCallable(const Model::GetHybridClusterConfigRequest& 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;
GetHybridClusterConfigOutcome getHybridClusterConfig(const Model::GetHybridClusterConfigRequest &request)const;
void getHybridClusterConfigAsync(const Model::GetHybridClusterConfigRequest& request, const GetHybridClusterConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetHybridClusterConfigOutcomeCallable getHybridClusterConfigCallable(const Model::GetHybridClusterConfigRequest& 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;
UninstallSoftwareOutcome uninstallSoftware(const Model::UninstallSoftwareRequest &request)const;
void uninstallSoftwareAsync(const Model::UninstallSoftwareRequest& request, const UninstallSoftwareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UninstallSoftwareOutcomeCallable uninstallSoftwareCallable(const Model::UninstallSoftwareRequest& request) const;
CreateHybridClusterOutcome createHybridCluster(const Model::CreateHybridClusterRequest &request)const;
void createHybridClusterAsync(const Model::CreateHybridClusterRequest& request, const CreateHybridClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateHybridClusterOutcomeCallable createHybridClusterCallable(const Model::CreateHybridClusterRequest& request) const;
@@ -501,21 +611,39 @@ namespace AlibabaCloud
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;
StopVisualServiceOutcome stopVisualService(const Model::StopVisualServiceRequest &request)const;
void stopVisualServiceAsync(const Model::StopVisualServiceRequest& request, const StopVisualServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopVisualServiceOutcomeCallable stopVisualServiceCallable(const Model::StopVisualServiceRequest& 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;
DescribeImageOutcome describeImage(const Model::DescribeImageRequest &request)const;
void describeImageAsync(const Model::DescribeImageRequest& request, const DescribeImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeImageOutcomeCallable describeImageCallable(const Model::DescribeImageRequest& 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;
DescribeImageOutcome describeImage(const Model::DescribeImageRequest &request)const;
void describeImageAsync(const Model::DescribeImageRequest& request, const DescribeImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeImageOutcomeCallable describeImageCallable(const Model::DescribeImageRequest& request) const;
DeleteQueueOutcome deleteQueue(const Model::DeleteQueueRequest &request)const;
void deleteQueueAsync(const Model::DeleteQueueRequest& request, const DeleteQueueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteQueueOutcomeCallable deleteQueueCallable(const Model::DeleteQueueRequest& request) const;
ListCpfsFileSystemsOutcome listCpfsFileSystems(const Model::ListCpfsFileSystemsRequest &request)const;
void listCpfsFileSystemsAsync(const Model::ListCpfsFileSystemsRequest& request, const ListCpfsFileSystemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCpfsFileSystemsOutcomeCallable listCpfsFileSystemsCallable(const Model::ListCpfsFileSystemsRequest& request) const;
ListInstalledSoftwareOutcome listInstalledSoftware(const Model::ListInstalledSoftwareRequest &request)const;
void listInstalledSoftwareAsync(const Model::ListInstalledSoftwareRequest& request, const ListInstalledSoftwareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInstalledSoftwareOutcomeCallable listInstalledSoftwareCallable(const Model::ListInstalledSoftwareRequest& 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;
ListAvailableFileSystemTypesOutcome listAvailableFileSystemTypes(const Model::ListAvailableFileSystemTypesRequest &request)const;
void listAvailableFileSystemTypesAsync(const Model::ListAvailableFileSystemTypesRequest& request, const ListAvailableFileSystemTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAvailableFileSystemTypesOutcomeCallable listAvailableFileSystemTypesCallable(const Model::ListAvailableFileSystemTypesRequest& request) const;
ListClustersMetaOutcome listClustersMeta(const Model::ListClustersMetaRequest &request)const;
void listClustersMetaAsync(const Model::ListClustersMetaRequest& request, const ListClustersMetaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListClustersMetaOutcomeCallable listClustersMetaCallable(const Model::ListClustersMetaRequest& 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;
@@ -540,9 +668,15 @@ namespace AlibabaCloud
ListQueuesOutcome listQueues(const Model::ListQueuesRequest &request)const;
void listQueuesAsync(const Model::ListQueuesRequest& request, const ListQueuesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListQueuesOutcomeCallable listQueuesCallable(const Model::ListQueuesRequest& request) const;
CreateJobFileOutcome createJobFile(const Model::CreateJobFileRequest &request)const;
void createJobFileAsync(const Model::CreateJobFileRequest& request, const CreateJobFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateJobFileOutcomeCallable createJobFileCallable(const Model::CreateJobFileRequest& request) const;
ListCloudMetricProfilingsOutcome listCloudMetricProfilings(const Model::ListCloudMetricProfilingsRequest &request)const;
void listCloudMetricProfilingsAsync(const Model::ListCloudMetricProfilingsRequest& request, const ListCloudMetricProfilingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCloudMetricProfilingsOutcomeCallable listCloudMetricProfilingsCallable(const Model::ListCloudMetricProfilingsRequest& request) const;
GetClusterVolumesOutcome getClusterVolumes(const Model::GetClusterVolumesRequest &request)const;
void getClusterVolumesAsync(const Model::GetClusterVolumesRequest& request, const GetClusterVolumesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetClusterVolumesOutcomeCallable getClusterVolumesCallable(const Model::GetClusterVolumesRequest& 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;
@@ -552,15 +686,24 @@ namespace AlibabaCloud
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;
GetAccountingReportOutcome getAccountingReport(const Model::GetAccountingReportRequest &request)const;
void getAccountingReportAsync(const Model::GetAccountingReportRequest& request, const GetAccountingReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAccountingReportOutcomeCallable getAccountingReportCallable(const Model::GetAccountingReportRequest& 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;
DescribeAutoScaleConfigOutcome describeAutoScaleConfig(const Model::DescribeAutoScaleConfigRequest &request)const;
void describeAutoScaleConfigAsync(const Model::DescribeAutoScaleConfigRequest& request, const DescribeAutoScaleConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAutoScaleConfigOutcomeCallable describeAutoScaleConfigCallable(const Model::DescribeAutoScaleConfigRequest& request) const;
GetVisualServiceStatusOutcome getVisualServiceStatus(const Model::GetVisualServiceStatusRequest &request)const;
void getVisualServiceStatusAsync(const Model::GetVisualServiceStatusRequest& request, const GetVisualServiceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetVisualServiceStatusOutcomeCallable getVisualServiceStatusCallable(const Model::GetVisualServiceStatusRequest& request) const;
RunCloudMetricProfilingOutcome runCloudMetricProfiling(const Model::RunCloudMetricProfilingRequest &request)const;
void runCloudMetricProfilingAsync(const Model::RunCloudMetricProfilingRequest& request, const RunCloudMetricProfilingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RunCloudMetricProfilingOutcomeCallable runCloudMetricProfilingCallable(const Model::RunCloudMetricProfilingRequest& request) const;
StartVisualServiceOutcome startVisualService(const Model::StartVisualServiceRequest &request)const;
void startVisualServiceAsync(const Model::StartVisualServiceRequest& request, const StartVisualServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartVisualServiceOutcomeCallable startVisualServiceCallable(const Model::StartVisualServiceRequest& request) const;
DescribePriceOutcome describePrice(const Model::DescribePriceRequest &request)const;
void describePriceAsync(const Model::DescribePriceRequest& request, const DescribePriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePriceOutcomeCallable describePriceCallable(const Model::DescribePriceRequest& request) const;
@@ -573,12 +716,18 @@ namespace AlibabaCloud
AddLocalNodesOutcome addLocalNodes(const Model::AddLocalNodesRequest &request)const;
void addLocalNodesAsync(const Model::AddLocalNodesRequest& request, const AddLocalNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddLocalNodesOutcomeCallable addLocalNodesCallable(const Model::AddLocalNodesRequest& request) const;
ModifyVisualServicePasswdOutcome modifyVisualServicePasswd(const Model::ModifyVisualServicePasswdRequest &request)const;
void modifyVisualServicePasswdAsync(const Model::ModifyVisualServicePasswdRequest& request, const ModifyVisualServicePasswdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyVisualServicePasswdOutcomeCallable modifyVisualServicePasswdCallable(const Model::ModifyVisualServicePasswdRequest& 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;
AddContainerAppOutcome addContainerApp(const Model::AddContainerAppRequest &request)const;
void addContainerAppAsync(const Model::AddContainerAppRequest& request, const AddContainerAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddContainerAppOutcomeCallable addContainerAppCallable(const Model::AddContainerAppRequest& request) const;
InstallSoftwareOutcome installSoftware(const Model::InstallSoftwareRequest &request)const;
void installSoftwareAsync(const Model::InstallSoftwareRequest& request, const InstallSoftwareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InstallSoftwareOutcomeCallable installSoftwareCallable(const Model::InstallSoftwareRequest& 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;
@@ -588,6 +737,9 @@ namespace AlibabaCloud
ListAvailableEcsTypesOutcome listAvailableEcsTypes(const Model::ListAvailableEcsTypesRequest &request)const;
void listAvailableEcsTypesAsync(const Model::ListAvailableEcsTypesRequest& request, const ListAvailableEcsTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAvailableEcsTypesOutcomeCallable listAvailableEcsTypesCallable(const Model::ListAvailableEcsTypesRequest& request) const;
AddQueueOutcome addQueue(const Model::AddQueueRequest &request)const;
void addQueueAsync(const Model::AddQueueRequest& request, const AddQueueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddQueueOutcomeCallable addQueueCallable(const Model::AddQueueRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -53,6 +53,8 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
std::string getImageOwnerAlias()const;
void setImageOwnerAlias(const std::string& imageOwnerAlias);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getPeriodUnit()const;
void setPeriodUnit(const std::string& periodUnit);
std::string getAutoRenew()const;
@@ -61,8 +63,12 @@ namespace AlibabaCloud
void setEcsChargeType(const std::string& ecsChargeType);
std::string getCreateMode()const;
void setCreateMode(const std::string& createMode);
int getSystemDiskSize()const;
void setSystemDiskSize(int systemDiskSize);
std::string getInstanceType()const;
void setInstanceType(const std::string& instanceType);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getComputeSpotPriceLimit()const;
void setComputeSpotPriceLimit(const std::string& computeSpotPriceLimit);
@@ -76,11 +82,14 @@ namespace AlibabaCloud
std::string jobQueue_;
std::string accessKeyId_;
std::string imageOwnerAlias_;
std::string vSwitchId_;
std::string periodUnit_;
std::string autoRenew_;
std::string ecsChargeType_;
std::string createMode_;
int systemDiskSize_;
std::string instanceType_;
std::string zoneId_;
std::string computeSpotPriceLimit_;
};

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_ADDQUEUEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDQUEUEREQUEST_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 AddQueueRequest : public RpcServiceRequest
{
public:
AddQueueRequest();
~AddQueueRequest();
std::string getQueueName()const;
void setQueueName(const std::string& queueName);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string queueName_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDQUEUEREQUEST_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_ADDQUEUERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_ADDQUEUERESULT_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 AddQueueResult : public ServiceResult
{
public:
AddQueueResult();
explicit AddQueueResult(const std::string &payload);
~AddQueueResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_ADDQUEUERESULT_H_

View File

@@ -30,6 +30,18 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_EHPC_EXPORT CreateClusterRequest : public RpcServiceRequest
{
struct AdditionalVolumes
{
std::string volumeType;
std::string volumeProtocol;
std::string localDirectory;
std::string remoteDirectory;
RepeatList roles;
std::string volumeId;
std::string volumeMountpoint;
std::string location;
std::string jobQueue;
};
struct PostInstallScript
{
std::string args;
@@ -48,6 +60,8 @@ namespace AlibabaCloud
void setSccClusterId(const std::string& sccClusterId);
std::string getImageId()const;
void setImageId(const std::string& imageId);
std::vector<AdditionalVolumes> getAdditionalVolumes()const;
void setAdditionalVolumes(const std::vector<AdditionalVolumes>& additionalVolumes);
std::string getEcsOrderManagerInstanceType()const;
void setEcsOrderManagerInstanceType(const std::string& ecsOrderManagerInstanceType);
std::string getEhpcVersion()const;
@@ -76,10 +90,16 @@ namespace AlibabaCloud
void setDeployMode(const std::string& deployMode);
int getEcsOrderManagerCount()const;
void setEcsOrderManagerCount(int ecsOrderManagerCount);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getPassword()const;
void setPassword(const std::string& password);
int getEcsOrderLoginCount()const;
void setEcsOrderLoginCount(int ecsOrderLoginCount);
std::string getRemoteVisEnable()const;
void setRemoteVisEnable(const std::string& remoteVisEnable);
int getSystemDiskSize()const;
void setSystemDiskSize(int systemDiskSize);
std::string getComputeSpotPriceLimit()const;
void setComputeSpotPriceLimit(const std::string& computeSpotPriceLimit);
int getAutoRenewPeriod()const;
@@ -132,6 +152,7 @@ namespace AlibabaCloud
private:
std::string sccClusterId_;
std::string imageId_;
std::vector<AdditionalVolumes> additionalVolumes_;
std::string ecsOrderManagerInstanceType_;
std::string ehpcVersion_;
std::string accountType_;
@@ -146,8 +167,11 @@ namespace AlibabaCloud
std::string volumeType_;
std::string deployMode_;
int ecsOrderManagerCount_;
std::string resourceGroupId_;
std::string password_;
int ecsOrderLoginCount_;
std::string remoteVisEnable_;
int systemDiskSize_;
std::string computeSpotPriceLimit_;
int autoRenewPeriod_;
int period_;

View File

@@ -64,6 +64,8 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
std::string getVolumeType()const;
void setVolumeType(const std::string& volumeType);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getPassword()const;
void setPassword(const std::string& password);
std::string getOnPremiseVolumeMountPoint()const;
@@ -114,6 +116,7 @@ namespace AlibabaCloud
std::string jobQueue_;
std::string accessKeyId_;
std::string volumeType_;
std::string resourceGroupId_;
std::string password_;
std::string onPremiseVolumeMountPoint_;
std::string onPremiseVolumeProtocol_;

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_CREATEJOBFILEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEJOBFILEREQUEST_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 CreateJobFileRequest : public RpcServiceRequest
{
public:
CreateJobFileRequest();
~CreateJobFileRequest();
std::string getTargetFile()const;
void setTargetFile(const std::string& targetFile);
std::string getRunasUserPassword()const;
void setRunasUserPassword(const std::string& runasUserPassword);
std::string getRunasUser()const;
void setRunasUser(const std::string& runasUser);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getContent()const;
void setContent(const std::string& content);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string targetFile_;
std::string runasUserPassword_;
std::string runasUser_;
std::string clusterId_;
std::string content_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEJOBFILEREQUEST_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_CREATEJOBFILERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEJOBFILERESULT_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 CreateJobFileResult : public ServiceResult
{
public:
CreateJobFileResult();
explicit CreateJobFileResult(const std::string &payload);
~CreateJobFileResult();
std::string getTemplateId()const;
protected:
void parse(const std::string &payload);
private:
std::string templateId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEJOBFILERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DELETEQUEUEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEQUEUEREQUEST_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 DeleteQueueRequest : public RpcServiceRequest
{
public:
DeleteQueueRequest();
~DeleteQueueRequest();
std::string getQueueName()const;
void setQueueName(const std::string& queueName);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string queueName_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEQUEUEREQUEST_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_DELETEQUEUERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEQUEUERESULT_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 DeleteQueueResult : public ServiceResult
{
public:
DeleteQueueResult();
explicit DeleteQueueResult(const std::string &payload);
~DeleteQueueResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEQUEUERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBREQUEST_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 DescribeJobRequest : public RpcServiceRequest
{
public:
DescribeJobRequest();
~DescribeJobRequest();
std::string getJobId()const;
void setJobId(const std::string& jobId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string jobId_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBRESULT_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 DescribeJobResult : public ServiceResult
{
public:
struct Message
{
std::string jobInfo;
};
DescribeJobResult();
explicit DescribeJobResult(const std::string &payload);
~DescribeJobResult();
Message getMessage()const;
protected:
void parse(const std::string &payload);
private:
Message message_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEJOBRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_GETACCOUNTINGREPORTREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETACCOUNTINGREPORTREQUEST_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 GetAccountingReportRequest : public RpcServiceRequest
{
public:
GetAccountingReportRequest();
~GetAccountingReportRequest();
std::string getReportType()const;
void setReportType(const std::string& reportType);
int getEndTime()const;
void setEndTime(int endTime);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
int getStartTime()const;
void setStartTime(int startTime);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string reportType_;
int endTime_;
std::string clusterId_;
int startTime_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETACCOUNTINGREPORTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_GETACCOUNTINGREPORTRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETACCOUNTINGREPORTRESULT_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 GetAccountingReportResult : public ServiceResult
{
public:
GetAccountingReportResult();
explicit GetAccountingReportResult(const std::string &payload);
~GetAccountingReportResult();
std::string getMetrics()const;
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string metrics_;
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETACCOUNTINGREPORTRESULT_H_

View File

@@ -34,8 +34,15 @@ namespace AlibabaCloud
public:
struct QueueInfo
{
struct InstanceTypeInfo
{
float spotPriceLimit;
std::string instanceType;
std::string spotStrategy;
};
bool enableAutoGrow;
float spotPriceLimit;
std::vector<QueueInfo::InstanceTypeInfo> instanceTypes;
bool enableAutoShrink;
std::string instanceType;
std::string queueName;

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_GETCLUSTERVOLUMESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETCLUSTERVOLUMESREQUEST_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 GetClusterVolumesRequest : public RpcServiceRequest
{
public:
GetClusterVolumesRequest();
~GetClusterVolumesRequest();
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_GETCLUSTERVOLUMESREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* 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_GETCLUSTERVOLUMESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETCLUSTERVOLUMESRESULT_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 GetClusterVolumesResult : public ServiceResult
{
public:
struct VolumeInfo
{
struct RoleInfo
{
std::string name;
};
std::string volumeProtocol;
std::string volumeId;
std::string remoteDirectory;
std::string localDirectory;
std::string volumeType;
std::string jobQueue;
bool mustKeep;
std::vector<VolumeInfo::RoleInfo> roles;
std::string volumeMountpoint;
std::string location;
};
GetClusterVolumesResult();
explicit GetClusterVolumesResult(const std::string &payload);
~GetClusterVolumesResult();
std::vector<VolumeInfo> getVolumes()const;
std::string getRegionId()const;
protected:
void parse(const std::string &payload);
private:
std::vector<VolumeInfo> volumes_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETCLUSTERVOLUMESRESULT_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_GETVISUALSERVICESTATUSREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETVISUALSERVICESTATUSREQUEST_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 GetVisualServiceStatusRequest : public RpcServiceRequest
{
public:
GetVisualServiceStatusRequest();
~GetVisualServiceStatusRequest();
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_GETVISUALSERVICESTATUSREQUEST_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_GETVISUALSERVICESTATUSRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETVISUALSERVICESTATUSRESULT_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 GetVisualServiceStatusResult : public ServiceResult
{
public:
GetVisualServiceStatusResult();
explicit GetVisualServiceStatusResult(const std::string &payload);
~GetVisualServiceStatusResult();
std::string getMessage()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETVISUALSERVICESTATUSRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_INSTALLSOFTWAREREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_INSTALLSOFTWAREREQUEST_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 InstallSoftwareRequest : public RpcServiceRequest
{
public:
InstallSoftwareRequest();
~InstallSoftwareRequest();
std::string getApplication()const;
void setApplication(const std::string& application);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string application_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_INSTALLSOFTWAREREQUEST_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_INSTALLSOFTWARERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_INSTALLSOFTWARERESULT_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 InstallSoftwareResult : public ServiceResult
{
public:
InstallSoftwareResult();
explicit InstallSoftwareResult(const std::string &payload);
~InstallSoftwareResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_INSTALLSOFTWARERESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_LISTAVAILABLEFILESYSTEMTYPESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_LISTAVAILABLEFILESYSTEMTYPESREQUEST_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 ListAvailableFileSystemTypesRequest : public RpcServiceRequest
{
public:
ListAvailableFileSystemTypesRequest();
~ListAvailableFileSystemTypesRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_LISTAVAILABLEFILESYSTEMTYPESREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* 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_LISTAVAILABLEFILESYSTEMTYPESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_LISTAVAILABLEFILESYSTEMTYPESRESULT_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 ListAvailableFileSystemTypesResult : public ServiceResult
{
public:
struct FileSystemTypes
{
std::string protocolType;
std::string fileSystemType;
bool available;
std::vector<std::string> storageTypes;
};
ListAvailableFileSystemTypesResult();
explicit ListAvailableFileSystemTypesResult(const std::string &payload);
~ListAvailableFileSystemTypesResult();
std::vector<FileSystemTypes> getFileSystemTypeList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<FileSystemTypes> fileSystemTypeList_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_LISTAVAILABLEFILESYSTEMTYPESRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_LISTCLUSTERSMETAREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_LISTCLUSTERSMETAREQUEST_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 ListClustersMetaRequest : public RpcServiceRequest
{
public:
ListClustersMetaRequest();
~ListClustersMetaRequest();
int getPageSize()const;
void setPageSize(int pageSize);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
int pageSize_;
int pageNumber_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_LISTCLUSTERSMETAREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* 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_LISTCLUSTERSMETARESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_LISTCLUSTERSMETARESULT_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 ListClustersMetaResult : public ServiceResult
{
public:
struct ClusterInfoSimple
{
std::string status;
std::string description;
std::string id;
std::string name;
};
ListClustersMetaResult();
explicit ListClustersMetaResult(const std::string &payload);
~ListClustersMetaResult();
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_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_LISTCLUSTERSMETARESULT_H_

View File

@@ -66,12 +66,15 @@ namespace AlibabaCloud
std::string imageOwnerAlias;
std::string description;
std::string zoneId;
std::string vSwitchId;
std::string createTime;
std::string schedulerType;
int count;
std::string accountType;
std::string ehpcVersion;
std::string name;
UsedResources usedResources;
std::string vpcId;
std::string deployMode;
Managers managers;
TotalResources totalResources;

View File

@@ -0,0 +1,57 @@
/*
* 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_LISTCPFSFILESYSTEMSREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_LISTCPFSFILESYSTEMSREQUEST_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 ListCpfsFileSystemsRequest : public RpcServiceRequest
{
public:
ListCpfsFileSystemsRequest();
~ListCpfsFileSystemsRequest();
int getPageSize()const;
void setPageSize(int pageSize);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getFileSystemId()const;
void setFileSystemId(const std::string& fileSystemId);
private:
int pageSize_;
int pageNumber_;
std::string accessKeyId_;
std::string fileSystemId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_LISTCPFSFILESYSTEMSREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_LISTCPFSFILESYSTEMSRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_LISTCPFSFILESYSTEMSRESULT_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 ListCpfsFileSystemsResult : public ServiceResult
{
public:
struct FileSystems
{
struct MountTargets
{
std::string status;
std::string vswId;
std::string vpcId;
std::string mountTargetDomain;
std::string networkType;
};
std::string zoneId;
std::string capacity;
std::string protocolType;
std::string createTime;
std::vector<FileSystems::MountTargets> mountTargetList;
std::string destription;
std::string fileSystemId;
std::string regionId;
};
ListCpfsFileSystemsResult();
explicit ListCpfsFileSystemsResult(const std::string &payload);
~ListCpfsFileSystemsResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<FileSystems> getFileSystemList()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<FileSystems> fileSystemList_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_LISTCPFSFILESYSTEMSRESULT_H_

View File

@@ -50,6 +50,7 @@ namespace AlibabaCloud
std::string productCode;
std::string skuCode;
std::string pricingCycle;
int size;
std::string imageId;
BaseOsTag baseOsTag;
};

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_LISTINSTALLEDSOFTWAREREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_LISTINSTALLEDSOFTWAREREQUEST_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 ListInstalledSoftwareRequest : public RpcServiceRequest
{
public:
ListInstalledSoftwareRequest();
~ListInstalledSoftwareRequest();
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_LISTINSTALLEDSOFTWAREREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* 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_LISTINSTALLEDSOFTWARERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_LISTINSTALLEDSOFTWARERESULT_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 ListInstalledSoftwareResult : public ServiceResult
{
public:
struct SoftwareListItem
{
std::string softwareId;
std::string softwareVersion;
std::string softwareStatus;
std::string softwareName;
};
ListInstalledSoftwareResult();
explicit ListInstalledSoftwareResult(const std::string &payload);
~ListInstalledSoftwareResult();
std::vector<SoftwareListItem> getSoftwareList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<SoftwareListItem> softwareList_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_LISTINSTALLEDSOFTWARERESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_LISTNODESBYQUEUEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_LISTNODESBYQUEUEREQUEST_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 ListNodesByQueueRequest : public RpcServiceRequest
{
public:
ListNodesByQueueRequest();
~ListNodesByQueueRequest();
std::string getQueueName()const;
void setQueueName(const std::string& queueName);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string queueName_;
int pageSize_;
std::string clusterId_;
int pageNumber_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_LISTNODESBYQUEUEREQUEST_H_

View File

@@ -0,0 +1,89 @@
/*
* 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_LISTNODESBYQUEUERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_LISTNODESBYQUEUERESULT_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 ListNodesByQueueResult : 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;
UsedResources usedResources;
bool createdByEhpc;
std::string createMode;
std::string version;
TotalResources totalResources;
std::string expiredTime;
std::string imageId;
std::string id;
std::string regionId;
std::string lockReason;
std::string hostName;
std::string spotStrategy;
std::string location;
};
ListNodesByQueueResult();
explicit ListNodesByQueueResult(const std::string &payload);
~ListNodesByQueueResult();
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_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_LISTNODESBYQUEUERESULT_H_

View File

@@ -34,11 +34,24 @@ namespace AlibabaCloud
public:
struct VolumeInfo
{
struct VolumeInfo1
{
std::string volumeProtocol;
std::string role;
std::string volumeId;
std::string remoteDirectory;
std::string localDirectory;
std::string volumeType;
std::string jobQueue;
std::string volumeMountpoint;
std::string location;
};
std::string volumeProtocol;
std::string volumeId;
std::string remoteDirectory;
std::string volumeType;
std::string clusterId;
std::vector<VolumeInfo::VolumeInfo1> additionalVolumes;
std::string clusterName;
std::string regionId;
std::string volumeMountpoint;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_MODIFYVISUALSERVICEPASSWDREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_MODIFYVISUALSERVICEPASSWDREQUEST_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 ModifyVisualServicePasswdRequest : public RpcServiceRequest
{
public:
ModifyVisualServicePasswdRequest();
~ModifyVisualServicePasswdRequest();
std::string getPasswd()const;
void setPasswd(const std::string& passwd);
std::string getRunasUserPassword()const;
void setRunasUserPassword(const std::string& runasUserPassword);
std::string getRunasUser()const;
void setRunasUser(const std::string& runasUser);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string passwd_;
std::string runasUserPassword_;
std::string runasUser_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_MODIFYVISUALSERVICEPASSWDREQUEST_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_MODIFYVISUALSERVICEPASSWDRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_MODIFYVISUALSERVICEPASSWDRESULT_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 ModifyVisualServicePasswdResult : public ServiceResult
{
public:
ModifyVisualServicePasswdResult();
explicit ModifyVisualServicePasswdResult(const std::string &payload);
~ModifyVisualServicePasswdResult();
std::string getMessage()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_MODIFYVISUALSERVICEPASSWDRESULT_H_

View File

@@ -35,14 +35,32 @@ namespace AlibabaCloud
RecoverClusterRequest();
~RecoverClusterRequest();
std::string getImageId()const;
void setImageId(const std::string& imageId);
std::string getOsTag()const;
void setOsTag(const std::string& osTag);
std::string getClientVersion()const;
void setClientVersion(const std::string& clientVersion);
std::string getAccountType()const;
void setAccountType(const std::string& accountType);
std::string getSchedulerType()const;
void setSchedulerType(const std::string& schedulerType);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getImageOwnerAlias()const;
void setImageOwnerAlias(const std::string& imageOwnerAlias);
private:
std::string imageId_;
std::string osTag_;
std::string clientVersion_;
std::string accountType_;
std::string schedulerType_;
std::string clusterId_;
std::string accessKeyId_;
std::string imageOwnerAlias_;
};
}

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
{
std::string spotStrategy;
std::string queueName;
RepeatList instanceTypes;
std::string instanceType;
bool enableAutoGrow;
float spotPriceLimit;

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_SETQUEUEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_SETQUEUEREQUEST_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 SetQueueRequest : public RpcServiceRequest
{
struct Node
{
std::string name;
};
public:
SetQueueRequest();
~SetQueueRequest();
std::string getQueueName()const;
void setQueueName(const std::string& queueName);
std::vector<Node> getNode()const;
void setNode(const std::vector<Node>& node);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string queueName_;
std::vector<Node> node_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_SETQUEUEREQUEST_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_SETQUEUERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_SETQUEUERESULT_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 SetQueueResult : public ServiceResult
{
public:
SetQueueResult();
explicit SetQueueResult(const std::string &payload);
~SetQueueResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_SETQUEUERESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_STARTVISUALSERVICEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_STARTVISUALSERVICEREQUEST_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 StartVisualServiceRequest : public RpcServiceRequest
{
public:
StartVisualServiceRequest();
~StartVisualServiceRequest();
int getPort()const;
void setPort(int port);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getCidrIp()const;
void setCidrIp(const std::string& cidrIp);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
int port_;
std::string clusterId_;
std::string cidrIp_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STARTVISUALSERVICEREQUEST_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_STARTVISUALSERVICERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_STARTVISUALSERVICERESULT_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 StartVisualServiceResult : public ServiceResult
{
public:
StartVisualServiceResult();
explicit StartVisualServiceResult(const std::string &payload);
~StartVisualServiceResult();
std::string getMessage()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STARTVISUALSERVICERESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* 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_STOPVISUALSERVICEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_STOPVISUALSERVICEREQUEST_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 StopVisualServiceRequest : public RpcServiceRequest
{
public:
StopVisualServiceRequest();
~StopVisualServiceRequest();
int getPort()const;
void setPort(int port);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getCidrIp()const;
void setCidrIp(const std::string& cidrIp);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
int port_;
std::string clusterId_;
std::string cidrIp_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STOPVISUALSERVICEREQUEST_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_STOPVISUALSERVICERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_STOPVISUALSERVICERESULT_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 StopVisualServiceResult : public ServiceResult
{
public:
StopVisualServiceResult();
explicit StopVisualServiceResult(const std::string &payload);
~StopVisualServiceResult();
std::string getMessage()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STOPVISUALSERVICERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_UNINSTALLSOFTWAREREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_UNINSTALLSOFTWAREREQUEST_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 UninstallSoftwareRequest : public RpcServiceRequest
{
public:
UninstallSoftwareRequest();
~UninstallSoftwareRequest();
std::string getApplication()const;
void setApplication(const std::string& application);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string application_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_UNINSTALLSOFTWAREREQUEST_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_UNINSTALLSOFTWARERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_UNINSTALLSOFTWARERESULT_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 UninstallSoftwareResult : public ServiceResult
{
public:
UninstallSoftwareResult();
explicit UninstallSoftwareResult(const std::string &payload);
~UninstallSoftwareResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_UNINSTALLSOFTWARERESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* 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_UPDATECLUSTERVOLUMESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_UPDATECLUSTERVOLUMESREQUEST_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 UpdateClusterVolumesRequest : public RpcServiceRequest
{
struct AdditionalVolumes
{
std::string volumeType;
std::string volumeProtocol;
std::string localDirectory;
std::string remoteDirectory;
RepeatList roles;
std::string volumeId;
std::string volumeMountpoint;
std::string location;
std::string jobQueue;
};
public:
UpdateClusterVolumesRequest();
~UpdateClusterVolumesRequest();
std::vector<AdditionalVolumes> getAdditionalVolumes()const;
void setAdditionalVolumes(const std::vector<AdditionalVolumes>& additionalVolumes);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::vector<AdditionalVolumes> additionalVolumes_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_UPDATECLUSTERVOLUMESREQUEST_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_UPDATECLUSTERVOLUMESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_UPDATECLUSTERVOLUMESRESULT_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 UpdateClusterVolumesResult : public ServiceResult
{
public:
UpdateClusterVolumesResult();
explicit UpdateClusterVolumesResult(const std::string &payload);
~UpdateClusterVolumesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_UPDATECLUSTERVOLUMESRESULT_H_