From 85b4b444468719ca6ef03d24aca992e66ad037c8 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 20 Dec 2021 08:59:11 +0000 Subject: [PATCH] Generated 2016-04-08 for Emr. --- CHANGELOG | 3 + VERSION | 2 +- emr/CMakeLists.txt | 356 +- emr/include/alibabacloud/emr/EmrClient.h | 704 ---- .../emr/model/AuthorizeSecurityGroupRequest.h | 63 - .../emr/model/AuthorizeSecurityGroupResult.h | 49 - .../emr/model/CancelOrderRequest.h | 57 - .../emr/model/CancelOrderResult.h | 51 - .../emr/model/CreateBackupPlanRequest.h | 66 - .../emr/model/CreateBackupPlanResult.h | 59 - .../emr/model/CreateBackupRequest.h | 60 - .../emr/model/CreateBackupResult.h | 81 - .../CreateClusterBootstrapActionRequest.h | 70 - .../CreateClusterBootstrapActionResult.h | 49 - .../emr/model/CreateClusterHostGroupRequest.h | 78 - .../emr/model/CreateClusterHostGroupResult.h | 53 - .../emr/model/CreateDataSourceRequest.h | 75 - .../emr/model/CreateDataSourceResult.h | 51 - .../emr/model/CreateExecutionPlanRequest.h | 188 - .../emr/model/CreateExecutionPlanResult.h | 51 - .../alibabacloud/emr/model/CreateJobRequest.h | 75 - .../alibabacloud/emr/model/CreateJobResult.h | 51 - .../emr/model/CreateLibraryRequest.h | 75 - .../emr/model/CreateLibraryResult.h | 51 - .../model/CreateMetaTablePreviewTaskRequest.h | 72 - .../model/CreateMetaTablePreviewTaskResult.h | 51 - .../emr/model/CreateScalingRuleRequest.h | 120 - .../emr/model/CreateScalingRuleResult.h | 51 - .../alibabacloud/emr/model/CreateTagRequest.h | 66 - .../alibabacloud/emr/model/CreateTagResult.h | 51 - .../emr/model/CreateUserRequest.h | 85 - .../alibabacloud/emr/model/CreateUserResult.h | 53 - .../emr/model/CreateUsersRequest.h | 67 - .../emr/model/CreateUsersResult.h | 49 - .../model/DecommissionHostComponentRequest.h | 69 - .../model/DecommissionHostComponentResult.h | 49 - .../emr/model/DeleteExecutionPlanRequest.h | 57 - .../emr/model/DeleteExecutionPlanResult.h | 49 - .../alibabacloud/emr/model/DeleteJobRequest.h | 60 - .../alibabacloud/emr/model/DeleteJobResult.h | 49 - .../emr/model/DeleteLibrariesRequest.h | 57 - .../emr/model/DeleteLibrariesResult.h | 51 - .../emr/model/DeleteScalingRuleRequest.h | 63 - .../emr/model/DeleteScalingRuleResult.h | 51 - .../alibabacloud/emr/model/DeleteTagRequest.h | 66 - .../alibabacloud/emr/model/DeleteTagResult.h | 51 - .../emr/model/DeleteUserRequest.h | 63 - .../alibabacloud/emr/model/DeleteUserResult.h | 49 - .../model/DescribeClusterMetaCollectRequest.h | 57 - .../model/DescribeClusterMetaCollectResult.h | 55 - ...scribeClusterServiceConfigHistoryRequest.h | 63 - ...escribeClusterServiceConfigHistoryResult.h | 73 - .../DescribeClusterServiceConfigResult.h | 1 + .../emr/model/DescribeDataSourceRequest.h | 60 - .../emr/model/DescribeDataSourceResult.h | 75 - .../model/DescribeDiskOpsActivityRequest.h | 72 - .../emr/model/DescribeDiskOpsActivityResult.h | 59 - .../emr/model/DescribeEmrMainVersionRequest.h | 57 - .../emr/model/DescribeEmrMainVersionResult.h | 84 - .../emr/model/DescribeExecutionPlanRequest.h | 57 - .../emr/model/DescribeExecutionPlanResult.h | 154 - .../emr/model/DescribeJobRequest.h | 60 - .../emr/model/DescribeJobResult.h | 63 - .../emr/model/DescribeLibraryDetailRequest.h | 57 - .../emr/model/DescribeLibraryDetailResult.h | 69 - .../DescribeLibraryInstallTaskDetailRequest.h | 57 - .../DescribeLibraryInstallTaskDetailResult.h | 73 - .../DescribeMetaTablePreviewTaskRequest.h | 60 - .../DescribeMetaTablePreviewTaskResult.h | 72 - .../model/DescribeScalingActivityRequest.h | 63 - .../emr/model/DescribeScalingActivityResult.h | 71 - .../emr/model/DescribeScalingRuleRequest.h | 63 - .../emr/model/DescribeScalingRuleResult.h | 94 - .../DescribeSecurityGroupAttributeRequest.h | 60 - .../DescribeSecurityGroupAttributeResult.h | 68 - .../model/DetachAndReleaseClusterEniRequest.h | 60 - .../model/DetachAndReleaseClusterEniResult.h | 49 - .../GetHdfsCapacityStatisticInfoRequest.h | 63 - .../GetHdfsCapacityStatisticInfoResult.h | 63 - .../model/GetJobInputStatisticInfoRequest.h | 69 - .../model/GetJobInputStatisticInfoResult.h | 69 - .../model/GetJobOutputStatisticInfoRequest.h | 69 - .../model/GetJobOutputStatisticInfoResult.h | 69 - .../GetJobRunningTimeStatisticInfoRequest.h | 69 - .../GetJobRunningTimeStatisticInfoResult.h | 69 - .../model/GetQueueInputStatisticInfoRequest.h | 63 - .../model/GetQueueInputStatisticInfoResult.h | 56 - .../GetQueueOutputStatisticInfoRequest.h | 63 - .../model/GetQueueOutputStatisticInfoResult.h | 56 - .../GetQueueSubmissionStatisticInfoRequest.h | 69 - .../GetQueueSubmissionStatisticInfoResult.h | 56 - .../model/GetUserInputStatisticInfoRequest.h | 63 - .../model/GetUserInputStatisticInfoResult.h | 56 - .../model/GetUserOutputStatisticInfoRequest.h | 63 - .../model/GetUserOutputStatisticInfoResult.h | 56 - .../GetUserSubmissionStatisticInfoRequest.h | 69 - .../GetUserSubmissionStatisticInfoResult.h | 56 - .../emr/model/InstallLibrariesRequest.h | 60 - .../emr/model/InstallLibrariesResult.h | 51 - .../emr/model/ListAdviceActionRequest.h | 69 - .../emr/model/ListAdviceActionResult.h | 70 - .../emr/model/ListBackupsRequest.h | 96 - .../emr/model/ListBackupsResult.h | 74 - .../emr/model/ListDataSourceRequest.h | 78 - .../emr/model/ListDataSourceResult.h | 72 - .../emr/model/ListDiskOpsEventsRequest.h | 69 - .../emr/model/ListDiskOpsEventsResult.h | 76 - .../model/ListExecutionPlanInstancesRequest.h | 72 - .../model/ListExecutionPlanInstancesResult.h | 72 - .../model/ListJobExecutionInstancesRequest.h | 66 - .../model/ListJobExecutionInstancesResult.h | 69 - .../alibabacloud/emr/model/ListJobsRequest.h | 72 - .../alibabacloud/emr/model/ListJobsResult.h | 67 - .../emr/model/ListLibrariesRequest.h | 78 - .../emr/model/ListLibrariesResult.h | 72 - .../model/ListLibraryInstallTasksRequest.h | 81 - .../emr/model/ListLibraryInstallTasksResult.h | 74 - .../emr/model/ListLibraryStatusRequest.h | 81 - .../emr/model/ListLibraryStatusResult.h | 67 - .../model/ListLocalDiskComponentInfoRequest.h | 60 - .../model/ListLocalDiskComponentInfoResult.h | 76 - .../alibabacloud/emr/model/ListRolesRequest.h | 57 - .../alibabacloud/emr/model/ListRolesResult.h | 62 - .../emr/model/ListSecurityGroupRequest.h | 63 - .../emr/model/ListSecurityGroupResult.h | 62 - .../alibabacloud/emr/model/ListStackRequest.h | 66 - .../alibabacloud/emr/model/ListStackResult.h | 63 - .../emr/model/ListTagKeysRequest.h | 69 - .../emr/model/ListTagKeysResult.h | 63 - .../emr/model/ListTagValuesRequest.h | 69 - .../emr/model/ListTagValuesResult.h | 63 - .../alibabacloud/emr/model/ListUsersRequest.h | 60 - .../alibabacloud/emr/model/ListUsersResult.h | 61 - .../emr/model/ListVswitchRequest.h | 63 - .../emr/model/ListVswitchResult.h | 65 - .../ModifyClusterBootstrapActionRequest.h | 73 - .../ModifyClusterBootstrapActionResult.h | 49 - .../emr/model/ModifyClusterHostGroupRequest.h | 72 - .../emr/model/ModifyClusterHostGroupResult.h | 49 - .../model/ModifyClusterMetaCollectRequest.h | 60 - .../model/ModifyClusterMetaCollectResult.h | 49 - .../ModifyClusterSecurityGroupRuleRequest.h | 72 - .../ModifyClusterSecurityGroupRuleResult.h | 49 - .../emr/model/ModifyClusterTemplateRequest.h | 6 + .../emr/model/ModifyExecutionPlanRequest.h | 194 - .../emr/model/ModifyExecutionPlanResult.h | 49 - .../emr/model/ModifyFlowJobRequest.h | 111 - .../emr/model/ModifyFlowJobResult.h | 51 - .../emr/model/ModifyFlowRequest.h | 111 - .../alibabacloud/emr/model/ModifyFlowResult.h | 51 - .../alibabacloud/emr/model/ModifyJobRequest.h | 78 - .../alibabacloud/emr/model/ModifyJobResult.h | 49 - .../emr/model/ModifyScalingRuleRequest.h | 120 - .../emr/model/ModifyScalingRuleResult.h | 51 - .../emr/model/ModifyScalingTaskGroupRequest.h | 78 - .../emr/model/ModifyScalingTaskGroupResult.h | 51 - .../emr/model/QueryEntityRequest.h | 66 - .../emr/model/QueryEntityResult.h | 63 - .../alibabacloud/emr/model/QueryTagRequest.h | 63 - .../alibabacloud/emr/model/QueryTagResult.h | 63 - .../ResumeExecutionPlanSchedulerRequest.h | 57 - .../ResumeExecutionPlanSchedulerResult.h | 49 - .../emr/model/RetryOperationRequest.h | 57 - .../emr/model/RetryOperationResult.h | 55 - .../emr/model/RunDiskOpsActivityRequest.h | 72 - .../emr/model/RunDiskOpsActivityResult.h | 59 - .../emr/model/RunExecutionPlanRequest.h | 60 - .../emr/model/RunExecutionPlanResult.h | 51 - .../alibabacloud/emr/model/SearchLogRequest.h | 84 - .../alibabacloud/emr/model/SearchLogResult.h | 63 - .../SuspendExecutionPlanSchedulerRequest.h | 57 - .../SuspendExecutionPlanSchedulerResult.h | 49 - .../emr/model/UninstallLibrariesRequest.h | 60 - .../emr/model/UninstallLibrariesResult.h | 51 - .../emr/model/UpdateDataSourceRequest.h | 69 - .../emr/model/UpdateDataSourceResult.h | 49 - .../UpdateLibraryInstallTaskStatusRequest.h | 60 - .../UpdateLibraryInstallTaskStatusResult.h | 51 - .../alibabacloud/emr/model/UpdateTagRequest.h | 66 - .../alibabacloud/emr/model/UpdateTagResult.h | 51 - .../emr/model/UpdateUserRequest.h | 85 - .../alibabacloud/emr/model/UpdateUserResult.h | 53 - emr/src/EmrClient.cc | 3168 ----------------- .../model/AuthorizeSecurityGroupRequest.cc | 95 - emr/src/model/AuthorizeSecurityGroupResult.cc | 44 - emr/src/model/CancelOrderRequest.cc | 73 - emr/src/model/CancelOrderResult.cc | 51 - emr/src/model/CreateBackupPlanRequest.cc | 106 - emr/src/model/CreateBackupPlanResult.cc | 79 - emr/src/model/CreateBackupRequest.cc | 84 - emr/src/model/CreateBackupResult.cc | 156 - .../CreateClusterBootstrapActionRequest.cc | 93 - .../CreateClusterBootstrapActionResult.cc | 44 - .../model/CreateClusterHostGroupRequest.cc | 150 - emr/src/model/CreateClusterHostGroupResult.cc | 58 - emr/src/model/CreateDataSourceRequest.cc | 139 - emr/src/model/CreateDataSourceResult.cc | 51 - emr/src/model/CreateExecutionPlanRequest.cc | 479 --- emr/src/model/CreateExecutionPlanResult.cc | 51 - emr/src/model/CreateJobRequest.cc | 139 - emr/src/model/CreateJobResult.cc | 51 - emr/src/model/CreateLibraryRequest.cc | 139 - emr/src/model/CreateLibraryResult.cc | 51 - .../CreateMetaTablePreviewTaskRequest.cc | 128 - .../model/CreateMetaTablePreviewTaskResult.cc | 51 - emr/src/model/CreateScalingRuleRequest.cc | 255 -- emr/src/model/CreateScalingRuleResult.cc | 51 - emr/src/model/CreateTagRequest.cc | 106 - emr/src/model/CreateTagResult.cc | 51 - emr/src/model/CreateUserRequest.cc | 160 - emr/src/model/CreateUserResult.cc | 58 - emr/src/model/CreateUsersRequest.cc | 90 - emr/src/model/CreateUsersResult.cc | 44 - .../model/DecommissionHostComponentRequest.cc | 117 - .../model/DecommissionHostComponentResult.cc | 44 - emr/src/model/DeleteExecutionPlanRequest.cc | 73 - emr/src/model/DeleteExecutionPlanResult.cc | 44 - emr/src/model/DeleteJobRequest.cc | 84 - emr/src/model/DeleteJobResult.cc | 44 - emr/src/model/DeleteLibrariesRequest.cc | 75 - emr/src/model/DeleteLibrariesResult.cc | 51 - emr/src/model/DeleteScalingRuleRequest.cc | 95 - emr/src/model/DeleteScalingRuleResult.cc | 51 - emr/src/model/DeleteTagRequest.cc | 106 - emr/src/model/DeleteTagResult.cc | 51 - emr/src/model/DeleteUserRequest.cc | 95 - emr/src/model/DeleteUserResult.cc | 44 - .../DescribeClusterMetaCollectRequest.cc | 73 - .../model/DescribeClusterMetaCollectResult.cc | 65 - ...cribeClusterServiceConfigHistoryRequest.cc | 95 - ...scribeClusterServiceConfigHistoryResult.cc | 84 - .../DescribeClusterServiceConfigResult.cc | 2 + emr/src/model/DescribeDataSourceRequest.cc | 84 - emr/src/model/DescribeDataSourceResult.cc | 135 - .../model/DescribeDiskOpsActivityRequest.cc | 128 - .../model/DescribeDiskOpsActivityResult.cc | 79 - .../model/DescribeEmrMainVersionRequest.cc | 73 - emr/src/model/DescribeEmrMainVersionResult.cc | 105 - emr/src/model/DescribeExecutionPlanRequest.cc | 73 - emr/src/model/DescribeExecutionPlanResult.cc | 278 -- emr/src/model/DescribeJobRequest.cc | 84 - emr/src/model/DescribeJobResult.cc | 93 - emr/src/model/DescribeLibraryDetailRequest.cc | 73 - emr/src/model/DescribeLibraryDetailResult.cc | 114 - ...DescribeLibraryInstallTaskDetailRequest.cc | 73 - .../DescribeLibraryInstallTaskDetailResult.cc | 128 - .../DescribeMetaTablePreviewTaskRequest.cc | 84 - .../DescribeMetaTablePreviewTaskResult.cc | 104 - .../model/DescribeScalingActivityRequest.cc | 95 - .../model/DescribeScalingActivityResult.cc | 121 - emr/src/model/DescribeScalingRuleRequest.cc | 95 - emr/src/model/DescribeScalingRuleResult.cc | 159 - .../DescribeSecurityGroupAttributeRequest.cc | 84 - .../DescribeSecurityGroupAttributeResult.cc | 84 - .../DetachAndReleaseClusterEniRequest.cc | 84 - .../model/DetachAndReleaseClusterEniResult.cc | 44 - .../GetHdfsCapacityStatisticInfoRequest.cc | 95 - .../GetHdfsCapacityStatisticInfoResult.cc | 73 - .../model/GetJobInputStatisticInfoRequest.cc | 117 - .../model/GetJobInputStatisticInfoResult.cc | 94 - .../model/GetJobOutputStatisticInfoRequest.cc | 117 - .../model/GetJobOutputStatisticInfoResult.cc | 94 - .../GetJobRunningTimeStatisticInfoRequest.cc | 117 - .../GetJobRunningTimeStatisticInfoResult.cc | 94 - .../GetQueueInputStatisticInfoRequest.cc | 95 - .../model/GetQueueInputStatisticInfoResult.cc | 59 - .../GetQueueOutputStatisticInfoRequest.cc | 95 - .../GetQueueOutputStatisticInfoResult.cc | 59 - .../GetQueueSubmissionStatisticInfoRequest.cc | 117 - .../GetQueueSubmissionStatisticInfoResult.cc | 59 - .../model/GetUserInputStatisticInfoRequest.cc | 95 - .../model/GetUserInputStatisticInfoResult.cc | 59 - .../GetUserOutputStatisticInfoRequest.cc | 95 - .../model/GetUserOutputStatisticInfoResult.cc | 59 - .../GetUserSubmissionStatisticInfoRequest.cc | 117 - .../GetUserSubmissionStatisticInfoResult.cc | 59 - emr/src/model/InstallLibrariesRequest.cc | 86 - emr/src/model/InstallLibrariesResult.cc | 51 - emr/src/model/ListAdviceActionRequest.cc | 117 - emr/src/model/ListAdviceActionResult.cc | 96 - emr/src/model/ListBackupsRequest.cc | 218 -- emr/src/model/ListBackupsResult.cc | 97 - emr/src/model/ListDataSourceRequest.cc | 150 - emr/src/model/ListDataSourceResult.cc | 100 - emr/src/model/ListDiskOpsEventsRequest.cc | 117 - emr/src/model/ListDiskOpsEventsResult.cc | 108 - .../ListExecutionPlanInstancesRequest.cc | 132 - .../model/ListExecutionPlanInstancesResult.cc | 100 - .../model/ListJobExecutionInstancesRequest.cc | 106 - .../model/ListJobExecutionInstancesResult.cc | 94 - emr/src/model/ListJobsRequest.cc | 128 - emr/src/model/ListJobsResult.cc | 90 - emr/src/model/ListLibrariesRequest.cc | 150 - emr/src/model/ListLibrariesResult.cc | 103 - .../model/ListLibraryInstallTasksRequest.cc | 161 - .../model/ListLibraryInstallTasksResult.cc | 107 - emr/src/model/ListLibraryStatusRequest.cc | 161 - emr/src/model/ListLibraryStatusResult.cc | 93 - .../ListLocalDiskComponentInfoRequest.cc | 84 - .../model/ListLocalDiskComponentInfoResult.cc | 99 - emr/src/model/ListRolesRequest.cc | 73 - emr/src/model/ListRolesResult.cc | 74 - emr/src/model/ListSecurityGroupRequest.cc | 95 - emr/src/model/ListSecurityGroupResult.cc | 71 - emr/src/model/ListStackRequest.cc | 106 - emr/src/model/ListStackResult.cc | 82 - emr/src/model/ListTagKeysRequest.cc | 117 - emr/src/model/ListTagKeysResult.cc | 94 - emr/src/model/ListTagValuesRequest.cc | 117 - emr/src/model/ListTagValuesResult.cc | 94 - emr/src/model/ListUsersRequest.cc | 84 - emr/src/model/ListUsersResult.cc | 69 - emr/src/model/ListVswitchRequest.cc | 95 - emr/src/model/ListVswitchResult.cc | 77 - .../ModifyClusterBootstrapActionRequest.cc | 104 - .../ModifyClusterBootstrapActionResult.cc | 44 - .../model/ModifyClusterHostGroupRequest.cc | 128 - emr/src/model/ModifyClusterHostGroupResult.cc | 44 - .../model/ModifyClusterMetaCollectRequest.cc | 84 - .../model/ModifyClusterMetaCollectResult.cc | 44 - .../ModifyClusterSecurityGroupRuleRequest.cc | 128 - .../ModifyClusterSecurityGroupRuleResult.cc | 44 - emr/src/model/ModifyClusterTemplateRequest.cc | 22 + emr/src/model/ModifyExecutionPlanRequest.cc | 501 --- emr/src/model/ModifyExecutionPlanResult.cc | 44 - emr/src/model/ModifyFlowJobRequest.cc | 254 -- emr/src/model/ModifyFlowJobResult.cc | 51 - emr/src/model/ModifyFlowRequest.cc | 271 -- emr/src/model/ModifyFlowResult.cc | 51 - emr/src/model/ModifyJobRequest.cc | 150 - emr/src/model/ModifyJobResult.cc | 44 - emr/src/model/ModifyScalingRuleRequest.cc | 255 -- emr/src/model/ModifyScalingRuleResult.cc | 51 - .../model/ModifyScalingTaskGroupRequest.cc | 150 - emr/src/model/ModifyScalingTaskGroupResult.cc | 51 - emr/src/model/QueryEntityRequest.cc | 106 - emr/src/model/QueryEntityResult.cc | 82 - emr/src/model/QueryTagRequest.cc | 95 - emr/src/model/QueryTagResult.cc | 82 - .../ResumeExecutionPlanSchedulerRequest.cc | 73 - .../ResumeExecutionPlanSchedulerResult.cc | 44 - emr/src/model/RetryOperationRequest.cc | 73 - emr/src/model/RetryOperationResult.cc | 65 - emr/src/model/RunDiskOpsActivityRequest.cc | 128 - emr/src/model/RunDiskOpsActivityResult.cc | 79 - emr/src/model/RunExecutionPlanRequest.cc | 84 - emr/src/model/RunExecutionPlanResult.cc | 51 - emr/src/model/SearchLogRequest.cc | 172 - emr/src/model/SearchLogResult.cc | 76 - .../SuspendExecutionPlanSchedulerRequest.cc | 73 - .../SuspendExecutionPlanSchedulerResult.cc | 44 - emr/src/model/UninstallLibrariesRequest.cc | 86 - emr/src/model/UninstallLibrariesResult.cc | 51 - emr/src/model/UpdateDataSourceRequest.cc | 117 - emr/src/model/UpdateDataSourceResult.cc | 44 - .../UpdateLibraryInstallTaskStatusRequest.cc | 84 - .../UpdateLibraryInstallTaskStatusResult.cc | 51 - emr/src/model/UpdateTagRequest.cc | 106 - emr/src/model/UpdateTagResult.cc | 51 - emr/src/model/UpdateUserRequest.cc | 160 - emr/src/model/UpdateUserResult.cc | 58 - 361 files changed, 37 insertions(+), 33123 deletions(-) delete mode 100644 emr/include/alibabacloud/emr/model/AuthorizeSecurityGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/AuthorizeSecurityGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CancelOrderRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CancelOrderResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateBackupPlanRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateBackupPlanResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateBackupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateBackupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateClusterHostGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateDataSourceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateDataSourceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateExecutionPlanRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateExecutionPlanResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateJobRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateJobResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateLibraryRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateLibraryResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateMetaTablePreviewTaskRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateMetaTablePreviewTaskResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateScalingRuleRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateScalingRuleResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateTagRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateTagResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateUserRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateUserResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateUsersRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateUsersResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DecommissionHostComponentRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DecommissionHostComponentResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteExecutionPlanRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteExecutionPlanResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteJobRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteJobResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteLibrariesRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteLibrariesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteScalingRuleRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteScalingRuleResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteTagRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteTagResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteUserRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteUserResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterMetaCollectRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterMetaCollectResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeDataSourceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeDataSourceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeExecutionPlanRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeExecutionPlanResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeJobRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeJobResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeLibraryDetailRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeLibraryDetailResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeScalingActivityRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeScalingActivityResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeScalingRuleRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeScalingRuleResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeSecurityGroupAttributeRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeSecurityGroupAttributeResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetJobInputStatisticInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetJobInputStatisticInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetJobOutputStatisticInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetJobOutputStatisticInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetQueueInputStatisticInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetQueueInputStatisticInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetQueueOutputStatisticInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetQueueOutputStatisticInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetUserInputStatisticInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetUserInputStatisticInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetUserOutputStatisticInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetUserOutputStatisticInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/InstallLibrariesRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/InstallLibrariesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListAdviceActionRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListAdviceActionResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListBackupsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListBackupsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListDataSourceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListDataSourceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListDiskOpsEventsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListDiskOpsEventsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListExecutionPlanInstancesRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListExecutionPlanInstancesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListJobExecutionInstancesRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListJobExecutionInstancesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListJobsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListJobsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListLibrariesRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListLibrariesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListLibraryInstallTasksRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListLibraryInstallTasksResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListLibraryStatusRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListLibraryStatusResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListLocalDiskComponentInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListLocalDiskComponentInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListRolesRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListRolesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListSecurityGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListSecurityGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListStackRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListStackResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListTagKeysRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListTagKeysResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListTagValuesRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListTagValuesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListUsersRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListUsersResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListVswitchRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListVswitchResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyClusterHostGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyClusterHostGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyClusterMetaCollectRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyClusterMetaCollectResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyExecutionPlanRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyExecutionPlanResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyFlowJobRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyFlowJobResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyFlowRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyFlowResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyJobRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyJobResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyScalingRuleRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyScalingRuleResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyScalingTaskGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyScalingTaskGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryEntityRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryEntityResult.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryTagRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryTagResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RetryOperationRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RetryOperationResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RunDiskOpsActivityRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RunDiskOpsActivityResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RunExecutionPlanRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RunExecutionPlanResult.h delete mode 100644 emr/include/alibabacloud/emr/model/SearchLogRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/SearchLogResult.h delete mode 100644 emr/include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerResult.h delete mode 100644 emr/include/alibabacloud/emr/model/UninstallLibrariesRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/UninstallLibrariesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateDataSourceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateDataSourceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusResult.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateTagRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateTagResult.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateUserRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateUserResult.h delete mode 100644 emr/src/model/AuthorizeSecurityGroupRequest.cc delete mode 100644 emr/src/model/AuthorizeSecurityGroupResult.cc delete mode 100644 emr/src/model/CancelOrderRequest.cc delete mode 100644 emr/src/model/CancelOrderResult.cc delete mode 100644 emr/src/model/CreateBackupPlanRequest.cc delete mode 100644 emr/src/model/CreateBackupPlanResult.cc delete mode 100644 emr/src/model/CreateBackupRequest.cc delete mode 100644 emr/src/model/CreateBackupResult.cc delete mode 100644 emr/src/model/CreateClusterBootstrapActionRequest.cc delete mode 100644 emr/src/model/CreateClusterBootstrapActionResult.cc delete mode 100644 emr/src/model/CreateClusterHostGroupRequest.cc delete mode 100644 emr/src/model/CreateClusterHostGroupResult.cc delete mode 100644 emr/src/model/CreateDataSourceRequest.cc delete mode 100644 emr/src/model/CreateDataSourceResult.cc delete mode 100644 emr/src/model/CreateExecutionPlanRequest.cc delete mode 100644 emr/src/model/CreateExecutionPlanResult.cc delete mode 100644 emr/src/model/CreateJobRequest.cc delete mode 100644 emr/src/model/CreateJobResult.cc delete mode 100644 emr/src/model/CreateLibraryRequest.cc delete mode 100644 emr/src/model/CreateLibraryResult.cc delete mode 100644 emr/src/model/CreateMetaTablePreviewTaskRequest.cc delete mode 100644 emr/src/model/CreateMetaTablePreviewTaskResult.cc delete mode 100644 emr/src/model/CreateScalingRuleRequest.cc delete mode 100644 emr/src/model/CreateScalingRuleResult.cc delete mode 100644 emr/src/model/CreateTagRequest.cc delete mode 100644 emr/src/model/CreateTagResult.cc delete mode 100644 emr/src/model/CreateUserRequest.cc delete mode 100644 emr/src/model/CreateUserResult.cc delete mode 100644 emr/src/model/CreateUsersRequest.cc delete mode 100644 emr/src/model/CreateUsersResult.cc delete mode 100644 emr/src/model/DecommissionHostComponentRequest.cc delete mode 100644 emr/src/model/DecommissionHostComponentResult.cc delete mode 100644 emr/src/model/DeleteExecutionPlanRequest.cc delete mode 100644 emr/src/model/DeleteExecutionPlanResult.cc delete mode 100644 emr/src/model/DeleteJobRequest.cc delete mode 100644 emr/src/model/DeleteJobResult.cc delete mode 100644 emr/src/model/DeleteLibrariesRequest.cc delete mode 100644 emr/src/model/DeleteLibrariesResult.cc delete mode 100644 emr/src/model/DeleteScalingRuleRequest.cc delete mode 100644 emr/src/model/DeleteScalingRuleResult.cc delete mode 100644 emr/src/model/DeleteTagRequest.cc delete mode 100644 emr/src/model/DeleteTagResult.cc delete mode 100644 emr/src/model/DeleteUserRequest.cc delete mode 100644 emr/src/model/DeleteUserResult.cc delete mode 100644 emr/src/model/DescribeClusterMetaCollectRequest.cc delete mode 100644 emr/src/model/DescribeClusterMetaCollectResult.cc delete mode 100644 emr/src/model/DescribeClusterServiceConfigHistoryRequest.cc delete mode 100644 emr/src/model/DescribeClusterServiceConfigHistoryResult.cc delete mode 100644 emr/src/model/DescribeDataSourceRequest.cc delete mode 100644 emr/src/model/DescribeDataSourceResult.cc delete mode 100644 emr/src/model/DescribeDiskOpsActivityRequest.cc delete mode 100644 emr/src/model/DescribeDiskOpsActivityResult.cc delete mode 100644 emr/src/model/DescribeEmrMainVersionRequest.cc delete mode 100644 emr/src/model/DescribeEmrMainVersionResult.cc delete mode 100644 emr/src/model/DescribeExecutionPlanRequest.cc delete mode 100644 emr/src/model/DescribeExecutionPlanResult.cc delete mode 100644 emr/src/model/DescribeJobRequest.cc delete mode 100644 emr/src/model/DescribeJobResult.cc delete mode 100644 emr/src/model/DescribeLibraryDetailRequest.cc delete mode 100644 emr/src/model/DescribeLibraryDetailResult.cc delete mode 100644 emr/src/model/DescribeLibraryInstallTaskDetailRequest.cc delete mode 100644 emr/src/model/DescribeLibraryInstallTaskDetailResult.cc delete mode 100644 emr/src/model/DescribeMetaTablePreviewTaskRequest.cc delete mode 100644 emr/src/model/DescribeMetaTablePreviewTaskResult.cc delete mode 100644 emr/src/model/DescribeScalingActivityRequest.cc delete mode 100644 emr/src/model/DescribeScalingActivityResult.cc delete mode 100644 emr/src/model/DescribeScalingRuleRequest.cc delete mode 100644 emr/src/model/DescribeScalingRuleResult.cc delete mode 100644 emr/src/model/DescribeSecurityGroupAttributeRequest.cc delete mode 100644 emr/src/model/DescribeSecurityGroupAttributeResult.cc delete mode 100644 emr/src/model/DetachAndReleaseClusterEniRequest.cc delete mode 100644 emr/src/model/DetachAndReleaseClusterEniResult.cc delete mode 100644 emr/src/model/GetHdfsCapacityStatisticInfoRequest.cc delete mode 100644 emr/src/model/GetHdfsCapacityStatisticInfoResult.cc delete mode 100644 emr/src/model/GetJobInputStatisticInfoRequest.cc delete mode 100644 emr/src/model/GetJobInputStatisticInfoResult.cc delete mode 100644 emr/src/model/GetJobOutputStatisticInfoRequest.cc delete mode 100644 emr/src/model/GetJobOutputStatisticInfoResult.cc delete mode 100644 emr/src/model/GetJobRunningTimeStatisticInfoRequest.cc delete mode 100644 emr/src/model/GetJobRunningTimeStatisticInfoResult.cc delete mode 100644 emr/src/model/GetQueueInputStatisticInfoRequest.cc delete mode 100644 emr/src/model/GetQueueInputStatisticInfoResult.cc delete mode 100644 emr/src/model/GetQueueOutputStatisticInfoRequest.cc delete mode 100644 emr/src/model/GetQueueOutputStatisticInfoResult.cc delete mode 100644 emr/src/model/GetQueueSubmissionStatisticInfoRequest.cc delete mode 100644 emr/src/model/GetQueueSubmissionStatisticInfoResult.cc delete mode 100644 emr/src/model/GetUserInputStatisticInfoRequest.cc delete mode 100644 emr/src/model/GetUserInputStatisticInfoResult.cc delete mode 100644 emr/src/model/GetUserOutputStatisticInfoRequest.cc delete mode 100644 emr/src/model/GetUserOutputStatisticInfoResult.cc delete mode 100644 emr/src/model/GetUserSubmissionStatisticInfoRequest.cc delete mode 100644 emr/src/model/GetUserSubmissionStatisticInfoResult.cc delete mode 100644 emr/src/model/InstallLibrariesRequest.cc delete mode 100644 emr/src/model/InstallLibrariesResult.cc delete mode 100644 emr/src/model/ListAdviceActionRequest.cc delete mode 100644 emr/src/model/ListAdviceActionResult.cc delete mode 100644 emr/src/model/ListBackupsRequest.cc delete mode 100644 emr/src/model/ListBackupsResult.cc delete mode 100644 emr/src/model/ListDataSourceRequest.cc delete mode 100644 emr/src/model/ListDataSourceResult.cc delete mode 100644 emr/src/model/ListDiskOpsEventsRequest.cc delete mode 100644 emr/src/model/ListDiskOpsEventsResult.cc delete mode 100644 emr/src/model/ListExecutionPlanInstancesRequest.cc delete mode 100644 emr/src/model/ListExecutionPlanInstancesResult.cc delete mode 100644 emr/src/model/ListJobExecutionInstancesRequest.cc delete mode 100644 emr/src/model/ListJobExecutionInstancesResult.cc delete mode 100644 emr/src/model/ListJobsRequest.cc delete mode 100644 emr/src/model/ListJobsResult.cc delete mode 100644 emr/src/model/ListLibrariesRequest.cc delete mode 100644 emr/src/model/ListLibrariesResult.cc delete mode 100644 emr/src/model/ListLibraryInstallTasksRequest.cc delete mode 100644 emr/src/model/ListLibraryInstallTasksResult.cc delete mode 100644 emr/src/model/ListLibraryStatusRequest.cc delete mode 100644 emr/src/model/ListLibraryStatusResult.cc delete mode 100644 emr/src/model/ListLocalDiskComponentInfoRequest.cc delete mode 100644 emr/src/model/ListLocalDiskComponentInfoResult.cc delete mode 100644 emr/src/model/ListRolesRequest.cc delete mode 100644 emr/src/model/ListRolesResult.cc delete mode 100644 emr/src/model/ListSecurityGroupRequest.cc delete mode 100644 emr/src/model/ListSecurityGroupResult.cc delete mode 100644 emr/src/model/ListStackRequest.cc delete mode 100644 emr/src/model/ListStackResult.cc delete mode 100644 emr/src/model/ListTagKeysRequest.cc delete mode 100644 emr/src/model/ListTagKeysResult.cc delete mode 100644 emr/src/model/ListTagValuesRequest.cc delete mode 100644 emr/src/model/ListTagValuesResult.cc delete mode 100644 emr/src/model/ListUsersRequest.cc delete mode 100644 emr/src/model/ListUsersResult.cc delete mode 100644 emr/src/model/ListVswitchRequest.cc delete mode 100644 emr/src/model/ListVswitchResult.cc delete mode 100644 emr/src/model/ModifyClusterBootstrapActionRequest.cc delete mode 100644 emr/src/model/ModifyClusterBootstrapActionResult.cc delete mode 100644 emr/src/model/ModifyClusterHostGroupRequest.cc delete mode 100644 emr/src/model/ModifyClusterHostGroupResult.cc delete mode 100644 emr/src/model/ModifyClusterMetaCollectRequest.cc delete mode 100644 emr/src/model/ModifyClusterMetaCollectResult.cc delete mode 100644 emr/src/model/ModifyClusterSecurityGroupRuleRequest.cc delete mode 100644 emr/src/model/ModifyClusterSecurityGroupRuleResult.cc delete mode 100644 emr/src/model/ModifyExecutionPlanRequest.cc delete mode 100644 emr/src/model/ModifyExecutionPlanResult.cc delete mode 100644 emr/src/model/ModifyFlowJobRequest.cc delete mode 100644 emr/src/model/ModifyFlowJobResult.cc delete mode 100644 emr/src/model/ModifyFlowRequest.cc delete mode 100644 emr/src/model/ModifyFlowResult.cc delete mode 100644 emr/src/model/ModifyJobRequest.cc delete mode 100644 emr/src/model/ModifyJobResult.cc delete mode 100644 emr/src/model/ModifyScalingRuleRequest.cc delete mode 100644 emr/src/model/ModifyScalingRuleResult.cc delete mode 100644 emr/src/model/ModifyScalingTaskGroupRequest.cc delete mode 100644 emr/src/model/ModifyScalingTaskGroupResult.cc delete mode 100644 emr/src/model/QueryEntityRequest.cc delete mode 100644 emr/src/model/QueryEntityResult.cc delete mode 100644 emr/src/model/QueryTagRequest.cc delete mode 100644 emr/src/model/QueryTagResult.cc delete mode 100644 emr/src/model/ResumeExecutionPlanSchedulerRequest.cc delete mode 100644 emr/src/model/ResumeExecutionPlanSchedulerResult.cc delete mode 100644 emr/src/model/RetryOperationRequest.cc delete mode 100644 emr/src/model/RetryOperationResult.cc delete mode 100644 emr/src/model/RunDiskOpsActivityRequest.cc delete mode 100644 emr/src/model/RunDiskOpsActivityResult.cc delete mode 100644 emr/src/model/RunExecutionPlanRequest.cc delete mode 100644 emr/src/model/RunExecutionPlanResult.cc delete mode 100644 emr/src/model/SearchLogRequest.cc delete mode 100644 emr/src/model/SearchLogResult.cc delete mode 100644 emr/src/model/SuspendExecutionPlanSchedulerRequest.cc delete mode 100644 emr/src/model/SuspendExecutionPlanSchedulerResult.cc delete mode 100644 emr/src/model/UninstallLibrariesRequest.cc delete mode 100644 emr/src/model/UninstallLibrariesResult.cc delete mode 100644 emr/src/model/UpdateDataSourceRequest.cc delete mode 100644 emr/src/model/UpdateDataSourceResult.cc delete mode 100644 emr/src/model/UpdateLibraryInstallTaskStatusRequest.cc delete mode 100644 emr/src/model/UpdateLibraryInstallTaskStatusResult.cc delete mode 100644 emr/src/model/UpdateTagRequest.cc delete mode 100644 emr/src/model/UpdateTagResult.cc delete mode 100644 emr/src/model/UpdateUserRequest.cc delete mode 100644 emr/src/model/UpdateUserResult.cc diff --git a/CHANGELOG b/CHANGELOG index d9eda631e..fa747e58f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-12-20 Version: 1.36.985 +- Generated 2016-04-08 for `Emr`. + 2021-12-17 Version: 1.36.984 - Support Endpoint Protect. diff --git a/VERSION b/VERSION index 5aa70ee68..b36957684 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.984 \ No newline at end of file +1.36.985 \ No newline at end of file diff --git a/emr/CMakeLists.txt b/emr/CMakeLists.txt index dd05d2e3a..f2bb3dfda 100644 --- a/emr/CMakeLists.txt +++ b/emr/CMakeLists.txt @@ -25,32 +25,16 @@ set(emr_public_header_model include/alibabacloud/emr/model/AddClusterServiceResult.h include/alibabacloud/emr/model/AddScalingConfigItemV2Request.h include/alibabacloud/emr/model/AddScalingConfigItemV2Result.h - include/alibabacloud/emr/model/AuthorizeSecurityGroupRequest.h - include/alibabacloud/emr/model/AuthorizeSecurityGroupResult.h - include/alibabacloud/emr/model/CancelOrderRequest.h - include/alibabacloud/emr/model/CancelOrderResult.h include/alibabacloud/emr/model/CloneFlowRequest.h include/alibabacloud/emr/model/CloneFlowResult.h include/alibabacloud/emr/model/CloneFlowJobRequest.h include/alibabacloud/emr/model/CloneFlowJobResult.h - include/alibabacloud/emr/model/CreateBackupRequest.h - include/alibabacloud/emr/model/CreateBackupResult.h - include/alibabacloud/emr/model/CreateBackupPlanRequest.h - include/alibabacloud/emr/model/CreateBackupPlanResult.h - include/alibabacloud/emr/model/CreateClusterBootstrapActionRequest.h - include/alibabacloud/emr/model/CreateClusterBootstrapActionResult.h - include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h - include/alibabacloud/emr/model/CreateClusterHostGroupResult.h include/alibabacloud/emr/model/CreateClusterTemplateRequest.h include/alibabacloud/emr/model/CreateClusterTemplateResult.h include/alibabacloud/emr/model/CreateClusterV2Request.h include/alibabacloud/emr/model/CreateClusterV2Result.h include/alibabacloud/emr/model/CreateClusterWithTemplateRequest.h include/alibabacloud/emr/model/CreateClusterWithTemplateResult.h - include/alibabacloud/emr/model/CreateDataSourceRequest.h - include/alibabacloud/emr/model/CreateDataSourceResult.h - include/alibabacloud/emr/model/CreateExecutionPlanRequest.h - include/alibabacloud/emr/model/CreateExecutionPlanResult.h include/alibabacloud/emr/model/CreateFlowRequest.h include/alibabacloud/emr/model/CreateFlowResult.h include/alibabacloud/emr/model/CreateFlowCategoryRequest.h @@ -65,32 +49,14 @@ set(emr_public_header_model include/alibabacloud/emr/model/CreateFlowProjectClusterSettingResult.h include/alibabacloud/emr/model/CreateFlowProjectUserRequest.h include/alibabacloud/emr/model/CreateFlowProjectUserResult.h - include/alibabacloud/emr/model/CreateJobRequest.h - include/alibabacloud/emr/model/CreateJobResult.h - include/alibabacloud/emr/model/CreateLibraryRequest.h - include/alibabacloud/emr/model/CreateLibraryResult.h - include/alibabacloud/emr/model/CreateMetaTablePreviewTaskRequest.h - include/alibabacloud/emr/model/CreateMetaTablePreviewTaskResult.h include/alibabacloud/emr/model/CreateResourcePoolRequest.h include/alibabacloud/emr/model/CreateResourcePoolResult.h include/alibabacloud/emr/model/CreateResourceQueueRequest.h include/alibabacloud/emr/model/CreateResourceQueueResult.h include/alibabacloud/emr/model/CreateScalingGroupV2Request.h include/alibabacloud/emr/model/CreateScalingGroupV2Result.h - include/alibabacloud/emr/model/CreateScalingRuleRequest.h - include/alibabacloud/emr/model/CreateScalingRuleResult.h - include/alibabacloud/emr/model/CreateTagRequest.h - include/alibabacloud/emr/model/CreateTagResult.h - include/alibabacloud/emr/model/CreateUserRequest.h - include/alibabacloud/emr/model/CreateUserResult.h - include/alibabacloud/emr/model/CreateUsersRequest.h - include/alibabacloud/emr/model/CreateUsersResult.h - include/alibabacloud/emr/model/DecommissionHostComponentRequest.h - include/alibabacloud/emr/model/DecommissionHostComponentResult.h include/alibabacloud/emr/model/DeleteClusterTemplateRequest.h include/alibabacloud/emr/model/DeleteClusterTemplateResult.h - include/alibabacloud/emr/model/DeleteExecutionPlanRequest.h - include/alibabacloud/emr/model/DeleteExecutionPlanResult.h include/alibabacloud/emr/model/DeleteFlowRequest.h include/alibabacloud/emr/model/DeleteFlowResult.h include/alibabacloud/emr/model/DeleteFlowCategoryRequest.h @@ -103,24 +69,12 @@ set(emr_public_header_model include/alibabacloud/emr/model/DeleteFlowProjectClusterSettingResult.h include/alibabacloud/emr/model/DeleteFlowProjectUserRequest.h include/alibabacloud/emr/model/DeleteFlowProjectUserResult.h - include/alibabacloud/emr/model/DeleteJobRequest.h - include/alibabacloud/emr/model/DeleteJobResult.h - include/alibabacloud/emr/model/DeleteLibrariesRequest.h - include/alibabacloud/emr/model/DeleteLibrariesResult.h include/alibabacloud/emr/model/DeleteResourcePoolRequest.h include/alibabacloud/emr/model/DeleteResourcePoolResult.h include/alibabacloud/emr/model/DeleteResourceQueueRequest.h include/alibabacloud/emr/model/DeleteResourceQueueResult.h - include/alibabacloud/emr/model/DeleteScalingRuleRequest.h - include/alibabacloud/emr/model/DeleteScalingRuleResult.h - include/alibabacloud/emr/model/DeleteTagRequest.h - include/alibabacloud/emr/model/DeleteTagResult.h - include/alibabacloud/emr/model/DeleteUserRequest.h - include/alibabacloud/emr/model/DeleteUserResult.h include/alibabacloud/emr/model/DescribeClusterBasicInfoRequest.h include/alibabacloud/emr/model/DescribeClusterBasicInfoResult.h - include/alibabacloud/emr/model/DescribeClusterMetaCollectRequest.h - include/alibabacloud/emr/model/DescribeClusterMetaCollectResult.h include/alibabacloud/emr/model/DescribeClusterOperationHostTaskLogRequest.h include/alibabacloud/emr/model/DescribeClusterOperationHostTaskLogResult.h include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeRequest.h @@ -129,22 +83,12 @@ set(emr_public_header_model include/alibabacloud/emr/model/DescribeClusterServiceResult.h include/alibabacloud/emr/model/DescribeClusterServiceConfigRequest.h include/alibabacloud/emr/model/DescribeClusterServiceConfigResult.h - include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryRequest.h - include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryResult.h include/alibabacloud/emr/model/DescribeClusterServiceConfigTagRequest.h include/alibabacloud/emr/model/DescribeClusterServiceConfigTagResult.h include/alibabacloud/emr/model/DescribeClusterTemplateRequest.h include/alibabacloud/emr/model/DescribeClusterTemplateResult.h include/alibabacloud/emr/model/DescribeClusterV2Request.h include/alibabacloud/emr/model/DescribeClusterV2Result.h - include/alibabacloud/emr/model/DescribeDataSourceRequest.h - include/alibabacloud/emr/model/DescribeDataSourceResult.h - include/alibabacloud/emr/model/DescribeDiskOpsActivityRequest.h - include/alibabacloud/emr/model/DescribeDiskOpsActivityResult.h - include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h - include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h - include/alibabacloud/emr/model/DescribeExecutionPlanRequest.h - include/alibabacloud/emr/model/DescribeExecutionPlanResult.h include/alibabacloud/emr/model/DescribeFlowRequest.h include/alibabacloud/emr/model/DescribeFlowResult.h include/alibabacloud/emr/model/DescribeFlowCategoryRequest.h @@ -165,16 +109,6 @@ set(emr_public_header_model include/alibabacloud/emr/model/DescribeFlowProjectResult.h include/alibabacloud/emr/model/DescribeFlowProjectClusterSettingRequest.h include/alibabacloud/emr/model/DescribeFlowProjectClusterSettingResult.h - include/alibabacloud/emr/model/DescribeJobRequest.h - include/alibabacloud/emr/model/DescribeJobResult.h - include/alibabacloud/emr/model/DescribeLibraryDetailRequest.h - include/alibabacloud/emr/model/DescribeLibraryDetailResult.h - include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailRequest.h - include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailResult.h - include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskRequest.h - include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskResult.h - include/alibabacloud/emr/model/DescribeScalingActivityRequest.h - include/alibabacloud/emr/model/DescribeScalingActivityResult.h include/alibabacloud/emr/model/DescribeScalingCommonConfigRequest.h include/alibabacloud/emr/model/DescribeScalingCommonConfigResult.h include/alibabacloud/emr/model/DescribeScalingConfigItemV2Request.h @@ -183,44 +117,12 @@ set(emr_public_header_model include/alibabacloud/emr/model/DescribeScalingGroupInstanceV2Result.h include/alibabacloud/emr/model/DescribeScalingGroupV2Request.h include/alibabacloud/emr/model/DescribeScalingGroupV2Result.h - include/alibabacloud/emr/model/DescribeScalingRuleRequest.h - include/alibabacloud/emr/model/DescribeScalingRuleResult.h - include/alibabacloud/emr/model/DescribeSecurityGroupAttributeRequest.h - include/alibabacloud/emr/model/DescribeSecurityGroupAttributeResult.h - include/alibabacloud/emr/model/DetachAndReleaseClusterEniRequest.h - include/alibabacloud/emr/model/DetachAndReleaseClusterEniResult.h - include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoRequest.h - include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoResult.h - include/alibabacloud/emr/model/GetJobInputStatisticInfoRequest.h - include/alibabacloud/emr/model/GetJobInputStatisticInfoResult.h - include/alibabacloud/emr/model/GetJobOutputStatisticInfoRequest.h - include/alibabacloud/emr/model/GetJobOutputStatisticInfoResult.h - include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoRequest.h - include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoResult.h - include/alibabacloud/emr/model/GetQueueInputStatisticInfoRequest.h - include/alibabacloud/emr/model/GetQueueInputStatisticInfoResult.h - include/alibabacloud/emr/model/GetQueueOutputStatisticInfoRequest.h - include/alibabacloud/emr/model/GetQueueOutputStatisticInfoResult.h - include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoRequest.h - include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoResult.h - include/alibabacloud/emr/model/GetUserInputStatisticInfoRequest.h - include/alibabacloud/emr/model/GetUserInputStatisticInfoResult.h - include/alibabacloud/emr/model/GetUserOutputStatisticInfoRequest.h - include/alibabacloud/emr/model/GetUserOutputStatisticInfoResult.h - include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoRequest.h - include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoResult.h - include/alibabacloud/emr/model/InstallLibrariesRequest.h - include/alibabacloud/emr/model/InstallLibrariesResult.h include/alibabacloud/emr/model/JoinResourceGroupRequest.h include/alibabacloud/emr/model/JoinResourceGroupResult.h include/alibabacloud/emr/model/KillFlowJobRequest.h include/alibabacloud/emr/model/KillFlowJobResult.h - include/alibabacloud/emr/model/ListAdviceActionRequest.h - include/alibabacloud/emr/model/ListAdviceActionResult.h include/alibabacloud/emr/model/ListApmApplicationRequest.h include/alibabacloud/emr/model/ListApmApplicationResult.h - include/alibabacloud/emr/model/ListBackupsRequest.h - include/alibabacloud/emr/model/ListBackupsResult.h include/alibabacloud/emr/model/ListClusterHostRequest.h include/alibabacloud/emr/model/ListClusterHostResult.h include/alibabacloud/emr/model/ListClusterHostComponentRequest.h @@ -251,18 +153,12 @@ set(emr_public_header_model include/alibabacloud/emr/model/ListClusterTemplatesResult.h include/alibabacloud/emr/model/ListClustersRequest.h include/alibabacloud/emr/model/ListClustersResult.h - include/alibabacloud/emr/model/ListDataSourceRequest.h - include/alibabacloud/emr/model/ListDataSourceResult.h - include/alibabacloud/emr/model/ListDiskOpsEventsRequest.h - include/alibabacloud/emr/model/ListDiskOpsEventsResult.h include/alibabacloud/emr/model/ListEmrAvailableConfigRequest.h include/alibabacloud/emr/model/ListEmrAvailableConfigResult.h include/alibabacloud/emr/model/ListEmrAvailableResourceRequest.h include/alibabacloud/emr/model/ListEmrAvailableResourceResult.h include/alibabacloud/emr/model/ListEmrMainVersionRequest.h include/alibabacloud/emr/model/ListEmrMainVersionResult.h - include/alibabacloud/emr/model/ListExecutionPlanInstancesRequest.h - include/alibabacloud/emr/model/ListExecutionPlanInstancesResult.h include/alibabacloud/emr/model/ListFlowRequest.h include/alibabacloud/emr/model/ListFlowResult.h include/alibabacloud/emr/model/ListFlowCategoryRequest.h @@ -293,72 +189,30 @@ set(emr_public_header_model include/alibabacloud/emr/model/ListFlowProjectClusterSettingResult.h include/alibabacloud/emr/model/ListFlowProjectUserRequest.h include/alibabacloud/emr/model/ListFlowProjectUserResult.h - include/alibabacloud/emr/model/ListJobExecutionInstancesRequest.h - include/alibabacloud/emr/model/ListJobExecutionInstancesResult.h - include/alibabacloud/emr/model/ListJobsRequest.h - include/alibabacloud/emr/model/ListJobsResult.h - include/alibabacloud/emr/model/ListLibrariesRequest.h - include/alibabacloud/emr/model/ListLibrariesResult.h - include/alibabacloud/emr/model/ListLibraryInstallTasksRequest.h - include/alibabacloud/emr/model/ListLibraryInstallTasksResult.h - include/alibabacloud/emr/model/ListLibraryStatusRequest.h - include/alibabacloud/emr/model/ListLibraryStatusResult.h - include/alibabacloud/emr/model/ListLocalDiskComponentInfoRequest.h - include/alibabacloud/emr/model/ListLocalDiskComponentInfoResult.h include/alibabacloud/emr/model/ListResourcePoolRequest.h include/alibabacloud/emr/model/ListResourcePoolResult.h - include/alibabacloud/emr/model/ListRolesRequest.h - include/alibabacloud/emr/model/ListRolesResult.h include/alibabacloud/emr/model/ListScalingActivityV2Request.h include/alibabacloud/emr/model/ListScalingActivityV2Result.h include/alibabacloud/emr/model/ListScalingConfigItemV2Request.h include/alibabacloud/emr/model/ListScalingConfigItemV2Result.h include/alibabacloud/emr/model/ListScalingGroupV2Request.h include/alibabacloud/emr/model/ListScalingGroupV2Result.h - include/alibabacloud/emr/model/ListSecurityGroupRequest.h - include/alibabacloud/emr/model/ListSecurityGroupResult.h - include/alibabacloud/emr/model/ListStackRequest.h - include/alibabacloud/emr/model/ListStackResult.h - include/alibabacloud/emr/model/ListTagKeysRequest.h - include/alibabacloud/emr/model/ListTagKeysResult.h include/alibabacloud/emr/model/ListTagResourcesRequest.h include/alibabacloud/emr/model/ListTagResourcesResult.h - include/alibabacloud/emr/model/ListTagValuesRequest.h - include/alibabacloud/emr/model/ListTagValuesResult.h - include/alibabacloud/emr/model/ListUsersRequest.h - include/alibabacloud/emr/model/ListUsersResult.h - include/alibabacloud/emr/model/ListVswitchRequest.h - include/alibabacloud/emr/model/ListVswitchResult.h - include/alibabacloud/emr/model/ModifyClusterBootstrapActionRequest.h - include/alibabacloud/emr/model/ModifyClusterBootstrapActionResult.h - include/alibabacloud/emr/model/ModifyClusterHostGroupRequest.h - include/alibabacloud/emr/model/ModifyClusterHostGroupResult.h - include/alibabacloud/emr/model/ModifyClusterMetaCollectRequest.h - include/alibabacloud/emr/model/ModifyClusterMetaCollectResult.h include/alibabacloud/emr/model/ModifyClusterNameRequest.h include/alibabacloud/emr/model/ModifyClusterNameResult.h - include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleRequest.h - include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleResult.h include/alibabacloud/emr/model/ModifyClusterServiceConfigRequest.h include/alibabacloud/emr/model/ModifyClusterServiceConfigResult.h include/alibabacloud/emr/model/ModifyClusterTemplateRequest.h include/alibabacloud/emr/model/ModifyClusterTemplateResult.h - include/alibabacloud/emr/model/ModifyExecutionPlanRequest.h - include/alibabacloud/emr/model/ModifyExecutionPlanResult.h - include/alibabacloud/emr/model/ModifyFlowRequest.h - include/alibabacloud/emr/model/ModifyFlowResult.h include/alibabacloud/emr/model/ModifyFlowCategoryRequest.h include/alibabacloud/emr/model/ModifyFlowCategoryResult.h include/alibabacloud/emr/model/ModifyFlowForWebRequest.h include/alibabacloud/emr/model/ModifyFlowForWebResult.h - include/alibabacloud/emr/model/ModifyFlowJobRequest.h - include/alibabacloud/emr/model/ModifyFlowJobResult.h include/alibabacloud/emr/model/ModifyFlowProjectRequest.h include/alibabacloud/emr/model/ModifyFlowProjectResult.h include/alibabacloud/emr/model/ModifyFlowProjectClusterSettingRequest.h include/alibabacloud/emr/model/ModifyFlowProjectClusterSettingResult.h - include/alibabacloud/emr/model/ModifyJobRequest.h - include/alibabacloud/emr/model/ModifyJobResult.h include/alibabacloud/emr/model/ModifyResourcePoolRequest.h include/alibabacloud/emr/model/ModifyResourcePoolResult.h include/alibabacloud/emr/model/ModifyResourcePoolSchedulerTypeRequest.h @@ -369,14 +223,6 @@ set(emr_public_header_model include/alibabacloud/emr/model/ModifyScalingConfigItemV2Result.h include/alibabacloud/emr/model/ModifyScalingGroupV2Request.h include/alibabacloud/emr/model/ModifyScalingGroupV2Result.h - include/alibabacloud/emr/model/ModifyScalingRuleRequest.h - include/alibabacloud/emr/model/ModifyScalingRuleResult.h - include/alibabacloud/emr/model/ModifyScalingTaskGroupRequest.h - include/alibabacloud/emr/model/ModifyScalingTaskGroupResult.h - include/alibabacloud/emr/model/QueryEntityRequest.h - include/alibabacloud/emr/model/QueryEntityResult.h - include/alibabacloud/emr/model/QueryTagRequest.h - include/alibabacloud/emr/model/QueryTagResult.h include/alibabacloud/emr/model/RefreshClusterResourcePoolRequest.h include/alibabacloud/emr/model/RefreshClusterResourcePoolResult.h include/alibabacloud/emr/model/ReleaseClusterRequest.h @@ -389,46 +235,24 @@ set(emr_public_header_model include/alibabacloud/emr/model/RerunFlowResult.h include/alibabacloud/emr/model/ResizeClusterV2Request.h include/alibabacloud/emr/model/ResizeClusterV2Result.h - include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerRequest.h - include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerResult.h include/alibabacloud/emr/model/ResumeFlowRequest.h include/alibabacloud/emr/model/ResumeFlowResult.h - include/alibabacloud/emr/model/RetryOperationRequest.h - include/alibabacloud/emr/model/RetryOperationResult.h include/alibabacloud/emr/model/RunClusterServiceActionRequest.h include/alibabacloud/emr/model/RunClusterServiceActionResult.h - include/alibabacloud/emr/model/RunDiskOpsActivityRequest.h - include/alibabacloud/emr/model/RunDiskOpsActivityResult.h - include/alibabacloud/emr/model/RunExecutionPlanRequest.h - include/alibabacloud/emr/model/RunExecutionPlanResult.h include/alibabacloud/emr/model/RunScalingActionV2Request.h include/alibabacloud/emr/model/RunScalingActionV2Result.h - include/alibabacloud/emr/model/SearchLogRequest.h - include/alibabacloud/emr/model/SearchLogResult.h include/alibabacloud/emr/model/StartFlowRequest.h include/alibabacloud/emr/model/StartFlowResult.h include/alibabacloud/emr/model/SubmitFlowRequest.h include/alibabacloud/emr/model/SubmitFlowResult.h include/alibabacloud/emr/model/SubmitFlowJobRequest.h include/alibabacloud/emr/model/SubmitFlowJobResult.h - include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerRequest.h - include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerResult.h include/alibabacloud/emr/model/SuspendFlowRequest.h include/alibabacloud/emr/model/SuspendFlowResult.h include/alibabacloud/emr/model/TagResourcesRequest.h include/alibabacloud/emr/model/TagResourcesResult.h - include/alibabacloud/emr/model/UninstallLibrariesRequest.h - include/alibabacloud/emr/model/UninstallLibrariesResult.h include/alibabacloud/emr/model/UntagResourcesRequest.h - include/alibabacloud/emr/model/UntagResourcesResult.h - include/alibabacloud/emr/model/UpdateDataSourceRequest.h - include/alibabacloud/emr/model/UpdateDataSourceResult.h - include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusRequest.h - include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusResult.h - include/alibabacloud/emr/model/UpdateTagRequest.h - include/alibabacloud/emr/model/UpdateTagResult.h - include/alibabacloud/emr/model/UpdateUserRequest.h - include/alibabacloud/emr/model/UpdateUserResult.h ) + include/alibabacloud/emr/model/UntagResourcesResult.h ) set(emr_src src/EmrClient.cc @@ -436,32 +260,16 @@ set(emr_src src/model/AddClusterServiceResult.cc src/model/AddScalingConfigItemV2Request.cc src/model/AddScalingConfigItemV2Result.cc - src/model/AuthorizeSecurityGroupRequest.cc - src/model/AuthorizeSecurityGroupResult.cc - src/model/CancelOrderRequest.cc - src/model/CancelOrderResult.cc src/model/CloneFlowRequest.cc src/model/CloneFlowResult.cc src/model/CloneFlowJobRequest.cc src/model/CloneFlowJobResult.cc - src/model/CreateBackupRequest.cc - src/model/CreateBackupResult.cc - src/model/CreateBackupPlanRequest.cc - src/model/CreateBackupPlanResult.cc - src/model/CreateClusterBootstrapActionRequest.cc - src/model/CreateClusterBootstrapActionResult.cc - src/model/CreateClusterHostGroupRequest.cc - src/model/CreateClusterHostGroupResult.cc src/model/CreateClusterTemplateRequest.cc src/model/CreateClusterTemplateResult.cc src/model/CreateClusterV2Request.cc src/model/CreateClusterV2Result.cc src/model/CreateClusterWithTemplateRequest.cc src/model/CreateClusterWithTemplateResult.cc - src/model/CreateDataSourceRequest.cc - src/model/CreateDataSourceResult.cc - src/model/CreateExecutionPlanRequest.cc - src/model/CreateExecutionPlanResult.cc src/model/CreateFlowRequest.cc src/model/CreateFlowResult.cc src/model/CreateFlowCategoryRequest.cc @@ -476,32 +284,14 @@ set(emr_src src/model/CreateFlowProjectClusterSettingResult.cc src/model/CreateFlowProjectUserRequest.cc src/model/CreateFlowProjectUserResult.cc - src/model/CreateJobRequest.cc - src/model/CreateJobResult.cc - src/model/CreateLibraryRequest.cc - src/model/CreateLibraryResult.cc - src/model/CreateMetaTablePreviewTaskRequest.cc - src/model/CreateMetaTablePreviewTaskResult.cc src/model/CreateResourcePoolRequest.cc src/model/CreateResourcePoolResult.cc src/model/CreateResourceQueueRequest.cc src/model/CreateResourceQueueResult.cc src/model/CreateScalingGroupV2Request.cc src/model/CreateScalingGroupV2Result.cc - src/model/CreateScalingRuleRequest.cc - src/model/CreateScalingRuleResult.cc - src/model/CreateTagRequest.cc - src/model/CreateTagResult.cc - src/model/CreateUserRequest.cc - src/model/CreateUserResult.cc - src/model/CreateUsersRequest.cc - src/model/CreateUsersResult.cc - src/model/DecommissionHostComponentRequest.cc - src/model/DecommissionHostComponentResult.cc src/model/DeleteClusterTemplateRequest.cc src/model/DeleteClusterTemplateResult.cc - src/model/DeleteExecutionPlanRequest.cc - src/model/DeleteExecutionPlanResult.cc src/model/DeleteFlowRequest.cc src/model/DeleteFlowResult.cc src/model/DeleteFlowCategoryRequest.cc @@ -514,24 +304,12 @@ set(emr_src src/model/DeleteFlowProjectClusterSettingResult.cc src/model/DeleteFlowProjectUserRequest.cc src/model/DeleteFlowProjectUserResult.cc - src/model/DeleteJobRequest.cc - src/model/DeleteJobResult.cc - src/model/DeleteLibrariesRequest.cc - src/model/DeleteLibrariesResult.cc src/model/DeleteResourcePoolRequest.cc src/model/DeleteResourcePoolResult.cc src/model/DeleteResourceQueueRequest.cc src/model/DeleteResourceQueueResult.cc - src/model/DeleteScalingRuleRequest.cc - src/model/DeleteScalingRuleResult.cc - src/model/DeleteTagRequest.cc - src/model/DeleteTagResult.cc - src/model/DeleteUserRequest.cc - src/model/DeleteUserResult.cc src/model/DescribeClusterBasicInfoRequest.cc src/model/DescribeClusterBasicInfoResult.cc - src/model/DescribeClusterMetaCollectRequest.cc - src/model/DescribeClusterMetaCollectResult.cc src/model/DescribeClusterOperationHostTaskLogRequest.cc src/model/DescribeClusterOperationHostTaskLogResult.cc src/model/DescribeClusterResourcePoolSchedulerTypeRequest.cc @@ -540,22 +318,12 @@ set(emr_src src/model/DescribeClusterServiceResult.cc src/model/DescribeClusterServiceConfigRequest.cc src/model/DescribeClusterServiceConfigResult.cc - src/model/DescribeClusterServiceConfigHistoryRequest.cc - src/model/DescribeClusterServiceConfigHistoryResult.cc src/model/DescribeClusterServiceConfigTagRequest.cc src/model/DescribeClusterServiceConfigTagResult.cc src/model/DescribeClusterTemplateRequest.cc src/model/DescribeClusterTemplateResult.cc src/model/DescribeClusterV2Request.cc src/model/DescribeClusterV2Result.cc - src/model/DescribeDataSourceRequest.cc - src/model/DescribeDataSourceResult.cc - src/model/DescribeDiskOpsActivityRequest.cc - src/model/DescribeDiskOpsActivityResult.cc - src/model/DescribeEmrMainVersionRequest.cc - src/model/DescribeEmrMainVersionResult.cc - src/model/DescribeExecutionPlanRequest.cc - src/model/DescribeExecutionPlanResult.cc src/model/DescribeFlowRequest.cc src/model/DescribeFlowResult.cc src/model/DescribeFlowCategoryRequest.cc @@ -576,16 +344,6 @@ set(emr_src src/model/DescribeFlowProjectResult.cc src/model/DescribeFlowProjectClusterSettingRequest.cc src/model/DescribeFlowProjectClusterSettingResult.cc - src/model/DescribeJobRequest.cc - src/model/DescribeJobResult.cc - src/model/DescribeLibraryDetailRequest.cc - src/model/DescribeLibraryDetailResult.cc - src/model/DescribeLibraryInstallTaskDetailRequest.cc - src/model/DescribeLibraryInstallTaskDetailResult.cc - src/model/DescribeMetaTablePreviewTaskRequest.cc - src/model/DescribeMetaTablePreviewTaskResult.cc - src/model/DescribeScalingActivityRequest.cc - src/model/DescribeScalingActivityResult.cc src/model/DescribeScalingCommonConfigRequest.cc src/model/DescribeScalingCommonConfigResult.cc src/model/DescribeScalingConfigItemV2Request.cc @@ -594,44 +352,12 @@ set(emr_src src/model/DescribeScalingGroupInstanceV2Result.cc src/model/DescribeScalingGroupV2Request.cc src/model/DescribeScalingGroupV2Result.cc - src/model/DescribeScalingRuleRequest.cc - src/model/DescribeScalingRuleResult.cc - src/model/DescribeSecurityGroupAttributeRequest.cc - src/model/DescribeSecurityGroupAttributeResult.cc - src/model/DetachAndReleaseClusterEniRequest.cc - src/model/DetachAndReleaseClusterEniResult.cc - src/model/GetHdfsCapacityStatisticInfoRequest.cc - src/model/GetHdfsCapacityStatisticInfoResult.cc - src/model/GetJobInputStatisticInfoRequest.cc - src/model/GetJobInputStatisticInfoResult.cc - src/model/GetJobOutputStatisticInfoRequest.cc - src/model/GetJobOutputStatisticInfoResult.cc - src/model/GetJobRunningTimeStatisticInfoRequest.cc - src/model/GetJobRunningTimeStatisticInfoResult.cc - src/model/GetQueueInputStatisticInfoRequest.cc - src/model/GetQueueInputStatisticInfoResult.cc - src/model/GetQueueOutputStatisticInfoRequest.cc - src/model/GetQueueOutputStatisticInfoResult.cc - src/model/GetQueueSubmissionStatisticInfoRequest.cc - src/model/GetQueueSubmissionStatisticInfoResult.cc - src/model/GetUserInputStatisticInfoRequest.cc - src/model/GetUserInputStatisticInfoResult.cc - src/model/GetUserOutputStatisticInfoRequest.cc - src/model/GetUserOutputStatisticInfoResult.cc - src/model/GetUserSubmissionStatisticInfoRequest.cc - src/model/GetUserSubmissionStatisticInfoResult.cc - src/model/InstallLibrariesRequest.cc - src/model/InstallLibrariesResult.cc src/model/JoinResourceGroupRequest.cc src/model/JoinResourceGroupResult.cc src/model/KillFlowJobRequest.cc src/model/KillFlowJobResult.cc - src/model/ListAdviceActionRequest.cc - src/model/ListAdviceActionResult.cc src/model/ListApmApplicationRequest.cc src/model/ListApmApplicationResult.cc - src/model/ListBackupsRequest.cc - src/model/ListBackupsResult.cc src/model/ListClusterHostRequest.cc src/model/ListClusterHostResult.cc src/model/ListClusterHostComponentRequest.cc @@ -662,18 +388,12 @@ set(emr_src src/model/ListClusterTemplatesResult.cc src/model/ListClustersRequest.cc src/model/ListClustersResult.cc - src/model/ListDataSourceRequest.cc - src/model/ListDataSourceResult.cc - src/model/ListDiskOpsEventsRequest.cc - src/model/ListDiskOpsEventsResult.cc src/model/ListEmrAvailableConfigRequest.cc src/model/ListEmrAvailableConfigResult.cc src/model/ListEmrAvailableResourceRequest.cc src/model/ListEmrAvailableResourceResult.cc src/model/ListEmrMainVersionRequest.cc src/model/ListEmrMainVersionResult.cc - src/model/ListExecutionPlanInstancesRequest.cc - src/model/ListExecutionPlanInstancesResult.cc src/model/ListFlowRequest.cc src/model/ListFlowResult.cc src/model/ListFlowCategoryRequest.cc @@ -704,72 +424,30 @@ set(emr_src src/model/ListFlowProjectClusterSettingResult.cc src/model/ListFlowProjectUserRequest.cc src/model/ListFlowProjectUserResult.cc - src/model/ListJobExecutionInstancesRequest.cc - src/model/ListJobExecutionInstancesResult.cc - src/model/ListJobsRequest.cc - src/model/ListJobsResult.cc - src/model/ListLibrariesRequest.cc - src/model/ListLibrariesResult.cc - src/model/ListLibraryInstallTasksRequest.cc - src/model/ListLibraryInstallTasksResult.cc - src/model/ListLibraryStatusRequest.cc - src/model/ListLibraryStatusResult.cc - src/model/ListLocalDiskComponentInfoRequest.cc - src/model/ListLocalDiskComponentInfoResult.cc src/model/ListResourcePoolRequest.cc src/model/ListResourcePoolResult.cc - src/model/ListRolesRequest.cc - src/model/ListRolesResult.cc src/model/ListScalingActivityV2Request.cc src/model/ListScalingActivityV2Result.cc src/model/ListScalingConfigItemV2Request.cc src/model/ListScalingConfigItemV2Result.cc src/model/ListScalingGroupV2Request.cc src/model/ListScalingGroupV2Result.cc - src/model/ListSecurityGroupRequest.cc - src/model/ListSecurityGroupResult.cc - src/model/ListStackRequest.cc - src/model/ListStackResult.cc - src/model/ListTagKeysRequest.cc - src/model/ListTagKeysResult.cc src/model/ListTagResourcesRequest.cc src/model/ListTagResourcesResult.cc - src/model/ListTagValuesRequest.cc - src/model/ListTagValuesResult.cc - src/model/ListUsersRequest.cc - src/model/ListUsersResult.cc - src/model/ListVswitchRequest.cc - src/model/ListVswitchResult.cc - src/model/ModifyClusterBootstrapActionRequest.cc - src/model/ModifyClusterBootstrapActionResult.cc - src/model/ModifyClusterHostGroupRequest.cc - src/model/ModifyClusterHostGroupResult.cc - src/model/ModifyClusterMetaCollectRequest.cc - src/model/ModifyClusterMetaCollectResult.cc src/model/ModifyClusterNameRequest.cc src/model/ModifyClusterNameResult.cc - src/model/ModifyClusterSecurityGroupRuleRequest.cc - src/model/ModifyClusterSecurityGroupRuleResult.cc src/model/ModifyClusterServiceConfigRequest.cc src/model/ModifyClusterServiceConfigResult.cc src/model/ModifyClusterTemplateRequest.cc src/model/ModifyClusterTemplateResult.cc - src/model/ModifyExecutionPlanRequest.cc - src/model/ModifyExecutionPlanResult.cc - src/model/ModifyFlowRequest.cc - src/model/ModifyFlowResult.cc src/model/ModifyFlowCategoryRequest.cc src/model/ModifyFlowCategoryResult.cc src/model/ModifyFlowForWebRequest.cc src/model/ModifyFlowForWebResult.cc - src/model/ModifyFlowJobRequest.cc - src/model/ModifyFlowJobResult.cc src/model/ModifyFlowProjectRequest.cc src/model/ModifyFlowProjectResult.cc src/model/ModifyFlowProjectClusterSettingRequest.cc src/model/ModifyFlowProjectClusterSettingResult.cc - src/model/ModifyJobRequest.cc - src/model/ModifyJobResult.cc src/model/ModifyResourcePoolRequest.cc src/model/ModifyResourcePoolResult.cc src/model/ModifyResourcePoolSchedulerTypeRequest.cc @@ -780,14 +458,6 @@ set(emr_src src/model/ModifyScalingConfigItemV2Result.cc src/model/ModifyScalingGroupV2Request.cc src/model/ModifyScalingGroupV2Result.cc - src/model/ModifyScalingRuleRequest.cc - src/model/ModifyScalingRuleResult.cc - src/model/ModifyScalingTaskGroupRequest.cc - src/model/ModifyScalingTaskGroupResult.cc - src/model/QueryEntityRequest.cc - src/model/QueryEntityResult.cc - src/model/QueryTagRequest.cc - src/model/QueryTagResult.cc src/model/RefreshClusterResourcePoolRequest.cc src/model/RefreshClusterResourcePoolResult.cc src/model/ReleaseClusterRequest.cc @@ -800,46 +470,24 @@ set(emr_src src/model/RerunFlowResult.cc src/model/ResizeClusterV2Request.cc src/model/ResizeClusterV2Result.cc - src/model/ResumeExecutionPlanSchedulerRequest.cc - src/model/ResumeExecutionPlanSchedulerResult.cc src/model/ResumeFlowRequest.cc src/model/ResumeFlowResult.cc - src/model/RetryOperationRequest.cc - src/model/RetryOperationResult.cc src/model/RunClusterServiceActionRequest.cc src/model/RunClusterServiceActionResult.cc - src/model/RunDiskOpsActivityRequest.cc - src/model/RunDiskOpsActivityResult.cc - src/model/RunExecutionPlanRequest.cc - src/model/RunExecutionPlanResult.cc src/model/RunScalingActionV2Request.cc src/model/RunScalingActionV2Result.cc - src/model/SearchLogRequest.cc - src/model/SearchLogResult.cc src/model/StartFlowRequest.cc src/model/StartFlowResult.cc src/model/SubmitFlowRequest.cc src/model/SubmitFlowResult.cc src/model/SubmitFlowJobRequest.cc src/model/SubmitFlowJobResult.cc - src/model/SuspendExecutionPlanSchedulerRequest.cc - src/model/SuspendExecutionPlanSchedulerResult.cc src/model/SuspendFlowRequest.cc src/model/SuspendFlowResult.cc src/model/TagResourcesRequest.cc src/model/TagResourcesResult.cc - src/model/UninstallLibrariesRequest.cc - src/model/UninstallLibrariesResult.cc src/model/UntagResourcesRequest.cc - src/model/UntagResourcesResult.cc - src/model/UpdateDataSourceRequest.cc - src/model/UpdateDataSourceResult.cc - src/model/UpdateLibraryInstallTaskStatusRequest.cc - src/model/UpdateLibraryInstallTaskStatusResult.cc - src/model/UpdateTagRequest.cc - src/model/UpdateTagResult.cc - src/model/UpdateUserRequest.cc - src/model/UpdateUserResult.cc ) + src/model/UntagResourcesResult.cc ) add_library(emr ${LIB_TYPE} ${emr_public_header} diff --git a/emr/include/alibabacloud/emr/EmrClient.h b/emr/include/alibabacloud/emr/EmrClient.h index e8becf8c6..ddd884934 100644 --- a/emr/include/alibabacloud/emr/EmrClient.h +++ b/emr/include/alibabacloud/emr/EmrClient.h @@ -26,32 +26,16 @@ #include "model/AddClusterServiceResult.h" #include "model/AddScalingConfigItemV2Request.h" #include "model/AddScalingConfigItemV2Result.h" -#include "model/AuthorizeSecurityGroupRequest.h" -#include "model/AuthorizeSecurityGroupResult.h" -#include "model/CancelOrderRequest.h" -#include "model/CancelOrderResult.h" #include "model/CloneFlowRequest.h" #include "model/CloneFlowResult.h" #include "model/CloneFlowJobRequest.h" #include "model/CloneFlowJobResult.h" -#include "model/CreateBackupRequest.h" -#include "model/CreateBackupResult.h" -#include "model/CreateBackupPlanRequest.h" -#include "model/CreateBackupPlanResult.h" -#include "model/CreateClusterBootstrapActionRequest.h" -#include "model/CreateClusterBootstrapActionResult.h" -#include "model/CreateClusterHostGroupRequest.h" -#include "model/CreateClusterHostGroupResult.h" #include "model/CreateClusterTemplateRequest.h" #include "model/CreateClusterTemplateResult.h" #include "model/CreateClusterV2Request.h" #include "model/CreateClusterV2Result.h" #include "model/CreateClusterWithTemplateRequest.h" #include "model/CreateClusterWithTemplateResult.h" -#include "model/CreateDataSourceRequest.h" -#include "model/CreateDataSourceResult.h" -#include "model/CreateExecutionPlanRequest.h" -#include "model/CreateExecutionPlanResult.h" #include "model/CreateFlowRequest.h" #include "model/CreateFlowResult.h" #include "model/CreateFlowCategoryRequest.h" @@ -66,32 +50,14 @@ #include "model/CreateFlowProjectClusterSettingResult.h" #include "model/CreateFlowProjectUserRequest.h" #include "model/CreateFlowProjectUserResult.h" -#include "model/CreateJobRequest.h" -#include "model/CreateJobResult.h" -#include "model/CreateLibraryRequest.h" -#include "model/CreateLibraryResult.h" -#include "model/CreateMetaTablePreviewTaskRequest.h" -#include "model/CreateMetaTablePreviewTaskResult.h" #include "model/CreateResourcePoolRequest.h" #include "model/CreateResourcePoolResult.h" #include "model/CreateResourceQueueRequest.h" #include "model/CreateResourceQueueResult.h" #include "model/CreateScalingGroupV2Request.h" #include "model/CreateScalingGroupV2Result.h" -#include "model/CreateScalingRuleRequest.h" -#include "model/CreateScalingRuleResult.h" -#include "model/CreateTagRequest.h" -#include "model/CreateTagResult.h" -#include "model/CreateUserRequest.h" -#include "model/CreateUserResult.h" -#include "model/CreateUsersRequest.h" -#include "model/CreateUsersResult.h" -#include "model/DecommissionHostComponentRequest.h" -#include "model/DecommissionHostComponentResult.h" #include "model/DeleteClusterTemplateRequest.h" #include "model/DeleteClusterTemplateResult.h" -#include "model/DeleteExecutionPlanRequest.h" -#include "model/DeleteExecutionPlanResult.h" #include "model/DeleteFlowRequest.h" #include "model/DeleteFlowResult.h" #include "model/DeleteFlowCategoryRequest.h" @@ -104,24 +70,12 @@ #include "model/DeleteFlowProjectClusterSettingResult.h" #include "model/DeleteFlowProjectUserRequest.h" #include "model/DeleteFlowProjectUserResult.h" -#include "model/DeleteJobRequest.h" -#include "model/DeleteJobResult.h" -#include "model/DeleteLibrariesRequest.h" -#include "model/DeleteLibrariesResult.h" #include "model/DeleteResourcePoolRequest.h" #include "model/DeleteResourcePoolResult.h" #include "model/DeleteResourceQueueRequest.h" #include "model/DeleteResourceQueueResult.h" -#include "model/DeleteScalingRuleRequest.h" -#include "model/DeleteScalingRuleResult.h" -#include "model/DeleteTagRequest.h" -#include "model/DeleteTagResult.h" -#include "model/DeleteUserRequest.h" -#include "model/DeleteUserResult.h" #include "model/DescribeClusterBasicInfoRequest.h" #include "model/DescribeClusterBasicInfoResult.h" -#include "model/DescribeClusterMetaCollectRequest.h" -#include "model/DescribeClusterMetaCollectResult.h" #include "model/DescribeClusterOperationHostTaskLogRequest.h" #include "model/DescribeClusterOperationHostTaskLogResult.h" #include "model/DescribeClusterResourcePoolSchedulerTypeRequest.h" @@ -130,22 +84,12 @@ #include "model/DescribeClusterServiceResult.h" #include "model/DescribeClusterServiceConfigRequest.h" #include "model/DescribeClusterServiceConfigResult.h" -#include "model/DescribeClusterServiceConfigHistoryRequest.h" -#include "model/DescribeClusterServiceConfigHistoryResult.h" #include "model/DescribeClusterServiceConfigTagRequest.h" #include "model/DescribeClusterServiceConfigTagResult.h" #include "model/DescribeClusterTemplateRequest.h" #include "model/DescribeClusterTemplateResult.h" #include "model/DescribeClusterV2Request.h" #include "model/DescribeClusterV2Result.h" -#include "model/DescribeDataSourceRequest.h" -#include "model/DescribeDataSourceResult.h" -#include "model/DescribeDiskOpsActivityRequest.h" -#include "model/DescribeDiskOpsActivityResult.h" -#include "model/DescribeEmrMainVersionRequest.h" -#include "model/DescribeEmrMainVersionResult.h" -#include "model/DescribeExecutionPlanRequest.h" -#include "model/DescribeExecutionPlanResult.h" #include "model/DescribeFlowRequest.h" #include "model/DescribeFlowResult.h" #include "model/DescribeFlowCategoryRequest.h" @@ -166,16 +110,6 @@ #include "model/DescribeFlowProjectResult.h" #include "model/DescribeFlowProjectClusterSettingRequest.h" #include "model/DescribeFlowProjectClusterSettingResult.h" -#include "model/DescribeJobRequest.h" -#include "model/DescribeJobResult.h" -#include "model/DescribeLibraryDetailRequest.h" -#include "model/DescribeLibraryDetailResult.h" -#include "model/DescribeLibraryInstallTaskDetailRequest.h" -#include "model/DescribeLibraryInstallTaskDetailResult.h" -#include "model/DescribeMetaTablePreviewTaskRequest.h" -#include "model/DescribeMetaTablePreviewTaskResult.h" -#include "model/DescribeScalingActivityRequest.h" -#include "model/DescribeScalingActivityResult.h" #include "model/DescribeScalingCommonConfigRequest.h" #include "model/DescribeScalingCommonConfigResult.h" #include "model/DescribeScalingConfigItemV2Request.h" @@ -184,44 +118,12 @@ #include "model/DescribeScalingGroupInstanceV2Result.h" #include "model/DescribeScalingGroupV2Request.h" #include "model/DescribeScalingGroupV2Result.h" -#include "model/DescribeScalingRuleRequest.h" -#include "model/DescribeScalingRuleResult.h" -#include "model/DescribeSecurityGroupAttributeRequest.h" -#include "model/DescribeSecurityGroupAttributeResult.h" -#include "model/DetachAndReleaseClusterEniRequest.h" -#include "model/DetachAndReleaseClusterEniResult.h" -#include "model/GetHdfsCapacityStatisticInfoRequest.h" -#include "model/GetHdfsCapacityStatisticInfoResult.h" -#include "model/GetJobInputStatisticInfoRequest.h" -#include "model/GetJobInputStatisticInfoResult.h" -#include "model/GetJobOutputStatisticInfoRequest.h" -#include "model/GetJobOutputStatisticInfoResult.h" -#include "model/GetJobRunningTimeStatisticInfoRequest.h" -#include "model/GetJobRunningTimeStatisticInfoResult.h" -#include "model/GetQueueInputStatisticInfoRequest.h" -#include "model/GetQueueInputStatisticInfoResult.h" -#include "model/GetQueueOutputStatisticInfoRequest.h" -#include "model/GetQueueOutputStatisticInfoResult.h" -#include "model/GetQueueSubmissionStatisticInfoRequest.h" -#include "model/GetQueueSubmissionStatisticInfoResult.h" -#include "model/GetUserInputStatisticInfoRequest.h" -#include "model/GetUserInputStatisticInfoResult.h" -#include "model/GetUserOutputStatisticInfoRequest.h" -#include "model/GetUserOutputStatisticInfoResult.h" -#include "model/GetUserSubmissionStatisticInfoRequest.h" -#include "model/GetUserSubmissionStatisticInfoResult.h" -#include "model/InstallLibrariesRequest.h" -#include "model/InstallLibrariesResult.h" #include "model/JoinResourceGroupRequest.h" #include "model/JoinResourceGroupResult.h" #include "model/KillFlowJobRequest.h" #include "model/KillFlowJobResult.h" -#include "model/ListAdviceActionRequest.h" -#include "model/ListAdviceActionResult.h" #include "model/ListApmApplicationRequest.h" #include "model/ListApmApplicationResult.h" -#include "model/ListBackupsRequest.h" -#include "model/ListBackupsResult.h" #include "model/ListClusterHostRequest.h" #include "model/ListClusterHostResult.h" #include "model/ListClusterHostComponentRequest.h" @@ -252,18 +154,12 @@ #include "model/ListClusterTemplatesResult.h" #include "model/ListClustersRequest.h" #include "model/ListClustersResult.h" -#include "model/ListDataSourceRequest.h" -#include "model/ListDataSourceResult.h" -#include "model/ListDiskOpsEventsRequest.h" -#include "model/ListDiskOpsEventsResult.h" #include "model/ListEmrAvailableConfigRequest.h" #include "model/ListEmrAvailableConfigResult.h" #include "model/ListEmrAvailableResourceRequest.h" #include "model/ListEmrAvailableResourceResult.h" #include "model/ListEmrMainVersionRequest.h" #include "model/ListEmrMainVersionResult.h" -#include "model/ListExecutionPlanInstancesRequest.h" -#include "model/ListExecutionPlanInstancesResult.h" #include "model/ListFlowRequest.h" #include "model/ListFlowResult.h" #include "model/ListFlowCategoryRequest.h" @@ -294,72 +190,30 @@ #include "model/ListFlowProjectClusterSettingResult.h" #include "model/ListFlowProjectUserRequest.h" #include "model/ListFlowProjectUserResult.h" -#include "model/ListJobExecutionInstancesRequest.h" -#include "model/ListJobExecutionInstancesResult.h" -#include "model/ListJobsRequest.h" -#include "model/ListJobsResult.h" -#include "model/ListLibrariesRequest.h" -#include "model/ListLibrariesResult.h" -#include "model/ListLibraryInstallTasksRequest.h" -#include "model/ListLibraryInstallTasksResult.h" -#include "model/ListLibraryStatusRequest.h" -#include "model/ListLibraryStatusResult.h" -#include "model/ListLocalDiskComponentInfoRequest.h" -#include "model/ListLocalDiskComponentInfoResult.h" #include "model/ListResourcePoolRequest.h" #include "model/ListResourcePoolResult.h" -#include "model/ListRolesRequest.h" -#include "model/ListRolesResult.h" #include "model/ListScalingActivityV2Request.h" #include "model/ListScalingActivityV2Result.h" #include "model/ListScalingConfigItemV2Request.h" #include "model/ListScalingConfigItemV2Result.h" #include "model/ListScalingGroupV2Request.h" #include "model/ListScalingGroupV2Result.h" -#include "model/ListSecurityGroupRequest.h" -#include "model/ListSecurityGroupResult.h" -#include "model/ListStackRequest.h" -#include "model/ListStackResult.h" -#include "model/ListTagKeysRequest.h" -#include "model/ListTagKeysResult.h" #include "model/ListTagResourcesRequest.h" #include "model/ListTagResourcesResult.h" -#include "model/ListTagValuesRequest.h" -#include "model/ListTagValuesResult.h" -#include "model/ListUsersRequest.h" -#include "model/ListUsersResult.h" -#include "model/ListVswitchRequest.h" -#include "model/ListVswitchResult.h" -#include "model/ModifyClusterBootstrapActionRequest.h" -#include "model/ModifyClusterBootstrapActionResult.h" -#include "model/ModifyClusterHostGroupRequest.h" -#include "model/ModifyClusterHostGroupResult.h" -#include "model/ModifyClusterMetaCollectRequest.h" -#include "model/ModifyClusterMetaCollectResult.h" #include "model/ModifyClusterNameRequest.h" #include "model/ModifyClusterNameResult.h" -#include "model/ModifyClusterSecurityGroupRuleRequest.h" -#include "model/ModifyClusterSecurityGroupRuleResult.h" #include "model/ModifyClusterServiceConfigRequest.h" #include "model/ModifyClusterServiceConfigResult.h" #include "model/ModifyClusterTemplateRequest.h" #include "model/ModifyClusterTemplateResult.h" -#include "model/ModifyExecutionPlanRequest.h" -#include "model/ModifyExecutionPlanResult.h" -#include "model/ModifyFlowRequest.h" -#include "model/ModifyFlowResult.h" #include "model/ModifyFlowCategoryRequest.h" #include "model/ModifyFlowCategoryResult.h" #include "model/ModifyFlowForWebRequest.h" #include "model/ModifyFlowForWebResult.h" -#include "model/ModifyFlowJobRequest.h" -#include "model/ModifyFlowJobResult.h" #include "model/ModifyFlowProjectRequest.h" #include "model/ModifyFlowProjectResult.h" #include "model/ModifyFlowProjectClusterSettingRequest.h" #include "model/ModifyFlowProjectClusterSettingResult.h" -#include "model/ModifyJobRequest.h" -#include "model/ModifyJobResult.h" #include "model/ModifyResourcePoolRequest.h" #include "model/ModifyResourcePoolResult.h" #include "model/ModifyResourcePoolSchedulerTypeRequest.h" @@ -370,14 +224,6 @@ #include "model/ModifyScalingConfigItemV2Result.h" #include "model/ModifyScalingGroupV2Request.h" #include "model/ModifyScalingGroupV2Result.h" -#include "model/ModifyScalingRuleRequest.h" -#include "model/ModifyScalingRuleResult.h" -#include "model/ModifyScalingTaskGroupRequest.h" -#include "model/ModifyScalingTaskGroupResult.h" -#include "model/QueryEntityRequest.h" -#include "model/QueryEntityResult.h" -#include "model/QueryTagRequest.h" -#include "model/QueryTagResult.h" #include "model/RefreshClusterResourcePoolRequest.h" #include "model/RefreshClusterResourcePoolResult.h" #include "model/ReleaseClusterRequest.h" @@ -390,46 +236,24 @@ #include "model/RerunFlowResult.h" #include "model/ResizeClusterV2Request.h" #include "model/ResizeClusterV2Result.h" -#include "model/ResumeExecutionPlanSchedulerRequest.h" -#include "model/ResumeExecutionPlanSchedulerResult.h" #include "model/ResumeFlowRequest.h" #include "model/ResumeFlowResult.h" -#include "model/RetryOperationRequest.h" -#include "model/RetryOperationResult.h" #include "model/RunClusterServiceActionRequest.h" #include "model/RunClusterServiceActionResult.h" -#include "model/RunDiskOpsActivityRequest.h" -#include "model/RunDiskOpsActivityResult.h" -#include "model/RunExecutionPlanRequest.h" -#include "model/RunExecutionPlanResult.h" #include "model/RunScalingActionV2Request.h" #include "model/RunScalingActionV2Result.h" -#include "model/SearchLogRequest.h" -#include "model/SearchLogResult.h" #include "model/StartFlowRequest.h" #include "model/StartFlowResult.h" #include "model/SubmitFlowRequest.h" #include "model/SubmitFlowResult.h" #include "model/SubmitFlowJobRequest.h" #include "model/SubmitFlowJobResult.h" -#include "model/SuspendExecutionPlanSchedulerRequest.h" -#include "model/SuspendExecutionPlanSchedulerResult.h" #include "model/SuspendFlowRequest.h" #include "model/SuspendFlowResult.h" #include "model/TagResourcesRequest.h" #include "model/TagResourcesResult.h" -#include "model/UninstallLibrariesRequest.h" -#include "model/UninstallLibrariesResult.h" #include "model/UntagResourcesRequest.h" #include "model/UntagResourcesResult.h" -#include "model/UpdateDataSourceRequest.h" -#include "model/UpdateDataSourceResult.h" -#include "model/UpdateLibraryInstallTaskStatusRequest.h" -#include "model/UpdateLibraryInstallTaskStatusResult.h" -#include "model/UpdateTagRequest.h" -#include "model/UpdateTagResult.h" -#include "model/UpdateUserRequest.h" -#include "model/UpdateUserResult.h" namespace AlibabaCloud @@ -445,30 +269,12 @@ namespace AlibabaCloud typedef Outcome AddScalingConfigItemV2Outcome; typedef std::future AddScalingConfigItemV2OutcomeCallable; typedef std::function&)> AddScalingConfigItemV2AsyncHandler; - typedef Outcome AuthorizeSecurityGroupOutcome; - typedef std::future AuthorizeSecurityGroupOutcomeCallable; - typedef std::function&)> AuthorizeSecurityGroupAsyncHandler; - typedef Outcome CancelOrderOutcome; - typedef std::future CancelOrderOutcomeCallable; - typedef std::function&)> CancelOrderAsyncHandler; typedef Outcome CloneFlowOutcome; typedef std::future CloneFlowOutcomeCallable; typedef std::function&)> CloneFlowAsyncHandler; typedef Outcome CloneFlowJobOutcome; typedef std::future CloneFlowJobOutcomeCallable; typedef std::function&)> CloneFlowJobAsyncHandler; - typedef Outcome CreateBackupOutcome; - typedef std::future CreateBackupOutcomeCallable; - typedef std::function&)> CreateBackupAsyncHandler; - typedef Outcome CreateBackupPlanOutcome; - typedef std::future CreateBackupPlanOutcomeCallable; - typedef std::function&)> CreateBackupPlanAsyncHandler; - typedef Outcome CreateClusterBootstrapActionOutcome; - typedef std::future CreateClusterBootstrapActionOutcomeCallable; - typedef std::function&)> CreateClusterBootstrapActionAsyncHandler; - typedef Outcome CreateClusterHostGroupOutcome; - typedef std::future CreateClusterHostGroupOutcomeCallable; - typedef std::function&)> CreateClusterHostGroupAsyncHandler; typedef Outcome CreateClusterTemplateOutcome; typedef std::future CreateClusterTemplateOutcomeCallable; typedef std::function&)> CreateClusterTemplateAsyncHandler; @@ -478,12 +284,6 @@ namespace AlibabaCloud typedef Outcome CreateClusterWithTemplateOutcome; typedef std::future CreateClusterWithTemplateOutcomeCallable; typedef std::function&)> CreateClusterWithTemplateAsyncHandler; - typedef Outcome CreateDataSourceOutcome; - typedef std::future CreateDataSourceOutcomeCallable; - typedef std::function&)> CreateDataSourceAsyncHandler; - typedef Outcome CreateExecutionPlanOutcome; - typedef std::future CreateExecutionPlanOutcomeCallable; - typedef std::function&)> CreateExecutionPlanAsyncHandler; typedef Outcome CreateFlowOutcome; typedef std::future CreateFlowOutcomeCallable; typedef std::function&)> CreateFlowAsyncHandler; @@ -505,15 +305,6 @@ namespace AlibabaCloud typedef Outcome CreateFlowProjectUserOutcome; typedef std::future CreateFlowProjectUserOutcomeCallable; typedef std::function&)> CreateFlowProjectUserAsyncHandler; - typedef Outcome CreateJobOutcome; - typedef std::future CreateJobOutcomeCallable; - typedef std::function&)> CreateJobAsyncHandler; - typedef Outcome CreateLibraryOutcome; - typedef std::future CreateLibraryOutcomeCallable; - typedef std::function&)> CreateLibraryAsyncHandler; - typedef Outcome CreateMetaTablePreviewTaskOutcome; - typedef std::future CreateMetaTablePreviewTaskOutcomeCallable; - typedef std::function&)> CreateMetaTablePreviewTaskAsyncHandler; typedef Outcome CreateResourcePoolOutcome; typedef std::future CreateResourcePoolOutcomeCallable; typedef std::function&)> CreateResourcePoolAsyncHandler; @@ -523,27 +314,9 @@ namespace AlibabaCloud typedef Outcome CreateScalingGroupV2Outcome; typedef std::future CreateScalingGroupV2OutcomeCallable; typedef std::function&)> CreateScalingGroupV2AsyncHandler; - typedef Outcome CreateScalingRuleOutcome; - typedef std::future CreateScalingRuleOutcomeCallable; - typedef std::function&)> CreateScalingRuleAsyncHandler; - typedef Outcome CreateTagOutcome; - typedef std::future CreateTagOutcomeCallable; - typedef std::function&)> CreateTagAsyncHandler; - typedef Outcome CreateUserOutcome; - typedef std::future CreateUserOutcomeCallable; - typedef std::function&)> CreateUserAsyncHandler; - typedef Outcome CreateUsersOutcome; - typedef std::future CreateUsersOutcomeCallable; - typedef std::function&)> CreateUsersAsyncHandler; - typedef Outcome DecommissionHostComponentOutcome; - typedef std::future DecommissionHostComponentOutcomeCallable; - typedef std::function&)> DecommissionHostComponentAsyncHandler; typedef Outcome DeleteClusterTemplateOutcome; typedef std::future DeleteClusterTemplateOutcomeCallable; typedef std::function&)> DeleteClusterTemplateAsyncHandler; - typedef Outcome DeleteExecutionPlanOutcome; - typedef std::future DeleteExecutionPlanOutcomeCallable; - typedef std::function&)> DeleteExecutionPlanAsyncHandler; typedef Outcome DeleteFlowOutcome; typedef std::future DeleteFlowOutcomeCallable; typedef std::function&)> DeleteFlowAsyncHandler; @@ -562,33 +335,15 @@ namespace AlibabaCloud typedef Outcome DeleteFlowProjectUserOutcome; typedef std::future DeleteFlowProjectUserOutcomeCallable; typedef std::function&)> DeleteFlowProjectUserAsyncHandler; - typedef Outcome DeleteJobOutcome; - typedef std::future DeleteJobOutcomeCallable; - typedef std::function&)> DeleteJobAsyncHandler; - typedef Outcome DeleteLibrariesOutcome; - typedef std::future DeleteLibrariesOutcomeCallable; - typedef std::function&)> DeleteLibrariesAsyncHandler; typedef Outcome DeleteResourcePoolOutcome; typedef std::future DeleteResourcePoolOutcomeCallable; typedef std::function&)> DeleteResourcePoolAsyncHandler; typedef Outcome DeleteResourceQueueOutcome; typedef std::future DeleteResourceQueueOutcomeCallable; typedef std::function&)> DeleteResourceQueueAsyncHandler; - typedef Outcome DeleteScalingRuleOutcome; - typedef std::future DeleteScalingRuleOutcomeCallable; - typedef std::function&)> DeleteScalingRuleAsyncHandler; - typedef Outcome DeleteTagOutcome; - typedef std::future DeleteTagOutcomeCallable; - typedef std::function&)> DeleteTagAsyncHandler; - typedef Outcome DeleteUserOutcome; - typedef std::future DeleteUserOutcomeCallable; - typedef std::function&)> DeleteUserAsyncHandler; typedef Outcome DescribeClusterBasicInfoOutcome; typedef std::future DescribeClusterBasicInfoOutcomeCallable; typedef std::function&)> DescribeClusterBasicInfoAsyncHandler; - typedef Outcome DescribeClusterMetaCollectOutcome; - typedef std::future DescribeClusterMetaCollectOutcomeCallable; - typedef std::function&)> DescribeClusterMetaCollectAsyncHandler; typedef Outcome DescribeClusterOperationHostTaskLogOutcome; typedef std::future DescribeClusterOperationHostTaskLogOutcomeCallable; typedef std::function&)> DescribeClusterOperationHostTaskLogAsyncHandler; @@ -601,9 +356,6 @@ namespace AlibabaCloud typedef Outcome DescribeClusterServiceConfigOutcome; typedef std::future DescribeClusterServiceConfigOutcomeCallable; typedef std::function&)> DescribeClusterServiceConfigAsyncHandler; - typedef Outcome DescribeClusterServiceConfigHistoryOutcome; - typedef std::future DescribeClusterServiceConfigHistoryOutcomeCallable; - typedef std::function&)> DescribeClusterServiceConfigHistoryAsyncHandler; typedef Outcome DescribeClusterServiceConfigTagOutcome; typedef std::future DescribeClusterServiceConfigTagOutcomeCallable; typedef std::function&)> DescribeClusterServiceConfigTagAsyncHandler; @@ -613,18 +365,6 @@ namespace AlibabaCloud typedef Outcome DescribeClusterV2Outcome; typedef std::future DescribeClusterV2OutcomeCallable; typedef std::function&)> DescribeClusterV2AsyncHandler; - typedef Outcome DescribeDataSourceOutcome; - typedef std::future DescribeDataSourceOutcomeCallable; - typedef std::function&)> DescribeDataSourceAsyncHandler; - typedef Outcome DescribeDiskOpsActivityOutcome; - typedef std::future DescribeDiskOpsActivityOutcomeCallable; - typedef std::function&)> DescribeDiskOpsActivityAsyncHandler; - typedef Outcome DescribeEmrMainVersionOutcome; - typedef std::future DescribeEmrMainVersionOutcomeCallable; - typedef std::function&)> DescribeEmrMainVersionAsyncHandler; - typedef Outcome DescribeExecutionPlanOutcome; - typedef std::future DescribeExecutionPlanOutcomeCallable; - typedef std::function&)> DescribeExecutionPlanAsyncHandler; typedef Outcome DescribeFlowOutcome; typedef std::future DescribeFlowOutcomeCallable; typedef std::function&)> DescribeFlowAsyncHandler; @@ -655,21 +395,6 @@ namespace AlibabaCloud typedef Outcome DescribeFlowProjectClusterSettingOutcome; typedef std::future DescribeFlowProjectClusterSettingOutcomeCallable; typedef std::function&)> DescribeFlowProjectClusterSettingAsyncHandler; - typedef Outcome DescribeJobOutcome; - typedef std::future DescribeJobOutcomeCallable; - typedef std::function&)> DescribeJobAsyncHandler; - typedef Outcome DescribeLibraryDetailOutcome; - typedef std::future DescribeLibraryDetailOutcomeCallable; - typedef std::function&)> DescribeLibraryDetailAsyncHandler; - typedef Outcome DescribeLibraryInstallTaskDetailOutcome; - typedef std::future DescribeLibraryInstallTaskDetailOutcomeCallable; - typedef std::function&)> DescribeLibraryInstallTaskDetailAsyncHandler; - typedef Outcome DescribeMetaTablePreviewTaskOutcome; - typedef std::future DescribeMetaTablePreviewTaskOutcomeCallable; - typedef std::function&)> DescribeMetaTablePreviewTaskAsyncHandler; - typedef Outcome DescribeScalingActivityOutcome; - typedef std::future DescribeScalingActivityOutcomeCallable; - typedef std::function&)> DescribeScalingActivityAsyncHandler; typedef Outcome DescribeScalingCommonConfigOutcome; typedef std::future DescribeScalingCommonConfigOutcomeCallable; typedef std::function&)> DescribeScalingCommonConfigAsyncHandler; @@ -682,63 +407,15 @@ namespace AlibabaCloud typedef Outcome DescribeScalingGroupV2Outcome; typedef std::future DescribeScalingGroupV2OutcomeCallable; typedef std::function&)> DescribeScalingGroupV2AsyncHandler; - typedef Outcome DescribeScalingRuleOutcome; - typedef std::future DescribeScalingRuleOutcomeCallable; - typedef std::function&)> DescribeScalingRuleAsyncHandler; - typedef Outcome DescribeSecurityGroupAttributeOutcome; - typedef std::future DescribeSecurityGroupAttributeOutcomeCallable; - typedef std::function&)> DescribeSecurityGroupAttributeAsyncHandler; - typedef Outcome DetachAndReleaseClusterEniOutcome; - typedef std::future DetachAndReleaseClusterEniOutcomeCallable; - typedef std::function&)> DetachAndReleaseClusterEniAsyncHandler; - typedef Outcome GetHdfsCapacityStatisticInfoOutcome; - typedef std::future GetHdfsCapacityStatisticInfoOutcomeCallable; - typedef std::function&)> GetHdfsCapacityStatisticInfoAsyncHandler; - typedef Outcome GetJobInputStatisticInfoOutcome; - typedef std::future GetJobInputStatisticInfoOutcomeCallable; - typedef std::function&)> GetJobInputStatisticInfoAsyncHandler; - typedef Outcome GetJobOutputStatisticInfoOutcome; - typedef std::future GetJobOutputStatisticInfoOutcomeCallable; - typedef std::function&)> GetJobOutputStatisticInfoAsyncHandler; - typedef Outcome GetJobRunningTimeStatisticInfoOutcome; - typedef std::future GetJobRunningTimeStatisticInfoOutcomeCallable; - typedef std::function&)> GetJobRunningTimeStatisticInfoAsyncHandler; - typedef Outcome GetQueueInputStatisticInfoOutcome; - typedef std::future GetQueueInputStatisticInfoOutcomeCallable; - typedef std::function&)> GetQueueInputStatisticInfoAsyncHandler; - typedef Outcome GetQueueOutputStatisticInfoOutcome; - typedef std::future GetQueueOutputStatisticInfoOutcomeCallable; - typedef std::function&)> GetQueueOutputStatisticInfoAsyncHandler; - typedef Outcome GetQueueSubmissionStatisticInfoOutcome; - typedef std::future GetQueueSubmissionStatisticInfoOutcomeCallable; - typedef std::function&)> GetQueueSubmissionStatisticInfoAsyncHandler; - typedef Outcome GetUserInputStatisticInfoOutcome; - typedef std::future GetUserInputStatisticInfoOutcomeCallable; - typedef std::function&)> GetUserInputStatisticInfoAsyncHandler; - typedef Outcome GetUserOutputStatisticInfoOutcome; - typedef std::future GetUserOutputStatisticInfoOutcomeCallable; - typedef std::function&)> GetUserOutputStatisticInfoAsyncHandler; - typedef Outcome GetUserSubmissionStatisticInfoOutcome; - typedef std::future GetUserSubmissionStatisticInfoOutcomeCallable; - typedef std::function&)> GetUserSubmissionStatisticInfoAsyncHandler; - typedef Outcome InstallLibrariesOutcome; - typedef std::future InstallLibrariesOutcomeCallable; - typedef std::function&)> InstallLibrariesAsyncHandler; typedef Outcome JoinResourceGroupOutcome; typedef std::future JoinResourceGroupOutcomeCallable; typedef std::function&)> JoinResourceGroupAsyncHandler; typedef Outcome KillFlowJobOutcome; typedef std::future KillFlowJobOutcomeCallable; typedef std::function&)> KillFlowJobAsyncHandler; - typedef Outcome ListAdviceActionOutcome; - typedef std::future ListAdviceActionOutcomeCallable; - typedef std::function&)> ListAdviceActionAsyncHandler; typedef Outcome ListApmApplicationOutcome; typedef std::future ListApmApplicationOutcomeCallable; typedef std::function&)> ListApmApplicationAsyncHandler; - typedef Outcome ListBackupsOutcome; - typedef std::future ListBackupsOutcomeCallable; - typedef std::function&)> ListBackupsAsyncHandler; typedef Outcome ListClusterHostOutcome; typedef std::future ListClusterHostOutcomeCallable; typedef std::function&)> ListClusterHostAsyncHandler; @@ -784,12 +461,6 @@ namespace AlibabaCloud typedef Outcome ListClustersOutcome; typedef std::future ListClustersOutcomeCallable; typedef std::function&)> ListClustersAsyncHandler; - typedef Outcome ListDataSourceOutcome; - typedef std::future ListDataSourceOutcomeCallable; - typedef std::function&)> ListDataSourceAsyncHandler; - typedef Outcome ListDiskOpsEventsOutcome; - typedef std::future ListDiskOpsEventsOutcomeCallable; - typedef std::function&)> ListDiskOpsEventsAsyncHandler; typedef Outcome ListEmrAvailableConfigOutcome; typedef std::future ListEmrAvailableConfigOutcomeCallable; typedef std::function&)> ListEmrAvailableConfigAsyncHandler; @@ -799,9 +470,6 @@ namespace AlibabaCloud typedef Outcome ListEmrMainVersionOutcome; typedef std::future ListEmrMainVersionOutcomeCallable; typedef std::function&)> ListEmrMainVersionAsyncHandler; - typedef Outcome ListExecutionPlanInstancesOutcome; - typedef std::future ListExecutionPlanInstancesOutcomeCallable; - typedef std::function&)> ListExecutionPlanInstancesAsyncHandler; typedef Outcome ListFlowOutcome; typedef std::future ListFlowOutcomeCallable; typedef std::function&)> ListFlowAsyncHandler; @@ -847,30 +515,9 @@ namespace AlibabaCloud typedef Outcome ListFlowProjectUserOutcome; typedef std::future ListFlowProjectUserOutcomeCallable; typedef std::function&)> ListFlowProjectUserAsyncHandler; - typedef Outcome ListJobExecutionInstancesOutcome; - typedef std::future ListJobExecutionInstancesOutcomeCallable; - typedef std::function&)> ListJobExecutionInstancesAsyncHandler; - typedef Outcome ListJobsOutcome; - typedef std::future ListJobsOutcomeCallable; - typedef std::function&)> ListJobsAsyncHandler; - typedef Outcome ListLibrariesOutcome; - typedef std::future ListLibrariesOutcomeCallable; - typedef std::function&)> ListLibrariesAsyncHandler; - typedef Outcome ListLibraryInstallTasksOutcome; - typedef std::future ListLibraryInstallTasksOutcomeCallable; - typedef std::function&)> ListLibraryInstallTasksAsyncHandler; - typedef Outcome ListLibraryStatusOutcome; - typedef std::future ListLibraryStatusOutcomeCallable; - typedef std::function&)> ListLibraryStatusAsyncHandler; - typedef Outcome ListLocalDiskComponentInfoOutcome; - typedef std::future ListLocalDiskComponentInfoOutcomeCallable; - typedef std::function&)> ListLocalDiskComponentInfoAsyncHandler; typedef Outcome ListResourcePoolOutcome; typedef std::future ListResourcePoolOutcomeCallable; typedef std::function&)> ListResourcePoolAsyncHandler; - typedef Outcome ListRolesOutcome; - typedef std::future ListRolesOutcomeCallable; - typedef std::function&)> ListRolesAsyncHandler; typedef Outcome ListScalingActivityV2Outcome; typedef std::future ListScalingActivityV2OutcomeCallable; typedef std::function&)> ListScalingActivityV2AsyncHandler; @@ -880,72 +527,30 @@ namespace AlibabaCloud typedef Outcome ListScalingGroupV2Outcome; typedef std::future ListScalingGroupV2OutcomeCallable; typedef std::function&)> ListScalingGroupV2AsyncHandler; - typedef Outcome ListSecurityGroupOutcome; - typedef std::future ListSecurityGroupOutcomeCallable; - typedef std::function&)> ListSecurityGroupAsyncHandler; - typedef Outcome ListStackOutcome; - typedef std::future ListStackOutcomeCallable; - typedef std::function&)> ListStackAsyncHandler; - typedef Outcome ListTagKeysOutcome; - typedef std::future ListTagKeysOutcomeCallable; - typedef std::function&)> ListTagKeysAsyncHandler; typedef Outcome ListTagResourcesOutcome; typedef std::future ListTagResourcesOutcomeCallable; typedef std::function&)> ListTagResourcesAsyncHandler; - typedef Outcome ListTagValuesOutcome; - typedef std::future ListTagValuesOutcomeCallable; - typedef std::function&)> ListTagValuesAsyncHandler; - typedef Outcome ListUsersOutcome; - typedef std::future ListUsersOutcomeCallable; - typedef std::function&)> ListUsersAsyncHandler; - typedef Outcome ListVswitchOutcome; - typedef std::future ListVswitchOutcomeCallable; - typedef std::function&)> ListVswitchAsyncHandler; - typedef Outcome ModifyClusterBootstrapActionOutcome; - typedef std::future ModifyClusterBootstrapActionOutcomeCallable; - typedef std::function&)> ModifyClusterBootstrapActionAsyncHandler; - typedef Outcome ModifyClusterHostGroupOutcome; - typedef std::future ModifyClusterHostGroupOutcomeCallable; - typedef std::function&)> ModifyClusterHostGroupAsyncHandler; - typedef Outcome ModifyClusterMetaCollectOutcome; - typedef std::future ModifyClusterMetaCollectOutcomeCallable; - typedef std::function&)> ModifyClusterMetaCollectAsyncHandler; typedef Outcome ModifyClusterNameOutcome; typedef std::future ModifyClusterNameOutcomeCallable; typedef std::function&)> ModifyClusterNameAsyncHandler; - typedef Outcome ModifyClusterSecurityGroupRuleOutcome; - typedef std::future ModifyClusterSecurityGroupRuleOutcomeCallable; - typedef std::function&)> ModifyClusterSecurityGroupRuleAsyncHandler; typedef Outcome ModifyClusterServiceConfigOutcome; typedef std::future ModifyClusterServiceConfigOutcomeCallable; typedef std::function&)> ModifyClusterServiceConfigAsyncHandler; typedef Outcome ModifyClusterTemplateOutcome; typedef std::future ModifyClusterTemplateOutcomeCallable; typedef std::function&)> ModifyClusterTemplateAsyncHandler; - typedef Outcome ModifyExecutionPlanOutcome; - typedef std::future ModifyExecutionPlanOutcomeCallable; - typedef std::function&)> ModifyExecutionPlanAsyncHandler; - typedef Outcome ModifyFlowOutcome; - typedef std::future ModifyFlowOutcomeCallable; - typedef std::function&)> ModifyFlowAsyncHandler; typedef Outcome ModifyFlowCategoryOutcome; typedef std::future ModifyFlowCategoryOutcomeCallable; typedef std::function&)> ModifyFlowCategoryAsyncHandler; typedef Outcome ModifyFlowForWebOutcome; typedef std::future ModifyFlowForWebOutcomeCallable; typedef std::function&)> ModifyFlowForWebAsyncHandler; - typedef Outcome ModifyFlowJobOutcome; - typedef std::future ModifyFlowJobOutcomeCallable; - typedef std::function&)> ModifyFlowJobAsyncHandler; typedef Outcome ModifyFlowProjectOutcome; typedef std::future ModifyFlowProjectOutcomeCallable; typedef std::function&)> ModifyFlowProjectAsyncHandler; typedef Outcome ModifyFlowProjectClusterSettingOutcome; typedef std::future ModifyFlowProjectClusterSettingOutcomeCallable; typedef std::function&)> ModifyFlowProjectClusterSettingAsyncHandler; - typedef Outcome ModifyJobOutcome; - typedef std::future ModifyJobOutcomeCallable; - typedef std::function&)> ModifyJobAsyncHandler; typedef Outcome ModifyResourcePoolOutcome; typedef std::future ModifyResourcePoolOutcomeCallable; typedef std::function&)> ModifyResourcePoolAsyncHandler; @@ -961,18 +566,6 @@ namespace AlibabaCloud typedef Outcome ModifyScalingGroupV2Outcome; typedef std::future ModifyScalingGroupV2OutcomeCallable; typedef std::function&)> ModifyScalingGroupV2AsyncHandler; - typedef Outcome ModifyScalingRuleOutcome; - typedef std::future ModifyScalingRuleOutcomeCallable; - typedef std::function&)> ModifyScalingRuleAsyncHandler; - typedef Outcome ModifyScalingTaskGroupOutcome; - typedef std::future ModifyScalingTaskGroupOutcomeCallable; - typedef std::function&)> ModifyScalingTaskGroupAsyncHandler; - typedef Outcome QueryEntityOutcome; - typedef std::future QueryEntityOutcomeCallable; - typedef std::function&)> QueryEntityAsyncHandler; - typedef Outcome QueryTagOutcome; - typedef std::future QueryTagOutcomeCallable; - typedef std::function&)> QueryTagAsyncHandler; typedef Outcome RefreshClusterResourcePoolOutcome; typedef std::future RefreshClusterResourcePoolOutcomeCallable; typedef std::function&)> RefreshClusterResourcePoolAsyncHandler; @@ -991,30 +584,15 @@ namespace AlibabaCloud typedef Outcome ResizeClusterV2Outcome; typedef std::future ResizeClusterV2OutcomeCallable; typedef std::function&)> ResizeClusterV2AsyncHandler; - typedef Outcome ResumeExecutionPlanSchedulerOutcome; - typedef std::future ResumeExecutionPlanSchedulerOutcomeCallable; - typedef std::function&)> ResumeExecutionPlanSchedulerAsyncHandler; typedef Outcome ResumeFlowOutcome; typedef std::future ResumeFlowOutcomeCallable; typedef std::function&)> ResumeFlowAsyncHandler; - typedef Outcome RetryOperationOutcome; - typedef std::future RetryOperationOutcomeCallable; - typedef std::function&)> RetryOperationAsyncHandler; typedef Outcome RunClusterServiceActionOutcome; typedef std::future RunClusterServiceActionOutcomeCallable; typedef std::function&)> RunClusterServiceActionAsyncHandler; - typedef Outcome RunDiskOpsActivityOutcome; - typedef std::future RunDiskOpsActivityOutcomeCallable; - typedef std::function&)> RunDiskOpsActivityAsyncHandler; - typedef Outcome RunExecutionPlanOutcome; - typedef std::future RunExecutionPlanOutcomeCallable; - typedef std::function&)> RunExecutionPlanAsyncHandler; typedef Outcome RunScalingActionV2Outcome; typedef std::future RunScalingActionV2OutcomeCallable; typedef std::function&)> RunScalingActionV2AsyncHandler; - typedef Outcome SearchLogOutcome; - typedef std::future SearchLogOutcomeCallable; - typedef std::function&)> SearchLogAsyncHandler; typedef Outcome StartFlowOutcome; typedef std::future StartFlowOutcomeCallable; typedef std::function&)> StartFlowAsyncHandler; @@ -1024,33 +602,15 @@ namespace AlibabaCloud typedef Outcome SubmitFlowJobOutcome; typedef std::future SubmitFlowJobOutcomeCallable; typedef std::function&)> SubmitFlowJobAsyncHandler; - typedef Outcome SuspendExecutionPlanSchedulerOutcome; - typedef std::future SuspendExecutionPlanSchedulerOutcomeCallable; - typedef std::function&)> SuspendExecutionPlanSchedulerAsyncHandler; typedef Outcome SuspendFlowOutcome; typedef std::future SuspendFlowOutcomeCallable; typedef std::function&)> SuspendFlowAsyncHandler; typedef Outcome TagResourcesOutcome; typedef std::future TagResourcesOutcomeCallable; typedef std::function&)> TagResourcesAsyncHandler; - typedef Outcome UninstallLibrariesOutcome; - typedef std::future UninstallLibrariesOutcomeCallable; - typedef std::function&)> UninstallLibrariesAsyncHandler; typedef Outcome UntagResourcesOutcome; typedef std::future UntagResourcesOutcomeCallable; typedef std::function&)> UntagResourcesAsyncHandler; - typedef Outcome UpdateDataSourceOutcome; - typedef std::future UpdateDataSourceOutcomeCallable; - typedef std::function&)> UpdateDataSourceAsyncHandler; - typedef Outcome UpdateLibraryInstallTaskStatusOutcome; - typedef std::future UpdateLibraryInstallTaskStatusOutcomeCallable; - typedef std::function&)> UpdateLibraryInstallTaskStatusAsyncHandler; - typedef Outcome UpdateTagOutcome; - typedef std::future UpdateTagOutcomeCallable; - typedef std::function&)> UpdateTagAsyncHandler; - typedef Outcome UpdateUserOutcome; - typedef std::future UpdateUserOutcomeCallable; - typedef std::function&)> UpdateUserAsyncHandler; EmrClient(const Credentials &credentials, const ClientConfiguration &configuration); EmrClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); @@ -1062,30 +622,12 @@ namespace AlibabaCloud AddScalingConfigItemV2Outcome addScalingConfigItemV2(const Model::AddScalingConfigItemV2Request &request)const; void addScalingConfigItemV2Async(const Model::AddScalingConfigItemV2Request& request, const AddScalingConfigItemV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddScalingConfigItemV2OutcomeCallable addScalingConfigItemV2Callable(const Model::AddScalingConfigItemV2Request& request) const; - AuthorizeSecurityGroupOutcome authorizeSecurityGroup(const Model::AuthorizeSecurityGroupRequest &request)const; - void authorizeSecurityGroupAsync(const Model::AuthorizeSecurityGroupRequest& request, const AuthorizeSecurityGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AuthorizeSecurityGroupOutcomeCallable authorizeSecurityGroupCallable(const Model::AuthorizeSecurityGroupRequest& request) const; - CancelOrderOutcome cancelOrder(const Model::CancelOrderRequest &request)const; - void cancelOrderAsync(const Model::CancelOrderRequest& request, const CancelOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CancelOrderOutcomeCallable cancelOrderCallable(const Model::CancelOrderRequest& request) const; CloneFlowOutcome cloneFlow(const Model::CloneFlowRequest &request)const; void cloneFlowAsync(const Model::CloneFlowRequest& request, const CloneFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CloneFlowOutcomeCallable cloneFlowCallable(const Model::CloneFlowRequest& request) const; CloneFlowJobOutcome cloneFlowJob(const Model::CloneFlowJobRequest &request)const; void cloneFlowJobAsync(const Model::CloneFlowJobRequest& request, const CloneFlowJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CloneFlowJobOutcomeCallable cloneFlowJobCallable(const Model::CloneFlowJobRequest& request) const; - CreateBackupOutcome createBackup(const Model::CreateBackupRequest &request)const; - void createBackupAsync(const Model::CreateBackupRequest& request, const CreateBackupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateBackupOutcomeCallable createBackupCallable(const Model::CreateBackupRequest& request) const; - CreateBackupPlanOutcome createBackupPlan(const Model::CreateBackupPlanRequest &request)const; - void createBackupPlanAsync(const Model::CreateBackupPlanRequest& request, const CreateBackupPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateBackupPlanOutcomeCallable createBackupPlanCallable(const Model::CreateBackupPlanRequest& request) const; - CreateClusterBootstrapActionOutcome createClusterBootstrapAction(const Model::CreateClusterBootstrapActionRequest &request)const; - void createClusterBootstrapActionAsync(const Model::CreateClusterBootstrapActionRequest& request, const CreateClusterBootstrapActionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateClusterBootstrapActionOutcomeCallable createClusterBootstrapActionCallable(const Model::CreateClusterBootstrapActionRequest& request) const; - CreateClusterHostGroupOutcome createClusterHostGroup(const Model::CreateClusterHostGroupRequest &request)const; - void createClusterHostGroupAsync(const Model::CreateClusterHostGroupRequest& request, const CreateClusterHostGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateClusterHostGroupOutcomeCallable createClusterHostGroupCallable(const Model::CreateClusterHostGroupRequest& request) const; CreateClusterTemplateOutcome createClusterTemplate(const Model::CreateClusterTemplateRequest &request)const; void createClusterTemplateAsync(const Model::CreateClusterTemplateRequest& request, const CreateClusterTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateClusterTemplateOutcomeCallable createClusterTemplateCallable(const Model::CreateClusterTemplateRequest& request) const; @@ -1095,12 +637,6 @@ namespace AlibabaCloud CreateClusterWithTemplateOutcome createClusterWithTemplate(const Model::CreateClusterWithTemplateRequest &request)const; void createClusterWithTemplateAsync(const Model::CreateClusterWithTemplateRequest& request, const CreateClusterWithTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateClusterWithTemplateOutcomeCallable createClusterWithTemplateCallable(const Model::CreateClusterWithTemplateRequest& request) const; - CreateDataSourceOutcome createDataSource(const Model::CreateDataSourceRequest &request)const; - void createDataSourceAsync(const Model::CreateDataSourceRequest& request, const CreateDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateDataSourceOutcomeCallable createDataSourceCallable(const Model::CreateDataSourceRequest& request) const; - CreateExecutionPlanOutcome createExecutionPlan(const Model::CreateExecutionPlanRequest &request)const; - void createExecutionPlanAsync(const Model::CreateExecutionPlanRequest& request, const CreateExecutionPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateExecutionPlanOutcomeCallable createExecutionPlanCallable(const Model::CreateExecutionPlanRequest& request) const; CreateFlowOutcome createFlow(const Model::CreateFlowRequest &request)const; void createFlowAsync(const Model::CreateFlowRequest& request, const CreateFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateFlowOutcomeCallable createFlowCallable(const Model::CreateFlowRequest& request) const; @@ -1122,15 +658,6 @@ namespace AlibabaCloud CreateFlowProjectUserOutcome createFlowProjectUser(const Model::CreateFlowProjectUserRequest &request)const; void createFlowProjectUserAsync(const Model::CreateFlowProjectUserRequest& request, const CreateFlowProjectUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateFlowProjectUserOutcomeCallable createFlowProjectUserCallable(const Model::CreateFlowProjectUserRequest& request) const; - CreateJobOutcome createJob(const Model::CreateJobRequest &request)const; - void createJobAsync(const Model::CreateJobRequest& request, const CreateJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateJobOutcomeCallable createJobCallable(const Model::CreateJobRequest& request) const; - CreateLibraryOutcome createLibrary(const Model::CreateLibraryRequest &request)const; - void createLibraryAsync(const Model::CreateLibraryRequest& request, const CreateLibraryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateLibraryOutcomeCallable createLibraryCallable(const Model::CreateLibraryRequest& request) const; - CreateMetaTablePreviewTaskOutcome createMetaTablePreviewTask(const Model::CreateMetaTablePreviewTaskRequest &request)const; - void createMetaTablePreviewTaskAsync(const Model::CreateMetaTablePreviewTaskRequest& request, const CreateMetaTablePreviewTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateMetaTablePreviewTaskOutcomeCallable createMetaTablePreviewTaskCallable(const Model::CreateMetaTablePreviewTaskRequest& request) const; CreateResourcePoolOutcome createResourcePool(const Model::CreateResourcePoolRequest &request)const; void createResourcePoolAsync(const Model::CreateResourcePoolRequest& request, const CreateResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateResourcePoolOutcomeCallable createResourcePoolCallable(const Model::CreateResourcePoolRequest& request) const; @@ -1140,27 +667,9 @@ namespace AlibabaCloud CreateScalingGroupV2Outcome createScalingGroupV2(const Model::CreateScalingGroupV2Request &request)const; void createScalingGroupV2Async(const Model::CreateScalingGroupV2Request& request, const CreateScalingGroupV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateScalingGroupV2OutcomeCallable createScalingGroupV2Callable(const Model::CreateScalingGroupV2Request& request) const; - CreateScalingRuleOutcome createScalingRule(const Model::CreateScalingRuleRequest &request)const; - void createScalingRuleAsync(const Model::CreateScalingRuleRequest& request, const CreateScalingRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateScalingRuleOutcomeCallable createScalingRuleCallable(const Model::CreateScalingRuleRequest& request) const; - CreateTagOutcome createTag(const Model::CreateTagRequest &request)const; - void createTagAsync(const Model::CreateTagRequest& request, const CreateTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateTagOutcomeCallable createTagCallable(const Model::CreateTagRequest& request) const; - CreateUserOutcome createUser(const Model::CreateUserRequest &request)const; - void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const; - CreateUsersOutcome createUsers(const Model::CreateUsersRequest &request)const; - void createUsersAsync(const Model::CreateUsersRequest& request, const CreateUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateUsersOutcomeCallable createUsersCallable(const Model::CreateUsersRequest& request) const; - DecommissionHostComponentOutcome decommissionHostComponent(const Model::DecommissionHostComponentRequest &request)const; - void decommissionHostComponentAsync(const Model::DecommissionHostComponentRequest& request, const DecommissionHostComponentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DecommissionHostComponentOutcomeCallable decommissionHostComponentCallable(const Model::DecommissionHostComponentRequest& request) const; DeleteClusterTemplateOutcome deleteClusterTemplate(const Model::DeleteClusterTemplateRequest &request)const; void deleteClusterTemplateAsync(const Model::DeleteClusterTemplateRequest& request, const DeleteClusterTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteClusterTemplateOutcomeCallable deleteClusterTemplateCallable(const Model::DeleteClusterTemplateRequest& request) const; - DeleteExecutionPlanOutcome deleteExecutionPlan(const Model::DeleteExecutionPlanRequest &request)const; - void deleteExecutionPlanAsync(const Model::DeleteExecutionPlanRequest& request, const DeleteExecutionPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteExecutionPlanOutcomeCallable deleteExecutionPlanCallable(const Model::DeleteExecutionPlanRequest& request) const; DeleteFlowOutcome deleteFlow(const Model::DeleteFlowRequest &request)const; void deleteFlowAsync(const Model::DeleteFlowRequest& request, const DeleteFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFlowOutcomeCallable deleteFlowCallable(const Model::DeleteFlowRequest& request) const; @@ -1179,33 +688,15 @@ namespace AlibabaCloud DeleteFlowProjectUserOutcome deleteFlowProjectUser(const Model::DeleteFlowProjectUserRequest &request)const; void deleteFlowProjectUserAsync(const Model::DeleteFlowProjectUserRequest& request, const DeleteFlowProjectUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFlowProjectUserOutcomeCallable deleteFlowProjectUserCallable(const Model::DeleteFlowProjectUserRequest& request) const; - DeleteJobOutcome deleteJob(const Model::DeleteJobRequest &request)const; - void deleteJobAsync(const Model::DeleteJobRequest& request, const DeleteJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteJobOutcomeCallable deleteJobCallable(const Model::DeleteJobRequest& request) const; - DeleteLibrariesOutcome deleteLibraries(const Model::DeleteLibrariesRequest &request)const; - void deleteLibrariesAsync(const Model::DeleteLibrariesRequest& request, const DeleteLibrariesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteLibrariesOutcomeCallable deleteLibrariesCallable(const Model::DeleteLibrariesRequest& request) const; DeleteResourcePoolOutcome deleteResourcePool(const Model::DeleteResourcePoolRequest &request)const; void deleteResourcePoolAsync(const Model::DeleteResourcePoolRequest& request, const DeleteResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteResourcePoolOutcomeCallable deleteResourcePoolCallable(const Model::DeleteResourcePoolRequest& request) const; DeleteResourceQueueOutcome deleteResourceQueue(const Model::DeleteResourceQueueRequest &request)const; void deleteResourceQueueAsync(const Model::DeleteResourceQueueRequest& request, const DeleteResourceQueueAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteResourceQueueOutcomeCallable deleteResourceQueueCallable(const Model::DeleteResourceQueueRequest& request) const; - DeleteScalingRuleOutcome deleteScalingRule(const Model::DeleteScalingRuleRequest &request)const; - void deleteScalingRuleAsync(const Model::DeleteScalingRuleRequest& request, const DeleteScalingRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteScalingRuleOutcomeCallable deleteScalingRuleCallable(const Model::DeleteScalingRuleRequest& request) const; - DeleteTagOutcome deleteTag(const Model::DeleteTagRequest &request)const; - void deleteTagAsync(const Model::DeleteTagRequest& request, const DeleteTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteTagOutcomeCallable deleteTagCallable(const Model::DeleteTagRequest& request) const; - DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const; - void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const; DescribeClusterBasicInfoOutcome describeClusterBasicInfo(const Model::DescribeClusterBasicInfoRequest &request)const; void describeClusterBasicInfoAsync(const Model::DescribeClusterBasicInfoRequest& request, const DescribeClusterBasicInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterBasicInfoOutcomeCallable describeClusterBasicInfoCallable(const Model::DescribeClusterBasicInfoRequest& request) const; - DescribeClusterMetaCollectOutcome describeClusterMetaCollect(const Model::DescribeClusterMetaCollectRequest &request)const; - void describeClusterMetaCollectAsync(const Model::DescribeClusterMetaCollectRequest& request, const DescribeClusterMetaCollectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeClusterMetaCollectOutcomeCallable describeClusterMetaCollectCallable(const Model::DescribeClusterMetaCollectRequest& request) const; DescribeClusterOperationHostTaskLogOutcome describeClusterOperationHostTaskLog(const Model::DescribeClusterOperationHostTaskLogRequest &request)const; void describeClusterOperationHostTaskLogAsync(const Model::DescribeClusterOperationHostTaskLogRequest& request, const DescribeClusterOperationHostTaskLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterOperationHostTaskLogOutcomeCallable describeClusterOperationHostTaskLogCallable(const Model::DescribeClusterOperationHostTaskLogRequest& request) const; @@ -1218,9 +709,6 @@ namespace AlibabaCloud DescribeClusterServiceConfigOutcome describeClusterServiceConfig(const Model::DescribeClusterServiceConfigRequest &request)const; void describeClusterServiceConfigAsync(const Model::DescribeClusterServiceConfigRequest& request, const DescribeClusterServiceConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterServiceConfigOutcomeCallable describeClusterServiceConfigCallable(const Model::DescribeClusterServiceConfigRequest& request) const; - DescribeClusterServiceConfigHistoryOutcome describeClusterServiceConfigHistory(const Model::DescribeClusterServiceConfigHistoryRequest &request)const; - void describeClusterServiceConfigHistoryAsync(const Model::DescribeClusterServiceConfigHistoryRequest& request, const DescribeClusterServiceConfigHistoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeClusterServiceConfigHistoryOutcomeCallable describeClusterServiceConfigHistoryCallable(const Model::DescribeClusterServiceConfigHistoryRequest& request) const; DescribeClusterServiceConfigTagOutcome describeClusterServiceConfigTag(const Model::DescribeClusterServiceConfigTagRequest &request)const; void describeClusterServiceConfigTagAsync(const Model::DescribeClusterServiceConfigTagRequest& request, const DescribeClusterServiceConfigTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterServiceConfigTagOutcomeCallable describeClusterServiceConfigTagCallable(const Model::DescribeClusterServiceConfigTagRequest& request) const; @@ -1230,18 +718,6 @@ namespace AlibabaCloud DescribeClusterV2Outcome describeClusterV2(const Model::DescribeClusterV2Request &request)const; void describeClusterV2Async(const Model::DescribeClusterV2Request& request, const DescribeClusterV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterV2OutcomeCallable describeClusterV2Callable(const Model::DescribeClusterV2Request& request) const; - DescribeDataSourceOutcome describeDataSource(const Model::DescribeDataSourceRequest &request)const; - void describeDataSourceAsync(const Model::DescribeDataSourceRequest& request, const DescribeDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDataSourceOutcomeCallable describeDataSourceCallable(const Model::DescribeDataSourceRequest& request) const; - DescribeDiskOpsActivityOutcome describeDiskOpsActivity(const Model::DescribeDiskOpsActivityRequest &request)const; - void describeDiskOpsActivityAsync(const Model::DescribeDiskOpsActivityRequest& request, const DescribeDiskOpsActivityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDiskOpsActivityOutcomeCallable describeDiskOpsActivityCallable(const Model::DescribeDiskOpsActivityRequest& request) const; - DescribeEmrMainVersionOutcome describeEmrMainVersion(const Model::DescribeEmrMainVersionRequest &request)const; - void describeEmrMainVersionAsync(const Model::DescribeEmrMainVersionRequest& request, const DescribeEmrMainVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeEmrMainVersionOutcomeCallable describeEmrMainVersionCallable(const Model::DescribeEmrMainVersionRequest& request) const; - DescribeExecutionPlanOutcome describeExecutionPlan(const Model::DescribeExecutionPlanRequest &request)const; - void describeExecutionPlanAsync(const Model::DescribeExecutionPlanRequest& request, const DescribeExecutionPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeExecutionPlanOutcomeCallable describeExecutionPlanCallable(const Model::DescribeExecutionPlanRequest& request) const; DescribeFlowOutcome describeFlow(const Model::DescribeFlowRequest &request)const; void describeFlowAsync(const Model::DescribeFlowRequest& request, const DescribeFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeFlowOutcomeCallable describeFlowCallable(const Model::DescribeFlowRequest& request) const; @@ -1272,21 +748,6 @@ namespace AlibabaCloud DescribeFlowProjectClusterSettingOutcome describeFlowProjectClusterSetting(const Model::DescribeFlowProjectClusterSettingRequest &request)const; void describeFlowProjectClusterSettingAsync(const Model::DescribeFlowProjectClusterSettingRequest& request, const DescribeFlowProjectClusterSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeFlowProjectClusterSettingOutcomeCallable describeFlowProjectClusterSettingCallable(const Model::DescribeFlowProjectClusterSettingRequest& request) const; - DescribeJobOutcome describeJob(const Model::DescribeJobRequest &request)const; - void describeJobAsync(const Model::DescribeJobRequest& request, const DescribeJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeJobOutcomeCallable describeJobCallable(const Model::DescribeJobRequest& request) const; - DescribeLibraryDetailOutcome describeLibraryDetail(const Model::DescribeLibraryDetailRequest &request)const; - void describeLibraryDetailAsync(const Model::DescribeLibraryDetailRequest& request, const DescribeLibraryDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLibraryDetailOutcomeCallable describeLibraryDetailCallable(const Model::DescribeLibraryDetailRequest& request) const; - DescribeLibraryInstallTaskDetailOutcome describeLibraryInstallTaskDetail(const Model::DescribeLibraryInstallTaskDetailRequest &request)const; - void describeLibraryInstallTaskDetailAsync(const Model::DescribeLibraryInstallTaskDetailRequest& request, const DescribeLibraryInstallTaskDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLibraryInstallTaskDetailOutcomeCallable describeLibraryInstallTaskDetailCallable(const Model::DescribeLibraryInstallTaskDetailRequest& request) const; - DescribeMetaTablePreviewTaskOutcome describeMetaTablePreviewTask(const Model::DescribeMetaTablePreviewTaskRequest &request)const; - void describeMetaTablePreviewTaskAsync(const Model::DescribeMetaTablePreviewTaskRequest& request, const DescribeMetaTablePreviewTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeMetaTablePreviewTaskOutcomeCallable describeMetaTablePreviewTaskCallable(const Model::DescribeMetaTablePreviewTaskRequest& request) const; - DescribeScalingActivityOutcome describeScalingActivity(const Model::DescribeScalingActivityRequest &request)const; - void describeScalingActivityAsync(const Model::DescribeScalingActivityRequest& request, const DescribeScalingActivityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeScalingActivityOutcomeCallable describeScalingActivityCallable(const Model::DescribeScalingActivityRequest& request) const; DescribeScalingCommonConfigOutcome describeScalingCommonConfig(const Model::DescribeScalingCommonConfigRequest &request)const; void describeScalingCommonConfigAsync(const Model::DescribeScalingCommonConfigRequest& request, const DescribeScalingCommonConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeScalingCommonConfigOutcomeCallable describeScalingCommonConfigCallable(const Model::DescribeScalingCommonConfigRequest& request) const; @@ -1299,63 +760,15 @@ namespace AlibabaCloud DescribeScalingGroupV2Outcome describeScalingGroupV2(const Model::DescribeScalingGroupV2Request &request)const; void describeScalingGroupV2Async(const Model::DescribeScalingGroupV2Request& request, const DescribeScalingGroupV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeScalingGroupV2OutcomeCallable describeScalingGroupV2Callable(const Model::DescribeScalingGroupV2Request& request) const; - DescribeScalingRuleOutcome describeScalingRule(const Model::DescribeScalingRuleRequest &request)const; - void describeScalingRuleAsync(const Model::DescribeScalingRuleRequest& request, const DescribeScalingRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeScalingRuleOutcomeCallable describeScalingRuleCallable(const Model::DescribeScalingRuleRequest& request) const; - DescribeSecurityGroupAttributeOutcome describeSecurityGroupAttribute(const Model::DescribeSecurityGroupAttributeRequest &request)const; - void describeSecurityGroupAttributeAsync(const Model::DescribeSecurityGroupAttributeRequest& request, const DescribeSecurityGroupAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeSecurityGroupAttributeOutcomeCallable describeSecurityGroupAttributeCallable(const Model::DescribeSecurityGroupAttributeRequest& request) const; - DetachAndReleaseClusterEniOutcome detachAndReleaseClusterEni(const Model::DetachAndReleaseClusterEniRequest &request)const; - void detachAndReleaseClusterEniAsync(const Model::DetachAndReleaseClusterEniRequest& request, const DetachAndReleaseClusterEniAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DetachAndReleaseClusterEniOutcomeCallable detachAndReleaseClusterEniCallable(const Model::DetachAndReleaseClusterEniRequest& request) const; - GetHdfsCapacityStatisticInfoOutcome getHdfsCapacityStatisticInfo(const Model::GetHdfsCapacityStatisticInfoRequest &request)const; - void getHdfsCapacityStatisticInfoAsync(const Model::GetHdfsCapacityStatisticInfoRequest& request, const GetHdfsCapacityStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetHdfsCapacityStatisticInfoOutcomeCallable getHdfsCapacityStatisticInfoCallable(const Model::GetHdfsCapacityStatisticInfoRequest& request) const; - GetJobInputStatisticInfoOutcome getJobInputStatisticInfo(const Model::GetJobInputStatisticInfoRequest &request)const; - void getJobInputStatisticInfoAsync(const Model::GetJobInputStatisticInfoRequest& request, const GetJobInputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetJobInputStatisticInfoOutcomeCallable getJobInputStatisticInfoCallable(const Model::GetJobInputStatisticInfoRequest& request) const; - GetJobOutputStatisticInfoOutcome getJobOutputStatisticInfo(const Model::GetJobOutputStatisticInfoRequest &request)const; - void getJobOutputStatisticInfoAsync(const Model::GetJobOutputStatisticInfoRequest& request, const GetJobOutputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetJobOutputStatisticInfoOutcomeCallable getJobOutputStatisticInfoCallable(const Model::GetJobOutputStatisticInfoRequest& request) const; - GetJobRunningTimeStatisticInfoOutcome getJobRunningTimeStatisticInfo(const Model::GetJobRunningTimeStatisticInfoRequest &request)const; - void getJobRunningTimeStatisticInfoAsync(const Model::GetJobRunningTimeStatisticInfoRequest& request, const GetJobRunningTimeStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetJobRunningTimeStatisticInfoOutcomeCallable getJobRunningTimeStatisticInfoCallable(const Model::GetJobRunningTimeStatisticInfoRequest& request) const; - GetQueueInputStatisticInfoOutcome getQueueInputStatisticInfo(const Model::GetQueueInputStatisticInfoRequest &request)const; - void getQueueInputStatisticInfoAsync(const Model::GetQueueInputStatisticInfoRequest& request, const GetQueueInputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetQueueInputStatisticInfoOutcomeCallable getQueueInputStatisticInfoCallable(const Model::GetQueueInputStatisticInfoRequest& request) const; - GetQueueOutputStatisticInfoOutcome getQueueOutputStatisticInfo(const Model::GetQueueOutputStatisticInfoRequest &request)const; - void getQueueOutputStatisticInfoAsync(const Model::GetQueueOutputStatisticInfoRequest& request, const GetQueueOutputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetQueueOutputStatisticInfoOutcomeCallable getQueueOutputStatisticInfoCallable(const Model::GetQueueOutputStatisticInfoRequest& request) const; - GetQueueSubmissionStatisticInfoOutcome getQueueSubmissionStatisticInfo(const Model::GetQueueSubmissionStatisticInfoRequest &request)const; - void getQueueSubmissionStatisticInfoAsync(const Model::GetQueueSubmissionStatisticInfoRequest& request, const GetQueueSubmissionStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetQueueSubmissionStatisticInfoOutcomeCallable getQueueSubmissionStatisticInfoCallable(const Model::GetQueueSubmissionStatisticInfoRequest& request) const; - GetUserInputStatisticInfoOutcome getUserInputStatisticInfo(const Model::GetUserInputStatisticInfoRequest &request)const; - void getUserInputStatisticInfoAsync(const Model::GetUserInputStatisticInfoRequest& request, const GetUserInputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetUserInputStatisticInfoOutcomeCallable getUserInputStatisticInfoCallable(const Model::GetUserInputStatisticInfoRequest& request) const; - GetUserOutputStatisticInfoOutcome getUserOutputStatisticInfo(const Model::GetUserOutputStatisticInfoRequest &request)const; - void getUserOutputStatisticInfoAsync(const Model::GetUserOutputStatisticInfoRequest& request, const GetUserOutputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetUserOutputStatisticInfoOutcomeCallable getUserOutputStatisticInfoCallable(const Model::GetUserOutputStatisticInfoRequest& request) const; - GetUserSubmissionStatisticInfoOutcome getUserSubmissionStatisticInfo(const Model::GetUserSubmissionStatisticInfoRequest &request)const; - void getUserSubmissionStatisticInfoAsync(const Model::GetUserSubmissionStatisticInfoRequest& request, const GetUserSubmissionStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetUserSubmissionStatisticInfoOutcomeCallable getUserSubmissionStatisticInfoCallable(const Model::GetUserSubmissionStatisticInfoRequest& request) const; - InstallLibrariesOutcome installLibraries(const Model::InstallLibrariesRequest &request)const; - void installLibrariesAsync(const Model::InstallLibrariesRequest& request, const InstallLibrariesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - InstallLibrariesOutcomeCallable installLibrariesCallable(const Model::InstallLibrariesRequest& request) const; JoinResourceGroupOutcome joinResourceGroup(const Model::JoinResourceGroupRequest &request)const; void joinResourceGroupAsync(const Model::JoinResourceGroupRequest& request, const JoinResourceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; JoinResourceGroupOutcomeCallable joinResourceGroupCallable(const Model::JoinResourceGroupRequest& request) const; KillFlowJobOutcome killFlowJob(const Model::KillFlowJobRequest &request)const; void killFlowJobAsync(const Model::KillFlowJobRequest& request, const KillFlowJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; KillFlowJobOutcomeCallable killFlowJobCallable(const Model::KillFlowJobRequest& request) const; - ListAdviceActionOutcome listAdviceAction(const Model::ListAdviceActionRequest &request)const; - void listAdviceActionAsync(const Model::ListAdviceActionRequest& request, const ListAdviceActionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListAdviceActionOutcomeCallable listAdviceActionCallable(const Model::ListAdviceActionRequest& request) const; ListApmApplicationOutcome listApmApplication(const Model::ListApmApplicationRequest &request)const; void listApmApplicationAsync(const Model::ListApmApplicationRequest& request, const ListApmApplicationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListApmApplicationOutcomeCallable listApmApplicationCallable(const Model::ListApmApplicationRequest& request) const; - ListBackupsOutcome listBackups(const Model::ListBackupsRequest &request)const; - void listBackupsAsync(const Model::ListBackupsRequest& request, const ListBackupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListBackupsOutcomeCallable listBackupsCallable(const Model::ListBackupsRequest& request) const; ListClusterHostOutcome listClusterHost(const Model::ListClusterHostRequest &request)const; void listClusterHostAsync(const Model::ListClusterHostRequest& request, const ListClusterHostAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListClusterHostOutcomeCallable listClusterHostCallable(const Model::ListClusterHostRequest& request) const; @@ -1401,12 +814,6 @@ namespace AlibabaCloud ListClustersOutcome listClusters(const Model::ListClustersRequest &request)const; void listClustersAsync(const Model::ListClustersRequest& request, const ListClustersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListClustersOutcomeCallable listClustersCallable(const Model::ListClustersRequest& request) const; - ListDataSourceOutcome listDataSource(const Model::ListDataSourceRequest &request)const; - void listDataSourceAsync(const Model::ListDataSourceRequest& request, const ListDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDataSourceOutcomeCallable listDataSourceCallable(const Model::ListDataSourceRequest& request) const; - ListDiskOpsEventsOutcome listDiskOpsEvents(const Model::ListDiskOpsEventsRequest &request)const; - void listDiskOpsEventsAsync(const Model::ListDiskOpsEventsRequest& request, const ListDiskOpsEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDiskOpsEventsOutcomeCallable listDiskOpsEventsCallable(const Model::ListDiskOpsEventsRequest& request) const; ListEmrAvailableConfigOutcome listEmrAvailableConfig(const Model::ListEmrAvailableConfigRequest &request)const; void listEmrAvailableConfigAsync(const Model::ListEmrAvailableConfigRequest& request, const ListEmrAvailableConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListEmrAvailableConfigOutcomeCallable listEmrAvailableConfigCallable(const Model::ListEmrAvailableConfigRequest& request) const; @@ -1416,9 +823,6 @@ namespace AlibabaCloud ListEmrMainVersionOutcome listEmrMainVersion(const Model::ListEmrMainVersionRequest &request)const; void listEmrMainVersionAsync(const Model::ListEmrMainVersionRequest& request, const ListEmrMainVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListEmrMainVersionOutcomeCallable listEmrMainVersionCallable(const Model::ListEmrMainVersionRequest& request) const; - ListExecutionPlanInstancesOutcome listExecutionPlanInstances(const Model::ListExecutionPlanInstancesRequest &request)const; - void listExecutionPlanInstancesAsync(const Model::ListExecutionPlanInstancesRequest& request, const ListExecutionPlanInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListExecutionPlanInstancesOutcomeCallable listExecutionPlanInstancesCallable(const Model::ListExecutionPlanInstancesRequest& request) const; ListFlowOutcome listFlow(const Model::ListFlowRequest &request)const; void listFlowAsync(const Model::ListFlowRequest& request, const ListFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFlowOutcomeCallable listFlowCallable(const Model::ListFlowRequest& request) const; @@ -1464,30 +868,9 @@ namespace AlibabaCloud ListFlowProjectUserOutcome listFlowProjectUser(const Model::ListFlowProjectUserRequest &request)const; void listFlowProjectUserAsync(const Model::ListFlowProjectUserRequest& request, const ListFlowProjectUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFlowProjectUserOutcomeCallable listFlowProjectUserCallable(const Model::ListFlowProjectUserRequest& request) const; - ListJobExecutionInstancesOutcome listJobExecutionInstances(const Model::ListJobExecutionInstancesRequest &request)const; - void listJobExecutionInstancesAsync(const Model::ListJobExecutionInstancesRequest& request, const ListJobExecutionInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListJobExecutionInstancesOutcomeCallable listJobExecutionInstancesCallable(const Model::ListJobExecutionInstancesRequest& request) const; - ListJobsOutcome listJobs(const Model::ListJobsRequest &request)const; - void listJobsAsync(const Model::ListJobsRequest& request, const ListJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListJobsOutcomeCallable listJobsCallable(const Model::ListJobsRequest& request) const; - ListLibrariesOutcome listLibraries(const Model::ListLibrariesRequest &request)const; - void listLibrariesAsync(const Model::ListLibrariesRequest& request, const ListLibrariesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListLibrariesOutcomeCallable listLibrariesCallable(const Model::ListLibrariesRequest& request) const; - ListLibraryInstallTasksOutcome listLibraryInstallTasks(const Model::ListLibraryInstallTasksRequest &request)const; - void listLibraryInstallTasksAsync(const Model::ListLibraryInstallTasksRequest& request, const ListLibraryInstallTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListLibraryInstallTasksOutcomeCallable listLibraryInstallTasksCallable(const Model::ListLibraryInstallTasksRequest& request) const; - ListLibraryStatusOutcome listLibraryStatus(const Model::ListLibraryStatusRequest &request)const; - void listLibraryStatusAsync(const Model::ListLibraryStatusRequest& request, const ListLibraryStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListLibraryStatusOutcomeCallable listLibraryStatusCallable(const Model::ListLibraryStatusRequest& request) const; - ListLocalDiskComponentInfoOutcome listLocalDiskComponentInfo(const Model::ListLocalDiskComponentInfoRequest &request)const; - void listLocalDiskComponentInfoAsync(const Model::ListLocalDiskComponentInfoRequest& request, const ListLocalDiskComponentInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListLocalDiskComponentInfoOutcomeCallable listLocalDiskComponentInfoCallable(const Model::ListLocalDiskComponentInfoRequest& request) const; ListResourcePoolOutcome listResourcePool(const Model::ListResourcePoolRequest &request)const; void listResourcePoolAsync(const Model::ListResourcePoolRequest& request, const ListResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListResourcePoolOutcomeCallable listResourcePoolCallable(const Model::ListResourcePoolRequest& request) const; - ListRolesOutcome listRoles(const Model::ListRolesRequest &request)const; - void listRolesAsync(const Model::ListRolesRequest& request, const ListRolesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListRolesOutcomeCallable listRolesCallable(const Model::ListRolesRequest& request) const; ListScalingActivityV2Outcome listScalingActivityV2(const Model::ListScalingActivityV2Request &request)const; void listScalingActivityV2Async(const Model::ListScalingActivityV2Request& request, const ListScalingActivityV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListScalingActivityV2OutcomeCallable listScalingActivityV2Callable(const Model::ListScalingActivityV2Request& request) const; @@ -1497,72 +880,30 @@ namespace AlibabaCloud ListScalingGroupV2Outcome listScalingGroupV2(const Model::ListScalingGroupV2Request &request)const; void listScalingGroupV2Async(const Model::ListScalingGroupV2Request& request, const ListScalingGroupV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListScalingGroupV2OutcomeCallable listScalingGroupV2Callable(const Model::ListScalingGroupV2Request& request) const; - ListSecurityGroupOutcome listSecurityGroup(const Model::ListSecurityGroupRequest &request)const; - void listSecurityGroupAsync(const Model::ListSecurityGroupRequest& request, const ListSecurityGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListSecurityGroupOutcomeCallable listSecurityGroupCallable(const Model::ListSecurityGroupRequest& request) const; - ListStackOutcome listStack(const Model::ListStackRequest &request)const; - void listStackAsync(const Model::ListStackRequest& request, const ListStackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListStackOutcomeCallable listStackCallable(const Model::ListStackRequest& request) const; - ListTagKeysOutcome listTagKeys(const Model::ListTagKeysRequest &request)const; - void listTagKeysAsync(const Model::ListTagKeysRequest& request, const ListTagKeysAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListTagKeysOutcomeCallable listTagKeysCallable(const Model::ListTagKeysRequest& request) const; ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const; void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const; - ListTagValuesOutcome listTagValues(const Model::ListTagValuesRequest &request)const; - void listTagValuesAsync(const Model::ListTagValuesRequest& request, const ListTagValuesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListTagValuesOutcomeCallable listTagValuesCallable(const Model::ListTagValuesRequest& request) const; - ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const; - void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const; - ListVswitchOutcome listVswitch(const Model::ListVswitchRequest &request)const; - void listVswitchAsync(const Model::ListVswitchRequest& request, const ListVswitchAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListVswitchOutcomeCallable listVswitchCallable(const Model::ListVswitchRequest& request) const; - ModifyClusterBootstrapActionOutcome modifyClusterBootstrapAction(const Model::ModifyClusterBootstrapActionRequest &request)const; - void modifyClusterBootstrapActionAsync(const Model::ModifyClusterBootstrapActionRequest& request, const ModifyClusterBootstrapActionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyClusterBootstrapActionOutcomeCallable modifyClusterBootstrapActionCallable(const Model::ModifyClusterBootstrapActionRequest& request) const; - ModifyClusterHostGroupOutcome modifyClusterHostGroup(const Model::ModifyClusterHostGroupRequest &request)const; - void modifyClusterHostGroupAsync(const Model::ModifyClusterHostGroupRequest& request, const ModifyClusterHostGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyClusterHostGroupOutcomeCallable modifyClusterHostGroupCallable(const Model::ModifyClusterHostGroupRequest& request) const; - ModifyClusterMetaCollectOutcome modifyClusterMetaCollect(const Model::ModifyClusterMetaCollectRequest &request)const; - void modifyClusterMetaCollectAsync(const Model::ModifyClusterMetaCollectRequest& request, const ModifyClusterMetaCollectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyClusterMetaCollectOutcomeCallable modifyClusterMetaCollectCallable(const Model::ModifyClusterMetaCollectRequest& request) const; ModifyClusterNameOutcome modifyClusterName(const Model::ModifyClusterNameRequest &request)const; void modifyClusterNameAsync(const Model::ModifyClusterNameRequest& request, const ModifyClusterNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyClusterNameOutcomeCallable modifyClusterNameCallable(const Model::ModifyClusterNameRequest& request) const; - ModifyClusterSecurityGroupRuleOutcome modifyClusterSecurityGroupRule(const Model::ModifyClusterSecurityGroupRuleRequest &request)const; - void modifyClusterSecurityGroupRuleAsync(const Model::ModifyClusterSecurityGroupRuleRequest& request, const ModifyClusterSecurityGroupRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyClusterSecurityGroupRuleOutcomeCallable modifyClusterSecurityGroupRuleCallable(const Model::ModifyClusterSecurityGroupRuleRequest& request) const; ModifyClusterServiceConfigOutcome modifyClusterServiceConfig(const Model::ModifyClusterServiceConfigRequest &request)const; void modifyClusterServiceConfigAsync(const Model::ModifyClusterServiceConfigRequest& request, const ModifyClusterServiceConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyClusterServiceConfigOutcomeCallable modifyClusterServiceConfigCallable(const Model::ModifyClusterServiceConfigRequest& request) const; ModifyClusterTemplateOutcome modifyClusterTemplate(const Model::ModifyClusterTemplateRequest &request)const; void modifyClusterTemplateAsync(const Model::ModifyClusterTemplateRequest& request, const ModifyClusterTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyClusterTemplateOutcomeCallable modifyClusterTemplateCallable(const Model::ModifyClusterTemplateRequest& request) const; - ModifyExecutionPlanOutcome modifyExecutionPlan(const Model::ModifyExecutionPlanRequest &request)const; - void modifyExecutionPlanAsync(const Model::ModifyExecutionPlanRequest& request, const ModifyExecutionPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyExecutionPlanOutcomeCallable modifyExecutionPlanCallable(const Model::ModifyExecutionPlanRequest& request) const; - ModifyFlowOutcome modifyFlow(const Model::ModifyFlowRequest &request)const; - void modifyFlowAsync(const Model::ModifyFlowRequest& request, const ModifyFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyFlowOutcomeCallable modifyFlowCallable(const Model::ModifyFlowRequest& request) const; ModifyFlowCategoryOutcome modifyFlowCategory(const Model::ModifyFlowCategoryRequest &request)const; void modifyFlowCategoryAsync(const Model::ModifyFlowCategoryRequest& request, const ModifyFlowCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyFlowCategoryOutcomeCallable modifyFlowCategoryCallable(const Model::ModifyFlowCategoryRequest& request) const; ModifyFlowForWebOutcome modifyFlowForWeb(const Model::ModifyFlowForWebRequest &request)const; void modifyFlowForWebAsync(const Model::ModifyFlowForWebRequest& request, const ModifyFlowForWebAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyFlowForWebOutcomeCallable modifyFlowForWebCallable(const Model::ModifyFlowForWebRequest& request) const; - ModifyFlowJobOutcome modifyFlowJob(const Model::ModifyFlowJobRequest &request)const; - void modifyFlowJobAsync(const Model::ModifyFlowJobRequest& request, const ModifyFlowJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyFlowJobOutcomeCallable modifyFlowJobCallable(const Model::ModifyFlowJobRequest& request) const; ModifyFlowProjectOutcome modifyFlowProject(const Model::ModifyFlowProjectRequest &request)const; void modifyFlowProjectAsync(const Model::ModifyFlowProjectRequest& request, const ModifyFlowProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyFlowProjectOutcomeCallable modifyFlowProjectCallable(const Model::ModifyFlowProjectRequest& request) const; ModifyFlowProjectClusterSettingOutcome modifyFlowProjectClusterSetting(const Model::ModifyFlowProjectClusterSettingRequest &request)const; void modifyFlowProjectClusterSettingAsync(const Model::ModifyFlowProjectClusterSettingRequest& request, const ModifyFlowProjectClusterSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyFlowProjectClusterSettingOutcomeCallable modifyFlowProjectClusterSettingCallable(const Model::ModifyFlowProjectClusterSettingRequest& request) const; - ModifyJobOutcome modifyJob(const Model::ModifyJobRequest &request)const; - void modifyJobAsync(const Model::ModifyJobRequest& request, const ModifyJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyJobOutcomeCallable modifyJobCallable(const Model::ModifyJobRequest& request) const; ModifyResourcePoolOutcome modifyResourcePool(const Model::ModifyResourcePoolRequest &request)const; void modifyResourcePoolAsync(const Model::ModifyResourcePoolRequest& request, const ModifyResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyResourcePoolOutcomeCallable modifyResourcePoolCallable(const Model::ModifyResourcePoolRequest& request) const; @@ -1578,18 +919,6 @@ namespace AlibabaCloud ModifyScalingGroupV2Outcome modifyScalingGroupV2(const Model::ModifyScalingGroupV2Request &request)const; void modifyScalingGroupV2Async(const Model::ModifyScalingGroupV2Request& request, const ModifyScalingGroupV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyScalingGroupV2OutcomeCallable modifyScalingGroupV2Callable(const Model::ModifyScalingGroupV2Request& request) const; - ModifyScalingRuleOutcome modifyScalingRule(const Model::ModifyScalingRuleRequest &request)const; - void modifyScalingRuleAsync(const Model::ModifyScalingRuleRequest& request, const ModifyScalingRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyScalingRuleOutcomeCallable modifyScalingRuleCallable(const Model::ModifyScalingRuleRequest& request) const; - ModifyScalingTaskGroupOutcome modifyScalingTaskGroup(const Model::ModifyScalingTaskGroupRequest &request)const; - void modifyScalingTaskGroupAsync(const Model::ModifyScalingTaskGroupRequest& request, const ModifyScalingTaskGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyScalingTaskGroupOutcomeCallable modifyScalingTaskGroupCallable(const Model::ModifyScalingTaskGroupRequest& request) const; - QueryEntityOutcome queryEntity(const Model::QueryEntityRequest &request)const; - void queryEntityAsync(const Model::QueryEntityRequest& request, const QueryEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryEntityOutcomeCallable queryEntityCallable(const Model::QueryEntityRequest& request) const; - QueryTagOutcome queryTag(const Model::QueryTagRequest &request)const; - void queryTagAsync(const Model::QueryTagRequest& request, const QueryTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryTagOutcomeCallable queryTagCallable(const Model::QueryTagRequest& request) const; RefreshClusterResourcePoolOutcome refreshClusterResourcePool(const Model::RefreshClusterResourcePoolRequest &request)const; void refreshClusterResourcePoolAsync(const Model::RefreshClusterResourcePoolRequest& request, const RefreshClusterResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RefreshClusterResourcePoolOutcomeCallable refreshClusterResourcePoolCallable(const Model::RefreshClusterResourcePoolRequest& request) const; @@ -1608,30 +937,15 @@ namespace AlibabaCloud ResizeClusterV2Outcome resizeClusterV2(const Model::ResizeClusterV2Request &request)const; void resizeClusterV2Async(const Model::ResizeClusterV2Request& request, const ResizeClusterV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResizeClusterV2OutcomeCallable resizeClusterV2Callable(const Model::ResizeClusterV2Request& request) const; - ResumeExecutionPlanSchedulerOutcome resumeExecutionPlanScheduler(const Model::ResumeExecutionPlanSchedulerRequest &request)const; - void resumeExecutionPlanSchedulerAsync(const Model::ResumeExecutionPlanSchedulerRequest& request, const ResumeExecutionPlanSchedulerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ResumeExecutionPlanSchedulerOutcomeCallable resumeExecutionPlanSchedulerCallable(const Model::ResumeExecutionPlanSchedulerRequest& request) const; ResumeFlowOutcome resumeFlow(const Model::ResumeFlowRequest &request)const; void resumeFlowAsync(const Model::ResumeFlowRequest& request, const ResumeFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResumeFlowOutcomeCallable resumeFlowCallable(const Model::ResumeFlowRequest& request) const; - RetryOperationOutcome retryOperation(const Model::RetryOperationRequest &request)const; - void retryOperationAsync(const Model::RetryOperationRequest& request, const RetryOperationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RetryOperationOutcomeCallable retryOperationCallable(const Model::RetryOperationRequest& request) const; RunClusterServiceActionOutcome runClusterServiceAction(const Model::RunClusterServiceActionRequest &request)const; void runClusterServiceActionAsync(const Model::RunClusterServiceActionRequest& request, const RunClusterServiceActionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RunClusterServiceActionOutcomeCallable runClusterServiceActionCallable(const Model::RunClusterServiceActionRequest& request) const; - RunDiskOpsActivityOutcome runDiskOpsActivity(const Model::RunDiskOpsActivityRequest &request)const; - void runDiskOpsActivityAsync(const Model::RunDiskOpsActivityRequest& request, const RunDiskOpsActivityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RunDiskOpsActivityOutcomeCallable runDiskOpsActivityCallable(const Model::RunDiskOpsActivityRequest& request) const; - RunExecutionPlanOutcome runExecutionPlan(const Model::RunExecutionPlanRequest &request)const; - void runExecutionPlanAsync(const Model::RunExecutionPlanRequest& request, const RunExecutionPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RunExecutionPlanOutcomeCallable runExecutionPlanCallable(const Model::RunExecutionPlanRequest& request) const; RunScalingActionV2Outcome runScalingActionV2(const Model::RunScalingActionV2Request &request)const; void runScalingActionV2Async(const Model::RunScalingActionV2Request& request, const RunScalingActionV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RunScalingActionV2OutcomeCallable runScalingActionV2Callable(const Model::RunScalingActionV2Request& request) const; - SearchLogOutcome searchLog(const Model::SearchLogRequest &request)const; - void searchLogAsync(const Model::SearchLogRequest& request, const SearchLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SearchLogOutcomeCallable searchLogCallable(const Model::SearchLogRequest& request) const; StartFlowOutcome startFlow(const Model::StartFlowRequest &request)const; void startFlowAsync(const Model::StartFlowRequest& request, const StartFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StartFlowOutcomeCallable startFlowCallable(const Model::StartFlowRequest& request) const; @@ -1641,33 +955,15 @@ namespace AlibabaCloud SubmitFlowJobOutcome submitFlowJob(const Model::SubmitFlowJobRequest &request)const; void submitFlowJobAsync(const Model::SubmitFlowJobRequest& request, const SubmitFlowJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitFlowJobOutcomeCallable submitFlowJobCallable(const Model::SubmitFlowJobRequest& request) const; - SuspendExecutionPlanSchedulerOutcome suspendExecutionPlanScheduler(const Model::SuspendExecutionPlanSchedulerRequest &request)const; - void suspendExecutionPlanSchedulerAsync(const Model::SuspendExecutionPlanSchedulerRequest& request, const SuspendExecutionPlanSchedulerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SuspendExecutionPlanSchedulerOutcomeCallable suspendExecutionPlanSchedulerCallable(const Model::SuspendExecutionPlanSchedulerRequest& request) const; SuspendFlowOutcome suspendFlow(const Model::SuspendFlowRequest &request)const; void suspendFlowAsync(const Model::SuspendFlowRequest& request, const SuspendFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SuspendFlowOutcomeCallable suspendFlowCallable(const Model::SuspendFlowRequest& request) const; TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const; void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const; - UninstallLibrariesOutcome uninstallLibraries(const Model::UninstallLibrariesRequest &request)const; - void uninstallLibrariesAsync(const Model::UninstallLibrariesRequest& request, const UninstallLibrariesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UninstallLibrariesOutcomeCallable uninstallLibrariesCallable(const Model::UninstallLibrariesRequest& request) const; UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const; void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const; - UpdateDataSourceOutcome updateDataSource(const Model::UpdateDataSourceRequest &request)const; - void updateDataSourceAsync(const Model::UpdateDataSourceRequest& request, const UpdateDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateDataSourceOutcomeCallable updateDataSourceCallable(const Model::UpdateDataSourceRequest& request) const; - UpdateLibraryInstallTaskStatusOutcome updateLibraryInstallTaskStatus(const Model::UpdateLibraryInstallTaskStatusRequest &request)const; - void updateLibraryInstallTaskStatusAsync(const Model::UpdateLibraryInstallTaskStatusRequest& request, const UpdateLibraryInstallTaskStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateLibraryInstallTaskStatusOutcomeCallable updateLibraryInstallTaskStatusCallable(const Model::UpdateLibraryInstallTaskStatusRequest& request) const; - UpdateTagOutcome updateTag(const Model::UpdateTagRequest &request)const; - void updateTagAsync(const Model::UpdateTagRequest& request, const UpdateTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateTagOutcomeCallable updateTagCallable(const Model::UpdateTagRequest& request) const; - UpdateUserOutcome updateUser(const Model::UpdateUserRequest &request)const; - void updateUserAsync(const Model::UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateUserOutcomeCallable updateUserCallable(const Model::UpdateUserRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/emr/include/alibabacloud/emr/model/AuthorizeSecurityGroupRequest.h b/emr/include/alibabacloud/emr/model/AuthorizeSecurityGroupRequest.h deleted file mode 100644 index e482f13d0..000000000 --- a/emr/include/alibabacloud/emr/model/AuthorizeSecurityGroupRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT AuthorizeSecurityGroupRequest : public RpcServiceRequest - { - - public: - AuthorizeSecurityGroupRequest(); - ~AuthorizeSecurityGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getBizType()const; - void setBizType(const std::string& bizType); - std::string getBizContent()const; - void setBizContent(const std::string& bizContent); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string accessKeyId_; - std::string bizType_; - std::string bizContent_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/AuthorizeSecurityGroupResult.h b/emr/include/alibabacloud/emr/model/AuthorizeSecurityGroupResult.h deleted file mode 100644 index 552d7f6e0..000000000 --- a/emr/include/alibabacloud/emr/model/AuthorizeSecurityGroupResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT AuthorizeSecurityGroupResult : public ServiceResult - { - public: - - - AuthorizeSecurityGroupResult(); - explicit AuthorizeSecurityGroupResult(const std::string &payload); - ~AuthorizeSecurityGroupResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CancelOrderRequest.h b/emr/include/alibabacloud/emr/model/CancelOrderRequest.h deleted file mode 100644 index 95fa25722..000000000 --- a/emr/include/alibabacloud/emr/model/CancelOrderRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CANCELORDERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CANCELORDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CancelOrderRequest : public RpcServiceRequest - { - - public: - CancelOrderRequest(); - ~CancelOrderRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CANCELORDERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CancelOrderResult.h b/emr/include/alibabacloud/emr/model/CancelOrderResult.h deleted file mode 100644 index c0c44f95e..000000000 --- a/emr/include/alibabacloud/emr/model/CancelOrderResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CANCELORDERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CANCELORDERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CancelOrderResult : public ServiceResult - { - public: - - - CancelOrderResult(); - explicit CancelOrderResult(const std::string &payload); - ~CancelOrderResult(); - std::string getClusterId()const; - - protected: - void parse(const std::string &payload); - private: - std::string clusterId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CANCELORDERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateBackupPlanRequest.h b/emr/include/alibabacloud/emr/model/CreateBackupPlanRequest.h deleted file mode 100644 index ada24ac51..000000000 --- a/emr/include/alibabacloud/emr/model/CreateBackupPlanRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEBACKUPPLANREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEBACKUPPLANREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateBackupPlanRequest : public RpcServiceRequest - { - - public: - CreateBackupPlanRequest(); - ~CreateBackupPlanRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getRootPath()const; - void setRootPath(const std::string& rootPath); - - private: - long resourceOwnerId_; - std::string description_; - std::string clusterId_; - std::string accessKeyId_; - std::string regionId_; - std::string name_; - std::string rootPath_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBACKUPPLANREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateBackupPlanResult.h b/emr/include/alibabacloud/emr/model/CreateBackupPlanResult.h deleted file mode 100644 index 05a96c7aa..000000000 --- a/emr/include/alibabacloud/emr/model/CreateBackupPlanResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEBACKUPPLANRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEBACKUPPLANRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateBackupPlanResult : public ServiceResult - { - public: - - - CreateBackupPlanResult(); - explicit CreateBackupPlanResult(const std::string &payload); - ~CreateBackupPlanResult(); - std::string getRootPath()const; - std::string getDescription()const; - std::string getClusterId()const; - std::string getId()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string rootPath_; - std::string description_; - std::string clusterId_; - std::string id_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBACKUPPLANRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateBackupRequest.h b/emr/include/alibabacloud/emr/model/CreateBackupRequest.h deleted file mode 100644 index 711abf500..000000000 --- a/emr/include/alibabacloud/emr/model/CreateBackupRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEBACKUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEBACKUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateBackupRequest : public RpcServiceRequest - { - - public: - CreateBackupRequest(); - ~CreateBackupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getBackupPlanId()const; - void setBackupPlanId(const std::string& backupPlanId); - std::string getMetadataType()const; - void setMetadataType(const std::string& metadataType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string backupPlanId_; - std::string metadataType_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBACKUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateBackupResult.h b/emr/include/alibabacloud/emr/model/CreateBackupResult.h deleted file mode 100644 index 1e9194dd5..000000000 --- a/emr/include/alibabacloud/emr/model/CreateBackupResult.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEBACKUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEBACKUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateBackupResult : public ServiceResult - { - public: - - - CreateBackupResult(); - explicit CreateBackupResult(const std::string &payload); - ~CreateBackupResult(); - std::string getTriggerType()const; - long getEndTime()const; - long getStartTime()const; - long getGmtModified()const; - std::string getTaskStatus()const; - std::string getTaskDetail()const; - std::string getTriggerUser()const; - long getGmtCreate()const; - int getTaskProcess()const; - std::string getClusterBizId()const; - std::string getTaskType()const; - std::string getBizId()const; - long getDataSourceId()const; - std::string getHostName()const; - long getEcmTaskId()const; - std::string getTaskResultDetail()const; - - protected: - void parse(const std::string &payload); - private: - std::string triggerType_; - long endTime_; - long startTime_; - long gmtModified_; - std::string taskStatus_; - std::string taskDetail_; - std::string triggerUser_; - long gmtCreate_; - int taskProcess_; - std::string clusterBizId_; - std::string taskType_; - std::string bizId_; - long dataSourceId_; - std::string hostName_; - long ecmTaskId_; - std::string taskResultDetail_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBACKUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionRequest.h b/emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionRequest.h deleted file mode 100644 index e849c53ec..000000000 --- a/emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionRequest.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateClusterBootstrapActionRequest : public RpcServiceRequest - { - public: - struct BootstrapAction - { - std::string path; - std::string executionTarget; - std::string executionMoment; - std::string arg; - std::string name; - std::string executionFailStrategy; - }; - - public: - CreateClusterBootstrapActionRequest(); - ~CreateClusterBootstrapActionRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::vector getBootstrapAction()const; - void setBootstrapAction(const std::vector& bootstrapAction); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string accessKeyId_; - std::vector bootstrapAction_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionResult.h b/emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionResult.h deleted file mode 100644 index 19357d323..000000000 --- a/emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateClusterBootstrapActionResult : public ServiceResult - { - public: - - - CreateClusterBootstrapActionResult(); - explicit CreateClusterBootstrapActionResult(const std::string &payload); - ~CreateClusterBootstrapActionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h b/emr/include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h deleted file mode 100644 index e58dbf4fe..000000000 --- a/emr/include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateClusterHostGroupRequest : public RpcServiceRequest - { - - public: - CreateClusterHostGroupRequest(); - ~CreateClusterHostGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getHostGroupParams()const; - void setHostGroupParams(const std::string& hostGroupParams); - std::string getSecurityGroupId()const; - void setSecurityGroupId(const std::string& securityGroupId); - std::string getHostGroupName()const; - void setHostGroupName(const std::string& hostGroupName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getVswitchId()const; - void setVswitchId(const std::string& vswitchId); - std::string getComment()const; - void setComment(const std::string& comment); - std::string getPayType()const; - void setPayType(const std::string& payType); - std::string getHostGroupType()const; - void setHostGroupType(const std::string& hostGroupType); - - private: - long resourceOwnerId_; - std::string hostGroupParams_; - std::string securityGroupId_; - std::string hostGroupName_; - std::string accessKeyId_; - std::string regionId_; - std::string clusterId_; - std::string vswitchId_; - std::string comment_; - std::string payType_; - std::string hostGroupType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateClusterHostGroupResult.h b/emr/include/alibabacloud/emr/model/CreateClusterHostGroupResult.h deleted file mode 100644 index 36e4f2158..000000000 --- a/emr/include/alibabacloud/emr/model/CreateClusterHostGroupResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateClusterHostGroupResult : public ServiceResult - { - public: - - - CreateClusterHostGroupResult(); - explicit CreateClusterHostGroupResult(const std::string &payload); - ~CreateClusterHostGroupResult(); - std::string getHostGroupId()const; - std::string getClusterId()const; - - protected: - void parse(const std::string &payload); - private: - std::string hostGroupId_; - std::string clusterId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateDataSourceRequest.h b/emr/include/alibabacloud/emr/model/CreateDataSourceRequest.h deleted file mode 100644 index 4b7da410e..000000000 --- a/emr/include/alibabacloud/emr/model/CreateDataSourceRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateDataSourceRequest : public RpcServiceRequest - { - - public: - CreateDataSourceRequest(); - ~CreateDataSourceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getNavParentId()const; - void setNavParentId(const std::string& navParentId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getConf()const; - void setConf(const std::string& conf); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getSourceType()const; - void setSourceType(const std::string& sourceType); - - private: - long resourceOwnerId_; - std::string navParentId_; - std::string description_; - std::string conf_; - std::string clusterId_; - std::string accessKeyId_; - std::string resourceGroupId_; - std::string regionId_; - std::string name_; - std::string sourceType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateDataSourceResult.h b/emr/include/alibabacloud/emr/model/CreateDataSourceResult.h deleted file mode 100644 index 17cb4ab8a..000000000 --- a/emr/include/alibabacloud/emr/model/CreateDataSourceResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateDataSourceResult : public ServiceResult - { - public: - - - CreateDataSourceResult(); - explicit CreateDataSourceResult(const std::string &payload); - ~CreateDataSourceResult(); - std::string getId()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateExecutionPlanRequest.h b/emr/include/alibabacloud/emr/model/CreateExecutionPlanRequest.h deleted file mode 100644 index c97bf47f0..000000000 --- a/emr/include/alibabacloud/emr/model/CreateExecutionPlanRequest.h +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateExecutionPlanRequest : public RpcServiceRequest - { - public: - struct BootstrapAction - { - std::string path; - std::string executionTarget; - std::string executionMoment; - std::string arg; - std::string name; - std::string executionFailStrategy; - }; - struct EcsOrder - { - std::string nodeType; - int diskCount; - int nodeCount; - int diskCapacity; - int index; - std::string instanceType; - std::string diskType; - }; - struct Config - { - std::string configKey; - std::string fileName; - std::string encrypt; - std::string replace; - std::string configValue; - std::string serviceName; - }; - - public: - CreateExecutionPlanRequest(); - ~CreateExecutionPlanRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getTimeInterval()const; - void setTimeInterval(int timeInterval); - std::string getLogPath()const; - void setLogPath(const std::string& logPath); - std::string getClusterName()const; - void setClusterName(const std::string& clusterName); - std::string getConfigurations()const; - void setConfigurations(const std::string& configurations); - bool getCreateClusterOnDemand()const; - void setCreateClusterOnDemand(bool createClusterOnDemand); - long getStartTime()const; - void setStartTime(long startTime); - std::vector getBootstrapAction()const; - void setBootstrapAction(const std::vector& bootstrapAction); - std::string getEmrVer()const; - void setEmrVer(const std::string& emrVer); - bool getIsOpenPublicIp()const; - void setIsOpenPublicIp(bool isOpenPublicIp); - std::string getInstanceGeneration()const; - void setInstanceGeneration(const std::string& instanceGeneration); - std::string getClusterType()const; - void setClusterType(const std::string& clusterType); - std::string getVSwitchId()const; - void setVSwitchId(const std::string& vSwitchId); - std::vector getOptionSoftWareList()const; - void setOptionSoftWareList(const std::vector& optionSoftWareList); - std::string getNetType()const; - void setNetType(const std::string& netType); - std::vector getEcsOrder()const; - void setEcsOrder(const std::vector& ecsOrder); - std::string getName()const; - void setName(const std::string& name); - std::string getZoneId()const; - void setZoneId(const std::string& zoneId); - bool getUseCustomHiveMetaDB()const; - void setUseCustomHiveMetaDB(bool useCustomHiveMetaDB); - bool getInitCustomHiveMetaDB()const; - void setInitCustomHiveMetaDB(bool initCustomHiveMetaDB); - bool getIoOptimized()const; - void setIoOptimized(bool ioOptimized); - std::string getSecurityGroupId()const; - void setSecurityGroupId(const std::string& securityGroupId); - bool getEasEnable()const; - void setEasEnable(bool easEnable); - std::vector getJobIdList()const; - void setJobIdList(const std::vector& jobIdList); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getDayOfMonth()const; - void setDayOfMonth(const std::string& dayOfMonth); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getUseLocalMetaDb()const; - void setUseLocalMetaDb(bool useLocalMetaDb); - std::string getUserDefinedEmrEcsRole()const; - void setUserDefinedEmrEcsRole(const std::string& userDefinedEmrEcsRole); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getTimeUnit()const; - void setTimeUnit(const std::string& timeUnit); - std::string getVpcId()const; - void setVpcId(const std::string& vpcId); - std::string getWorkflowDefinition()const; - void setWorkflowDefinition(const std::string& workflowDefinition); - std::string getDayOfWeek()const; - void setDayOfWeek(const std::string& dayOfWeek); - std::string getStrategy()const; - void setStrategy(const std::string& strategy); - std::vector getConfig()const; - void setConfig(const std::vector& config); - bool getHighAvailabilityEnable()const; - void setHighAvailabilityEnable(bool highAvailabilityEnable); - bool getLogEnable()const; - void setLogEnable(bool logEnable); - - private: - long resourceOwnerId_; - int timeInterval_; - std::string logPath_; - std::string clusterName_; - std::string configurations_; - bool createClusterOnDemand_; - long startTime_; - std::vector bootstrapAction_; - std::string emrVer_; - bool isOpenPublicIp_; - std::string instanceGeneration_; - std::string clusterType_; - std::string vSwitchId_; - std::vector optionSoftWareList_; - std::string netType_; - std::vector ecsOrder_; - std::string name_; - std::string zoneId_; - bool useCustomHiveMetaDB_; - bool initCustomHiveMetaDB_; - bool ioOptimized_; - std::string securityGroupId_; - bool easEnable_; - std::vector jobIdList_; - std::string accessKeyId_; - std::string dayOfMonth_; - std::string regionId_; - bool useLocalMetaDb_; - std::string userDefinedEmrEcsRole_; - std::string clusterId_; - std::string timeUnit_; - std::string vpcId_; - std::string workflowDefinition_; - std::string dayOfWeek_; - std::string strategy_; - std::vector config_; - bool highAvailabilityEnable_; - bool logEnable_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateExecutionPlanResult.h b/emr/include/alibabacloud/emr/model/CreateExecutionPlanResult.h deleted file mode 100644 index 41b31c521..000000000 --- a/emr/include/alibabacloud/emr/model/CreateExecutionPlanResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateExecutionPlanResult : public ServiceResult - { - public: - - - CreateExecutionPlanResult(); - explicit CreateExecutionPlanResult(const std::string &payload); - ~CreateExecutionPlanResult(); - std::string getId()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateJobRequest.h b/emr/include/alibabacloud/emr/model/CreateJobRequest.h deleted file mode 100644 index b43e9afb2..000000000 --- a/emr/include/alibabacloud/emr/model/CreateJobRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEJOBREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateJobRequest : public RpcServiceRequest - { - - public: - CreateJobRequest(); - ~CreateJobRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getType()const; - void setType(const std::string& type); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getFailAct()const; - void setFailAct(const std::string& failAct); - std::string getRunParameter()const; - void setRunParameter(const std::string& runParameter); - int getRetryInterval()const; - void setRetryInterval(int retryInterval); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - int getMaxRetry()const; - void setMaxRetry(int maxRetry); - - private: - long resourceOwnerId_; - std::string type_; - std::string accessKeyId_; - std::string failAct_; - std::string runParameter_; - int retryInterval_; - std::string resourceGroupId_; - std::string regionId_; - std::string name_; - int maxRetry_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEJOBREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateJobResult.h b/emr/include/alibabacloud/emr/model/CreateJobResult.h deleted file mode 100644 index f42d4b914..000000000 --- a/emr/include/alibabacloud/emr/model/CreateJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEJOBRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateJobResult : public ServiceResult - { - public: - - - CreateJobResult(); - explicit CreateJobResult(const std::string &payload); - ~CreateJobResult(); - std::string getId()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEJOBRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateLibraryRequest.h b/emr/include/alibabacloud/emr/model/CreateLibraryRequest.h deleted file mode 100644 index 2c392a730..000000000 --- a/emr/include/alibabacloud/emr/model/CreateLibraryRequest.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATELIBRARYREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATELIBRARYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateLibraryRequest : public RpcServiceRequest - { - - public: - CreateLibraryRequest(); - ~CreateLibraryRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getLibraryVersion()const; - void setLibraryVersion(const std::string& libraryVersion); - std::string getType()const; - void setType(const std::string& type); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getScope()const; - void setScope(const std::string& scope); - std::string getName()const; - void setName(const std::string& name); - std::string getSourceType()const; - void setSourceType(const std::string& sourceType); - std::string getProperties()const; - void setProperties(const std::string& properties); - std::string getSourceLocation()const; - void setSourceLocation(const std::string& sourceLocation); - - private: - long resourceOwnerId_; - std::string libraryVersion_; - std::string type_; - std::string accessKeyId_; - std::string regionId_; - std::string scope_; - std::string name_; - std::string sourceType_; - std::string properties_; - std::string sourceLocation_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATELIBRARYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateLibraryResult.h b/emr/include/alibabacloud/emr/model/CreateLibraryResult.h deleted file mode 100644 index ed9928a20..000000000 --- a/emr/include/alibabacloud/emr/model/CreateLibraryResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATELIBRARYRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATELIBRARYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateLibraryResult : public ServiceResult - { - public: - - - CreateLibraryResult(); - explicit CreateLibraryResult(const std::string &payload); - ~CreateLibraryResult(); - std::string getData()const; - - protected: - void parse(const std::string &payload); - private: - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATELIBRARYRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateMetaTablePreviewTaskRequest.h b/emr/include/alibabacloud/emr/model/CreateMetaTablePreviewTaskRequest.h deleted file mode 100644 index 53d850444..000000000 --- a/emr/include/alibabacloud/emr/model/CreateMetaTablePreviewTaskRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEMETATABLEPREVIEWTASKREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEMETATABLEPREVIEWTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateMetaTablePreviewTaskRequest : public RpcServiceRequest - { - - public: - CreateMetaTablePreviewTaskRequest(); - ~CreateMetaTablePreviewTaskRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getPassword()const; - void setPassword(const std::string& password); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getTableId()const; - void setTableId(const std::string& tableId); - std::string getDatabaseId()const; - void setDatabaseId(const std::string& databaseId); - std::string getUser()const; - void setUser(const std::string& user); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string accessKeyId_; - std::string resourceGroupId_; - std::string password_; - std::string regionId_; - std::string tableId_; - std::string databaseId_; - std::string user_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEMETATABLEPREVIEWTASKREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateMetaTablePreviewTaskResult.h b/emr/include/alibabacloud/emr/model/CreateMetaTablePreviewTaskResult.h deleted file mode 100644 index 35904c1db..000000000 --- a/emr/include/alibabacloud/emr/model/CreateMetaTablePreviewTaskResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEMETATABLEPREVIEWTASKRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEMETATABLEPREVIEWTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateMetaTablePreviewTaskResult : public ServiceResult - { - public: - - - CreateMetaTablePreviewTaskResult(); - explicit CreateMetaTablePreviewTaskResult(const std::string &payload); - ~CreateMetaTablePreviewTaskResult(); - std::string getTaskId()const; - - protected: - void parse(const std::string &payload); - private: - std::string taskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEMETATABLEPREVIEWTASKRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateScalingRuleRequest.h b/emr/include/alibabacloud/emr/model/CreateScalingRuleRequest.h deleted file mode 100644 index a6bdf1656..000000000 --- a/emr/include/alibabacloud/emr/model/CreateScalingRuleRequest.h +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateScalingRuleRequest : public RpcServiceRequest - { - public: - struct CloudWatchTrigger - { - int period; - std::string evaluationCount; - std::string threshold; - std::string metricName; - std::string comparisonOperator; - std::string statistics; - }; - struct SchedulerTrigger - { - std::string launchTime; - int launchExpirationTime; - std::string recurrenceValue; - std::string recurrenceEndTime; - std::string recurrenceType; - }; - - public: - CreateScalingRuleRequest(); - ~CreateScalingRuleRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRuleName()const; - void setRuleName(const std::string& ruleName); - std::string getRecurrenceEndTime()const; - void setRecurrenceEndTime(const std::string& recurrenceEndTime); - std::vector getCloudWatchTrigger()const; - void setCloudWatchTrigger(const std::vector& cloudWatchTrigger); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - long getTimeoutWithGrace()const; - void setTimeoutWithGrace(long timeoutWithGrace); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getCooldown()const; - void setCooldown(int cooldown); - std::string getLaunchTime()const; - void setLaunchTime(const std::string& launchTime); - bool getWithGrace()const; - void setWithGrace(bool withGrace); - std::string getRuleCategory()const; - void setRuleCategory(const std::string& ruleCategory); - int getAdjustmentValue()const; - void setAdjustmentValue(int adjustmentValue); - std::string getAdjustmentType()const; - void setAdjustmentType(const std::string& adjustmentType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getLaunchExpirationTime()const; - void setLaunchExpirationTime(int launchExpirationTime); - std::string getRecurrenceValue()const; - void setRecurrenceValue(const std::string& recurrenceValue); - std::string getHostGroupId()const; - void setHostGroupId(const std::string& hostGroupId); - std::vector getSchedulerTrigger()const; - void setSchedulerTrigger(const std::vector& schedulerTrigger); - std::string getRecurrenceType()const; - void setRecurrenceType(const std::string& recurrenceType); - - private: - long resourceOwnerId_; - std::string ruleName_; - std::string recurrenceEndTime_; - std::vector cloudWatchTrigger_; - std::string accessKeyId_; - long timeoutWithGrace_; - std::string regionId_; - int cooldown_; - std::string launchTime_; - bool withGrace_; - std::string ruleCategory_; - int adjustmentValue_; - std::string adjustmentType_; - std::string clusterId_; - int launchExpirationTime_; - std::string recurrenceValue_; - std::string hostGroupId_; - std::vector schedulerTrigger_; - std::string recurrenceType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateScalingRuleResult.h b/emr/include/alibabacloud/emr/model/CreateScalingRuleResult.h deleted file mode 100644 index 6463c0aad..000000000 --- a/emr/include/alibabacloud/emr/model/CreateScalingRuleResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateScalingRuleResult : public ServiceResult - { - public: - - - CreateScalingRuleResult(); - explicit CreateScalingRuleResult(const std::string &payload); - ~CreateScalingRuleResult(); - std::string getScalingRuleId()const; - - protected: - void parse(const std::string &payload); - private: - std::string scalingRuleId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateTagRequest.h b/emr/include/alibabacloud/emr/model/CreateTagRequest.h deleted file mode 100644 index 5c333d027..000000000 --- a/emr/include/alibabacloud/emr/model/CreateTagRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATETAGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATETAGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateTagRequest : public RpcServiceRequest - { - - public: - CreateTagRequest(); - ~CreateTagRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - long getId()const; - void setId(long id); - std::string getCategory()const; - void setCategory(const std::string& category); - - private: - long resourceOwnerId_; - std::string description_; - std::string accessKeyId_; - std::string regionId_; - std::string name_; - long id_; - std::string category_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATETAGREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateTagResult.h b/emr/include/alibabacloud/emr/model/CreateTagResult.h deleted file mode 100644 index ad18ee2ed..000000000 --- a/emr/include/alibabacloud/emr/model/CreateTagResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATETAGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATETAGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateTagResult : public ServiceResult - { - public: - - - CreateTagResult(); - explicit CreateTagResult(const std::string &payload); - ~CreateTagResult(); - std::string getData()const; - - protected: - void parse(const std::string &payload); - private: - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATETAGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateUserRequest.h b/emr/include/alibabacloud/emr/model/CreateUserRequest.h deleted file mode 100644 index 57e9bc8ac..000000000 --- a/emr/include/alibabacloud/emr/model/CreateUserRequest.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEUSERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateUserRequest : public RpcServiceRequest - { - public: - struct UserAccountParamList - { - std::string accountType; - std::string authType; - std::string accountPassword; - }; - - public: - CreateUserRequest(); - ~CreateUserRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getUserType()const; - void setUserType(const std::string& userType); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::vector getUserAccountParamList()const; - void setUserAccountParamList(const std::vector& userAccountParamList); - std::vector getGroupIdList()const; - void setGroupIdList(const std::vector& groupIdList); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getRoleIdList()const; - void setRoleIdList(const std::vector& roleIdList); - std::string getAliyunUserId()const; - void setAliyunUserId(const std::string& aliyunUserId); - std::string getUserName()const; - void setUserName(const std::string& userName); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - long resourceOwnerId_; - std::string userType_; - std::string description_; - std::string accessKeyId_; - std::vector userAccountParamList_; - std::vector groupIdList_; - std::string regionId_; - std::vector roleIdList_; - std::string aliyunUserId_; - std::string userName_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateUserResult.h b/emr/include/alibabacloud/emr/model/CreateUserResult.h deleted file mode 100644 index f5f0a9176..000000000 --- a/emr/include/alibabacloud/emr/model/CreateUserResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEUSERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEUSERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateUserResult : public ServiceResult - { - public: - - - CreateUserResult(); - explicit CreateUserResult(const std::string &payload); - ~CreateUserResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateUsersRequest.h b/emr/include/alibabacloud/emr/model/CreateUsersRequest.h deleted file mode 100644 index 8744b060c..000000000 --- a/emr/include/alibabacloud/emr/model/CreateUsersRequest.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEUSERSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEUSERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateUsersRequest : public RpcServiceRequest - { - public: - struct UserInfo - { - std::string type; - std::string userId; - std::string userName; - }; - - public: - CreateUsersRequest(); - ~CreateUsersRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getUserInfo()const; - void setUserInfo(const std::vector& userInfo); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string accessKeyId_; - std::string regionId_; - std::vector userInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateUsersResult.h b/emr/include/alibabacloud/emr/model/CreateUsersResult.h deleted file mode 100644 index 146f565f3..000000000 --- a/emr/include/alibabacloud/emr/model/CreateUsersResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEUSERSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEUSERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateUsersResult : public ServiceResult - { - public: - - - CreateUsersResult(); - explicit CreateUsersResult(const std::string &payload); - ~CreateUsersResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DecommissionHostComponentRequest.h b/emr/include/alibabacloud/emr/model/DecommissionHostComponentRequest.h deleted file mode 100644 index b3167ab48..000000000 --- a/emr/include/alibabacloud/emr/model/DecommissionHostComponentRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DecommissionHostComponentRequest : public RpcServiceRequest - { - - public: - DecommissionHostComponentRequest(); - ~DecommissionHostComponentRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getHostInstanceId()const; - void setHostInstanceId(const std::string& hostInstanceId); - std::string getComponentName()const; - void setComponentName(const std::string& componentName); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - long getTimeoutSeconds()const; - void setTimeoutSeconds(long timeoutSeconds); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); - - private: - long resourceOwnerId_; - std::string hostInstanceId_; - std::string componentName_; - std::string clusterId_; - std::string accessKeyId_; - long timeoutSeconds_; - std::string regionId_; - std::string serviceName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DecommissionHostComponentResult.h b/emr/include/alibabacloud/emr/model/DecommissionHostComponentResult.h deleted file mode 100644 index 2adf6e284..000000000 --- a/emr/include/alibabacloud/emr/model/DecommissionHostComponentResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DecommissionHostComponentResult : public ServiceResult - { - public: - - - DecommissionHostComponentResult(); - explicit DecommissionHostComponentResult(const std::string &payload); - ~DecommissionHostComponentResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteExecutionPlanRequest.h b/emr/include/alibabacloud/emr/model/DeleteExecutionPlanRequest.h deleted file mode 100644 index 28ea5c621..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteExecutionPlanRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEEXECUTIONPLANREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEEXECUTIONPLANREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteExecutionPlanRequest : public RpcServiceRequest - { - - public: - DeleteExecutionPlanRequest(); - ~DeleteExecutionPlanRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEEXECUTIONPLANREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteExecutionPlanResult.h b/emr/include/alibabacloud/emr/model/DeleteExecutionPlanResult.h deleted file mode 100644 index bf2c1f73a..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteExecutionPlanResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEEXECUTIONPLANRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEEXECUTIONPLANRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteExecutionPlanResult : public ServiceResult - { - public: - - - DeleteExecutionPlanResult(); - explicit DeleteExecutionPlanResult(const std::string &payload); - ~DeleteExecutionPlanResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEEXECUTIONPLANRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteJobRequest.h b/emr/include/alibabacloud/emr/model/DeleteJobRequest.h deleted file mode 100644 index 9a06293df..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteJobRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEJOBREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteJobRequest : public RpcServiceRequest - { - - public: - DeleteJobRequest(); - ~DeleteJobRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string resourceGroupId_; - std::string regionId_; - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEJOBREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteJobResult.h b/emr/include/alibabacloud/emr/model/DeleteJobResult.h deleted file mode 100644 index b5235a451..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteJobResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEJOBRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteJobResult : public ServiceResult - { - public: - - - DeleteJobResult(); - explicit DeleteJobResult(const std::string &payload); - ~DeleteJobResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEJOBRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteLibrariesRequest.h b/emr/include/alibabacloud/emr/model/DeleteLibrariesRequest.h deleted file mode 100644 index ba0d19063..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteLibrariesRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteLibrariesRequest : public RpcServiceRequest - { - - public: - DeleteLibrariesRequest(); - ~DeleteLibrariesRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getLibraryBizIdList()const; - void setLibraryBizIdList(const std::vector& libraryBizIdList); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::vector libraryBizIdList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteLibrariesResult.h b/emr/include/alibabacloud/emr/model/DeleteLibrariesResult.h deleted file mode 100644 index 3abbe804e..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteLibrariesResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteLibrariesResult : public ServiceResult - { - public: - - - DeleteLibrariesResult(); - explicit DeleteLibrariesResult(const std::string &payload); - ~DeleteLibrariesResult(); - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteScalingRuleRequest.h b/emr/include/alibabacloud/emr/model/DeleteScalingRuleRequest.h deleted file mode 100644 index eeb5c329b..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteScalingRuleRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETESCALINGRULEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETESCALINGRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteScalingRuleRequest : public RpcServiceRequest - { - - public: - DeleteScalingRuleRequest(); - ~DeleteScalingRuleRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getScalingRuleId()const; - void setScalingRuleId(const std::string& scalingRuleId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHostGroupId()const; - void setHostGroupId(const std::string& hostGroupId); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string scalingRuleId_; - std::string accessKeyId_; - std::string regionId_; - std::string hostGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETESCALINGRULEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteScalingRuleResult.h b/emr/include/alibabacloud/emr/model/DeleteScalingRuleResult.h deleted file mode 100644 index 7a3441cf2..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteScalingRuleResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETESCALINGRULERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETESCALINGRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteScalingRuleResult : public ServiceResult - { - public: - - - DeleteScalingRuleResult(); - explicit DeleteScalingRuleResult(const std::string &payload); - ~DeleteScalingRuleResult(); - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETESCALINGRULERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteTagRequest.h b/emr/include/alibabacloud/emr/model/DeleteTagRequest.h deleted file mode 100644 index 2a06132c8..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteTagRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETETAGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETETAGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteTagRequest : public RpcServiceRequest - { - - public: - DeleteTagRequest(); - ~DeleteTagRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - long getId()const; - void setId(long id); - std::string getCategory()const; - void setCategory(const std::string& category); - - private: - long resourceOwnerId_; - std::string description_; - std::string accessKeyId_; - std::string regionId_; - std::string name_; - long id_; - std::string category_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETETAGREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteTagResult.h b/emr/include/alibabacloud/emr/model/DeleteTagResult.h deleted file mode 100644 index 8304ccd56..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteTagResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETETAGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETETAGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteTagResult : public ServiceResult - { - public: - - - DeleteTagResult(); - explicit DeleteTagResult(const std::string &payload); - ~DeleteTagResult(); - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETETAGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteUserRequest.h b/emr/include/alibabacloud/emr/model/DeleteUserRequest.h deleted file mode 100644 index cbbbbb369..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteUserRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEUSERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteUserRequest : public RpcServiceRequest - { - - public: - DeleteUserRequest(); - ~DeleteUserRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getType()const; - void setType(const std::string& type); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string type_; - std::string userId_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEUSERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteUserResult.h b/emr/include/alibabacloud/emr/model/DeleteUserResult.h deleted file mode 100644 index d70e0cd2c..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteUserResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEUSERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEUSERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteUserResult : public ServiceResult - { - public: - - - DeleteUserResult(); - explicit DeleteUserResult(const std::string &payload); - ~DeleteUserResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEUSERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterMetaCollectRequest.h b/emr/include/alibabacloud/emr/model/DescribeClusterMetaCollectRequest.h deleted file mode 100644 index 1cb4f773b..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterMetaCollectRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERMETACOLLECTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERMETACOLLECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterMetaCollectRequest : public RpcServiceRequest - { - - public: - DescribeClusterMetaCollectRequest(); - ~DescribeClusterMetaCollectRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string clusterId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERMETACOLLECTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterMetaCollectResult.h b/emr/include/alibabacloud/emr/model/DescribeClusterMetaCollectResult.h deleted file mode 100644 index 50e18b24a..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterMetaCollectResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERMETACOLLECTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERMETACOLLECTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterMetaCollectResult : public ServiceResult - { - public: - - - DescribeClusterMetaCollectResult(); - explicit DescribeClusterMetaCollectResult(const std::string &payload); - ~DescribeClusterMetaCollectResult(); - std::string getStatus()const; - std::string getClusterId()const; - std::string getMetaStoreType()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - std::string clusterId_; - std::string metaStoreType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERMETACOLLECTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryRequest.h b/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryRequest.h deleted file mode 100644 index 39e3f91bc..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGHISTORYREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGHISTORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterServiceConfigHistoryRequest : public RpcServiceRequest - { - - public: - DescribeClusterServiceConfigHistoryRequest(); - ~DescribeClusterServiceConfigHistoryRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getConfigVersion()const; - void setConfigVersion(const std::string& configVersion); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string accessKeyId_; - std::string configVersion_; - std::string regionId_; - std::string serviceName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGHISTORYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryResult.h b/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryResult.h deleted file mode 100644 index 0792eeeb8..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryResult.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGHISTORYRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGHISTORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterServiceConfigHistoryResult : public ServiceResult - { - public: - struct Config - { - struct ConfigValue - { - struct ConfigItemValue - { - std::string changeType; - std::string oldValue; - std::string value; - std::string itemName; - }; - std::string configName; - std::vector configItemValueList; - }; - std::string comment; - std::string serviceName; - std::string configVersion; - std::string createTime; - std::string author; - std::vector configValueList; - bool applied; - }; - - - DescribeClusterServiceConfigHistoryResult(); - explicit DescribeClusterServiceConfigHistoryResult(const std::string &payload); - ~DescribeClusterServiceConfigHistoryResult(); - Config getConfig()const; - - protected: - void parse(const std::string &payload); - private: - Config config_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGHISTORYRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigResult.h b/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigResult.h index 179854863..8c66f3224 100644 --- a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigResult.h @@ -41,6 +41,7 @@ namespace AlibabaCloud std::string description; bool isCustom; std::string value; + std::string valueScope; std::string itemName; }; std::string configName; diff --git a/emr/include/alibabacloud/emr/model/DescribeDataSourceRequest.h b/emr/include/alibabacloud/emr/model/DescribeDataSourceRequest.h deleted file mode 100644 index 505dfe18d..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeDataSourceRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeDataSourceRequest : public RpcServiceRequest - { - - public: - DescribeDataSourceRequest(); - ~DescribeDataSourceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string resourceGroupId_; - std::string regionId_; - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeDataSourceResult.h b/emr/include/alibabacloud/emr/model/DescribeDataSourceResult.h deleted file mode 100644 index 767fcd174..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeDataSourceResult.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeDataSourceResult : public ServiceResult - { - public: - - - DescribeDataSourceResult(); - explicit DescribeDataSourceResult(const std::string &payload); - ~DescribeDataSourceResult(); - std::string getCategoryId()const; - std::string getStatus()const; - std::string getDescription()const; - std::string getConf()const; - std::string getClusterId()const; - std::string getSourceType()const; - long getGmtModified()const; - std::string getCreator()const; - std::string getCreateFrom()const; - std::string getName()const; - long getGmtCreate()const; - std::string getId()const; - std::string getModifier()const; - - protected: - void parse(const std::string &payload); - private: - std::string categoryId_; - std::string status_; - std::string description_; - std::string conf_; - std::string clusterId_; - std::string sourceType_; - long gmtModified_; - std::string creator_; - std::string createFrom_; - std::string name_; - long gmtCreate_; - std::string id_; - std::string modifier_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityRequest.h b/emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityRequest.h deleted file mode 100644 index 6f08fe8c8..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeDiskOpsActivityRequest : public RpcServiceRequest - { - - public: - DescribeDiskOpsActivityRequest(); - ~DescribeDiskOpsActivityRequest(); - - std::string getEventId()const; - void setEventId(const std::string& eventId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getCurrentStage()const; - void setCurrentStage(const std::string& currentStage); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getDiskId()const; - void setDiskId(const std::string& diskId); - std::string getCurrentState()const; - void setCurrentState(const std::string& currentState); - - private: - std::string eventId_; - long resourceOwnerId_; - std::string currentStage_; - std::string clusterId_; - std::string accessKeyId_; - std::string instanceId_; - std::string regionId_; - std::string diskId_; - std::string currentState_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityResult.h b/emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityResult.h deleted file mode 100644 index c3d5a4bea..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeDiskOpsActivityResult : public ServiceResult - { - public: - - - DescribeDiskOpsActivityResult(); - explicit DescribeDiskOpsActivityResult(const std::string &payload); - ~DescribeDiskOpsActivityResult(); - std::string getActivityState()const; - std::string getCurrentActivity()const; - std::string getClusterType()const; - bool getNeedReboot()const; - std::string getErrorMessage()const; - - protected: - void parse(const std::string &payload); - private: - std::string activityState_; - std::string currentActivity_; - std::string clusterType_; - bool needReboot_; - std::string errorMessage_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h b/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h deleted file mode 100644 index 0d3999693..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeEmrMainVersionRequest : public RpcServiceRequest - { - - public: - DescribeEmrMainVersionRequest(); - ~DescribeEmrMainVersionRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEmrVersion()const; - void setEmrVersion(const std::string& emrVersion); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string emrVersion_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h b/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h deleted file mode 100644 index 7f8775759..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeEmrMainVersionResult : public ServiceResult - { - public: - struct EmrMainVersion - { - struct ClusterTypeInfo - { - struct ServiceInfo - { - std::string serviceName; - std::string serviceDisplayVersion; - std::string serviceVersion; - std::string serviceDisplayName; - bool mandatory; - bool display; - }; - std::vector serviceInfoList; - std::string clusterType; - }; - struct ClusterTypeWhiteUser - { - std::string userId; - std::string clusterType; - }; - std::vector clusterTypeInfoList; - std::string imageId; - std::vector clusterTypeWhiteUserList; - bool ecmVersion; - std::vector whiteUserList; - std::string regionId; - std::string emrVersion; - std::string stackName; - std::string publishType; - bool display; - std::string stackVersion; - }; - - - DescribeEmrMainVersionResult(); - explicit DescribeEmrMainVersionResult(const std::string &payload); - ~DescribeEmrMainVersionResult(); - EmrMainVersion getEmrMainVersion()const; - - protected: - void parse(const std::string &payload); - private: - EmrMainVersion emrMainVersion_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeExecutionPlanRequest.h b/emr/include/alibabacloud/emr/model/DescribeExecutionPlanRequest.h deleted file mode 100644 index af486ade5..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeExecutionPlanRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEEXECUTIONPLANREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEEXECUTIONPLANREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeExecutionPlanRequest : public RpcServiceRequest - { - - public: - DescribeExecutionPlanRequest(); - ~DescribeExecutionPlanRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEEXECUTIONPLANREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeExecutionPlanResult.h b/emr/include/alibabacloud/emr/model/DescribeExecutionPlanResult.h deleted file mode 100644 index 31d060cdd..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeExecutionPlanResult.h +++ /dev/null @@ -1,154 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEEXECUTIONPLANRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEEXECUTIONPLANRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeExecutionPlanResult : public ServiceResult - { - public: - struct ClusterInfo - { - struct SoftwareInfo - { - struct Software - { - int startTpe; - bool optional; - std::string version; - std::string displayName; - bool onlyDisplay; - std::string name; - }; - std::vector softwares; - std::string emrVer; - std::string clusterType; - }; - struct EcsOrderInfo - { - std::string diskType; - int diskCount; - int diskCapacity; - int nodeCount; - std::string nodeType; - int index; - std::string instanceType; - }; - struct BootstrapAction - { - std::string path; - std::string arg; - std::string name; - }; - struct Config - { - std::string configValue; - std::string configKey; - std::string serviceName; - std::string fileName; - std::string encrypt; - }; - bool useLocalMetaDb; - bool ioOptimized; - std::string zoneId; - std::vector bootstrapActionList; - std::string securityGroupId; - std::string vSwitchId; - bool logEnable; - std::string emrVer; - std::string clusterType; - std::vector ecsOrders; - std::string name; - bool highAvailabilityEnable; - bool easEnable; - std::string vpcId; - bool useCustomHiveMetaDB; - std::string instanceGeneration; - std::string configurations; - std::string logPath; - std::string netType; - std::string userDefinedEmrEcsRole; - std::vector configList; - bool initCustomHiveMetaDB; - SoftwareInfo softwareInfo; - }; - struct JobInfo - { - std::string failAct; - std::string type; - std::string runParameter; - std::string id; - std::string name; - }; - - - DescribeExecutionPlanResult(); - explicit DescribeExecutionPlanResult(const std::string &payload); - ~DescribeExecutionPlanResult(); - std::string getStatus()const; - std::string getWorkflowApp()const; - std::string getDayOfWeek()const; - int getTimeInterval()const; - std::string getClusterId()const; - std::string getDayOfMonth()const; - long getStartTime()const; - long getExecutionPlanVersion()const; - std::string getName()const; - std::vector getJobInfoList()const; - ClusterInfo getClusterInfo()const; - std::string getStrategy()const; - std::string getTimeUnit()const; - std::string getClusterName()const; - std::string getId()const; - bool getCreateClusterOnDemand()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - std::string workflowApp_; - std::string dayOfWeek_; - int timeInterval_; - std::string clusterId_; - std::string dayOfMonth_; - long startTime_; - long executionPlanVersion_; - std::string name_; - std::vector jobInfoList_; - ClusterInfo clusterInfo_; - std::string strategy_; - std::string timeUnit_; - std::string clusterName_; - std::string id_; - bool createClusterOnDemand_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEEXECUTIONPLANRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeJobRequest.h b/emr/include/alibabacloud/emr/model/DescribeJobRequest.h deleted file mode 100644 index 853b46632..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeJobRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEJOBREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeJobRequest : public RpcServiceRequest - { - - public: - DescribeJobRequest(); - ~DescribeJobRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string resourceGroupId_; - std::string regionId_; - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEJOBREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeJobResult.h b/emr/include/alibabacloud/emr/model/DescribeJobResult.h deleted file mode 100644 index 9a621d240..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeJobResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEJOBRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeJobResult : public ServiceResult - { - public: - - - DescribeJobResult(); - explicit DescribeJobResult(const std::string &payload); - ~DescribeJobResult(); - std::string getFailAct()const; - std::string getType()const; - std::string getRunParameter()const; - std::string getId()const; - int getMaxRetry()const; - int getRetryInterval()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string failAct_; - std::string type_; - std::string runParameter_; - std::string id_; - int maxRetry_; - int retryInterval_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEJOBRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeLibraryDetailRequest.h b/emr/include/alibabacloud/emr/model/DescribeLibraryDetailRequest.h deleted file mode 100644 index ce588f799..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeLibraryDetailRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeLibraryDetailRequest : public RpcServiceRequest - { - - public: - DescribeLibraryDetailRequest(); - ~DescribeLibraryDetailRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getLibraryBizId()const; - void setLibraryBizId(const std::string& libraryBizId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string libraryBizId_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeLibraryDetailResult.h b/emr/include/alibabacloud/emr/model/DescribeLibraryDetailResult.h deleted file mode 100644 index 22d3bf533..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeLibraryDetailResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeLibraryDetailResult : public ServiceResult - { - public: - - - DescribeLibraryDetailResult(); - explicit DescribeLibraryDetailResult(const std::string &payload); - ~DescribeLibraryDetailResult(); - std::string getSourceLocation()const; - std::string getType()const; - std::string getScope()const; - std::string getUserId()const; - long getCreateTime()const; - std::string getSourceType()const; - std::string getLibraryVersion()const; - std::string getProperties()const; - std::string getBizId()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string sourceLocation_; - std::string type_; - std::string scope_; - std::string userId_; - long createTime_; - std::string sourceType_; - std::string libraryVersion_; - std::string properties_; - std::string bizId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailRequest.h b/emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailRequest.h deleted file mode 100644 index 9e31af737..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeLibraryInstallTaskDetailRequest : public RpcServiceRequest - { - - public: - DescribeLibraryInstallTaskDetailRequest(); - ~DescribeLibraryInstallTaskDetailRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTaskBizId()const; - void setTaskBizId(const std::string& taskBizId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string taskBizId_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailResult.h b/emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailResult.h deleted file mode 100644 index efcf47517..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailResult.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeLibraryInstallTaskDetailResult : public ServiceResult - { - public: - - - DescribeLibraryInstallTaskDetailResult(); - explicit DescribeLibraryInstallTaskDetailResult(const std::string &payload); - ~DescribeLibraryInstallTaskDetailResult(); - std::string getTaskId()const; - std::string getLibraryBizId()const; - long getEndTime()const; - std::string getTaskGroupId()const; - long getExecuteTime()const; - int getTaskProcess()const; - std::string getClusterBizId()const; - std::string getTaskType()const; - long getStartTime()const; - std::string getHostname()const; - std::string getTaskStatus()const; - std::string getDetail()const; - - protected: - void parse(const std::string &payload); - private: - std::string taskId_; - std::string libraryBizId_; - long endTime_; - std::string taskGroupId_; - long executeTime_; - int taskProcess_; - std::string clusterBizId_; - std::string taskType_; - long startTime_; - std::string hostname_; - std::string taskStatus_; - std::string detail_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskRequest.h b/emr/include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskRequest.h deleted file mode 100644 index 41c4b2296..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEMETATABLEPREVIEWTASKREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEMETATABLEPREVIEWTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeMetaTablePreviewTaskRequest : public RpcServiceRequest - { - - public: - DescribeMetaTablePreviewTaskRequest(); - ~DescribeMetaTablePreviewTaskRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getTaskId()const; - void setTaskId(const std::string& taskId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string resourceGroupId_; - std::string regionId_; - std::string taskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEMETATABLEPREVIEWTASKREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskResult.h b/emr/include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskResult.h deleted file mode 100644 index a8dc81a0d..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEMETATABLEPREVIEWTASKRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEMETATABLEPREVIEWTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeMetaTablePreviewTaskResult : public ServiceResult - { - public: - struct Data - { - struct Row - { - std::vector columns; - }; - std::vector headers; - std::vector rows; - }; - - - DescribeMetaTablePreviewTaskResult(); - explicit DescribeMetaTablePreviewTaskResult(const std::string &payload); - ~DescribeMetaTablePreviewTaskResult(); - std::string getTaskId()const; - long getEndTime()const; - long getExecuteTime()const; - int getTaskProcess()const; - long getStartTime()const; - Data getData()const; - std::string getTaskStatus()const; - - protected: - void parse(const std::string &payload); - private: - std::string taskId_; - long endTime_; - long executeTime_; - int taskProcess_; - long startTime_; - Data data_; - std::string taskStatus_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEMETATABLEPREVIEWTASKRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeScalingActivityRequest.h b/emr/include/alibabacloud/emr/model/DescribeScalingActivityRequest.h deleted file mode 100644 index 6b9189c57..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeScalingActivityRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGACTIVITYREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGACTIVITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeScalingActivityRequest : public RpcServiceRequest - { - - public: - DescribeScalingActivityRequest(); - ~DescribeScalingActivityRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getScalingActivityId()const; - void setScalingActivityId(const std::string& scalingActivityId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHostGroupId()const; - void setHostGroupId(const std::string& hostGroupId); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string scalingActivityId_; - std::string accessKeyId_; - std::string regionId_; - std::string hostGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGACTIVITYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeScalingActivityResult.h b/emr/include/alibabacloud/emr/model/DescribeScalingActivityResult.h deleted file mode 100644 index 484e6a505..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeScalingActivityResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGACTIVITYRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGACTIVITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeScalingActivityResult : public ServiceResult - { - public: - - - DescribeScalingActivityResult(); - explicit DescribeScalingActivityResult(const std::string &payload); - ~DescribeScalingActivityResult(); - std::string getStatus()const; - std::string getDescription()const; - long getEndTime()const; - int getExpectNum()const; - std::string getCause()const; - long getStartTime()const; - std::string getTransition()const; - std::string getScalingRuleId()const; - int getTotalCapacity()const; - std::string getInstanceIds()const; - std::string getBizId()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - std::string description_; - long endTime_; - int expectNum_; - std::string cause_; - long startTime_; - std::string transition_; - std::string scalingRuleId_; - int totalCapacity_; - std::string instanceIds_; - std::string bizId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGACTIVITYRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeScalingRuleRequest.h b/emr/include/alibabacloud/emr/model/DescribeScalingRuleRequest.h deleted file mode 100644 index e2f3590bd..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeScalingRuleRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGRULEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeScalingRuleRequest : public RpcServiceRequest - { - - public: - DescribeScalingRuleRequest(); - ~DescribeScalingRuleRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getScalingRuleId()const; - void setScalingRuleId(const std::string& scalingRuleId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHostGroupId()const; - void setHostGroupId(const std::string& hostGroupId); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string scalingRuleId_; - std::string accessKeyId_; - std::string regionId_; - std::string hostGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGRULEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeScalingRuleResult.h b/emr/include/alibabacloud/emr/model/DescribeScalingRuleResult.h deleted file mode 100644 index 64d6a660d..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeScalingRuleResult.h +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGRULERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeScalingRuleResult : public ServiceResult - { - public: - struct SchedulerTrigger - { - long launchTime; - std::string recurrenceType; - std::string recurrenceValue; - long recurrenceEndTime; - int launchExpirationTime; - }; - struct CloudWatchTrigger - { - std::string metricName; - std::string comparisonOperator; - std::string metricDisplayName; - int period; - std::string evaluationCount; - std::string unit; - std::string statistics; - std::string threshold; - }; - - - DescribeScalingRuleResult(); - explicit DescribeScalingRuleResult(const std::string &payload); - ~DescribeScalingRuleResult(); - std::string getStatus()const; - long getTimeoutWithGrace()const; - CloudWatchTrigger getCloudWatchTrigger()const; - int getCooldown()const; - std::string getGmtModified()const; - std::string getAdjustmentType()const; - std::string getGmtCreate()const; - int getAdjustmentValue()const; - SchedulerTrigger getSchedulerTrigger()const; - bool getWithGrace()const; - std::string getId()const; - std::string getRuleName()const; - std::string getRuleCategory()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - long timeoutWithGrace_; - CloudWatchTrigger cloudWatchTrigger_; - int cooldown_; - std::string gmtModified_; - std::string adjustmentType_; - std::string gmtCreate_; - int adjustmentValue_; - SchedulerTrigger schedulerTrigger_; - bool withGrace_; - std::string id_; - std::string ruleName_; - std::string ruleCategory_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGRULERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeSecurityGroupAttributeRequest.h b/emr/include/alibabacloud/emr/model/DescribeSecurityGroupAttributeRequest.h deleted file mode 100644 index 5ebb96ea5..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeSecurityGroupAttributeRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBESECURITYGROUPATTRIBUTEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBESECURITYGROUPATTRIBUTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeSecurityGroupAttributeRequest : public RpcServiceRequest - { - - public: - DescribeSecurityGroupAttributeRequest(); - ~DescribeSecurityGroupAttributeRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string accessKeyId_; - std::string resourceGroupId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESECURITYGROUPATTRIBUTEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeSecurityGroupAttributeResult.h b/emr/include/alibabacloud/emr/model/DescribeSecurityGroupAttributeResult.h deleted file mode 100644 index afa2dfdaa..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeSecurityGroupAttributeResult.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBESECURITYGROUPATTRIBUTERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBESECURITYGROUPATTRIBUTERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeSecurityGroupAttributeResult : public ServiceResult - { - public: - struct SecurityGroup - { - int ecsCount; - std::string description; - std::string securityGroupName; - std::string vpcId; - std::string securityGroupId; - std::string creationTime; - int availableInstanceAmount; - }; - struct SecurityGroupAttribute - { - std::string bizContent; - std::string bizType; - }; - - - DescribeSecurityGroupAttributeResult(); - explicit DescribeSecurityGroupAttributeResult(const std::string &payload); - ~DescribeSecurityGroupAttributeResult(); - std::vector getAvailableGroupList()const; - std::vector getSecurityGroupAttributeList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector availableGroupList_; - std::vector securityGroupAttributeList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESECURITYGROUPATTRIBUTERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniRequest.h b/emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniRequest.h deleted file mode 100644 index e33a535eb..000000000 --- a/emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DETACHANDRELEASECLUSTERENIREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DETACHANDRELEASECLUSTERENIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DetachAndReleaseClusterEniRequest : public RpcServiceRequest - { - - public: - DetachAndReleaseClusterEniRequest(); - ~DetachAndReleaseClusterEniRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTargetClusterId()const; - void setTargetClusterId(const std::string& targetClusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getVswitchId()const; - void setVswitchId(const std::string& vswitchId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string targetClusterId_; - std::string accessKeyId_; - std::string vswitchId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DETACHANDRELEASECLUSTERENIREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniResult.h b/emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniResult.h deleted file mode 100644 index eb5a8150b..000000000 --- a/emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DETACHANDRELEASECLUSTERENIRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DETACHANDRELEASECLUSTERENIRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DetachAndReleaseClusterEniResult : public ServiceResult - { - public: - - - DetachAndReleaseClusterEniResult(); - explicit DetachAndReleaseClusterEniResult(const std::string &payload); - ~DetachAndReleaseClusterEniResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DETACHANDRELEASECLUSTERENIRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoRequest.h b/emr/include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoRequest.h deleted file mode 100644 index aec7588f4..000000000 --- a/emr/include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETHDFSCAPACITYSTATISTICINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETHDFSCAPACITYSTATISTICINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetHdfsCapacityStatisticInfoRequest : public RpcServiceRequest - { - - public: - GetHdfsCapacityStatisticInfoRequest(); - ~GetHdfsCapacityStatisticInfoRequest(); - - std::string getFromDatetime()const; - void setFromDatetime(const std::string& fromDatetime); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getToDatetime()const; - void setToDatetime(const std::string& toDatetime); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::string fromDatetime_; - long resourceOwnerId_; - std::string clusterId_; - std::string toDatetime_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETHDFSCAPACITYSTATISTICINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoResult.h b/emr/include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoResult.h deleted file mode 100644 index b96136c8d..000000000 --- a/emr/include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETHDFSCAPACITYSTATISTICINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETHDFSCAPACITYSTATISTICINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetHdfsCapacityStatisticInfoResult : public ServiceResult - { - public: - struct ClusterStatHdfsCapacity - { - long capacityRemaining; - long capacityUsedGB; - long capacityUsedNonDfs; - long capacityTotal; - std::string clusterBizId; - long capacityTotalGB; - long capacityUsed; - long capacityRemainingGB; - std::string dateTime; - }; - - - GetHdfsCapacityStatisticInfoResult(); - explicit GetHdfsCapacityStatisticInfoResult(const std::string &payload); - ~GetHdfsCapacityStatisticInfoResult(); - std::vector getHdfsCapacityList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector hdfsCapacityList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETHDFSCAPACITYSTATISTICINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetJobInputStatisticInfoRequest.h b/emr/include/alibabacloud/emr/model/GetJobInputStatisticInfoRequest.h deleted file mode 100644 index 634a84161..000000000 --- a/emr/include/alibabacloud/emr/model/GetJobInputStatisticInfoRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETJOBINPUTSTATISTICINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETJOBINPUTSTATISTICINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetJobInputStatisticInfoRequest : public RpcServiceRequest - { - - public: - GetJobInputStatisticInfoRequest(); - ~GetJobInputStatisticInfoRequest(); - - std::string getFromDatetime()const; - void setFromDatetime(const std::string& fromDatetime); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getToDatetime()const; - void setToDatetime(const std::string& toDatetime); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string fromDatetime_; - long resourceOwnerId_; - std::string clusterId_; - std::string toDatetime_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETJOBINPUTSTATISTICINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetJobInputStatisticInfoResult.h b/emr/include/alibabacloud/emr/model/GetJobInputStatisticInfoResult.h deleted file mode 100644 index 313157a06..000000000 --- a/emr/include/alibabacloud/emr/model/GetJobInputStatisticInfoResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETJOBINPUTSTATISTICINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETJOBINPUTSTATISTICINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetJobInputStatisticInfoResult : public ServiceResult - { - public: - struct ClusterStatJobInput - { - std::string user; - long finishTime; - long bytesInput; - std::string state; - long startTime; - std::string applicationId; - std::string queue; - std::string jobId; - std::string name; - }; - - - GetJobInputStatisticInfoResult(); - explicit GetJobInputStatisticInfoResult(const std::string &payload); - ~GetJobInputStatisticInfoResult(); - int getPageSize()const; - int getPageNumber()const; - std::vector getJobInputList()const; - int getTotal()const; - - protected: - void parse(const std::string &payload); - private: - int pageSize_; - int pageNumber_; - std::vector jobInputList_; - int total_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETJOBINPUTSTATISTICINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetJobOutputStatisticInfoRequest.h b/emr/include/alibabacloud/emr/model/GetJobOutputStatisticInfoRequest.h deleted file mode 100644 index 7e7d79d25..000000000 --- a/emr/include/alibabacloud/emr/model/GetJobOutputStatisticInfoRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETJOBOUTPUTSTATISTICINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETJOBOUTPUTSTATISTICINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetJobOutputStatisticInfoRequest : public RpcServiceRequest - { - - public: - GetJobOutputStatisticInfoRequest(); - ~GetJobOutputStatisticInfoRequest(); - - std::string getFromDatetime()const; - void setFromDatetime(const std::string& fromDatetime); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getToDatetime()const; - void setToDatetime(const std::string& toDatetime); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string fromDatetime_; - long resourceOwnerId_; - std::string clusterId_; - std::string toDatetime_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETJOBOUTPUTSTATISTICINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetJobOutputStatisticInfoResult.h b/emr/include/alibabacloud/emr/model/GetJobOutputStatisticInfoResult.h deleted file mode 100644 index 9b2f47b0f..000000000 --- a/emr/include/alibabacloud/emr/model/GetJobOutputStatisticInfoResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETJOBOUTPUTSTATISTICINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETJOBOUTPUTSTATISTICINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetJobOutputStatisticInfoResult : public ServiceResult - { - public: - struct ClusterStatJobOutput - { - std::string user; - long finishTime; - long bytesOutput; - std::string state; - long startTime; - std::string applicationId; - std::string queue; - std::string jobId; - std::string name; - }; - - - GetJobOutputStatisticInfoResult(); - explicit GetJobOutputStatisticInfoResult(const std::string &payload); - ~GetJobOutputStatisticInfoResult(); - int getPageSize()const; - int getPageNumber()const; - int getTotal()const; - std::vector getJobOutputList()const; - - protected: - void parse(const std::string &payload); - private: - int pageSize_; - int pageNumber_; - int total_; - std::vector jobOutputList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETJOBOUTPUTSTATISTICINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoRequest.h b/emr/include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoRequest.h deleted file mode 100644 index e29bd1942..000000000 --- a/emr/include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETJOBRUNNINGTIMESTATISTICINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETJOBRUNNINGTIMESTATISTICINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetJobRunningTimeStatisticInfoRequest : public RpcServiceRequest - { - - public: - GetJobRunningTimeStatisticInfoRequest(); - ~GetJobRunningTimeStatisticInfoRequest(); - - std::string getFromDatetime()const; - void setFromDatetime(const std::string& fromDatetime); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getToDatetime()const; - void setToDatetime(const std::string& toDatetime); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string fromDatetime_; - long resourceOwnerId_; - std::string clusterId_; - std::string toDatetime_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETJOBRUNNINGTIMESTATISTICINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoResult.h b/emr/include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoResult.h deleted file mode 100644 index fd4c925aa..000000000 --- a/emr/include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETJOBRUNNINGTIMESTATISTICINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETJOBRUNNINGTIMESTATISTICINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetJobRunningTimeStatisticInfoResult : public ServiceResult - { - public: - struct ClusterStatJobRunningTime - { - std::string user; - long finishTime; - std::string state; - long startTime; - std::string applicationId; - std::string queue; - long runningTime; - std::string jobId; - std::string name; - }; - - - GetJobRunningTimeStatisticInfoResult(); - explicit GetJobRunningTimeStatisticInfoResult(const std::string &payload); - ~GetJobRunningTimeStatisticInfoResult(); - int getPageSize()const; - int getPageNumber()const; - int getTotal()const; - std::vector getRunningTimeList()const; - - protected: - void parse(const std::string &payload); - private: - int pageSize_; - int pageNumber_; - int total_; - std::vector runningTimeList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETJOBRUNNINGTIMESTATISTICINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetQueueInputStatisticInfoRequest.h b/emr/include/alibabacloud/emr/model/GetQueueInputStatisticInfoRequest.h deleted file mode 100644 index 2366b335d..000000000 --- a/emr/include/alibabacloud/emr/model/GetQueueInputStatisticInfoRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETQUEUEINPUTSTATISTICINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETQUEUEINPUTSTATISTICINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetQueueInputStatisticInfoRequest : public RpcServiceRequest - { - - public: - GetQueueInputStatisticInfoRequest(); - ~GetQueueInputStatisticInfoRequest(); - - std::string getFromDatetime()const; - void setFromDatetime(const std::string& fromDatetime); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getToDatetime()const; - void setToDatetime(const std::string& toDatetime); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::string fromDatetime_; - long resourceOwnerId_; - std::string clusterId_; - std::string toDatetime_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETQUEUEINPUTSTATISTICINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetQueueInputStatisticInfoResult.h b/emr/include/alibabacloud/emr/model/GetQueueInputStatisticInfoResult.h deleted file mode 100644 index 6237ed85a..000000000 --- a/emr/include/alibabacloud/emr/model/GetQueueInputStatisticInfoResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETQUEUEINPUTSTATISTICINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETQUEUEINPUTSTATISTICINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetQueueInputStatisticInfoResult : public ServiceResult - { - public: - struct ClusterStatQueueInput - { - long bytesInput; - std::string queue; - }; - - - GetQueueInputStatisticInfoResult(); - explicit GetQueueInputStatisticInfoResult(const std::string &payload); - ~GetQueueInputStatisticInfoResult(); - std::vector getQueueInputList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector queueInputList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETQUEUEINPUTSTATISTICINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetQueueOutputStatisticInfoRequest.h b/emr/include/alibabacloud/emr/model/GetQueueOutputStatisticInfoRequest.h deleted file mode 100644 index f0af4c660..000000000 --- a/emr/include/alibabacloud/emr/model/GetQueueOutputStatisticInfoRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETQUEUEOUTPUTSTATISTICINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETQUEUEOUTPUTSTATISTICINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetQueueOutputStatisticInfoRequest : public RpcServiceRequest - { - - public: - GetQueueOutputStatisticInfoRequest(); - ~GetQueueOutputStatisticInfoRequest(); - - std::string getFromDatetime()const; - void setFromDatetime(const std::string& fromDatetime); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getToDatetime()const; - void setToDatetime(const std::string& toDatetime); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::string fromDatetime_; - long resourceOwnerId_; - std::string clusterId_; - std::string toDatetime_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETQUEUEOUTPUTSTATISTICINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetQueueOutputStatisticInfoResult.h b/emr/include/alibabacloud/emr/model/GetQueueOutputStatisticInfoResult.h deleted file mode 100644 index 5c62e0db2..000000000 --- a/emr/include/alibabacloud/emr/model/GetQueueOutputStatisticInfoResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETQUEUEOUTPUTSTATISTICINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETQUEUEOUTPUTSTATISTICINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetQueueOutputStatisticInfoResult : public ServiceResult - { - public: - struct ClusterStatQueueOutput - { - long bytesOutput; - std::string queue; - }; - - - GetQueueOutputStatisticInfoResult(); - explicit GetQueueOutputStatisticInfoResult(const std::string &payload); - ~GetQueueOutputStatisticInfoResult(); - std::vector getQueueOutputList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector queueOutputList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETQUEUEOUTPUTSTATISTICINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoRequest.h b/emr/include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoRequest.h deleted file mode 100644 index 36d07a473..000000000 --- a/emr/include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETQUEUESUBMISSIONSTATISTICINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETQUEUESUBMISSIONSTATISTICINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetQueueSubmissionStatisticInfoRequest : public RpcServiceRequest - { - - public: - GetQueueSubmissionStatisticInfoRequest(); - ~GetQueueSubmissionStatisticInfoRequest(); - - std::string getFromDatetime()const; - void setFromDatetime(const std::string& fromDatetime); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getToDatetime()const; - void setToDatetime(const std::string& toDatetime); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getFinalStatus()const; - void setFinalStatus(const std::string& finalStatus); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getApplicationType()const; - void setApplicationType(const std::string& applicationType); - - private: - std::string fromDatetime_; - long resourceOwnerId_; - std::string clusterId_; - std::string toDatetime_; - std::string accessKeyId_; - std::string finalStatus_; - std::string regionId_; - std::string applicationType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETQUEUESUBMISSIONSTATISTICINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoResult.h b/emr/include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoResult.h deleted file mode 100644 index 7501b65b8..000000000 --- a/emr/include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETQUEUESUBMISSIONSTATISTICINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETQUEUESUBMISSIONSTATISTICINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetQueueSubmissionStatisticInfoResult : public ServiceResult - { - public: - struct ClusterStatQueueSubmission - { - long submission; - std::string queue; - }; - - - GetQueueSubmissionStatisticInfoResult(); - explicit GetQueueSubmissionStatisticInfoResult(const std::string &payload); - ~GetQueueSubmissionStatisticInfoResult(); - std::vector getQueueSubmissionList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector queueSubmissionList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETQUEUESUBMISSIONSTATISTICINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetUserInputStatisticInfoRequest.h b/emr/include/alibabacloud/emr/model/GetUserInputStatisticInfoRequest.h deleted file mode 100644 index b7b5a53c7..000000000 --- a/emr/include/alibabacloud/emr/model/GetUserInputStatisticInfoRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETUSERINPUTSTATISTICINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETUSERINPUTSTATISTICINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetUserInputStatisticInfoRequest : public RpcServiceRequest - { - - public: - GetUserInputStatisticInfoRequest(); - ~GetUserInputStatisticInfoRequest(); - - std::string getFromDatetime()const; - void setFromDatetime(const std::string& fromDatetime); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getToDatetime()const; - void setToDatetime(const std::string& toDatetime); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::string fromDatetime_; - long resourceOwnerId_; - std::string clusterId_; - std::string toDatetime_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETUSERINPUTSTATISTICINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetUserInputStatisticInfoResult.h b/emr/include/alibabacloud/emr/model/GetUserInputStatisticInfoResult.h deleted file mode 100644 index 0874b7b6f..000000000 --- a/emr/include/alibabacloud/emr/model/GetUserInputStatisticInfoResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETUSERINPUTSTATISTICINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETUSERINPUTSTATISTICINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetUserInputStatisticInfoResult : public ServiceResult - { - public: - struct ClusterStatUserInput - { - std::string user; - long bytesInput; - }; - - - GetUserInputStatisticInfoResult(); - explicit GetUserInputStatisticInfoResult(const std::string &payload); - ~GetUserInputStatisticInfoResult(); - std::vector getUserInputList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector userInputList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETUSERINPUTSTATISTICINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetUserOutputStatisticInfoRequest.h b/emr/include/alibabacloud/emr/model/GetUserOutputStatisticInfoRequest.h deleted file mode 100644 index 1ba0a3e76..000000000 --- a/emr/include/alibabacloud/emr/model/GetUserOutputStatisticInfoRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETUSEROUTPUTSTATISTICINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETUSEROUTPUTSTATISTICINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetUserOutputStatisticInfoRequest : public RpcServiceRequest - { - - public: - GetUserOutputStatisticInfoRequest(); - ~GetUserOutputStatisticInfoRequest(); - - std::string getFromDatetime()const; - void setFromDatetime(const std::string& fromDatetime); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getToDatetime()const; - void setToDatetime(const std::string& toDatetime); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::string fromDatetime_; - long resourceOwnerId_; - std::string clusterId_; - std::string toDatetime_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETUSEROUTPUTSTATISTICINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetUserOutputStatisticInfoResult.h b/emr/include/alibabacloud/emr/model/GetUserOutputStatisticInfoResult.h deleted file mode 100644 index 52ad5fcec..000000000 --- a/emr/include/alibabacloud/emr/model/GetUserOutputStatisticInfoResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETUSEROUTPUTSTATISTICINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETUSEROUTPUTSTATISTICINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetUserOutputStatisticInfoResult : public ServiceResult - { - public: - struct ClusterStatUserOutput - { - std::string user; - long bytesOutput; - }; - - - GetUserOutputStatisticInfoResult(); - explicit GetUserOutputStatisticInfoResult(const std::string &payload); - ~GetUserOutputStatisticInfoResult(); - std::vector getUserOutputList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector userOutputList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETUSEROUTPUTSTATISTICINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoRequest.h b/emr/include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoRequest.h deleted file mode 100644 index 7c2d58f37..000000000 --- a/emr/include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETUSERSUBMISSIONSTATISTICINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETUSERSUBMISSIONSTATISTICINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetUserSubmissionStatisticInfoRequest : public RpcServiceRequest - { - - public: - GetUserSubmissionStatisticInfoRequest(); - ~GetUserSubmissionStatisticInfoRequest(); - - std::string getFromDatetime()const; - void setFromDatetime(const std::string& fromDatetime); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getToDatetime()const; - void setToDatetime(const std::string& toDatetime); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getFinalStatus()const; - void setFinalStatus(const std::string& finalStatus); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getApplicationType()const; - void setApplicationType(const std::string& applicationType); - - private: - std::string fromDatetime_; - long resourceOwnerId_; - std::string clusterId_; - std::string toDatetime_; - std::string accessKeyId_; - std::string finalStatus_; - std::string regionId_; - std::string applicationType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETUSERSUBMISSIONSTATISTICINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoResult.h b/emr/include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoResult.h deleted file mode 100644 index 27511ded1..000000000 --- a/emr/include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETUSERSUBMISSIONSTATISTICINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETUSERSUBMISSIONSTATISTICINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetUserSubmissionStatisticInfoResult : public ServiceResult - { - public: - struct ClusterStatUserSubmission - { - std::string user; - long submission; - }; - - - GetUserSubmissionStatisticInfoResult(); - explicit GetUserSubmissionStatisticInfoResult(const std::string &payload); - ~GetUserSubmissionStatisticInfoResult(); - std::vector getUserSubmissionList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector userSubmissionList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETUSERSUBMISSIONSTATISTICINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/InstallLibrariesRequest.h b/emr/include/alibabacloud/emr/model/InstallLibrariesRequest.h deleted file mode 100644 index 85ff5d7ad..000000000 --- a/emr/include/alibabacloud/emr/model/InstallLibrariesRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_INSTALLLIBRARIESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_INSTALLLIBRARIESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT InstallLibrariesRequest : public RpcServiceRequest - { - - public: - InstallLibrariesRequest(); - ~InstallLibrariesRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getLibraryBizId()const; - void setLibraryBizId(const std::string& libraryBizId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getClusterBizIdList()const; - void setClusterBizIdList(const std::vector& clusterBizIdList); - - private: - long resourceOwnerId_; - std::string libraryBizId_; - std::string accessKeyId_; - std::string regionId_; - std::vector clusterBizIdList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_INSTALLLIBRARIESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/InstallLibrariesResult.h b/emr/include/alibabacloud/emr/model/InstallLibrariesResult.h deleted file mode 100644 index 797a4d341..000000000 --- a/emr/include/alibabacloud/emr/model/InstallLibrariesResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_INSTALLLIBRARIESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_INSTALLLIBRARIESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT InstallLibrariesResult : public ServiceResult - { - public: - - - InstallLibrariesResult(); - explicit InstallLibrariesResult(const std::string &payload); - ~InstallLibrariesResult(); - std::string getData()const; - - protected: - void parse(const std::string &payload); - private: - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_INSTALLLIBRARIESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListAdviceActionRequest.h b/emr/include/alibabacloud/emr/model/ListAdviceActionRequest.h deleted file mode 100644 index f5a21f931..000000000 --- a/emr/include/alibabacloud/emr/model/ListAdviceActionRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTADVICEACTIONREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTADVICEACTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListAdviceActionRequest : public RpcServiceRequest - { - - public: - ListAdviceActionRequest(); - ~ListAdviceActionRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - 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); - std::string getComponent()const; - void setComponent(const std::string& component); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); - - private: - long resourceOwnerId_; - std::string clusterId_; - int pageNumber_; - std::string accessKeyId_; - std::string component_; - std::string regionId_; - int pageSize_; - std::string serviceName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTADVICEACTIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListAdviceActionResult.h b/emr/include/alibabacloud/emr/model/ListAdviceActionResult.h deleted file mode 100644 index b00e1bcf5..000000000 --- a/emr/include/alibabacloud/emr/model/ListAdviceActionResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTADVICEACTIONRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTADVICEACTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListAdviceActionResult : public ServiceResult - { - public: - struct Item - { - long gmtCreate; - std::string configName; - std::string actionType; - std::string configItemKey; - std::string command; - std::string clusterId; - std::string serviceName; - long gmtModified; - std::string component; - std::string hostgroupName; - }; - - - ListAdviceActionResult(); - explicit ListAdviceActionResult(const std::string &payload); - ~ListAdviceActionResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector items_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTADVICEACTIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListBackupsRequest.h b/emr/include/alibabacloud/emr/model/ListBackupsRequest.h deleted file mode 100644 index 65f9a702c..000000000 --- a/emr/include/alibabacloud/emr/model/ListBackupsRequest.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTBACKUPSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTBACKUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListBackupsRequest : public RpcServiceRequest - { - - public: - ListBackupsRequest(); - ~ListBackupsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getPageCount()const; - void setPageCount(int pageCount); - std::string getOrderMode()const; - void setOrderMode(const std::string& orderMode); - std::string getBackupPlanId()const; - void setBackupPlanId(const std::string& backupPlanId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getLimit()const; - void setLimit(int limit); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); - long getId()const; - void setId(long id); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::vector getBackupId()const; - void setBackupId(const std::vector& backupId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getMetadataType()const; - void setMetadataType(const std::string& metadataType); - std::string getBizId()const; - void setBizId(const std::string& bizId); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - long resourceOwnerId_; - int pageCount_; - std::string orderMode_; - std::string backupPlanId_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int limit_; - int pageSize_; - std::string serviceName_; - long id_; - int currentSize_; - std::vector backupId_; - std::string clusterId_; - std::string metadataType_; - std::string bizId_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTBACKUPSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListBackupsResult.h b/emr/include/alibabacloud/emr/model/ListBackupsResult.h deleted file mode 100644 index ba78f1bdd..000000000 --- a/emr/include/alibabacloud/emr/model/ListBackupsResult.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTBACKUPSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTBACKUPSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListBackupsResult : public ServiceResult - { - public: - struct Item - { - struct MetadataInfo - { - std::string metadataType; - std::string properties; - }; - std::string status; - MetadataInfo metadataInfo; - std::string tarFileName; - std::string clusterId; - long createTime; - std::string backupPlanId; - std::string id; - std::string md5; - std::string storePath; - }; - - - ListBackupsResult(); - explicit ListBackupsResult(const std::string &payload); - ~ListBackupsResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector items_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTBACKUPSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListDataSourceRequest.h b/emr/include/alibabacloud/emr/model/ListDataSourceRequest.h deleted file mode 100644 index bfacd7eda..000000000 --- a/emr/include/alibabacloud/emr/model/ListDataSourceRequest.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTDATASOURCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTDATASOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListDataSourceRequest : public RpcServiceRequest - { - - public: - ListDataSourceRequest(); - ~ListDataSourceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getCreateFrom()const; - void setCreateFrom(const std::string& createFrom); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getName()const; - void setName(const std::string& name); - std::string getSourceType()const; - void setSourceType(const std::string& sourceType); - std::string getId()const; - void setId(const std::string& id); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - - private: - long resourceOwnerId_; - std::string createFrom_; - int pageNumber_; - std::string accessKeyId_; - std::string resourceGroupId_; - std::string regionId_; - int pageSize_; - std::string name_; - std::string sourceType_; - std::string id_; - std::string projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTDATASOURCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListDataSourceResult.h b/emr/include/alibabacloud/emr/model/ListDataSourceResult.h deleted file mode 100644 index f0724d665..000000000 --- a/emr/include/alibabacloud/emr/model/ListDataSourceResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTDATASOURCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTDATASOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListDataSourceResult : public ServiceResult - { - public: - struct DataSource - { - std::string status; - long gmtCreate; - std::string description; - std::string conf; - std::string clusterId; - std::string sourceType; - long gmtModified; - std::string id; - std::string creator; - std::string modifier; - std::string createFrom; - std::string name; - }; - - - ListDataSourceResult(); - explicit ListDataSourceResult(const std::string &payload); - ~ListDataSourceResult(); - int getPageSize()const; - int getPageNumber()const; - std::vector getDataSourceList()const; - int getTotal()const; - - protected: - void parse(const std::string &payload); - private: - int pageSize_; - int pageNumber_; - std::vector dataSourceList_; - int total_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTDATASOURCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListDiskOpsEventsRequest.h b/emr/include/alibabacloud/emr/model/ListDiskOpsEventsRequest.h deleted file mode 100644 index 0c980ae67..000000000 --- a/emr/include/alibabacloud/emr/model/ListDiskOpsEventsRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListDiskOpsEventsRequest : public RpcServiceRequest - { - - public: - ListDiskOpsEventsRequest(); - ~ListDiskOpsEventsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - long getEndTime()const; - void setEndTime(long endTime); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - long getStartTime()const; - void setStartTime(long startTime); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - long resourceOwnerId_; - long endTime_; - std::string clusterId_; - long startTime_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListDiskOpsEventsResult.h b/emr/include/alibabacloud/emr/model/ListDiskOpsEventsResult.h deleted file mode 100644 index c576f71d8..000000000 --- a/emr/include/alibabacloud/emr/model/ListDiskOpsEventsResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListDiskOpsEventsResult : public ServiceResult - { - public: - struct DiskOpsEventInfo - { - std::string instanceId; - std::string eventType; - std::string diskMountPoint; - std::string instanceName; - std::string privateIp; - std::string currentActivityState; - std::string userId; - std::string clusterBizId; - std::string instanceStatus; - std::string diskDevice; - long eventTriggerTime; - std::string currentActivity; - std::string clusterName; - std::string eventId; - std::string regionId; - std::string diskId; - }; - - - ListDiskOpsEventsResult(); - explicit ListDiskOpsEventsResult(const std::string &payload); - ~ListDiskOpsEventsResult(); - int getTotalCount()const; - int getPageSize()const; - std::vector getEventList()const; - int getPageNumber()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - std::vector eventList_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListExecutionPlanInstancesRequest.h b/emr/include/alibabacloud/emr/model/ListExecutionPlanInstancesRequest.h deleted file mode 100644 index 835ee1988..000000000 --- a/emr/include/alibabacloud/emr/model/ListExecutionPlanInstancesRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANINSTANCESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListExecutionPlanInstancesRequest : public RpcServiceRequest - { - - public: - ListExecutionPlanInstancesRequest(); - ~ListExecutionPlanInstancesRequest(); - - bool getOnlyLastInstance()const; - void setOnlyLastInstance(bool onlyLastInstance); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::vector getExecutionPlanIdList()const; - void setExecutionPlanIdList(const std::vector& executionPlanIdList); - std::vector getStatusList()const; - void setStatusList(const std::vector& statusList); - bool getIsDesc()const; - void setIsDesc(bool isDesc); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - bool onlyLastInstance_; - long resourceOwnerId_; - std::vector executionPlanIdList_; - std::vector statusList_; - bool isDesc_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListExecutionPlanInstancesResult.h b/emr/include/alibabacloud/emr/model/ListExecutionPlanInstancesResult.h deleted file mode 100644 index 55e096afb..000000000 --- a/emr/include/alibabacloud/emr/model/ListExecutionPlanInstancesResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANINSTANCESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANINSTANCESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListExecutionPlanInstancesResult : public ServiceResult - { - public: - struct ExecutionPlanInstance - { - std::string status; - std::string workflowApp; - int runTime; - std::string clusterId; - std::string executionPlanName; - long startTime; - bool logEnable; - std::string clusterName; - std::string id; - std::string clusterType; - std::string executionPlanId; - std::string logPath; - }; - - - ListExecutionPlanInstancesResult(); - explicit ListExecutionPlanInstancesResult(const std::string &payload); - ~ListExecutionPlanInstancesResult(); - std::vector getExecutionPlanInstances()const; - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - - protected: - void parse(const std::string &payload); - private: - std::vector executionPlanInstances_; - int totalCount_; - int pageSize_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANINSTANCESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobExecutionInstancesRequest.h b/emr/include/alibabacloud/emr/model/ListJobExecutionInstancesRequest.h deleted file mode 100644 index 1cfc10a4e..000000000 --- a/emr/include/alibabacloud/emr/model/ListJobExecutionInstancesRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONINSTANCESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListJobExecutionInstancesRequest : public RpcServiceRequest - { - - public: - ListJobExecutionInstancesRequest(); - ~ListJobExecutionInstancesRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - bool getIsDesc()const; - void setIsDesc(bool isDesc); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getExecutionPlanInstanceId()const; - void setExecutionPlanInstanceId(const std::string& executionPlanInstanceId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - long resourceOwnerId_; - bool isDesc_; - int pageNumber_; - std::string accessKeyId_; - std::string executionPlanInstanceId_; - std::string regionId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobExecutionInstancesResult.h b/emr/include/alibabacloud/emr/model/ListJobExecutionInstancesResult.h deleted file mode 100644 index da9923268..000000000 --- a/emr/include/alibabacloud/emr/model/ListJobExecutionInstancesResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONINSTANCESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONINSTANCESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListJobExecutionInstancesResult : public ServiceResult - { - public: - struct JobInstance - { - std::string status; - int runTime; - std::string jobType; - std::string clusterId; - std::string jobName; - long startTime; - std::string id; - std::string jobId; - std::string retryInfo; - }; - - - ListJobExecutionInstancesResult(); - explicit ListJobExecutionInstancesResult(const std::string &payload); - ~ListJobExecutionInstancesResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getJobInstances()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector jobInstances_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONINSTANCESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobsRequest.h b/emr/include/alibabacloud/emr/model/ListJobsRequest.h deleted file mode 100644 index 7ff31e97e..000000000 --- a/emr/include/alibabacloud/emr/model/ListJobsRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTJOBSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListJobsRequest : public RpcServiceRequest - { - - public: - ListJobsRequest(); - ~ListJobsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getQueryString()const; - void setQueryString(const std::string& queryString); - bool getIsDesc()const; - void setIsDesc(bool isDesc); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getQueryType()const; - void setQueryType(const std::string& queryType); - - private: - long resourceOwnerId_; - std::string queryString_; - bool isDesc_; - int pageNumber_; - std::string accessKeyId_; - std::string resourceGroupId_; - std::string regionId_; - int pageSize_; - std::string queryType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobsResult.h b/emr/include/alibabacloud/emr/model/ListJobsResult.h deleted file mode 100644 index 257e4f564..000000000 --- a/emr/include/alibabacloud/emr/model/ListJobsResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTJOBSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListJobsResult : public ServiceResult - { - public: - struct JobInfo - { - std::string failAct; - std::string type; - std::string runParameter; - std::string id; - int maxRetry; - int retryInterval; - std::string name; - }; - - - ListJobsResult(); - explicit ListJobsResult(const std::string &payload); - ~ListJobsResult(); - int getTotalCount()const; - int getPageSize()const; - std::vector getJobs()const; - int getPageNumber()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - std::vector jobs_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListLibrariesRequest.h b/emr/include/alibabacloud/emr/model/ListLibrariesRequest.h deleted file mode 100644 index 00315e0ec..000000000 --- a/emr/include/alibabacloud/emr/model/ListLibrariesRequest.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTLIBRARIESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTLIBRARIESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListLibrariesRequest : public RpcServiceRequest - { - - public: - ListLibrariesRequest(); - ~ListLibrariesRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getPageCount()const; - void setPageCount(int pageCount); - std::string getOrderMode()const; - void setOrderMode(const std::string& orderMode); - std::string getClusterBizId()const; - void setClusterBizId(const std::string& clusterBizId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getLimit()const; - void setLimit(int limit); - int getPageSize()const; - void setPageSize(int pageSize); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::string getOrderField()const; - void setOrderField(const std::string& orderField); - - private: - long resourceOwnerId_; - int pageCount_; - std::string orderMode_; - std::string clusterBizId_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int limit_; - int pageSize_; - int currentSize_; - std::string orderField_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTLIBRARIESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListLibrariesResult.h b/emr/include/alibabacloud/emr/model/ListLibrariesResult.h deleted file mode 100644 index 0d8bcffdf..000000000 --- a/emr/include/alibabacloud/emr/model/ListLibrariesResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTLIBRARIESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTLIBRARIESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListLibrariesResult : public ServiceResult - { - public: - struct Item - { - std::string sourceLocation; - std::string type; - std::string scope; - std::string userId; - long createTime; - std::string sourceType; - std::string libraryVersion; - std::string properties; - std::string bizId; - std::string name; - }; - - - ListLibrariesResult(); - explicit ListLibrariesResult(const std::string &payload); - ~ListLibrariesResult(); - int getTotalCount()const; - int getPageSize()const; - std::string getNextToken()const; - int getPageNumber()const; - std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - std::string nextToken_; - int pageNumber_; - std::vector items_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTLIBRARIESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListLibraryInstallTasksRequest.h b/emr/include/alibabacloud/emr/model/ListLibraryInstallTasksRequest.h deleted file mode 100644 index 58d7f366c..000000000 --- a/emr/include/alibabacloud/emr/model/ListLibraryInstallTasksRequest.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTLIBRARYINSTALLTASKSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTLIBRARYINSTALLTASKSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListLibraryInstallTasksRequest : public RpcServiceRequest - { - - public: - ListLibraryInstallTasksRequest(); - ~ListLibraryInstallTasksRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getPageCount()const; - void setPageCount(int pageCount); - std::string getOrderMode()const; - void setOrderMode(const std::string& orderMode); - std::string getClusterBizId()const; - void setClusterBizId(const std::string& clusterBizId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getLimit()const; - void setLimit(int limit); - int getPageSize()const; - void setPageSize(int pageSize); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::string getOrderField()const; - void setOrderField(const std::string& orderField); - std::string getLibraryBizId()const; - void setLibraryBizId(const std::string& libraryBizId); - - private: - long resourceOwnerId_; - int pageCount_; - std::string orderMode_; - std::string clusterBizId_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int limit_; - int pageSize_; - int currentSize_; - std::string orderField_; - std::string libraryBizId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTLIBRARYINSTALLTASKSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListLibraryInstallTasksResult.h b/emr/include/alibabacloud/emr/model/ListLibraryInstallTasksResult.h deleted file mode 100644 index be3da3918..000000000 --- a/emr/include/alibabacloud/emr/model/ListLibraryInstallTasksResult.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTLIBRARYINSTALLTASKSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTLIBRARYINSTALLTASKSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListLibraryInstallTasksResult : public ServiceResult - { - public: - struct Item - { - std::string taskId; - std::string libraryBizId; - long endTime; - std::string taskGroupId; - long executeTime; - int taskProcess; - std::string clusterBizId; - std::string taskType; - long startTime; - std::string hostname; - std::string taskStatus; - std::string detail; - }; - - - ListLibraryInstallTasksResult(); - explicit ListLibraryInstallTasksResult(const std::string &payload); - ~ListLibraryInstallTasksResult(); - int getTotalCount()const; - int getPageSize()const; - std::string getNextToken()const; - int getPageNumber()const; - std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - std::string nextToken_; - int pageNumber_; - std::vector items_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTLIBRARYINSTALLTASKSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListLibraryStatusRequest.h b/emr/include/alibabacloud/emr/model/ListLibraryStatusRequest.h deleted file mode 100644 index 36c55a488..000000000 --- a/emr/include/alibabacloud/emr/model/ListLibraryStatusRequest.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTLIBRARYSTATUSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTLIBRARYSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListLibraryStatusRequest : public RpcServiceRequest - { - - public: - ListLibraryStatusRequest(); - ~ListLibraryStatusRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getPageCount()const; - void setPageCount(int pageCount); - std::string getOrderMode()const; - void setOrderMode(const std::string& orderMode); - std::string getClusterBizId()const; - void setClusterBizId(const std::string& clusterBizId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getLimit()const; - void setLimit(int limit); - int getPageSize()const; - void setPageSize(int pageSize); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::string getOrderField()const; - void setOrderField(const std::string& orderField); - std::string getLibraryBizId()const; - void setLibraryBizId(const std::string& libraryBizId); - - private: - long resourceOwnerId_; - int pageCount_; - std::string orderMode_; - std::string clusterBizId_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int limit_; - int pageSize_; - int currentSize_; - std::string orderField_; - std::string libraryBizId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTLIBRARYSTATUSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListLibraryStatusResult.h b/emr/include/alibabacloud/emr/model/ListLibraryStatusResult.h deleted file mode 100644 index e5b536aa8..000000000 --- a/emr/include/alibabacloud/emr/model/ListLibraryStatusResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTLIBRARYSTATUSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTLIBRARYSTATUSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListLibraryStatusResult : public ServiceResult - { - public: - struct Item - { - std::string status; - std::string libraryBizId; - std::string clusterBizId; - std::string libraryName; - std::string clusterName; - }; - - - ListLibraryStatusResult(); - explicit ListLibraryStatusResult(const std::string &payload); - ~ListLibraryStatusResult(); - int getTotalCount()const; - int getPageSize()const; - std::string getNextToken()const; - int getPageNumber()const; - std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - std::string nextToken_; - int pageNumber_; - std::vector items_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTLIBRARYSTATUSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListLocalDiskComponentInfoRequest.h b/emr/include/alibabacloud/emr/model/ListLocalDiskComponentInfoRequest.h deleted file mode 100644 index a8dc61f2f..000000000 --- a/emr/include/alibabacloud/emr/model/ListLocalDiskComponentInfoRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListLocalDiskComponentInfoRequest : public RpcServiceRequest - { - - public: - ListLocalDiskComponentInfoRequest(); - ~ListLocalDiskComponentInfoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string accessKeyId_; - std::string instanceId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListLocalDiskComponentInfoResult.h b/emr/include/alibabacloud/emr/model/ListLocalDiskComponentInfoResult.h deleted file mode 100644 index 216d19eab..000000000 --- a/emr/include/alibabacloud/emr/model/ListLocalDiskComponentInfoResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListLocalDiskComponentInfoResult : public ServiceResult - { - public: - struct ComponentInfo - { - struct MountParam - { - std::string defaultValue; - std::vector options; - int min; - std::string valueType; - int max; - std::string unit; - std::string key; - std::string name; - std::string tips; - }; - std::string rebootWarningMsg; - std::string componentDisplayName; - std::vector apmMetrics; - std::vector mountParams; - std::string serviceName; - std::string componentName; - std::string isolateWarningMsg; - bool supportDiskHotSwap; - std::string mountWarningMsg; - std::string serviceDisplayName; - }; - - - ListLocalDiskComponentInfoResult(); - explicit ListLocalDiskComponentInfoResult(const std::string &payload); - ~ListLocalDiskComponentInfoResult(); - std::vector getComponentInfoList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector componentInfoList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListRolesRequest.h b/emr/include/alibabacloud/emr/model/ListRolesRequest.h deleted file mode 100644 index b2e1a86e5..000000000 --- a/emr/include/alibabacloud/emr/model/ListRolesRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTROLESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTROLESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListRolesRequest : public RpcServiceRequest - { - - public: - ListRolesRequest(); - ~ListRolesRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string resourceType_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTROLESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListRolesResult.h b/emr/include/alibabacloud/emr/model/ListRolesResult.h deleted file mode 100644 index 102ecd91d..000000000 --- a/emr/include/alibabacloud/emr/model/ListRolesResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTROLESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTROLESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListRolesResult : public ServiceResult - { - public: - struct RoleDTO - { - std::string gmtCreate; - std::string description; - std::string gmtModified; - std::string resourceType; - long id; - std::string name; - }; - - - ListRolesResult(); - explicit ListRolesResult(const std::string &payload); - ~ListRolesResult(); - bool getPaging()const; - std::vector getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - std::vector data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTROLESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListSecurityGroupRequest.h b/emr/include/alibabacloud/emr/model/ListSecurityGroupRequest.h deleted file mode 100644 index 0fc7d2a71..000000000 --- a/emr/include/alibabacloud/emr/model/ListSecurityGroupRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTSECURITYGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSECURITYGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListSecurityGroupRequest : public RpcServiceRequest - { - - public: - ListSecurityGroupRequest(); - ~ListSecurityGroupRequest(); - - std::string getDepositType()const; - void setDepositType(const std::string& depositType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getProductType()const; - void setProductType(const std::string& productType); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getNetType()const; - void setNetType(const std::string& netType); - std::string getVpcId()const; - void setVpcId(const std::string& vpcId); - - private: - std::string depositType_; - std::string accessKeyId_; - std::string productType_; - std::string regionId_; - std::string netType_; - std::string vpcId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSECURITYGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListSecurityGroupResult.h b/emr/include/alibabacloud/emr/model/ListSecurityGroupResult.h deleted file mode 100644 index f202ffe0f..000000000 --- a/emr/include/alibabacloud/emr/model/ListSecurityGroupResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTSECURITYGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSECURITYGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListSecurityGroupResult : public ServiceResult - { - public: - struct SecurityGroup - { - int ecsCount; - std::string description; - std::string securityGroupName; - std::string vpcId; - std::string securityGroupId; - std::string creationTime; - std::string securityGroupType; - int availableInstanceAmount; - }; - - - ListSecurityGroupResult(); - explicit ListSecurityGroupResult(const std::string &payload); - ~ListSecurityGroupResult(); - std::vector getSecurityGroupList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector securityGroupList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSECURITYGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListStackRequest.h b/emr/include/alibabacloud/emr/model/ListStackRequest.h deleted file mode 100644 index ddfdcfd54..000000000 --- a/emr/include/alibabacloud/emr/model/ListStackRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTSTACKREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSTACKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListStackRequest : public RpcServiceRequest - { - - public: - ListStackRequest(); - ~ListStackRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getStackName()const; - void setStackName(const std::string& stackName); - std::string getStackVersion()const; - void setStackVersion(const std::string& stackVersion); - - private: - long resourceOwnerId_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int pageSize_; - std::string stackName_; - std::string stackVersion_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSTACKREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListStackResult.h b/emr/include/alibabacloud/emr/model/ListStackResult.h deleted file mode 100644 index 618c1f7cb..000000000 --- a/emr/include/alibabacloud/emr/model/ListStackResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTSTACKRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSTACKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListStackResult : public ServiceResult - { - public: - struct Stack - { - std::string status; - std::string version; - std::string name; - }; - - - ListStackResult(); - explicit ListStackResult(const std::string &payload); - ~ListStackResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getStackList()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector stackList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSTACKRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListTagKeysRequest.h b/emr/include/alibabacloud/emr/model/ListTagKeysRequest.h deleted file mode 100644 index 8104c6659..000000000 --- a/emr/include/alibabacloud/emr/model/ListTagKeysRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTTAGKEYSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTTAGKEYSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListTagKeysRequest : public RpcServiceRequest - { - - public: - ListTagKeysRequest(); - ~ListTagKeysRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getNextToken()const; - void setNextToken(const std::string& nextToken); - std::string getScope()const; - void setScope(const std::string& scope); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getCategory()const; - void setCategory(const std::string& category); - - private: - long resourceOwnerId_; - std::string resourceType_; - std::string accessKeyId_; - std::string regionId_; - std::string nextToken_; - std::string scope_; - int pageSize_; - std::string category_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTTAGKEYSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListTagKeysResult.h b/emr/include/alibabacloud/emr/model/ListTagKeysResult.h deleted file mode 100644 index ffded005b..000000000 --- a/emr/include/alibabacloud/emr/model/ListTagKeysResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTTAGKEYSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTTAGKEYSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListTagKeysResult : public ServiceResult - { - public: - - - ListTagKeysResult(); - explicit ListTagKeysResult(const std::string &payload); - ~ListTagKeysResult(); - int getTotalCount()const; - std::string getMessage()const; - int getPageSize()const; - std::string getNextToken()const; - std::vector getKeys()const; - std::string getCode()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - std::string message_; - int pageSize_; - std::string nextToken_; - std::vector keys_; - std::string code_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTTAGKEYSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListTagValuesRequest.h b/emr/include/alibabacloud/emr/model/ListTagValuesRequest.h deleted file mode 100644 index 30c81dd51..000000000 --- a/emr/include/alibabacloud/emr/model/ListTagValuesRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTTAGVALUESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTTAGVALUESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListTagValuesRequest : public RpcServiceRequest - { - - public: - ListTagValuesRequest(); - ~ListTagValuesRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getNextToken()const; - void setNextToken(const std::string& nextToken); - std::string getScope()const; - void setScope(const std::string& scope); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getKey()const; - void setKey(const std::string& key); - - private: - long resourceOwnerId_; - std::string resourceType_; - std::string accessKeyId_; - std::string regionId_; - std::string nextToken_; - std::string scope_; - int pageSize_; - std::string key_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTTAGVALUESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListTagValuesResult.h b/emr/include/alibabacloud/emr/model/ListTagValuesResult.h deleted file mode 100644 index 9c0dd8ca8..000000000 --- a/emr/include/alibabacloud/emr/model/ListTagValuesResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTTAGVALUESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTTAGVALUESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListTagValuesResult : public ServiceResult - { - public: - - - ListTagValuesResult(); - explicit ListTagValuesResult(const std::string &payload); - ~ListTagValuesResult(); - int getTotalCount()const; - std::string getMessage()const; - std::string getNextToken()const; - int getPageSize()const; - std::vector getValues()const; - std::string getCode()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - std::string message_; - std::string nextToken_; - int pageSize_; - std::vector values_; - std::string code_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTTAGVALUESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListUsersRequest.h b/emr/include/alibabacloud/emr/model/ListUsersRequest.h deleted file mode 100644 index a519f343c..000000000 --- a/emr/include/alibabacloud/emr/model/ListUsersRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTUSERSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTUSERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListUsersRequest : public RpcServiceRequest - { - - public: - ListUsersRequest(); - ~ListUsersRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getType()const; - void setType(const std::string& type); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string type_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTUSERSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListUsersResult.h b/emr/include/alibabacloud/emr/model/ListUsersResult.h deleted file mode 100644 index d534bd0c3..000000000 --- a/emr/include/alibabacloud/emr/model/ListUsersResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTUSERSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTUSERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListUsersResult : public ServiceResult - { - public: - struct User - { - std::string groupName; - std::string knoxStatus; - std::string linuxStatus; - std::string userName; - std::string kerberosStatus; - std::string k8sStatus; - std::string userId; - }; - - - ListUsersResult(); - explicit ListUsersResult(const std::string &payload); - ~ListUsersResult(); - std::vector getUserList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector userList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTUSERSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListVswitchRequest.h b/emr/include/alibabacloud/emr/model/ListVswitchRequest.h deleted file mode 100644 index c55292580..000000000 --- a/emr/include/alibabacloud/emr/model/ListVswitchRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTVSWITCHREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTVSWITCHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListVswitchRequest : public RpcServiceRequest - { - - public: - ListVswitchRequest(); - ~ListVswitchRequest(); - - std::string getDepositType()const; - void setDepositType(const std::string& depositType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getProductType()const; - void setProductType(const std::string& productType); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getVpcId()const; - void setVpcId(const std::string& vpcId); - std::string getZoneId()const; - void setZoneId(const std::string& zoneId); - - private: - std::string depositType_; - std::string accessKeyId_; - std::string productType_; - std::string regionId_; - std::string vpcId_; - std::string zoneId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTVSWITCHREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListVswitchResult.h b/emr/include/alibabacloud/emr/model/ListVswitchResult.h deleted file mode 100644 index 387c9f0b5..000000000 --- a/emr/include/alibabacloud/emr/model/ListVswitchResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTVSWITCHRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTVSWITCHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListVswitchResult : public ServiceResult - { - public: - struct Vswitch - { - std::string status; - bool isDefault; - std::string description; - std::string vpcId; - std::string zoneId; - std::string resourceGroupId; - std::string vSwitchId; - std::string availableIpAddressCount; - std::string creationTime; - std::string cidrBlock; - std::string vSwitchName; - }; - - - ListVswitchResult(); - explicit ListVswitchResult(const std::string &payload); - ~ListVswitchResult(); - std::vector getVswitchList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector vswitchList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTVSWITCHRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionRequest.h b/emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionRequest.h deleted file mode 100644 index 4f656010b..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionRequest.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERBOOTSTRAPACTIONREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERBOOTSTRAPACTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyClusterBootstrapActionRequest : public RpcServiceRequest - { - public: - struct BootstrapAction - { - std::string path; - std::string executionTarget; - std::string executionMoment; - std::string arg; - std::string name; - std::string executionFailStrategy; - }; - - public: - ModifyClusterBootstrapActionRequest(); - ~ModifyClusterBootstrapActionRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::vector getBootstrapAction()const; - void setBootstrapAction(const std::vector& bootstrapAction); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string accessKeyId_; - std::vector bootstrapAction_; - std::string regionId_; - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERBOOTSTRAPACTIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionResult.h b/emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionResult.h deleted file mode 100644 index dae094445..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERBOOTSTRAPACTIONRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERBOOTSTRAPACTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyClusterBootstrapActionResult : public ServiceResult - { - public: - - - ModifyClusterBootstrapActionResult(); - explicit ModifyClusterBootstrapActionResult(const std::string &payload); - ~ModifyClusterBootstrapActionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERBOOTSTRAPACTIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyClusterHostGroupRequest.h b/emr/include/alibabacloud/emr/model/ModifyClusterHostGroupRequest.h deleted file mode 100644 index b96478506..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyClusterHostGroupRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERHOSTGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERHOSTGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyClusterHostGroupRequest : public RpcServiceRequest - { - - public: - ModifyClusterHostGroupRequest(); - ~ModifyClusterHostGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getSecurityGroupId()const; - void setSecurityGroupId(const std::string& securityGroupId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getHostGroupName()const; - void setHostGroupName(const std::string& hostGroupName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getVswitchId()const; - void setVswitchId(const std::string& vswitchId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHostGroupId()const; - void setHostGroupId(const std::string& hostGroupId); - std::string getComment()const; - void setComment(const std::string& comment); - - private: - long resourceOwnerId_; - std::string securityGroupId_; - std::string clusterId_; - std::string hostGroupName_; - std::string accessKeyId_; - std::string vswitchId_; - std::string regionId_; - std::string hostGroupId_; - std::string comment_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERHOSTGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyClusterHostGroupResult.h b/emr/include/alibabacloud/emr/model/ModifyClusterHostGroupResult.h deleted file mode 100644 index 965b451f8..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyClusterHostGroupResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERHOSTGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERHOSTGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyClusterHostGroupResult : public ServiceResult - { - public: - - - ModifyClusterHostGroupResult(); - explicit ModifyClusterHostGroupResult(const std::string &payload); - ~ModifyClusterHostGroupResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERHOSTGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyClusterMetaCollectRequest.h b/emr/include/alibabacloud/emr/model/ModifyClusterMetaCollectRequest.h deleted file mode 100644 index 95007a19c..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyClusterMetaCollectRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERMETACOLLECTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERMETACOLLECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyClusterMetaCollectRequest : public RpcServiceRequest - { - - public: - ModifyClusterMetaCollectRequest(); - ~ModifyClusterMetaCollectRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - bool getSwitchOn()const; - void setSwitchOn(bool switchOn); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string clusterId_; - bool switchOn_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERMETACOLLECTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyClusterMetaCollectResult.h b/emr/include/alibabacloud/emr/model/ModifyClusterMetaCollectResult.h deleted file mode 100644 index 65ce05d86..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyClusterMetaCollectResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERMETACOLLECTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERMETACOLLECTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyClusterMetaCollectResult : public ServiceResult - { - public: - - - ModifyClusterMetaCollectResult(); - explicit ModifyClusterMetaCollectResult(const std::string &payload); - ~ModifyClusterMetaCollectResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERMETACOLLECTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleRequest.h b/emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleRequest.h deleted file mode 100644 index b0e589f25..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSECURITYGROUPRULEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSECURITYGROUPRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyClusterSecurityGroupRuleRequest : public RpcServiceRequest - { - - public: - ModifyClusterSecurityGroupRuleRequest(); - ~ModifyClusterSecurityGroupRuleRequest(); - - std::string getNicType()const; - void setNicType(const std::string& nicType); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getPortRange()const; - void setPortRange(const std::string& portRange); - std::string getIpProtocol()const; - void setIpProtocol(const std::string& ipProtocol); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getWhiteIp()const; - void setWhiteIp(const std::string& whiteIp); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getModifyType()const; - void setModifyType(const std::string& modifyType); - - private: - std::string nicType_; - long resourceOwnerId_; - std::string portRange_; - std::string ipProtocol_; - std::string clusterId_; - std::string whiteIp_; - std::string accessKeyId_; - std::string regionId_; - std::string modifyType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSECURITYGROUPRULEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleResult.h b/emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleResult.h deleted file mode 100644 index 432991f17..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSECURITYGROUPRULERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSECURITYGROUPRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyClusterSecurityGroupRuleResult : public ServiceResult - { - public: - - - ModifyClusterSecurityGroupRuleResult(); - explicit ModifyClusterSecurityGroupRuleResult(const std::string &payload); - ~ModifyClusterSecurityGroupRuleResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSECURITYGROUPRULERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyClusterTemplateRequest.h b/emr/include/alibabacloud/emr/model/ModifyClusterTemplateRequest.h index de9531d7e..352944869 100644 --- a/emr/include/alibabacloud/emr/model/ModifyClusterTemplateRequest.h +++ b/emr/include/alibabacloud/emr/model/ModifyClusterTemplateRequest.h @@ -140,6 +140,8 @@ namespace AlibabaCloud void setDepositType(const std::string& depositType); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getDataDiskKMSKeyId()const; + void setDataDiskKMSKeyId(const std::string& dataDiskKMSKeyId); std::string getRegionId()const; void setRegionId(const std::string& regionId); bool getUseLocalMetaDb()const; @@ -148,6 +150,8 @@ namespace AlibabaCloud void setTemplateName(const std::string& templateName); std::string getUserDefinedEmrEcsRole()const; void setUserDefinedEmrEcsRole(const std::string& userDefinedEmrEcsRole); + bool getDataDiskEncrypted()const; + void setDataDiskEncrypted(bool dataDiskEncrypted); std::string getVpcId()const; void setVpcId(const std::string& vpcId); std::string getBizId()const; @@ -192,10 +196,12 @@ namespace AlibabaCloud bool easEnable_; std::string depositType_; std::string accessKeyId_; + std::string dataDiskKMSKeyId_; std::string regionId_; bool useLocalMetaDb_; std::string templateName_; std::string userDefinedEmrEcsRole_; + bool dataDiskEncrypted_; std::string vpcId_; std::string bizId_; std::vector hostGroup_; diff --git a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanRequest.h b/emr/include/alibabacloud/emr/model/ModifyExecutionPlanRequest.h deleted file mode 100644 index 6554ded13..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanRequest.h +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyExecutionPlanRequest : public RpcServiceRequest - { - public: - struct BootstrapAction - { - std::string path; - std::string executionTarget; - std::string executionMoment; - std::string arg; - std::string name; - std::string executionFailStrategy; - }; - struct EcsOrder - { - std::string nodeType; - int diskCount; - int nodeCount; - int diskCapacity; - int index; - std::string instanceType; - std::string diskType; - }; - struct Config - { - std::string configKey; - std::string fileName; - std::string encrypt; - std::string replace; - std::string configValue; - std::string serviceName; - }; - - public: - ModifyExecutionPlanRequest(); - ~ModifyExecutionPlanRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getLogPath()const; - void setLogPath(const std::string& logPath); - int getTimeInterval()const; - void setTimeInterval(int timeInterval); - std::string getClusterName()const; - void setClusterName(const std::string& clusterName); - std::string getConfigurations()const; - void setConfigurations(const std::string& configurations); - bool getCreateClusterOnDemand()const; - void setCreateClusterOnDemand(bool createClusterOnDemand); - long getStartTime()const; - void setStartTime(long startTime); - std::vector getBootstrapAction()const; - void setBootstrapAction(const std::vector& bootstrapAction); - std::string getEmrVer()const; - void setEmrVer(const std::string& emrVer); - std::string getId()const; - void setId(const std::string& id); - bool getIsOpenPublicIp()const; - void setIsOpenPublicIp(bool isOpenPublicIp); - long getExecutionPlanVersion()const; - void setExecutionPlanVersion(long executionPlanVersion); - std::string getInstanceGeneration()const; - void setInstanceGeneration(const std::string& instanceGeneration); - std::string getClusterType()const; - void setClusterType(const std::string& clusterType); - std::string getVSwitchId()const; - void setVSwitchId(const std::string& vSwitchId); - std::vector getOptionSoftWareList()const; - void setOptionSoftWareList(const std::vector& optionSoftWareList); - std::string getNetType()const; - void setNetType(const std::string& netType); - std::vector getEcsOrder()const; - void setEcsOrder(const std::vector& ecsOrder); - std::string getName()const; - void setName(const std::string& name); - std::string getZoneId()const; - void setZoneId(const std::string& zoneId); - bool getUseCustomHiveMetaDB()const; - void setUseCustomHiveMetaDB(bool useCustomHiveMetaDB); - bool getInitCustomHiveMetaDB()const; - void setInitCustomHiveMetaDB(bool initCustomHiveMetaDB); - bool getIoOptimized()const; - void setIoOptimized(bool ioOptimized); - std::string getSecurityGroupId()const; - void setSecurityGroupId(const std::string& securityGroupId); - bool getEasEnable()const; - void setEasEnable(bool easEnable); - std::vector getJobIdList()const; - void setJobIdList(const std::vector& jobIdList); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getDayOfMonth()const; - void setDayOfMonth(const std::string& dayOfMonth); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getUseLocalMetaDb()const; - void setUseLocalMetaDb(bool useLocalMetaDb); - std::string getUserDefinedEmrEcsRole()const; - void setUserDefinedEmrEcsRole(const std::string& userDefinedEmrEcsRole); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getTimeUnit()const; - void setTimeUnit(const std::string& timeUnit); - std::string getVpcId()const; - void setVpcId(const std::string& vpcId); - std::string getWorkflowDefinition()const; - void setWorkflowDefinition(const std::string& workflowDefinition); - std::string getDayOfWeek()const; - void setDayOfWeek(const std::string& dayOfWeek); - std::string getStrategy()const; - void setStrategy(const std::string& strategy); - std::vector getConfig()const; - void setConfig(const std::vector& config); - bool getHighAvailabilityEnable()const; - void setHighAvailabilityEnable(bool highAvailabilityEnable); - bool getLogEnable()const; - void setLogEnable(bool logEnable); - - private: - long resourceOwnerId_; - std::string logPath_; - int timeInterval_; - std::string clusterName_; - std::string configurations_; - bool createClusterOnDemand_; - long startTime_; - std::vector bootstrapAction_; - std::string emrVer_; - std::string id_; - bool isOpenPublicIp_; - long executionPlanVersion_; - std::string instanceGeneration_; - std::string clusterType_; - std::string vSwitchId_; - std::vector optionSoftWareList_; - std::string netType_; - std::vector ecsOrder_; - std::string name_; - std::string zoneId_; - bool useCustomHiveMetaDB_; - bool initCustomHiveMetaDB_; - bool ioOptimized_; - std::string securityGroupId_; - bool easEnable_; - std::vector jobIdList_; - std::string accessKeyId_; - std::string dayOfMonth_; - std::string regionId_; - bool useLocalMetaDb_; - std::string userDefinedEmrEcsRole_; - std::string clusterId_; - std::string timeUnit_; - std::string vpcId_; - std::string workflowDefinition_; - std::string dayOfWeek_; - std::string strategy_; - std::vector config_; - bool highAvailabilityEnable_; - bool logEnable_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanResult.h b/emr/include/alibabacloud/emr/model/ModifyExecutionPlanResult.h deleted file mode 100644 index e9a9b6b6e..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyExecutionPlanResult : public ServiceResult - { - public: - - - ModifyExecutionPlanResult(); - explicit ModifyExecutionPlanResult(const std::string &payload); - ~ModifyExecutionPlanResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyFlowJobRequest.h b/emr/include/alibabacloud/emr/model/ModifyFlowJobRequest.h deleted file mode 100644 index 43f754018..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyFlowJobRequest.h +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYFLOWJOBREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYFLOWJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyFlowJobRequest : public RpcServiceRequest - { - public: - struct ResourceList - { - std::string path; - std::string alias; - }; - - public: - ModifyFlowJobRequest(); - ~ModifyFlowJobRequest(); - - std::string getRetryPolicy()const; - void setRetryPolicy(const std::string& retryPolicy); - std::string getRunConf()const; - void setRunConf(const std::string& runConf); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getParamConf()const; - void setParamConf(const std::string& paramConf); - std::vector getResourceList()const; - void setResourceList(const std::vector& resourceList); - std::string getFailAct()const; - void setFailAct(const std::string& failAct); - std::string getMode()const; - void setMode(const std::string& mode); - std::string getMonitorConf()const; - void setMonitorConf(const std::string& monitorConf); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - int getMaxRetry()const; - void setMaxRetry(int maxRetry); - std::string getAlertConf()const; - void setAlertConf(const std::string& alertConf); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getEnvConf()const; - void setEnvConf(const std::string& envConf); - long getMaxRunningTimeSec()const; - void setMaxRunningTimeSec(long maxRunningTimeSec); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getParams()const; - void setParams(const std::string& params); - std::string getCustomVariables()const; - void setCustomVariables(const std::string& customVariables); - long getRetryInterval()const; - void setRetryInterval(long retryInterval); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string retryPolicy_; - std::string runConf_; - std::string description_; - std::string paramConf_; - std::vector resourceList_; - std::string failAct_; - std::string mode_; - std::string monitorConf_; - std::string regionId_; - std::string id_; - int maxRetry_; - std::string alertConf_; - std::string projectId_; - std::string envConf_; - long maxRunningTimeSec_; - std::string clusterId_; - std::string params_; - std::string customVariables_; - long retryInterval_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYFLOWJOBREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyFlowJobResult.h b/emr/include/alibabacloud/emr/model/ModifyFlowJobResult.h deleted file mode 100644 index aa5e3b99e..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyFlowJobResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYFLOWJOBRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYFLOWJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyFlowJobResult : public ServiceResult - { - public: - - - ModifyFlowJobResult(); - explicit ModifyFlowJobResult(const std::string &payload); - ~ModifyFlowJobResult(); - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYFLOWJOBRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyFlowRequest.h b/emr/include/alibabacloud/emr/model/ModifyFlowRequest.h deleted file mode 100644 index babb38866..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyFlowRequest.h +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYFLOWREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYFLOWREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyFlowRequest : public RpcServiceRequest - { - - public: - ModifyFlowRequest(); - ~ModifyFlowRequest(); - - std::string getCronExpr()const; - void setCronExpr(const std::string& cronExpr); - bool getPeriodic()const; - void setPeriodic(bool periodic); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getAlertUserGroupBizId()const; - void setAlertUserGroupBizId(const std::string& alertUserGroupBizId); - std::string getLifecycle()const; - void setLifecycle(const std::string& lifecycle); - std::string getHostName()const; - void setHostName(const std::string& hostName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getCreateCluster()const; - void setCreateCluster(bool createCluster); - long getEndSchedule()const; - void setEndSchedule(long endSchedule); - std::string getId()const; - void setId(const std::string& id); - std::string getAlertConf()const; - void setAlertConf(const std::string& alertConf); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getParentFlowList()const; - void setParentFlowList(const std::string& parentFlowList); - std::string getLogArchiveLocation()const; - void setLogArchiveLocation(const std::string& logArchiveLocation); - std::string getAlertDingDingGroupBizId()const; - void setAlertDingDingGroupBizId(const std::string& alertDingDingGroupBizId); - long getStartSchedule()const; - void setStartSchedule(long startSchedule); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getApplication()const; - void setApplication(const std::string& application); - std::string getName()const; - void setName(const std::string& name); - std::string get_Namespace()const; - void set_Namespace(const std::string& _namespace); - std::string getStatus()const; - void setStatus(const std::string& status); - std::string getParentCategory()const; - void setParentCategory(const std::string& parentCategory); - - private: - std::string cronExpr_; - bool periodic_; - std::string description_; - std::string alertUserGroupBizId_; - std::string lifecycle_; - std::string hostName_; - std::string regionId_; - bool createCluster_; - long endSchedule_; - std::string id_; - std::string alertConf_; - std::string projectId_; - std::string parentFlowList_; - std::string logArchiveLocation_; - std::string alertDingDingGroupBizId_; - long startSchedule_; - std::string clusterId_; - std::string application_; - std::string name_; - std::string _namespace_; - std::string status_; - std::string parentCategory_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYFLOWREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyFlowResult.h b/emr/include/alibabacloud/emr/model/ModifyFlowResult.h deleted file mode 100644 index 8b49f5885..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyFlowResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYFLOWRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYFLOWRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyFlowResult : public ServiceResult - { - public: - - - ModifyFlowResult(); - explicit ModifyFlowResult(const std::string &payload); - ~ModifyFlowResult(); - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYFLOWRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyJobRequest.h b/emr/include/alibabacloud/emr/model/ModifyJobRequest.h deleted file mode 100644 index f7dc2a770..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyJobRequest.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYJOBREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyJobRequest : public RpcServiceRequest - { - - public: - ModifyJobRequest(); - ~ModifyJobRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getType()const; - void setType(const std::string& type); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getFailAct()const; - void setFailAct(const std::string& failAct); - std::string getRunParameter()const; - void setRunParameter(const std::string& runParameter); - int getRetryInterval()const; - void setRetryInterval(int retryInterval); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getId()const; - void setId(const std::string& id); - int getMaxRetry()const; - void setMaxRetry(int maxRetry); - - private: - long resourceOwnerId_; - std::string type_; - std::string accessKeyId_; - std::string failAct_; - std::string runParameter_; - int retryInterval_; - std::string resourceGroupId_; - std::string regionId_; - std::string name_; - std::string id_; - int maxRetry_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYJOBREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyJobResult.h b/emr/include/alibabacloud/emr/model/ModifyJobResult.h deleted file mode 100644 index 7f61d8623..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyJobResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYJOBRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyJobResult : public ServiceResult - { - public: - - - ModifyJobResult(); - explicit ModifyJobResult(const std::string &payload); - ~ModifyJobResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYJOBRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyScalingRuleRequest.h b/emr/include/alibabacloud/emr/model/ModifyScalingRuleRequest.h deleted file mode 100644 index 2cc2431e0..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyScalingRuleRequest.h +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGRULEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyScalingRuleRequest : public RpcServiceRequest - { - public: - struct CloudWatchTrigger - { - int period; - std::string evaluationCount; - std::string threshold; - std::string metricName; - std::string comparisonOperator; - std::string statistics; - }; - struct SchedulerTrigger - { - std::string launchTime; - int launchExpirationTime; - std::string recurrenceValue; - std::string recurrenceEndTime; - std::string recurrenceType; - }; - - public: - ModifyScalingRuleRequest(); - ~ModifyScalingRuleRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRuleName()const; - void setRuleName(const std::string& ruleName); - std::string getScalingRuleId()const; - void setScalingRuleId(const std::string& scalingRuleId); - std::string getRecurrenceEndTime()const; - void setRecurrenceEndTime(const std::string& recurrenceEndTime); - std::vector getCloudWatchTrigger()const; - void setCloudWatchTrigger(const std::vector& cloudWatchTrigger); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - long getTimeoutWithGrace()const; - void setTimeoutWithGrace(long timeoutWithGrace); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getCooldown()const; - void setCooldown(int cooldown); - std::string getLaunchTime()const; - void setLaunchTime(const std::string& launchTime); - bool getWithGrace()const; - void setWithGrace(bool withGrace); - int getAdjustmentValue()const; - void setAdjustmentValue(int adjustmentValue); - std::string getAdjustmentType()const; - void setAdjustmentType(const std::string& adjustmentType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getLaunchExpirationTime()const; - void setLaunchExpirationTime(int launchExpirationTime); - std::string getRecurrenceValue()const; - void setRecurrenceValue(const std::string& recurrenceValue); - std::string getHostGroupId()const; - void setHostGroupId(const std::string& hostGroupId); - std::vector getSchedulerTrigger()const; - void setSchedulerTrigger(const std::vector& schedulerTrigger); - std::string getRecurrenceType()const; - void setRecurrenceType(const std::string& recurrenceType); - - private: - long resourceOwnerId_; - std::string ruleName_; - std::string scalingRuleId_; - std::string recurrenceEndTime_; - std::vector cloudWatchTrigger_; - std::string accessKeyId_; - long timeoutWithGrace_; - std::string regionId_; - int cooldown_; - std::string launchTime_; - bool withGrace_; - int adjustmentValue_; - std::string adjustmentType_; - std::string clusterId_; - int launchExpirationTime_; - std::string recurrenceValue_; - std::string hostGroupId_; - std::vector schedulerTrigger_; - std::string recurrenceType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGRULEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyScalingRuleResult.h b/emr/include/alibabacloud/emr/model/ModifyScalingRuleResult.h deleted file mode 100644 index cffb0a54f..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyScalingRuleResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGRULERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyScalingRuleResult : public ServiceResult - { - public: - - - ModifyScalingRuleResult(); - explicit ModifyScalingRuleResult(const std::string &payload); - ~ModifyScalingRuleResult(); - std::string getScalingRuleId()const; - - protected: - void parse(const std::string &payload); - private: - std::string scalingRuleId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGRULERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyScalingTaskGroupRequest.h b/emr/include/alibabacloud/emr/model/ModifyScalingTaskGroupRequest.h deleted file mode 100644 index cb3dc7eb6..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyScalingTaskGroupRequest.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGTASKGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGTASKGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyScalingTaskGroupRequest : public RpcServiceRequest - { - - public: - ModifyScalingTaskGroupRequest(); - ~ModifyScalingTaskGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - bool getWithGrace()const; - void setWithGrace(bool withGrace); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getMinSize()const; - void setMinSize(int minSize); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - long getTimeoutWithGrace()const; - void setTimeoutWithGrace(long timeoutWithGrace); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHostGroupId()const; - void setHostGroupId(const std::string& hostGroupId); - std::string getActiveRuleCategory()const; - void setActiveRuleCategory(const std::string& activeRuleCategory); - int getMaxSize()const; - void setMaxSize(int maxSize); - int getDefaultCooldown()const; - void setDefaultCooldown(int defaultCooldown); - - private: - long resourceOwnerId_; - bool withGrace_; - std::string clusterId_; - int minSize_; - std::string accessKeyId_; - long timeoutWithGrace_; - std::string regionId_; - std::string hostGroupId_; - std::string activeRuleCategory_; - int maxSize_; - int defaultCooldown_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGTASKGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyScalingTaskGroupResult.h b/emr/include/alibabacloud/emr/model/ModifyScalingTaskGroupResult.h deleted file mode 100644 index c1fd74315..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyScalingTaskGroupResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGTASKGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGTASKGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyScalingTaskGroupResult : public ServiceResult - { - public: - - - ModifyScalingTaskGroupResult(); - explicit ModifyScalingTaskGroupResult(const std::string &payload); - ~ModifyScalingTaskGroupResult(); - std::string getHostGroupId()const; - - protected: - void parse(const std::string &payload); - private: - std::string hostGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGTASKGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryEntityRequest.h b/emr/include/alibabacloud/emr/model/QueryEntityRequest.h deleted file mode 100644 index d67b6f14f..000000000 --- a/emr/include/alibabacloud/emr/model/QueryEntityRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_QUERYENTITYREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYENTITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryEntityRequest : public RpcServiceRequest - { - - public: - QueryEntityRequest(); - ~QueryEntityRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - long getId()const; - void setId(long id); - std::string getCategory()const; - void setCategory(const std::string& category); - - private: - long resourceOwnerId_; - std::string description_; - std::string accessKeyId_; - std::string regionId_; - std::string name_; - long id_; - std::string category_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYENTITYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryEntityResult.h b/emr/include/alibabacloud/emr/model/QueryEntityResult.h deleted file mode 100644 index a5eb3f924..000000000 --- a/emr/include/alibabacloud/emr/model/QueryEntityResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_QUERYENTITYRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYENTITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryEntityResult : public ServiceResult - { - public: - struct Item - { - std::string entityType; - std::string entityId; - long tagId; - }; - - - QueryEntityResult(); - explicit QueryEntityResult(const std::string &payload); - ~QueryEntityResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector items_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYENTITYRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryTagRequest.h b/emr/include/alibabacloud/emr/model/QueryTagRequest.h deleted file mode 100644 index cc271db09..000000000 --- a/emr/include/alibabacloud/emr/model/QueryTagRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_QUERYTAGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYTAGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryTagRequest : public RpcServiceRequest - { - - public: - QueryTagRequest(); - ~QueryTagRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - long getTagId()const; - void setTagId(long tagId); - std::string getEntityId()const; - void setEntityId(const std::string& entityId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getEntityType()const; - void setEntityType(const std::string& entityType); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - long tagId_; - std::string entityId_; - std::string accessKeyId_; - std::string entityType_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYTAGREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryTagResult.h b/emr/include/alibabacloud/emr/model/QueryTagResult.h deleted file mode 100644 index 9833b750d..000000000 --- a/emr/include/alibabacloud/emr/model/QueryTagResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_QUERYTAGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYTAGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryTagResult : public ServiceResult - { - public: - struct Item - { - std::string category; - std::string description; - std::string name; - }; - - - QueryTagResult(); - explicit QueryTagResult(const std::string &payload); - ~QueryTagResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector items_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYTAGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerRequest.h b/emr/include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerRequest.h deleted file mode 100644 index ed92cb249..000000000 --- a/emr/include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_RESUMEEXECUTIONPLANSCHEDULERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RESUMEEXECUTIONPLANSCHEDULERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ResumeExecutionPlanSchedulerRequest : public RpcServiceRequest - { - - public: - ResumeExecutionPlanSchedulerRequest(); - ~ResumeExecutionPlanSchedulerRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RESUMEEXECUTIONPLANSCHEDULERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerResult.h b/emr/include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerResult.h deleted file mode 100644 index 3cd62762d..000000000 --- a/emr/include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_RESUMEEXECUTIONPLANSCHEDULERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RESUMEEXECUTIONPLANSCHEDULERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ResumeExecutionPlanSchedulerResult : public ServiceResult - { - public: - - - ResumeExecutionPlanSchedulerResult(); - explicit ResumeExecutionPlanSchedulerResult(const std::string &payload); - ~ResumeExecutionPlanSchedulerResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RESUMEEXECUTIONPLANSCHEDULERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RetryOperationRequest.h b/emr/include/alibabacloud/emr/model/RetryOperationRequest.h deleted file mode 100644 index 1a7ea3e87..000000000 --- a/emr/include/alibabacloud/emr/model/RetryOperationRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_RETRYOPERATIONREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RETRYOPERATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RetryOperationRequest : public RpcServiceRequest - { - - public: - RetryOperationRequest(); - ~RetryOperationRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOperationId()const; - void setOperationId(const std::string& operationId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string operationId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RETRYOPERATIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RetryOperationResult.h b/emr/include/alibabacloud/emr/model/RetryOperationResult.h deleted file mode 100644 index 21302c580..000000000 --- a/emr/include/alibabacloud/emr/model/RetryOperationResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_RETRYOPERATIONRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RETRYOPERATIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RetryOperationResult : public ServiceResult - { - public: - - - RetryOperationResult(); - explicit RetryOperationResult(const std::string &payload); - ~RetryOperationResult(); - std::string getErrMsg()const; - std::string getSuccess()const; - std::string getErrCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string errMsg_; - std::string success_; - std::string errCode_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RETRYOPERATIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RunDiskOpsActivityRequest.h b/emr/include/alibabacloud/emr/model/RunDiskOpsActivityRequest.h deleted file mode 100644 index cc14fffd7..000000000 --- a/emr/include/alibabacloud/emr/model/RunDiskOpsActivityRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RunDiskOpsActivityRequest : public RpcServiceRequest - { - - public: - RunDiskOpsActivityRequest(); - ~RunDiskOpsActivityRequest(); - - std::string getEventId()const; - void setEventId(const std::string& eventId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getCurrentStage()const; - void setCurrentStage(const std::string& currentStage); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getDiskId()const; - void setDiskId(const std::string& diskId); - std::string getCurrentState()const; - void setCurrentState(const std::string& currentState); - - private: - std::string eventId_; - long resourceOwnerId_; - std::string currentStage_; - std::string clusterId_; - std::string accessKeyId_; - std::string instanceId_; - std::string regionId_; - std::string diskId_; - std::string currentState_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RunDiskOpsActivityResult.h b/emr/include/alibabacloud/emr/model/RunDiskOpsActivityResult.h deleted file mode 100644 index 2b4121f4d..000000000 --- a/emr/include/alibabacloud/emr/model/RunDiskOpsActivityResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RunDiskOpsActivityResult : public ServiceResult - { - public: - - - RunDiskOpsActivityResult(); - explicit RunDiskOpsActivityResult(const std::string &payload); - ~RunDiskOpsActivityResult(); - std::string getActivityState()const; - std::string getCurrentActivity()const; - std::string getClusterType()const; - bool getNeedReboot()const; - std::string getErrorMessage()const; - - protected: - void parse(const std::string &payload); - private: - std::string activityState_; - std::string currentActivity_; - std::string clusterType_; - bool needReboot_; - std::string errorMessage_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RunExecutionPlanRequest.h b/emr/include/alibabacloud/emr/model/RunExecutionPlanRequest.h deleted file mode 100644 index 51c5b1e95..000000000 --- a/emr/include/alibabacloud/emr/model/RunExecutionPlanRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_RUNEXECUTIONPLANREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RUNEXECUTIONPLANREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RunExecutionPlanRequest : public RpcServiceRequest - { - - public: - RunExecutionPlanRequest(); - ~RunExecutionPlanRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getArguments()const; - void setArguments(const std::string& arguments); - std::string getId()const; - void setId(const std::string& id); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string arguments_; - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RUNEXECUTIONPLANREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RunExecutionPlanResult.h b/emr/include/alibabacloud/emr/model/RunExecutionPlanResult.h deleted file mode 100644 index ce4d87b65..000000000 --- a/emr/include/alibabacloud/emr/model/RunExecutionPlanResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_RUNEXECUTIONPLANRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RUNEXECUTIONPLANRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RunExecutionPlanResult : public ServiceResult - { - public: - - - RunExecutionPlanResult(); - explicit RunExecutionPlanResult(const std::string &payload); - ~RunExecutionPlanResult(); - std::string getExecutionPlanInstanceId()const; - - protected: - void parse(const std::string &payload); - private: - std::string executionPlanInstanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RUNEXECUTIONPLANRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SearchLogRequest.h b/emr/include/alibabacloud/emr/model/SearchLogRequest.h deleted file mode 100644 index dff6d4a7a..000000000 --- a/emr/include/alibabacloud/emr/model/SearchLogRequest.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_SEARCHLOGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_SEARCHLOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SearchLogRequest : public RpcServiceRequest - { - - public: - SearchLogRequest(); - ~SearchLogRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getLine()const; - void setLine(int line); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getHostName()const; - void setHostName(const std::string& hostName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getLogstoreName()const; - void setLogstoreName(const std::string& logstoreName); - int getFromTimestamp()const; - void setFromTimestamp(int fromTimestamp); - int getOffset()const; - void setOffset(int offset); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - bool getReverse()const; - void setReverse(bool reverse); - std::string getHostInnerIp()const; - void setHostInnerIp(const std::string& hostInnerIp); - int getToTimestamp()const; - void setToTimestamp(int toTimestamp); - std::string getSlsQueryString()const; - void setSlsQueryString(const std::string& slsQueryString); - - private: - long resourceOwnerId_; - int line_; - std::string accessKeyId_; - std::string hostName_; - std::string regionId_; - std::string logstoreName_; - int fromTimestamp_; - int offset_; - std::string clusterId_; - bool reverse_; - std::string hostInnerIp_; - int toTimestamp_; - std::string slsQueryString_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SEARCHLOGREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SearchLogResult.h b/emr/include/alibabacloud/emr/model/SearchLogResult.h deleted file mode 100644 index f0b957f94..000000000 --- a/emr/include/alibabacloud/emr/model/SearchLogResult.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_SEARCHLOGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_SEARCHLOGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SearchLogResult : public ServiceResult - { - public: - struct SlsLogItem - { - std::string path; - std::string sourceIp; - std::string content; - std::string packMeta; - int timestamp; - std::string packId; - std::string hostName; - }; - - - SearchLogResult(); - explicit SearchLogResult(const std::string &payload); - ~SearchLogResult(); - std::vector getSlsLogItemList()const; - bool getCompleted()const; - - protected: - void parse(const std::string &payload); - private: - std::vector slsLogItemList_; - bool completed_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SEARCHLOGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerRequest.h b/emr/include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerRequest.h deleted file mode 100644 index 8ca14394b..000000000 --- a/emr/include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_SUSPENDEXECUTIONPLANSCHEDULERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_SUSPENDEXECUTIONPLANSCHEDULERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SuspendExecutionPlanSchedulerRequest : public RpcServiceRequest - { - - public: - SuspendExecutionPlanSchedulerRequest(); - ~SuspendExecutionPlanSchedulerRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SUSPENDEXECUTIONPLANSCHEDULERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerResult.h b/emr/include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerResult.h deleted file mode 100644 index 528bdb19e..000000000 --- a/emr/include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_SUSPENDEXECUTIONPLANSCHEDULERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_SUSPENDEXECUTIONPLANSCHEDULERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SuspendExecutionPlanSchedulerResult : public ServiceResult - { - public: - - - SuspendExecutionPlanSchedulerResult(); - explicit SuspendExecutionPlanSchedulerResult(const std::string &payload); - ~SuspendExecutionPlanSchedulerResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SUSPENDEXECUTIONPLANSCHEDULERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UninstallLibrariesRequest.h b/emr/include/alibabacloud/emr/model/UninstallLibrariesRequest.h deleted file mode 100644 index e4ebec469..000000000 --- a/emr/include/alibabacloud/emr/model/UninstallLibrariesRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_UNINSTALLLIBRARIESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UNINSTALLLIBRARIESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UninstallLibrariesRequest : public RpcServiceRequest - { - - public: - UninstallLibrariesRequest(); - ~UninstallLibrariesRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getLibraryBizId()const; - void setLibraryBizId(const std::string& libraryBizId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getClusterBizIdList()const; - void setClusterBizIdList(const std::vector& clusterBizIdList); - - private: - long resourceOwnerId_; - std::string libraryBizId_; - std::string accessKeyId_; - std::string regionId_; - std::vector clusterBizIdList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UNINSTALLLIBRARIESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UninstallLibrariesResult.h b/emr/include/alibabacloud/emr/model/UninstallLibrariesResult.h deleted file mode 100644 index 57ea5395e..000000000 --- a/emr/include/alibabacloud/emr/model/UninstallLibrariesResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_UNINSTALLLIBRARIESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UNINSTALLLIBRARIESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UninstallLibrariesResult : public ServiceResult - { - public: - - - UninstallLibrariesResult(); - explicit UninstallLibrariesResult(const std::string &payload); - ~UninstallLibrariesResult(); - std::string getData()const; - - protected: - void parse(const std::string &payload); - private: - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UNINSTALLLIBRARIESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateDataSourceRequest.h b/emr/include/alibabacloud/emr/model/UpdateDataSourceRequest.h deleted file mode 100644 index 838bd7482..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateDataSourceRequest.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_UPDATEDATASOURCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEDATASOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateDataSourceRequest : public RpcServiceRequest - { - - public: - UpdateDataSourceRequest(); - ~UpdateDataSourceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getConf()const; - void setConf(const std::string& conf); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getId()const; - void setId(const std::string& id); - - private: - long resourceOwnerId_; - std::string description_; - std::string conf_; - std::string accessKeyId_; - std::string resourceGroupId_; - std::string regionId_; - std::string name_; - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEDATASOURCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateDataSourceResult.h b/emr/include/alibabacloud/emr/model/UpdateDataSourceResult.h deleted file mode 100644 index 222f1b44b..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateDataSourceResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_UPDATEDATASOURCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEDATASOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateDataSourceResult : public ServiceResult - { - public: - - - UpdateDataSourceResult(); - explicit UpdateDataSourceResult(const std::string &payload); - ~UpdateDataSourceResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusRequest.h b/emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusRequest.h deleted file mode 100644 index 71327ec2b..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_UPDATELIBRARYINSTALLTASKSTATUSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATELIBRARYINSTALLTASKSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateLibraryInstallTaskStatusRequest : public RpcServiceRequest - { - - public: - UpdateLibraryInstallTaskStatusRequest(); - ~UpdateLibraryInstallTaskStatusRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTaskBizId()const; - void setTaskBizId(const std::string& taskBizId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - long resourceOwnerId_; - std::string taskBizId_; - std::string accessKeyId_; - std::string regionId_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATELIBRARYINSTALLTASKSTATUSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusResult.h b/emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusResult.h deleted file mode 100644 index 9e0115e39..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_UPDATELIBRARYINSTALLTASKSTATUSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATELIBRARYINSTALLTASKSTATUSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateLibraryInstallTaskStatusResult : public ServiceResult - { - public: - - - UpdateLibraryInstallTaskStatusResult(); - explicit UpdateLibraryInstallTaskStatusResult(const std::string &payload); - ~UpdateLibraryInstallTaskStatusResult(); - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATELIBRARYINSTALLTASKSTATUSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateTagRequest.h b/emr/include/alibabacloud/emr/model/UpdateTagRequest.h deleted file mode 100644 index 9b686d0eb..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateTagRequest.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_UPDATETAGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATETAGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateTagRequest : public RpcServiceRequest - { - - public: - UpdateTagRequest(); - ~UpdateTagRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - long getId()const; - void setId(long id); - std::string getCategory()const; - void setCategory(const std::string& category); - - private: - long resourceOwnerId_; - std::string description_; - std::string accessKeyId_; - std::string regionId_; - std::string name_; - long id_; - std::string category_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATETAGREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateTagResult.h b/emr/include/alibabacloud/emr/model/UpdateTagResult.h deleted file mode 100644 index 227837e09..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateTagResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_UPDATETAGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATETAGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateTagResult : public ServiceResult - { - public: - - - UpdateTagResult(); - explicit UpdateTagResult(const std::string &payload); - ~UpdateTagResult(); - std::string getData()const; - - protected: - void parse(const std::string &payload); - private: - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATETAGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateUserRequest.h b/emr/include/alibabacloud/emr/model/UpdateUserRequest.h deleted file mode 100644 index 50ed4861a..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateUserRequest.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_UPDATEUSERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateUserRequest : public RpcServiceRequest - { - public: - struct UserAccountParamList - { - std::string accountType; - std::string authType; - std::string accountPassword; - }; - - public: - UpdateUserRequest(); - ~UpdateUserRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getUserType()const; - void setUserType(const std::string& userType); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::vector getUserAccountParamList()const; - void setUserAccountParamList(const std::vector& userAccountParamList); - std::vector getGroupIdList()const; - void setGroupIdList(const std::vector& groupIdList); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getRoleIdList()const; - void setRoleIdList(const std::vector& roleIdList); - std::string getAliyunUserId()const; - void setAliyunUserId(const std::string& aliyunUserId); - std::string getUserName()const; - void setUserName(const std::string& userName); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - long resourceOwnerId_; - std::string userType_; - std::string description_; - std::string accessKeyId_; - std::vector userAccountParamList_; - std::vector groupIdList_; - std::string regionId_; - std::vector roleIdList_; - std::string aliyunUserId_; - std::string userName_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEUSERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateUserResult.h b/emr/include/alibabacloud/emr/model/UpdateUserResult.h deleted file mode 100644 index 0435f2196..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateUserResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_UPDATEUSERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEUSERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateUserResult : public ServiceResult - { - public: - - - UpdateUserResult(); - explicit UpdateUserResult(const std::string &payload); - ~UpdateUserResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEUSERRESULT_H_ \ No newline at end of file diff --git a/emr/src/EmrClient.cc b/emr/src/EmrClient.cc index 022e4ebe8..336942800 100644 --- a/emr/src/EmrClient.cc +++ b/emr/src/EmrClient.cc @@ -123,78 +123,6 @@ EmrClient::AddScalingConfigItemV2OutcomeCallable EmrClient::addScalingConfigItem return task->get_future(); } -EmrClient::AuthorizeSecurityGroupOutcome EmrClient::authorizeSecurityGroup(const AuthorizeSecurityGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AuthorizeSecurityGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AuthorizeSecurityGroupOutcome(AuthorizeSecurityGroupResult(outcome.result())); - else - return AuthorizeSecurityGroupOutcome(outcome.error()); -} - -void EmrClient::authorizeSecurityGroupAsync(const AuthorizeSecurityGroupRequest& request, const AuthorizeSecurityGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, authorizeSecurityGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::AuthorizeSecurityGroupOutcomeCallable EmrClient::authorizeSecurityGroupCallable(const AuthorizeSecurityGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->authorizeSecurityGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CancelOrderOutcome EmrClient::cancelOrder(const CancelOrderRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CancelOrderOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CancelOrderOutcome(CancelOrderResult(outcome.result())); - else - return CancelOrderOutcome(outcome.error()); -} - -void EmrClient::cancelOrderAsync(const CancelOrderRequest& request, const CancelOrderAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, cancelOrder(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CancelOrderOutcomeCallable EmrClient::cancelOrderCallable(const CancelOrderRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->cancelOrder(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CloneFlowOutcome EmrClient::cloneFlow(const CloneFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -267,150 +195,6 @@ EmrClient::CloneFlowJobOutcomeCallable EmrClient::cloneFlowJobCallable(const Clo return task->get_future(); } -EmrClient::CreateBackupOutcome EmrClient::createBackup(const CreateBackupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateBackupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateBackupOutcome(CreateBackupResult(outcome.result())); - else - return CreateBackupOutcome(outcome.error()); -} - -void EmrClient::createBackupAsync(const CreateBackupRequest& request, const CreateBackupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createBackup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateBackupOutcomeCallable EmrClient::createBackupCallable(const CreateBackupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createBackup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateBackupPlanOutcome EmrClient::createBackupPlan(const CreateBackupPlanRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateBackupPlanOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateBackupPlanOutcome(CreateBackupPlanResult(outcome.result())); - else - return CreateBackupPlanOutcome(outcome.error()); -} - -void EmrClient::createBackupPlanAsync(const CreateBackupPlanRequest& request, const CreateBackupPlanAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createBackupPlan(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateBackupPlanOutcomeCallable EmrClient::createBackupPlanCallable(const CreateBackupPlanRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createBackupPlan(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateClusterBootstrapActionOutcome EmrClient::createClusterBootstrapAction(const CreateClusterBootstrapActionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateClusterBootstrapActionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateClusterBootstrapActionOutcome(CreateClusterBootstrapActionResult(outcome.result())); - else - return CreateClusterBootstrapActionOutcome(outcome.error()); -} - -void EmrClient::createClusterBootstrapActionAsync(const CreateClusterBootstrapActionRequest& request, const CreateClusterBootstrapActionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createClusterBootstrapAction(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateClusterBootstrapActionOutcomeCallable EmrClient::createClusterBootstrapActionCallable(const CreateClusterBootstrapActionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createClusterBootstrapAction(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateClusterHostGroupOutcome EmrClient::createClusterHostGroup(const CreateClusterHostGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateClusterHostGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateClusterHostGroupOutcome(CreateClusterHostGroupResult(outcome.result())); - else - return CreateClusterHostGroupOutcome(outcome.error()); -} - -void EmrClient::createClusterHostGroupAsync(const CreateClusterHostGroupRequest& request, const CreateClusterHostGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createClusterHostGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateClusterHostGroupOutcomeCallable EmrClient::createClusterHostGroupCallable(const CreateClusterHostGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createClusterHostGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CreateClusterTemplateOutcome EmrClient::createClusterTemplate(const CreateClusterTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -519,78 +303,6 @@ EmrClient::CreateClusterWithTemplateOutcomeCallable EmrClient::createClusterWith return task->get_future(); } -EmrClient::CreateDataSourceOutcome EmrClient::createDataSource(const CreateDataSourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDataSourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDataSourceOutcome(CreateDataSourceResult(outcome.result())); - else - return CreateDataSourceOutcome(outcome.error()); -} - -void EmrClient::createDataSourceAsync(const CreateDataSourceRequest& request, const CreateDataSourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDataSource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateDataSourceOutcomeCallable EmrClient::createDataSourceCallable(const CreateDataSourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDataSource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateExecutionPlanOutcome EmrClient::createExecutionPlan(const CreateExecutionPlanRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateExecutionPlanOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateExecutionPlanOutcome(CreateExecutionPlanResult(outcome.result())); - else - return CreateExecutionPlanOutcome(outcome.error()); -} - -void EmrClient::createExecutionPlanAsync(const CreateExecutionPlanRequest& request, const CreateExecutionPlanAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createExecutionPlan(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateExecutionPlanOutcomeCallable EmrClient::createExecutionPlanCallable(const CreateExecutionPlanRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createExecutionPlan(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CreateFlowOutcome EmrClient::createFlow(const CreateFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -843,114 +555,6 @@ EmrClient::CreateFlowProjectUserOutcomeCallable EmrClient::createFlowProjectUser return task->get_future(); } -EmrClient::CreateJobOutcome EmrClient::createJob(const CreateJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateJobOutcome(CreateJobResult(outcome.result())); - else - return CreateJobOutcome(outcome.error()); -} - -void EmrClient::createJobAsync(const CreateJobRequest& request, const CreateJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateJobOutcomeCallable EmrClient::createJobCallable(const CreateJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateLibraryOutcome EmrClient::createLibrary(const CreateLibraryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateLibraryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateLibraryOutcome(CreateLibraryResult(outcome.result())); - else - return CreateLibraryOutcome(outcome.error()); -} - -void EmrClient::createLibraryAsync(const CreateLibraryRequest& request, const CreateLibraryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createLibrary(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateLibraryOutcomeCallable EmrClient::createLibraryCallable(const CreateLibraryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createLibrary(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateMetaTablePreviewTaskOutcome EmrClient::createMetaTablePreviewTask(const CreateMetaTablePreviewTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateMetaTablePreviewTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateMetaTablePreviewTaskOutcome(CreateMetaTablePreviewTaskResult(outcome.result())); - else - return CreateMetaTablePreviewTaskOutcome(outcome.error()); -} - -void EmrClient::createMetaTablePreviewTaskAsync(const CreateMetaTablePreviewTaskRequest& request, const CreateMetaTablePreviewTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createMetaTablePreviewTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateMetaTablePreviewTaskOutcomeCallable EmrClient::createMetaTablePreviewTaskCallable(const CreateMetaTablePreviewTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createMetaTablePreviewTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CreateResourcePoolOutcome EmrClient::createResourcePool(const CreateResourcePoolRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1059,186 +663,6 @@ EmrClient::CreateScalingGroupV2OutcomeCallable EmrClient::createScalingGroupV2Ca return task->get_future(); } -EmrClient::CreateScalingRuleOutcome EmrClient::createScalingRule(const CreateScalingRuleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateScalingRuleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateScalingRuleOutcome(CreateScalingRuleResult(outcome.result())); - else - return CreateScalingRuleOutcome(outcome.error()); -} - -void EmrClient::createScalingRuleAsync(const CreateScalingRuleRequest& request, const CreateScalingRuleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createScalingRule(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateScalingRuleOutcomeCallable EmrClient::createScalingRuleCallable(const CreateScalingRuleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createScalingRule(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateTagOutcome EmrClient::createTag(const CreateTagRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateTagOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateTagOutcome(CreateTagResult(outcome.result())); - else - return CreateTagOutcome(outcome.error()); -} - -void EmrClient::createTagAsync(const CreateTagRequest& request, const CreateTagAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createTag(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateTagOutcomeCallable EmrClient::createTagCallable(const CreateTagRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createTag(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateUserOutcome EmrClient::createUser(const CreateUserRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateUserOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateUserOutcome(CreateUserResult(outcome.result())); - else - return CreateUserOutcome(outcome.error()); -} - -void EmrClient::createUserAsync(const CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createUser(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateUserOutcomeCallable EmrClient::createUserCallable(const CreateUserRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createUser(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateUsersOutcome EmrClient::createUsers(const CreateUsersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateUsersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateUsersOutcome(CreateUsersResult(outcome.result())); - else - return CreateUsersOutcome(outcome.error()); -} - -void EmrClient::createUsersAsync(const CreateUsersRequest& request, const CreateUsersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createUsers(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateUsersOutcomeCallable EmrClient::createUsersCallable(const CreateUsersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createUsers(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DecommissionHostComponentOutcome EmrClient::decommissionHostComponent(const DecommissionHostComponentRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DecommissionHostComponentOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DecommissionHostComponentOutcome(DecommissionHostComponentResult(outcome.result())); - else - return DecommissionHostComponentOutcome(outcome.error()); -} - -void EmrClient::decommissionHostComponentAsync(const DecommissionHostComponentRequest& request, const DecommissionHostComponentAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, decommissionHostComponent(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DecommissionHostComponentOutcomeCallable EmrClient::decommissionHostComponentCallable(const DecommissionHostComponentRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->decommissionHostComponent(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DeleteClusterTemplateOutcome EmrClient::deleteClusterTemplate(const DeleteClusterTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1275,42 +699,6 @@ EmrClient::DeleteClusterTemplateOutcomeCallable EmrClient::deleteClusterTemplate return task->get_future(); } -EmrClient::DeleteExecutionPlanOutcome EmrClient::deleteExecutionPlan(const DeleteExecutionPlanRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteExecutionPlanOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteExecutionPlanOutcome(DeleteExecutionPlanResult(outcome.result())); - else - return DeleteExecutionPlanOutcome(outcome.error()); -} - -void EmrClient::deleteExecutionPlanAsync(const DeleteExecutionPlanRequest& request, const DeleteExecutionPlanAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteExecutionPlan(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteExecutionPlanOutcomeCallable EmrClient::deleteExecutionPlanCallable(const DeleteExecutionPlanRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteExecutionPlan(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DeleteFlowOutcome EmrClient::deleteFlow(const DeleteFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1527,78 +915,6 @@ EmrClient::DeleteFlowProjectUserOutcomeCallable EmrClient::deleteFlowProjectUser return task->get_future(); } -EmrClient::DeleteJobOutcome EmrClient::deleteJob(const DeleteJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteJobOutcome(DeleteJobResult(outcome.result())); - else - return DeleteJobOutcome(outcome.error()); -} - -void EmrClient::deleteJobAsync(const DeleteJobRequest& request, const DeleteJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteJobOutcomeCallable EmrClient::deleteJobCallable(const DeleteJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DeleteLibrariesOutcome EmrClient::deleteLibraries(const DeleteLibrariesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteLibrariesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteLibrariesOutcome(DeleteLibrariesResult(outcome.result())); - else - return DeleteLibrariesOutcome(outcome.error()); -} - -void EmrClient::deleteLibrariesAsync(const DeleteLibrariesRequest& request, const DeleteLibrariesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteLibraries(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteLibrariesOutcomeCallable EmrClient::deleteLibrariesCallable(const DeleteLibrariesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteLibraries(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DeleteResourcePoolOutcome EmrClient::deleteResourcePool(const DeleteResourcePoolRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1671,114 +987,6 @@ EmrClient::DeleteResourceQueueOutcomeCallable EmrClient::deleteResourceQueueCall return task->get_future(); } -EmrClient::DeleteScalingRuleOutcome EmrClient::deleteScalingRule(const DeleteScalingRuleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteScalingRuleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteScalingRuleOutcome(DeleteScalingRuleResult(outcome.result())); - else - return DeleteScalingRuleOutcome(outcome.error()); -} - -void EmrClient::deleteScalingRuleAsync(const DeleteScalingRuleRequest& request, const DeleteScalingRuleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteScalingRule(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteScalingRuleOutcomeCallable EmrClient::deleteScalingRuleCallable(const DeleteScalingRuleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteScalingRule(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DeleteTagOutcome EmrClient::deleteTag(const DeleteTagRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteTagOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteTagOutcome(DeleteTagResult(outcome.result())); - else - return DeleteTagOutcome(outcome.error()); -} - -void EmrClient::deleteTagAsync(const DeleteTagRequest& request, const DeleteTagAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteTag(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteTagOutcomeCallable EmrClient::deleteTagCallable(const DeleteTagRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteTag(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DeleteUserOutcome EmrClient::deleteUser(const DeleteUserRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteUserOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteUserOutcome(DeleteUserResult(outcome.result())); - else - return DeleteUserOutcome(outcome.error()); -} - -void EmrClient::deleteUserAsync(const DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteUser(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteUserOutcomeCallable EmrClient::deleteUserCallable(const DeleteUserRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteUser(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeClusterBasicInfoOutcome EmrClient::describeClusterBasicInfo(const DescribeClusterBasicInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1815,42 +1023,6 @@ EmrClient::DescribeClusterBasicInfoOutcomeCallable EmrClient::describeClusterBas return task->get_future(); } -EmrClient::DescribeClusterMetaCollectOutcome EmrClient::describeClusterMetaCollect(const DescribeClusterMetaCollectRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeClusterMetaCollectOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeClusterMetaCollectOutcome(DescribeClusterMetaCollectResult(outcome.result())); - else - return DescribeClusterMetaCollectOutcome(outcome.error()); -} - -void EmrClient::describeClusterMetaCollectAsync(const DescribeClusterMetaCollectRequest& request, const DescribeClusterMetaCollectAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeClusterMetaCollect(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeClusterMetaCollectOutcomeCallable EmrClient::describeClusterMetaCollectCallable(const DescribeClusterMetaCollectRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeClusterMetaCollect(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeClusterOperationHostTaskLogOutcome EmrClient::describeClusterOperationHostTaskLog(const DescribeClusterOperationHostTaskLogRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1995,42 +1167,6 @@ EmrClient::DescribeClusterServiceConfigOutcomeCallable EmrClient::describeCluste return task->get_future(); } -EmrClient::DescribeClusterServiceConfigHistoryOutcome EmrClient::describeClusterServiceConfigHistory(const DescribeClusterServiceConfigHistoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeClusterServiceConfigHistoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeClusterServiceConfigHistoryOutcome(DescribeClusterServiceConfigHistoryResult(outcome.result())); - else - return DescribeClusterServiceConfigHistoryOutcome(outcome.error()); -} - -void EmrClient::describeClusterServiceConfigHistoryAsync(const DescribeClusterServiceConfigHistoryRequest& request, const DescribeClusterServiceConfigHistoryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeClusterServiceConfigHistory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeClusterServiceConfigHistoryOutcomeCallable EmrClient::describeClusterServiceConfigHistoryCallable(const DescribeClusterServiceConfigHistoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeClusterServiceConfigHistory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeClusterServiceConfigTagOutcome EmrClient::describeClusterServiceConfigTag(const DescribeClusterServiceConfigTagRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2139,150 +1275,6 @@ EmrClient::DescribeClusterV2OutcomeCallable EmrClient::describeClusterV2Callable return task->get_future(); } -EmrClient::DescribeDataSourceOutcome EmrClient::describeDataSource(const DescribeDataSourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDataSourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDataSourceOutcome(DescribeDataSourceResult(outcome.result())); - else - return DescribeDataSourceOutcome(outcome.error()); -} - -void EmrClient::describeDataSourceAsync(const DescribeDataSourceRequest& request, const DescribeDataSourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDataSource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeDataSourceOutcomeCallable EmrClient::describeDataSourceCallable(const DescribeDataSourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDataSource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeDiskOpsActivityOutcome EmrClient::describeDiskOpsActivity(const DescribeDiskOpsActivityRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDiskOpsActivityOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDiskOpsActivityOutcome(DescribeDiskOpsActivityResult(outcome.result())); - else - return DescribeDiskOpsActivityOutcome(outcome.error()); -} - -void EmrClient::describeDiskOpsActivityAsync(const DescribeDiskOpsActivityRequest& request, const DescribeDiskOpsActivityAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDiskOpsActivity(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeDiskOpsActivityOutcomeCallable EmrClient::describeDiskOpsActivityCallable(const DescribeDiskOpsActivityRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDiskOpsActivity(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeEmrMainVersionOutcome EmrClient::describeEmrMainVersion(const DescribeEmrMainVersionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeEmrMainVersionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeEmrMainVersionOutcome(DescribeEmrMainVersionResult(outcome.result())); - else - return DescribeEmrMainVersionOutcome(outcome.error()); -} - -void EmrClient::describeEmrMainVersionAsync(const DescribeEmrMainVersionRequest& request, const DescribeEmrMainVersionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeEmrMainVersion(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeEmrMainVersionOutcomeCallable EmrClient::describeEmrMainVersionCallable(const DescribeEmrMainVersionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeEmrMainVersion(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeExecutionPlanOutcome EmrClient::describeExecutionPlan(const DescribeExecutionPlanRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeExecutionPlanOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeExecutionPlanOutcome(DescribeExecutionPlanResult(outcome.result())); - else - return DescribeExecutionPlanOutcome(outcome.error()); -} - -void EmrClient::describeExecutionPlanAsync(const DescribeExecutionPlanRequest& request, const DescribeExecutionPlanAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeExecutionPlan(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeExecutionPlanOutcomeCallable EmrClient::describeExecutionPlanCallable(const DescribeExecutionPlanRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeExecutionPlan(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeFlowOutcome EmrClient::describeFlow(const DescribeFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2643,186 +1635,6 @@ EmrClient::DescribeFlowProjectClusterSettingOutcomeCallable EmrClient::describeF return task->get_future(); } -EmrClient::DescribeJobOutcome EmrClient::describeJob(const DescribeJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeJobOutcome(DescribeJobResult(outcome.result())); - else - return DescribeJobOutcome(outcome.error()); -} - -void EmrClient::describeJobAsync(const DescribeJobRequest& request, const DescribeJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeJobOutcomeCallable EmrClient::describeJobCallable(const DescribeJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeLibraryDetailOutcome EmrClient::describeLibraryDetail(const DescribeLibraryDetailRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLibraryDetailOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLibraryDetailOutcome(DescribeLibraryDetailResult(outcome.result())); - else - return DescribeLibraryDetailOutcome(outcome.error()); -} - -void EmrClient::describeLibraryDetailAsync(const DescribeLibraryDetailRequest& request, const DescribeLibraryDetailAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLibraryDetail(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeLibraryDetailOutcomeCallable EmrClient::describeLibraryDetailCallable(const DescribeLibraryDetailRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLibraryDetail(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeLibraryInstallTaskDetailOutcome EmrClient::describeLibraryInstallTaskDetail(const DescribeLibraryInstallTaskDetailRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLibraryInstallTaskDetailOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLibraryInstallTaskDetailOutcome(DescribeLibraryInstallTaskDetailResult(outcome.result())); - else - return DescribeLibraryInstallTaskDetailOutcome(outcome.error()); -} - -void EmrClient::describeLibraryInstallTaskDetailAsync(const DescribeLibraryInstallTaskDetailRequest& request, const DescribeLibraryInstallTaskDetailAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLibraryInstallTaskDetail(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeLibraryInstallTaskDetailOutcomeCallable EmrClient::describeLibraryInstallTaskDetailCallable(const DescribeLibraryInstallTaskDetailRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLibraryInstallTaskDetail(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeMetaTablePreviewTaskOutcome EmrClient::describeMetaTablePreviewTask(const DescribeMetaTablePreviewTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeMetaTablePreviewTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeMetaTablePreviewTaskOutcome(DescribeMetaTablePreviewTaskResult(outcome.result())); - else - return DescribeMetaTablePreviewTaskOutcome(outcome.error()); -} - -void EmrClient::describeMetaTablePreviewTaskAsync(const DescribeMetaTablePreviewTaskRequest& request, const DescribeMetaTablePreviewTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeMetaTablePreviewTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeMetaTablePreviewTaskOutcomeCallable EmrClient::describeMetaTablePreviewTaskCallable(const DescribeMetaTablePreviewTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeMetaTablePreviewTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeScalingActivityOutcome EmrClient::describeScalingActivity(const DescribeScalingActivityRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeScalingActivityOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeScalingActivityOutcome(DescribeScalingActivityResult(outcome.result())); - else - return DescribeScalingActivityOutcome(outcome.error()); -} - -void EmrClient::describeScalingActivityAsync(const DescribeScalingActivityRequest& request, const DescribeScalingActivityAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeScalingActivity(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeScalingActivityOutcomeCallable EmrClient::describeScalingActivityCallable(const DescribeScalingActivityRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeScalingActivity(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeScalingCommonConfigOutcome EmrClient::describeScalingCommonConfig(const DescribeScalingCommonConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2967,510 +1779,6 @@ EmrClient::DescribeScalingGroupV2OutcomeCallable EmrClient::describeScalingGroup return task->get_future(); } -EmrClient::DescribeScalingRuleOutcome EmrClient::describeScalingRule(const DescribeScalingRuleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeScalingRuleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeScalingRuleOutcome(DescribeScalingRuleResult(outcome.result())); - else - return DescribeScalingRuleOutcome(outcome.error()); -} - -void EmrClient::describeScalingRuleAsync(const DescribeScalingRuleRequest& request, const DescribeScalingRuleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeScalingRule(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeScalingRuleOutcomeCallable EmrClient::describeScalingRuleCallable(const DescribeScalingRuleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeScalingRule(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeSecurityGroupAttributeOutcome EmrClient::describeSecurityGroupAttribute(const DescribeSecurityGroupAttributeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeSecurityGroupAttributeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeSecurityGroupAttributeOutcome(DescribeSecurityGroupAttributeResult(outcome.result())); - else - return DescribeSecurityGroupAttributeOutcome(outcome.error()); -} - -void EmrClient::describeSecurityGroupAttributeAsync(const DescribeSecurityGroupAttributeRequest& request, const DescribeSecurityGroupAttributeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeSecurityGroupAttribute(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeSecurityGroupAttributeOutcomeCallable EmrClient::describeSecurityGroupAttributeCallable(const DescribeSecurityGroupAttributeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeSecurityGroupAttribute(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DetachAndReleaseClusterEniOutcome EmrClient::detachAndReleaseClusterEni(const DetachAndReleaseClusterEniRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DetachAndReleaseClusterEniOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DetachAndReleaseClusterEniOutcome(DetachAndReleaseClusterEniResult(outcome.result())); - else - return DetachAndReleaseClusterEniOutcome(outcome.error()); -} - -void EmrClient::detachAndReleaseClusterEniAsync(const DetachAndReleaseClusterEniRequest& request, const DetachAndReleaseClusterEniAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, detachAndReleaseClusterEni(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DetachAndReleaseClusterEniOutcomeCallable EmrClient::detachAndReleaseClusterEniCallable(const DetachAndReleaseClusterEniRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->detachAndReleaseClusterEni(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetHdfsCapacityStatisticInfoOutcome EmrClient::getHdfsCapacityStatisticInfo(const GetHdfsCapacityStatisticInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetHdfsCapacityStatisticInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetHdfsCapacityStatisticInfoOutcome(GetHdfsCapacityStatisticInfoResult(outcome.result())); - else - return GetHdfsCapacityStatisticInfoOutcome(outcome.error()); -} - -void EmrClient::getHdfsCapacityStatisticInfoAsync(const GetHdfsCapacityStatisticInfoRequest& request, const GetHdfsCapacityStatisticInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getHdfsCapacityStatisticInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetHdfsCapacityStatisticInfoOutcomeCallable EmrClient::getHdfsCapacityStatisticInfoCallable(const GetHdfsCapacityStatisticInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getHdfsCapacityStatisticInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetJobInputStatisticInfoOutcome EmrClient::getJobInputStatisticInfo(const GetJobInputStatisticInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetJobInputStatisticInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetJobInputStatisticInfoOutcome(GetJobInputStatisticInfoResult(outcome.result())); - else - return GetJobInputStatisticInfoOutcome(outcome.error()); -} - -void EmrClient::getJobInputStatisticInfoAsync(const GetJobInputStatisticInfoRequest& request, const GetJobInputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getJobInputStatisticInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetJobInputStatisticInfoOutcomeCallable EmrClient::getJobInputStatisticInfoCallable(const GetJobInputStatisticInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getJobInputStatisticInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetJobOutputStatisticInfoOutcome EmrClient::getJobOutputStatisticInfo(const GetJobOutputStatisticInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetJobOutputStatisticInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetJobOutputStatisticInfoOutcome(GetJobOutputStatisticInfoResult(outcome.result())); - else - return GetJobOutputStatisticInfoOutcome(outcome.error()); -} - -void EmrClient::getJobOutputStatisticInfoAsync(const GetJobOutputStatisticInfoRequest& request, const GetJobOutputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getJobOutputStatisticInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetJobOutputStatisticInfoOutcomeCallable EmrClient::getJobOutputStatisticInfoCallable(const GetJobOutputStatisticInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getJobOutputStatisticInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetJobRunningTimeStatisticInfoOutcome EmrClient::getJobRunningTimeStatisticInfo(const GetJobRunningTimeStatisticInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetJobRunningTimeStatisticInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetJobRunningTimeStatisticInfoOutcome(GetJobRunningTimeStatisticInfoResult(outcome.result())); - else - return GetJobRunningTimeStatisticInfoOutcome(outcome.error()); -} - -void EmrClient::getJobRunningTimeStatisticInfoAsync(const GetJobRunningTimeStatisticInfoRequest& request, const GetJobRunningTimeStatisticInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getJobRunningTimeStatisticInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetJobRunningTimeStatisticInfoOutcomeCallable EmrClient::getJobRunningTimeStatisticInfoCallable(const GetJobRunningTimeStatisticInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getJobRunningTimeStatisticInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetQueueInputStatisticInfoOutcome EmrClient::getQueueInputStatisticInfo(const GetQueueInputStatisticInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetQueueInputStatisticInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetQueueInputStatisticInfoOutcome(GetQueueInputStatisticInfoResult(outcome.result())); - else - return GetQueueInputStatisticInfoOutcome(outcome.error()); -} - -void EmrClient::getQueueInputStatisticInfoAsync(const GetQueueInputStatisticInfoRequest& request, const GetQueueInputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getQueueInputStatisticInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetQueueInputStatisticInfoOutcomeCallable EmrClient::getQueueInputStatisticInfoCallable(const GetQueueInputStatisticInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getQueueInputStatisticInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetQueueOutputStatisticInfoOutcome EmrClient::getQueueOutputStatisticInfo(const GetQueueOutputStatisticInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetQueueOutputStatisticInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetQueueOutputStatisticInfoOutcome(GetQueueOutputStatisticInfoResult(outcome.result())); - else - return GetQueueOutputStatisticInfoOutcome(outcome.error()); -} - -void EmrClient::getQueueOutputStatisticInfoAsync(const GetQueueOutputStatisticInfoRequest& request, const GetQueueOutputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getQueueOutputStatisticInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetQueueOutputStatisticInfoOutcomeCallable EmrClient::getQueueOutputStatisticInfoCallable(const GetQueueOutputStatisticInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getQueueOutputStatisticInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetQueueSubmissionStatisticInfoOutcome EmrClient::getQueueSubmissionStatisticInfo(const GetQueueSubmissionStatisticInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetQueueSubmissionStatisticInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetQueueSubmissionStatisticInfoOutcome(GetQueueSubmissionStatisticInfoResult(outcome.result())); - else - return GetQueueSubmissionStatisticInfoOutcome(outcome.error()); -} - -void EmrClient::getQueueSubmissionStatisticInfoAsync(const GetQueueSubmissionStatisticInfoRequest& request, const GetQueueSubmissionStatisticInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getQueueSubmissionStatisticInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetQueueSubmissionStatisticInfoOutcomeCallable EmrClient::getQueueSubmissionStatisticInfoCallable(const GetQueueSubmissionStatisticInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getQueueSubmissionStatisticInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetUserInputStatisticInfoOutcome EmrClient::getUserInputStatisticInfo(const GetUserInputStatisticInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetUserInputStatisticInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetUserInputStatisticInfoOutcome(GetUserInputStatisticInfoResult(outcome.result())); - else - return GetUserInputStatisticInfoOutcome(outcome.error()); -} - -void EmrClient::getUserInputStatisticInfoAsync(const GetUserInputStatisticInfoRequest& request, const GetUserInputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getUserInputStatisticInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetUserInputStatisticInfoOutcomeCallable EmrClient::getUserInputStatisticInfoCallable(const GetUserInputStatisticInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getUserInputStatisticInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetUserOutputStatisticInfoOutcome EmrClient::getUserOutputStatisticInfo(const GetUserOutputStatisticInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetUserOutputStatisticInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetUserOutputStatisticInfoOutcome(GetUserOutputStatisticInfoResult(outcome.result())); - else - return GetUserOutputStatisticInfoOutcome(outcome.error()); -} - -void EmrClient::getUserOutputStatisticInfoAsync(const GetUserOutputStatisticInfoRequest& request, const GetUserOutputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getUserOutputStatisticInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetUserOutputStatisticInfoOutcomeCallable EmrClient::getUserOutputStatisticInfoCallable(const GetUserOutputStatisticInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getUserOutputStatisticInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetUserSubmissionStatisticInfoOutcome EmrClient::getUserSubmissionStatisticInfo(const GetUserSubmissionStatisticInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetUserSubmissionStatisticInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetUserSubmissionStatisticInfoOutcome(GetUserSubmissionStatisticInfoResult(outcome.result())); - else - return GetUserSubmissionStatisticInfoOutcome(outcome.error()); -} - -void EmrClient::getUserSubmissionStatisticInfoAsync(const GetUserSubmissionStatisticInfoRequest& request, const GetUserSubmissionStatisticInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getUserSubmissionStatisticInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetUserSubmissionStatisticInfoOutcomeCallable EmrClient::getUserSubmissionStatisticInfoCallable(const GetUserSubmissionStatisticInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getUserSubmissionStatisticInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::InstallLibrariesOutcome EmrClient::installLibraries(const InstallLibrariesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return InstallLibrariesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return InstallLibrariesOutcome(InstallLibrariesResult(outcome.result())); - else - return InstallLibrariesOutcome(outcome.error()); -} - -void EmrClient::installLibrariesAsync(const InstallLibrariesRequest& request, const InstallLibrariesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, installLibraries(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::InstallLibrariesOutcomeCallable EmrClient::installLibrariesCallable(const InstallLibrariesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->installLibraries(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::JoinResourceGroupOutcome EmrClient::joinResourceGroup(const JoinResourceGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3543,42 +1851,6 @@ EmrClient::KillFlowJobOutcomeCallable EmrClient::killFlowJobCallable(const KillF return task->get_future(); } -EmrClient::ListAdviceActionOutcome EmrClient::listAdviceAction(const ListAdviceActionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListAdviceActionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListAdviceActionOutcome(ListAdviceActionResult(outcome.result())); - else - return ListAdviceActionOutcome(outcome.error()); -} - -void EmrClient::listAdviceActionAsync(const ListAdviceActionRequest& request, const ListAdviceActionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listAdviceAction(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListAdviceActionOutcomeCallable EmrClient::listAdviceActionCallable(const ListAdviceActionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listAdviceAction(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListApmApplicationOutcome EmrClient::listApmApplication(const ListApmApplicationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3615,42 +1887,6 @@ EmrClient::ListApmApplicationOutcomeCallable EmrClient::listApmApplicationCallab return task->get_future(); } -EmrClient::ListBackupsOutcome EmrClient::listBackups(const ListBackupsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListBackupsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListBackupsOutcome(ListBackupsResult(outcome.result())); - else - return ListBackupsOutcome(outcome.error()); -} - -void EmrClient::listBackupsAsync(const ListBackupsRequest& request, const ListBackupsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listBackups(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListBackupsOutcomeCallable EmrClient::listBackupsCallable(const ListBackupsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listBackups(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListClusterHostOutcome EmrClient::listClusterHost(const ListClusterHostRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4191,78 +2427,6 @@ EmrClient::ListClustersOutcomeCallable EmrClient::listClustersCallable(const Lis return task->get_future(); } -EmrClient::ListDataSourceOutcome EmrClient::listDataSource(const ListDataSourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDataSourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDataSourceOutcome(ListDataSourceResult(outcome.result())); - else - return ListDataSourceOutcome(outcome.error()); -} - -void EmrClient::listDataSourceAsync(const ListDataSourceRequest& request, const ListDataSourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDataSource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListDataSourceOutcomeCallable EmrClient::listDataSourceCallable(const ListDataSourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDataSource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListDiskOpsEventsOutcome EmrClient::listDiskOpsEvents(const ListDiskOpsEventsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDiskOpsEventsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDiskOpsEventsOutcome(ListDiskOpsEventsResult(outcome.result())); - else - return ListDiskOpsEventsOutcome(outcome.error()); -} - -void EmrClient::listDiskOpsEventsAsync(const ListDiskOpsEventsRequest& request, const ListDiskOpsEventsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDiskOpsEvents(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListDiskOpsEventsOutcomeCallable EmrClient::listDiskOpsEventsCallable(const ListDiskOpsEventsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDiskOpsEvents(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListEmrAvailableConfigOutcome EmrClient::listEmrAvailableConfig(const ListEmrAvailableConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4371,42 +2535,6 @@ EmrClient::ListEmrMainVersionOutcomeCallable EmrClient::listEmrMainVersionCallab return task->get_future(); } -EmrClient::ListExecutionPlanInstancesOutcome EmrClient::listExecutionPlanInstances(const ListExecutionPlanInstancesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListExecutionPlanInstancesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListExecutionPlanInstancesOutcome(ListExecutionPlanInstancesResult(outcome.result())); - else - return ListExecutionPlanInstancesOutcome(outcome.error()); -} - -void EmrClient::listExecutionPlanInstancesAsync(const ListExecutionPlanInstancesRequest& request, const ListExecutionPlanInstancesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listExecutionPlanInstances(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListExecutionPlanInstancesOutcomeCallable EmrClient::listExecutionPlanInstancesCallable(const ListExecutionPlanInstancesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listExecutionPlanInstances(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListFlowOutcome EmrClient::listFlow(const ListFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4947,222 +3075,6 @@ EmrClient::ListFlowProjectUserOutcomeCallable EmrClient::listFlowProjectUserCall return task->get_future(); } -EmrClient::ListJobExecutionInstancesOutcome EmrClient::listJobExecutionInstances(const ListJobExecutionInstancesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListJobExecutionInstancesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListJobExecutionInstancesOutcome(ListJobExecutionInstancesResult(outcome.result())); - else - return ListJobExecutionInstancesOutcome(outcome.error()); -} - -void EmrClient::listJobExecutionInstancesAsync(const ListJobExecutionInstancesRequest& request, const ListJobExecutionInstancesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listJobExecutionInstances(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListJobExecutionInstancesOutcomeCallable EmrClient::listJobExecutionInstancesCallable(const ListJobExecutionInstancesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listJobExecutionInstances(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListJobsOutcome EmrClient::listJobs(const ListJobsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListJobsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListJobsOutcome(ListJobsResult(outcome.result())); - else - return ListJobsOutcome(outcome.error()); -} - -void EmrClient::listJobsAsync(const ListJobsRequest& request, const ListJobsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listJobs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListJobsOutcomeCallable EmrClient::listJobsCallable(const ListJobsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listJobs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListLibrariesOutcome EmrClient::listLibraries(const ListLibrariesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListLibrariesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListLibrariesOutcome(ListLibrariesResult(outcome.result())); - else - return ListLibrariesOutcome(outcome.error()); -} - -void EmrClient::listLibrariesAsync(const ListLibrariesRequest& request, const ListLibrariesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listLibraries(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListLibrariesOutcomeCallable EmrClient::listLibrariesCallable(const ListLibrariesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listLibraries(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListLibraryInstallTasksOutcome EmrClient::listLibraryInstallTasks(const ListLibraryInstallTasksRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListLibraryInstallTasksOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListLibraryInstallTasksOutcome(ListLibraryInstallTasksResult(outcome.result())); - else - return ListLibraryInstallTasksOutcome(outcome.error()); -} - -void EmrClient::listLibraryInstallTasksAsync(const ListLibraryInstallTasksRequest& request, const ListLibraryInstallTasksAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listLibraryInstallTasks(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListLibraryInstallTasksOutcomeCallable EmrClient::listLibraryInstallTasksCallable(const ListLibraryInstallTasksRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listLibraryInstallTasks(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListLibraryStatusOutcome EmrClient::listLibraryStatus(const ListLibraryStatusRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListLibraryStatusOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListLibraryStatusOutcome(ListLibraryStatusResult(outcome.result())); - else - return ListLibraryStatusOutcome(outcome.error()); -} - -void EmrClient::listLibraryStatusAsync(const ListLibraryStatusRequest& request, const ListLibraryStatusAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listLibraryStatus(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListLibraryStatusOutcomeCallable EmrClient::listLibraryStatusCallable(const ListLibraryStatusRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listLibraryStatus(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListLocalDiskComponentInfoOutcome EmrClient::listLocalDiskComponentInfo(const ListLocalDiskComponentInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListLocalDiskComponentInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListLocalDiskComponentInfoOutcome(ListLocalDiskComponentInfoResult(outcome.result())); - else - return ListLocalDiskComponentInfoOutcome(outcome.error()); -} - -void EmrClient::listLocalDiskComponentInfoAsync(const ListLocalDiskComponentInfoRequest& request, const ListLocalDiskComponentInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listLocalDiskComponentInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListLocalDiskComponentInfoOutcomeCallable EmrClient::listLocalDiskComponentInfoCallable(const ListLocalDiskComponentInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listLocalDiskComponentInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListResourcePoolOutcome EmrClient::listResourcePool(const ListResourcePoolRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5199,42 +3111,6 @@ EmrClient::ListResourcePoolOutcomeCallable EmrClient::listResourcePoolCallable(c return task->get_future(); } -EmrClient::ListRolesOutcome EmrClient::listRoles(const ListRolesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListRolesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListRolesOutcome(ListRolesResult(outcome.result())); - else - return ListRolesOutcome(outcome.error()); -} - -void EmrClient::listRolesAsync(const ListRolesRequest& request, const ListRolesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listRoles(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListRolesOutcomeCallable EmrClient::listRolesCallable(const ListRolesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listRoles(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListScalingActivityV2Outcome EmrClient::listScalingActivityV2(const ListScalingActivityV2Request &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5343,114 +3219,6 @@ EmrClient::ListScalingGroupV2OutcomeCallable EmrClient::listScalingGroupV2Callab return task->get_future(); } -EmrClient::ListSecurityGroupOutcome EmrClient::listSecurityGroup(const ListSecurityGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListSecurityGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListSecurityGroupOutcome(ListSecurityGroupResult(outcome.result())); - else - return ListSecurityGroupOutcome(outcome.error()); -} - -void EmrClient::listSecurityGroupAsync(const ListSecurityGroupRequest& request, const ListSecurityGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listSecurityGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListSecurityGroupOutcomeCallable EmrClient::listSecurityGroupCallable(const ListSecurityGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listSecurityGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListStackOutcome EmrClient::listStack(const ListStackRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListStackOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListStackOutcome(ListStackResult(outcome.result())); - else - return ListStackOutcome(outcome.error()); -} - -void EmrClient::listStackAsync(const ListStackRequest& request, const ListStackAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listStack(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListStackOutcomeCallable EmrClient::listStackCallable(const ListStackRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listStack(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListTagKeysOutcome EmrClient::listTagKeys(const ListTagKeysRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListTagKeysOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListTagKeysOutcome(ListTagKeysResult(outcome.result())); - else - return ListTagKeysOutcome(outcome.error()); -} - -void EmrClient::listTagKeysAsync(const ListTagKeysRequest& request, const ListTagKeysAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listTagKeys(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListTagKeysOutcomeCallable EmrClient::listTagKeysCallable(const ListTagKeysRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listTagKeys(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListTagResourcesOutcome EmrClient::listTagResources(const ListTagResourcesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5487,222 +3255,6 @@ EmrClient::ListTagResourcesOutcomeCallable EmrClient::listTagResourcesCallable(c return task->get_future(); } -EmrClient::ListTagValuesOutcome EmrClient::listTagValues(const ListTagValuesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListTagValuesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListTagValuesOutcome(ListTagValuesResult(outcome.result())); - else - return ListTagValuesOutcome(outcome.error()); -} - -void EmrClient::listTagValuesAsync(const ListTagValuesRequest& request, const ListTagValuesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listTagValues(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListTagValuesOutcomeCallable EmrClient::listTagValuesCallable(const ListTagValuesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listTagValues(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListUsersOutcome EmrClient::listUsers(const ListUsersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListUsersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListUsersOutcome(ListUsersResult(outcome.result())); - else - return ListUsersOutcome(outcome.error()); -} - -void EmrClient::listUsersAsync(const ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listUsers(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListUsersOutcomeCallable EmrClient::listUsersCallable(const ListUsersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listUsers(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListVswitchOutcome EmrClient::listVswitch(const ListVswitchRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListVswitchOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListVswitchOutcome(ListVswitchResult(outcome.result())); - else - return ListVswitchOutcome(outcome.error()); -} - -void EmrClient::listVswitchAsync(const ListVswitchRequest& request, const ListVswitchAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listVswitch(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListVswitchOutcomeCallable EmrClient::listVswitchCallable(const ListVswitchRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listVswitch(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyClusterBootstrapActionOutcome EmrClient::modifyClusterBootstrapAction(const ModifyClusterBootstrapActionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyClusterBootstrapActionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyClusterBootstrapActionOutcome(ModifyClusterBootstrapActionResult(outcome.result())); - else - return ModifyClusterBootstrapActionOutcome(outcome.error()); -} - -void EmrClient::modifyClusterBootstrapActionAsync(const ModifyClusterBootstrapActionRequest& request, const ModifyClusterBootstrapActionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyClusterBootstrapAction(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyClusterBootstrapActionOutcomeCallable EmrClient::modifyClusterBootstrapActionCallable(const ModifyClusterBootstrapActionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyClusterBootstrapAction(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyClusterHostGroupOutcome EmrClient::modifyClusterHostGroup(const ModifyClusterHostGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyClusterHostGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyClusterHostGroupOutcome(ModifyClusterHostGroupResult(outcome.result())); - else - return ModifyClusterHostGroupOutcome(outcome.error()); -} - -void EmrClient::modifyClusterHostGroupAsync(const ModifyClusterHostGroupRequest& request, const ModifyClusterHostGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyClusterHostGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyClusterHostGroupOutcomeCallable EmrClient::modifyClusterHostGroupCallable(const ModifyClusterHostGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyClusterHostGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyClusterMetaCollectOutcome EmrClient::modifyClusterMetaCollect(const ModifyClusterMetaCollectRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyClusterMetaCollectOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyClusterMetaCollectOutcome(ModifyClusterMetaCollectResult(outcome.result())); - else - return ModifyClusterMetaCollectOutcome(outcome.error()); -} - -void EmrClient::modifyClusterMetaCollectAsync(const ModifyClusterMetaCollectRequest& request, const ModifyClusterMetaCollectAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyClusterMetaCollect(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyClusterMetaCollectOutcomeCallable EmrClient::modifyClusterMetaCollectCallable(const ModifyClusterMetaCollectRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyClusterMetaCollect(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ModifyClusterNameOutcome EmrClient::modifyClusterName(const ModifyClusterNameRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5739,42 +3291,6 @@ EmrClient::ModifyClusterNameOutcomeCallable EmrClient::modifyClusterNameCallable return task->get_future(); } -EmrClient::ModifyClusterSecurityGroupRuleOutcome EmrClient::modifyClusterSecurityGroupRule(const ModifyClusterSecurityGroupRuleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyClusterSecurityGroupRuleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyClusterSecurityGroupRuleOutcome(ModifyClusterSecurityGroupRuleResult(outcome.result())); - else - return ModifyClusterSecurityGroupRuleOutcome(outcome.error()); -} - -void EmrClient::modifyClusterSecurityGroupRuleAsync(const ModifyClusterSecurityGroupRuleRequest& request, const ModifyClusterSecurityGroupRuleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyClusterSecurityGroupRule(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyClusterSecurityGroupRuleOutcomeCallable EmrClient::modifyClusterSecurityGroupRuleCallable(const ModifyClusterSecurityGroupRuleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyClusterSecurityGroupRule(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ModifyClusterServiceConfigOutcome EmrClient::modifyClusterServiceConfig(const ModifyClusterServiceConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5847,78 +3363,6 @@ EmrClient::ModifyClusterTemplateOutcomeCallable EmrClient::modifyClusterTemplate return task->get_future(); } -EmrClient::ModifyExecutionPlanOutcome EmrClient::modifyExecutionPlan(const ModifyExecutionPlanRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyExecutionPlanOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyExecutionPlanOutcome(ModifyExecutionPlanResult(outcome.result())); - else - return ModifyExecutionPlanOutcome(outcome.error()); -} - -void EmrClient::modifyExecutionPlanAsync(const ModifyExecutionPlanRequest& request, const ModifyExecutionPlanAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyExecutionPlan(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyExecutionPlanOutcomeCallable EmrClient::modifyExecutionPlanCallable(const ModifyExecutionPlanRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyExecutionPlan(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyFlowOutcome EmrClient::modifyFlow(const ModifyFlowRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyFlowOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyFlowOutcome(ModifyFlowResult(outcome.result())); - else - return ModifyFlowOutcome(outcome.error()); -} - -void EmrClient::modifyFlowAsync(const ModifyFlowRequest& request, const ModifyFlowAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyFlow(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyFlowOutcomeCallable EmrClient::modifyFlowCallable(const ModifyFlowRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyFlow(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ModifyFlowCategoryOutcome EmrClient::modifyFlowCategory(const ModifyFlowCategoryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5991,42 +3435,6 @@ EmrClient::ModifyFlowForWebOutcomeCallable EmrClient::modifyFlowForWebCallable(c return task->get_future(); } -EmrClient::ModifyFlowJobOutcome EmrClient::modifyFlowJob(const ModifyFlowJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyFlowJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyFlowJobOutcome(ModifyFlowJobResult(outcome.result())); - else - return ModifyFlowJobOutcome(outcome.error()); -} - -void EmrClient::modifyFlowJobAsync(const ModifyFlowJobRequest& request, const ModifyFlowJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyFlowJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyFlowJobOutcomeCallable EmrClient::modifyFlowJobCallable(const ModifyFlowJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyFlowJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ModifyFlowProjectOutcome EmrClient::modifyFlowProject(const ModifyFlowProjectRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6099,42 +3507,6 @@ EmrClient::ModifyFlowProjectClusterSettingOutcomeCallable EmrClient::modifyFlowP return task->get_future(); } -EmrClient::ModifyJobOutcome EmrClient::modifyJob(const ModifyJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyJobOutcome(ModifyJobResult(outcome.result())); - else - return ModifyJobOutcome(outcome.error()); -} - -void EmrClient::modifyJobAsync(const ModifyJobRequest& request, const ModifyJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyJobOutcomeCallable EmrClient::modifyJobCallable(const ModifyJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ModifyResourcePoolOutcome EmrClient::modifyResourcePool(const ModifyResourcePoolRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6315,150 +3687,6 @@ EmrClient::ModifyScalingGroupV2OutcomeCallable EmrClient::modifyScalingGroupV2Ca return task->get_future(); } -EmrClient::ModifyScalingRuleOutcome EmrClient::modifyScalingRule(const ModifyScalingRuleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyScalingRuleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyScalingRuleOutcome(ModifyScalingRuleResult(outcome.result())); - else - return ModifyScalingRuleOutcome(outcome.error()); -} - -void EmrClient::modifyScalingRuleAsync(const ModifyScalingRuleRequest& request, const ModifyScalingRuleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyScalingRule(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyScalingRuleOutcomeCallable EmrClient::modifyScalingRuleCallable(const ModifyScalingRuleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyScalingRule(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyScalingTaskGroupOutcome EmrClient::modifyScalingTaskGroup(const ModifyScalingTaskGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyScalingTaskGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyScalingTaskGroupOutcome(ModifyScalingTaskGroupResult(outcome.result())); - else - return ModifyScalingTaskGroupOutcome(outcome.error()); -} - -void EmrClient::modifyScalingTaskGroupAsync(const ModifyScalingTaskGroupRequest& request, const ModifyScalingTaskGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyScalingTaskGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyScalingTaskGroupOutcomeCallable EmrClient::modifyScalingTaskGroupCallable(const ModifyScalingTaskGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyScalingTaskGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::QueryEntityOutcome EmrClient::queryEntity(const QueryEntityRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryEntityOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryEntityOutcome(QueryEntityResult(outcome.result())); - else - return QueryEntityOutcome(outcome.error()); -} - -void EmrClient::queryEntityAsync(const QueryEntityRequest& request, const QueryEntityAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryEntity(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::QueryEntityOutcomeCallable EmrClient::queryEntityCallable(const QueryEntityRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryEntity(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::QueryTagOutcome EmrClient::queryTag(const QueryTagRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryTagOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryTagOutcome(QueryTagResult(outcome.result())); - else - return QueryTagOutcome(outcome.error()); -} - -void EmrClient::queryTagAsync(const QueryTagRequest& request, const QueryTagAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryTag(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::QueryTagOutcomeCallable EmrClient::queryTagCallable(const QueryTagRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryTag(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::RefreshClusterResourcePoolOutcome EmrClient::refreshClusterResourcePool(const RefreshClusterResourcePoolRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6675,42 +3903,6 @@ EmrClient::ResizeClusterV2OutcomeCallable EmrClient::resizeClusterV2Callable(con return task->get_future(); } -EmrClient::ResumeExecutionPlanSchedulerOutcome EmrClient::resumeExecutionPlanScheduler(const ResumeExecutionPlanSchedulerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ResumeExecutionPlanSchedulerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ResumeExecutionPlanSchedulerOutcome(ResumeExecutionPlanSchedulerResult(outcome.result())); - else - return ResumeExecutionPlanSchedulerOutcome(outcome.error()); -} - -void EmrClient::resumeExecutionPlanSchedulerAsync(const ResumeExecutionPlanSchedulerRequest& request, const ResumeExecutionPlanSchedulerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, resumeExecutionPlanScheduler(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ResumeExecutionPlanSchedulerOutcomeCallable EmrClient::resumeExecutionPlanSchedulerCallable(const ResumeExecutionPlanSchedulerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->resumeExecutionPlanScheduler(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ResumeFlowOutcome EmrClient::resumeFlow(const ResumeFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6747,42 +3939,6 @@ EmrClient::ResumeFlowOutcomeCallable EmrClient::resumeFlowCallable(const ResumeF return task->get_future(); } -EmrClient::RetryOperationOutcome EmrClient::retryOperation(const RetryOperationRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RetryOperationOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RetryOperationOutcome(RetryOperationResult(outcome.result())); - else - return RetryOperationOutcome(outcome.error()); -} - -void EmrClient::retryOperationAsync(const RetryOperationRequest& request, const RetryOperationAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, retryOperation(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RetryOperationOutcomeCallable EmrClient::retryOperationCallable(const RetryOperationRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->retryOperation(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::RunClusterServiceActionOutcome EmrClient::runClusterServiceAction(const RunClusterServiceActionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6819,78 +3975,6 @@ EmrClient::RunClusterServiceActionOutcomeCallable EmrClient::runClusterServiceAc return task->get_future(); } -EmrClient::RunDiskOpsActivityOutcome EmrClient::runDiskOpsActivity(const RunDiskOpsActivityRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RunDiskOpsActivityOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RunDiskOpsActivityOutcome(RunDiskOpsActivityResult(outcome.result())); - else - return RunDiskOpsActivityOutcome(outcome.error()); -} - -void EmrClient::runDiskOpsActivityAsync(const RunDiskOpsActivityRequest& request, const RunDiskOpsActivityAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, runDiskOpsActivity(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RunDiskOpsActivityOutcomeCallable EmrClient::runDiskOpsActivityCallable(const RunDiskOpsActivityRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->runDiskOpsActivity(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RunExecutionPlanOutcome EmrClient::runExecutionPlan(const RunExecutionPlanRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RunExecutionPlanOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RunExecutionPlanOutcome(RunExecutionPlanResult(outcome.result())); - else - return RunExecutionPlanOutcome(outcome.error()); -} - -void EmrClient::runExecutionPlanAsync(const RunExecutionPlanRequest& request, const RunExecutionPlanAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, runExecutionPlan(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RunExecutionPlanOutcomeCallable EmrClient::runExecutionPlanCallable(const RunExecutionPlanRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->runExecutionPlan(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::RunScalingActionV2Outcome EmrClient::runScalingActionV2(const RunScalingActionV2Request &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6927,42 +4011,6 @@ EmrClient::RunScalingActionV2OutcomeCallable EmrClient::runScalingActionV2Callab return task->get_future(); } -EmrClient::SearchLogOutcome EmrClient::searchLog(const SearchLogRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SearchLogOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SearchLogOutcome(SearchLogResult(outcome.result())); - else - return SearchLogOutcome(outcome.error()); -} - -void EmrClient::searchLogAsync(const SearchLogRequest& request, const SearchLogAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, searchLog(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::SearchLogOutcomeCallable EmrClient::searchLogCallable(const SearchLogRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->searchLog(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::StartFlowOutcome EmrClient::startFlow(const StartFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7071,42 +4119,6 @@ EmrClient::SubmitFlowJobOutcomeCallable EmrClient::submitFlowJobCallable(const S return task->get_future(); } -EmrClient::SuspendExecutionPlanSchedulerOutcome EmrClient::suspendExecutionPlanScheduler(const SuspendExecutionPlanSchedulerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SuspendExecutionPlanSchedulerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SuspendExecutionPlanSchedulerOutcome(SuspendExecutionPlanSchedulerResult(outcome.result())); - else - return SuspendExecutionPlanSchedulerOutcome(outcome.error()); -} - -void EmrClient::suspendExecutionPlanSchedulerAsync(const SuspendExecutionPlanSchedulerRequest& request, const SuspendExecutionPlanSchedulerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, suspendExecutionPlanScheduler(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::SuspendExecutionPlanSchedulerOutcomeCallable EmrClient::suspendExecutionPlanSchedulerCallable(const SuspendExecutionPlanSchedulerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->suspendExecutionPlanScheduler(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::SuspendFlowOutcome EmrClient::suspendFlow(const SuspendFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7179,42 +4191,6 @@ EmrClient::TagResourcesOutcomeCallable EmrClient::tagResourcesCallable(const Tag return task->get_future(); } -EmrClient::UninstallLibrariesOutcome EmrClient::uninstallLibraries(const UninstallLibrariesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UninstallLibrariesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UninstallLibrariesOutcome(UninstallLibrariesResult(outcome.result())); - else - return UninstallLibrariesOutcome(outcome.error()); -} - -void EmrClient::uninstallLibrariesAsync(const UninstallLibrariesRequest& request, const UninstallLibrariesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, uninstallLibraries(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UninstallLibrariesOutcomeCallable EmrClient::uninstallLibrariesCallable(const UninstallLibrariesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->uninstallLibraries(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::UntagResourcesOutcome EmrClient::untagResources(const UntagResourcesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7251,147 +4227,3 @@ EmrClient::UntagResourcesOutcomeCallable EmrClient::untagResourcesCallable(const return task->get_future(); } -EmrClient::UpdateDataSourceOutcome EmrClient::updateDataSource(const UpdateDataSourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateDataSourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateDataSourceOutcome(UpdateDataSourceResult(outcome.result())); - else - return UpdateDataSourceOutcome(outcome.error()); -} - -void EmrClient::updateDataSourceAsync(const UpdateDataSourceRequest& request, const UpdateDataSourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateDataSource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UpdateDataSourceOutcomeCallable EmrClient::updateDataSourceCallable(const UpdateDataSourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateDataSource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::UpdateLibraryInstallTaskStatusOutcome EmrClient::updateLibraryInstallTaskStatus(const UpdateLibraryInstallTaskStatusRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateLibraryInstallTaskStatusOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateLibraryInstallTaskStatusOutcome(UpdateLibraryInstallTaskStatusResult(outcome.result())); - else - return UpdateLibraryInstallTaskStatusOutcome(outcome.error()); -} - -void EmrClient::updateLibraryInstallTaskStatusAsync(const UpdateLibraryInstallTaskStatusRequest& request, const UpdateLibraryInstallTaskStatusAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateLibraryInstallTaskStatus(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UpdateLibraryInstallTaskStatusOutcomeCallable EmrClient::updateLibraryInstallTaskStatusCallable(const UpdateLibraryInstallTaskStatusRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateLibraryInstallTaskStatus(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::UpdateTagOutcome EmrClient::updateTag(const UpdateTagRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateTagOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateTagOutcome(UpdateTagResult(outcome.result())); - else - return UpdateTagOutcome(outcome.error()); -} - -void EmrClient::updateTagAsync(const UpdateTagRequest& request, const UpdateTagAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateTag(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UpdateTagOutcomeCallable EmrClient::updateTagCallable(const UpdateTagRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateTag(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::UpdateUserOutcome EmrClient::updateUser(const UpdateUserRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateUserOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateUserOutcome(UpdateUserResult(outcome.result())); - else - return UpdateUserOutcome(outcome.error()); -} - -void EmrClient::updateUserAsync(const UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateUser(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UpdateUserOutcomeCallable EmrClient::updateUserCallable(const UpdateUserRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateUser(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - diff --git a/emr/src/model/AuthorizeSecurityGroupRequest.cc b/emr/src/model/AuthorizeSecurityGroupRequest.cc deleted file mode 100644 index 72e73c21b..000000000 --- a/emr/src/model/AuthorizeSecurityGroupRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::AuthorizeSecurityGroupRequest; - -AuthorizeSecurityGroupRequest::AuthorizeSecurityGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "AuthorizeSecurityGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -AuthorizeSecurityGroupRequest::~AuthorizeSecurityGroupRequest() -{} - -long AuthorizeSecurityGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void AuthorizeSecurityGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string AuthorizeSecurityGroupRequest::getClusterId()const -{ - return clusterId_; -} - -void AuthorizeSecurityGroupRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string AuthorizeSecurityGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void AuthorizeSecurityGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string AuthorizeSecurityGroupRequest::getBizType()const -{ - return bizType_; -} - -void AuthorizeSecurityGroupRequest::setBizType(const std::string& bizType) -{ - bizType_ = bizType; - setParameter("BizType", bizType); -} - -std::string AuthorizeSecurityGroupRequest::getBizContent()const -{ - return bizContent_; -} - -void AuthorizeSecurityGroupRequest::setBizContent(const std::string& bizContent) -{ - bizContent_ = bizContent; - setParameter("BizContent", bizContent); -} - -std::string AuthorizeSecurityGroupRequest::getRegionId()const -{ - return regionId_; -} - -void AuthorizeSecurityGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/AuthorizeSecurityGroupResult.cc b/emr/src/model/AuthorizeSecurityGroupResult.cc deleted file mode 100644 index b2679eb24..000000000 --- a/emr/src/model/AuthorizeSecurityGroupResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -AuthorizeSecurityGroupResult::AuthorizeSecurityGroupResult() : - ServiceResult() -{} - -AuthorizeSecurityGroupResult::AuthorizeSecurityGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AuthorizeSecurityGroupResult::~AuthorizeSecurityGroupResult() -{} - -void AuthorizeSecurityGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/CancelOrderRequest.cc b/emr/src/model/CancelOrderRequest.cc deleted file mode 100644 index 7a9604834..000000000 --- a/emr/src/model/CancelOrderRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CancelOrderRequest; - -CancelOrderRequest::CancelOrderRequest() : - RpcServiceRequest("emr", "2016-04-08", "CancelOrder") -{ - setMethod(HttpRequest::Method::Post); -} - -CancelOrderRequest::~CancelOrderRequest() -{} - -long CancelOrderRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CancelOrderRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CancelOrderRequest::getClusterId()const -{ - return clusterId_; -} - -void CancelOrderRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string CancelOrderRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CancelOrderRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CancelOrderRequest::getRegionId()const -{ - return regionId_; -} - -void CancelOrderRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/CancelOrderResult.cc b/emr/src/model/CancelOrderResult.cc deleted file mode 100644 index b8de90445..000000000 --- a/emr/src/model/CancelOrderResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CancelOrderResult::CancelOrderResult() : - ServiceResult() -{} - -CancelOrderResult::CancelOrderResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CancelOrderResult::~CancelOrderResult() -{} - -void CancelOrderResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["clusterId"].isNull()) - clusterId_ = value["clusterId"].asString(); - -} - -std::string CancelOrderResult::getClusterId()const -{ - return clusterId_; -} - diff --git a/emr/src/model/CreateBackupPlanRequest.cc b/emr/src/model/CreateBackupPlanRequest.cc deleted file mode 100644 index ffa00729a..000000000 --- a/emr/src/model/CreateBackupPlanRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateBackupPlanRequest; - -CreateBackupPlanRequest::CreateBackupPlanRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateBackupPlan") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateBackupPlanRequest::~CreateBackupPlanRequest() -{} - -long CreateBackupPlanRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateBackupPlanRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateBackupPlanRequest::getDescription()const -{ - return description_; -} - -void CreateBackupPlanRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -std::string CreateBackupPlanRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateBackupPlanRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string CreateBackupPlanRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateBackupPlanRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateBackupPlanRequest::getRegionId()const -{ - return regionId_; -} - -void CreateBackupPlanRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string CreateBackupPlanRequest::getName()const -{ - return name_; -} - -void CreateBackupPlanRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string CreateBackupPlanRequest::getRootPath()const -{ - return rootPath_; -} - -void CreateBackupPlanRequest::setRootPath(const std::string& rootPath) -{ - rootPath_ = rootPath; - setParameter("RootPath", rootPath); -} - diff --git a/emr/src/model/CreateBackupPlanResult.cc b/emr/src/model/CreateBackupPlanResult.cc deleted file mode 100644 index f83988ed7..000000000 --- a/emr/src/model/CreateBackupPlanResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateBackupPlanResult::CreateBackupPlanResult() : - ServiceResult() -{} - -CreateBackupPlanResult::CreateBackupPlanResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateBackupPlanResult::~CreateBackupPlanResult() -{} - -void CreateBackupPlanResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - if(!value["RootPath"].isNull()) - rootPath_ = value["RootPath"].asString(); - -} - -std::string CreateBackupPlanResult::getRootPath()const -{ - return rootPath_; -} - -std::string CreateBackupPlanResult::getDescription()const -{ - return description_; -} - -std::string CreateBackupPlanResult::getClusterId()const -{ - return clusterId_; -} - -std::string CreateBackupPlanResult::getId()const -{ - return id_; -} - -std::string CreateBackupPlanResult::getName()const -{ - return name_; -} - diff --git a/emr/src/model/CreateBackupRequest.cc b/emr/src/model/CreateBackupRequest.cc deleted file mode 100644 index f7446d7fd..000000000 --- a/emr/src/model/CreateBackupRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateBackupRequest; - -CreateBackupRequest::CreateBackupRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateBackup") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateBackupRequest::~CreateBackupRequest() -{} - -long CreateBackupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateBackupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateBackupRequest::getBackupPlanId()const -{ - return backupPlanId_; -} - -void CreateBackupRequest::setBackupPlanId(const std::string& backupPlanId) -{ - backupPlanId_ = backupPlanId; - setParameter("BackupPlanId", backupPlanId); -} - -std::string CreateBackupRequest::getMetadataType()const -{ - return metadataType_; -} - -void CreateBackupRequest::setMetadataType(const std::string& metadataType) -{ - metadataType_ = metadataType; - setParameter("MetadataType", metadataType); -} - -std::string CreateBackupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateBackupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateBackupRequest::getRegionId()const -{ - return regionId_; -} - -void CreateBackupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/CreateBackupResult.cc b/emr/src/model/CreateBackupResult.cc deleted file mode 100644 index 1ca20bec9..000000000 --- a/emr/src/model/CreateBackupResult.cc +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateBackupResult::CreateBackupResult() : - ServiceResult() -{} - -CreateBackupResult::CreateBackupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateBackupResult::~CreateBackupResult() -{} - -void CreateBackupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["BizId"].isNull()) - bizId_ = value["BizId"].asString(); - if(!value["DataSourceId"].isNull()) - dataSourceId_ = std::stol(value["DataSourceId"].asString()); - if(!value["TaskType"].isNull()) - taskType_ = value["TaskType"].asString(); - if(!value["TaskStatus"].isNull()) - taskStatus_ = value["TaskStatus"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - endTime_ = std::stol(value["EndTime"].asString()); - if(!value["TaskDetail"].isNull()) - taskDetail_ = value["TaskDetail"].asString(); - if(!value["TaskResultDetail"].isNull()) - taskResultDetail_ = value["TaskResultDetail"].asString(); - if(!value["TaskProcess"].isNull()) - taskProcess_ = std::stoi(value["TaskProcess"].asString()); - if(!value["TriggerUser"].isNull()) - triggerUser_ = value["TriggerUser"].asString(); - if(!value["TriggerType"].isNull()) - triggerType_ = value["TriggerType"].asString(); - if(!value["GmtCreate"].isNull()) - gmtCreate_ = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - gmtModified_ = std::stol(value["GmtModified"].asString()); - if(!value["ClusterBizId"].isNull()) - clusterBizId_ = value["ClusterBizId"].asString(); - if(!value["HostName"].isNull()) - hostName_ = value["HostName"].asString(); - if(!value["EcmTaskId"].isNull()) - ecmTaskId_ = std::stol(value["EcmTaskId"].asString()); - -} - -std::string CreateBackupResult::getTriggerType()const -{ - return triggerType_; -} - -long CreateBackupResult::getEndTime()const -{ - return endTime_; -} - -long CreateBackupResult::getStartTime()const -{ - return startTime_; -} - -long CreateBackupResult::getGmtModified()const -{ - return gmtModified_; -} - -std::string CreateBackupResult::getTaskStatus()const -{ - return taskStatus_; -} - -std::string CreateBackupResult::getTaskDetail()const -{ - return taskDetail_; -} - -std::string CreateBackupResult::getTriggerUser()const -{ - return triggerUser_; -} - -long CreateBackupResult::getGmtCreate()const -{ - return gmtCreate_; -} - -int CreateBackupResult::getTaskProcess()const -{ - return taskProcess_; -} - -std::string CreateBackupResult::getClusterBizId()const -{ - return clusterBizId_; -} - -std::string CreateBackupResult::getTaskType()const -{ - return taskType_; -} - -std::string CreateBackupResult::getBizId()const -{ - return bizId_; -} - -long CreateBackupResult::getDataSourceId()const -{ - return dataSourceId_; -} - -std::string CreateBackupResult::getHostName()const -{ - return hostName_; -} - -long CreateBackupResult::getEcmTaskId()const -{ - return ecmTaskId_; -} - -std::string CreateBackupResult::getTaskResultDetail()const -{ - return taskResultDetail_; -} - diff --git a/emr/src/model/CreateClusterBootstrapActionRequest.cc b/emr/src/model/CreateClusterBootstrapActionRequest.cc deleted file mode 100644 index 1970f62fd..000000000 --- a/emr/src/model/CreateClusterBootstrapActionRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateClusterBootstrapActionRequest; - -CreateClusterBootstrapActionRequest::CreateClusterBootstrapActionRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateClusterBootstrapAction") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateClusterBootstrapActionRequest::~CreateClusterBootstrapActionRequest() -{} - -long CreateClusterBootstrapActionRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateClusterBootstrapActionRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateClusterBootstrapActionRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateClusterBootstrapActionRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string CreateClusterBootstrapActionRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateClusterBootstrapActionRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::vector CreateClusterBootstrapActionRequest::getBootstrapAction()const -{ - return bootstrapAction_; -} - -void CreateClusterBootstrapActionRequest::setBootstrapAction(const std::vector& bootstrapAction) -{ - bootstrapAction_ = bootstrapAction; - for(int dep1 = 0; dep1!= bootstrapAction.size(); dep1++) { - auto bootstrapActionObj = bootstrapAction.at(dep1); - std::string bootstrapActionObjStr = "BootstrapAction." + std::to_string(dep1 + 1); - setParameter(bootstrapActionObjStr + ".Path", bootstrapActionObj.path); - setParameter(bootstrapActionObjStr + ".ExecutionTarget", bootstrapActionObj.executionTarget); - setParameter(bootstrapActionObjStr + ".ExecutionMoment", bootstrapActionObj.executionMoment); - setParameter(bootstrapActionObjStr + ".Arg", bootstrapActionObj.arg); - setParameter(bootstrapActionObjStr + ".Name", bootstrapActionObj.name); - setParameter(bootstrapActionObjStr + ".ExecutionFailStrategy", bootstrapActionObj.executionFailStrategy); - } -} - -std::string CreateClusterBootstrapActionRequest::getRegionId()const -{ - return regionId_; -} - -void CreateClusterBootstrapActionRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/CreateClusterBootstrapActionResult.cc b/emr/src/model/CreateClusterBootstrapActionResult.cc deleted file mode 100644 index 5c0c68338..000000000 --- a/emr/src/model/CreateClusterBootstrapActionResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateClusterBootstrapActionResult::CreateClusterBootstrapActionResult() : - ServiceResult() -{} - -CreateClusterBootstrapActionResult::CreateClusterBootstrapActionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateClusterBootstrapActionResult::~CreateClusterBootstrapActionResult() -{} - -void CreateClusterBootstrapActionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/CreateClusterHostGroupRequest.cc b/emr/src/model/CreateClusterHostGroupRequest.cc deleted file mode 100644 index e7b2dbe1b..000000000 --- a/emr/src/model/CreateClusterHostGroupRequest.cc +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateClusterHostGroupRequest; - -CreateClusterHostGroupRequest::CreateClusterHostGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateClusterHostGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateClusterHostGroupRequest::~CreateClusterHostGroupRequest() -{} - -long CreateClusterHostGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateClusterHostGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateClusterHostGroupRequest::getHostGroupParams()const -{ - return hostGroupParams_; -} - -void CreateClusterHostGroupRequest::setHostGroupParams(const std::string& hostGroupParams) -{ - hostGroupParams_ = hostGroupParams; - setParameter("HostGroupParams", hostGroupParams); -} - -std::string CreateClusterHostGroupRequest::getSecurityGroupId()const -{ - return securityGroupId_; -} - -void CreateClusterHostGroupRequest::setSecurityGroupId(const std::string& securityGroupId) -{ - securityGroupId_ = securityGroupId; - setParameter("SecurityGroupId", securityGroupId); -} - -std::string CreateClusterHostGroupRequest::getHostGroupName()const -{ - return hostGroupName_; -} - -void CreateClusterHostGroupRequest::setHostGroupName(const std::string& hostGroupName) -{ - hostGroupName_ = hostGroupName; - setParameter("HostGroupName", hostGroupName); -} - -std::string CreateClusterHostGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateClusterHostGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateClusterHostGroupRequest::getRegionId()const -{ - return regionId_; -} - -void CreateClusterHostGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string CreateClusterHostGroupRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateClusterHostGroupRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string CreateClusterHostGroupRequest::getVswitchId()const -{ - return vswitchId_; -} - -void CreateClusterHostGroupRequest::setVswitchId(const std::string& vswitchId) -{ - vswitchId_ = vswitchId; - setParameter("VswitchId", vswitchId); -} - -std::string CreateClusterHostGroupRequest::getComment()const -{ - return comment_; -} - -void CreateClusterHostGroupRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setParameter("Comment", comment); -} - -std::string CreateClusterHostGroupRequest::getPayType()const -{ - return payType_; -} - -void CreateClusterHostGroupRequest::setPayType(const std::string& payType) -{ - payType_ = payType; - setParameter("PayType", payType); -} - -std::string CreateClusterHostGroupRequest::getHostGroupType()const -{ - return hostGroupType_; -} - -void CreateClusterHostGroupRequest::setHostGroupType(const std::string& hostGroupType) -{ - hostGroupType_ = hostGroupType; - setParameter("HostGroupType", hostGroupType); -} - diff --git a/emr/src/model/CreateClusterHostGroupResult.cc b/emr/src/model/CreateClusterHostGroupResult.cc deleted file mode 100644 index 9e07e74bc..000000000 --- a/emr/src/model/CreateClusterHostGroupResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateClusterHostGroupResult::CreateClusterHostGroupResult() : - ServiceResult() -{} - -CreateClusterHostGroupResult::CreateClusterHostGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateClusterHostGroupResult::~CreateClusterHostGroupResult() -{} - -void CreateClusterHostGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - if(!value["HostGroupId"].isNull()) - hostGroupId_ = value["HostGroupId"].asString(); - -} - -std::string CreateClusterHostGroupResult::getHostGroupId()const -{ - return hostGroupId_; -} - -std::string CreateClusterHostGroupResult::getClusterId()const -{ - return clusterId_; -} - diff --git a/emr/src/model/CreateDataSourceRequest.cc b/emr/src/model/CreateDataSourceRequest.cc deleted file mode 100644 index 25c264168..000000000 --- a/emr/src/model/CreateDataSourceRequest.cc +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateDataSourceRequest; - -CreateDataSourceRequest::CreateDataSourceRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateDataSource") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDataSourceRequest::~CreateDataSourceRequest() -{} - -long CreateDataSourceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateDataSourceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateDataSourceRequest::getNavParentId()const -{ - return navParentId_; -} - -void CreateDataSourceRequest::setNavParentId(const std::string& navParentId) -{ - navParentId_ = navParentId; - setParameter("NavParentId", navParentId); -} - -std::string CreateDataSourceRequest::getDescription()const -{ - return description_; -} - -void CreateDataSourceRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -std::string CreateDataSourceRequest::getConf()const -{ - return conf_; -} - -void CreateDataSourceRequest::setConf(const std::string& conf) -{ - conf_ = conf; - setParameter("Conf", conf); -} - -std::string CreateDataSourceRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateDataSourceRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string CreateDataSourceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateDataSourceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateDataSourceRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateDataSourceRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateDataSourceRequest::getRegionId()const -{ - return regionId_; -} - -void CreateDataSourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string CreateDataSourceRequest::getName()const -{ - return name_; -} - -void CreateDataSourceRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string CreateDataSourceRequest::getSourceType()const -{ - return sourceType_; -} - -void CreateDataSourceRequest::setSourceType(const std::string& sourceType) -{ - sourceType_ = sourceType; - setParameter("SourceType", sourceType); -} - diff --git a/emr/src/model/CreateDataSourceResult.cc b/emr/src/model/CreateDataSourceResult.cc deleted file mode 100644 index 940d904e8..000000000 --- a/emr/src/model/CreateDataSourceResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateDataSourceResult::CreateDataSourceResult() : - ServiceResult() -{} - -CreateDataSourceResult::CreateDataSourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDataSourceResult::~CreateDataSourceResult() -{} - -void CreateDataSourceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - -} - -std::string CreateDataSourceResult::getId()const -{ - return id_; -} - diff --git a/emr/src/model/CreateExecutionPlanRequest.cc b/emr/src/model/CreateExecutionPlanRequest.cc deleted file mode 100644 index 0dc5b6855..000000000 --- a/emr/src/model/CreateExecutionPlanRequest.cc +++ /dev/null @@ -1,479 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateExecutionPlanRequest; - -CreateExecutionPlanRequest::CreateExecutionPlanRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateExecutionPlan") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateExecutionPlanRequest::~CreateExecutionPlanRequest() -{} - -long CreateExecutionPlanRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateExecutionPlanRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int CreateExecutionPlanRequest::getTimeInterval()const -{ - return timeInterval_; -} - -void CreateExecutionPlanRequest::setTimeInterval(int timeInterval) -{ - timeInterval_ = timeInterval; - setParameter("TimeInterval", std::to_string(timeInterval)); -} - -std::string CreateExecutionPlanRequest::getLogPath()const -{ - return logPath_; -} - -void CreateExecutionPlanRequest::setLogPath(const std::string& logPath) -{ - logPath_ = logPath; - setParameter("LogPath", logPath); -} - -std::string CreateExecutionPlanRequest::getClusterName()const -{ - return clusterName_; -} - -void CreateExecutionPlanRequest::setClusterName(const std::string& clusterName) -{ - clusterName_ = clusterName; - setParameter("ClusterName", clusterName); -} - -std::string CreateExecutionPlanRequest::getConfigurations()const -{ - return configurations_; -} - -void CreateExecutionPlanRequest::setConfigurations(const std::string& configurations) -{ - configurations_ = configurations; - setParameter("Configurations", configurations); -} - -bool CreateExecutionPlanRequest::getCreateClusterOnDemand()const -{ - return createClusterOnDemand_; -} - -void CreateExecutionPlanRequest::setCreateClusterOnDemand(bool createClusterOnDemand) -{ - createClusterOnDemand_ = createClusterOnDemand; - setParameter("CreateClusterOnDemand", createClusterOnDemand ? "true" : "false"); -} - -long CreateExecutionPlanRequest::getStartTime()const -{ - return startTime_; -} - -void CreateExecutionPlanRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); -} - -std::vector CreateExecutionPlanRequest::getBootstrapAction()const -{ - return bootstrapAction_; -} - -void CreateExecutionPlanRequest::setBootstrapAction(const std::vector& bootstrapAction) -{ - bootstrapAction_ = bootstrapAction; - for(int dep1 = 0; dep1!= bootstrapAction.size(); dep1++) { - auto bootstrapActionObj = bootstrapAction.at(dep1); - std::string bootstrapActionObjStr = "BootstrapAction." + std::to_string(dep1 + 1); - setParameter(bootstrapActionObjStr + ".Path", bootstrapActionObj.path); - setParameter(bootstrapActionObjStr + ".ExecutionTarget", bootstrapActionObj.executionTarget); - setParameter(bootstrapActionObjStr + ".ExecutionMoment", bootstrapActionObj.executionMoment); - setParameter(bootstrapActionObjStr + ".Arg", bootstrapActionObj.arg); - setParameter(bootstrapActionObjStr + ".Name", bootstrapActionObj.name); - setParameter(bootstrapActionObjStr + ".ExecutionFailStrategy", bootstrapActionObj.executionFailStrategy); - } -} - -std::string CreateExecutionPlanRequest::getEmrVer()const -{ - return emrVer_; -} - -void CreateExecutionPlanRequest::setEmrVer(const std::string& emrVer) -{ - emrVer_ = emrVer; - setParameter("EmrVer", emrVer); -} - -bool CreateExecutionPlanRequest::getIsOpenPublicIp()const -{ - return isOpenPublicIp_; -} - -void CreateExecutionPlanRequest::setIsOpenPublicIp(bool isOpenPublicIp) -{ - isOpenPublicIp_ = isOpenPublicIp; - setParameter("IsOpenPublicIp", isOpenPublicIp ? "true" : "false"); -} - -std::string CreateExecutionPlanRequest::getInstanceGeneration()const -{ - return instanceGeneration_; -} - -void CreateExecutionPlanRequest::setInstanceGeneration(const std::string& instanceGeneration) -{ - instanceGeneration_ = instanceGeneration; - setParameter("InstanceGeneration", instanceGeneration); -} - -std::string CreateExecutionPlanRequest::getClusterType()const -{ - return clusterType_; -} - -void CreateExecutionPlanRequest::setClusterType(const std::string& clusterType) -{ - clusterType_ = clusterType; - setParameter("ClusterType", clusterType); -} - -std::string CreateExecutionPlanRequest::getVSwitchId()const -{ - return vSwitchId_; -} - -void CreateExecutionPlanRequest::setVSwitchId(const std::string& vSwitchId) -{ - vSwitchId_ = vSwitchId; - setParameter("VSwitchId", vSwitchId); -} - -std::vector CreateExecutionPlanRequest::getOptionSoftWareList()const -{ - return optionSoftWareList_; -} - -void CreateExecutionPlanRequest::setOptionSoftWareList(const std::vector& optionSoftWareList) -{ - optionSoftWareList_ = optionSoftWareList; - for(int dep1 = 0; dep1!= optionSoftWareList.size(); dep1++) { - setParameter("OptionSoftWareList."+ std::to_string(dep1), optionSoftWareList.at(dep1)); - } -} - -std::string CreateExecutionPlanRequest::getNetType()const -{ - return netType_; -} - -void CreateExecutionPlanRequest::setNetType(const std::string& netType) -{ - netType_ = netType; - setParameter("NetType", netType); -} - -std::vector CreateExecutionPlanRequest::getEcsOrder()const -{ - return ecsOrder_; -} - -void CreateExecutionPlanRequest::setEcsOrder(const std::vector& ecsOrder) -{ - ecsOrder_ = ecsOrder; - for(int dep1 = 0; dep1!= ecsOrder.size(); dep1++) { - auto ecsOrderObj = ecsOrder.at(dep1); - std::string ecsOrderObjStr = "EcsOrder." + std::to_string(dep1 + 1); - setParameter(ecsOrderObjStr + ".NodeType", ecsOrderObj.nodeType); - setParameter(ecsOrderObjStr + ".DiskCount", std::to_string(ecsOrderObj.diskCount)); - setParameter(ecsOrderObjStr + ".NodeCount", std::to_string(ecsOrderObj.nodeCount)); - setParameter(ecsOrderObjStr + ".DiskCapacity", std::to_string(ecsOrderObj.diskCapacity)); - setParameter(ecsOrderObjStr + ".Index", std::to_string(ecsOrderObj.index)); - setParameter(ecsOrderObjStr + ".InstanceType", ecsOrderObj.instanceType); - setParameter(ecsOrderObjStr + ".DiskType", ecsOrderObj.diskType); - } -} - -std::string CreateExecutionPlanRequest::getName()const -{ - return name_; -} - -void CreateExecutionPlanRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string CreateExecutionPlanRequest::getZoneId()const -{ - return zoneId_; -} - -void CreateExecutionPlanRequest::setZoneId(const std::string& zoneId) -{ - zoneId_ = zoneId; - setParameter("ZoneId", zoneId); -} - -bool CreateExecutionPlanRequest::getUseCustomHiveMetaDB()const -{ - return useCustomHiveMetaDB_; -} - -void CreateExecutionPlanRequest::setUseCustomHiveMetaDB(bool useCustomHiveMetaDB) -{ - useCustomHiveMetaDB_ = useCustomHiveMetaDB; - setParameter("UseCustomHiveMetaDB", useCustomHiveMetaDB ? "true" : "false"); -} - -bool CreateExecutionPlanRequest::getInitCustomHiveMetaDB()const -{ - return initCustomHiveMetaDB_; -} - -void CreateExecutionPlanRequest::setInitCustomHiveMetaDB(bool initCustomHiveMetaDB) -{ - initCustomHiveMetaDB_ = initCustomHiveMetaDB; - setParameter("InitCustomHiveMetaDB", initCustomHiveMetaDB ? "true" : "false"); -} - -bool CreateExecutionPlanRequest::getIoOptimized()const -{ - return ioOptimized_; -} - -void CreateExecutionPlanRequest::setIoOptimized(bool ioOptimized) -{ - ioOptimized_ = ioOptimized; - setParameter("IoOptimized", ioOptimized ? "true" : "false"); -} - -std::string CreateExecutionPlanRequest::getSecurityGroupId()const -{ - return securityGroupId_; -} - -void CreateExecutionPlanRequest::setSecurityGroupId(const std::string& securityGroupId) -{ - securityGroupId_ = securityGroupId; - setParameter("SecurityGroupId", securityGroupId); -} - -bool CreateExecutionPlanRequest::getEasEnable()const -{ - return easEnable_; -} - -void CreateExecutionPlanRequest::setEasEnable(bool easEnable) -{ - easEnable_ = easEnable; - setParameter("EasEnable", easEnable ? "true" : "false"); -} - -std::vector CreateExecutionPlanRequest::getJobIdList()const -{ - return jobIdList_; -} - -void CreateExecutionPlanRequest::setJobIdList(const std::vector& jobIdList) -{ - jobIdList_ = jobIdList; - for(int dep1 = 0; dep1!= jobIdList.size(); dep1++) { - setParameter("JobIdList."+ std::to_string(dep1), jobIdList.at(dep1)); - } -} - -std::string CreateExecutionPlanRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateExecutionPlanRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateExecutionPlanRequest::getDayOfMonth()const -{ - return dayOfMonth_; -} - -void CreateExecutionPlanRequest::setDayOfMonth(const std::string& dayOfMonth) -{ - dayOfMonth_ = dayOfMonth; - setParameter("DayOfMonth", dayOfMonth); -} - -std::string CreateExecutionPlanRequest::getRegionId()const -{ - return regionId_; -} - -void CreateExecutionPlanRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -bool CreateExecutionPlanRequest::getUseLocalMetaDb()const -{ - return useLocalMetaDb_; -} - -void CreateExecutionPlanRequest::setUseLocalMetaDb(bool useLocalMetaDb) -{ - useLocalMetaDb_ = useLocalMetaDb; - setParameter("UseLocalMetaDb", useLocalMetaDb ? "true" : "false"); -} - -std::string CreateExecutionPlanRequest::getUserDefinedEmrEcsRole()const -{ - return userDefinedEmrEcsRole_; -} - -void CreateExecutionPlanRequest::setUserDefinedEmrEcsRole(const std::string& userDefinedEmrEcsRole) -{ - userDefinedEmrEcsRole_ = userDefinedEmrEcsRole; - setParameter("UserDefinedEmrEcsRole", userDefinedEmrEcsRole); -} - -std::string CreateExecutionPlanRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateExecutionPlanRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string CreateExecutionPlanRequest::getTimeUnit()const -{ - return timeUnit_; -} - -void CreateExecutionPlanRequest::setTimeUnit(const std::string& timeUnit) -{ - timeUnit_ = timeUnit; - setParameter("TimeUnit", timeUnit); -} - -std::string CreateExecutionPlanRequest::getVpcId()const -{ - return vpcId_; -} - -void CreateExecutionPlanRequest::setVpcId(const std::string& vpcId) -{ - vpcId_ = vpcId; - setParameter("VpcId", vpcId); -} - -std::string CreateExecutionPlanRequest::getWorkflowDefinition()const -{ - return workflowDefinition_; -} - -void CreateExecutionPlanRequest::setWorkflowDefinition(const std::string& workflowDefinition) -{ - workflowDefinition_ = workflowDefinition; - setParameter("WorkflowDefinition", workflowDefinition); -} - -std::string CreateExecutionPlanRequest::getDayOfWeek()const -{ - return dayOfWeek_; -} - -void CreateExecutionPlanRequest::setDayOfWeek(const std::string& dayOfWeek) -{ - dayOfWeek_ = dayOfWeek; - setParameter("DayOfWeek", dayOfWeek); -} - -std::string CreateExecutionPlanRequest::getStrategy()const -{ - return strategy_; -} - -void CreateExecutionPlanRequest::setStrategy(const std::string& strategy) -{ - strategy_ = strategy; - setParameter("Strategy", strategy); -} - -std::vector CreateExecutionPlanRequest::getConfig()const -{ - return config_; -} - -void CreateExecutionPlanRequest::setConfig(const std::vector& config) -{ - config_ = config; - for(int dep1 = 0; dep1!= config.size(); dep1++) { - auto configObj = config.at(dep1); - std::string configObjStr = "Config." + std::to_string(dep1 + 1); - setParameter(configObjStr + ".ConfigKey", configObj.configKey); - setParameter(configObjStr + ".FileName", configObj.fileName); - setParameter(configObjStr + ".Encrypt", configObj.encrypt); - setParameter(configObjStr + ".Replace", configObj.replace); - setParameter(configObjStr + ".ConfigValue", configObj.configValue); - setParameter(configObjStr + ".ServiceName", configObj.serviceName); - } -} - -bool CreateExecutionPlanRequest::getHighAvailabilityEnable()const -{ - return highAvailabilityEnable_; -} - -void CreateExecutionPlanRequest::setHighAvailabilityEnable(bool highAvailabilityEnable) -{ - highAvailabilityEnable_ = highAvailabilityEnable; - setParameter("HighAvailabilityEnable", highAvailabilityEnable ? "true" : "false"); -} - -bool CreateExecutionPlanRequest::getLogEnable()const -{ - return logEnable_; -} - -void CreateExecutionPlanRequest::setLogEnable(bool logEnable) -{ - logEnable_ = logEnable; - setParameter("LogEnable", logEnable ? "true" : "false"); -} - diff --git a/emr/src/model/CreateExecutionPlanResult.cc b/emr/src/model/CreateExecutionPlanResult.cc deleted file mode 100644 index c83d0e30b..000000000 --- a/emr/src/model/CreateExecutionPlanResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateExecutionPlanResult::CreateExecutionPlanResult() : - ServiceResult() -{} - -CreateExecutionPlanResult::CreateExecutionPlanResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateExecutionPlanResult::~CreateExecutionPlanResult() -{} - -void CreateExecutionPlanResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - -} - -std::string CreateExecutionPlanResult::getId()const -{ - return id_; -} - diff --git a/emr/src/model/CreateJobRequest.cc b/emr/src/model/CreateJobRequest.cc deleted file mode 100644 index 2a4e9547d..000000000 --- a/emr/src/model/CreateJobRequest.cc +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateJobRequest; - -CreateJobRequest::CreateJobRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateJob") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateJobRequest::~CreateJobRequest() -{} - -long CreateJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateJobRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateJobRequest::getType()const -{ - return type_; -} - -void CreateJobRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - -std::string CreateJobRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateJobRequest::getFailAct()const -{ - return failAct_; -} - -void CreateJobRequest::setFailAct(const std::string& failAct) -{ - failAct_ = failAct; - setParameter("FailAct", failAct); -} - -std::string CreateJobRequest::getRunParameter()const -{ - return runParameter_; -} - -void CreateJobRequest::setRunParameter(const std::string& runParameter) -{ - runParameter_ = runParameter; - setParameter("RunParameter", runParameter); -} - -int CreateJobRequest::getRetryInterval()const -{ - return retryInterval_; -} - -void CreateJobRequest::setRetryInterval(int retryInterval) -{ - retryInterval_ = retryInterval; - setParameter("RetryInterval", std::to_string(retryInterval)); -} - -std::string CreateJobRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateJobRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateJobRequest::getRegionId()const -{ - return regionId_; -} - -void CreateJobRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string CreateJobRequest::getName()const -{ - return name_; -} - -void CreateJobRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -int CreateJobRequest::getMaxRetry()const -{ - return maxRetry_; -} - -void CreateJobRequest::setMaxRetry(int maxRetry) -{ - maxRetry_ = maxRetry; - setParameter("MaxRetry", std::to_string(maxRetry)); -} - diff --git a/emr/src/model/CreateJobResult.cc b/emr/src/model/CreateJobResult.cc deleted file mode 100644 index a17a33039..000000000 --- a/emr/src/model/CreateJobResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateJobResult::CreateJobResult() : - ServiceResult() -{} - -CreateJobResult::CreateJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateJobResult::~CreateJobResult() -{} - -void CreateJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - -} - -std::string CreateJobResult::getId()const -{ - return id_; -} - diff --git a/emr/src/model/CreateLibraryRequest.cc b/emr/src/model/CreateLibraryRequest.cc deleted file mode 100644 index db8c28322..000000000 --- a/emr/src/model/CreateLibraryRequest.cc +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateLibraryRequest; - -CreateLibraryRequest::CreateLibraryRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateLibrary") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateLibraryRequest::~CreateLibraryRequest() -{} - -long CreateLibraryRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateLibraryRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateLibraryRequest::getLibraryVersion()const -{ - return libraryVersion_; -} - -void CreateLibraryRequest::setLibraryVersion(const std::string& libraryVersion) -{ - libraryVersion_ = libraryVersion; - setParameter("LibraryVersion", libraryVersion); -} - -std::string CreateLibraryRequest::getType()const -{ - return type_; -} - -void CreateLibraryRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - -std::string CreateLibraryRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateLibraryRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateLibraryRequest::getRegionId()const -{ - return regionId_; -} - -void CreateLibraryRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string CreateLibraryRequest::getScope()const -{ - return scope_; -} - -void CreateLibraryRequest::setScope(const std::string& scope) -{ - scope_ = scope; - setParameter("Scope", scope); -} - -std::string CreateLibraryRequest::getName()const -{ - return name_; -} - -void CreateLibraryRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string CreateLibraryRequest::getSourceType()const -{ - return sourceType_; -} - -void CreateLibraryRequest::setSourceType(const std::string& sourceType) -{ - sourceType_ = sourceType; - setParameter("SourceType", sourceType); -} - -std::string CreateLibraryRequest::getProperties()const -{ - return properties_; -} - -void CreateLibraryRequest::setProperties(const std::string& properties) -{ - properties_ = properties; - setParameter("Properties", properties); -} - -std::string CreateLibraryRequest::getSourceLocation()const -{ - return sourceLocation_; -} - -void CreateLibraryRequest::setSourceLocation(const std::string& sourceLocation) -{ - sourceLocation_ = sourceLocation; - setParameter("SourceLocation", sourceLocation); -} - diff --git a/emr/src/model/CreateLibraryResult.cc b/emr/src/model/CreateLibraryResult.cc deleted file mode 100644 index ba4818418..000000000 --- a/emr/src/model/CreateLibraryResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateLibraryResult::CreateLibraryResult() : - ServiceResult() -{} - -CreateLibraryResult::CreateLibraryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateLibraryResult::~CreateLibraryResult() -{} - -void CreateLibraryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string CreateLibraryResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/CreateMetaTablePreviewTaskRequest.cc b/emr/src/model/CreateMetaTablePreviewTaskRequest.cc deleted file mode 100644 index f05709a81..000000000 --- a/emr/src/model/CreateMetaTablePreviewTaskRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateMetaTablePreviewTaskRequest; - -CreateMetaTablePreviewTaskRequest::CreateMetaTablePreviewTaskRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateMetaTablePreviewTask") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateMetaTablePreviewTaskRequest::~CreateMetaTablePreviewTaskRequest() -{} - -long CreateMetaTablePreviewTaskRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateMetaTablePreviewTaskRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateMetaTablePreviewTaskRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateMetaTablePreviewTaskRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string CreateMetaTablePreviewTaskRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateMetaTablePreviewTaskRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateMetaTablePreviewTaskRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateMetaTablePreviewTaskRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateMetaTablePreviewTaskRequest::getPassword()const -{ - return password_; -} - -void CreateMetaTablePreviewTaskRequest::setPassword(const std::string& password) -{ - password_ = password; - setParameter("Password", password); -} - -std::string CreateMetaTablePreviewTaskRequest::getRegionId()const -{ - return regionId_; -} - -void CreateMetaTablePreviewTaskRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string CreateMetaTablePreviewTaskRequest::getTableId()const -{ - return tableId_; -} - -void CreateMetaTablePreviewTaskRequest::setTableId(const std::string& tableId) -{ - tableId_ = tableId; - setParameter("TableId", tableId); -} - -std::string CreateMetaTablePreviewTaskRequest::getDatabaseId()const -{ - return databaseId_; -} - -void CreateMetaTablePreviewTaskRequest::setDatabaseId(const std::string& databaseId) -{ - databaseId_ = databaseId; - setParameter("DatabaseId", databaseId); -} - -std::string CreateMetaTablePreviewTaskRequest::getUser()const -{ - return user_; -} - -void CreateMetaTablePreviewTaskRequest::setUser(const std::string& user) -{ - user_ = user; - setParameter("User", user); -} - diff --git a/emr/src/model/CreateMetaTablePreviewTaskResult.cc b/emr/src/model/CreateMetaTablePreviewTaskResult.cc deleted file mode 100644 index d801942a1..000000000 --- a/emr/src/model/CreateMetaTablePreviewTaskResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateMetaTablePreviewTaskResult::CreateMetaTablePreviewTaskResult() : - ServiceResult() -{} - -CreateMetaTablePreviewTaskResult::CreateMetaTablePreviewTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateMetaTablePreviewTaskResult::~CreateMetaTablePreviewTaskResult() -{} - -void CreateMetaTablePreviewTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["TaskId"].isNull()) - taskId_ = value["TaskId"].asString(); - -} - -std::string CreateMetaTablePreviewTaskResult::getTaskId()const -{ - return taskId_; -} - diff --git a/emr/src/model/CreateScalingRuleRequest.cc b/emr/src/model/CreateScalingRuleRequest.cc deleted file mode 100644 index 97ee34f77..000000000 --- a/emr/src/model/CreateScalingRuleRequest.cc +++ /dev/null @@ -1,255 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateScalingRuleRequest; - -CreateScalingRuleRequest::CreateScalingRuleRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateScalingRule") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateScalingRuleRequest::~CreateScalingRuleRequest() -{} - -long CreateScalingRuleRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateScalingRuleRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateScalingRuleRequest::getRuleName()const -{ - return ruleName_; -} - -void CreateScalingRuleRequest::setRuleName(const std::string& ruleName) -{ - ruleName_ = ruleName; - setParameter("RuleName", ruleName); -} - -std::string CreateScalingRuleRequest::getRecurrenceEndTime()const -{ - return recurrenceEndTime_; -} - -void CreateScalingRuleRequest::setRecurrenceEndTime(const std::string& recurrenceEndTime) -{ - recurrenceEndTime_ = recurrenceEndTime; - setParameter("RecurrenceEndTime", recurrenceEndTime); -} - -std::vector CreateScalingRuleRequest::getCloudWatchTrigger()const -{ - return cloudWatchTrigger_; -} - -void CreateScalingRuleRequest::setCloudWatchTrigger(const std::vector& cloudWatchTrigger) -{ - cloudWatchTrigger_ = cloudWatchTrigger; - for(int dep1 = 0; dep1!= cloudWatchTrigger.size(); dep1++) { - auto cloudWatchTriggerObj = cloudWatchTrigger.at(dep1); - std::string cloudWatchTriggerObjStr = "CloudWatchTrigger." + std::to_string(dep1 + 1); - setParameter(cloudWatchTriggerObjStr + ".Period", std::to_string(cloudWatchTriggerObj.period)); - setParameter(cloudWatchTriggerObjStr + ".EvaluationCount", cloudWatchTriggerObj.evaluationCount); - setParameter(cloudWatchTriggerObjStr + ".Threshold", cloudWatchTriggerObj.threshold); - setParameter(cloudWatchTriggerObjStr + ".MetricName", cloudWatchTriggerObj.metricName); - setParameter(cloudWatchTriggerObjStr + ".ComparisonOperator", cloudWatchTriggerObj.comparisonOperator); - setParameter(cloudWatchTriggerObjStr + ".Statistics", cloudWatchTriggerObj.statistics); - } -} - -std::string CreateScalingRuleRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateScalingRuleRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -long CreateScalingRuleRequest::getTimeoutWithGrace()const -{ - return timeoutWithGrace_; -} - -void CreateScalingRuleRequest::setTimeoutWithGrace(long timeoutWithGrace) -{ - timeoutWithGrace_ = timeoutWithGrace; - setParameter("TimeoutWithGrace", std::to_string(timeoutWithGrace)); -} - -std::string CreateScalingRuleRequest::getRegionId()const -{ - return regionId_; -} - -void CreateScalingRuleRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int CreateScalingRuleRequest::getCooldown()const -{ - return cooldown_; -} - -void CreateScalingRuleRequest::setCooldown(int cooldown) -{ - cooldown_ = cooldown; - setParameter("Cooldown", std::to_string(cooldown)); -} - -std::string CreateScalingRuleRequest::getLaunchTime()const -{ - return launchTime_; -} - -void CreateScalingRuleRequest::setLaunchTime(const std::string& launchTime) -{ - launchTime_ = launchTime; - setParameter("LaunchTime", launchTime); -} - -bool CreateScalingRuleRequest::getWithGrace()const -{ - return withGrace_; -} - -void CreateScalingRuleRequest::setWithGrace(bool withGrace) -{ - withGrace_ = withGrace; - setParameter("WithGrace", withGrace ? "true" : "false"); -} - -std::string CreateScalingRuleRequest::getRuleCategory()const -{ - return ruleCategory_; -} - -void CreateScalingRuleRequest::setRuleCategory(const std::string& ruleCategory) -{ - ruleCategory_ = ruleCategory; - setParameter("RuleCategory", ruleCategory); -} - -int CreateScalingRuleRequest::getAdjustmentValue()const -{ - return adjustmentValue_; -} - -void CreateScalingRuleRequest::setAdjustmentValue(int adjustmentValue) -{ - adjustmentValue_ = adjustmentValue; - setParameter("AdjustmentValue", std::to_string(adjustmentValue)); -} - -std::string CreateScalingRuleRequest::getAdjustmentType()const -{ - return adjustmentType_; -} - -void CreateScalingRuleRequest::setAdjustmentType(const std::string& adjustmentType) -{ - adjustmentType_ = adjustmentType; - setParameter("AdjustmentType", adjustmentType); -} - -std::string CreateScalingRuleRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateScalingRuleRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -int CreateScalingRuleRequest::getLaunchExpirationTime()const -{ - return launchExpirationTime_; -} - -void CreateScalingRuleRequest::setLaunchExpirationTime(int launchExpirationTime) -{ - launchExpirationTime_ = launchExpirationTime; - setParameter("LaunchExpirationTime", std::to_string(launchExpirationTime)); -} - -std::string CreateScalingRuleRequest::getRecurrenceValue()const -{ - return recurrenceValue_; -} - -void CreateScalingRuleRequest::setRecurrenceValue(const std::string& recurrenceValue) -{ - recurrenceValue_ = recurrenceValue; - setParameter("RecurrenceValue", recurrenceValue); -} - -std::string CreateScalingRuleRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void CreateScalingRuleRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setParameter("HostGroupId", hostGroupId); -} - -std::vector CreateScalingRuleRequest::getSchedulerTrigger()const -{ - return schedulerTrigger_; -} - -void CreateScalingRuleRequest::setSchedulerTrigger(const std::vector& schedulerTrigger) -{ - schedulerTrigger_ = schedulerTrigger; - for(int dep1 = 0; dep1!= schedulerTrigger.size(); dep1++) { - auto schedulerTriggerObj = schedulerTrigger.at(dep1); - std::string schedulerTriggerObjStr = "SchedulerTrigger." + std::to_string(dep1 + 1); - setParameter(schedulerTriggerObjStr + ".LaunchTime", schedulerTriggerObj.launchTime); - setParameter(schedulerTriggerObjStr + ".LaunchExpirationTime", std::to_string(schedulerTriggerObj.launchExpirationTime)); - setParameter(schedulerTriggerObjStr + ".RecurrenceValue", schedulerTriggerObj.recurrenceValue); - setParameter(schedulerTriggerObjStr + ".RecurrenceEndTime", schedulerTriggerObj.recurrenceEndTime); - setParameter(schedulerTriggerObjStr + ".RecurrenceType", schedulerTriggerObj.recurrenceType); - } -} - -std::string CreateScalingRuleRequest::getRecurrenceType()const -{ - return recurrenceType_; -} - -void CreateScalingRuleRequest::setRecurrenceType(const std::string& recurrenceType) -{ - recurrenceType_ = recurrenceType; - setParameter("RecurrenceType", recurrenceType); -} - diff --git a/emr/src/model/CreateScalingRuleResult.cc b/emr/src/model/CreateScalingRuleResult.cc deleted file mode 100644 index 510ca12cb..000000000 --- a/emr/src/model/CreateScalingRuleResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateScalingRuleResult::CreateScalingRuleResult() : - ServiceResult() -{} - -CreateScalingRuleResult::CreateScalingRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateScalingRuleResult::~CreateScalingRuleResult() -{} - -void CreateScalingRuleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ScalingRuleId"].isNull()) - scalingRuleId_ = value["ScalingRuleId"].asString(); - -} - -std::string CreateScalingRuleResult::getScalingRuleId()const -{ - return scalingRuleId_; -} - diff --git a/emr/src/model/CreateTagRequest.cc b/emr/src/model/CreateTagRequest.cc deleted file mode 100644 index 1fbddd46b..000000000 --- a/emr/src/model/CreateTagRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateTagRequest; - -CreateTagRequest::CreateTagRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateTag") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateTagRequest::~CreateTagRequest() -{} - -long CreateTagRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateTagRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateTagRequest::getDescription()const -{ - return description_; -} - -void CreateTagRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -std::string CreateTagRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateTagRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateTagRequest::getRegionId()const -{ - return regionId_; -} - -void CreateTagRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string CreateTagRequest::getName()const -{ - return name_; -} - -void CreateTagRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -long CreateTagRequest::getId()const -{ - return id_; -} - -void CreateTagRequest::setId(long id) -{ - id_ = id; - setParameter("Id", std::to_string(id)); -} - -std::string CreateTagRequest::getCategory()const -{ - return category_; -} - -void CreateTagRequest::setCategory(const std::string& category) -{ - category_ = category; - setParameter("Category", category); -} - diff --git a/emr/src/model/CreateTagResult.cc b/emr/src/model/CreateTagResult.cc deleted file mode 100644 index 991b15a6e..000000000 --- a/emr/src/model/CreateTagResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateTagResult::CreateTagResult() : - ServiceResult() -{} - -CreateTagResult::CreateTagResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateTagResult::~CreateTagResult() -{} - -void CreateTagResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string CreateTagResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/CreateUserRequest.cc b/emr/src/model/CreateUserRequest.cc deleted file mode 100644 index 4dc8ae97a..000000000 --- a/emr/src/model/CreateUserRequest.cc +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateUserRequest; - -CreateUserRequest::CreateUserRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateUser") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateUserRequest::~CreateUserRequest() -{} - -long CreateUserRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateUserRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateUserRequest::getUserType()const -{ - return userType_; -} - -void CreateUserRequest::setUserType(const std::string& userType) -{ - userType_ = userType; - setParameter("UserType", userType); -} - -std::string CreateUserRequest::getDescription()const -{ - return description_; -} - -void CreateUserRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -std::string CreateUserRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateUserRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::vector CreateUserRequest::getUserAccountParamList()const -{ - return userAccountParamList_; -} - -void CreateUserRequest::setUserAccountParamList(const std::vector& userAccountParamList) -{ - userAccountParamList_ = userAccountParamList; - for(int dep1 = 0; dep1!= userAccountParamList.size(); dep1++) { - auto userAccountParamListObj = userAccountParamList.at(dep1); - std::string userAccountParamListObjStr = "UserAccountParamList." + std::to_string(dep1 + 1); - setParameter(userAccountParamListObjStr + ".AccountType", userAccountParamListObj.accountType); - setParameter(userAccountParamListObjStr + ".AuthType", userAccountParamListObj.authType); - setParameter(userAccountParamListObjStr + ".AccountPassword", userAccountParamListObj.accountPassword); - } -} - -std::vector CreateUserRequest::getGroupIdList()const -{ - return groupIdList_; -} - -void CreateUserRequest::setGroupIdList(const std::vector& groupIdList) -{ - groupIdList_ = groupIdList; - for(int dep1 = 0; dep1!= groupIdList.size(); dep1++) { - setParameter("GroupIdList."+ std::to_string(dep1), std::to_string(groupIdList.at(dep1))); - } -} - -std::string CreateUserRequest::getRegionId()const -{ - return regionId_; -} - -void CreateUserRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::vector CreateUserRequest::getRoleIdList()const -{ - return roleIdList_; -} - -void CreateUserRequest::setRoleIdList(const std::vector& roleIdList) -{ - roleIdList_ = roleIdList; - for(int dep1 = 0; dep1!= roleIdList.size(); dep1++) { - setParameter("RoleIdList."+ std::to_string(dep1), std::to_string(roleIdList.at(dep1))); - } -} - -std::string CreateUserRequest::getAliyunUserId()const -{ - return aliyunUserId_; -} - -void CreateUserRequest::setAliyunUserId(const std::string& aliyunUserId) -{ - aliyunUserId_ = aliyunUserId; - setParameter("AliyunUserId", aliyunUserId); -} - -std::string CreateUserRequest::getUserName()const -{ - return userName_; -} - -void CreateUserRequest::setUserName(const std::string& userName) -{ - userName_ = userName; - setParameter("UserName", userName); -} - -std::string CreateUserRequest::getStatus()const -{ - return status_; -} - -void CreateUserRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/emr/src/model/CreateUserResult.cc b/emr/src/model/CreateUserResult.cc deleted file mode 100644 index 015e605a1..000000000 --- a/emr/src/model/CreateUserResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateUserResult::CreateUserResult() : - ServiceResult() -{} - -CreateUserResult::CreateUserResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateUserResult::~CreateUserResult() -{} - -void CreateUserResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool CreateUserResult::getPaging()const -{ - return paging_; -} - -bool CreateUserResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/CreateUsersRequest.cc b/emr/src/model/CreateUsersRequest.cc deleted file mode 100644 index 32844d804..000000000 --- a/emr/src/model/CreateUsersRequest.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateUsersRequest; - -CreateUsersRequest::CreateUsersRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateUsers") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateUsersRequest::~CreateUsersRequest() -{} - -long CreateUsersRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateUsersRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateUsersRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateUsersRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string CreateUsersRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateUsersRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateUsersRequest::getRegionId()const -{ - return regionId_; -} - -void CreateUsersRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::vector CreateUsersRequest::getUserInfo()const -{ - return userInfo_; -} - -void CreateUsersRequest::setUserInfo(const std::vector& userInfo) -{ - userInfo_ = userInfo; - for(int dep1 = 0; dep1!= userInfo.size(); dep1++) { - auto userInfoObj = userInfo.at(dep1); - std::string userInfoObjStr = "UserInfo." + std::to_string(dep1 + 1); - setParameter(userInfoObjStr + ".Type", userInfoObj.type); - setParameter(userInfoObjStr + ".UserId", userInfoObj.userId); - setParameter(userInfoObjStr + ".UserName", userInfoObj.userName); - } -} - diff --git a/emr/src/model/CreateUsersResult.cc b/emr/src/model/CreateUsersResult.cc deleted file mode 100644 index 2f3882ed4..000000000 --- a/emr/src/model/CreateUsersResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateUsersResult::CreateUsersResult() : - ServiceResult() -{} - -CreateUsersResult::CreateUsersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateUsersResult::~CreateUsersResult() -{} - -void CreateUsersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/DecommissionHostComponentRequest.cc b/emr/src/model/DecommissionHostComponentRequest.cc deleted file mode 100644 index 0d06dbdbe..000000000 --- a/emr/src/model/DecommissionHostComponentRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DecommissionHostComponentRequest; - -DecommissionHostComponentRequest::DecommissionHostComponentRequest() : - RpcServiceRequest("emr", "2016-04-08", "DecommissionHostComponent") -{ - setMethod(HttpRequest::Method::Post); -} - -DecommissionHostComponentRequest::~DecommissionHostComponentRequest() -{} - -long DecommissionHostComponentRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DecommissionHostComponentRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DecommissionHostComponentRequest::getHostInstanceId()const -{ - return hostInstanceId_; -} - -void DecommissionHostComponentRequest::setHostInstanceId(const std::string& hostInstanceId) -{ - hostInstanceId_ = hostInstanceId; - setParameter("HostInstanceId", hostInstanceId); -} - -std::string DecommissionHostComponentRequest::getComponentName()const -{ - return componentName_; -} - -void DecommissionHostComponentRequest::setComponentName(const std::string& componentName) -{ - componentName_ = componentName; - setParameter("ComponentName", componentName); -} - -std::string DecommissionHostComponentRequest::getClusterId()const -{ - return clusterId_; -} - -void DecommissionHostComponentRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string DecommissionHostComponentRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DecommissionHostComponentRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -long DecommissionHostComponentRequest::getTimeoutSeconds()const -{ - return timeoutSeconds_; -} - -void DecommissionHostComponentRequest::setTimeoutSeconds(long timeoutSeconds) -{ - timeoutSeconds_ = timeoutSeconds; - setParameter("TimeoutSeconds", std::to_string(timeoutSeconds)); -} - -std::string DecommissionHostComponentRequest::getRegionId()const -{ - return regionId_; -} - -void DecommissionHostComponentRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DecommissionHostComponentRequest::getServiceName()const -{ - return serviceName_; -} - -void DecommissionHostComponentRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setParameter("ServiceName", serviceName); -} - diff --git a/emr/src/model/DecommissionHostComponentResult.cc b/emr/src/model/DecommissionHostComponentResult.cc deleted file mode 100644 index d233fbffa..000000000 --- a/emr/src/model/DecommissionHostComponentResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DecommissionHostComponentResult::DecommissionHostComponentResult() : - ServiceResult() -{} - -DecommissionHostComponentResult::DecommissionHostComponentResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DecommissionHostComponentResult::~DecommissionHostComponentResult() -{} - -void DecommissionHostComponentResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/DeleteExecutionPlanRequest.cc b/emr/src/model/DeleteExecutionPlanRequest.cc deleted file mode 100644 index 79e2b5f85..000000000 --- a/emr/src/model/DeleteExecutionPlanRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteExecutionPlanRequest; - -DeleteExecutionPlanRequest::DeleteExecutionPlanRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteExecutionPlan") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteExecutionPlanRequest::~DeleteExecutionPlanRequest() -{} - -long DeleteExecutionPlanRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteExecutionPlanRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteExecutionPlanRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteExecutionPlanRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DeleteExecutionPlanRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteExecutionPlanRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DeleteExecutionPlanRequest::getId()const -{ - return id_; -} - -void DeleteExecutionPlanRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - diff --git a/emr/src/model/DeleteExecutionPlanResult.cc b/emr/src/model/DeleteExecutionPlanResult.cc deleted file mode 100644 index 31fc242d7..000000000 --- a/emr/src/model/DeleteExecutionPlanResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DeleteExecutionPlanResult::DeleteExecutionPlanResult() : - ServiceResult() -{} - -DeleteExecutionPlanResult::DeleteExecutionPlanResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteExecutionPlanResult::~DeleteExecutionPlanResult() -{} - -void DeleteExecutionPlanResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/DeleteJobRequest.cc b/emr/src/model/DeleteJobRequest.cc deleted file mode 100644 index b8eccfea1..000000000 --- a/emr/src/model/DeleteJobRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteJobRequest; - -DeleteJobRequest::DeleteJobRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteJob") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteJobRequest::~DeleteJobRequest() -{} - -long DeleteJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteJobRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteJobRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DeleteJobRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DeleteJobRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DeleteJobRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteJobRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DeleteJobRequest::getId()const -{ - return id_; -} - -void DeleteJobRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - diff --git a/emr/src/model/DeleteJobResult.cc b/emr/src/model/DeleteJobResult.cc deleted file mode 100644 index 9e2711fa8..000000000 --- a/emr/src/model/DeleteJobResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DeleteJobResult::DeleteJobResult() : - ServiceResult() -{} - -DeleteJobResult::DeleteJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteJobResult::~DeleteJobResult() -{} - -void DeleteJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/DeleteLibrariesRequest.cc b/emr/src/model/DeleteLibrariesRequest.cc deleted file mode 100644 index dcff17ead..000000000 --- a/emr/src/model/DeleteLibrariesRequest.cc +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteLibrariesRequest; - -DeleteLibrariesRequest::DeleteLibrariesRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteLibraries") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLibrariesRequest::~DeleteLibrariesRequest() -{} - -long DeleteLibrariesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteLibrariesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteLibrariesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteLibrariesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DeleteLibrariesRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteLibrariesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::vector DeleteLibrariesRequest::getLibraryBizIdList()const -{ - return libraryBizIdList_; -} - -void DeleteLibrariesRequest::setLibraryBizIdList(const std::vector& libraryBizIdList) -{ - libraryBizIdList_ = libraryBizIdList; - for(int dep1 = 0; dep1!= libraryBizIdList.size(); dep1++) { - setParameter("LibraryBizIdList."+ std::to_string(dep1), libraryBizIdList.at(dep1)); - } -} - diff --git a/emr/src/model/DeleteLibrariesResult.cc b/emr/src/model/DeleteLibrariesResult.cc deleted file mode 100644 index 83d5141be..000000000 --- a/emr/src/model/DeleteLibrariesResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DeleteLibrariesResult::DeleteLibrariesResult() : - ServiceResult() -{} - -DeleteLibrariesResult::DeleteLibrariesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteLibrariesResult::~DeleteLibrariesResult() -{} - -void DeleteLibrariesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool DeleteLibrariesResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/DeleteScalingRuleRequest.cc b/emr/src/model/DeleteScalingRuleRequest.cc deleted file mode 100644 index 3ba1655ad..000000000 --- a/emr/src/model/DeleteScalingRuleRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteScalingRuleRequest; - -DeleteScalingRuleRequest::DeleteScalingRuleRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteScalingRule") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteScalingRuleRequest::~DeleteScalingRuleRequest() -{} - -long DeleteScalingRuleRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteScalingRuleRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteScalingRuleRequest::getClusterId()const -{ - return clusterId_; -} - -void DeleteScalingRuleRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string DeleteScalingRuleRequest::getScalingRuleId()const -{ - return scalingRuleId_; -} - -void DeleteScalingRuleRequest::setScalingRuleId(const std::string& scalingRuleId) -{ - scalingRuleId_ = scalingRuleId; - setParameter("ScalingRuleId", scalingRuleId); -} - -std::string DeleteScalingRuleRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteScalingRuleRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DeleteScalingRuleRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteScalingRuleRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DeleteScalingRuleRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void DeleteScalingRuleRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setParameter("HostGroupId", hostGroupId); -} - diff --git a/emr/src/model/DeleteScalingRuleResult.cc b/emr/src/model/DeleteScalingRuleResult.cc deleted file mode 100644 index 33b12890a..000000000 --- a/emr/src/model/DeleteScalingRuleResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DeleteScalingRuleResult::DeleteScalingRuleResult() : - ServiceResult() -{} - -DeleteScalingRuleResult::DeleteScalingRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteScalingRuleResult::~DeleteScalingRuleResult() -{} - -void DeleteScalingRuleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool DeleteScalingRuleResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/DeleteTagRequest.cc b/emr/src/model/DeleteTagRequest.cc deleted file mode 100644 index d548ac320..000000000 --- a/emr/src/model/DeleteTagRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteTagRequest; - -DeleteTagRequest::DeleteTagRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteTag") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteTagRequest::~DeleteTagRequest() -{} - -long DeleteTagRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteTagRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteTagRequest::getDescription()const -{ - return description_; -} - -void DeleteTagRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -std::string DeleteTagRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteTagRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DeleteTagRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteTagRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DeleteTagRequest::getName()const -{ - return name_; -} - -void DeleteTagRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -long DeleteTagRequest::getId()const -{ - return id_; -} - -void DeleteTagRequest::setId(long id) -{ - id_ = id; - setParameter("Id", std::to_string(id)); -} - -std::string DeleteTagRequest::getCategory()const -{ - return category_; -} - -void DeleteTagRequest::setCategory(const std::string& category) -{ - category_ = category; - setParameter("Category", category); -} - diff --git a/emr/src/model/DeleteTagResult.cc b/emr/src/model/DeleteTagResult.cc deleted file mode 100644 index 130551297..000000000 --- a/emr/src/model/DeleteTagResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DeleteTagResult::DeleteTagResult() : - ServiceResult() -{} - -DeleteTagResult::DeleteTagResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteTagResult::~DeleteTagResult() -{} - -void DeleteTagResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool DeleteTagResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/DeleteUserRequest.cc b/emr/src/model/DeleteUserRequest.cc deleted file mode 100644 index 4f4b8557e..000000000 --- a/emr/src/model/DeleteUserRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteUserRequest; - -DeleteUserRequest::DeleteUserRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteUser") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteUserRequest::~DeleteUserRequest() -{} - -long DeleteUserRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteUserRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteUserRequest::getClusterId()const -{ - return clusterId_; -} - -void DeleteUserRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string DeleteUserRequest::getType()const -{ - return type_; -} - -void DeleteUserRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - -std::string DeleteUserRequest::getUserId()const -{ - return userId_; -} - -void DeleteUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - -std::string DeleteUserRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteUserRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DeleteUserRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteUserRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/DeleteUserResult.cc b/emr/src/model/DeleteUserResult.cc deleted file mode 100644 index 609919181..000000000 --- a/emr/src/model/DeleteUserResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DeleteUserResult::DeleteUserResult() : - ServiceResult() -{} - -DeleteUserResult::DeleteUserResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteUserResult::~DeleteUserResult() -{} - -void DeleteUserResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/DescribeClusterMetaCollectRequest.cc b/emr/src/model/DescribeClusterMetaCollectRequest.cc deleted file mode 100644 index 690d3fefc..000000000 --- a/emr/src/model/DescribeClusterMetaCollectRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeClusterMetaCollectRequest; - -DescribeClusterMetaCollectRequest::DescribeClusterMetaCollectRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeClusterMetaCollect") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeClusterMetaCollectRequest::~DescribeClusterMetaCollectRequest() -{} - -long DescribeClusterMetaCollectRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeClusterMetaCollectRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeClusterMetaCollectRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeClusterMetaCollectRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeClusterMetaCollectRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeClusterMetaCollectRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeClusterMetaCollectRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeClusterMetaCollectRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - diff --git a/emr/src/model/DescribeClusterMetaCollectResult.cc b/emr/src/model/DescribeClusterMetaCollectResult.cc deleted file mode 100644 index bf288fb14..000000000 --- a/emr/src/model/DescribeClusterMetaCollectResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeClusterMetaCollectResult::DescribeClusterMetaCollectResult() : - ServiceResult() -{} - -DescribeClusterMetaCollectResult::DescribeClusterMetaCollectResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeClusterMetaCollectResult::~DescribeClusterMetaCollectResult() -{} - -void DescribeClusterMetaCollectResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - if(!value["MetaStoreType"].isNull()) - metaStoreType_ = value["MetaStoreType"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - -} - -std::string DescribeClusterMetaCollectResult::getStatus()const -{ - return status_; -} - -std::string DescribeClusterMetaCollectResult::getClusterId()const -{ - return clusterId_; -} - -std::string DescribeClusterMetaCollectResult::getMetaStoreType()const -{ - return metaStoreType_; -} - diff --git a/emr/src/model/DescribeClusterServiceConfigHistoryRequest.cc b/emr/src/model/DescribeClusterServiceConfigHistoryRequest.cc deleted file mode 100644 index 982c023aa..000000000 --- a/emr/src/model/DescribeClusterServiceConfigHistoryRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeClusterServiceConfigHistoryRequest; - -DescribeClusterServiceConfigHistoryRequest::DescribeClusterServiceConfigHistoryRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeClusterServiceConfigHistory") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeClusterServiceConfigHistoryRequest::~DescribeClusterServiceConfigHistoryRequest() -{} - -long DescribeClusterServiceConfigHistoryRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeClusterServiceConfigHistoryRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeClusterServiceConfigHistoryRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeClusterServiceConfigHistoryRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string DescribeClusterServiceConfigHistoryRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeClusterServiceConfigHistoryRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeClusterServiceConfigHistoryRequest::getConfigVersion()const -{ - return configVersion_; -} - -void DescribeClusterServiceConfigHistoryRequest::setConfigVersion(const std::string& configVersion) -{ - configVersion_ = configVersion; - setParameter("ConfigVersion", configVersion); -} - -std::string DescribeClusterServiceConfigHistoryRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeClusterServiceConfigHistoryRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeClusterServiceConfigHistoryRequest::getServiceName()const -{ - return serviceName_; -} - -void DescribeClusterServiceConfigHistoryRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setParameter("ServiceName", serviceName); -} - diff --git a/emr/src/model/DescribeClusterServiceConfigHistoryResult.cc b/emr/src/model/DescribeClusterServiceConfigHistoryResult.cc deleted file mode 100644 index 3b2cd59fd..000000000 --- a/emr/src/model/DescribeClusterServiceConfigHistoryResult.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeClusterServiceConfigHistoryResult::DescribeClusterServiceConfigHistoryResult() : - ServiceResult() -{} - -DescribeClusterServiceConfigHistoryResult::DescribeClusterServiceConfigHistoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeClusterServiceConfigHistoryResult::~DescribeClusterServiceConfigHistoryResult() -{} - -void DescribeClusterServiceConfigHistoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto configNode = value["Config"]; - if(!configNode["ServiceName"].isNull()) - config_.serviceName = configNode["ServiceName"].asString(); - if(!configNode["ConfigVersion"].isNull()) - config_.configVersion = configNode["ConfigVersion"].asString(); - if(!configNode["Applied"].isNull()) - config_.applied = configNode["Applied"].asString() == "true"; - if(!configNode["CreateTime"].isNull()) - config_.createTime = configNode["CreateTime"].asString(); - if(!configNode["Author"].isNull()) - config_.author = configNode["Author"].asString(); - if(!configNode["Comment"].isNull()) - config_.comment = configNode["Comment"].asString(); - auto allConfigValueListNode = configNode["ConfigValueList"]["ConfigValue"]; - for (auto configNodeConfigValueListConfigValue : allConfigValueListNode) - { - Config::ConfigValue configValueObject; - if(!configNodeConfigValueListConfigValue["ConfigName"].isNull()) - configValueObject.configName = configNodeConfigValueListConfigValue["ConfigName"].asString(); - auto allConfigItemValueListNode = configNodeConfigValueListConfigValue["ConfigItemValueList"]["ConfigItemValue"]; - for (auto configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue : allConfigItemValueListNode) - { - Config::ConfigValue::ConfigItemValue configItemValueListObject; - if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["ItemName"].isNull()) - configItemValueListObject.itemName = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["ItemName"].asString(); - if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["Value"].isNull()) - configItemValueListObject.value = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["Value"].asString(); - if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["OldValue"].isNull()) - configItemValueListObject.oldValue = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["OldValue"].asString(); - if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["ChangeType"].isNull()) - configItemValueListObject.changeType = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["ChangeType"].asString(); - configValueObject.configItemValueList.push_back(configItemValueListObject); - } - config_.configValueList.push_back(configValueObject); - } - -} - -DescribeClusterServiceConfigHistoryResult::Config DescribeClusterServiceConfigHistoryResult::getConfig()const -{ - return config_; -} - diff --git a/emr/src/model/DescribeClusterServiceConfigResult.cc b/emr/src/model/DescribeClusterServiceConfigResult.cc index 6a10c3a40..77002c3aa 100644 --- a/emr/src/model/DescribeClusterServiceConfigResult.cc +++ b/emr/src/model/DescribeClusterServiceConfigResult.cc @@ -76,6 +76,8 @@ void DescribeClusterServiceConfigResult::parse(const std::string &payload) configItemValueListObject.isCustom = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["IsCustom"].asString() == "true"; if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["Description"].isNull()) configItemValueListObject.description = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["Description"].asString(); + if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["ValueScope"].isNull()) + configItemValueListObject.valueScope = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["ValueScope"].asString(); configValueObject.configItemValueList.push_back(configItemValueListObject); } config_.configValueList.push_back(configValueObject); diff --git a/emr/src/model/DescribeDataSourceRequest.cc b/emr/src/model/DescribeDataSourceRequest.cc deleted file mode 100644 index 7239a022e..000000000 --- a/emr/src/model/DescribeDataSourceRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeDataSourceRequest; - -DescribeDataSourceRequest::DescribeDataSourceRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeDataSource") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDataSourceRequest::~DescribeDataSourceRequest() -{} - -long DescribeDataSourceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeDataSourceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeDataSourceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeDataSourceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeDataSourceRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeDataSourceRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeDataSourceRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeDataSourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeDataSourceRequest::getId()const -{ - return id_; -} - -void DescribeDataSourceRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - diff --git a/emr/src/model/DescribeDataSourceResult.cc b/emr/src/model/DescribeDataSourceResult.cc deleted file mode 100644 index 5a37ebdf5..000000000 --- a/emr/src/model/DescribeDataSourceResult.cc +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeDataSourceResult::DescribeDataSourceResult() : - ServiceResult() -{} - -DescribeDataSourceResult::DescribeDataSourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDataSourceResult::~DescribeDataSourceResult() -{} - -void DescribeDataSourceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["CategoryId"].isNull()) - categoryId_ = value["CategoryId"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["SourceType"].isNull()) - sourceType_ = value["SourceType"].asString(); - if(!value["CreateFrom"].isNull()) - createFrom_ = value["CreateFrom"].asString(); - if(!value["Conf"].isNull()) - conf_ = value["Conf"].asString(); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - if(!value["Creator"].isNull()) - creator_ = value["Creator"].asString(); - if(!value["Modifier"].isNull()) - modifier_ = value["Modifier"].asString(); - if(!value["GmtCreate"].isNull()) - gmtCreate_ = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - gmtModified_ = std::stol(value["GmtModified"].asString()); - -} - -std::string DescribeDataSourceResult::getCategoryId()const -{ - return categoryId_; -} - -std::string DescribeDataSourceResult::getStatus()const -{ - return status_; -} - -std::string DescribeDataSourceResult::getDescription()const -{ - return description_; -} - -std::string DescribeDataSourceResult::getConf()const -{ - return conf_; -} - -std::string DescribeDataSourceResult::getClusterId()const -{ - return clusterId_; -} - -std::string DescribeDataSourceResult::getSourceType()const -{ - return sourceType_; -} - -long DescribeDataSourceResult::getGmtModified()const -{ - return gmtModified_; -} - -std::string DescribeDataSourceResult::getCreator()const -{ - return creator_; -} - -std::string DescribeDataSourceResult::getCreateFrom()const -{ - return createFrom_; -} - -std::string DescribeDataSourceResult::getName()const -{ - return name_; -} - -long DescribeDataSourceResult::getGmtCreate()const -{ - return gmtCreate_; -} - -std::string DescribeDataSourceResult::getId()const -{ - return id_; -} - -std::string DescribeDataSourceResult::getModifier()const -{ - return modifier_; -} - diff --git a/emr/src/model/DescribeDiskOpsActivityRequest.cc b/emr/src/model/DescribeDiskOpsActivityRequest.cc deleted file mode 100644 index 47eb068d3..000000000 --- a/emr/src/model/DescribeDiskOpsActivityRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeDiskOpsActivityRequest; - -DescribeDiskOpsActivityRequest::DescribeDiskOpsActivityRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeDiskOpsActivity") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDiskOpsActivityRequest::~DescribeDiskOpsActivityRequest() -{} - -std::string DescribeDiskOpsActivityRequest::getEventId()const -{ - return eventId_; -} - -void DescribeDiskOpsActivityRequest::setEventId(const std::string& eventId) -{ - eventId_ = eventId; - setParameter("EventId", eventId); -} - -long DescribeDiskOpsActivityRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeDiskOpsActivityRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeDiskOpsActivityRequest::getCurrentStage()const -{ - return currentStage_; -} - -void DescribeDiskOpsActivityRequest::setCurrentStage(const std::string& currentStage) -{ - currentStage_ = currentStage; - setParameter("CurrentStage", currentStage); -} - -std::string DescribeDiskOpsActivityRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeDiskOpsActivityRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string DescribeDiskOpsActivityRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeDiskOpsActivityRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeDiskOpsActivityRequest::getInstanceId()const -{ - return instanceId_; -} - -void DescribeDiskOpsActivityRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string DescribeDiskOpsActivityRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeDiskOpsActivityRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeDiskOpsActivityRequest::getDiskId()const -{ - return diskId_; -} - -void DescribeDiskOpsActivityRequest::setDiskId(const std::string& diskId) -{ - diskId_ = diskId; - setParameter("DiskId", diskId); -} - -std::string DescribeDiskOpsActivityRequest::getCurrentState()const -{ - return currentState_; -} - -void DescribeDiskOpsActivityRequest::setCurrentState(const std::string& currentState) -{ - currentState_ = currentState; - setParameter("CurrentState", currentState); -} - diff --git a/emr/src/model/DescribeDiskOpsActivityResult.cc b/emr/src/model/DescribeDiskOpsActivityResult.cc deleted file mode 100644 index 2e308264b..000000000 --- a/emr/src/model/DescribeDiskOpsActivityResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeDiskOpsActivityResult::DescribeDiskOpsActivityResult() : - ServiceResult() -{} - -DescribeDiskOpsActivityResult::DescribeDiskOpsActivityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDiskOpsActivityResult::~DescribeDiskOpsActivityResult() -{} - -void DescribeDiskOpsActivityResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ClusterType"].isNull()) - clusterType_ = value["ClusterType"].asString(); - if(!value["CurrentActivity"].isNull()) - currentActivity_ = value["CurrentActivity"].asString(); - if(!value["ActivityState"].isNull()) - activityState_ = value["ActivityState"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["NeedReboot"].isNull()) - needReboot_ = value["NeedReboot"].asString() == "true"; - -} - -std::string DescribeDiskOpsActivityResult::getActivityState()const -{ - return activityState_; -} - -std::string DescribeDiskOpsActivityResult::getCurrentActivity()const -{ - return currentActivity_; -} - -std::string DescribeDiskOpsActivityResult::getClusterType()const -{ - return clusterType_; -} - -bool DescribeDiskOpsActivityResult::getNeedReboot()const -{ - return needReboot_; -} - -std::string DescribeDiskOpsActivityResult::getErrorMessage()const -{ - return errorMessage_; -} - diff --git a/emr/src/model/DescribeEmrMainVersionRequest.cc b/emr/src/model/DescribeEmrMainVersionRequest.cc deleted file mode 100644 index 31ba3449d..000000000 --- a/emr/src/model/DescribeEmrMainVersionRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeEmrMainVersionRequest; - -DescribeEmrMainVersionRequest::DescribeEmrMainVersionRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeEmrMainVersion") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeEmrMainVersionRequest::~DescribeEmrMainVersionRequest() -{} - -long DescribeEmrMainVersionRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeEmrMainVersionRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeEmrMainVersionRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeEmrMainVersionRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeEmrMainVersionRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeEmrMainVersionRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeEmrMainVersionRequest::getEmrVersion()const -{ - return emrVersion_; -} - -void DescribeEmrMainVersionRequest::setEmrVersion(const std::string& emrVersion) -{ - emrVersion_ = emrVersion; - setParameter("EmrVersion", emrVersion); -} - diff --git a/emr/src/model/DescribeEmrMainVersionResult.cc b/emr/src/model/DescribeEmrMainVersionResult.cc deleted file mode 100644 index 1dceaa359..000000000 --- a/emr/src/model/DescribeEmrMainVersionResult.cc +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeEmrMainVersionResult::DescribeEmrMainVersionResult() : - ServiceResult() -{} - -DescribeEmrMainVersionResult::DescribeEmrMainVersionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeEmrMainVersionResult::~DescribeEmrMainVersionResult() -{} - -void DescribeEmrMainVersionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto emrMainVersionNode = value["EmrMainVersion"]; - if(!emrMainVersionNode["RegionId"].isNull()) - emrMainVersion_.regionId = emrMainVersionNode["RegionId"].asString(); - if(!emrMainVersionNode["EmrVersion"].isNull()) - emrMainVersion_.emrVersion = emrMainVersionNode["EmrVersion"].asString(); - if(!emrMainVersionNode["EcmVersion"].isNull()) - emrMainVersion_.ecmVersion = emrMainVersionNode["EcmVersion"].asString() == "true"; - if(!emrMainVersionNode["ImageId"].isNull()) - emrMainVersion_.imageId = emrMainVersionNode["ImageId"].asString(); - if(!emrMainVersionNode["Display"].isNull()) - emrMainVersion_.display = emrMainVersionNode["Display"].asString() == "true"; - if(!emrMainVersionNode["StackName"].isNull()) - emrMainVersion_.stackName = emrMainVersionNode["StackName"].asString(); - if(!emrMainVersionNode["StackVersion"].isNull()) - emrMainVersion_.stackVersion = emrMainVersionNode["StackVersion"].asString(); - if(!emrMainVersionNode["PublishType"].isNull()) - emrMainVersion_.publishType = emrMainVersionNode["PublishType"].asString(); - auto allClusterTypeInfoListNode = emrMainVersionNode["ClusterTypeInfoList"]["ClusterTypeInfo"]; - for (auto emrMainVersionNodeClusterTypeInfoListClusterTypeInfo : allClusterTypeInfoListNode) - { - EmrMainVersion::ClusterTypeInfo clusterTypeInfoObject; - if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfo["ClusterType"].isNull()) - clusterTypeInfoObject.clusterType = emrMainVersionNodeClusterTypeInfoListClusterTypeInfo["ClusterType"].asString(); - auto allServiceInfoListNode = emrMainVersionNodeClusterTypeInfoListClusterTypeInfo["ServiceInfoList"]["ServiceInfo"]; - for (auto emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo : allServiceInfoListNode) - { - EmrMainVersion::ClusterTypeInfo::ServiceInfo serviceInfoListObject; - if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceName"].isNull()) - serviceInfoListObject.serviceName = emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceName"].asString(); - if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceDisplayName"].isNull()) - serviceInfoListObject.serviceDisplayName = emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceDisplayName"].asString(); - if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceVersion"].isNull()) - serviceInfoListObject.serviceVersion = emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceVersion"].asString(); - if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceDisplayVersion"].isNull()) - serviceInfoListObject.serviceDisplayVersion = emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceDisplayVersion"].asString(); - if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["Mandatory"].isNull()) - serviceInfoListObject.mandatory = emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["Mandatory"].asString() == "true"; - if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["Display"].isNull()) - serviceInfoListObject.display = emrMainVersionNodeClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["Display"].asString() == "true"; - clusterTypeInfoObject.serviceInfoList.push_back(serviceInfoListObject); - } - emrMainVersion_.clusterTypeInfoList.push_back(clusterTypeInfoObject); - } - auto allClusterTypeWhiteUserListNode = emrMainVersionNode["ClusterTypeWhiteUserList"]["ClusterTypeWhiteUser"]; - for (auto emrMainVersionNodeClusterTypeWhiteUserListClusterTypeWhiteUser : allClusterTypeWhiteUserListNode) - { - EmrMainVersion::ClusterTypeWhiteUser clusterTypeWhiteUserObject; - if(!emrMainVersionNodeClusterTypeWhiteUserListClusterTypeWhiteUser["ClusterType"].isNull()) - clusterTypeWhiteUserObject.clusterType = emrMainVersionNodeClusterTypeWhiteUserListClusterTypeWhiteUser["ClusterType"].asString(); - if(!emrMainVersionNodeClusterTypeWhiteUserListClusterTypeWhiteUser["UserId"].isNull()) - clusterTypeWhiteUserObject.userId = emrMainVersionNodeClusterTypeWhiteUserListClusterTypeWhiteUser["UserId"].asString(); - emrMainVersion_.clusterTypeWhiteUserList.push_back(clusterTypeWhiteUserObject); - } - auto allWhiteUserList = emrMainVersionNode["WhiteUserList"]["WwhiteUser"]; - for (auto value : allWhiteUserList) - emrMainVersion_.whiteUserList.push_back(value.asString()); - -} - -DescribeEmrMainVersionResult::EmrMainVersion DescribeEmrMainVersionResult::getEmrMainVersion()const -{ - return emrMainVersion_; -} - diff --git a/emr/src/model/DescribeExecutionPlanRequest.cc b/emr/src/model/DescribeExecutionPlanRequest.cc deleted file mode 100644 index 28f163a15..000000000 --- a/emr/src/model/DescribeExecutionPlanRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeExecutionPlanRequest; - -DescribeExecutionPlanRequest::DescribeExecutionPlanRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeExecutionPlan") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeExecutionPlanRequest::~DescribeExecutionPlanRequest() -{} - -long DescribeExecutionPlanRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeExecutionPlanRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeExecutionPlanRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeExecutionPlanRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeExecutionPlanRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeExecutionPlanRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeExecutionPlanRequest::getId()const -{ - return id_; -} - -void DescribeExecutionPlanRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - diff --git a/emr/src/model/DescribeExecutionPlanResult.cc b/emr/src/model/DescribeExecutionPlanResult.cc deleted file mode 100644 index 1eacb1475..000000000 --- a/emr/src/model/DescribeExecutionPlanResult.cc +++ /dev/null @@ -1,278 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeExecutionPlanResult::DescribeExecutionPlanResult() : - ServiceResult() -{} - -DescribeExecutionPlanResult::DescribeExecutionPlanResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeExecutionPlanResult::~DescribeExecutionPlanResult() -{} - -void DescribeExecutionPlanResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobInfoListNode = value["JobInfoList"]["JobInfo"]; - for (auto valueJobInfoListJobInfo : allJobInfoListNode) - { - JobInfo jobInfoListObject; - if(!valueJobInfoListJobInfo["Id"].isNull()) - jobInfoListObject.id = valueJobInfoListJobInfo["Id"].asString(); - if(!valueJobInfoListJobInfo["Name"].isNull()) - jobInfoListObject.name = valueJobInfoListJobInfo["Name"].asString(); - if(!valueJobInfoListJobInfo["Type"].isNull()) - jobInfoListObject.type = valueJobInfoListJobInfo["Type"].asString(); - if(!valueJobInfoListJobInfo["RunParameter"].isNull()) - jobInfoListObject.runParameter = valueJobInfoListJobInfo["RunParameter"].asString(); - if(!valueJobInfoListJobInfo["FailAct"].isNull()) - jobInfoListObject.failAct = valueJobInfoListJobInfo["FailAct"].asString(); - jobInfoList_.push_back(jobInfoListObject); - } - auto clusterInfoNode = value["ClusterInfo"]; - if(!clusterInfoNode["Name"].isNull()) - clusterInfo_.name = clusterInfoNode["Name"].asString(); - if(!clusterInfoNode["ZoneId"].isNull()) - clusterInfo_.zoneId = clusterInfoNode["ZoneId"].asString(); - if(!clusterInfoNode["LogEnable"].isNull()) - clusterInfo_.logEnable = clusterInfoNode["LogEnable"].asString() == "true"; - if(!clusterInfoNode["LogPath"].isNull()) - clusterInfo_.logPath = clusterInfoNode["LogPath"].asString(); - if(!clusterInfoNode["SecurityGroupId"].isNull()) - clusterInfo_.securityGroupId = clusterInfoNode["SecurityGroupId"].asString(); - if(!clusterInfoNode["EmrVer"].isNull()) - clusterInfo_.emrVer = clusterInfoNode["EmrVer"].asString(); - if(!clusterInfoNode["ClusterType"].isNull()) - clusterInfo_.clusterType = clusterInfoNode["ClusterType"].asString(); - if(!clusterInfoNode["HighAvailabilityEnable"].isNull()) - clusterInfo_.highAvailabilityEnable = clusterInfoNode["HighAvailabilityEnable"].asString() == "true"; - if(!clusterInfoNode["VpcId"].isNull()) - clusterInfo_.vpcId = clusterInfoNode["VpcId"].asString(); - if(!clusterInfoNode["VSwitchId"].isNull()) - clusterInfo_.vSwitchId = clusterInfoNode["VSwitchId"].asString(); - if(!clusterInfoNode["NetType"].isNull()) - clusterInfo_.netType = clusterInfoNode["NetType"].asString(); - if(!clusterInfoNode["IoOptimized"].isNull()) - clusterInfo_.ioOptimized = clusterInfoNode["IoOptimized"].asString() == "true"; - if(!clusterInfoNode["InstanceGeneration"].isNull()) - clusterInfo_.instanceGeneration = clusterInfoNode["InstanceGeneration"].asString(); - if(!clusterInfoNode["Configurations"].isNull()) - clusterInfo_.configurations = clusterInfoNode["Configurations"].asString(); - if(!clusterInfoNode["EasEnable"].isNull()) - clusterInfo_.easEnable = clusterInfoNode["EasEnable"].asString() == "true"; - if(!clusterInfoNode["UseCustomHiveMetaDB"].isNull()) - clusterInfo_.useCustomHiveMetaDB = clusterInfoNode["UseCustomHiveMetaDB"].asString() == "true"; - if(!clusterInfoNode["InitCustomHiveMetaDB"].isNull()) - clusterInfo_.initCustomHiveMetaDB = clusterInfoNode["InitCustomHiveMetaDB"].asString() == "true"; - if(!clusterInfoNode["UserDefinedEmrEcsRole"].isNull()) - clusterInfo_.userDefinedEmrEcsRole = clusterInfoNode["UserDefinedEmrEcsRole"].asString(); - if(!clusterInfoNode["UseLocalMetaDb"].isNull()) - clusterInfo_.useLocalMetaDb = clusterInfoNode["UseLocalMetaDb"].asString() == "true"; - auto allEcsOrdersNode = clusterInfoNode["EcsOrders"]["EcsOrderInfo"]; - for (auto clusterInfoNodeEcsOrdersEcsOrderInfo : allEcsOrdersNode) - { - ClusterInfo::EcsOrderInfo ecsOrderInfoObject; - if(!clusterInfoNodeEcsOrdersEcsOrderInfo["Index"].isNull()) - ecsOrderInfoObject.index = std::stoi(clusterInfoNodeEcsOrdersEcsOrderInfo["Index"].asString()); - if(!clusterInfoNodeEcsOrdersEcsOrderInfo["NodeCount"].isNull()) - ecsOrderInfoObject.nodeCount = std::stoi(clusterInfoNodeEcsOrdersEcsOrderInfo["NodeCount"].asString()); - if(!clusterInfoNodeEcsOrdersEcsOrderInfo["InstanceType"].isNull()) - ecsOrderInfoObject.instanceType = clusterInfoNodeEcsOrdersEcsOrderInfo["InstanceType"].asString(); - if(!clusterInfoNodeEcsOrdersEcsOrderInfo["DiskType"].isNull()) - ecsOrderInfoObject.diskType = clusterInfoNodeEcsOrdersEcsOrderInfo["DiskType"].asString(); - if(!clusterInfoNodeEcsOrdersEcsOrderInfo["DiskCapacity"].isNull()) - ecsOrderInfoObject.diskCapacity = std::stoi(clusterInfoNodeEcsOrdersEcsOrderInfo["DiskCapacity"].asString()); - if(!clusterInfoNodeEcsOrdersEcsOrderInfo["NodeType"].isNull()) - ecsOrderInfoObject.nodeType = clusterInfoNodeEcsOrdersEcsOrderInfo["NodeType"].asString(); - if(!clusterInfoNodeEcsOrdersEcsOrderInfo["DiskCount"].isNull()) - ecsOrderInfoObject.diskCount = std::stoi(clusterInfoNodeEcsOrdersEcsOrderInfo["DiskCount"].asString()); - clusterInfo_.ecsOrders.push_back(ecsOrderInfoObject); - } - auto allBootstrapActionListNode = clusterInfoNode["BootstrapActionList"]["BootstrapAction"]; - for (auto clusterInfoNodeBootstrapActionListBootstrapAction : allBootstrapActionListNode) - { - ClusterInfo::BootstrapAction bootstrapActionObject; - if(!clusterInfoNodeBootstrapActionListBootstrapAction["Name"].isNull()) - bootstrapActionObject.name = clusterInfoNodeBootstrapActionListBootstrapAction["Name"].asString(); - if(!clusterInfoNodeBootstrapActionListBootstrapAction["Path"].isNull()) - bootstrapActionObject.path = clusterInfoNodeBootstrapActionListBootstrapAction["Path"].asString(); - if(!clusterInfoNodeBootstrapActionListBootstrapAction["Arg"].isNull()) - bootstrapActionObject.arg = clusterInfoNodeBootstrapActionListBootstrapAction["Arg"].asString(); - clusterInfo_.bootstrapActionList.push_back(bootstrapActionObject); - } - auto allConfigListNode = clusterInfoNode["ConfigList"]["Config"]; - for (auto clusterInfoNodeConfigListConfig : allConfigListNode) - { - ClusterInfo::Config configObject; - if(!clusterInfoNodeConfigListConfig["ServiceName"].isNull()) - configObject.serviceName = clusterInfoNodeConfigListConfig["ServiceName"].asString(); - if(!clusterInfoNodeConfigListConfig["FileName"].isNull()) - configObject.fileName = clusterInfoNodeConfigListConfig["FileName"].asString(); - if(!clusterInfoNodeConfigListConfig["ConfigKey"].isNull()) - configObject.configKey = clusterInfoNodeConfigListConfig["ConfigKey"].asString(); - if(!clusterInfoNodeConfigListConfig["ConfigValue"].isNull()) - configObject.configValue = clusterInfoNodeConfigListConfig["ConfigValue"].asString(); - if(!clusterInfoNodeConfigListConfig["Encrypt"].isNull()) - configObject.encrypt = clusterInfoNodeConfigListConfig["Encrypt"].asString(); - clusterInfo_.configList.push_back(configObject); - } - auto softwareInfoNode = clusterInfoNode["SoftwareInfo"]; - if(!softwareInfoNode["EmrVer"].isNull()) - clusterInfo_.softwareInfo.emrVer = softwareInfoNode["EmrVer"].asString(); - if(!softwareInfoNode["ClusterType"].isNull()) - clusterInfo_.softwareInfo.clusterType = softwareInfoNode["ClusterType"].asString(); - auto allSoftwaresNode = softwareInfoNode["Softwares"]["Software"]; - for (auto softwareInfoNodeSoftwaresSoftware : allSoftwaresNode) - { - ClusterInfo::SoftwareInfo::Software softwareObject; - if(!softwareInfoNodeSoftwaresSoftware["DisplayName"].isNull()) - softwareObject.displayName = softwareInfoNodeSoftwaresSoftware["DisplayName"].asString(); - if(!softwareInfoNodeSoftwaresSoftware["Name"].isNull()) - softwareObject.name = softwareInfoNodeSoftwaresSoftware["Name"].asString(); - if(!softwareInfoNodeSoftwaresSoftware["OnlyDisplay"].isNull()) - softwareObject.onlyDisplay = softwareInfoNodeSoftwaresSoftware["OnlyDisplay"].asString() == "true"; - if(!softwareInfoNodeSoftwaresSoftware["StartTpe"].isNull()) - softwareObject.startTpe = std::stoi(softwareInfoNodeSoftwaresSoftware["StartTpe"].asString()); - if(!softwareInfoNodeSoftwaresSoftware["Version"].isNull()) - softwareObject.version = softwareInfoNodeSoftwaresSoftware["Version"].asString(); - if(!softwareInfoNodeSoftwaresSoftware["Optional"].isNull()) - softwareObject.optional = softwareInfoNodeSoftwaresSoftware["Optional"].asString() == "true"; - clusterInfo_.softwareInfo.softwares.push_back(softwareObject); - } - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["Strategy"].isNull()) - strategy_ = value["Strategy"].asString(); - if(!value["TimeInterval"].isNull()) - timeInterval_ = std::stoi(value["TimeInterval"].asString()); - if(!value["StartTime"].isNull()) - startTime_ = std::stol(value["StartTime"].asString()); - if(!value["TimeUnit"].isNull()) - timeUnit_ = value["TimeUnit"].asString(); - if(!value["DayOfWeek"].isNull()) - dayOfWeek_ = value["DayOfWeek"].asString(); - if(!value["DayOfMonth"].isNull()) - dayOfMonth_ = value["DayOfMonth"].asString(); - if(!value["CreateClusterOnDemand"].isNull()) - createClusterOnDemand_ = value["CreateClusterOnDemand"].asString() == "true"; - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - if(!value["ClusterName"].isNull()) - clusterName_ = value["ClusterName"].asString(); - if(!value["WorkflowApp"].isNull()) - workflowApp_ = value["WorkflowApp"].asString(); - if(!value["ExecutionPlanVersion"].isNull()) - executionPlanVersion_ = std::stol(value["ExecutionPlanVersion"].asString()); - -} - -std::string DescribeExecutionPlanResult::getStatus()const -{ - return status_; -} - -std::string DescribeExecutionPlanResult::getWorkflowApp()const -{ - return workflowApp_; -} - -std::string DescribeExecutionPlanResult::getDayOfWeek()const -{ - return dayOfWeek_; -} - -int DescribeExecutionPlanResult::getTimeInterval()const -{ - return timeInterval_; -} - -std::string DescribeExecutionPlanResult::getClusterId()const -{ - return clusterId_; -} - -std::string DescribeExecutionPlanResult::getDayOfMonth()const -{ - return dayOfMonth_; -} - -long DescribeExecutionPlanResult::getStartTime()const -{ - return startTime_; -} - -long DescribeExecutionPlanResult::getExecutionPlanVersion()const -{ - return executionPlanVersion_; -} - -std::string DescribeExecutionPlanResult::getName()const -{ - return name_; -} - -std::vector DescribeExecutionPlanResult::getJobInfoList()const -{ - return jobInfoList_; -} - -DescribeExecutionPlanResult::ClusterInfo DescribeExecutionPlanResult::getClusterInfo()const -{ - return clusterInfo_; -} - -std::string DescribeExecutionPlanResult::getStrategy()const -{ - return strategy_; -} - -std::string DescribeExecutionPlanResult::getTimeUnit()const -{ - return timeUnit_; -} - -std::string DescribeExecutionPlanResult::getClusterName()const -{ - return clusterName_; -} - -std::string DescribeExecutionPlanResult::getId()const -{ - return id_; -} - -bool DescribeExecutionPlanResult::getCreateClusterOnDemand()const -{ - return createClusterOnDemand_; -} - diff --git a/emr/src/model/DescribeJobRequest.cc b/emr/src/model/DescribeJobRequest.cc deleted file mode 100644 index 50c4da691..000000000 --- a/emr/src/model/DescribeJobRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeJobRequest; - -DescribeJobRequest::DescribeJobRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeJob") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeJobRequest::~DescribeJobRequest() -{} - -long DescribeJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeJobRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeJobRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeJobRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeJobRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeJobRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeJobRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeJobRequest::getId()const -{ - return id_; -} - -void DescribeJobRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - diff --git a/emr/src/model/DescribeJobResult.cc b/emr/src/model/DescribeJobResult.cc deleted file mode 100644 index 4dea0af8c..000000000 --- a/emr/src/model/DescribeJobResult.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeJobResult::DescribeJobResult() : - ServiceResult() -{} - -DescribeJobResult::DescribeJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeJobResult::~DescribeJobResult() -{} - -void DescribeJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["FailAct"].isNull()) - failAct_ = value["FailAct"].asString(); - if(!value["Type"].isNull()) - type_ = value["Type"].asString(); - if(!value["MaxRetry"].isNull()) - maxRetry_ = std::stoi(value["MaxRetry"].asString()); - if(!value["RetryInterval"].isNull()) - retryInterval_ = std::stoi(value["RetryInterval"].asString()); - if(!value["RunParameter"].isNull()) - runParameter_ = value["RunParameter"].asString(); - -} - -std::string DescribeJobResult::getFailAct()const -{ - return failAct_; -} - -std::string DescribeJobResult::getType()const -{ - return type_; -} - -std::string DescribeJobResult::getRunParameter()const -{ - return runParameter_; -} - -std::string DescribeJobResult::getId()const -{ - return id_; -} - -int DescribeJobResult::getMaxRetry()const -{ - return maxRetry_; -} - -int DescribeJobResult::getRetryInterval()const -{ - return retryInterval_; -} - -std::string DescribeJobResult::getName()const -{ - return name_; -} - diff --git a/emr/src/model/DescribeLibraryDetailRequest.cc b/emr/src/model/DescribeLibraryDetailRequest.cc deleted file mode 100644 index c18ae8efb..000000000 --- a/emr/src/model/DescribeLibraryDetailRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeLibraryDetailRequest; - -DescribeLibraryDetailRequest::DescribeLibraryDetailRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeLibraryDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLibraryDetailRequest::~DescribeLibraryDetailRequest() -{} - -long DescribeLibraryDetailRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeLibraryDetailRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeLibraryDetailRequest::getLibraryBizId()const -{ - return libraryBizId_; -} - -void DescribeLibraryDetailRequest::setLibraryBizId(const std::string& libraryBizId) -{ - libraryBizId_ = libraryBizId; - setParameter("LibraryBizId", libraryBizId); -} - -std::string DescribeLibraryDetailRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeLibraryDetailRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeLibraryDetailRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeLibraryDetailRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/DescribeLibraryDetailResult.cc b/emr/src/model/DescribeLibraryDetailResult.cc deleted file mode 100644 index d8604142c..000000000 --- a/emr/src/model/DescribeLibraryDetailResult.cc +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeLibraryDetailResult::DescribeLibraryDetailResult() : - ServiceResult() -{} - -DescribeLibraryDetailResult::DescribeLibraryDetailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLibraryDetailResult::~DescribeLibraryDetailResult() -{} - -void DescribeLibraryDetailResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["BizId"].isNull()) - bizId_ = value["BizId"].asString(); - if(!value["CreateTime"].isNull()) - createTime_ = std::stol(value["CreateTime"].asString()); - if(!value["Type"].isNull()) - type_ = value["Type"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["LibraryVersion"].isNull()) - libraryVersion_ = value["LibraryVersion"].asString(); - if(!value["SourceType"].isNull()) - sourceType_ = value["SourceType"].asString(); - if(!value["SourceLocation"].isNull()) - sourceLocation_ = value["SourceLocation"].asString(); - if(!value["Scope"].isNull()) - scope_ = value["Scope"].asString(); - if(!value["Properties"].isNull()) - properties_ = value["Properties"].asString(); - if(!value["UserId"].isNull()) - userId_ = value["UserId"].asString(); - -} - -std::string DescribeLibraryDetailResult::getSourceLocation()const -{ - return sourceLocation_; -} - -std::string DescribeLibraryDetailResult::getType()const -{ - return type_; -} - -std::string DescribeLibraryDetailResult::getScope()const -{ - return scope_; -} - -std::string DescribeLibraryDetailResult::getUserId()const -{ - return userId_; -} - -long DescribeLibraryDetailResult::getCreateTime()const -{ - return createTime_; -} - -std::string DescribeLibraryDetailResult::getSourceType()const -{ - return sourceType_; -} - -std::string DescribeLibraryDetailResult::getLibraryVersion()const -{ - return libraryVersion_; -} - -std::string DescribeLibraryDetailResult::getProperties()const -{ - return properties_; -} - -std::string DescribeLibraryDetailResult::getBizId()const -{ - return bizId_; -} - -std::string DescribeLibraryDetailResult::getName()const -{ - return name_; -} - diff --git a/emr/src/model/DescribeLibraryInstallTaskDetailRequest.cc b/emr/src/model/DescribeLibraryInstallTaskDetailRequest.cc deleted file mode 100644 index 69ae09955..000000000 --- a/emr/src/model/DescribeLibraryInstallTaskDetailRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeLibraryInstallTaskDetailRequest; - -DescribeLibraryInstallTaskDetailRequest::DescribeLibraryInstallTaskDetailRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeLibraryInstallTaskDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLibraryInstallTaskDetailRequest::~DescribeLibraryInstallTaskDetailRequest() -{} - -long DescribeLibraryInstallTaskDetailRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeLibraryInstallTaskDetailRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeLibraryInstallTaskDetailRequest::getTaskBizId()const -{ - return taskBizId_; -} - -void DescribeLibraryInstallTaskDetailRequest::setTaskBizId(const std::string& taskBizId) -{ - taskBizId_ = taskBizId; - setParameter("TaskBizId", taskBizId); -} - -std::string DescribeLibraryInstallTaskDetailRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeLibraryInstallTaskDetailRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeLibraryInstallTaskDetailRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeLibraryInstallTaskDetailRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/DescribeLibraryInstallTaskDetailResult.cc b/emr/src/model/DescribeLibraryInstallTaskDetailResult.cc deleted file mode 100644 index 2a1acd495..000000000 --- a/emr/src/model/DescribeLibraryInstallTaskDetailResult.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeLibraryInstallTaskDetailResult::DescribeLibraryInstallTaskDetailResult() : - ServiceResult() -{} - -DescribeLibraryInstallTaskDetailResult::DescribeLibraryInstallTaskDetailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLibraryInstallTaskDetailResult::~DescribeLibraryInstallTaskDetailResult() -{} - -void DescribeLibraryInstallTaskDetailResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["LibraryBizId"].isNull()) - libraryBizId_ = value["LibraryBizId"].asString(); - if(!value["TaskGroupId"].isNull()) - taskGroupId_ = value["TaskGroupId"].asString(); - if(!value["TaskId"].isNull()) - taskId_ = value["TaskId"].asString(); - if(!value["TaskStatus"].isNull()) - taskStatus_ = value["TaskStatus"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - endTime_ = std::stol(value["EndTime"].asString()); - if(!value["ExecuteTime"].isNull()) - executeTime_ = std::stol(value["ExecuteTime"].asString()); - if(!value["TaskProcess"].isNull()) - taskProcess_ = std::stoi(value["TaskProcess"].asString()); - if(!value["TaskType"].isNull()) - taskType_ = value["TaskType"].asString(); - if(!value["Detail"].isNull()) - detail_ = value["Detail"].asString(); - if(!value["ClusterBizId"].isNull()) - clusterBizId_ = value["ClusterBizId"].asString(); - if(!value["Hostname"].isNull()) - hostname_ = value["Hostname"].asString(); - -} - -std::string DescribeLibraryInstallTaskDetailResult::getTaskId()const -{ - return taskId_; -} - -std::string DescribeLibraryInstallTaskDetailResult::getLibraryBizId()const -{ - return libraryBizId_; -} - -long DescribeLibraryInstallTaskDetailResult::getEndTime()const -{ - return endTime_; -} - -std::string DescribeLibraryInstallTaskDetailResult::getTaskGroupId()const -{ - return taskGroupId_; -} - -long DescribeLibraryInstallTaskDetailResult::getExecuteTime()const -{ - return executeTime_; -} - -int DescribeLibraryInstallTaskDetailResult::getTaskProcess()const -{ - return taskProcess_; -} - -std::string DescribeLibraryInstallTaskDetailResult::getClusterBizId()const -{ - return clusterBizId_; -} - -std::string DescribeLibraryInstallTaskDetailResult::getTaskType()const -{ - return taskType_; -} - -long DescribeLibraryInstallTaskDetailResult::getStartTime()const -{ - return startTime_; -} - -std::string DescribeLibraryInstallTaskDetailResult::getHostname()const -{ - return hostname_; -} - -std::string DescribeLibraryInstallTaskDetailResult::getTaskStatus()const -{ - return taskStatus_; -} - -std::string DescribeLibraryInstallTaskDetailResult::getDetail()const -{ - return detail_; -} - diff --git a/emr/src/model/DescribeMetaTablePreviewTaskRequest.cc b/emr/src/model/DescribeMetaTablePreviewTaskRequest.cc deleted file mode 100644 index 6e7c9a6c5..000000000 --- a/emr/src/model/DescribeMetaTablePreviewTaskRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeMetaTablePreviewTaskRequest; - -DescribeMetaTablePreviewTaskRequest::DescribeMetaTablePreviewTaskRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeMetaTablePreviewTask") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeMetaTablePreviewTaskRequest::~DescribeMetaTablePreviewTaskRequest() -{} - -long DescribeMetaTablePreviewTaskRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeMetaTablePreviewTaskRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeMetaTablePreviewTaskRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeMetaTablePreviewTaskRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeMetaTablePreviewTaskRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeMetaTablePreviewTaskRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeMetaTablePreviewTaskRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeMetaTablePreviewTaskRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeMetaTablePreviewTaskRequest::getTaskId()const -{ - return taskId_; -} - -void DescribeMetaTablePreviewTaskRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setParameter("TaskId", taskId); -} - diff --git a/emr/src/model/DescribeMetaTablePreviewTaskResult.cc b/emr/src/model/DescribeMetaTablePreviewTaskResult.cc deleted file mode 100644 index a89f1869b..000000000 --- a/emr/src/model/DescribeMetaTablePreviewTaskResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeMetaTablePreviewTaskResult::DescribeMetaTablePreviewTaskResult() : - ServiceResult() -{} - -DescribeMetaTablePreviewTaskResult::DescribeMetaTablePreviewTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeMetaTablePreviewTaskResult::~DescribeMetaTablePreviewTaskResult() -{} - -void DescribeMetaTablePreviewTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - auto allRowsNode = dataNode["Rows"]["Row"]; - for (auto dataNodeRowsRow : allRowsNode) - { - Data::Row rowObject; - auto allColumns = value["Columns"]["Column"]; - for (auto value : allColumns) - rowObject.columns.push_back(value.asString()); - data_.rows.push_back(rowObject); - } - auto allHeaders = dataNode["Headers"]["Header"]; - for (auto value : allHeaders) - data_.headers.push_back(value.asString()); - if(!value["TaskId"].isNull()) - taskId_ = value["TaskId"].asString(); - if(!value["TaskStatus"].isNull()) - taskStatus_ = value["TaskStatus"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - endTime_ = std::stol(value["EndTime"].asString()); - if(!value["ExecuteTime"].isNull()) - executeTime_ = std::stol(value["ExecuteTime"].asString()); - if(!value["TaskProcess"].isNull()) - taskProcess_ = std::stoi(value["TaskProcess"].asString()); - -} - -std::string DescribeMetaTablePreviewTaskResult::getTaskId()const -{ - return taskId_; -} - -long DescribeMetaTablePreviewTaskResult::getEndTime()const -{ - return endTime_; -} - -long DescribeMetaTablePreviewTaskResult::getExecuteTime()const -{ - return executeTime_; -} - -int DescribeMetaTablePreviewTaskResult::getTaskProcess()const -{ - return taskProcess_; -} - -long DescribeMetaTablePreviewTaskResult::getStartTime()const -{ - return startTime_; -} - -DescribeMetaTablePreviewTaskResult::Data DescribeMetaTablePreviewTaskResult::getData()const -{ - return data_; -} - -std::string DescribeMetaTablePreviewTaskResult::getTaskStatus()const -{ - return taskStatus_; -} - diff --git a/emr/src/model/DescribeScalingActivityRequest.cc b/emr/src/model/DescribeScalingActivityRequest.cc deleted file mode 100644 index 4a8e77446..000000000 --- a/emr/src/model/DescribeScalingActivityRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeScalingActivityRequest; - -DescribeScalingActivityRequest::DescribeScalingActivityRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeScalingActivity") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeScalingActivityRequest::~DescribeScalingActivityRequest() -{} - -long DescribeScalingActivityRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeScalingActivityRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeScalingActivityRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeScalingActivityRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string DescribeScalingActivityRequest::getScalingActivityId()const -{ - return scalingActivityId_; -} - -void DescribeScalingActivityRequest::setScalingActivityId(const std::string& scalingActivityId) -{ - scalingActivityId_ = scalingActivityId; - setParameter("ScalingActivityId", scalingActivityId); -} - -std::string DescribeScalingActivityRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeScalingActivityRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeScalingActivityRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeScalingActivityRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeScalingActivityRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void DescribeScalingActivityRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setParameter("HostGroupId", hostGroupId); -} - diff --git a/emr/src/model/DescribeScalingActivityResult.cc b/emr/src/model/DescribeScalingActivityResult.cc deleted file mode 100644 index 2b46ad8a6..000000000 --- a/emr/src/model/DescribeScalingActivityResult.cc +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeScalingActivityResult::DescribeScalingActivityResult() : - ServiceResult() -{} - -DescribeScalingActivityResult::DescribeScalingActivityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeScalingActivityResult::~DescribeScalingActivityResult() -{} - -void DescribeScalingActivityResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["BizId"].isNull()) - bizId_ = value["BizId"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - endTime_ = std::stol(value["EndTime"].asString()); - if(!value["InstanceIds"].isNull()) - instanceIds_ = value["InstanceIds"].asString(); - if(!value["TotalCapacity"].isNull()) - totalCapacity_ = std::stoi(value["TotalCapacity"].asString()); - if(!value["Cause"].isNull()) - cause_ = value["Cause"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["Transition"].isNull()) - transition_ = value["Transition"].asString(); - if(!value["ScalingRuleId"].isNull()) - scalingRuleId_ = value["ScalingRuleId"].asString(); - if(!value["ExpectNum"].isNull()) - expectNum_ = std::stoi(value["ExpectNum"].asString()); - -} - -std::string DescribeScalingActivityResult::getStatus()const -{ - return status_; -} - -std::string DescribeScalingActivityResult::getDescription()const -{ - return description_; -} - -long DescribeScalingActivityResult::getEndTime()const -{ - return endTime_; -} - -int DescribeScalingActivityResult::getExpectNum()const -{ - return expectNum_; -} - -std::string DescribeScalingActivityResult::getCause()const -{ - return cause_; -} - -long DescribeScalingActivityResult::getStartTime()const -{ - return startTime_; -} - -std::string DescribeScalingActivityResult::getTransition()const -{ - return transition_; -} - -std::string DescribeScalingActivityResult::getScalingRuleId()const -{ - return scalingRuleId_; -} - -int DescribeScalingActivityResult::getTotalCapacity()const -{ - return totalCapacity_; -} - -std::string DescribeScalingActivityResult::getInstanceIds()const -{ - return instanceIds_; -} - -std::string DescribeScalingActivityResult::getBizId()const -{ - return bizId_; -} - diff --git a/emr/src/model/DescribeScalingRuleRequest.cc b/emr/src/model/DescribeScalingRuleRequest.cc deleted file mode 100644 index 95837b8b5..000000000 --- a/emr/src/model/DescribeScalingRuleRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeScalingRuleRequest; - -DescribeScalingRuleRequest::DescribeScalingRuleRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeScalingRule") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeScalingRuleRequest::~DescribeScalingRuleRequest() -{} - -long DescribeScalingRuleRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeScalingRuleRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeScalingRuleRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeScalingRuleRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string DescribeScalingRuleRequest::getScalingRuleId()const -{ - return scalingRuleId_; -} - -void DescribeScalingRuleRequest::setScalingRuleId(const std::string& scalingRuleId) -{ - scalingRuleId_ = scalingRuleId; - setParameter("ScalingRuleId", scalingRuleId); -} - -std::string DescribeScalingRuleRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeScalingRuleRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeScalingRuleRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeScalingRuleRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeScalingRuleRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void DescribeScalingRuleRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setParameter("HostGroupId", hostGroupId); -} - diff --git a/emr/src/model/DescribeScalingRuleResult.cc b/emr/src/model/DescribeScalingRuleResult.cc deleted file mode 100644 index 1055c49ed..000000000 --- a/emr/src/model/DescribeScalingRuleResult.cc +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeScalingRuleResult::DescribeScalingRuleResult() : - ServiceResult() -{} - -DescribeScalingRuleResult::DescribeScalingRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeScalingRuleResult::~DescribeScalingRuleResult() -{} - -void DescribeScalingRuleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto schedulerTriggerNode = value["SchedulerTrigger"]; - if(!schedulerTriggerNode["LaunchTime"].isNull()) - schedulerTrigger_.launchTime = std::stol(schedulerTriggerNode["LaunchTime"].asString()); - if(!schedulerTriggerNode["LaunchExpirationTime"].isNull()) - schedulerTrigger_.launchExpirationTime = std::stoi(schedulerTriggerNode["LaunchExpirationTime"].asString()); - if(!schedulerTriggerNode["RecurrenceType"].isNull()) - schedulerTrigger_.recurrenceType = schedulerTriggerNode["RecurrenceType"].asString(); - if(!schedulerTriggerNode["RecurrenceValue"].isNull()) - schedulerTrigger_.recurrenceValue = schedulerTriggerNode["RecurrenceValue"].asString(); - if(!schedulerTriggerNode["RecurrenceEndTime"].isNull()) - schedulerTrigger_.recurrenceEndTime = std::stol(schedulerTriggerNode["RecurrenceEndTime"].asString()); - auto cloudWatchTriggerNode = value["CloudWatchTrigger"]; - if(!cloudWatchTriggerNode["MetricName"].isNull()) - cloudWatchTrigger_.metricName = cloudWatchTriggerNode["MetricName"].asString(); - if(!cloudWatchTriggerNode["Period"].isNull()) - cloudWatchTrigger_.period = std::stoi(cloudWatchTriggerNode["Period"].asString()); - if(!cloudWatchTriggerNode["Statistics"].isNull()) - cloudWatchTrigger_.statistics = cloudWatchTriggerNode["Statistics"].asString(); - if(!cloudWatchTriggerNode["ComparisonOperator"].isNull()) - cloudWatchTrigger_.comparisonOperator = cloudWatchTriggerNode["ComparisonOperator"].asString(); - if(!cloudWatchTriggerNode["Threshold"].isNull()) - cloudWatchTrigger_.threshold = cloudWatchTriggerNode["Threshold"].asString(); - if(!cloudWatchTriggerNode["EvaluationCount"].isNull()) - cloudWatchTrigger_.evaluationCount = cloudWatchTriggerNode["EvaluationCount"].asString(); - if(!cloudWatchTriggerNode["Unit"].isNull()) - cloudWatchTrigger_.unit = cloudWatchTriggerNode["Unit"].asString(); - if(!cloudWatchTriggerNode["MetricDisplayName"].isNull()) - cloudWatchTrigger_.metricDisplayName = cloudWatchTriggerNode["MetricDisplayName"].asString(); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["GmtCreate"].isNull()) - gmtCreate_ = value["GmtCreate"].asString(); - if(!value["GmtModified"].isNull()) - gmtModified_ = value["GmtModified"].asString(); - if(!value["RuleName"].isNull()) - ruleName_ = value["RuleName"].asString(); - if(!value["RuleCategory"].isNull()) - ruleCategory_ = value["RuleCategory"].asString(); - if(!value["AdjustmentType"].isNull()) - adjustmentType_ = value["AdjustmentType"].asString(); - if(!value["AdjustmentValue"].isNull()) - adjustmentValue_ = std::stoi(value["AdjustmentValue"].asString()); - if(!value["Cooldown"].isNull()) - cooldown_ = std::stoi(value["Cooldown"].asString()); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["WithGrace"].isNull()) - withGrace_ = value["WithGrace"].asString() == "true"; - if(!value["TimeoutWithGrace"].isNull()) - timeoutWithGrace_ = std::stol(value["TimeoutWithGrace"].asString()); - -} - -std::string DescribeScalingRuleResult::getStatus()const -{ - return status_; -} - -long DescribeScalingRuleResult::getTimeoutWithGrace()const -{ - return timeoutWithGrace_; -} - -DescribeScalingRuleResult::CloudWatchTrigger DescribeScalingRuleResult::getCloudWatchTrigger()const -{ - return cloudWatchTrigger_; -} - -int DescribeScalingRuleResult::getCooldown()const -{ - return cooldown_; -} - -std::string DescribeScalingRuleResult::getGmtModified()const -{ - return gmtModified_; -} - -std::string DescribeScalingRuleResult::getAdjustmentType()const -{ - return adjustmentType_; -} - -std::string DescribeScalingRuleResult::getGmtCreate()const -{ - return gmtCreate_; -} - -int DescribeScalingRuleResult::getAdjustmentValue()const -{ - return adjustmentValue_; -} - -DescribeScalingRuleResult::SchedulerTrigger DescribeScalingRuleResult::getSchedulerTrigger()const -{ - return schedulerTrigger_; -} - -bool DescribeScalingRuleResult::getWithGrace()const -{ - return withGrace_; -} - -std::string DescribeScalingRuleResult::getId()const -{ - return id_; -} - -std::string DescribeScalingRuleResult::getRuleName()const -{ - return ruleName_; -} - -std::string DescribeScalingRuleResult::getRuleCategory()const -{ - return ruleCategory_; -} - diff --git a/emr/src/model/DescribeSecurityGroupAttributeRequest.cc b/emr/src/model/DescribeSecurityGroupAttributeRequest.cc deleted file mode 100644 index f02aa6f26..000000000 --- a/emr/src/model/DescribeSecurityGroupAttributeRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeSecurityGroupAttributeRequest; - -DescribeSecurityGroupAttributeRequest::DescribeSecurityGroupAttributeRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeSecurityGroupAttribute") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeSecurityGroupAttributeRequest::~DescribeSecurityGroupAttributeRequest() -{} - -long DescribeSecurityGroupAttributeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeSecurityGroupAttributeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeSecurityGroupAttributeRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeSecurityGroupAttributeRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string DescribeSecurityGroupAttributeRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeSecurityGroupAttributeRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeSecurityGroupAttributeRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DescribeSecurityGroupAttributeRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DescribeSecurityGroupAttributeRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeSecurityGroupAttributeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/DescribeSecurityGroupAttributeResult.cc b/emr/src/model/DescribeSecurityGroupAttributeResult.cc deleted file mode 100644 index 58a3b8cee..000000000 --- a/emr/src/model/DescribeSecurityGroupAttributeResult.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeSecurityGroupAttributeResult::DescribeSecurityGroupAttributeResult() : - ServiceResult() -{} - -DescribeSecurityGroupAttributeResult::DescribeSecurityGroupAttributeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeSecurityGroupAttributeResult::~DescribeSecurityGroupAttributeResult() -{} - -void DescribeSecurityGroupAttributeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allAvailableGroupListNode = value["AvailableGroupList"]["SecurityGroup"]; - for (auto valueAvailableGroupListSecurityGroup : allAvailableGroupListNode) - { - SecurityGroup availableGroupListObject; - if(!valueAvailableGroupListSecurityGroup["SecurityGroupId"].isNull()) - availableGroupListObject.securityGroupId = valueAvailableGroupListSecurityGroup["SecurityGroupId"].asString(); - if(!valueAvailableGroupListSecurityGroup["Description"].isNull()) - availableGroupListObject.description = valueAvailableGroupListSecurityGroup["Description"].asString(); - if(!valueAvailableGroupListSecurityGroup["SecurityGroupName"].isNull()) - availableGroupListObject.securityGroupName = valueAvailableGroupListSecurityGroup["SecurityGroupName"].asString(); - if(!valueAvailableGroupListSecurityGroup["VpcId"].isNull()) - availableGroupListObject.vpcId = valueAvailableGroupListSecurityGroup["VpcId"].asString(); - if(!valueAvailableGroupListSecurityGroup["CreationTime"].isNull()) - availableGroupListObject.creationTime = valueAvailableGroupListSecurityGroup["CreationTime"].asString(); - if(!valueAvailableGroupListSecurityGroup["AvailableInstanceAmount"].isNull()) - availableGroupListObject.availableInstanceAmount = std::stoi(valueAvailableGroupListSecurityGroup["AvailableInstanceAmount"].asString()); - if(!valueAvailableGroupListSecurityGroup["EcsCount"].isNull()) - availableGroupListObject.ecsCount = std::stoi(valueAvailableGroupListSecurityGroup["EcsCount"].asString()); - availableGroupList_.push_back(availableGroupListObject); - } - auto allSecurityGroupAttributeListNode = value["SecurityGroupAttributeList"]["SecurityGroupAttribute"]; - for (auto valueSecurityGroupAttributeListSecurityGroupAttribute : allSecurityGroupAttributeListNode) - { - SecurityGroupAttribute securityGroupAttributeListObject; - if(!valueSecurityGroupAttributeListSecurityGroupAttribute["BizType"].isNull()) - securityGroupAttributeListObject.bizType = valueSecurityGroupAttributeListSecurityGroupAttribute["BizType"].asString(); - if(!valueSecurityGroupAttributeListSecurityGroupAttribute["BizContent"].isNull()) - securityGroupAttributeListObject.bizContent = valueSecurityGroupAttributeListSecurityGroupAttribute["BizContent"].asString(); - securityGroupAttributeList_.push_back(securityGroupAttributeListObject); - } - -} - -std::vector DescribeSecurityGroupAttributeResult::getAvailableGroupList()const -{ - return availableGroupList_; -} - -std::vector DescribeSecurityGroupAttributeResult::getSecurityGroupAttributeList()const -{ - return securityGroupAttributeList_; -} - diff --git a/emr/src/model/DetachAndReleaseClusterEniRequest.cc b/emr/src/model/DetachAndReleaseClusterEniRequest.cc deleted file mode 100644 index 19fc8edc3..000000000 --- a/emr/src/model/DetachAndReleaseClusterEniRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DetachAndReleaseClusterEniRequest; - -DetachAndReleaseClusterEniRequest::DetachAndReleaseClusterEniRequest() : - RpcServiceRequest("emr", "2016-04-08", "DetachAndReleaseClusterEni") -{ - setMethod(HttpRequest::Method::Post); -} - -DetachAndReleaseClusterEniRequest::~DetachAndReleaseClusterEniRequest() -{} - -long DetachAndReleaseClusterEniRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DetachAndReleaseClusterEniRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DetachAndReleaseClusterEniRequest::getTargetClusterId()const -{ - return targetClusterId_; -} - -void DetachAndReleaseClusterEniRequest::setTargetClusterId(const std::string& targetClusterId) -{ - targetClusterId_ = targetClusterId; - setParameter("TargetClusterId", targetClusterId); -} - -std::string DetachAndReleaseClusterEniRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DetachAndReleaseClusterEniRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DetachAndReleaseClusterEniRequest::getVswitchId()const -{ - return vswitchId_; -} - -void DetachAndReleaseClusterEniRequest::setVswitchId(const std::string& vswitchId) -{ - vswitchId_ = vswitchId; - setParameter("VswitchId", vswitchId); -} - -std::string DetachAndReleaseClusterEniRequest::getRegionId()const -{ - return regionId_; -} - -void DetachAndReleaseClusterEniRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/DetachAndReleaseClusterEniResult.cc b/emr/src/model/DetachAndReleaseClusterEniResult.cc deleted file mode 100644 index c725d1f08..000000000 --- a/emr/src/model/DetachAndReleaseClusterEniResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DetachAndReleaseClusterEniResult::DetachAndReleaseClusterEniResult() : - ServiceResult() -{} - -DetachAndReleaseClusterEniResult::DetachAndReleaseClusterEniResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DetachAndReleaseClusterEniResult::~DetachAndReleaseClusterEniResult() -{} - -void DetachAndReleaseClusterEniResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/GetHdfsCapacityStatisticInfoRequest.cc b/emr/src/model/GetHdfsCapacityStatisticInfoRequest.cc deleted file mode 100644 index 219ac5a2e..000000000 --- a/emr/src/model/GetHdfsCapacityStatisticInfoRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetHdfsCapacityStatisticInfoRequest; - -GetHdfsCapacityStatisticInfoRequest::GetHdfsCapacityStatisticInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetHdfsCapacityStatisticInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetHdfsCapacityStatisticInfoRequest::~GetHdfsCapacityStatisticInfoRequest() -{} - -std::string GetHdfsCapacityStatisticInfoRequest::getFromDatetime()const -{ - return fromDatetime_; -} - -void GetHdfsCapacityStatisticInfoRequest::setFromDatetime(const std::string& fromDatetime) -{ - fromDatetime_ = fromDatetime; - setParameter("FromDatetime", fromDatetime); -} - -long GetHdfsCapacityStatisticInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetHdfsCapacityStatisticInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetHdfsCapacityStatisticInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void GetHdfsCapacityStatisticInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetHdfsCapacityStatisticInfoRequest::getToDatetime()const -{ - return toDatetime_; -} - -void GetHdfsCapacityStatisticInfoRequest::setToDatetime(const std::string& toDatetime) -{ - toDatetime_ = toDatetime; - setParameter("ToDatetime", toDatetime); -} - -std::string GetHdfsCapacityStatisticInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetHdfsCapacityStatisticInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string GetHdfsCapacityStatisticInfoRequest::getRegionId()const -{ - return regionId_; -} - -void GetHdfsCapacityStatisticInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/GetHdfsCapacityStatisticInfoResult.cc b/emr/src/model/GetHdfsCapacityStatisticInfoResult.cc deleted file mode 100644 index be4d8d613..000000000 --- a/emr/src/model/GetHdfsCapacityStatisticInfoResult.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetHdfsCapacityStatisticInfoResult::GetHdfsCapacityStatisticInfoResult() : - ServiceResult() -{} - -GetHdfsCapacityStatisticInfoResult::GetHdfsCapacityStatisticInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetHdfsCapacityStatisticInfoResult::~GetHdfsCapacityStatisticInfoResult() -{} - -void GetHdfsCapacityStatisticInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allHdfsCapacityListNode = value["HdfsCapacityList"]["ClusterStatHdfsCapacity"]; - for (auto valueHdfsCapacityListClusterStatHdfsCapacity : allHdfsCapacityListNode) - { - ClusterStatHdfsCapacity hdfsCapacityListObject; - if(!valueHdfsCapacityListClusterStatHdfsCapacity["CapacityTotal"].isNull()) - hdfsCapacityListObject.capacityTotal = std::stol(valueHdfsCapacityListClusterStatHdfsCapacity["CapacityTotal"].asString()); - if(!valueHdfsCapacityListClusterStatHdfsCapacity["CapacityTotalGB"].isNull()) - hdfsCapacityListObject.capacityTotalGB = std::stol(valueHdfsCapacityListClusterStatHdfsCapacity["CapacityTotalGB"].asString()); - if(!valueHdfsCapacityListClusterStatHdfsCapacity["CapacityUsed"].isNull()) - hdfsCapacityListObject.capacityUsed = std::stol(valueHdfsCapacityListClusterStatHdfsCapacity["CapacityUsed"].asString()); - if(!valueHdfsCapacityListClusterStatHdfsCapacity["CapacityUsedGB"].isNull()) - hdfsCapacityListObject.capacityUsedGB = std::stol(valueHdfsCapacityListClusterStatHdfsCapacity["CapacityUsedGB"].asString()); - if(!valueHdfsCapacityListClusterStatHdfsCapacity["CapacityRemaining"].isNull()) - hdfsCapacityListObject.capacityRemaining = std::stol(valueHdfsCapacityListClusterStatHdfsCapacity["CapacityRemaining"].asString()); - if(!valueHdfsCapacityListClusterStatHdfsCapacity["CapacityRemainingGB"].isNull()) - hdfsCapacityListObject.capacityRemainingGB = std::stol(valueHdfsCapacityListClusterStatHdfsCapacity["CapacityRemainingGB"].asString()); - if(!valueHdfsCapacityListClusterStatHdfsCapacity["CapacityUsedNonDfs"].isNull()) - hdfsCapacityListObject.capacityUsedNonDfs = std::stol(valueHdfsCapacityListClusterStatHdfsCapacity["CapacityUsedNonDfs"].asString()); - if(!valueHdfsCapacityListClusterStatHdfsCapacity["ClusterBizId"].isNull()) - hdfsCapacityListObject.clusterBizId = valueHdfsCapacityListClusterStatHdfsCapacity["ClusterBizId"].asString(); - if(!valueHdfsCapacityListClusterStatHdfsCapacity["DateTime"].isNull()) - hdfsCapacityListObject.dateTime = valueHdfsCapacityListClusterStatHdfsCapacity["DateTime"].asString(); - hdfsCapacityList_.push_back(hdfsCapacityListObject); - } - -} - -std::vector GetHdfsCapacityStatisticInfoResult::getHdfsCapacityList()const -{ - return hdfsCapacityList_; -} - diff --git a/emr/src/model/GetJobInputStatisticInfoRequest.cc b/emr/src/model/GetJobInputStatisticInfoRequest.cc deleted file mode 100644 index d1aef602d..000000000 --- a/emr/src/model/GetJobInputStatisticInfoRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetJobInputStatisticInfoRequest; - -GetJobInputStatisticInfoRequest::GetJobInputStatisticInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetJobInputStatisticInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetJobInputStatisticInfoRequest::~GetJobInputStatisticInfoRequest() -{} - -std::string GetJobInputStatisticInfoRequest::getFromDatetime()const -{ - return fromDatetime_; -} - -void GetJobInputStatisticInfoRequest::setFromDatetime(const std::string& fromDatetime) -{ - fromDatetime_ = fromDatetime; - setParameter("FromDatetime", fromDatetime); -} - -long GetJobInputStatisticInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetJobInputStatisticInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetJobInputStatisticInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void GetJobInputStatisticInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetJobInputStatisticInfoRequest::getToDatetime()const -{ - return toDatetime_; -} - -void GetJobInputStatisticInfoRequest::setToDatetime(const std::string& toDatetime) -{ - toDatetime_ = toDatetime; - setParameter("ToDatetime", toDatetime); -} - -int GetJobInputStatisticInfoRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetJobInputStatisticInfoRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string GetJobInputStatisticInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetJobInputStatisticInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string GetJobInputStatisticInfoRequest::getRegionId()const -{ - return regionId_; -} - -void GetJobInputStatisticInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int GetJobInputStatisticInfoRequest::getPageSize()const -{ - return pageSize_; -} - -void GetJobInputStatisticInfoRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/emr/src/model/GetJobInputStatisticInfoResult.cc b/emr/src/model/GetJobInputStatisticInfoResult.cc deleted file mode 100644 index 6606514ad..000000000 --- a/emr/src/model/GetJobInputStatisticInfoResult.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetJobInputStatisticInfoResult::GetJobInputStatisticInfoResult() : - ServiceResult() -{} - -GetJobInputStatisticInfoResult::GetJobInputStatisticInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetJobInputStatisticInfoResult::~GetJobInputStatisticInfoResult() -{} - -void GetJobInputStatisticInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobInputListNode = value["JobInputList"]["ClusterStatJobInput"]; - for (auto valueJobInputListClusterStatJobInput : allJobInputListNode) - { - ClusterStatJobInput jobInputListObject; - if(!valueJobInputListClusterStatJobInput["ApplicationId"].isNull()) - jobInputListObject.applicationId = valueJobInputListClusterStatJobInput["ApplicationId"].asString(); - if(!valueJobInputListClusterStatJobInput["JobId"].isNull()) - jobInputListObject.jobId = valueJobInputListClusterStatJobInput["JobId"].asString(); - if(!valueJobInputListClusterStatJobInput["StartTime"].isNull()) - jobInputListObject.startTime = std::stol(valueJobInputListClusterStatJobInput["StartTime"].asString()); - if(!valueJobInputListClusterStatJobInput["FinishTime"].isNull()) - jobInputListObject.finishTime = std::stol(valueJobInputListClusterStatJobInput["FinishTime"].asString()); - if(!valueJobInputListClusterStatJobInput["Name"].isNull()) - jobInputListObject.name = valueJobInputListClusterStatJobInput["Name"].asString(); - if(!valueJobInputListClusterStatJobInput["Queue"].isNull()) - jobInputListObject.queue = valueJobInputListClusterStatJobInput["Queue"].asString(); - if(!valueJobInputListClusterStatJobInput["User"].isNull()) - jobInputListObject.user = valueJobInputListClusterStatJobInput["User"].asString(); - if(!valueJobInputListClusterStatJobInput["State"].isNull()) - jobInputListObject.state = valueJobInputListClusterStatJobInput["State"].asString(); - if(!valueJobInputListClusterStatJobInput["BytesInput"].isNull()) - jobInputListObject.bytesInput = std::stol(valueJobInputListClusterStatJobInput["BytesInput"].asString()); - jobInputList_.push_back(jobInputListObject); - } - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -int GetJobInputStatisticInfoResult::getPageSize()const -{ - return pageSize_; -} - -int GetJobInputStatisticInfoResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector GetJobInputStatisticInfoResult::getJobInputList()const -{ - return jobInputList_; -} - -int GetJobInputStatisticInfoResult::getTotal()const -{ - return total_; -} - diff --git a/emr/src/model/GetJobOutputStatisticInfoRequest.cc b/emr/src/model/GetJobOutputStatisticInfoRequest.cc deleted file mode 100644 index a00d6a86e..000000000 --- a/emr/src/model/GetJobOutputStatisticInfoRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetJobOutputStatisticInfoRequest; - -GetJobOutputStatisticInfoRequest::GetJobOutputStatisticInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetJobOutputStatisticInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetJobOutputStatisticInfoRequest::~GetJobOutputStatisticInfoRequest() -{} - -std::string GetJobOutputStatisticInfoRequest::getFromDatetime()const -{ - return fromDatetime_; -} - -void GetJobOutputStatisticInfoRequest::setFromDatetime(const std::string& fromDatetime) -{ - fromDatetime_ = fromDatetime; - setParameter("FromDatetime", fromDatetime); -} - -long GetJobOutputStatisticInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetJobOutputStatisticInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetJobOutputStatisticInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void GetJobOutputStatisticInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetJobOutputStatisticInfoRequest::getToDatetime()const -{ - return toDatetime_; -} - -void GetJobOutputStatisticInfoRequest::setToDatetime(const std::string& toDatetime) -{ - toDatetime_ = toDatetime; - setParameter("ToDatetime", toDatetime); -} - -int GetJobOutputStatisticInfoRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetJobOutputStatisticInfoRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string GetJobOutputStatisticInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetJobOutputStatisticInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string GetJobOutputStatisticInfoRequest::getRegionId()const -{ - return regionId_; -} - -void GetJobOutputStatisticInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int GetJobOutputStatisticInfoRequest::getPageSize()const -{ - return pageSize_; -} - -void GetJobOutputStatisticInfoRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/emr/src/model/GetJobOutputStatisticInfoResult.cc b/emr/src/model/GetJobOutputStatisticInfoResult.cc deleted file mode 100644 index 0d9f03057..000000000 --- a/emr/src/model/GetJobOutputStatisticInfoResult.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetJobOutputStatisticInfoResult::GetJobOutputStatisticInfoResult() : - ServiceResult() -{} - -GetJobOutputStatisticInfoResult::GetJobOutputStatisticInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetJobOutputStatisticInfoResult::~GetJobOutputStatisticInfoResult() -{} - -void GetJobOutputStatisticInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobOutputListNode = value["JobOutputList"]["ClusterStatJobOutput"]; - for (auto valueJobOutputListClusterStatJobOutput : allJobOutputListNode) - { - ClusterStatJobOutput jobOutputListObject; - if(!valueJobOutputListClusterStatJobOutput["ApplicationId"].isNull()) - jobOutputListObject.applicationId = valueJobOutputListClusterStatJobOutput["ApplicationId"].asString(); - if(!valueJobOutputListClusterStatJobOutput["JobId"].isNull()) - jobOutputListObject.jobId = valueJobOutputListClusterStatJobOutput["JobId"].asString(); - if(!valueJobOutputListClusterStatJobOutput["StartTime"].isNull()) - jobOutputListObject.startTime = std::stol(valueJobOutputListClusterStatJobOutput["StartTime"].asString()); - if(!valueJobOutputListClusterStatJobOutput["FinishTime"].isNull()) - jobOutputListObject.finishTime = std::stol(valueJobOutputListClusterStatJobOutput["FinishTime"].asString()); - if(!valueJobOutputListClusterStatJobOutput["Name"].isNull()) - jobOutputListObject.name = valueJobOutputListClusterStatJobOutput["Name"].asString(); - if(!valueJobOutputListClusterStatJobOutput["Queue"].isNull()) - jobOutputListObject.queue = valueJobOutputListClusterStatJobOutput["Queue"].asString(); - if(!valueJobOutputListClusterStatJobOutput["User"].isNull()) - jobOutputListObject.user = valueJobOutputListClusterStatJobOutput["User"].asString(); - if(!valueJobOutputListClusterStatJobOutput["State"].isNull()) - jobOutputListObject.state = valueJobOutputListClusterStatJobOutput["State"].asString(); - if(!valueJobOutputListClusterStatJobOutput["BytesOutput"].isNull()) - jobOutputListObject.bytesOutput = std::stol(valueJobOutputListClusterStatJobOutput["BytesOutput"].asString()); - jobOutputList_.push_back(jobOutputListObject); - } - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -int GetJobOutputStatisticInfoResult::getPageSize()const -{ - return pageSize_; -} - -int GetJobOutputStatisticInfoResult::getPageNumber()const -{ - return pageNumber_; -} - -int GetJobOutputStatisticInfoResult::getTotal()const -{ - return total_; -} - -std::vector GetJobOutputStatisticInfoResult::getJobOutputList()const -{ - return jobOutputList_; -} - diff --git a/emr/src/model/GetJobRunningTimeStatisticInfoRequest.cc b/emr/src/model/GetJobRunningTimeStatisticInfoRequest.cc deleted file mode 100644 index 699e76f96..000000000 --- a/emr/src/model/GetJobRunningTimeStatisticInfoRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetJobRunningTimeStatisticInfoRequest; - -GetJobRunningTimeStatisticInfoRequest::GetJobRunningTimeStatisticInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetJobRunningTimeStatisticInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetJobRunningTimeStatisticInfoRequest::~GetJobRunningTimeStatisticInfoRequest() -{} - -std::string GetJobRunningTimeStatisticInfoRequest::getFromDatetime()const -{ - return fromDatetime_; -} - -void GetJobRunningTimeStatisticInfoRequest::setFromDatetime(const std::string& fromDatetime) -{ - fromDatetime_ = fromDatetime; - setParameter("FromDatetime", fromDatetime); -} - -long GetJobRunningTimeStatisticInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetJobRunningTimeStatisticInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetJobRunningTimeStatisticInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void GetJobRunningTimeStatisticInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetJobRunningTimeStatisticInfoRequest::getToDatetime()const -{ - return toDatetime_; -} - -void GetJobRunningTimeStatisticInfoRequest::setToDatetime(const std::string& toDatetime) -{ - toDatetime_ = toDatetime; - setParameter("ToDatetime", toDatetime); -} - -int GetJobRunningTimeStatisticInfoRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetJobRunningTimeStatisticInfoRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string GetJobRunningTimeStatisticInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetJobRunningTimeStatisticInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string GetJobRunningTimeStatisticInfoRequest::getRegionId()const -{ - return regionId_; -} - -void GetJobRunningTimeStatisticInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int GetJobRunningTimeStatisticInfoRequest::getPageSize()const -{ - return pageSize_; -} - -void GetJobRunningTimeStatisticInfoRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/emr/src/model/GetJobRunningTimeStatisticInfoResult.cc b/emr/src/model/GetJobRunningTimeStatisticInfoResult.cc deleted file mode 100644 index 8af0a522a..000000000 --- a/emr/src/model/GetJobRunningTimeStatisticInfoResult.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetJobRunningTimeStatisticInfoResult::GetJobRunningTimeStatisticInfoResult() : - ServiceResult() -{} - -GetJobRunningTimeStatisticInfoResult::GetJobRunningTimeStatisticInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetJobRunningTimeStatisticInfoResult::~GetJobRunningTimeStatisticInfoResult() -{} - -void GetJobRunningTimeStatisticInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allRunningTimeListNode = value["RunningTimeList"]["ClusterStatJobRunningTime"]; - for (auto valueRunningTimeListClusterStatJobRunningTime : allRunningTimeListNode) - { - ClusterStatJobRunningTime runningTimeListObject; - if(!valueRunningTimeListClusterStatJobRunningTime["ApplicationId"].isNull()) - runningTimeListObject.applicationId = valueRunningTimeListClusterStatJobRunningTime["ApplicationId"].asString(); - if(!valueRunningTimeListClusterStatJobRunningTime["JobId"].isNull()) - runningTimeListObject.jobId = valueRunningTimeListClusterStatJobRunningTime["JobId"].asString(); - if(!valueRunningTimeListClusterStatJobRunningTime["StartTime"].isNull()) - runningTimeListObject.startTime = std::stol(valueRunningTimeListClusterStatJobRunningTime["StartTime"].asString()); - if(!valueRunningTimeListClusterStatJobRunningTime["FinishTime"].isNull()) - runningTimeListObject.finishTime = std::stol(valueRunningTimeListClusterStatJobRunningTime["FinishTime"].asString()); - if(!valueRunningTimeListClusterStatJobRunningTime["Name"].isNull()) - runningTimeListObject.name = valueRunningTimeListClusterStatJobRunningTime["Name"].asString(); - if(!valueRunningTimeListClusterStatJobRunningTime["Queue"].isNull()) - runningTimeListObject.queue = valueRunningTimeListClusterStatJobRunningTime["Queue"].asString(); - if(!valueRunningTimeListClusterStatJobRunningTime["User"].isNull()) - runningTimeListObject.user = valueRunningTimeListClusterStatJobRunningTime["User"].asString(); - if(!valueRunningTimeListClusterStatJobRunningTime["State"].isNull()) - runningTimeListObject.state = valueRunningTimeListClusterStatJobRunningTime["State"].asString(); - if(!valueRunningTimeListClusterStatJobRunningTime["RunningTime"].isNull()) - runningTimeListObject.runningTime = std::stol(valueRunningTimeListClusterStatJobRunningTime["RunningTime"].asString()); - runningTimeList_.push_back(runningTimeListObject); - } - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -int GetJobRunningTimeStatisticInfoResult::getPageSize()const -{ - return pageSize_; -} - -int GetJobRunningTimeStatisticInfoResult::getPageNumber()const -{ - return pageNumber_; -} - -int GetJobRunningTimeStatisticInfoResult::getTotal()const -{ - return total_; -} - -std::vector GetJobRunningTimeStatisticInfoResult::getRunningTimeList()const -{ - return runningTimeList_; -} - diff --git a/emr/src/model/GetQueueInputStatisticInfoRequest.cc b/emr/src/model/GetQueueInputStatisticInfoRequest.cc deleted file mode 100644 index 8f82fe10a..000000000 --- a/emr/src/model/GetQueueInputStatisticInfoRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetQueueInputStatisticInfoRequest; - -GetQueueInputStatisticInfoRequest::GetQueueInputStatisticInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetQueueInputStatisticInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetQueueInputStatisticInfoRequest::~GetQueueInputStatisticInfoRequest() -{} - -std::string GetQueueInputStatisticInfoRequest::getFromDatetime()const -{ - return fromDatetime_; -} - -void GetQueueInputStatisticInfoRequest::setFromDatetime(const std::string& fromDatetime) -{ - fromDatetime_ = fromDatetime; - setParameter("FromDatetime", fromDatetime); -} - -long GetQueueInputStatisticInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetQueueInputStatisticInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetQueueInputStatisticInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void GetQueueInputStatisticInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetQueueInputStatisticInfoRequest::getToDatetime()const -{ - return toDatetime_; -} - -void GetQueueInputStatisticInfoRequest::setToDatetime(const std::string& toDatetime) -{ - toDatetime_ = toDatetime; - setParameter("ToDatetime", toDatetime); -} - -std::string GetQueueInputStatisticInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetQueueInputStatisticInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string GetQueueInputStatisticInfoRequest::getRegionId()const -{ - return regionId_; -} - -void GetQueueInputStatisticInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/GetQueueInputStatisticInfoResult.cc b/emr/src/model/GetQueueInputStatisticInfoResult.cc deleted file mode 100644 index f59d8918c..000000000 --- a/emr/src/model/GetQueueInputStatisticInfoResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetQueueInputStatisticInfoResult::GetQueueInputStatisticInfoResult() : - ServiceResult() -{} - -GetQueueInputStatisticInfoResult::GetQueueInputStatisticInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetQueueInputStatisticInfoResult::~GetQueueInputStatisticInfoResult() -{} - -void GetQueueInputStatisticInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allQueueInputListNode = value["QueueInputList"]["ClusterStatQueueInput"]; - for (auto valueQueueInputListClusterStatQueueInput : allQueueInputListNode) - { - ClusterStatQueueInput queueInputListObject; - if(!valueQueueInputListClusterStatQueueInput["Queue"].isNull()) - queueInputListObject.queue = valueQueueInputListClusterStatQueueInput["Queue"].asString(); - if(!valueQueueInputListClusterStatQueueInput["BytesInput"].isNull()) - queueInputListObject.bytesInput = std::stol(valueQueueInputListClusterStatQueueInput["BytesInput"].asString()); - queueInputList_.push_back(queueInputListObject); - } - -} - -std::vector GetQueueInputStatisticInfoResult::getQueueInputList()const -{ - return queueInputList_; -} - diff --git a/emr/src/model/GetQueueOutputStatisticInfoRequest.cc b/emr/src/model/GetQueueOutputStatisticInfoRequest.cc deleted file mode 100644 index 53de18ecb..000000000 --- a/emr/src/model/GetQueueOutputStatisticInfoRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetQueueOutputStatisticInfoRequest; - -GetQueueOutputStatisticInfoRequest::GetQueueOutputStatisticInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetQueueOutputStatisticInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetQueueOutputStatisticInfoRequest::~GetQueueOutputStatisticInfoRequest() -{} - -std::string GetQueueOutputStatisticInfoRequest::getFromDatetime()const -{ - return fromDatetime_; -} - -void GetQueueOutputStatisticInfoRequest::setFromDatetime(const std::string& fromDatetime) -{ - fromDatetime_ = fromDatetime; - setParameter("FromDatetime", fromDatetime); -} - -long GetQueueOutputStatisticInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetQueueOutputStatisticInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetQueueOutputStatisticInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void GetQueueOutputStatisticInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetQueueOutputStatisticInfoRequest::getToDatetime()const -{ - return toDatetime_; -} - -void GetQueueOutputStatisticInfoRequest::setToDatetime(const std::string& toDatetime) -{ - toDatetime_ = toDatetime; - setParameter("ToDatetime", toDatetime); -} - -std::string GetQueueOutputStatisticInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetQueueOutputStatisticInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string GetQueueOutputStatisticInfoRequest::getRegionId()const -{ - return regionId_; -} - -void GetQueueOutputStatisticInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/GetQueueOutputStatisticInfoResult.cc b/emr/src/model/GetQueueOutputStatisticInfoResult.cc deleted file mode 100644 index 43ae79389..000000000 --- a/emr/src/model/GetQueueOutputStatisticInfoResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetQueueOutputStatisticInfoResult::GetQueueOutputStatisticInfoResult() : - ServiceResult() -{} - -GetQueueOutputStatisticInfoResult::GetQueueOutputStatisticInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetQueueOutputStatisticInfoResult::~GetQueueOutputStatisticInfoResult() -{} - -void GetQueueOutputStatisticInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allQueueOutputListNode = value["QueueOutputList"]["ClusterStatQueueOutput"]; - for (auto valueQueueOutputListClusterStatQueueOutput : allQueueOutputListNode) - { - ClusterStatQueueOutput queueOutputListObject; - if(!valueQueueOutputListClusterStatQueueOutput["Queue"].isNull()) - queueOutputListObject.queue = valueQueueOutputListClusterStatQueueOutput["Queue"].asString(); - if(!valueQueueOutputListClusterStatQueueOutput["BytesOutput"].isNull()) - queueOutputListObject.bytesOutput = std::stol(valueQueueOutputListClusterStatQueueOutput["BytesOutput"].asString()); - queueOutputList_.push_back(queueOutputListObject); - } - -} - -std::vector GetQueueOutputStatisticInfoResult::getQueueOutputList()const -{ - return queueOutputList_; -} - diff --git a/emr/src/model/GetQueueSubmissionStatisticInfoRequest.cc b/emr/src/model/GetQueueSubmissionStatisticInfoRequest.cc deleted file mode 100644 index 6b9bda323..000000000 --- a/emr/src/model/GetQueueSubmissionStatisticInfoRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetQueueSubmissionStatisticInfoRequest; - -GetQueueSubmissionStatisticInfoRequest::GetQueueSubmissionStatisticInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetQueueSubmissionStatisticInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetQueueSubmissionStatisticInfoRequest::~GetQueueSubmissionStatisticInfoRequest() -{} - -std::string GetQueueSubmissionStatisticInfoRequest::getFromDatetime()const -{ - return fromDatetime_; -} - -void GetQueueSubmissionStatisticInfoRequest::setFromDatetime(const std::string& fromDatetime) -{ - fromDatetime_ = fromDatetime; - setParameter("FromDatetime", fromDatetime); -} - -long GetQueueSubmissionStatisticInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetQueueSubmissionStatisticInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetQueueSubmissionStatisticInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void GetQueueSubmissionStatisticInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetQueueSubmissionStatisticInfoRequest::getToDatetime()const -{ - return toDatetime_; -} - -void GetQueueSubmissionStatisticInfoRequest::setToDatetime(const std::string& toDatetime) -{ - toDatetime_ = toDatetime; - setParameter("ToDatetime", toDatetime); -} - -std::string GetQueueSubmissionStatisticInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetQueueSubmissionStatisticInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string GetQueueSubmissionStatisticInfoRequest::getFinalStatus()const -{ - return finalStatus_; -} - -void GetQueueSubmissionStatisticInfoRequest::setFinalStatus(const std::string& finalStatus) -{ - finalStatus_ = finalStatus; - setParameter("FinalStatus", finalStatus); -} - -std::string GetQueueSubmissionStatisticInfoRequest::getRegionId()const -{ - return regionId_; -} - -void GetQueueSubmissionStatisticInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string GetQueueSubmissionStatisticInfoRequest::getApplicationType()const -{ - return applicationType_; -} - -void GetQueueSubmissionStatisticInfoRequest::setApplicationType(const std::string& applicationType) -{ - applicationType_ = applicationType; - setParameter("ApplicationType", applicationType); -} - diff --git a/emr/src/model/GetQueueSubmissionStatisticInfoResult.cc b/emr/src/model/GetQueueSubmissionStatisticInfoResult.cc deleted file mode 100644 index 97ef549e4..000000000 --- a/emr/src/model/GetQueueSubmissionStatisticInfoResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetQueueSubmissionStatisticInfoResult::GetQueueSubmissionStatisticInfoResult() : - ServiceResult() -{} - -GetQueueSubmissionStatisticInfoResult::GetQueueSubmissionStatisticInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetQueueSubmissionStatisticInfoResult::~GetQueueSubmissionStatisticInfoResult() -{} - -void GetQueueSubmissionStatisticInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allQueueSubmissionListNode = value["QueueSubmissionList"]["ClusterStatQueueSubmission"]; - for (auto valueQueueSubmissionListClusterStatQueueSubmission : allQueueSubmissionListNode) - { - ClusterStatQueueSubmission queueSubmissionListObject; - if(!valueQueueSubmissionListClusterStatQueueSubmission["Queue"].isNull()) - queueSubmissionListObject.queue = valueQueueSubmissionListClusterStatQueueSubmission["Queue"].asString(); - if(!valueQueueSubmissionListClusterStatQueueSubmission["Submission"].isNull()) - queueSubmissionListObject.submission = std::stol(valueQueueSubmissionListClusterStatQueueSubmission["Submission"].asString()); - queueSubmissionList_.push_back(queueSubmissionListObject); - } - -} - -std::vector GetQueueSubmissionStatisticInfoResult::getQueueSubmissionList()const -{ - return queueSubmissionList_; -} - diff --git a/emr/src/model/GetUserInputStatisticInfoRequest.cc b/emr/src/model/GetUserInputStatisticInfoRequest.cc deleted file mode 100644 index bef281644..000000000 --- a/emr/src/model/GetUserInputStatisticInfoRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetUserInputStatisticInfoRequest; - -GetUserInputStatisticInfoRequest::GetUserInputStatisticInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetUserInputStatisticInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetUserInputStatisticInfoRequest::~GetUserInputStatisticInfoRequest() -{} - -std::string GetUserInputStatisticInfoRequest::getFromDatetime()const -{ - return fromDatetime_; -} - -void GetUserInputStatisticInfoRequest::setFromDatetime(const std::string& fromDatetime) -{ - fromDatetime_ = fromDatetime; - setParameter("FromDatetime", fromDatetime); -} - -long GetUserInputStatisticInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetUserInputStatisticInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetUserInputStatisticInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void GetUserInputStatisticInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetUserInputStatisticInfoRequest::getToDatetime()const -{ - return toDatetime_; -} - -void GetUserInputStatisticInfoRequest::setToDatetime(const std::string& toDatetime) -{ - toDatetime_ = toDatetime; - setParameter("ToDatetime", toDatetime); -} - -std::string GetUserInputStatisticInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetUserInputStatisticInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string GetUserInputStatisticInfoRequest::getRegionId()const -{ - return regionId_; -} - -void GetUserInputStatisticInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/GetUserInputStatisticInfoResult.cc b/emr/src/model/GetUserInputStatisticInfoResult.cc deleted file mode 100644 index 950f04a1a..000000000 --- a/emr/src/model/GetUserInputStatisticInfoResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetUserInputStatisticInfoResult::GetUserInputStatisticInfoResult() : - ServiceResult() -{} - -GetUserInputStatisticInfoResult::GetUserInputStatisticInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetUserInputStatisticInfoResult::~GetUserInputStatisticInfoResult() -{} - -void GetUserInputStatisticInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allUserInputListNode = value["UserInputList"]["ClusterStatUserInput"]; - for (auto valueUserInputListClusterStatUserInput : allUserInputListNode) - { - ClusterStatUserInput userInputListObject; - if(!valueUserInputListClusterStatUserInput["User"].isNull()) - userInputListObject.user = valueUserInputListClusterStatUserInput["User"].asString(); - if(!valueUserInputListClusterStatUserInput["BytesInput"].isNull()) - userInputListObject.bytesInput = std::stol(valueUserInputListClusterStatUserInput["BytesInput"].asString()); - userInputList_.push_back(userInputListObject); - } - -} - -std::vector GetUserInputStatisticInfoResult::getUserInputList()const -{ - return userInputList_; -} - diff --git a/emr/src/model/GetUserOutputStatisticInfoRequest.cc b/emr/src/model/GetUserOutputStatisticInfoRequest.cc deleted file mode 100644 index c988b9e15..000000000 --- a/emr/src/model/GetUserOutputStatisticInfoRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetUserOutputStatisticInfoRequest; - -GetUserOutputStatisticInfoRequest::GetUserOutputStatisticInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetUserOutputStatisticInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetUserOutputStatisticInfoRequest::~GetUserOutputStatisticInfoRequest() -{} - -std::string GetUserOutputStatisticInfoRequest::getFromDatetime()const -{ - return fromDatetime_; -} - -void GetUserOutputStatisticInfoRequest::setFromDatetime(const std::string& fromDatetime) -{ - fromDatetime_ = fromDatetime; - setParameter("FromDatetime", fromDatetime); -} - -long GetUserOutputStatisticInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetUserOutputStatisticInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetUserOutputStatisticInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void GetUserOutputStatisticInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetUserOutputStatisticInfoRequest::getToDatetime()const -{ - return toDatetime_; -} - -void GetUserOutputStatisticInfoRequest::setToDatetime(const std::string& toDatetime) -{ - toDatetime_ = toDatetime; - setParameter("ToDatetime", toDatetime); -} - -std::string GetUserOutputStatisticInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetUserOutputStatisticInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string GetUserOutputStatisticInfoRequest::getRegionId()const -{ - return regionId_; -} - -void GetUserOutputStatisticInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/GetUserOutputStatisticInfoResult.cc b/emr/src/model/GetUserOutputStatisticInfoResult.cc deleted file mode 100644 index d00fa3f3f..000000000 --- a/emr/src/model/GetUserOutputStatisticInfoResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetUserOutputStatisticInfoResult::GetUserOutputStatisticInfoResult() : - ServiceResult() -{} - -GetUserOutputStatisticInfoResult::GetUserOutputStatisticInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetUserOutputStatisticInfoResult::~GetUserOutputStatisticInfoResult() -{} - -void GetUserOutputStatisticInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allUserOutputListNode = value["UserOutputList"]["ClusterStatUserOutput"]; - for (auto valueUserOutputListClusterStatUserOutput : allUserOutputListNode) - { - ClusterStatUserOutput userOutputListObject; - if(!valueUserOutputListClusterStatUserOutput["User"].isNull()) - userOutputListObject.user = valueUserOutputListClusterStatUserOutput["User"].asString(); - if(!valueUserOutputListClusterStatUserOutput["BytesOutput"].isNull()) - userOutputListObject.bytesOutput = std::stol(valueUserOutputListClusterStatUserOutput["BytesOutput"].asString()); - userOutputList_.push_back(userOutputListObject); - } - -} - -std::vector GetUserOutputStatisticInfoResult::getUserOutputList()const -{ - return userOutputList_; -} - diff --git a/emr/src/model/GetUserSubmissionStatisticInfoRequest.cc b/emr/src/model/GetUserSubmissionStatisticInfoRequest.cc deleted file mode 100644 index 3e877fde5..000000000 --- a/emr/src/model/GetUserSubmissionStatisticInfoRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetUserSubmissionStatisticInfoRequest; - -GetUserSubmissionStatisticInfoRequest::GetUserSubmissionStatisticInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetUserSubmissionStatisticInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetUserSubmissionStatisticInfoRequest::~GetUserSubmissionStatisticInfoRequest() -{} - -std::string GetUserSubmissionStatisticInfoRequest::getFromDatetime()const -{ - return fromDatetime_; -} - -void GetUserSubmissionStatisticInfoRequest::setFromDatetime(const std::string& fromDatetime) -{ - fromDatetime_ = fromDatetime; - setParameter("FromDatetime", fromDatetime); -} - -long GetUserSubmissionStatisticInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetUserSubmissionStatisticInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetUserSubmissionStatisticInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void GetUserSubmissionStatisticInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string GetUserSubmissionStatisticInfoRequest::getToDatetime()const -{ - return toDatetime_; -} - -void GetUserSubmissionStatisticInfoRequest::setToDatetime(const std::string& toDatetime) -{ - toDatetime_ = toDatetime; - setParameter("ToDatetime", toDatetime); -} - -std::string GetUserSubmissionStatisticInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetUserSubmissionStatisticInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string GetUserSubmissionStatisticInfoRequest::getFinalStatus()const -{ - return finalStatus_; -} - -void GetUserSubmissionStatisticInfoRequest::setFinalStatus(const std::string& finalStatus) -{ - finalStatus_ = finalStatus; - setParameter("FinalStatus", finalStatus); -} - -std::string GetUserSubmissionStatisticInfoRequest::getRegionId()const -{ - return regionId_; -} - -void GetUserSubmissionStatisticInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string GetUserSubmissionStatisticInfoRequest::getApplicationType()const -{ - return applicationType_; -} - -void GetUserSubmissionStatisticInfoRequest::setApplicationType(const std::string& applicationType) -{ - applicationType_ = applicationType; - setParameter("ApplicationType", applicationType); -} - diff --git a/emr/src/model/GetUserSubmissionStatisticInfoResult.cc b/emr/src/model/GetUserSubmissionStatisticInfoResult.cc deleted file mode 100644 index 7dc1ab2b6..000000000 --- a/emr/src/model/GetUserSubmissionStatisticInfoResult.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetUserSubmissionStatisticInfoResult::GetUserSubmissionStatisticInfoResult() : - ServiceResult() -{} - -GetUserSubmissionStatisticInfoResult::GetUserSubmissionStatisticInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetUserSubmissionStatisticInfoResult::~GetUserSubmissionStatisticInfoResult() -{} - -void GetUserSubmissionStatisticInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allUserSubmissionListNode = value["UserSubmissionList"]["ClusterStatUserSubmission"]; - for (auto valueUserSubmissionListClusterStatUserSubmission : allUserSubmissionListNode) - { - ClusterStatUserSubmission userSubmissionListObject; - if(!valueUserSubmissionListClusterStatUserSubmission["User"].isNull()) - userSubmissionListObject.user = valueUserSubmissionListClusterStatUserSubmission["User"].asString(); - if(!valueUserSubmissionListClusterStatUserSubmission["Submission"].isNull()) - userSubmissionListObject.submission = std::stol(valueUserSubmissionListClusterStatUserSubmission["Submission"].asString()); - userSubmissionList_.push_back(userSubmissionListObject); - } - -} - -std::vector GetUserSubmissionStatisticInfoResult::getUserSubmissionList()const -{ - return userSubmissionList_; -} - diff --git a/emr/src/model/InstallLibrariesRequest.cc b/emr/src/model/InstallLibrariesRequest.cc deleted file mode 100644 index bfe946cf1..000000000 --- a/emr/src/model/InstallLibrariesRequest.cc +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::InstallLibrariesRequest; - -InstallLibrariesRequest::InstallLibrariesRequest() : - RpcServiceRequest("emr", "2016-04-08", "InstallLibraries") -{ - setMethod(HttpRequest::Method::Post); -} - -InstallLibrariesRequest::~InstallLibrariesRequest() -{} - -long InstallLibrariesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void InstallLibrariesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string InstallLibrariesRequest::getLibraryBizId()const -{ - return libraryBizId_; -} - -void InstallLibrariesRequest::setLibraryBizId(const std::string& libraryBizId) -{ - libraryBizId_ = libraryBizId; - setParameter("LibraryBizId", libraryBizId); -} - -std::string InstallLibrariesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void InstallLibrariesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string InstallLibrariesRequest::getRegionId()const -{ - return regionId_; -} - -void InstallLibrariesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::vector InstallLibrariesRequest::getClusterBizIdList()const -{ - return clusterBizIdList_; -} - -void InstallLibrariesRequest::setClusterBizIdList(const std::vector& clusterBizIdList) -{ - clusterBizIdList_ = clusterBizIdList; - for(int dep1 = 0; dep1!= clusterBizIdList.size(); dep1++) { - setParameter("ClusterBizIdList."+ std::to_string(dep1), clusterBizIdList.at(dep1)); - } -} - diff --git a/emr/src/model/InstallLibrariesResult.cc b/emr/src/model/InstallLibrariesResult.cc deleted file mode 100644 index 0f4036ea4..000000000 --- a/emr/src/model/InstallLibrariesResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -InstallLibrariesResult::InstallLibrariesResult() : - ServiceResult() -{} - -InstallLibrariesResult::InstallLibrariesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -InstallLibrariesResult::~InstallLibrariesResult() -{} - -void InstallLibrariesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string InstallLibrariesResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/ListAdviceActionRequest.cc b/emr/src/model/ListAdviceActionRequest.cc deleted file mode 100644 index f7e122385..000000000 --- a/emr/src/model/ListAdviceActionRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListAdviceActionRequest; - -ListAdviceActionRequest::ListAdviceActionRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListAdviceAction") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAdviceActionRequest::~ListAdviceActionRequest() -{} - -long ListAdviceActionRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListAdviceActionRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListAdviceActionRequest::getClusterId()const -{ - return clusterId_; -} - -void ListAdviceActionRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -int ListAdviceActionRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListAdviceActionRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListAdviceActionRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListAdviceActionRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListAdviceActionRequest::getComponent()const -{ - return component_; -} - -void ListAdviceActionRequest::setComponent(const std::string& component) -{ - component_ = component; - setParameter("Component", component); -} - -std::string ListAdviceActionRequest::getRegionId()const -{ - return regionId_; -} - -void ListAdviceActionRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListAdviceActionRequest::getPageSize()const -{ - return pageSize_; -} - -void ListAdviceActionRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListAdviceActionRequest::getServiceName()const -{ - return serviceName_; -} - -void ListAdviceActionRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setParameter("ServiceName", serviceName); -} - diff --git a/emr/src/model/ListAdviceActionResult.cc b/emr/src/model/ListAdviceActionResult.cc deleted file mode 100644 index 91e5ac198..000000000 --- a/emr/src/model/ListAdviceActionResult.cc +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListAdviceActionResult::ListAdviceActionResult() : - ServiceResult() -{} - -ListAdviceActionResult::ListAdviceActionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListAdviceActionResult::~ListAdviceActionResult() -{} - -void ListAdviceActionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allItemsNode = value["Items"]["Item"]; - for (auto valueItemsItem : allItemsNode) - { - Item itemsObject; - if(!valueItemsItem["ConfigName"].isNull()) - itemsObject.configName = valueItemsItem["ConfigName"].asString(); - if(!valueItemsItem["ConfigItemKey"].isNull()) - itemsObject.configItemKey = valueItemsItem["ConfigItemKey"].asString(); - if(!valueItemsItem["Command"].isNull()) - itemsObject.command = valueItemsItem["Command"].asString(); - if(!valueItemsItem["ClusterId"].isNull()) - itemsObject.clusterId = valueItemsItem["ClusterId"].asString(); - if(!valueItemsItem["HostgroupName"].isNull()) - itemsObject.hostgroupName = valueItemsItem["HostgroupName"].asString(); - if(!valueItemsItem["ServiceName"].isNull()) - itemsObject.serviceName = valueItemsItem["ServiceName"].asString(); - if(!valueItemsItem["Component"].isNull()) - itemsObject.component = valueItemsItem["Component"].asString(); - if(!valueItemsItem["ActionType"].isNull()) - itemsObject.actionType = valueItemsItem["ActionType"].asString(); - if(!valueItemsItem["GmtCreate"].isNull()) - itemsObject.gmtCreate = std::stol(valueItemsItem["GmtCreate"].asString()); - if(!valueItemsItem["GmtModified"].isNull()) - itemsObject.gmtModified = std::stol(valueItemsItem["GmtModified"].asString()); - items_.push_back(itemsObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int ListAdviceActionResult::getTotalCount()const -{ - return totalCount_; -} - -int ListAdviceActionResult::getPageSize()const -{ - return pageSize_; -} - -int ListAdviceActionResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListAdviceActionResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/ListBackupsRequest.cc b/emr/src/model/ListBackupsRequest.cc deleted file mode 100644 index 7a6956ff3..000000000 --- a/emr/src/model/ListBackupsRequest.cc +++ /dev/null @@ -1,218 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListBackupsRequest; - -ListBackupsRequest::ListBackupsRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListBackups") -{ - setMethod(HttpRequest::Method::Post); -} - -ListBackupsRequest::~ListBackupsRequest() -{} - -long ListBackupsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListBackupsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int ListBackupsRequest::getPageCount()const -{ - return pageCount_; -} - -void ListBackupsRequest::setPageCount(int pageCount) -{ - pageCount_ = pageCount; - setParameter("PageCount", std::to_string(pageCount)); -} - -std::string ListBackupsRequest::getOrderMode()const -{ - return orderMode_; -} - -void ListBackupsRequest::setOrderMode(const std::string& orderMode) -{ - orderMode_ = orderMode; - setParameter("OrderMode", orderMode); -} - -std::string ListBackupsRequest::getBackupPlanId()const -{ - return backupPlanId_; -} - -void ListBackupsRequest::setBackupPlanId(const std::string& backupPlanId) -{ - backupPlanId_ = backupPlanId; - setParameter("BackupPlanId", backupPlanId); -} - -int ListBackupsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListBackupsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListBackupsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListBackupsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListBackupsRequest::getRegionId()const -{ - return regionId_; -} - -void ListBackupsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListBackupsRequest::getLimit()const -{ - return limit_; -} - -void ListBackupsRequest::setLimit(int limit) -{ - limit_ = limit; - setParameter("Limit", std::to_string(limit)); -} - -int ListBackupsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListBackupsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListBackupsRequest::getServiceName()const -{ - return serviceName_; -} - -void ListBackupsRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setParameter("ServiceName", serviceName); -} - -long ListBackupsRequest::getId()const -{ - return id_; -} - -void ListBackupsRequest::setId(long id) -{ - id_ = id; - setParameter("Id", std::to_string(id)); -} - -int ListBackupsRequest::getCurrentSize()const -{ - return currentSize_; -} - -void ListBackupsRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setParameter("CurrentSize", std::to_string(currentSize)); -} - -std::vector ListBackupsRequest::getBackupId()const -{ - return backupId_; -} - -void ListBackupsRequest::setBackupId(const std::vector& backupId) -{ - backupId_ = backupId; - for(int dep1 = 0; dep1!= backupId.size(); dep1++) { - setParameter("BackupId."+ std::to_string(dep1), backupId.at(dep1)); - } -} - -std::string ListBackupsRequest::getClusterId()const -{ - return clusterId_; -} - -void ListBackupsRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string ListBackupsRequest::getMetadataType()const -{ - return metadataType_; -} - -void ListBackupsRequest::setMetadataType(const std::string& metadataType) -{ - metadataType_ = metadataType; - setParameter("MetadataType", metadataType); -} - -std::string ListBackupsRequest::getBizId()const -{ - return bizId_; -} - -void ListBackupsRequest::setBizId(const std::string& bizId) -{ - bizId_ = bizId; - setParameter("BizId", bizId); -} - -std::string ListBackupsRequest::getStatus()const -{ - return status_; -} - -void ListBackupsRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/emr/src/model/ListBackupsResult.cc b/emr/src/model/ListBackupsResult.cc deleted file mode 100644 index c1e4c09d3..000000000 --- a/emr/src/model/ListBackupsResult.cc +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListBackupsResult::ListBackupsResult() : - ServiceResult() -{} - -ListBackupsResult::ListBackupsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListBackupsResult::~ListBackupsResult() -{} - -void ListBackupsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allItemsNode = value["Items"]["Item"]; - for (auto valueItemsItem : allItemsNode) - { - Item itemsObject; - if(!valueItemsItem["Id"].isNull()) - itemsObject.id = valueItemsItem["Id"].asString(); - if(!valueItemsItem["BackupPlanId"].isNull()) - itemsObject.backupPlanId = valueItemsItem["BackupPlanId"].asString(); - if(!valueItemsItem["ClusterId"].isNull()) - itemsObject.clusterId = valueItemsItem["ClusterId"].asString(); - if(!valueItemsItem["CreateTime"].isNull()) - itemsObject.createTime = std::stol(valueItemsItem["CreateTime"].asString()); - if(!valueItemsItem["Md5"].isNull()) - itemsObject.md5 = valueItemsItem["Md5"].asString(); - if(!valueItemsItem["TarFileName"].isNull()) - itemsObject.tarFileName = valueItemsItem["TarFileName"].asString(); - if(!valueItemsItem["StorePath"].isNull()) - itemsObject.storePath = valueItemsItem["StorePath"].asString(); - if(!valueItemsItem["Status"].isNull()) - itemsObject.status = valueItemsItem["Status"].asString(); - auto metadataInfoNode = value["MetadataInfo"]; - if(!metadataInfoNode["MetadataType"].isNull()) - itemsObject.metadataInfo.metadataType = metadataInfoNode["MetadataType"].asString(); - if(!metadataInfoNode["Properties"].isNull()) - itemsObject.metadataInfo.properties = metadataInfoNode["Properties"].asString(); - items_.push_back(itemsObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int ListBackupsResult::getTotalCount()const -{ - return totalCount_; -} - -int ListBackupsResult::getPageSize()const -{ - return pageSize_; -} - -int ListBackupsResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListBackupsResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/ListDataSourceRequest.cc b/emr/src/model/ListDataSourceRequest.cc deleted file mode 100644 index 267b9a0e6..000000000 --- a/emr/src/model/ListDataSourceRequest.cc +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListDataSourceRequest; - -ListDataSourceRequest::ListDataSourceRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListDataSource") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataSourceRequest::~ListDataSourceRequest() -{} - -long ListDataSourceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListDataSourceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListDataSourceRequest::getCreateFrom()const -{ - return createFrom_; -} - -void ListDataSourceRequest::setCreateFrom(const std::string& createFrom) -{ - createFrom_ = createFrom; - setParameter("CreateFrom", createFrom); -} - -int ListDataSourceRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDataSourceRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListDataSourceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListDataSourceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListDataSourceRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void ListDataSourceRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string ListDataSourceRequest::getRegionId()const -{ - return regionId_; -} - -void ListDataSourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListDataSourceRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDataSourceRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListDataSourceRequest::getName()const -{ - return name_; -} - -void ListDataSourceRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string ListDataSourceRequest::getSourceType()const -{ - return sourceType_; -} - -void ListDataSourceRequest::setSourceType(const std::string& sourceType) -{ - sourceType_ = sourceType; - setParameter("SourceType", sourceType); -} - -std::string ListDataSourceRequest::getId()const -{ - return id_; -} - -void ListDataSourceRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - -std::string ListDataSourceRequest::getProjectId()const -{ - return projectId_; -} - -void ListDataSourceRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", projectId); -} - diff --git a/emr/src/model/ListDataSourceResult.cc b/emr/src/model/ListDataSourceResult.cc deleted file mode 100644 index c1881351c..000000000 --- a/emr/src/model/ListDataSourceResult.cc +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListDataSourceResult::ListDataSourceResult() : - ServiceResult() -{} - -ListDataSourceResult::ListDataSourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataSourceResult::~ListDataSourceResult() -{} - -void ListDataSourceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataSourceListNode = value["DataSourceList"]["DataSource"]; - for (auto valueDataSourceListDataSource : allDataSourceListNode) - { - DataSource dataSourceListObject; - if(!valueDataSourceListDataSource["Id"].isNull()) - dataSourceListObject.id = valueDataSourceListDataSource["Id"].asString(); - if(!valueDataSourceListDataSource["Name"].isNull()) - dataSourceListObject.name = valueDataSourceListDataSource["Name"].asString(); - if(!valueDataSourceListDataSource["Description"].isNull()) - dataSourceListObject.description = valueDataSourceListDataSource["Description"].asString(); - if(!valueDataSourceListDataSource["Status"].isNull()) - dataSourceListObject.status = valueDataSourceListDataSource["Status"].asString(); - if(!valueDataSourceListDataSource["SourceType"].isNull()) - dataSourceListObject.sourceType = valueDataSourceListDataSource["SourceType"].asString(); - if(!valueDataSourceListDataSource["CreateFrom"].isNull()) - dataSourceListObject.createFrom = valueDataSourceListDataSource["CreateFrom"].asString(); - if(!valueDataSourceListDataSource["Conf"].isNull()) - dataSourceListObject.conf = valueDataSourceListDataSource["Conf"].asString(); - if(!valueDataSourceListDataSource["ClusterId"].isNull()) - dataSourceListObject.clusterId = valueDataSourceListDataSource["ClusterId"].asString(); - if(!valueDataSourceListDataSource["Creator"].isNull()) - dataSourceListObject.creator = valueDataSourceListDataSource["Creator"].asString(); - if(!valueDataSourceListDataSource["Modifier"].isNull()) - dataSourceListObject.modifier = valueDataSourceListDataSource["Modifier"].asString(); - if(!valueDataSourceListDataSource["GmtCreate"].isNull()) - dataSourceListObject.gmtCreate = std::stol(valueDataSourceListDataSource["GmtCreate"].asString()); - if(!valueDataSourceListDataSource["GmtModified"].isNull()) - dataSourceListObject.gmtModified = std::stol(valueDataSourceListDataSource["GmtModified"].asString()); - dataSourceList_.push_back(dataSourceListObject); - } - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - -} - -int ListDataSourceResult::getPageSize()const -{ - return pageSize_; -} - -int ListDataSourceResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListDataSourceResult::getDataSourceList()const -{ - return dataSourceList_; -} - -int ListDataSourceResult::getTotal()const -{ - return total_; -} - diff --git a/emr/src/model/ListDiskOpsEventsRequest.cc b/emr/src/model/ListDiskOpsEventsRequest.cc deleted file mode 100644 index e777d5af8..000000000 --- a/emr/src/model/ListDiskOpsEventsRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListDiskOpsEventsRequest; - -ListDiskOpsEventsRequest::ListDiskOpsEventsRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListDiskOpsEvents") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDiskOpsEventsRequest::~ListDiskOpsEventsRequest() -{} - -long ListDiskOpsEventsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListDiskOpsEventsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -long ListDiskOpsEventsRequest::getEndTime()const -{ - return endTime_; -} - -void ListDiskOpsEventsRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); -} - -std::string ListDiskOpsEventsRequest::getClusterId()const -{ - return clusterId_; -} - -void ListDiskOpsEventsRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -long ListDiskOpsEventsRequest::getStartTime()const -{ - return startTime_; -} - -void ListDiskOpsEventsRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); -} - -int ListDiskOpsEventsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListDiskOpsEventsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListDiskOpsEventsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListDiskOpsEventsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListDiskOpsEventsRequest::getRegionId()const -{ - return regionId_; -} - -void ListDiskOpsEventsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListDiskOpsEventsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListDiskOpsEventsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/emr/src/model/ListDiskOpsEventsResult.cc b/emr/src/model/ListDiskOpsEventsResult.cc deleted file mode 100644 index 36c05681e..000000000 --- a/emr/src/model/ListDiskOpsEventsResult.cc +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListDiskOpsEventsResult::ListDiskOpsEventsResult() : - ServiceResult() -{} - -ListDiskOpsEventsResult::ListDiskOpsEventsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDiskOpsEventsResult::~ListDiskOpsEventsResult() -{} - -void ListDiskOpsEventsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allEventListNode = value["EventList"]["DiskOpsEventInfo"]; - for (auto valueEventListDiskOpsEventInfo : allEventListNode) - { - DiskOpsEventInfo eventListObject; - if(!valueEventListDiskOpsEventInfo["RegionId"].isNull()) - eventListObject.regionId = valueEventListDiskOpsEventInfo["RegionId"].asString(); - if(!valueEventListDiskOpsEventInfo["UserId"].isNull()) - eventListObject.userId = valueEventListDiskOpsEventInfo["UserId"].asString(); - if(!valueEventListDiskOpsEventInfo["ClusterBizId"].isNull()) - eventListObject.clusterBizId = valueEventListDiskOpsEventInfo["ClusterBizId"].asString(); - if(!valueEventListDiskOpsEventInfo["ClusterName"].isNull()) - eventListObject.clusterName = valueEventListDiskOpsEventInfo["ClusterName"].asString(); - if(!valueEventListDiskOpsEventInfo["InstanceId"].isNull()) - eventListObject.instanceId = valueEventListDiskOpsEventInfo["InstanceId"].asString(); - if(!valueEventListDiskOpsEventInfo["InstanceName"].isNull()) - eventListObject.instanceName = valueEventListDiskOpsEventInfo["InstanceName"].asString(); - if(!valueEventListDiskOpsEventInfo["InstanceStatus"].isNull()) - eventListObject.instanceStatus = valueEventListDiskOpsEventInfo["InstanceStatus"].asString(); - if(!valueEventListDiskOpsEventInfo["PrivateIp"].isNull()) - eventListObject.privateIp = valueEventListDiskOpsEventInfo["PrivateIp"].asString(); - if(!valueEventListDiskOpsEventInfo["DiskId"].isNull()) - eventListObject.diskId = valueEventListDiskOpsEventInfo["DiskId"].asString(); - if(!valueEventListDiskOpsEventInfo["DiskDevice"].isNull()) - eventListObject.diskDevice = valueEventListDiskOpsEventInfo["DiskDevice"].asString(); - if(!valueEventListDiskOpsEventInfo["DiskMountPoint"].isNull()) - eventListObject.diskMountPoint = valueEventListDiskOpsEventInfo["DiskMountPoint"].asString(); - if(!valueEventListDiskOpsEventInfo["EventId"].isNull()) - eventListObject.eventId = valueEventListDiskOpsEventInfo["EventId"].asString(); - if(!valueEventListDiskOpsEventInfo["EventType"].isNull()) - eventListObject.eventType = valueEventListDiskOpsEventInfo["EventType"].asString(); - if(!valueEventListDiskOpsEventInfo["EventTriggerTime"].isNull()) - eventListObject.eventTriggerTime = std::stol(valueEventListDiskOpsEventInfo["EventTriggerTime"].asString()); - if(!valueEventListDiskOpsEventInfo["CurrentActivity"].isNull()) - eventListObject.currentActivity = valueEventListDiskOpsEventInfo["CurrentActivity"].asString(); - if(!valueEventListDiskOpsEventInfo["CurrentActivityState"].isNull()) - eventListObject.currentActivityState = valueEventListDiskOpsEventInfo["CurrentActivityState"].asString(); - eventList_.push_back(eventListObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int ListDiskOpsEventsResult::getTotalCount()const -{ - return totalCount_; -} - -int ListDiskOpsEventsResult::getPageSize()const -{ - return pageSize_; -} - -std::vector ListDiskOpsEventsResult::getEventList()const -{ - return eventList_; -} - -int ListDiskOpsEventsResult::getPageNumber()const -{ - return pageNumber_; -} - diff --git a/emr/src/model/ListExecutionPlanInstancesRequest.cc b/emr/src/model/ListExecutionPlanInstancesRequest.cc deleted file mode 100644 index a20186fc9..000000000 --- a/emr/src/model/ListExecutionPlanInstancesRequest.cc +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListExecutionPlanInstancesRequest; - -ListExecutionPlanInstancesRequest::ListExecutionPlanInstancesRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListExecutionPlanInstances") -{ - setMethod(HttpRequest::Method::Post); -} - -ListExecutionPlanInstancesRequest::~ListExecutionPlanInstancesRequest() -{} - -bool ListExecutionPlanInstancesRequest::getOnlyLastInstance()const -{ - return onlyLastInstance_; -} - -void ListExecutionPlanInstancesRequest::setOnlyLastInstance(bool onlyLastInstance) -{ - onlyLastInstance_ = onlyLastInstance; - setParameter("OnlyLastInstance", onlyLastInstance ? "true" : "false"); -} - -long ListExecutionPlanInstancesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListExecutionPlanInstancesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::vector ListExecutionPlanInstancesRequest::getExecutionPlanIdList()const -{ - return executionPlanIdList_; -} - -void ListExecutionPlanInstancesRequest::setExecutionPlanIdList(const std::vector& executionPlanIdList) -{ - executionPlanIdList_ = executionPlanIdList; - for(int dep1 = 0; dep1!= executionPlanIdList.size(); dep1++) { - setParameter("ExecutionPlanIdList."+ std::to_string(dep1), executionPlanIdList.at(dep1)); - } -} - -std::vector ListExecutionPlanInstancesRequest::getStatusList()const -{ - return statusList_; -} - -void ListExecutionPlanInstancesRequest::setStatusList(const std::vector& statusList) -{ - statusList_ = statusList; - for(int dep1 = 0; dep1!= statusList.size(); dep1++) { - setParameter("StatusList."+ std::to_string(dep1), statusList.at(dep1)); - } -} - -bool ListExecutionPlanInstancesRequest::getIsDesc()const -{ - return isDesc_; -} - -void ListExecutionPlanInstancesRequest::setIsDesc(bool isDesc) -{ - isDesc_ = isDesc; - setParameter("IsDesc", isDesc ? "true" : "false"); -} - -int ListExecutionPlanInstancesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListExecutionPlanInstancesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListExecutionPlanInstancesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListExecutionPlanInstancesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListExecutionPlanInstancesRequest::getRegionId()const -{ - return regionId_; -} - -void ListExecutionPlanInstancesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListExecutionPlanInstancesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListExecutionPlanInstancesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/emr/src/model/ListExecutionPlanInstancesResult.cc b/emr/src/model/ListExecutionPlanInstancesResult.cc deleted file mode 100644 index 4a1e912af..000000000 --- a/emr/src/model/ListExecutionPlanInstancesResult.cc +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListExecutionPlanInstancesResult::ListExecutionPlanInstancesResult() : - ServiceResult() -{} - -ListExecutionPlanInstancesResult::ListExecutionPlanInstancesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListExecutionPlanInstancesResult::~ListExecutionPlanInstancesResult() -{} - -void ListExecutionPlanInstancesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allExecutionPlanInstancesNode = value["ExecutionPlanInstances"]["ExecutionPlanInstance"]; - for (auto valueExecutionPlanInstancesExecutionPlanInstance : allExecutionPlanInstancesNode) - { - ExecutionPlanInstance executionPlanInstancesObject; - if(!valueExecutionPlanInstancesExecutionPlanInstance["Id"].isNull()) - executionPlanInstancesObject.id = valueExecutionPlanInstancesExecutionPlanInstance["Id"].asString(); - if(!valueExecutionPlanInstancesExecutionPlanInstance["ExecutionPlanId"].isNull()) - executionPlanInstancesObject.executionPlanId = valueExecutionPlanInstancesExecutionPlanInstance["ExecutionPlanId"].asString(); - if(!valueExecutionPlanInstancesExecutionPlanInstance["ExecutionPlanName"].isNull()) - executionPlanInstancesObject.executionPlanName = valueExecutionPlanInstancesExecutionPlanInstance["ExecutionPlanName"].asString(); - if(!valueExecutionPlanInstancesExecutionPlanInstance["StartTime"].isNull()) - executionPlanInstancesObject.startTime = std::stol(valueExecutionPlanInstancesExecutionPlanInstance["StartTime"].asString()); - if(!valueExecutionPlanInstancesExecutionPlanInstance["RunTime"].isNull()) - executionPlanInstancesObject.runTime = std::stoi(valueExecutionPlanInstancesExecutionPlanInstance["RunTime"].asString()); - if(!valueExecutionPlanInstancesExecutionPlanInstance["ClusterId"].isNull()) - executionPlanInstancesObject.clusterId = valueExecutionPlanInstancesExecutionPlanInstance["ClusterId"].asString(); - if(!valueExecutionPlanInstancesExecutionPlanInstance["ClusterName"].isNull()) - executionPlanInstancesObject.clusterName = valueExecutionPlanInstancesExecutionPlanInstance["ClusterName"].asString(); - if(!valueExecutionPlanInstancesExecutionPlanInstance["ClusterType"].isNull()) - executionPlanInstancesObject.clusterType = valueExecutionPlanInstancesExecutionPlanInstance["ClusterType"].asString(); - if(!valueExecutionPlanInstancesExecutionPlanInstance["Status"].isNull()) - executionPlanInstancesObject.status = valueExecutionPlanInstancesExecutionPlanInstance["Status"].asString(); - if(!valueExecutionPlanInstancesExecutionPlanInstance["LogEnable"].isNull()) - executionPlanInstancesObject.logEnable = valueExecutionPlanInstancesExecutionPlanInstance["LogEnable"].asString() == "true"; - if(!valueExecutionPlanInstancesExecutionPlanInstance["LogPath"].isNull()) - executionPlanInstancesObject.logPath = valueExecutionPlanInstancesExecutionPlanInstance["LogPath"].asString(); - if(!valueExecutionPlanInstancesExecutionPlanInstance["WorkflowApp"].isNull()) - executionPlanInstancesObject.workflowApp = valueExecutionPlanInstancesExecutionPlanInstance["WorkflowApp"].asString(); - executionPlanInstances_.push_back(executionPlanInstancesObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -std::vector ListExecutionPlanInstancesResult::getExecutionPlanInstances()const -{ - return executionPlanInstances_; -} - -int ListExecutionPlanInstancesResult::getTotalCount()const -{ - return totalCount_; -} - -int ListExecutionPlanInstancesResult::getPageSize()const -{ - return pageSize_; -} - -int ListExecutionPlanInstancesResult::getPageNumber()const -{ - return pageNumber_; -} - diff --git a/emr/src/model/ListJobExecutionInstancesRequest.cc b/emr/src/model/ListJobExecutionInstancesRequest.cc deleted file mode 100644 index 43e3a7f59..000000000 --- a/emr/src/model/ListJobExecutionInstancesRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListJobExecutionInstancesRequest; - -ListJobExecutionInstancesRequest::ListJobExecutionInstancesRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListJobExecutionInstances") -{ - setMethod(HttpRequest::Method::Post); -} - -ListJobExecutionInstancesRequest::~ListJobExecutionInstancesRequest() -{} - -long ListJobExecutionInstancesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListJobExecutionInstancesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -bool ListJobExecutionInstancesRequest::getIsDesc()const -{ - return isDesc_; -} - -void ListJobExecutionInstancesRequest::setIsDesc(bool isDesc) -{ - isDesc_ = isDesc; - setParameter("IsDesc", isDesc ? "true" : "false"); -} - -int ListJobExecutionInstancesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListJobExecutionInstancesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListJobExecutionInstancesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListJobExecutionInstancesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListJobExecutionInstancesRequest::getExecutionPlanInstanceId()const -{ - return executionPlanInstanceId_; -} - -void ListJobExecutionInstancesRequest::setExecutionPlanInstanceId(const std::string& executionPlanInstanceId) -{ - executionPlanInstanceId_ = executionPlanInstanceId; - setParameter("ExecutionPlanInstanceId", executionPlanInstanceId); -} - -std::string ListJobExecutionInstancesRequest::getRegionId()const -{ - return regionId_; -} - -void ListJobExecutionInstancesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListJobExecutionInstancesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListJobExecutionInstancesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/emr/src/model/ListJobExecutionInstancesResult.cc b/emr/src/model/ListJobExecutionInstancesResult.cc deleted file mode 100644 index 2976190ff..000000000 --- a/emr/src/model/ListJobExecutionInstancesResult.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListJobExecutionInstancesResult::ListJobExecutionInstancesResult() : - ServiceResult() -{} - -ListJobExecutionInstancesResult::ListJobExecutionInstancesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListJobExecutionInstancesResult::~ListJobExecutionInstancesResult() -{} - -void ListJobExecutionInstancesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobInstancesNode = value["JobInstances"]["JobInstance"]; - for (auto valueJobInstancesJobInstance : allJobInstancesNode) - { - JobInstance jobInstancesObject; - if(!valueJobInstancesJobInstance["Id"].isNull()) - jobInstancesObject.id = valueJobInstancesJobInstance["Id"].asString(); - if(!valueJobInstancesJobInstance["JobName"].isNull()) - jobInstancesObject.jobName = valueJobInstancesJobInstance["JobName"].asString(); - if(!valueJobInstancesJobInstance["StartTime"].isNull()) - jobInstancesObject.startTime = std::stol(valueJobInstancesJobInstance["StartTime"].asString()); - if(!valueJobInstancesJobInstance["RunTime"].isNull()) - jobInstancesObject.runTime = std::stoi(valueJobInstancesJobInstance["RunTime"].asString()); - if(!valueJobInstancesJobInstance["JobType"].isNull()) - jobInstancesObject.jobType = valueJobInstancesJobInstance["JobType"].asString(); - if(!valueJobInstancesJobInstance["JobId"].isNull()) - jobInstancesObject.jobId = valueJobInstancesJobInstance["JobId"].asString(); - if(!valueJobInstancesJobInstance["ClusterId"].isNull()) - jobInstancesObject.clusterId = valueJobInstancesJobInstance["ClusterId"].asString(); - if(!valueJobInstancesJobInstance["Status"].isNull()) - jobInstancesObject.status = valueJobInstancesJobInstance["Status"].asString(); - if(!valueJobInstancesJobInstance["RetryInfo"].isNull()) - jobInstancesObject.retryInfo = valueJobInstancesJobInstance["RetryInfo"].asString(); - jobInstances_.push_back(jobInstancesObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -int ListJobExecutionInstancesResult::getTotalCount()const -{ - return totalCount_; -} - -int ListJobExecutionInstancesResult::getPageSize()const -{ - return pageSize_; -} - -int ListJobExecutionInstancesResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListJobExecutionInstancesResult::getJobInstances()const -{ - return jobInstances_; -} - diff --git a/emr/src/model/ListJobsRequest.cc b/emr/src/model/ListJobsRequest.cc deleted file mode 100644 index 32d12b9d0..000000000 --- a/emr/src/model/ListJobsRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListJobsRequest; - -ListJobsRequest::ListJobsRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListJobs") -{ - setMethod(HttpRequest::Method::Post); -} - -ListJobsRequest::~ListJobsRequest() -{} - -long ListJobsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListJobsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListJobsRequest::getQueryString()const -{ - return queryString_; -} - -void ListJobsRequest::setQueryString(const std::string& queryString) -{ - queryString_ = queryString; - setParameter("QueryString", queryString); -} - -bool ListJobsRequest::getIsDesc()const -{ - return isDesc_; -} - -void ListJobsRequest::setIsDesc(bool isDesc) -{ - isDesc_ = isDesc; - setParameter("IsDesc", isDesc ? "true" : "false"); -} - -int ListJobsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListJobsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListJobsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListJobsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListJobsRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void ListJobsRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string ListJobsRequest::getRegionId()const -{ - return regionId_; -} - -void ListJobsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListJobsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListJobsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListJobsRequest::getQueryType()const -{ - return queryType_; -} - -void ListJobsRequest::setQueryType(const std::string& queryType) -{ - queryType_ = queryType; - setParameter("QueryType", queryType); -} - diff --git a/emr/src/model/ListJobsResult.cc b/emr/src/model/ListJobsResult.cc deleted file mode 100644 index 11eba791d..000000000 --- a/emr/src/model/ListJobsResult.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListJobsResult::ListJobsResult() : - ServiceResult() -{} - -ListJobsResult::ListJobsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListJobsResult::~ListJobsResult() -{} - -void ListJobsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobsNode = value["Jobs"]["JobInfo"]; - for (auto valueJobsJobInfo : allJobsNode) - { - JobInfo jobsObject; - if(!valueJobsJobInfo["Id"].isNull()) - jobsObject.id = valueJobsJobInfo["Id"].asString(); - if(!valueJobsJobInfo["Name"].isNull()) - jobsObject.name = valueJobsJobInfo["Name"].asString(); - if(!valueJobsJobInfo["Type"].isNull()) - jobsObject.type = valueJobsJobInfo["Type"].asString(); - if(!valueJobsJobInfo["RunParameter"].isNull()) - jobsObject.runParameter = valueJobsJobInfo["RunParameter"].asString(); - if(!valueJobsJobInfo["FailAct"].isNull()) - jobsObject.failAct = valueJobsJobInfo["FailAct"].asString(); - if(!valueJobsJobInfo["MaxRetry"].isNull()) - jobsObject.maxRetry = std::stoi(valueJobsJobInfo["MaxRetry"].asString()); - if(!valueJobsJobInfo["RetryInterval"].isNull()) - jobsObject.retryInterval = std::stoi(valueJobsJobInfo["RetryInterval"].asString()); - jobs_.push_back(jobsObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -int ListJobsResult::getTotalCount()const -{ - return totalCount_; -} - -int ListJobsResult::getPageSize()const -{ - return pageSize_; -} - -std::vector ListJobsResult::getJobs()const -{ - return jobs_; -} - -int ListJobsResult::getPageNumber()const -{ - return pageNumber_; -} - diff --git a/emr/src/model/ListLibrariesRequest.cc b/emr/src/model/ListLibrariesRequest.cc deleted file mode 100644 index ee811cfaf..000000000 --- a/emr/src/model/ListLibrariesRequest.cc +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListLibrariesRequest; - -ListLibrariesRequest::ListLibrariesRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListLibraries") -{ - setMethod(HttpRequest::Method::Post); -} - -ListLibrariesRequest::~ListLibrariesRequest() -{} - -long ListLibrariesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListLibrariesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int ListLibrariesRequest::getPageCount()const -{ - return pageCount_; -} - -void ListLibrariesRequest::setPageCount(int pageCount) -{ - pageCount_ = pageCount; - setParameter("PageCount", std::to_string(pageCount)); -} - -std::string ListLibrariesRequest::getOrderMode()const -{ - return orderMode_; -} - -void ListLibrariesRequest::setOrderMode(const std::string& orderMode) -{ - orderMode_ = orderMode; - setParameter("OrderMode", orderMode); -} - -std::string ListLibrariesRequest::getClusterBizId()const -{ - return clusterBizId_; -} - -void ListLibrariesRequest::setClusterBizId(const std::string& clusterBizId) -{ - clusterBizId_ = clusterBizId; - setParameter("ClusterBizId", clusterBizId); -} - -int ListLibrariesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListLibrariesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListLibrariesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListLibrariesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListLibrariesRequest::getRegionId()const -{ - return regionId_; -} - -void ListLibrariesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListLibrariesRequest::getLimit()const -{ - return limit_; -} - -void ListLibrariesRequest::setLimit(int limit) -{ - limit_ = limit; - setParameter("Limit", std::to_string(limit)); -} - -int ListLibrariesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListLibrariesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int ListLibrariesRequest::getCurrentSize()const -{ - return currentSize_; -} - -void ListLibrariesRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string ListLibrariesRequest::getOrderField()const -{ - return orderField_; -} - -void ListLibrariesRequest::setOrderField(const std::string& orderField) -{ - orderField_ = orderField; - setParameter("OrderField", orderField); -} - diff --git a/emr/src/model/ListLibrariesResult.cc b/emr/src/model/ListLibrariesResult.cc deleted file mode 100644 index 5b586ea17..000000000 --- a/emr/src/model/ListLibrariesResult.cc +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListLibrariesResult::ListLibrariesResult() : - ServiceResult() -{} - -ListLibrariesResult::ListLibrariesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListLibrariesResult::~ListLibrariesResult() -{} - -void ListLibrariesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allItemsNode = value["Items"]["Item"]; - for (auto valueItemsItem : allItemsNode) - { - Item itemsObject; - if(!valueItemsItem["BizId"].isNull()) - itemsObject.bizId = valueItemsItem["BizId"].asString(); - if(!valueItemsItem["CreateTime"].isNull()) - itemsObject.createTime = std::stol(valueItemsItem["CreateTime"].asString()); - if(!valueItemsItem["Type"].isNull()) - itemsObject.type = valueItemsItem["Type"].asString(); - if(!valueItemsItem["Name"].isNull()) - itemsObject.name = valueItemsItem["Name"].asString(); - if(!valueItemsItem["LibraryVersion"].isNull()) - itemsObject.libraryVersion = valueItemsItem["LibraryVersion"].asString(); - if(!valueItemsItem["SourceType"].isNull()) - itemsObject.sourceType = valueItemsItem["SourceType"].asString(); - if(!valueItemsItem["SourceLocation"].isNull()) - itemsObject.sourceLocation = valueItemsItem["SourceLocation"].asString(); - if(!valueItemsItem["Scope"].isNull()) - itemsObject.scope = valueItemsItem["Scope"].asString(); - if(!valueItemsItem["Properties"].isNull()) - itemsObject.properties = valueItemsItem["Properties"].asString(); - if(!valueItemsItem["UserId"].isNull()) - itemsObject.userId = valueItemsItem["UserId"].asString(); - items_.push_back(itemsObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["NextToken"].isNull()) - nextToken_ = value["NextToken"].asString(); - -} - -int ListLibrariesResult::getTotalCount()const -{ - return totalCount_; -} - -int ListLibrariesResult::getPageSize()const -{ - return pageSize_; -} - -std::string ListLibrariesResult::getNextToken()const -{ - return nextToken_; -} - -int ListLibrariesResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListLibrariesResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/ListLibraryInstallTasksRequest.cc b/emr/src/model/ListLibraryInstallTasksRequest.cc deleted file mode 100644 index 1ab657238..000000000 --- a/emr/src/model/ListLibraryInstallTasksRequest.cc +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListLibraryInstallTasksRequest; - -ListLibraryInstallTasksRequest::ListLibraryInstallTasksRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListLibraryInstallTasks") -{ - setMethod(HttpRequest::Method::Post); -} - -ListLibraryInstallTasksRequest::~ListLibraryInstallTasksRequest() -{} - -long ListLibraryInstallTasksRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListLibraryInstallTasksRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int ListLibraryInstallTasksRequest::getPageCount()const -{ - return pageCount_; -} - -void ListLibraryInstallTasksRequest::setPageCount(int pageCount) -{ - pageCount_ = pageCount; - setParameter("PageCount", std::to_string(pageCount)); -} - -std::string ListLibraryInstallTasksRequest::getOrderMode()const -{ - return orderMode_; -} - -void ListLibraryInstallTasksRequest::setOrderMode(const std::string& orderMode) -{ - orderMode_ = orderMode; - setParameter("OrderMode", orderMode); -} - -std::string ListLibraryInstallTasksRequest::getClusterBizId()const -{ - return clusterBizId_; -} - -void ListLibraryInstallTasksRequest::setClusterBizId(const std::string& clusterBizId) -{ - clusterBizId_ = clusterBizId; - setParameter("ClusterBizId", clusterBizId); -} - -int ListLibraryInstallTasksRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListLibraryInstallTasksRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListLibraryInstallTasksRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListLibraryInstallTasksRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListLibraryInstallTasksRequest::getRegionId()const -{ - return regionId_; -} - -void ListLibraryInstallTasksRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListLibraryInstallTasksRequest::getLimit()const -{ - return limit_; -} - -void ListLibraryInstallTasksRequest::setLimit(int limit) -{ - limit_ = limit; - setParameter("Limit", std::to_string(limit)); -} - -int ListLibraryInstallTasksRequest::getPageSize()const -{ - return pageSize_; -} - -void ListLibraryInstallTasksRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int ListLibraryInstallTasksRequest::getCurrentSize()const -{ - return currentSize_; -} - -void ListLibraryInstallTasksRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string ListLibraryInstallTasksRequest::getOrderField()const -{ - return orderField_; -} - -void ListLibraryInstallTasksRequest::setOrderField(const std::string& orderField) -{ - orderField_ = orderField; - setParameter("OrderField", orderField); -} - -std::string ListLibraryInstallTasksRequest::getLibraryBizId()const -{ - return libraryBizId_; -} - -void ListLibraryInstallTasksRequest::setLibraryBizId(const std::string& libraryBizId) -{ - libraryBizId_ = libraryBizId; - setParameter("LibraryBizId", libraryBizId); -} - diff --git a/emr/src/model/ListLibraryInstallTasksResult.cc b/emr/src/model/ListLibraryInstallTasksResult.cc deleted file mode 100644 index 6be241638..000000000 --- a/emr/src/model/ListLibraryInstallTasksResult.cc +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListLibraryInstallTasksResult::ListLibraryInstallTasksResult() : - ServiceResult() -{} - -ListLibraryInstallTasksResult::ListLibraryInstallTasksResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListLibraryInstallTasksResult::~ListLibraryInstallTasksResult() -{} - -void ListLibraryInstallTasksResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allItemsNode = value["Items"]["Item"]; - for (auto valueItemsItem : allItemsNode) - { - Item itemsObject; - if(!valueItemsItem["LibraryBizId"].isNull()) - itemsObject.libraryBizId = valueItemsItem["LibraryBizId"].asString(); - if(!valueItemsItem["TaskGroupId"].isNull()) - itemsObject.taskGroupId = valueItemsItem["TaskGroupId"].asString(); - if(!valueItemsItem["TaskId"].isNull()) - itemsObject.taskId = valueItemsItem["TaskId"].asString(); - if(!valueItemsItem["TaskStatus"].isNull()) - itemsObject.taskStatus = valueItemsItem["TaskStatus"].asString(); - if(!valueItemsItem["StartTime"].isNull()) - itemsObject.startTime = std::stol(valueItemsItem["StartTime"].asString()); - if(!valueItemsItem["EndTime"].isNull()) - itemsObject.endTime = std::stol(valueItemsItem["EndTime"].asString()); - if(!valueItemsItem["ExecuteTime"].isNull()) - itemsObject.executeTime = std::stol(valueItemsItem["ExecuteTime"].asString()); - if(!valueItemsItem["TaskProcess"].isNull()) - itemsObject.taskProcess = std::stoi(valueItemsItem["TaskProcess"].asString()); - if(!valueItemsItem["TaskType"].isNull()) - itemsObject.taskType = valueItemsItem["TaskType"].asString(); - if(!valueItemsItem["Detail"].isNull()) - itemsObject.detail = valueItemsItem["Detail"].asString(); - if(!valueItemsItem["ClusterBizId"].isNull()) - itemsObject.clusterBizId = valueItemsItem["ClusterBizId"].asString(); - if(!valueItemsItem["Hostname"].isNull()) - itemsObject.hostname = valueItemsItem["Hostname"].asString(); - items_.push_back(itemsObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["NextToken"].isNull()) - nextToken_ = value["NextToken"].asString(); - -} - -int ListLibraryInstallTasksResult::getTotalCount()const -{ - return totalCount_; -} - -int ListLibraryInstallTasksResult::getPageSize()const -{ - return pageSize_; -} - -std::string ListLibraryInstallTasksResult::getNextToken()const -{ - return nextToken_; -} - -int ListLibraryInstallTasksResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListLibraryInstallTasksResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/ListLibraryStatusRequest.cc b/emr/src/model/ListLibraryStatusRequest.cc deleted file mode 100644 index 011c8fc4c..000000000 --- a/emr/src/model/ListLibraryStatusRequest.cc +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListLibraryStatusRequest; - -ListLibraryStatusRequest::ListLibraryStatusRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListLibraryStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -ListLibraryStatusRequest::~ListLibraryStatusRequest() -{} - -long ListLibraryStatusRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListLibraryStatusRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int ListLibraryStatusRequest::getPageCount()const -{ - return pageCount_; -} - -void ListLibraryStatusRequest::setPageCount(int pageCount) -{ - pageCount_ = pageCount; - setParameter("PageCount", std::to_string(pageCount)); -} - -std::string ListLibraryStatusRequest::getOrderMode()const -{ - return orderMode_; -} - -void ListLibraryStatusRequest::setOrderMode(const std::string& orderMode) -{ - orderMode_ = orderMode; - setParameter("OrderMode", orderMode); -} - -std::string ListLibraryStatusRequest::getClusterBizId()const -{ - return clusterBizId_; -} - -void ListLibraryStatusRequest::setClusterBizId(const std::string& clusterBizId) -{ - clusterBizId_ = clusterBizId; - setParameter("ClusterBizId", clusterBizId); -} - -int ListLibraryStatusRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListLibraryStatusRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListLibraryStatusRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListLibraryStatusRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListLibraryStatusRequest::getRegionId()const -{ - return regionId_; -} - -void ListLibraryStatusRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListLibraryStatusRequest::getLimit()const -{ - return limit_; -} - -void ListLibraryStatusRequest::setLimit(int limit) -{ - limit_ = limit; - setParameter("Limit", std::to_string(limit)); -} - -int ListLibraryStatusRequest::getPageSize()const -{ - return pageSize_; -} - -void ListLibraryStatusRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -int ListLibraryStatusRequest::getCurrentSize()const -{ - return currentSize_; -} - -void ListLibraryStatusRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string ListLibraryStatusRequest::getOrderField()const -{ - return orderField_; -} - -void ListLibraryStatusRequest::setOrderField(const std::string& orderField) -{ - orderField_ = orderField; - setParameter("OrderField", orderField); -} - -std::string ListLibraryStatusRequest::getLibraryBizId()const -{ - return libraryBizId_; -} - -void ListLibraryStatusRequest::setLibraryBizId(const std::string& libraryBizId) -{ - libraryBizId_ = libraryBizId; - setParameter("LibraryBizId", libraryBizId); -} - diff --git a/emr/src/model/ListLibraryStatusResult.cc b/emr/src/model/ListLibraryStatusResult.cc deleted file mode 100644 index d2202a8b0..000000000 --- a/emr/src/model/ListLibraryStatusResult.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListLibraryStatusResult::ListLibraryStatusResult() : - ServiceResult() -{} - -ListLibraryStatusResult::ListLibraryStatusResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListLibraryStatusResult::~ListLibraryStatusResult() -{} - -void ListLibraryStatusResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allItemsNode = value["Items"]["Item"]; - for (auto valueItemsItem : allItemsNode) - { - Item itemsObject; - if(!valueItemsItem["LibraryBizId"].isNull()) - itemsObject.libraryBizId = valueItemsItem["LibraryBizId"].asString(); - if(!valueItemsItem["LibraryName"].isNull()) - itemsObject.libraryName = valueItemsItem["LibraryName"].asString(); - if(!valueItemsItem["ClusterBizId"].isNull()) - itemsObject.clusterBizId = valueItemsItem["ClusterBizId"].asString(); - if(!valueItemsItem["ClusterName"].isNull()) - itemsObject.clusterName = valueItemsItem["ClusterName"].asString(); - if(!valueItemsItem["Status"].isNull()) - itemsObject.status = valueItemsItem["Status"].asString(); - items_.push_back(itemsObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["NextToken"].isNull()) - nextToken_ = value["NextToken"].asString(); - -} - -int ListLibraryStatusResult::getTotalCount()const -{ - return totalCount_; -} - -int ListLibraryStatusResult::getPageSize()const -{ - return pageSize_; -} - -std::string ListLibraryStatusResult::getNextToken()const -{ - return nextToken_; -} - -int ListLibraryStatusResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListLibraryStatusResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/ListLocalDiskComponentInfoRequest.cc b/emr/src/model/ListLocalDiskComponentInfoRequest.cc deleted file mode 100644 index 54d7d7b7f..000000000 --- a/emr/src/model/ListLocalDiskComponentInfoRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListLocalDiskComponentInfoRequest; - -ListLocalDiskComponentInfoRequest::ListLocalDiskComponentInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListLocalDiskComponentInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -ListLocalDiskComponentInfoRequest::~ListLocalDiskComponentInfoRequest() -{} - -long ListLocalDiskComponentInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListLocalDiskComponentInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListLocalDiskComponentInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void ListLocalDiskComponentInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string ListLocalDiskComponentInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListLocalDiskComponentInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListLocalDiskComponentInfoRequest::getInstanceId()const -{ - return instanceId_; -} - -void ListLocalDiskComponentInfoRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string ListLocalDiskComponentInfoRequest::getRegionId()const -{ - return regionId_; -} - -void ListLocalDiskComponentInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/ListLocalDiskComponentInfoResult.cc b/emr/src/model/ListLocalDiskComponentInfoResult.cc deleted file mode 100644 index 25ddbba6c..000000000 --- a/emr/src/model/ListLocalDiskComponentInfoResult.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListLocalDiskComponentInfoResult::ListLocalDiskComponentInfoResult() : - ServiceResult() -{} - -ListLocalDiskComponentInfoResult::ListLocalDiskComponentInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListLocalDiskComponentInfoResult::~ListLocalDiskComponentInfoResult() -{} - -void ListLocalDiskComponentInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allComponentInfoListNode = value["ComponentInfoList"]["ComponentInfo"]; - for (auto valueComponentInfoListComponentInfo : allComponentInfoListNode) - { - ComponentInfo componentInfoListObject; - if(!valueComponentInfoListComponentInfo["ServiceName"].isNull()) - componentInfoListObject.serviceName = valueComponentInfoListComponentInfo["ServiceName"].asString(); - if(!valueComponentInfoListComponentInfo["ServiceDisplayName"].isNull()) - componentInfoListObject.serviceDisplayName = valueComponentInfoListComponentInfo["ServiceDisplayName"].asString(); - if(!valueComponentInfoListComponentInfo["ComponentName"].isNull()) - componentInfoListObject.componentName = valueComponentInfoListComponentInfo["ComponentName"].asString(); - if(!valueComponentInfoListComponentInfo["ComponentDisplayName"].isNull()) - componentInfoListObject.componentDisplayName = valueComponentInfoListComponentInfo["ComponentDisplayName"].asString(); - if(!valueComponentInfoListComponentInfo["IsolateWarningMsg"].isNull()) - componentInfoListObject.isolateWarningMsg = valueComponentInfoListComponentInfo["IsolateWarningMsg"].asString(); - if(!valueComponentInfoListComponentInfo["MountWarningMsg"].isNull()) - componentInfoListObject.mountWarningMsg = valueComponentInfoListComponentInfo["MountWarningMsg"].asString(); - if(!valueComponentInfoListComponentInfo["RebootWarningMsg"].isNull()) - componentInfoListObject.rebootWarningMsg = valueComponentInfoListComponentInfo["RebootWarningMsg"].asString(); - if(!valueComponentInfoListComponentInfo["SupportDiskHotSwap"].isNull()) - componentInfoListObject.supportDiskHotSwap = valueComponentInfoListComponentInfo["SupportDiskHotSwap"].asString() == "true"; - auto allMountParamsNode = valueComponentInfoListComponentInfo["MountParams"]["MountParam"]; - for (auto valueComponentInfoListComponentInfoMountParamsMountParam : allMountParamsNode) - { - ComponentInfo::MountParam mountParamsObject; - if(!valueComponentInfoListComponentInfoMountParamsMountParam["Name"].isNull()) - mountParamsObject.name = valueComponentInfoListComponentInfoMountParamsMountParam["Name"].asString(); - if(!valueComponentInfoListComponentInfoMountParamsMountParam["Key"].isNull()) - mountParamsObject.key = valueComponentInfoListComponentInfoMountParamsMountParam["Key"].asString(); - if(!valueComponentInfoListComponentInfoMountParamsMountParam["ValueType"].isNull()) - mountParamsObject.valueType = valueComponentInfoListComponentInfoMountParamsMountParam["ValueType"].asString(); - if(!valueComponentInfoListComponentInfoMountParamsMountParam["DefaultValue"].isNull()) - mountParamsObject.defaultValue = valueComponentInfoListComponentInfoMountParamsMountParam["DefaultValue"].asString(); - if(!valueComponentInfoListComponentInfoMountParamsMountParam["Tips"].isNull()) - mountParamsObject.tips = valueComponentInfoListComponentInfoMountParamsMountParam["Tips"].asString(); - if(!valueComponentInfoListComponentInfoMountParamsMountParam["Unit"].isNull()) - mountParamsObject.unit = valueComponentInfoListComponentInfoMountParamsMountParam["Unit"].asString(); - if(!valueComponentInfoListComponentInfoMountParamsMountParam["Min"].isNull()) - mountParamsObject.min = std::stoi(valueComponentInfoListComponentInfoMountParamsMountParam["Min"].asString()); - if(!valueComponentInfoListComponentInfoMountParamsMountParam["Max"].isNull()) - mountParamsObject.max = std::stoi(valueComponentInfoListComponentInfoMountParamsMountParam["Max"].asString()); - auto allOptions = value["Options"]["Option"]; - for (auto value : allOptions) - mountParamsObject.options.push_back(value.asString()); - componentInfoListObject.mountParams.push_back(mountParamsObject); - } - auto allApmMetrics = value["ApmMetrics"]["ApmMetric"]; - for (auto value : allApmMetrics) - componentInfoListObject.apmMetrics.push_back(value.asString()); - componentInfoList_.push_back(componentInfoListObject); - } - -} - -std::vector ListLocalDiskComponentInfoResult::getComponentInfoList()const -{ - return componentInfoList_; -} - diff --git a/emr/src/model/ListRolesRequest.cc b/emr/src/model/ListRolesRequest.cc deleted file mode 100644 index cb20a55ed..000000000 --- a/emr/src/model/ListRolesRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListRolesRequest; - -ListRolesRequest::ListRolesRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListRoles") -{ - setMethod(HttpRequest::Method::Post); -} - -ListRolesRequest::~ListRolesRequest() -{} - -long ListRolesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListRolesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListRolesRequest::getResourceType()const -{ - return resourceType_; -} - -void ListRolesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - -std::string ListRolesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListRolesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListRolesRequest::getRegionId()const -{ - return regionId_; -} - -void ListRolesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/ListRolesResult.cc b/emr/src/model/ListRolesResult.cc deleted file mode 100644 index eb22efd0c..000000000 --- a/emr/src/model/ListRolesResult.cc +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListRolesResult::ListRolesResult() : - ServiceResult() -{} - -ListRolesResult::ListRolesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListRolesResult::~ListRolesResult() -{} - -void ListRolesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["roleDTO"]; - for (auto valueDataroleDTO : allDataNode) - { - RoleDTO dataObject; - if(!valueDataroleDTO["Id"].isNull()) - dataObject.id = std::stol(valueDataroleDTO["Id"].asString()); - if(!valueDataroleDTO["Name"].isNull()) - dataObject.name = valueDataroleDTO["Name"].asString(); - if(!valueDataroleDTO["ResourceType"].isNull()) - dataObject.resourceType = valueDataroleDTO["ResourceType"].asString(); - if(!valueDataroleDTO["GmtCreate"].isNull()) - dataObject.gmtCreate = valueDataroleDTO["GmtCreate"].asString(); - if(!valueDataroleDTO["GmtModified"].isNull()) - dataObject.gmtModified = valueDataroleDTO["GmtModified"].asString(); - if(!valueDataroleDTO["Description"].isNull()) - dataObject.description = valueDataroleDTO["Description"].asString(); - data_.push_back(dataObject); - } - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - -} - -bool ListRolesResult::getPaging()const -{ - return paging_; -} - -std::vector ListRolesResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/ListSecurityGroupRequest.cc b/emr/src/model/ListSecurityGroupRequest.cc deleted file mode 100644 index bb8b8f3e8..000000000 --- a/emr/src/model/ListSecurityGroupRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListSecurityGroupRequest; - -ListSecurityGroupRequest::ListSecurityGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListSecurityGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -ListSecurityGroupRequest::~ListSecurityGroupRequest() -{} - -std::string ListSecurityGroupRequest::getDepositType()const -{ - return depositType_; -} - -void ListSecurityGroupRequest::setDepositType(const std::string& depositType) -{ - depositType_ = depositType; - setParameter("DepositType", depositType); -} - -std::string ListSecurityGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListSecurityGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListSecurityGroupRequest::getProductType()const -{ - return productType_; -} - -void ListSecurityGroupRequest::setProductType(const std::string& productType) -{ - productType_ = productType; - setParameter("ProductType", productType); -} - -std::string ListSecurityGroupRequest::getRegionId()const -{ - return regionId_; -} - -void ListSecurityGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ListSecurityGroupRequest::getNetType()const -{ - return netType_; -} - -void ListSecurityGroupRequest::setNetType(const std::string& netType) -{ - netType_ = netType; - setParameter("NetType", netType); -} - -std::string ListSecurityGroupRequest::getVpcId()const -{ - return vpcId_; -} - -void ListSecurityGroupRequest::setVpcId(const std::string& vpcId) -{ - vpcId_ = vpcId; - setParameter("VpcId", vpcId); -} - diff --git a/emr/src/model/ListSecurityGroupResult.cc b/emr/src/model/ListSecurityGroupResult.cc deleted file mode 100644 index 98c093b6e..000000000 --- a/emr/src/model/ListSecurityGroupResult.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListSecurityGroupResult::ListSecurityGroupResult() : - ServiceResult() -{} - -ListSecurityGroupResult::ListSecurityGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListSecurityGroupResult::~ListSecurityGroupResult() -{} - -void ListSecurityGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allSecurityGroupListNode = value["SecurityGroupList"]["SecurityGroup"]; - for (auto valueSecurityGroupListSecurityGroup : allSecurityGroupListNode) - { - SecurityGroup securityGroupListObject; - if(!valueSecurityGroupListSecurityGroup["SecurityGroupId"].isNull()) - securityGroupListObject.securityGroupId = valueSecurityGroupListSecurityGroup["SecurityGroupId"].asString(); - if(!valueSecurityGroupListSecurityGroup["Description"].isNull()) - securityGroupListObject.description = valueSecurityGroupListSecurityGroup["Description"].asString(); - if(!valueSecurityGroupListSecurityGroup["SecurityGroupName"].isNull()) - securityGroupListObject.securityGroupName = valueSecurityGroupListSecurityGroup["SecurityGroupName"].asString(); - if(!valueSecurityGroupListSecurityGroup["VpcId"].isNull()) - securityGroupListObject.vpcId = valueSecurityGroupListSecurityGroup["VpcId"].asString(); - if(!valueSecurityGroupListSecurityGroup["CreationTime"].isNull()) - securityGroupListObject.creationTime = valueSecurityGroupListSecurityGroup["CreationTime"].asString(); - if(!valueSecurityGroupListSecurityGroup["SecurityGroupType"].isNull()) - securityGroupListObject.securityGroupType = valueSecurityGroupListSecurityGroup["SecurityGroupType"].asString(); - if(!valueSecurityGroupListSecurityGroup["AvailableInstanceAmount"].isNull()) - securityGroupListObject.availableInstanceAmount = std::stoi(valueSecurityGroupListSecurityGroup["AvailableInstanceAmount"].asString()); - if(!valueSecurityGroupListSecurityGroup["EcsCount"].isNull()) - securityGroupListObject.ecsCount = std::stoi(valueSecurityGroupListSecurityGroup["EcsCount"].asString()); - securityGroupList_.push_back(securityGroupListObject); - } - -} - -std::vector ListSecurityGroupResult::getSecurityGroupList()const -{ - return securityGroupList_; -} - diff --git a/emr/src/model/ListStackRequest.cc b/emr/src/model/ListStackRequest.cc deleted file mode 100644 index c4845b6f3..000000000 --- a/emr/src/model/ListStackRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListStackRequest; - -ListStackRequest::ListStackRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListStack") -{ - setMethod(HttpRequest::Method::Post); -} - -ListStackRequest::~ListStackRequest() -{} - -long ListStackRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListStackRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int ListStackRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListStackRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListStackRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListStackRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListStackRequest::getRegionId()const -{ - return regionId_; -} - -void ListStackRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListStackRequest::getPageSize()const -{ - return pageSize_; -} - -void ListStackRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListStackRequest::getStackName()const -{ - return stackName_; -} - -void ListStackRequest::setStackName(const std::string& stackName) -{ - stackName_ = stackName; - setParameter("StackName", stackName); -} - -std::string ListStackRequest::getStackVersion()const -{ - return stackVersion_; -} - -void ListStackRequest::setStackVersion(const std::string& stackVersion) -{ - stackVersion_ = stackVersion; - setParameter("StackVersion", stackVersion); -} - diff --git a/emr/src/model/ListStackResult.cc b/emr/src/model/ListStackResult.cc deleted file mode 100644 index 9be4ee86a..000000000 --- a/emr/src/model/ListStackResult.cc +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListStackResult::ListStackResult() : - ServiceResult() -{} - -ListStackResult::ListStackResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListStackResult::~ListStackResult() -{} - -void ListStackResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allStackListNode = value["StackList"]["Stack"]; - for (auto valueStackListStack : allStackListNode) - { - Stack stackListObject; - if(!valueStackListStack["Name"].isNull()) - stackListObject.name = valueStackListStack["Name"].asString(); - if(!valueStackListStack["Version"].isNull()) - stackListObject.version = valueStackListStack["Version"].asString(); - if(!valueStackListStack["Status"].isNull()) - stackListObject.status = valueStackListStack["Status"].asString(); - stackList_.push_back(stackListObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int ListStackResult::getTotalCount()const -{ - return totalCount_; -} - -int ListStackResult::getPageSize()const -{ - return pageSize_; -} - -int ListStackResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListStackResult::getStackList()const -{ - return stackList_; -} - diff --git a/emr/src/model/ListTagKeysRequest.cc b/emr/src/model/ListTagKeysRequest.cc deleted file mode 100644 index 5785d2d82..000000000 --- a/emr/src/model/ListTagKeysRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListTagKeysRequest; - -ListTagKeysRequest::ListTagKeysRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListTagKeys") -{ - setMethod(HttpRequest::Method::Post); -} - -ListTagKeysRequest::~ListTagKeysRequest() -{} - -long ListTagKeysRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListTagKeysRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListTagKeysRequest::getResourceType()const -{ - return resourceType_; -} - -void ListTagKeysRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - -std::string ListTagKeysRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListTagKeysRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListTagKeysRequest::getRegionId()const -{ - return regionId_; -} - -void ListTagKeysRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ListTagKeysRequest::getNextToken()const -{ - return nextToken_; -} - -void ListTagKeysRequest::setNextToken(const std::string& nextToken) -{ - nextToken_ = nextToken; - setParameter("NextToken", nextToken); -} - -std::string ListTagKeysRequest::getScope()const -{ - return scope_; -} - -void ListTagKeysRequest::setScope(const std::string& scope) -{ - scope_ = scope; - setParameter("Scope", scope); -} - -int ListTagKeysRequest::getPageSize()const -{ - return pageSize_; -} - -void ListTagKeysRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListTagKeysRequest::getCategory()const -{ - return category_; -} - -void ListTagKeysRequest::setCategory(const std::string& category) -{ - category_ = category; - setParameter("Category", category); -} - diff --git a/emr/src/model/ListTagKeysResult.cc b/emr/src/model/ListTagKeysResult.cc deleted file mode 100644 index 75f32196a..000000000 --- a/emr/src/model/ListTagKeysResult.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListTagKeysResult::ListTagKeysResult() : - ServiceResult() -{} - -ListTagKeysResult::ListTagKeysResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTagKeysResult::~ListTagKeysResult() -{} - -void ListTagKeysResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allKeys = value["Keys"]["Key"]; - for (const auto &item : allKeys) - keys_.push_back(item.asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["NextToken"].isNull()) - nextToken_ = value["NextToken"].asString(); - -} - -int ListTagKeysResult::getTotalCount()const -{ - return totalCount_; -} - -std::string ListTagKeysResult::getMessage()const -{ - return message_; -} - -int ListTagKeysResult::getPageSize()const -{ - return pageSize_; -} - -std::string ListTagKeysResult::getNextToken()const -{ - return nextToken_; -} - -std::vector ListTagKeysResult::getKeys()const -{ - return keys_; -} - -std::string ListTagKeysResult::getCode()const -{ - return code_; -} - -bool ListTagKeysResult::getSuccess()const -{ - return success_; -} - diff --git a/emr/src/model/ListTagValuesRequest.cc b/emr/src/model/ListTagValuesRequest.cc deleted file mode 100644 index 901c3e71c..000000000 --- a/emr/src/model/ListTagValuesRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListTagValuesRequest; - -ListTagValuesRequest::ListTagValuesRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListTagValues") -{ - setMethod(HttpRequest::Method::Post); -} - -ListTagValuesRequest::~ListTagValuesRequest() -{} - -long ListTagValuesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListTagValuesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListTagValuesRequest::getResourceType()const -{ - return resourceType_; -} - -void ListTagValuesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - -std::string ListTagValuesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListTagValuesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListTagValuesRequest::getRegionId()const -{ - return regionId_; -} - -void ListTagValuesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ListTagValuesRequest::getNextToken()const -{ - return nextToken_; -} - -void ListTagValuesRequest::setNextToken(const std::string& nextToken) -{ - nextToken_ = nextToken; - setParameter("NextToken", nextToken); -} - -std::string ListTagValuesRequest::getScope()const -{ - return scope_; -} - -void ListTagValuesRequest::setScope(const std::string& scope) -{ - scope_ = scope; - setParameter("Scope", scope); -} - -int ListTagValuesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListTagValuesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListTagValuesRequest::getKey()const -{ - return key_; -} - -void ListTagValuesRequest::setKey(const std::string& key) -{ - key_ = key; - setParameter("Key", key); -} - diff --git a/emr/src/model/ListTagValuesResult.cc b/emr/src/model/ListTagValuesResult.cc deleted file mode 100644 index d88c45659..000000000 --- a/emr/src/model/ListTagValuesResult.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListTagValuesResult::ListTagValuesResult() : - ServiceResult() -{} - -ListTagValuesResult::ListTagValuesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTagValuesResult::~ListTagValuesResult() -{} - -void ListTagValuesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allValues = value["Values"]["Value"]; - for (const auto &item : allValues) - values_.push_back(item.asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["NextToken"].isNull()) - nextToken_ = value["NextToken"].asString(); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int ListTagValuesResult::getTotalCount()const -{ - return totalCount_; -} - -std::string ListTagValuesResult::getMessage()const -{ - return message_; -} - -std::string ListTagValuesResult::getNextToken()const -{ - return nextToken_; -} - -int ListTagValuesResult::getPageSize()const -{ - return pageSize_; -} - -std::vector ListTagValuesResult::getValues()const -{ - return values_; -} - -std::string ListTagValuesResult::getCode()const -{ - return code_; -} - -bool ListTagValuesResult::getSuccess()const -{ - return success_; -} - diff --git a/emr/src/model/ListUsersRequest.cc b/emr/src/model/ListUsersRequest.cc deleted file mode 100644 index 7ac3cf2a5..000000000 --- a/emr/src/model/ListUsersRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListUsersRequest; - -ListUsersRequest::ListUsersRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListUsers") -{ - setMethod(HttpRequest::Method::Post); -} - -ListUsersRequest::~ListUsersRequest() -{} - -long ListUsersRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListUsersRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListUsersRequest::getClusterId()const -{ - return clusterId_; -} - -void ListUsersRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string ListUsersRequest::getType()const -{ - return type_; -} - -void ListUsersRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - -std::string ListUsersRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListUsersRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListUsersRequest::getRegionId()const -{ - return regionId_; -} - -void ListUsersRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/ListUsersResult.cc b/emr/src/model/ListUsersResult.cc deleted file mode 100644 index a9c000d3f..000000000 --- a/emr/src/model/ListUsersResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListUsersResult::ListUsersResult() : - ServiceResult() -{} - -ListUsersResult::ListUsersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListUsersResult::~ListUsersResult() -{} - -void ListUsersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allUserListNode = value["UserList"]["User"]; - for (auto valueUserListUser : allUserListNode) - { - User userListObject; - if(!valueUserListUser["UserName"].isNull()) - userListObject.userName = valueUserListUser["UserName"].asString(); - if(!valueUserListUser["GroupName"].isNull()) - userListObject.groupName = valueUserListUser["GroupName"].asString(); - if(!valueUserListUser["UserId"].isNull()) - userListObject.userId = valueUserListUser["UserId"].asString(); - if(!valueUserListUser["KnoxStatus"].isNull()) - userListObject.knoxStatus = valueUserListUser["KnoxStatus"].asString(); - if(!valueUserListUser["LinuxStatus"].isNull()) - userListObject.linuxStatus = valueUserListUser["LinuxStatus"].asString(); - if(!valueUserListUser["KerberosStatus"].isNull()) - userListObject.kerberosStatus = valueUserListUser["KerberosStatus"].asString(); - if(!valueUserListUser["K8sStatus"].isNull()) - userListObject.k8sStatus = valueUserListUser["K8sStatus"].asString(); - userList_.push_back(userListObject); - } - -} - -std::vector ListUsersResult::getUserList()const -{ - return userList_; -} - diff --git a/emr/src/model/ListVswitchRequest.cc b/emr/src/model/ListVswitchRequest.cc deleted file mode 100644 index 04a4ed8ca..000000000 --- a/emr/src/model/ListVswitchRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListVswitchRequest; - -ListVswitchRequest::ListVswitchRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListVswitch") -{ - setMethod(HttpRequest::Method::Post); -} - -ListVswitchRequest::~ListVswitchRequest() -{} - -std::string ListVswitchRequest::getDepositType()const -{ - return depositType_; -} - -void ListVswitchRequest::setDepositType(const std::string& depositType) -{ - depositType_ = depositType; - setParameter("DepositType", depositType); -} - -std::string ListVswitchRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListVswitchRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListVswitchRequest::getProductType()const -{ - return productType_; -} - -void ListVswitchRequest::setProductType(const std::string& productType) -{ - productType_ = productType; - setParameter("ProductType", productType); -} - -std::string ListVswitchRequest::getRegionId()const -{ - return regionId_; -} - -void ListVswitchRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ListVswitchRequest::getVpcId()const -{ - return vpcId_; -} - -void ListVswitchRequest::setVpcId(const std::string& vpcId) -{ - vpcId_ = vpcId; - setParameter("VpcId", vpcId); -} - -std::string ListVswitchRequest::getZoneId()const -{ - return zoneId_; -} - -void ListVswitchRequest::setZoneId(const std::string& zoneId) -{ - zoneId_ = zoneId; - setParameter("ZoneId", zoneId); -} - diff --git a/emr/src/model/ListVswitchResult.cc b/emr/src/model/ListVswitchResult.cc deleted file mode 100644 index 59bdc1fae..000000000 --- a/emr/src/model/ListVswitchResult.cc +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListVswitchResult::ListVswitchResult() : - ServiceResult() -{} - -ListVswitchResult::ListVswitchResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListVswitchResult::~ListVswitchResult() -{} - -void ListVswitchResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allVswitchListNode = value["VswitchList"]["Vswitch"]; - for (auto valueVswitchListVswitch : allVswitchListNode) - { - Vswitch vswitchListObject; - if(!valueVswitchListVswitch["VSwitchId"].isNull()) - vswitchListObject.vSwitchId = valueVswitchListVswitch["VSwitchId"].asString(); - if(!valueVswitchListVswitch["VpcId"].isNull()) - vswitchListObject.vpcId = valueVswitchListVswitch["VpcId"].asString(); - if(!valueVswitchListVswitch["Status"].isNull()) - vswitchListObject.status = valueVswitchListVswitch["Status"].asString(); - if(!valueVswitchListVswitch["CidrBlock"].isNull()) - vswitchListObject.cidrBlock = valueVswitchListVswitch["CidrBlock"].asString(); - if(!valueVswitchListVswitch["ZoneId"].isNull()) - vswitchListObject.zoneId = valueVswitchListVswitch["ZoneId"].asString(); - if(!valueVswitchListVswitch["AvailableIpAddressCount"].isNull()) - vswitchListObject.availableIpAddressCount = valueVswitchListVswitch["AvailableIpAddressCount"].asString(); - if(!valueVswitchListVswitch["Description"].isNull()) - vswitchListObject.description = valueVswitchListVswitch["Description"].asString(); - if(!valueVswitchListVswitch["VSwitchName"].isNull()) - vswitchListObject.vSwitchName = valueVswitchListVswitch["VSwitchName"].asString(); - if(!valueVswitchListVswitch["CreationTime"].isNull()) - vswitchListObject.creationTime = valueVswitchListVswitch["CreationTime"].asString(); - if(!valueVswitchListVswitch["IsDefault"].isNull()) - vswitchListObject.isDefault = valueVswitchListVswitch["IsDefault"].asString() == "true"; - if(!valueVswitchListVswitch["ResourceGroupId"].isNull()) - vswitchListObject.resourceGroupId = valueVswitchListVswitch["ResourceGroupId"].asString(); - vswitchList_.push_back(vswitchListObject); - } - -} - -std::vector ListVswitchResult::getVswitchList()const -{ - return vswitchList_; -} - diff --git a/emr/src/model/ModifyClusterBootstrapActionRequest.cc b/emr/src/model/ModifyClusterBootstrapActionRequest.cc deleted file mode 100644 index 6bbf86a8c..000000000 --- a/emr/src/model/ModifyClusterBootstrapActionRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyClusterBootstrapActionRequest; - -ModifyClusterBootstrapActionRequest::ModifyClusterBootstrapActionRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyClusterBootstrapAction") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyClusterBootstrapActionRequest::~ModifyClusterBootstrapActionRequest() -{} - -long ModifyClusterBootstrapActionRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyClusterBootstrapActionRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyClusterBootstrapActionRequest::getClusterId()const -{ - return clusterId_; -} - -void ModifyClusterBootstrapActionRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string ModifyClusterBootstrapActionRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyClusterBootstrapActionRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::vector ModifyClusterBootstrapActionRequest::getBootstrapAction()const -{ - return bootstrapAction_; -} - -void ModifyClusterBootstrapActionRequest::setBootstrapAction(const std::vector& bootstrapAction) -{ - bootstrapAction_ = bootstrapAction; - for(int dep1 = 0; dep1!= bootstrapAction.size(); dep1++) { - auto bootstrapActionObj = bootstrapAction.at(dep1); - std::string bootstrapActionObjStr = "BootstrapAction." + std::to_string(dep1 + 1); - setParameter(bootstrapActionObjStr + ".Path", bootstrapActionObj.path); - setParameter(bootstrapActionObjStr + ".ExecutionTarget", bootstrapActionObj.executionTarget); - setParameter(bootstrapActionObjStr + ".ExecutionMoment", bootstrapActionObj.executionMoment); - setParameter(bootstrapActionObjStr + ".Arg", bootstrapActionObj.arg); - setParameter(bootstrapActionObjStr + ".Name", bootstrapActionObj.name); - setParameter(bootstrapActionObjStr + ".ExecutionFailStrategy", bootstrapActionObj.executionFailStrategy); - } -} - -std::string ModifyClusterBootstrapActionRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyClusterBootstrapActionRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ModifyClusterBootstrapActionRequest::getId()const -{ - return id_; -} - -void ModifyClusterBootstrapActionRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - diff --git a/emr/src/model/ModifyClusterBootstrapActionResult.cc b/emr/src/model/ModifyClusterBootstrapActionResult.cc deleted file mode 100644 index 5ea923e5d..000000000 --- a/emr/src/model/ModifyClusterBootstrapActionResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ModifyClusterBootstrapActionResult::ModifyClusterBootstrapActionResult() : - ServiceResult() -{} - -ModifyClusterBootstrapActionResult::ModifyClusterBootstrapActionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyClusterBootstrapActionResult::~ModifyClusterBootstrapActionResult() -{} - -void ModifyClusterBootstrapActionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/ModifyClusterHostGroupRequest.cc b/emr/src/model/ModifyClusterHostGroupRequest.cc deleted file mode 100644 index 408eeb63a..000000000 --- a/emr/src/model/ModifyClusterHostGroupRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyClusterHostGroupRequest; - -ModifyClusterHostGroupRequest::ModifyClusterHostGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyClusterHostGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyClusterHostGroupRequest::~ModifyClusterHostGroupRequest() -{} - -long ModifyClusterHostGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyClusterHostGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyClusterHostGroupRequest::getSecurityGroupId()const -{ - return securityGroupId_; -} - -void ModifyClusterHostGroupRequest::setSecurityGroupId(const std::string& securityGroupId) -{ - securityGroupId_ = securityGroupId; - setParameter("SecurityGroupId", securityGroupId); -} - -std::string ModifyClusterHostGroupRequest::getClusterId()const -{ - return clusterId_; -} - -void ModifyClusterHostGroupRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string ModifyClusterHostGroupRequest::getHostGroupName()const -{ - return hostGroupName_; -} - -void ModifyClusterHostGroupRequest::setHostGroupName(const std::string& hostGroupName) -{ - hostGroupName_ = hostGroupName; - setParameter("HostGroupName", hostGroupName); -} - -std::string ModifyClusterHostGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyClusterHostGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ModifyClusterHostGroupRequest::getVswitchId()const -{ - return vswitchId_; -} - -void ModifyClusterHostGroupRequest::setVswitchId(const std::string& vswitchId) -{ - vswitchId_ = vswitchId; - setParameter("VswitchId", vswitchId); -} - -std::string ModifyClusterHostGroupRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyClusterHostGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ModifyClusterHostGroupRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void ModifyClusterHostGroupRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setParameter("HostGroupId", hostGroupId); -} - -std::string ModifyClusterHostGroupRequest::getComment()const -{ - return comment_; -} - -void ModifyClusterHostGroupRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setParameter("Comment", comment); -} - diff --git a/emr/src/model/ModifyClusterHostGroupResult.cc b/emr/src/model/ModifyClusterHostGroupResult.cc deleted file mode 100644 index 9d55b3faa..000000000 --- a/emr/src/model/ModifyClusterHostGroupResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ModifyClusterHostGroupResult::ModifyClusterHostGroupResult() : - ServiceResult() -{} - -ModifyClusterHostGroupResult::ModifyClusterHostGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyClusterHostGroupResult::~ModifyClusterHostGroupResult() -{} - -void ModifyClusterHostGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/ModifyClusterMetaCollectRequest.cc b/emr/src/model/ModifyClusterMetaCollectRequest.cc deleted file mode 100644 index 7e1e8f944..000000000 --- a/emr/src/model/ModifyClusterMetaCollectRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyClusterMetaCollectRequest; - -ModifyClusterMetaCollectRequest::ModifyClusterMetaCollectRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyClusterMetaCollect") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyClusterMetaCollectRequest::~ModifyClusterMetaCollectRequest() -{} - -long ModifyClusterMetaCollectRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyClusterMetaCollectRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyClusterMetaCollectRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyClusterMetaCollectRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ModifyClusterMetaCollectRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyClusterMetaCollectRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ModifyClusterMetaCollectRequest::getClusterId()const -{ - return clusterId_; -} - -void ModifyClusterMetaCollectRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -bool ModifyClusterMetaCollectRequest::getSwitchOn()const -{ - return switchOn_; -} - -void ModifyClusterMetaCollectRequest::setSwitchOn(bool switchOn) -{ - switchOn_ = switchOn; - setParameter("SwitchOn", switchOn ? "true" : "false"); -} - diff --git a/emr/src/model/ModifyClusterMetaCollectResult.cc b/emr/src/model/ModifyClusterMetaCollectResult.cc deleted file mode 100644 index 1d76f5c2a..000000000 --- a/emr/src/model/ModifyClusterMetaCollectResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ModifyClusterMetaCollectResult::ModifyClusterMetaCollectResult() : - ServiceResult() -{} - -ModifyClusterMetaCollectResult::ModifyClusterMetaCollectResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyClusterMetaCollectResult::~ModifyClusterMetaCollectResult() -{} - -void ModifyClusterMetaCollectResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/ModifyClusterSecurityGroupRuleRequest.cc b/emr/src/model/ModifyClusterSecurityGroupRuleRequest.cc deleted file mode 100644 index 789d788d1..000000000 --- a/emr/src/model/ModifyClusterSecurityGroupRuleRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyClusterSecurityGroupRuleRequest; - -ModifyClusterSecurityGroupRuleRequest::ModifyClusterSecurityGroupRuleRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyClusterSecurityGroupRule") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyClusterSecurityGroupRuleRequest::~ModifyClusterSecurityGroupRuleRequest() -{} - -std::string ModifyClusterSecurityGroupRuleRequest::getNicType()const -{ - return nicType_; -} - -void ModifyClusterSecurityGroupRuleRequest::setNicType(const std::string& nicType) -{ - nicType_ = nicType; - setParameter("NicType", nicType); -} - -long ModifyClusterSecurityGroupRuleRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyClusterSecurityGroupRuleRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyClusterSecurityGroupRuleRequest::getPortRange()const -{ - return portRange_; -} - -void ModifyClusterSecurityGroupRuleRequest::setPortRange(const std::string& portRange) -{ - portRange_ = portRange; - setParameter("PortRange", portRange); -} - -std::string ModifyClusterSecurityGroupRuleRequest::getIpProtocol()const -{ - return ipProtocol_; -} - -void ModifyClusterSecurityGroupRuleRequest::setIpProtocol(const std::string& ipProtocol) -{ - ipProtocol_ = ipProtocol; - setParameter("IpProtocol", ipProtocol); -} - -std::string ModifyClusterSecurityGroupRuleRequest::getClusterId()const -{ - return clusterId_; -} - -void ModifyClusterSecurityGroupRuleRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string ModifyClusterSecurityGroupRuleRequest::getWhiteIp()const -{ - return whiteIp_; -} - -void ModifyClusterSecurityGroupRuleRequest::setWhiteIp(const std::string& whiteIp) -{ - whiteIp_ = whiteIp; - setParameter("WhiteIp", whiteIp); -} - -std::string ModifyClusterSecurityGroupRuleRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyClusterSecurityGroupRuleRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ModifyClusterSecurityGroupRuleRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyClusterSecurityGroupRuleRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ModifyClusterSecurityGroupRuleRequest::getModifyType()const -{ - return modifyType_; -} - -void ModifyClusterSecurityGroupRuleRequest::setModifyType(const std::string& modifyType) -{ - modifyType_ = modifyType; - setParameter("ModifyType", modifyType); -} - diff --git a/emr/src/model/ModifyClusterSecurityGroupRuleResult.cc b/emr/src/model/ModifyClusterSecurityGroupRuleResult.cc deleted file mode 100644 index bbd9bfc2a..000000000 --- a/emr/src/model/ModifyClusterSecurityGroupRuleResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ModifyClusterSecurityGroupRuleResult::ModifyClusterSecurityGroupRuleResult() : - ServiceResult() -{} - -ModifyClusterSecurityGroupRuleResult::ModifyClusterSecurityGroupRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyClusterSecurityGroupRuleResult::~ModifyClusterSecurityGroupRuleResult() -{} - -void ModifyClusterSecurityGroupRuleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/ModifyClusterTemplateRequest.cc b/emr/src/model/ModifyClusterTemplateRequest.cc index 0d4438f32..679a947c9 100644 --- a/emr/src/model/ModifyClusterTemplateRequest.cc +++ b/emr/src/model/ModifyClusterTemplateRequest.cc @@ -373,6 +373,17 @@ void ModifyClusterTemplateRequest::setAccessKeyId(const std::string& accessKeyId setParameter("AccessKeyId", accessKeyId); } +std::string ModifyClusterTemplateRequest::getDataDiskKMSKeyId()const +{ + return dataDiskKMSKeyId_; +} + +void ModifyClusterTemplateRequest::setDataDiskKMSKeyId(const std::string& dataDiskKMSKeyId) +{ + dataDiskKMSKeyId_ = dataDiskKMSKeyId; + setParameter("DataDiskKMSKeyId", dataDiskKMSKeyId); +} + std::string ModifyClusterTemplateRequest::getRegionId()const { return regionId_; @@ -417,6 +428,17 @@ void ModifyClusterTemplateRequest::setUserDefinedEmrEcsRole(const std::string& u setParameter("UserDefinedEmrEcsRole", userDefinedEmrEcsRole); } +bool ModifyClusterTemplateRequest::getDataDiskEncrypted()const +{ + return dataDiskEncrypted_; +} + +void ModifyClusterTemplateRequest::setDataDiskEncrypted(bool dataDiskEncrypted) +{ + dataDiskEncrypted_ = dataDiskEncrypted; + setParameter("DataDiskEncrypted", dataDiskEncrypted ? "true" : "false"); +} + std::string ModifyClusterTemplateRequest::getVpcId()const { return vpcId_; diff --git a/emr/src/model/ModifyExecutionPlanRequest.cc b/emr/src/model/ModifyExecutionPlanRequest.cc deleted file mode 100644 index e98a93799..000000000 --- a/emr/src/model/ModifyExecutionPlanRequest.cc +++ /dev/null @@ -1,501 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyExecutionPlanRequest; - -ModifyExecutionPlanRequest::ModifyExecutionPlanRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyExecutionPlan") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyExecutionPlanRequest::~ModifyExecutionPlanRequest() -{} - -long ModifyExecutionPlanRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyExecutionPlanRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyExecutionPlanRequest::getLogPath()const -{ - return logPath_; -} - -void ModifyExecutionPlanRequest::setLogPath(const std::string& logPath) -{ - logPath_ = logPath; - setParameter("LogPath", logPath); -} - -int ModifyExecutionPlanRequest::getTimeInterval()const -{ - return timeInterval_; -} - -void ModifyExecutionPlanRequest::setTimeInterval(int timeInterval) -{ - timeInterval_ = timeInterval; - setParameter("TimeInterval", std::to_string(timeInterval)); -} - -std::string ModifyExecutionPlanRequest::getClusterName()const -{ - return clusterName_; -} - -void ModifyExecutionPlanRequest::setClusterName(const std::string& clusterName) -{ - clusterName_ = clusterName; - setParameter("ClusterName", clusterName); -} - -std::string ModifyExecutionPlanRequest::getConfigurations()const -{ - return configurations_; -} - -void ModifyExecutionPlanRequest::setConfigurations(const std::string& configurations) -{ - configurations_ = configurations; - setParameter("Configurations", configurations); -} - -bool ModifyExecutionPlanRequest::getCreateClusterOnDemand()const -{ - return createClusterOnDemand_; -} - -void ModifyExecutionPlanRequest::setCreateClusterOnDemand(bool createClusterOnDemand) -{ - createClusterOnDemand_ = createClusterOnDemand; - setParameter("CreateClusterOnDemand", createClusterOnDemand ? "true" : "false"); -} - -long ModifyExecutionPlanRequest::getStartTime()const -{ - return startTime_; -} - -void ModifyExecutionPlanRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); -} - -std::vector ModifyExecutionPlanRequest::getBootstrapAction()const -{ - return bootstrapAction_; -} - -void ModifyExecutionPlanRequest::setBootstrapAction(const std::vector& bootstrapAction) -{ - bootstrapAction_ = bootstrapAction; - for(int dep1 = 0; dep1!= bootstrapAction.size(); dep1++) { - auto bootstrapActionObj = bootstrapAction.at(dep1); - std::string bootstrapActionObjStr = "BootstrapAction." + std::to_string(dep1 + 1); - setParameter(bootstrapActionObjStr + ".Path", bootstrapActionObj.path); - setParameter(bootstrapActionObjStr + ".ExecutionTarget", bootstrapActionObj.executionTarget); - setParameter(bootstrapActionObjStr + ".ExecutionMoment", bootstrapActionObj.executionMoment); - setParameter(bootstrapActionObjStr + ".Arg", bootstrapActionObj.arg); - setParameter(bootstrapActionObjStr + ".Name", bootstrapActionObj.name); - setParameter(bootstrapActionObjStr + ".ExecutionFailStrategy", bootstrapActionObj.executionFailStrategy); - } -} - -std::string ModifyExecutionPlanRequest::getEmrVer()const -{ - return emrVer_; -} - -void ModifyExecutionPlanRequest::setEmrVer(const std::string& emrVer) -{ - emrVer_ = emrVer; - setParameter("EmrVer", emrVer); -} - -std::string ModifyExecutionPlanRequest::getId()const -{ - return id_; -} - -void ModifyExecutionPlanRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - -bool ModifyExecutionPlanRequest::getIsOpenPublicIp()const -{ - return isOpenPublicIp_; -} - -void ModifyExecutionPlanRequest::setIsOpenPublicIp(bool isOpenPublicIp) -{ - isOpenPublicIp_ = isOpenPublicIp; - setParameter("IsOpenPublicIp", isOpenPublicIp ? "true" : "false"); -} - -long ModifyExecutionPlanRequest::getExecutionPlanVersion()const -{ - return executionPlanVersion_; -} - -void ModifyExecutionPlanRequest::setExecutionPlanVersion(long executionPlanVersion) -{ - executionPlanVersion_ = executionPlanVersion; - setParameter("ExecutionPlanVersion", std::to_string(executionPlanVersion)); -} - -std::string ModifyExecutionPlanRequest::getInstanceGeneration()const -{ - return instanceGeneration_; -} - -void ModifyExecutionPlanRequest::setInstanceGeneration(const std::string& instanceGeneration) -{ - instanceGeneration_ = instanceGeneration; - setParameter("InstanceGeneration", instanceGeneration); -} - -std::string ModifyExecutionPlanRequest::getClusterType()const -{ - return clusterType_; -} - -void ModifyExecutionPlanRequest::setClusterType(const std::string& clusterType) -{ - clusterType_ = clusterType; - setParameter("ClusterType", clusterType); -} - -std::string ModifyExecutionPlanRequest::getVSwitchId()const -{ - return vSwitchId_; -} - -void ModifyExecutionPlanRequest::setVSwitchId(const std::string& vSwitchId) -{ - vSwitchId_ = vSwitchId; - setParameter("VSwitchId", vSwitchId); -} - -std::vector ModifyExecutionPlanRequest::getOptionSoftWareList()const -{ - return optionSoftWareList_; -} - -void ModifyExecutionPlanRequest::setOptionSoftWareList(const std::vector& optionSoftWareList) -{ - optionSoftWareList_ = optionSoftWareList; - for(int dep1 = 0; dep1!= optionSoftWareList.size(); dep1++) { - setParameter("OptionSoftWareList."+ std::to_string(dep1), optionSoftWareList.at(dep1)); - } -} - -std::string ModifyExecutionPlanRequest::getNetType()const -{ - return netType_; -} - -void ModifyExecutionPlanRequest::setNetType(const std::string& netType) -{ - netType_ = netType; - setParameter("NetType", netType); -} - -std::vector ModifyExecutionPlanRequest::getEcsOrder()const -{ - return ecsOrder_; -} - -void ModifyExecutionPlanRequest::setEcsOrder(const std::vector& ecsOrder) -{ - ecsOrder_ = ecsOrder; - for(int dep1 = 0; dep1!= ecsOrder.size(); dep1++) { - auto ecsOrderObj = ecsOrder.at(dep1); - std::string ecsOrderObjStr = "EcsOrder." + std::to_string(dep1 + 1); - setParameter(ecsOrderObjStr + ".NodeType", ecsOrderObj.nodeType); - setParameter(ecsOrderObjStr + ".DiskCount", std::to_string(ecsOrderObj.diskCount)); - setParameter(ecsOrderObjStr + ".NodeCount", std::to_string(ecsOrderObj.nodeCount)); - setParameter(ecsOrderObjStr + ".DiskCapacity", std::to_string(ecsOrderObj.diskCapacity)); - setParameter(ecsOrderObjStr + ".Index", std::to_string(ecsOrderObj.index)); - setParameter(ecsOrderObjStr + ".InstanceType", ecsOrderObj.instanceType); - setParameter(ecsOrderObjStr + ".DiskType", ecsOrderObj.diskType); - } -} - -std::string ModifyExecutionPlanRequest::getName()const -{ - return name_; -} - -void ModifyExecutionPlanRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string ModifyExecutionPlanRequest::getZoneId()const -{ - return zoneId_; -} - -void ModifyExecutionPlanRequest::setZoneId(const std::string& zoneId) -{ - zoneId_ = zoneId; - setParameter("ZoneId", zoneId); -} - -bool ModifyExecutionPlanRequest::getUseCustomHiveMetaDB()const -{ - return useCustomHiveMetaDB_; -} - -void ModifyExecutionPlanRequest::setUseCustomHiveMetaDB(bool useCustomHiveMetaDB) -{ - useCustomHiveMetaDB_ = useCustomHiveMetaDB; - setParameter("UseCustomHiveMetaDB", useCustomHiveMetaDB ? "true" : "false"); -} - -bool ModifyExecutionPlanRequest::getInitCustomHiveMetaDB()const -{ - return initCustomHiveMetaDB_; -} - -void ModifyExecutionPlanRequest::setInitCustomHiveMetaDB(bool initCustomHiveMetaDB) -{ - initCustomHiveMetaDB_ = initCustomHiveMetaDB; - setParameter("InitCustomHiveMetaDB", initCustomHiveMetaDB ? "true" : "false"); -} - -bool ModifyExecutionPlanRequest::getIoOptimized()const -{ - return ioOptimized_; -} - -void ModifyExecutionPlanRequest::setIoOptimized(bool ioOptimized) -{ - ioOptimized_ = ioOptimized; - setParameter("IoOptimized", ioOptimized ? "true" : "false"); -} - -std::string ModifyExecutionPlanRequest::getSecurityGroupId()const -{ - return securityGroupId_; -} - -void ModifyExecutionPlanRequest::setSecurityGroupId(const std::string& securityGroupId) -{ - securityGroupId_ = securityGroupId; - setParameter("SecurityGroupId", securityGroupId); -} - -bool ModifyExecutionPlanRequest::getEasEnable()const -{ - return easEnable_; -} - -void ModifyExecutionPlanRequest::setEasEnable(bool easEnable) -{ - easEnable_ = easEnable; - setParameter("EasEnable", easEnable ? "true" : "false"); -} - -std::vector ModifyExecutionPlanRequest::getJobIdList()const -{ - return jobIdList_; -} - -void ModifyExecutionPlanRequest::setJobIdList(const std::vector& jobIdList) -{ - jobIdList_ = jobIdList; - for(int dep1 = 0; dep1!= jobIdList.size(); dep1++) { - setParameter("JobIdList."+ std::to_string(dep1), jobIdList.at(dep1)); - } -} - -std::string ModifyExecutionPlanRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyExecutionPlanRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ModifyExecutionPlanRequest::getDayOfMonth()const -{ - return dayOfMonth_; -} - -void ModifyExecutionPlanRequest::setDayOfMonth(const std::string& dayOfMonth) -{ - dayOfMonth_ = dayOfMonth; - setParameter("DayOfMonth", dayOfMonth); -} - -std::string ModifyExecutionPlanRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyExecutionPlanRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -bool ModifyExecutionPlanRequest::getUseLocalMetaDb()const -{ - return useLocalMetaDb_; -} - -void ModifyExecutionPlanRequest::setUseLocalMetaDb(bool useLocalMetaDb) -{ - useLocalMetaDb_ = useLocalMetaDb; - setParameter("UseLocalMetaDb", useLocalMetaDb ? "true" : "false"); -} - -std::string ModifyExecutionPlanRequest::getUserDefinedEmrEcsRole()const -{ - return userDefinedEmrEcsRole_; -} - -void ModifyExecutionPlanRequest::setUserDefinedEmrEcsRole(const std::string& userDefinedEmrEcsRole) -{ - userDefinedEmrEcsRole_ = userDefinedEmrEcsRole; - setParameter("UserDefinedEmrEcsRole", userDefinedEmrEcsRole); -} - -std::string ModifyExecutionPlanRequest::getClusterId()const -{ - return clusterId_; -} - -void ModifyExecutionPlanRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string ModifyExecutionPlanRequest::getTimeUnit()const -{ - return timeUnit_; -} - -void ModifyExecutionPlanRequest::setTimeUnit(const std::string& timeUnit) -{ - timeUnit_ = timeUnit; - setParameter("TimeUnit", timeUnit); -} - -std::string ModifyExecutionPlanRequest::getVpcId()const -{ - return vpcId_; -} - -void ModifyExecutionPlanRequest::setVpcId(const std::string& vpcId) -{ - vpcId_ = vpcId; - setParameter("VpcId", vpcId); -} - -std::string ModifyExecutionPlanRequest::getWorkflowDefinition()const -{ - return workflowDefinition_; -} - -void ModifyExecutionPlanRequest::setWorkflowDefinition(const std::string& workflowDefinition) -{ - workflowDefinition_ = workflowDefinition; - setParameter("WorkflowDefinition", workflowDefinition); -} - -std::string ModifyExecutionPlanRequest::getDayOfWeek()const -{ - return dayOfWeek_; -} - -void ModifyExecutionPlanRequest::setDayOfWeek(const std::string& dayOfWeek) -{ - dayOfWeek_ = dayOfWeek; - setParameter("DayOfWeek", dayOfWeek); -} - -std::string ModifyExecutionPlanRequest::getStrategy()const -{ - return strategy_; -} - -void ModifyExecutionPlanRequest::setStrategy(const std::string& strategy) -{ - strategy_ = strategy; - setParameter("Strategy", strategy); -} - -std::vector ModifyExecutionPlanRequest::getConfig()const -{ - return config_; -} - -void ModifyExecutionPlanRequest::setConfig(const std::vector& config) -{ - config_ = config; - for(int dep1 = 0; dep1!= config.size(); dep1++) { - auto configObj = config.at(dep1); - std::string configObjStr = "Config." + std::to_string(dep1 + 1); - setParameter(configObjStr + ".ConfigKey", configObj.configKey); - setParameter(configObjStr + ".FileName", configObj.fileName); - setParameter(configObjStr + ".Encrypt", configObj.encrypt); - setParameter(configObjStr + ".Replace", configObj.replace); - setParameter(configObjStr + ".ConfigValue", configObj.configValue); - setParameter(configObjStr + ".ServiceName", configObj.serviceName); - } -} - -bool ModifyExecutionPlanRequest::getHighAvailabilityEnable()const -{ - return highAvailabilityEnable_; -} - -void ModifyExecutionPlanRequest::setHighAvailabilityEnable(bool highAvailabilityEnable) -{ - highAvailabilityEnable_ = highAvailabilityEnable; - setParameter("HighAvailabilityEnable", highAvailabilityEnable ? "true" : "false"); -} - -bool ModifyExecutionPlanRequest::getLogEnable()const -{ - return logEnable_; -} - -void ModifyExecutionPlanRequest::setLogEnable(bool logEnable) -{ - logEnable_ = logEnable; - setParameter("LogEnable", logEnable ? "true" : "false"); -} - diff --git a/emr/src/model/ModifyExecutionPlanResult.cc b/emr/src/model/ModifyExecutionPlanResult.cc deleted file mode 100644 index f06593e26..000000000 --- a/emr/src/model/ModifyExecutionPlanResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ModifyExecutionPlanResult::ModifyExecutionPlanResult() : - ServiceResult() -{} - -ModifyExecutionPlanResult::ModifyExecutionPlanResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyExecutionPlanResult::~ModifyExecutionPlanResult() -{} - -void ModifyExecutionPlanResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/ModifyFlowJobRequest.cc b/emr/src/model/ModifyFlowJobRequest.cc deleted file mode 100644 index 144497114..000000000 --- a/emr/src/model/ModifyFlowJobRequest.cc +++ /dev/null @@ -1,254 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyFlowJobRequest; - -ModifyFlowJobRequest::ModifyFlowJobRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyFlowJob") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyFlowJobRequest::~ModifyFlowJobRequest() -{} - -std::string ModifyFlowJobRequest::getRetryPolicy()const -{ - return retryPolicy_; -} - -void ModifyFlowJobRequest::setRetryPolicy(const std::string& retryPolicy) -{ - retryPolicy_ = retryPolicy; - setParameter("RetryPolicy", retryPolicy); -} - -std::string ModifyFlowJobRequest::getRunConf()const -{ - return runConf_; -} - -void ModifyFlowJobRequest::setRunConf(const std::string& runConf) -{ - runConf_ = runConf; - setParameter("RunConf", runConf); -} - -std::string ModifyFlowJobRequest::getDescription()const -{ - return description_; -} - -void ModifyFlowJobRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -std::string ModifyFlowJobRequest::getParamConf()const -{ - return paramConf_; -} - -void ModifyFlowJobRequest::setParamConf(const std::string& paramConf) -{ - paramConf_ = paramConf; - setParameter("ParamConf", paramConf); -} - -std::vector ModifyFlowJobRequest::getResourceList()const -{ - return resourceList_; -} - -void ModifyFlowJobRequest::setResourceList(const std::vector& resourceList) -{ - resourceList_ = resourceList; - for(int dep1 = 0; dep1!= resourceList.size(); dep1++) { - auto resourceListObj = resourceList.at(dep1); - std::string resourceListObjStr = "ResourceList." + std::to_string(dep1 + 1); - setParameter(resourceListObjStr + ".Path", resourceListObj.path); - setParameter(resourceListObjStr + ".Alias", resourceListObj.alias); - } -} - -std::string ModifyFlowJobRequest::getFailAct()const -{ - return failAct_; -} - -void ModifyFlowJobRequest::setFailAct(const std::string& failAct) -{ - failAct_ = failAct; - setParameter("FailAct", failAct); -} - -std::string ModifyFlowJobRequest::getMode()const -{ - return mode_; -} - -void ModifyFlowJobRequest::setMode(const std::string& mode) -{ - mode_ = mode; - setParameter("Mode", mode); -} - -std::string ModifyFlowJobRequest::getMonitorConf()const -{ - return monitorConf_; -} - -void ModifyFlowJobRequest::setMonitorConf(const std::string& monitorConf) -{ - monitorConf_ = monitorConf; - setParameter("MonitorConf", monitorConf); -} - -std::string ModifyFlowJobRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyFlowJobRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ModifyFlowJobRequest::getId()const -{ - return id_; -} - -void ModifyFlowJobRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - -int ModifyFlowJobRequest::getMaxRetry()const -{ - return maxRetry_; -} - -void ModifyFlowJobRequest::setMaxRetry(int maxRetry) -{ - maxRetry_ = maxRetry; - setParameter("MaxRetry", std::to_string(maxRetry)); -} - -std::string ModifyFlowJobRequest::getAlertConf()const -{ - return alertConf_; -} - -void ModifyFlowJobRequest::setAlertConf(const std::string& alertConf) -{ - alertConf_ = alertConf; - setParameter("AlertConf", alertConf); -} - -std::string ModifyFlowJobRequest::getProjectId()const -{ - return projectId_; -} - -void ModifyFlowJobRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", projectId); -} - -std::string ModifyFlowJobRequest::getEnvConf()const -{ - return envConf_; -} - -void ModifyFlowJobRequest::setEnvConf(const std::string& envConf) -{ - envConf_ = envConf; - setParameter("EnvConf", envConf); -} - -long ModifyFlowJobRequest::getMaxRunningTimeSec()const -{ - return maxRunningTimeSec_; -} - -void ModifyFlowJobRequest::setMaxRunningTimeSec(long maxRunningTimeSec) -{ - maxRunningTimeSec_ = maxRunningTimeSec; - setParameter("MaxRunningTimeSec", std::to_string(maxRunningTimeSec)); -} - -std::string ModifyFlowJobRequest::getClusterId()const -{ - return clusterId_; -} - -void ModifyFlowJobRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string ModifyFlowJobRequest::getParams()const -{ - return params_; -} - -void ModifyFlowJobRequest::setParams(const std::string& params) -{ - params_ = params; - setParameter("Params", params); -} - -std::string ModifyFlowJobRequest::getCustomVariables()const -{ - return customVariables_; -} - -void ModifyFlowJobRequest::setCustomVariables(const std::string& customVariables) -{ - customVariables_ = customVariables; - setParameter("CustomVariables", customVariables); -} - -long ModifyFlowJobRequest::getRetryInterval()const -{ - return retryInterval_; -} - -void ModifyFlowJobRequest::setRetryInterval(long retryInterval) -{ - retryInterval_ = retryInterval; - setParameter("RetryInterval", std::to_string(retryInterval)); -} - -std::string ModifyFlowJobRequest::getName()const -{ - return name_; -} - -void ModifyFlowJobRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - diff --git a/emr/src/model/ModifyFlowJobResult.cc b/emr/src/model/ModifyFlowJobResult.cc deleted file mode 100644 index ba70862bb..000000000 --- a/emr/src/model/ModifyFlowJobResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ModifyFlowJobResult::ModifyFlowJobResult() : - ServiceResult() -{} - -ModifyFlowJobResult::ModifyFlowJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyFlowJobResult::~ModifyFlowJobResult() -{} - -void ModifyFlowJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool ModifyFlowJobResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/ModifyFlowRequest.cc b/emr/src/model/ModifyFlowRequest.cc deleted file mode 100644 index 9e5aee824..000000000 --- a/emr/src/model/ModifyFlowRequest.cc +++ /dev/null @@ -1,271 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyFlowRequest; - -ModifyFlowRequest::ModifyFlowRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyFlow") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyFlowRequest::~ModifyFlowRequest() -{} - -std::string ModifyFlowRequest::getCronExpr()const -{ - return cronExpr_; -} - -void ModifyFlowRequest::setCronExpr(const std::string& cronExpr) -{ - cronExpr_ = cronExpr; - setParameter("CronExpr", cronExpr); -} - -bool ModifyFlowRequest::getPeriodic()const -{ - return periodic_; -} - -void ModifyFlowRequest::setPeriodic(bool periodic) -{ - periodic_ = periodic; - setParameter("Periodic", periodic ? "true" : "false"); -} - -std::string ModifyFlowRequest::getDescription()const -{ - return description_; -} - -void ModifyFlowRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -std::string ModifyFlowRequest::getAlertUserGroupBizId()const -{ - return alertUserGroupBizId_; -} - -void ModifyFlowRequest::setAlertUserGroupBizId(const std::string& alertUserGroupBizId) -{ - alertUserGroupBizId_ = alertUserGroupBizId; - setParameter("AlertUserGroupBizId", alertUserGroupBizId); -} - -std::string ModifyFlowRequest::getLifecycle()const -{ - return lifecycle_; -} - -void ModifyFlowRequest::setLifecycle(const std::string& lifecycle) -{ - lifecycle_ = lifecycle; - setParameter("Lifecycle", lifecycle); -} - -std::string ModifyFlowRequest::getHostName()const -{ - return hostName_; -} - -void ModifyFlowRequest::setHostName(const std::string& hostName) -{ - hostName_ = hostName; - setParameter("HostName", hostName); -} - -std::string ModifyFlowRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyFlowRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -bool ModifyFlowRequest::getCreateCluster()const -{ - return createCluster_; -} - -void ModifyFlowRequest::setCreateCluster(bool createCluster) -{ - createCluster_ = createCluster; - setParameter("CreateCluster", createCluster ? "true" : "false"); -} - -long ModifyFlowRequest::getEndSchedule()const -{ - return endSchedule_; -} - -void ModifyFlowRequest::setEndSchedule(long endSchedule) -{ - endSchedule_ = endSchedule; - setParameter("EndSchedule", std::to_string(endSchedule)); -} - -std::string ModifyFlowRequest::getId()const -{ - return id_; -} - -void ModifyFlowRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - -std::string ModifyFlowRequest::getAlertConf()const -{ - return alertConf_; -} - -void ModifyFlowRequest::setAlertConf(const std::string& alertConf) -{ - alertConf_ = alertConf; - setParameter("AlertConf", alertConf); -} - -std::string ModifyFlowRequest::getProjectId()const -{ - return projectId_; -} - -void ModifyFlowRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", projectId); -} - -std::string ModifyFlowRequest::getParentFlowList()const -{ - return parentFlowList_; -} - -void ModifyFlowRequest::setParentFlowList(const std::string& parentFlowList) -{ - parentFlowList_ = parentFlowList; - setParameter("ParentFlowList", parentFlowList); -} - -std::string ModifyFlowRequest::getLogArchiveLocation()const -{ - return logArchiveLocation_; -} - -void ModifyFlowRequest::setLogArchiveLocation(const std::string& logArchiveLocation) -{ - logArchiveLocation_ = logArchiveLocation; - setParameter("LogArchiveLocation", logArchiveLocation); -} - -std::string ModifyFlowRequest::getAlertDingDingGroupBizId()const -{ - return alertDingDingGroupBizId_; -} - -void ModifyFlowRequest::setAlertDingDingGroupBizId(const std::string& alertDingDingGroupBizId) -{ - alertDingDingGroupBizId_ = alertDingDingGroupBizId; - setParameter("AlertDingDingGroupBizId", alertDingDingGroupBizId); -} - -long ModifyFlowRequest::getStartSchedule()const -{ - return startSchedule_; -} - -void ModifyFlowRequest::setStartSchedule(long startSchedule) -{ - startSchedule_ = startSchedule; - setParameter("StartSchedule", std::to_string(startSchedule)); -} - -std::string ModifyFlowRequest::getClusterId()const -{ - return clusterId_; -} - -void ModifyFlowRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string ModifyFlowRequest::getApplication()const -{ - return application_; -} - -void ModifyFlowRequest::setApplication(const std::string& application) -{ - application_ = application; - setParameter("Application", application); -} - -std::string ModifyFlowRequest::getName()const -{ - return name_; -} - -void ModifyFlowRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string ModifyFlowRequest::get_Namespace()const -{ - return _namespace_; -} - -void ModifyFlowRequest::set_Namespace(const std::string& _namespace) -{ - _namespace_ = _namespace; - setParameter("_Namespace", _namespace); -} - -std::string ModifyFlowRequest::getStatus()const -{ - return status_; -} - -void ModifyFlowRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - -std::string ModifyFlowRequest::getParentCategory()const -{ - return parentCategory_; -} - -void ModifyFlowRequest::setParentCategory(const std::string& parentCategory) -{ - parentCategory_ = parentCategory; - setParameter("ParentCategory", parentCategory); -} - diff --git a/emr/src/model/ModifyFlowResult.cc b/emr/src/model/ModifyFlowResult.cc deleted file mode 100644 index 6a95dc136..000000000 --- a/emr/src/model/ModifyFlowResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ModifyFlowResult::ModifyFlowResult() : - ServiceResult() -{} - -ModifyFlowResult::ModifyFlowResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyFlowResult::~ModifyFlowResult() -{} - -void ModifyFlowResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool ModifyFlowResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/ModifyJobRequest.cc b/emr/src/model/ModifyJobRequest.cc deleted file mode 100644 index 05da4aceb..000000000 --- a/emr/src/model/ModifyJobRequest.cc +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyJobRequest; - -ModifyJobRequest::ModifyJobRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyJob") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyJobRequest::~ModifyJobRequest() -{} - -long ModifyJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyJobRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyJobRequest::getType()const -{ - return type_; -} - -void ModifyJobRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - -std::string ModifyJobRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ModifyJobRequest::getFailAct()const -{ - return failAct_; -} - -void ModifyJobRequest::setFailAct(const std::string& failAct) -{ - failAct_ = failAct; - setParameter("FailAct", failAct); -} - -std::string ModifyJobRequest::getRunParameter()const -{ - return runParameter_; -} - -void ModifyJobRequest::setRunParameter(const std::string& runParameter) -{ - runParameter_ = runParameter; - setParameter("RunParameter", runParameter); -} - -int ModifyJobRequest::getRetryInterval()const -{ - return retryInterval_; -} - -void ModifyJobRequest::setRetryInterval(int retryInterval) -{ - retryInterval_ = retryInterval; - setParameter("RetryInterval", std::to_string(retryInterval)); -} - -std::string ModifyJobRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void ModifyJobRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string ModifyJobRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyJobRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ModifyJobRequest::getName()const -{ - return name_; -} - -void ModifyJobRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string ModifyJobRequest::getId()const -{ - return id_; -} - -void ModifyJobRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - -int ModifyJobRequest::getMaxRetry()const -{ - return maxRetry_; -} - -void ModifyJobRequest::setMaxRetry(int maxRetry) -{ - maxRetry_ = maxRetry; - setParameter("MaxRetry", std::to_string(maxRetry)); -} - diff --git a/emr/src/model/ModifyJobResult.cc b/emr/src/model/ModifyJobResult.cc deleted file mode 100644 index f729793e7..000000000 --- a/emr/src/model/ModifyJobResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ModifyJobResult::ModifyJobResult() : - ServiceResult() -{} - -ModifyJobResult::ModifyJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyJobResult::~ModifyJobResult() -{} - -void ModifyJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/ModifyScalingRuleRequest.cc b/emr/src/model/ModifyScalingRuleRequest.cc deleted file mode 100644 index 216d43535..000000000 --- a/emr/src/model/ModifyScalingRuleRequest.cc +++ /dev/null @@ -1,255 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyScalingRuleRequest; - -ModifyScalingRuleRequest::ModifyScalingRuleRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyScalingRule") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyScalingRuleRequest::~ModifyScalingRuleRequest() -{} - -long ModifyScalingRuleRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyScalingRuleRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyScalingRuleRequest::getRuleName()const -{ - return ruleName_; -} - -void ModifyScalingRuleRequest::setRuleName(const std::string& ruleName) -{ - ruleName_ = ruleName; - setParameter("RuleName", ruleName); -} - -std::string ModifyScalingRuleRequest::getScalingRuleId()const -{ - return scalingRuleId_; -} - -void ModifyScalingRuleRequest::setScalingRuleId(const std::string& scalingRuleId) -{ - scalingRuleId_ = scalingRuleId; - setParameter("ScalingRuleId", scalingRuleId); -} - -std::string ModifyScalingRuleRequest::getRecurrenceEndTime()const -{ - return recurrenceEndTime_; -} - -void ModifyScalingRuleRequest::setRecurrenceEndTime(const std::string& recurrenceEndTime) -{ - recurrenceEndTime_ = recurrenceEndTime; - setParameter("RecurrenceEndTime", recurrenceEndTime); -} - -std::vector ModifyScalingRuleRequest::getCloudWatchTrigger()const -{ - return cloudWatchTrigger_; -} - -void ModifyScalingRuleRequest::setCloudWatchTrigger(const std::vector& cloudWatchTrigger) -{ - cloudWatchTrigger_ = cloudWatchTrigger; - for(int dep1 = 0; dep1!= cloudWatchTrigger.size(); dep1++) { - auto cloudWatchTriggerObj = cloudWatchTrigger.at(dep1); - std::string cloudWatchTriggerObjStr = "CloudWatchTrigger." + std::to_string(dep1 + 1); - setParameter(cloudWatchTriggerObjStr + ".Period", std::to_string(cloudWatchTriggerObj.period)); - setParameter(cloudWatchTriggerObjStr + ".EvaluationCount", cloudWatchTriggerObj.evaluationCount); - setParameter(cloudWatchTriggerObjStr + ".Threshold", cloudWatchTriggerObj.threshold); - setParameter(cloudWatchTriggerObjStr + ".MetricName", cloudWatchTriggerObj.metricName); - setParameter(cloudWatchTriggerObjStr + ".ComparisonOperator", cloudWatchTriggerObj.comparisonOperator); - setParameter(cloudWatchTriggerObjStr + ".Statistics", cloudWatchTriggerObj.statistics); - } -} - -std::string ModifyScalingRuleRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyScalingRuleRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -long ModifyScalingRuleRequest::getTimeoutWithGrace()const -{ - return timeoutWithGrace_; -} - -void ModifyScalingRuleRequest::setTimeoutWithGrace(long timeoutWithGrace) -{ - timeoutWithGrace_ = timeoutWithGrace; - setParameter("TimeoutWithGrace", std::to_string(timeoutWithGrace)); -} - -std::string ModifyScalingRuleRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyScalingRuleRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ModifyScalingRuleRequest::getCooldown()const -{ - return cooldown_; -} - -void ModifyScalingRuleRequest::setCooldown(int cooldown) -{ - cooldown_ = cooldown; - setParameter("Cooldown", std::to_string(cooldown)); -} - -std::string ModifyScalingRuleRequest::getLaunchTime()const -{ - return launchTime_; -} - -void ModifyScalingRuleRequest::setLaunchTime(const std::string& launchTime) -{ - launchTime_ = launchTime; - setParameter("LaunchTime", launchTime); -} - -bool ModifyScalingRuleRequest::getWithGrace()const -{ - return withGrace_; -} - -void ModifyScalingRuleRequest::setWithGrace(bool withGrace) -{ - withGrace_ = withGrace; - setParameter("WithGrace", withGrace ? "true" : "false"); -} - -int ModifyScalingRuleRequest::getAdjustmentValue()const -{ - return adjustmentValue_; -} - -void ModifyScalingRuleRequest::setAdjustmentValue(int adjustmentValue) -{ - adjustmentValue_ = adjustmentValue; - setParameter("AdjustmentValue", std::to_string(adjustmentValue)); -} - -std::string ModifyScalingRuleRequest::getAdjustmentType()const -{ - return adjustmentType_; -} - -void ModifyScalingRuleRequest::setAdjustmentType(const std::string& adjustmentType) -{ - adjustmentType_ = adjustmentType; - setParameter("AdjustmentType", adjustmentType); -} - -std::string ModifyScalingRuleRequest::getClusterId()const -{ - return clusterId_; -} - -void ModifyScalingRuleRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -int ModifyScalingRuleRequest::getLaunchExpirationTime()const -{ - return launchExpirationTime_; -} - -void ModifyScalingRuleRequest::setLaunchExpirationTime(int launchExpirationTime) -{ - launchExpirationTime_ = launchExpirationTime; - setParameter("LaunchExpirationTime", std::to_string(launchExpirationTime)); -} - -std::string ModifyScalingRuleRequest::getRecurrenceValue()const -{ - return recurrenceValue_; -} - -void ModifyScalingRuleRequest::setRecurrenceValue(const std::string& recurrenceValue) -{ - recurrenceValue_ = recurrenceValue; - setParameter("RecurrenceValue", recurrenceValue); -} - -std::string ModifyScalingRuleRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void ModifyScalingRuleRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setParameter("HostGroupId", hostGroupId); -} - -std::vector ModifyScalingRuleRequest::getSchedulerTrigger()const -{ - return schedulerTrigger_; -} - -void ModifyScalingRuleRequest::setSchedulerTrigger(const std::vector& schedulerTrigger) -{ - schedulerTrigger_ = schedulerTrigger; - for(int dep1 = 0; dep1!= schedulerTrigger.size(); dep1++) { - auto schedulerTriggerObj = schedulerTrigger.at(dep1); - std::string schedulerTriggerObjStr = "SchedulerTrigger." + std::to_string(dep1 + 1); - setParameter(schedulerTriggerObjStr + ".LaunchTime", schedulerTriggerObj.launchTime); - setParameter(schedulerTriggerObjStr + ".LaunchExpirationTime", std::to_string(schedulerTriggerObj.launchExpirationTime)); - setParameter(schedulerTriggerObjStr + ".RecurrenceValue", schedulerTriggerObj.recurrenceValue); - setParameter(schedulerTriggerObjStr + ".RecurrenceEndTime", schedulerTriggerObj.recurrenceEndTime); - setParameter(schedulerTriggerObjStr + ".RecurrenceType", schedulerTriggerObj.recurrenceType); - } -} - -std::string ModifyScalingRuleRequest::getRecurrenceType()const -{ - return recurrenceType_; -} - -void ModifyScalingRuleRequest::setRecurrenceType(const std::string& recurrenceType) -{ - recurrenceType_ = recurrenceType; - setParameter("RecurrenceType", recurrenceType); -} - diff --git a/emr/src/model/ModifyScalingRuleResult.cc b/emr/src/model/ModifyScalingRuleResult.cc deleted file mode 100644 index d38fd0f97..000000000 --- a/emr/src/model/ModifyScalingRuleResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ModifyScalingRuleResult::ModifyScalingRuleResult() : - ServiceResult() -{} - -ModifyScalingRuleResult::ModifyScalingRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyScalingRuleResult::~ModifyScalingRuleResult() -{} - -void ModifyScalingRuleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ScalingRuleId"].isNull()) - scalingRuleId_ = value["ScalingRuleId"].asString(); - -} - -std::string ModifyScalingRuleResult::getScalingRuleId()const -{ - return scalingRuleId_; -} - diff --git a/emr/src/model/ModifyScalingTaskGroupRequest.cc b/emr/src/model/ModifyScalingTaskGroupRequest.cc deleted file mode 100644 index e0a7a69df..000000000 --- a/emr/src/model/ModifyScalingTaskGroupRequest.cc +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyScalingTaskGroupRequest; - -ModifyScalingTaskGroupRequest::ModifyScalingTaskGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyScalingTaskGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyScalingTaskGroupRequest::~ModifyScalingTaskGroupRequest() -{} - -long ModifyScalingTaskGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyScalingTaskGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -bool ModifyScalingTaskGroupRequest::getWithGrace()const -{ - return withGrace_; -} - -void ModifyScalingTaskGroupRequest::setWithGrace(bool withGrace) -{ - withGrace_ = withGrace; - setParameter("WithGrace", withGrace ? "true" : "false"); -} - -std::string ModifyScalingTaskGroupRequest::getClusterId()const -{ - return clusterId_; -} - -void ModifyScalingTaskGroupRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -int ModifyScalingTaskGroupRequest::getMinSize()const -{ - return minSize_; -} - -void ModifyScalingTaskGroupRequest::setMinSize(int minSize) -{ - minSize_ = minSize; - setParameter("MinSize", std::to_string(minSize)); -} - -std::string ModifyScalingTaskGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyScalingTaskGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -long ModifyScalingTaskGroupRequest::getTimeoutWithGrace()const -{ - return timeoutWithGrace_; -} - -void ModifyScalingTaskGroupRequest::setTimeoutWithGrace(long timeoutWithGrace) -{ - timeoutWithGrace_ = timeoutWithGrace; - setParameter("TimeoutWithGrace", std::to_string(timeoutWithGrace)); -} - -std::string ModifyScalingTaskGroupRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyScalingTaskGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ModifyScalingTaskGroupRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void ModifyScalingTaskGroupRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setParameter("HostGroupId", hostGroupId); -} - -std::string ModifyScalingTaskGroupRequest::getActiveRuleCategory()const -{ - return activeRuleCategory_; -} - -void ModifyScalingTaskGroupRequest::setActiveRuleCategory(const std::string& activeRuleCategory) -{ - activeRuleCategory_ = activeRuleCategory; - setParameter("ActiveRuleCategory", activeRuleCategory); -} - -int ModifyScalingTaskGroupRequest::getMaxSize()const -{ - return maxSize_; -} - -void ModifyScalingTaskGroupRequest::setMaxSize(int maxSize) -{ - maxSize_ = maxSize; - setParameter("MaxSize", std::to_string(maxSize)); -} - -int ModifyScalingTaskGroupRequest::getDefaultCooldown()const -{ - return defaultCooldown_; -} - -void ModifyScalingTaskGroupRequest::setDefaultCooldown(int defaultCooldown) -{ - defaultCooldown_ = defaultCooldown; - setParameter("DefaultCooldown", std::to_string(defaultCooldown)); -} - diff --git a/emr/src/model/ModifyScalingTaskGroupResult.cc b/emr/src/model/ModifyScalingTaskGroupResult.cc deleted file mode 100644 index afccf6c7c..000000000 --- a/emr/src/model/ModifyScalingTaskGroupResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ModifyScalingTaskGroupResult::ModifyScalingTaskGroupResult() : - ServiceResult() -{} - -ModifyScalingTaskGroupResult::ModifyScalingTaskGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyScalingTaskGroupResult::~ModifyScalingTaskGroupResult() -{} - -void ModifyScalingTaskGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["HostGroupId"].isNull()) - hostGroupId_ = value["HostGroupId"].asString(); - -} - -std::string ModifyScalingTaskGroupResult::getHostGroupId()const -{ - return hostGroupId_; -} - diff --git a/emr/src/model/QueryEntityRequest.cc b/emr/src/model/QueryEntityRequest.cc deleted file mode 100644 index 1c4e6d315..000000000 --- a/emr/src/model/QueryEntityRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::QueryEntityRequest; - -QueryEntityRequest::QueryEntityRequest() : - RpcServiceRequest("emr", "2016-04-08", "QueryEntity") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryEntityRequest::~QueryEntityRequest() -{} - -long QueryEntityRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void QueryEntityRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string QueryEntityRequest::getDescription()const -{ - return description_; -} - -void QueryEntityRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -std::string QueryEntityRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void QueryEntityRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string QueryEntityRequest::getRegionId()const -{ - return regionId_; -} - -void QueryEntityRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string QueryEntityRequest::getName()const -{ - return name_; -} - -void QueryEntityRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -long QueryEntityRequest::getId()const -{ - return id_; -} - -void QueryEntityRequest::setId(long id) -{ - id_ = id; - setParameter("Id", std::to_string(id)); -} - -std::string QueryEntityRequest::getCategory()const -{ - return category_; -} - -void QueryEntityRequest::setCategory(const std::string& category) -{ - category_ = category; - setParameter("Category", category); -} - diff --git a/emr/src/model/QueryEntityResult.cc b/emr/src/model/QueryEntityResult.cc deleted file mode 100644 index 77ebb485e..000000000 --- a/emr/src/model/QueryEntityResult.cc +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -QueryEntityResult::QueryEntityResult() : - ServiceResult() -{} - -QueryEntityResult::QueryEntityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryEntityResult::~QueryEntityResult() -{} - -void QueryEntityResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allItemsNode = value["Items"]["Item"]; - for (auto valueItemsItem : allItemsNode) - { - Item itemsObject; - if(!valueItemsItem["TagId"].isNull()) - itemsObject.tagId = std::stol(valueItemsItem["TagId"].asString()); - if(!valueItemsItem["EntityType"].isNull()) - itemsObject.entityType = valueItemsItem["EntityType"].asString(); - if(!valueItemsItem["EntityId"].isNull()) - itemsObject.entityId = valueItemsItem["EntityId"].asString(); - items_.push_back(itemsObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int QueryEntityResult::getTotalCount()const -{ - return totalCount_; -} - -int QueryEntityResult::getPageSize()const -{ - return pageSize_; -} - -int QueryEntityResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector QueryEntityResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/QueryTagRequest.cc b/emr/src/model/QueryTagRequest.cc deleted file mode 100644 index df7e0036f..000000000 --- a/emr/src/model/QueryTagRequest.cc +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::QueryTagRequest; - -QueryTagRequest::QueryTagRequest() : - RpcServiceRequest("emr", "2016-04-08", "QueryTag") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryTagRequest::~QueryTagRequest() -{} - -long QueryTagRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void QueryTagRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -long QueryTagRequest::getTagId()const -{ - return tagId_; -} - -void QueryTagRequest::setTagId(long tagId) -{ - tagId_ = tagId; - setParameter("TagId", std::to_string(tagId)); -} - -std::string QueryTagRequest::getEntityId()const -{ - return entityId_; -} - -void QueryTagRequest::setEntityId(const std::string& entityId) -{ - entityId_ = entityId; - setParameter("EntityId", entityId); -} - -std::string QueryTagRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void QueryTagRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string QueryTagRequest::getEntityType()const -{ - return entityType_; -} - -void QueryTagRequest::setEntityType(const std::string& entityType) -{ - entityType_ = entityType; - setParameter("EntityType", entityType); -} - -std::string QueryTagRequest::getRegionId()const -{ - return regionId_; -} - -void QueryTagRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/QueryTagResult.cc b/emr/src/model/QueryTagResult.cc deleted file mode 100644 index 3f2a96361..000000000 --- a/emr/src/model/QueryTagResult.cc +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -QueryTagResult::QueryTagResult() : - ServiceResult() -{} - -QueryTagResult::QueryTagResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryTagResult::~QueryTagResult() -{} - -void QueryTagResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allItemsNode = value["Items"]["Item"]; - for (auto valueItemsItem : allItemsNode) - { - Item itemsObject; - if(!valueItemsItem["Name"].isNull()) - itemsObject.name = valueItemsItem["Name"].asString(); - if(!valueItemsItem["Category"].isNull()) - itemsObject.category = valueItemsItem["Category"].asString(); - if(!valueItemsItem["Description"].isNull()) - itemsObject.description = valueItemsItem["Description"].asString(); - items_.push_back(itemsObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int QueryTagResult::getTotalCount()const -{ - return totalCount_; -} - -int QueryTagResult::getPageSize()const -{ - return pageSize_; -} - -int QueryTagResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector QueryTagResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/ResumeExecutionPlanSchedulerRequest.cc b/emr/src/model/ResumeExecutionPlanSchedulerRequest.cc deleted file mode 100644 index 9573951f2..000000000 --- a/emr/src/model/ResumeExecutionPlanSchedulerRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ResumeExecutionPlanSchedulerRequest; - -ResumeExecutionPlanSchedulerRequest::ResumeExecutionPlanSchedulerRequest() : - RpcServiceRequest("emr", "2016-04-08", "ResumeExecutionPlanScheduler") -{ - setMethod(HttpRequest::Method::Post); -} - -ResumeExecutionPlanSchedulerRequest::~ResumeExecutionPlanSchedulerRequest() -{} - -long ResumeExecutionPlanSchedulerRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ResumeExecutionPlanSchedulerRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ResumeExecutionPlanSchedulerRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ResumeExecutionPlanSchedulerRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ResumeExecutionPlanSchedulerRequest::getRegionId()const -{ - return regionId_; -} - -void ResumeExecutionPlanSchedulerRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string ResumeExecutionPlanSchedulerRequest::getId()const -{ - return id_; -} - -void ResumeExecutionPlanSchedulerRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - diff --git a/emr/src/model/ResumeExecutionPlanSchedulerResult.cc b/emr/src/model/ResumeExecutionPlanSchedulerResult.cc deleted file mode 100644 index dd82a5e2f..000000000 --- a/emr/src/model/ResumeExecutionPlanSchedulerResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ResumeExecutionPlanSchedulerResult::ResumeExecutionPlanSchedulerResult() : - ServiceResult() -{} - -ResumeExecutionPlanSchedulerResult::ResumeExecutionPlanSchedulerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ResumeExecutionPlanSchedulerResult::~ResumeExecutionPlanSchedulerResult() -{} - -void ResumeExecutionPlanSchedulerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/RetryOperationRequest.cc b/emr/src/model/RetryOperationRequest.cc deleted file mode 100644 index 61660f44c..000000000 --- a/emr/src/model/RetryOperationRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RetryOperationRequest; - -RetryOperationRequest::RetryOperationRequest() : - RpcServiceRequest("emr", "2016-04-08", "RetryOperation") -{ - setMethod(HttpRequest::Method::Post); -} - -RetryOperationRequest::~RetryOperationRequest() -{} - -long RetryOperationRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RetryOperationRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RetryOperationRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RetryOperationRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string RetryOperationRequest::getRegionId()const -{ - return regionId_; -} - -void RetryOperationRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string RetryOperationRequest::getOperationId()const -{ - return operationId_; -} - -void RetryOperationRequest::setOperationId(const std::string& operationId) -{ - operationId_ = operationId; - setParameter("OperationId", operationId); -} - diff --git a/emr/src/model/RetryOperationResult.cc b/emr/src/model/RetryOperationResult.cc deleted file mode 100644 index 4d490eba8..000000000 --- a/emr/src/model/RetryOperationResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -RetryOperationResult::RetryOperationResult() : - ServiceResult() -{} - -RetryOperationResult::RetryOperationResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RetryOperationResult::~RetryOperationResult() -{} - -void RetryOperationResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString(); - if(!value["ErrCode"].isNull()) - errCode_ = value["ErrCode"].asString(); - if(!value["ErrMsg"].isNull()) - errMsg_ = value["ErrMsg"].asString(); - -} - -std::string RetryOperationResult::getErrMsg()const -{ - return errMsg_; -} - -std::string RetryOperationResult::getSuccess()const -{ - return success_; -} - -std::string RetryOperationResult::getErrCode()const -{ - return errCode_; -} - diff --git a/emr/src/model/RunDiskOpsActivityRequest.cc b/emr/src/model/RunDiskOpsActivityRequest.cc deleted file mode 100644 index 780c99526..000000000 --- a/emr/src/model/RunDiskOpsActivityRequest.cc +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RunDiskOpsActivityRequest; - -RunDiskOpsActivityRequest::RunDiskOpsActivityRequest() : - RpcServiceRequest("emr", "2016-04-08", "RunDiskOpsActivity") -{ - setMethod(HttpRequest::Method::Post); -} - -RunDiskOpsActivityRequest::~RunDiskOpsActivityRequest() -{} - -std::string RunDiskOpsActivityRequest::getEventId()const -{ - return eventId_; -} - -void RunDiskOpsActivityRequest::setEventId(const std::string& eventId) -{ - eventId_ = eventId; - setParameter("EventId", eventId); -} - -long RunDiskOpsActivityRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RunDiskOpsActivityRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RunDiskOpsActivityRequest::getCurrentStage()const -{ - return currentStage_; -} - -void RunDiskOpsActivityRequest::setCurrentStage(const std::string& currentStage) -{ - currentStage_ = currentStage; - setParameter("CurrentStage", currentStage); -} - -std::string RunDiskOpsActivityRequest::getClusterId()const -{ - return clusterId_; -} - -void RunDiskOpsActivityRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string RunDiskOpsActivityRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RunDiskOpsActivityRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string RunDiskOpsActivityRequest::getInstanceId()const -{ - return instanceId_; -} - -void RunDiskOpsActivityRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string RunDiskOpsActivityRequest::getRegionId()const -{ - return regionId_; -} - -void RunDiskOpsActivityRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string RunDiskOpsActivityRequest::getDiskId()const -{ - return diskId_; -} - -void RunDiskOpsActivityRequest::setDiskId(const std::string& diskId) -{ - diskId_ = diskId; - setParameter("DiskId", diskId); -} - -std::string RunDiskOpsActivityRequest::getCurrentState()const -{ - return currentState_; -} - -void RunDiskOpsActivityRequest::setCurrentState(const std::string& currentState) -{ - currentState_ = currentState; - setParameter("CurrentState", currentState); -} - diff --git a/emr/src/model/RunDiskOpsActivityResult.cc b/emr/src/model/RunDiskOpsActivityResult.cc deleted file mode 100644 index a5d2b3212..000000000 --- a/emr/src/model/RunDiskOpsActivityResult.cc +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -RunDiskOpsActivityResult::RunDiskOpsActivityResult() : - ServiceResult() -{} - -RunDiskOpsActivityResult::RunDiskOpsActivityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RunDiskOpsActivityResult::~RunDiskOpsActivityResult() -{} - -void RunDiskOpsActivityResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ClusterType"].isNull()) - clusterType_ = value["ClusterType"].asString(); - if(!value["CurrentActivity"].isNull()) - currentActivity_ = value["CurrentActivity"].asString(); - if(!value["ActivityState"].isNull()) - activityState_ = value["ActivityState"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); - if(!value["NeedReboot"].isNull()) - needReboot_ = value["NeedReboot"].asString() == "true"; - -} - -std::string RunDiskOpsActivityResult::getActivityState()const -{ - return activityState_; -} - -std::string RunDiskOpsActivityResult::getCurrentActivity()const -{ - return currentActivity_; -} - -std::string RunDiskOpsActivityResult::getClusterType()const -{ - return clusterType_; -} - -bool RunDiskOpsActivityResult::getNeedReboot()const -{ - return needReboot_; -} - -std::string RunDiskOpsActivityResult::getErrorMessage()const -{ - return errorMessage_; -} - diff --git a/emr/src/model/RunExecutionPlanRequest.cc b/emr/src/model/RunExecutionPlanRequest.cc deleted file mode 100644 index 08debbc25..000000000 --- a/emr/src/model/RunExecutionPlanRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RunExecutionPlanRequest; - -RunExecutionPlanRequest::RunExecutionPlanRequest() : - RpcServiceRequest("emr", "2016-04-08", "RunExecutionPlan") -{ - setMethod(HttpRequest::Method::Post); -} - -RunExecutionPlanRequest::~RunExecutionPlanRequest() -{} - -long RunExecutionPlanRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RunExecutionPlanRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RunExecutionPlanRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RunExecutionPlanRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string RunExecutionPlanRequest::getRegionId()const -{ - return regionId_; -} - -void RunExecutionPlanRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string RunExecutionPlanRequest::getArguments()const -{ - return arguments_; -} - -void RunExecutionPlanRequest::setArguments(const std::string& arguments) -{ - arguments_ = arguments; - setParameter("Arguments", arguments); -} - -std::string RunExecutionPlanRequest::getId()const -{ - return id_; -} - -void RunExecutionPlanRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - diff --git a/emr/src/model/RunExecutionPlanResult.cc b/emr/src/model/RunExecutionPlanResult.cc deleted file mode 100644 index 18e427fb1..000000000 --- a/emr/src/model/RunExecutionPlanResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -RunExecutionPlanResult::RunExecutionPlanResult() : - ServiceResult() -{} - -RunExecutionPlanResult::RunExecutionPlanResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RunExecutionPlanResult::~RunExecutionPlanResult() -{} - -void RunExecutionPlanResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ExecutionPlanInstanceId"].isNull()) - executionPlanInstanceId_ = value["ExecutionPlanInstanceId"].asString(); - -} - -std::string RunExecutionPlanResult::getExecutionPlanInstanceId()const -{ - return executionPlanInstanceId_; -} - diff --git a/emr/src/model/SearchLogRequest.cc b/emr/src/model/SearchLogRequest.cc deleted file mode 100644 index c2e257727..000000000 --- a/emr/src/model/SearchLogRequest.cc +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::SearchLogRequest; - -SearchLogRequest::SearchLogRequest() : - RpcServiceRequest("emr", "2016-04-08", "SearchLog") -{ - setMethod(HttpRequest::Method::Post); -} - -SearchLogRequest::~SearchLogRequest() -{} - -long SearchLogRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void SearchLogRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int SearchLogRequest::getLine()const -{ - return line_; -} - -void SearchLogRequest::setLine(int line) -{ - line_ = line; - setParameter("Line", std::to_string(line)); -} - -std::string SearchLogRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void SearchLogRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string SearchLogRequest::getHostName()const -{ - return hostName_; -} - -void SearchLogRequest::setHostName(const std::string& hostName) -{ - hostName_ = hostName; - setParameter("HostName", hostName); -} - -std::string SearchLogRequest::getRegionId()const -{ - return regionId_; -} - -void SearchLogRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string SearchLogRequest::getLogstoreName()const -{ - return logstoreName_; -} - -void SearchLogRequest::setLogstoreName(const std::string& logstoreName) -{ - logstoreName_ = logstoreName; - setParameter("LogstoreName", logstoreName); -} - -int SearchLogRequest::getFromTimestamp()const -{ - return fromTimestamp_; -} - -void SearchLogRequest::setFromTimestamp(int fromTimestamp) -{ - fromTimestamp_ = fromTimestamp; - setParameter("FromTimestamp", std::to_string(fromTimestamp)); -} - -int SearchLogRequest::getOffset()const -{ - return offset_; -} - -void SearchLogRequest::setOffset(int offset) -{ - offset_ = offset; - setParameter("Offset", std::to_string(offset)); -} - -std::string SearchLogRequest::getClusterId()const -{ - return clusterId_; -} - -void SearchLogRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -bool SearchLogRequest::getReverse()const -{ - return reverse_; -} - -void SearchLogRequest::setReverse(bool reverse) -{ - reverse_ = reverse; - setParameter("Reverse", reverse ? "true" : "false"); -} - -std::string SearchLogRequest::getHostInnerIp()const -{ - return hostInnerIp_; -} - -void SearchLogRequest::setHostInnerIp(const std::string& hostInnerIp) -{ - hostInnerIp_ = hostInnerIp; - setParameter("HostInnerIp", hostInnerIp); -} - -int SearchLogRequest::getToTimestamp()const -{ - return toTimestamp_; -} - -void SearchLogRequest::setToTimestamp(int toTimestamp) -{ - toTimestamp_ = toTimestamp; - setParameter("ToTimestamp", std::to_string(toTimestamp)); -} - -std::string SearchLogRequest::getSlsQueryString()const -{ - return slsQueryString_; -} - -void SearchLogRequest::setSlsQueryString(const std::string& slsQueryString) -{ - slsQueryString_ = slsQueryString; - setParameter("SlsQueryString", slsQueryString); -} - diff --git a/emr/src/model/SearchLogResult.cc b/emr/src/model/SearchLogResult.cc deleted file mode 100644 index 92801185c..000000000 --- a/emr/src/model/SearchLogResult.cc +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -SearchLogResult::SearchLogResult() : - ServiceResult() -{} - -SearchLogResult::SearchLogResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SearchLogResult::~SearchLogResult() -{} - -void SearchLogResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allSlsLogItemListNode = value["SlsLogItemList"]["SlsLogItem"]; - for (auto valueSlsLogItemListSlsLogItem : allSlsLogItemListNode) - { - SlsLogItem slsLogItemListObject; - if(!valueSlsLogItemListSlsLogItem["Timestamp"].isNull()) - slsLogItemListObject.timestamp = std::stoi(valueSlsLogItemListSlsLogItem["Timestamp"].asString()); - if(!valueSlsLogItemListSlsLogItem["SourceIp"].isNull()) - slsLogItemListObject.sourceIp = valueSlsLogItemListSlsLogItem["SourceIp"].asString(); - if(!valueSlsLogItemListSlsLogItem["HostName"].isNull()) - slsLogItemListObject.hostName = valueSlsLogItemListSlsLogItem["HostName"].asString(); - if(!valueSlsLogItemListSlsLogItem["Path"].isNull()) - slsLogItemListObject.path = valueSlsLogItemListSlsLogItem["Path"].asString(); - if(!valueSlsLogItemListSlsLogItem["Content"].isNull()) - slsLogItemListObject.content = valueSlsLogItemListSlsLogItem["Content"].asString(); - if(!valueSlsLogItemListSlsLogItem["PackMeta"].isNull()) - slsLogItemListObject.packMeta = valueSlsLogItemListSlsLogItem["PackMeta"].asString(); - if(!valueSlsLogItemListSlsLogItem["PackId"].isNull()) - slsLogItemListObject.packId = valueSlsLogItemListSlsLogItem["PackId"].asString(); - slsLogItemList_.push_back(slsLogItemListObject); - } - if(!value["Completed"].isNull()) - completed_ = value["Completed"].asString() == "true"; - -} - -std::vector SearchLogResult::getSlsLogItemList()const -{ - return slsLogItemList_; -} - -bool SearchLogResult::getCompleted()const -{ - return completed_; -} - diff --git a/emr/src/model/SuspendExecutionPlanSchedulerRequest.cc b/emr/src/model/SuspendExecutionPlanSchedulerRequest.cc deleted file mode 100644 index e41e50712..000000000 --- a/emr/src/model/SuspendExecutionPlanSchedulerRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::SuspendExecutionPlanSchedulerRequest; - -SuspendExecutionPlanSchedulerRequest::SuspendExecutionPlanSchedulerRequest() : - RpcServiceRequest("emr", "2016-04-08", "SuspendExecutionPlanScheduler") -{ - setMethod(HttpRequest::Method::Post); -} - -SuspendExecutionPlanSchedulerRequest::~SuspendExecutionPlanSchedulerRequest() -{} - -long SuspendExecutionPlanSchedulerRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void SuspendExecutionPlanSchedulerRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string SuspendExecutionPlanSchedulerRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void SuspendExecutionPlanSchedulerRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string SuspendExecutionPlanSchedulerRequest::getRegionId()const -{ - return regionId_; -} - -void SuspendExecutionPlanSchedulerRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string SuspendExecutionPlanSchedulerRequest::getId()const -{ - return id_; -} - -void SuspendExecutionPlanSchedulerRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - diff --git a/emr/src/model/SuspendExecutionPlanSchedulerResult.cc b/emr/src/model/SuspendExecutionPlanSchedulerResult.cc deleted file mode 100644 index a4d618c5a..000000000 --- a/emr/src/model/SuspendExecutionPlanSchedulerResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -SuspendExecutionPlanSchedulerResult::SuspendExecutionPlanSchedulerResult() : - ServiceResult() -{} - -SuspendExecutionPlanSchedulerResult::SuspendExecutionPlanSchedulerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SuspendExecutionPlanSchedulerResult::~SuspendExecutionPlanSchedulerResult() -{} - -void SuspendExecutionPlanSchedulerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/UninstallLibrariesRequest.cc b/emr/src/model/UninstallLibrariesRequest.cc deleted file mode 100644 index c4ef36bbf..000000000 --- a/emr/src/model/UninstallLibrariesRequest.cc +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::UninstallLibrariesRequest; - -UninstallLibrariesRequest::UninstallLibrariesRequest() : - RpcServiceRequest("emr", "2016-04-08", "UninstallLibraries") -{ - setMethod(HttpRequest::Method::Post); -} - -UninstallLibrariesRequest::~UninstallLibrariesRequest() -{} - -long UninstallLibrariesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UninstallLibrariesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UninstallLibrariesRequest::getLibraryBizId()const -{ - return libraryBizId_; -} - -void UninstallLibrariesRequest::setLibraryBizId(const std::string& libraryBizId) -{ - libraryBizId_ = libraryBizId; - setParameter("LibraryBizId", libraryBizId); -} - -std::string UninstallLibrariesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UninstallLibrariesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string UninstallLibrariesRequest::getRegionId()const -{ - return regionId_; -} - -void UninstallLibrariesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::vector UninstallLibrariesRequest::getClusterBizIdList()const -{ - return clusterBizIdList_; -} - -void UninstallLibrariesRequest::setClusterBizIdList(const std::vector& clusterBizIdList) -{ - clusterBizIdList_ = clusterBizIdList; - for(int dep1 = 0; dep1!= clusterBizIdList.size(); dep1++) { - setParameter("ClusterBizIdList."+ std::to_string(dep1), clusterBizIdList.at(dep1)); - } -} - diff --git a/emr/src/model/UninstallLibrariesResult.cc b/emr/src/model/UninstallLibrariesResult.cc deleted file mode 100644 index e16847475..000000000 --- a/emr/src/model/UninstallLibrariesResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -UninstallLibrariesResult::UninstallLibrariesResult() : - ServiceResult() -{} - -UninstallLibrariesResult::UninstallLibrariesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UninstallLibrariesResult::~UninstallLibrariesResult() -{} - -void UninstallLibrariesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string UninstallLibrariesResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/UpdateDataSourceRequest.cc b/emr/src/model/UpdateDataSourceRequest.cc deleted file mode 100644 index b1ce56255..000000000 --- a/emr/src/model/UpdateDataSourceRequest.cc +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::UpdateDataSourceRequest; - -UpdateDataSourceRequest::UpdateDataSourceRequest() : - RpcServiceRequest("emr", "2016-04-08", "UpdateDataSource") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateDataSourceRequest::~UpdateDataSourceRequest() -{} - -long UpdateDataSourceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UpdateDataSourceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UpdateDataSourceRequest::getDescription()const -{ - return description_; -} - -void UpdateDataSourceRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -std::string UpdateDataSourceRequest::getConf()const -{ - return conf_; -} - -void UpdateDataSourceRequest::setConf(const std::string& conf) -{ - conf_ = conf; - setParameter("Conf", conf); -} - -std::string UpdateDataSourceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UpdateDataSourceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string UpdateDataSourceRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void UpdateDataSourceRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string UpdateDataSourceRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateDataSourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string UpdateDataSourceRequest::getName()const -{ - return name_; -} - -void UpdateDataSourceRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -std::string UpdateDataSourceRequest::getId()const -{ - return id_; -} - -void UpdateDataSourceRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - diff --git a/emr/src/model/UpdateDataSourceResult.cc b/emr/src/model/UpdateDataSourceResult.cc deleted file mode 100644 index eeff09cad..000000000 --- a/emr/src/model/UpdateDataSourceResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -UpdateDataSourceResult::UpdateDataSourceResult() : - ServiceResult() -{} - -UpdateDataSourceResult::UpdateDataSourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateDataSourceResult::~UpdateDataSourceResult() -{} - -void UpdateDataSourceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/UpdateLibraryInstallTaskStatusRequest.cc b/emr/src/model/UpdateLibraryInstallTaskStatusRequest.cc deleted file mode 100644 index 098696064..000000000 --- a/emr/src/model/UpdateLibraryInstallTaskStatusRequest.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::UpdateLibraryInstallTaskStatusRequest; - -UpdateLibraryInstallTaskStatusRequest::UpdateLibraryInstallTaskStatusRequest() : - RpcServiceRequest("emr", "2016-04-08", "UpdateLibraryInstallTaskStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateLibraryInstallTaskStatusRequest::~UpdateLibraryInstallTaskStatusRequest() -{} - -long UpdateLibraryInstallTaskStatusRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UpdateLibraryInstallTaskStatusRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UpdateLibraryInstallTaskStatusRequest::getTaskBizId()const -{ - return taskBizId_; -} - -void UpdateLibraryInstallTaskStatusRequest::setTaskBizId(const std::string& taskBizId) -{ - taskBizId_ = taskBizId; - setParameter("TaskBizId", taskBizId); -} - -std::string UpdateLibraryInstallTaskStatusRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UpdateLibraryInstallTaskStatusRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string UpdateLibraryInstallTaskStatusRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateLibraryInstallTaskStatusRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string UpdateLibraryInstallTaskStatusRequest::getStatus()const -{ - return status_; -} - -void UpdateLibraryInstallTaskStatusRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/emr/src/model/UpdateLibraryInstallTaskStatusResult.cc b/emr/src/model/UpdateLibraryInstallTaskStatusResult.cc deleted file mode 100644 index fc0ed6b93..000000000 --- a/emr/src/model/UpdateLibraryInstallTaskStatusResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -UpdateLibraryInstallTaskStatusResult::UpdateLibraryInstallTaskStatusResult() : - ServiceResult() -{} - -UpdateLibraryInstallTaskStatusResult::UpdateLibraryInstallTaskStatusResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateLibraryInstallTaskStatusResult::~UpdateLibraryInstallTaskStatusResult() -{} - -void UpdateLibraryInstallTaskStatusResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool UpdateLibraryInstallTaskStatusResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/UpdateTagRequest.cc b/emr/src/model/UpdateTagRequest.cc deleted file mode 100644 index a8043a8fa..000000000 --- a/emr/src/model/UpdateTagRequest.cc +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::UpdateTagRequest; - -UpdateTagRequest::UpdateTagRequest() : - RpcServiceRequest("emr", "2016-04-08", "UpdateTag") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateTagRequest::~UpdateTagRequest() -{} - -long UpdateTagRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UpdateTagRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UpdateTagRequest::getDescription()const -{ - return description_; -} - -void UpdateTagRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -std::string UpdateTagRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UpdateTagRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string UpdateTagRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateTagRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string UpdateTagRequest::getName()const -{ - return name_; -} - -void UpdateTagRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - -long UpdateTagRequest::getId()const -{ - return id_; -} - -void UpdateTagRequest::setId(long id) -{ - id_ = id; - setParameter("Id", std::to_string(id)); -} - -std::string UpdateTagRequest::getCategory()const -{ - return category_; -} - -void UpdateTagRequest::setCategory(const std::string& category) -{ - category_ = category; - setParameter("Category", category); -} - diff --git a/emr/src/model/UpdateTagResult.cc b/emr/src/model/UpdateTagResult.cc deleted file mode 100644 index bad56fa7d..000000000 --- a/emr/src/model/UpdateTagResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -UpdateTagResult::UpdateTagResult() : - ServiceResult() -{} - -UpdateTagResult::UpdateTagResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateTagResult::~UpdateTagResult() -{} - -void UpdateTagResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string UpdateTagResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/UpdateUserRequest.cc b/emr/src/model/UpdateUserRequest.cc deleted file mode 100644 index f3ebccbb5..000000000 --- a/emr/src/model/UpdateUserRequest.cc +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::UpdateUserRequest; - -UpdateUserRequest::UpdateUserRequest() : - RpcServiceRequest("emr", "2016-04-08", "UpdateUser") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateUserRequest::~UpdateUserRequest() -{} - -long UpdateUserRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UpdateUserRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UpdateUserRequest::getUserType()const -{ - return userType_; -} - -void UpdateUserRequest::setUserType(const std::string& userType) -{ - userType_ = userType; - setParameter("UserType", userType); -} - -std::string UpdateUserRequest::getDescription()const -{ - return description_; -} - -void UpdateUserRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); -} - -std::string UpdateUserRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UpdateUserRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::vector UpdateUserRequest::getUserAccountParamList()const -{ - return userAccountParamList_; -} - -void UpdateUserRequest::setUserAccountParamList(const std::vector& userAccountParamList) -{ - userAccountParamList_ = userAccountParamList; - for(int dep1 = 0; dep1!= userAccountParamList.size(); dep1++) { - auto userAccountParamListObj = userAccountParamList.at(dep1); - std::string userAccountParamListObjStr = "UserAccountParamList." + std::to_string(dep1 + 1); - setParameter(userAccountParamListObjStr + ".AccountType", userAccountParamListObj.accountType); - setParameter(userAccountParamListObjStr + ".AuthType", userAccountParamListObj.authType); - setParameter(userAccountParamListObjStr + ".AccountPassword", userAccountParamListObj.accountPassword); - } -} - -std::vector UpdateUserRequest::getGroupIdList()const -{ - return groupIdList_; -} - -void UpdateUserRequest::setGroupIdList(const std::vector& groupIdList) -{ - groupIdList_ = groupIdList; - for(int dep1 = 0; dep1!= groupIdList.size(); dep1++) { - setParameter("GroupIdList."+ std::to_string(dep1), std::to_string(groupIdList.at(dep1))); - } -} - -std::string UpdateUserRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateUserRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::vector UpdateUserRequest::getRoleIdList()const -{ - return roleIdList_; -} - -void UpdateUserRequest::setRoleIdList(const std::vector& roleIdList) -{ - roleIdList_ = roleIdList; - for(int dep1 = 0; dep1!= roleIdList.size(); dep1++) { - setParameter("RoleIdList."+ std::to_string(dep1), std::to_string(roleIdList.at(dep1))); - } -} - -std::string UpdateUserRequest::getAliyunUserId()const -{ - return aliyunUserId_; -} - -void UpdateUserRequest::setAliyunUserId(const std::string& aliyunUserId) -{ - aliyunUserId_ = aliyunUserId; - setParameter("AliyunUserId", aliyunUserId); -} - -std::string UpdateUserRequest::getUserName()const -{ - return userName_; -} - -void UpdateUserRequest::setUserName(const std::string& userName) -{ - userName_ = userName; - setParameter("UserName", userName); -} - -std::string UpdateUserRequest::getStatus()const -{ - return status_; -} - -void UpdateUserRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); -} - diff --git a/emr/src/model/UpdateUserResult.cc b/emr/src/model/UpdateUserResult.cc deleted file mode 100644 index 4d563e529..000000000 --- a/emr/src/model/UpdateUserResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -UpdateUserResult::UpdateUserResult() : - ServiceResult() -{} - -UpdateUserResult::UpdateUserResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateUserResult::~UpdateUserResult() -{} - -void UpdateUserResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool UpdateUserResult::getPaging()const -{ - return paging_; -} - -bool UpdateUserResult::getData()const -{ - return data_; -} -