From 537988875ee39ee74c5dbf598a5c1ddef4f76481 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 25 Oct 2021 03:40:00 +0000 Subject: [PATCH] Generated 2016-04-08 for Emr. --- CHANGELOG | 3 + VERSION | 2 +- emr/CMakeLists.txt | 136 +- emr/include/alibabacloud/emr/EmrClient.h | 272 +--- .../model/CleanupFlowEntitySnapshotRequest.h | 57 - .../model/CleanupFlowEntitySnapshotResult.h | 51 - .../model/CommitFlowEntitySnapshotRequest.h | 63 - .../model/CommitFlowEntitySnapshotResult.h | 51 - ...uest.h => CreateClusterHostGroupRequest.h} | 60 +- ...esult.h => CreateClusterHostGroupResult.h} | 20 +- .../emr/model/CreateClusterTemplateRequest.h | 5 + .../emr/model/CreateClusterV2Request.h | 5 + .../emr/model/CreateFlowEditLockRequest.h | 60 - .../emr/model/CreateFlowEditLockResult.h | 59 - .../emr/model/CreateParagraphRequest.h | 60 - .../emr/model/CreateParagraphResult.h | 51 - .../emr/model/DeleteFlowEditLockRequest.h | 57 - .../alibabacloud/emr/model/DeleteNoteResult.h | 49 - .../model/DescribeClusterBasicInfoResult.h | 3 + .../emr/model/DescribeClusterV2Result.h | 1 + ...est.h => DescribeDiskOpsActivityRequest.h} | 36 +- ...sult.h => DescribeDiskOpsActivityResult.h} | 28 +- ...uest.h => DescribeEmrMainVersionRequest.h} | 18 +- .../emr/model/DescribeEmrMainVersionResult.h | 84 ++ .../emr/model/DescribeFlowAgentTokenRequest.h | 60 - .../emr/model/DescribeFlowAgentUserRequest.h | 60 - .../emr/model/DescribeFlowAgentUserResult.h | 51 - .../model/DescribeFlowEntitySnapshotRequest.h | 90 -- .../model/DescribeFlowEntitySnapshotResult.h | 69 - .../emr/model/DiffFlowEntitySnapshotRequest.h | 66 - .../emr/model/DiffFlowEntitySnapshotResult.h | 51 - .../model/DumpMetaDataSourceForOuterResult.h | 51 - .../model/GetFlowEntityRelationGraphRequest.h | 90 -- .../model/GetFlowEntityRelationGraphResult.h | 51 - .../model/KillExecutionJobInstanceRequest.h | 57 - .../model/KillExecutionJobInstanceResult.h | 49 - .../model/ListClusterHostComponentResult.h | 3 + .../model/ListClusterInstalledServiceResult.h | 1 + .../emr/model/ListClusterOperationRequest.h | 3 + ...ClusterServiceComponentHealthInfoRequest.h | 3 + ...tClusterServiceComponentHealthInfoResult.h | 14 +- .../emr/model/ListClusterServiceResult.h | 1 + .../emr/model/ListClustersRequest.h | 3 + ...erRequest.h => ListDiskOpsEventsRequest.h} | 30 +- ...shotResult.h => ListDiskOpsEventsResult.h} | 44 +- .../model/ListEmrAvailableResourceRequest.h | 3 + .../emr/model/ListExecutionPlansRequest.h | 81 -- .../emr/model/ListExecutionPlansResult.h | 68 - .../emr/model/ListFlowEntitySnapshotRequest.h | 90 -- .../emr/model/ListJobInstanceWorkersResult.h | 57 - ....h => ListLocalDiskComponentInfoRequest.h} | 24 +- .../model/ListLocalDiskComponentInfoResult.h | 76 ++ .../emr/model/ListMetaClusterResult.h | 68 - ...ListMetaDataSourceClusterForOuterRequest.h | 69 - .../ListMetaDataSourceClusterForOuterResult.h | 63 - .../alibabacloud/emr/model/ListNotesRequest.h | 57 - .../alibabacloud/emr/model/ListNotesResult.h | 57 - .../model/ListScalingConfigItemV2Request.h | 21 +- .../emr/model/QueryAlarmHistoryResult.h | 68 - .../emr/model/QueryTableDataRequest.h | 57 - .../emr/model/QueryTableDataResult.h | 51 - .../emr/model/QueryTrendDataRequest.h | 57 - .../emr/model/QueryTrendDataResult.h | 51 - ...seClusterByTemplateTagForInternalRequest.h | 57 - ...aseClusterByTemplateTagForInternalResult.h | 49 - .../emr/model/ResizeClusterV2Request.h | 5 + .../emr/model/RestoreBackupRequest.h | 60 - .../emr/model/RestoreBackupResult.h | 81 -- .../model/RestoreFlowEntitySnapshotRequest.h | 66 - .../model/RestoreFlowEntitySnapshotResult.h | 51 - ...yRequest.h => RunDiskOpsActivityRequest.h} | 39 +- ...ockResult.h => RunDiskOpsActivityResult.h} | 26 +- .../emr/model/TagResourcesSystemTagsRequest.h | 75 -- .../emr/model/TagResourcesSystemTagsResult.h | 49 - .../model/UntagResourcesSystemTagsRequest.h | 69 - .../model/UntagResourcesSystemTagsResult.h | 49 - emr/src/EmrClient.cc | 1170 +++-------------- .../model/CleanupFlowEntitySnapshotRequest.cc | 73 - .../model/CleanupFlowEntitySnapshotResult.cc | 51 - .../model/CommitFlowEntitySnapshotRequest.cc | 95 -- .../model/CommitFlowEntitySnapshotResult.cc | 51 - .../model/CreateClusterHostGroupRequest.cc | 150 +++ ...ult.cc => CreateClusterHostGroupResult.cc} | 25 +- emr/src/model/CreateClusterTemplateRequest.cc | 13 + emr/src/model/CreateClusterV2Request.cc | 13 + emr/src/model/CreateFlowEditLockRequest.cc | 84 -- emr/src/model/CreateFlowEditLockResult.cc | 79 -- emr/src/model/CreateFlowJobRequest.cc | 14 +- emr/src/model/CreateNoteRequest.cc | 106 -- emr/src/model/CreateNoteResult.cc | 58 - emr/src/model/CreateParagraphRequest.cc | 84 -- emr/src/model/CreateParagraphResult.cc | 51 - emr/src/model/DeleteFlowEditLockRequest.cc | 73 - emr/src/model/DeleteFlowEditLockResult.cc | 51 - emr/src/model/DeleteNoteRequest.cc | 84 -- emr/src/model/DeleteNoteResult.cc | 44 - .../model/DescribeClusterBasicInfoResult.cc | 6 + emr/src/model/DescribeClusterV2Result.cc | 2 + .../model/DescribeDiskOpsActivityRequest.cc | 128 ++ .../model/DescribeDiskOpsActivityResult.cc | 79 ++ ...st.cc => DescribeEmrMainVersionRequest.cc} | 32 +- emr/src/model/DescribeEmrMainVersionResult.cc | 105 ++ .../model/DescribeFlowAgentTokenRequest.cc | 84 -- emr/src/model/DescribeFlowAgentUserRequest.cc | 84 -- emr/src/model/DescribeFlowAgentUserResult.cc | 51 - .../DescribeFlowEntitySnapshotRequest.cc | 194 --- .../model/DescribeFlowEntitySnapshotResult.cc | 114 -- .../model/DiffFlowEntitySnapshotRequest.cc | 106 -- emr/src/model/DiffFlowEntitySnapshotResult.cc | 51 - .../DumpMetaDataSourceForOuterRequest.cc | 152 --- .../model/DumpMetaDataSourceForOuterResult.cc | 51 - .../GetFlowEntityRelationGraphRequest.cc | 194 --- .../model/GetFlowEntityRelationGraphResult.cc | 51 - .../model/KillExecutionJobInstanceRequest.cc | 73 - .../model/KillExecutionJobInstanceResult.cc | 44 - .../model/ListClusterHostComponentResult.cc | 6 + .../ListClusterInstalledServiceResult.cc | 2 + emr/src/model/ListClusterOperationRequest.cc | 11 + ...lusterServiceComponentHealthInfoRequest.cc | 11 + ...ClusterServiceComponentHealthInfoResult.cc | 16 + emr/src/model/ListClusterServiceResult.cc | 2 + emr/src/model/ListClustersRequest.cc | 11 + emr/src/model/ListDiskOpsEventsRequest.cc | 117 ++ emr/src/model/ListDiskOpsEventsResult.cc | 108 ++ .../model/ListEmrAvailableResourceRequest.cc | 11 + emr/src/model/ListExecutionPlansRequest.cc | 163 --- emr/src/model/ListExecutionPlansResult.cc | 92 -- .../model/ListFlowEntitySnapshotRequest.cc | 194 --- emr/src/model/ListFlowEntitySnapshotResult.cc | 96 -- emr/src/model/ListJobInstanceWorkersResult.cc | 61 - .../ListLocalDiskComponentInfoRequest.cc | 84 ++ .../model/ListLocalDiskComponentInfoResult.cc | 99 ++ emr/src/model/ListMetaClusterRequest.cc | 95 -- emr/src/model/ListMetaClusterResult.cc | 85 -- ...istMetaDataSourceClusterForOuterRequest.cc | 121 -- ...ListMetaDataSourceClusterForOuterResult.cc | 82 -- emr/src/model/ListNotesRequest.cc | 73 - emr/src/model/ListNotesResult.cc | 61 - .../model/ListScalingConfigItemV2Request.cc | 77 +- emr/src/model/QueryAlarmHistoryRequest.cc | 117 -- emr/src/model/QueryAlarmHistoryResult.cc | 89 -- emr/src/model/QueryTableDataRequest.cc | 73 - emr/src/model/QueryTableDataResult.cc | 51 - emr/src/model/QueryTrendDataRequest.cc | 73 - emr/src/model/QueryTrendDataResult.cc | 51 - ...eClusterByTemplateTagForInternalRequest.cc | 75 -- ...seClusterByTemplateTagForInternalResult.cc | 44 - emr/src/model/ResizeClusterV2Request.cc | 13 + emr/src/model/RestoreBackupRequest.cc | 84 -- emr/src/model/RestoreBackupResult.cc | 156 --- .../model/RestoreFlowEntitySnapshotRequest.cc | 106 -- .../model/RestoreFlowEntitySnapshotResult.cc | 51 - emr/src/model/RunDiskOpsActivityRequest.cc | 128 ++ emr/src/model/RunDiskOpsActivityResult.cc | 79 ++ .../model/TagResourcesSystemTagsRequest.cc | 124 -- emr/src/model/TagResourcesSystemTagsResult.cc | 44 - .../model/UntagResourcesSystemTagsRequest.cc | 121 -- .../model/UntagResourcesSystemTagsResult.cc | 44 - 158 files changed, 1900 insertions(+), 9043 deletions(-) delete mode 100644 emr/include/alibabacloud/emr/model/CleanupFlowEntitySnapshotRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CleanupFlowEntitySnapshotResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CommitFlowEntitySnapshotRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CommitFlowEntitySnapshotResult.h rename emr/include/alibabacloud/emr/model/{DumpMetaDataSourceForOuterRequest.h => CreateClusterHostGroupRequest.h} (51%) rename emr/include/alibabacloud/emr/model/{DescribeFlowAgentTokenResult.h => CreateClusterHostGroupResult.h} (64%) delete mode 100644 emr/include/alibabacloud/emr/model/CreateFlowEditLockRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateFlowEditLockResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateParagraphRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateParagraphResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteFlowEditLockRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteNoteResult.h rename emr/include/alibabacloud/emr/model/{DeleteNoteRequest.h => DescribeDiskOpsActivityRequest.h} (52%) rename emr/include/alibabacloud/emr/model/{CreateNoteResult.h => DescribeDiskOpsActivityResult.h} (54%) rename emr/include/alibabacloud/emr/model/{ListJobInstanceWorkersRequest.h => DescribeEmrMainVersionRequest.h} (72%) create mode 100644 emr/include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeFlowAgentTokenRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeFlowAgentUserRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeFlowAgentUserResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeFlowEntitySnapshotRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeFlowEntitySnapshotResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DiffFlowEntitySnapshotRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DiffFlowEntitySnapshotResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DumpMetaDataSourceForOuterResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetFlowEntityRelationGraphRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetFlowEntityRelationGraphResult.h delete mode 100644 emr/include/alibabacloud/emr/model/KillExecutionJobInstanceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/KillExecutionJobInstanceResult.h rename emr/include/alibabacloud/emr/model/{ListMetaClusterRequest.h => ListDiskOpsEventsRequest.h} (68%) rename emr/include/alibabacloud/emr/model/{ListFlowEntitySnapshotResult.h => ListDiskOpsEventsResult.h} (53%) delete mode 100644 emr/include/alibabacloud/emr/model/ListExecutionPlansRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListExecutionPlansResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListFlowEntitySnapshotRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListJobInstanceWorkersResult.h rename emr/include/alibabacloud/emr/model/{CreateNoteRequest.h => ListLocalDiskComponentInfoRequest.h} (67%) create mode 100644 emr/include/alibabacloud/emr/model/ListLocalDiskComponentInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListMetaClusterResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListNotesRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListNotesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryAlarmHistoryResult.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryTableDataRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryTableDataResult.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryTrendDataRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryTrendDataResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ReleaseClusterByTemplateTagForInternalRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ReleaseClusterByTemplateTagForInternalResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RestoreBackupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RestoreBackupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RestoreFlowEntitySnapshotRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RestoreFlowEntitySnapshotResult.h rename emr/include/alibabacloud/emr/model/{QueryAlarmHistoryRequest.h => RunDiskOpsActivityRequest.h} (58%) rename emr/include/alibabacloud/emr/model/{DeleteFlowEditLockResult.h => RunDiskOpsActivityResult.h} (57%) delete mode 100644 emr/include/alibabacloud/emr/model/TagResourcesSystemTagsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/TagResourcesSystemTagsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsResult.h delete mode 100644 emr/src/model/CleanupFlowEntitySnapshotRequest.cc delete mode 100644 emr/src/model/CleanupFlowEntitySnapshotResult.cc delete mode 100644 emr/src/model/CommitFlowEntitySnapshotRequest.cc delete mode 100644 emr/src/model/CommitFlowEntitySnapshotResult.cc create mode 100644 emr/src/model/CreateClusterHostGroupRequest.cc rename emr/src/model/{DescribeFlowAgentTokenResult.cc => CreateClusterHostGroupResult.cc} (59%) delete mode 100644 emr/src/model/CreateFlowEditLockRequest.cc delete mode 100644 emr/src/model/CreateFlowEditLockResult.cc delete mode 100644 emr/src/model/CreateNoteRequest.cc delete mode 100644 emr/src/model/CreateNoteResult.cc delete mode 100644 emr/src/model/CreateParagraphRequest.cc delete mode 100644 emr/src/model/CreateParagraphResult.cc delete mode 100644 emr/src/model/DeleteFlowEditLockRequest.cc delete mode 100644 emr/src/model/DeleteFlowEditLockResult.cc delete mode 100644 emr/src/model/DeleteNoteRequest.cc delete mode 100644 emr/src/model/DeleteNoteResult.cc create mode 100644 emr/src/model/DescribeDiskOpsActivityRequest.cc create mode 100644 emr/src/model/DescribeDiskOpsActivityResult.cc rename emr/src/model/{ListJobInstanceWorkersRequest.cc => DescribeEmrMainVersionRequest.cc} (51%) create mode 100644 emr/src/model/DescribeEmrMainVersionResult.cc delete mode 100644 emr/src/model/DescribeFlowAgentTokenRequest.cc delete mode 100644 emr/src/model/DescribeFlowAgentUserRequest.cc delete mode 100644 emr/src/model/DescribeFlowAgentUserResult.cc delete mode 100644 emr/src/model/DescribeFlowEntitySnapshotRequest.cc delete mode 100644 emr/src/model/DescribeFlowEntitySnapshotResult.cc delete mode 100644 emr/src/model/DiffFlowEntitySnapshotRequest.cc delete mode 100644 emr/src/model/DiffFlowEntitySnapshotResult.cc delete mode 100644 emr/src/model/DumpMetaDataSourceForOuterRequest.cc delete mode 100644 emr/src/model/DumpMetaDataSourceForOuterResult.cc delete mode 100644 emr/src/model/GetFlowEntityRelationGraphRequest.cc delete mode 100644 emr/src/model/GetFlowEntityRelationGraphResult.cc delete mode 100644 emr/src/model/KillExecutionJobInstanceRequest.cc delete mode 100644 emr/src/model/KillExecutionJobInstanceResult.cc create mode 100644 emr/src/model/ListDiskOpsEventsRequest.cc create mode 100644 emr/src/model/ListDiskOpsEventsResult.cc delete mode 100644 emr/src/model/ListExecutionPlansRequest.cc delete mode 100644 emr/src/model/ListExecutionPlansResult.cc delete mode 100644 emr/src/model/ListFlowEntitySnapshotRequest.cc delete mode 100644 emr/src/model/ListFlowEntitySnapshotResult.cc delete mode 100644 emr/src/model/ListJobInstanceWorkersResult.cc create mode 100644 emr/src/model/ListLocalDiskComponentInfoRequest.cc create mode 100644 emr/src/model/ListLocalDiskComponentInfoResult.cc delete mode 100644 emr/src/model/ListMetaClusterRequest.cc delete mode 100644 emr/src/model/ListMetaClusterResult.cc delete mode 100644 emr/src/model/ListMetaDataSourceClusterForOuterRequest.cc delete mode 100644 emr/src/model/ListMetaDataSourceClusterForOuterResult.cc delete mode 100644 emr/src/model/ListNotesRequest.cc delete mode 100644 emr/src/model/ListNotesResult.cc delete mode 100644 emr/src/model/QueryAlarmHistoryRequest.cc delete mode 100644 emr/src/model/QueryAlarmHistoryResult.cc delete mode 100644 emr/src/model/QueryTableDataRequest.cc delete mode 100644 emr/src/model/QueryTableDataResult.cc delete mode 100644 emr/src/model/QueryTrendDataRequest.cc delete mode 100644 emr/src/model/QueryTrendDataResult.cc delete mode 100644 emr/src/model/ReleaseClusterByTemplateTagForInternalRequest.cc delete mode 100644 emr/src/model/ReleaseClusterByTemplateTagForInternalResult.cc delete mode 100644 emr/src/model/RestoreBackupRequest.cc delete mode 100644 emr/src/model/RestoreBackupResult.cc delete mode 100644 emr/src/model/RestoreFlowEntitySnapshotRequest.cc delete mode 100644 emr/src/model/RestoreFlowEntitySnapshotResult.cc create mode 100644 emr/src/model/RunDiskOpsActivityRequest.cc create mode 100644 emr/src/model/RunDiskOpsActivityResult.cc delete mode 100644 emr/src/model/TagResourcesSystemTagsRequest.cc delete mode 100644 emr/src/model/TagResourcesSystemTagsResult.cc delete mode 100644 emr/src/model/UntagResourcesSystemTagsRequest.cc delete mode 100644 emr/src/model/UntagResourcesSystemTagsResult.cc diff --git a/CHANGELOG b/CHANGELOG index 46c5ad89d..c62625adf 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-10-25 Version: 1.36.908 +- Generated 2016-04-08 for `Emr`. + 2021-10-25 Version: 1.36.907 - Generated 2016-11-01 for `live`. diff --git a/VERSION b/VERSION index 38ee5d3e5..0ff6302c3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.907 \ No newline at end of file +1.36.908 \ No newline at end of file diff --git a/emr/CMakeLists.txt b/emr/CMakeLists.txt index 84721f879..dd05d2e3a 100644 --- a/emr/CMakeLists.txt +++ b/emr/CMakeLists.txt @@ -29,20 +29,18 @@ set(emr_public_header_model include/alibabacloud/emr/model/AuthorizeSecurityGroupResult.h include/alibabacloud/emr/model/CancelOrderRequest.h include/alibabacloud/emr/model/CancelOrderResult.h - include/alibabacloud/emr/model/CleanupFlowEntitySnapshotRequest.h - include/alibabacloud/emr/model/CleanupFlowEntitySnapshotResult.h include/alibabacloud/emr/model/CloneFlowRequest.h include/alibabacloud/emr/model/CloneFlowResult.h include/alibabacloud/emr/model/CloneFlowJobRequest.h include/alibabacloud/emr/model/CloneFlowJobResult.h - include/alibabacloud/emr/model/CommitFlowEntitySnapshotRequest.h - include/alibabacloud/emr/model/CommitFlowEntitySnapshotResult.h include/alibabacloud/emr/model/CreateBackupRequest.h include/alibabacloud/emr/model/CreateBackupResult.h include/alibabacloud/emr/model/CreateBackupPlanRequest.h include/alibabacloud/emr/model/CreateBackupPlanResult.h include/alibabacloud/emr/model/CreateClusterBootstrapActionRequest.h include/alibabacloud/emr/model/CreateClusterBootstrapActionResult.h + include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h + include/alibabacloud/emr/model/CreateClusterHostGroupResult.h include/alibabacloud/emr/model/CreateClusterTemplateRequest.h include/alibabacloud/emr/model/CreateClusterTemplateResult.h include/alibabacloud/emr/model/CreateClusterV2Request.h @@ -57,8 +55,6 @@ set(emr_public_header_model include/alibabacloud/emr/model/CreateFlowResult.h include/alibabacloud/emr/model/CreateFlowCategoryRequest.h include/alibabacloud/emr/model/CreateFlowCategoryResult.h - include/alibabacloud/emr/model/CreateFlowEditLockRequest.h - include/alibabacloud/emr/model/CreateFlowEditLockResult.h include/alibabacloud/emr/model/CreateFlowForWebRequest.h include/alibabacloud/emr/model/CreateFlowForWebResult.h include/alibabacloud/emr/model/CreateFlowJobRequest.h @@ -75,10 +71,6 @@ set(emr_public_header_model include/alibabacloud/emr/model/CreateLibraryResult.h include/alibabacloud/emr/model/CreateMetaTablePreviewTaskRequest.h include/alibabacloud/emr/model/CreateMetaTablePreviewTaskResult.h - include/alibabacloud/emr/model/CreateNoteRequest.h - include/alibabacloud/emr/model/CreateNoteResult.h - include/alibabacloud/emr/model/CreateParagraphRequest.h - include/alibabacloud/emr/model/CreateParagraphResult.h include/alibabacloud/emr/model/CreateResourcePoolRequest.h include/alibabacloud/emr/model/CreateResourcePoolResult.h include/alibabacloud/emr/model/CreateResourceQueueRequest.h @@ -103,8 +95,6 @@ set(emr_public_header_model include/alibabacloud/emr/model/DeleteFlowResult.h include/alibabacloud/emr/model/DeleteFlowCategoryRequest.h include/alibabacloud/emr/model/DeleteFlowCategoryResult.h - include/alibabacloud/emr/model/DeleteFlowEditLockRequest.h - include/alibabacloud/emr/model/DeleteFlowEditLockResult.h include/alibabacloud/emr/model/DeleteFlowJobRequest.h include/alibabacloud/emr/model/DeleteFlowJobResult.h include/alibabacloud/emr/model/DeleteFlowProjectRequest.h @@ -117,8 +107,6 @@ set(emr_public_header_model include/alibabacloud/emr/model/DeleteJobResult.h include/alibabacloud/emr/model/DeleteLibrariesRequest.h include/alibabacloud/emr/model/DeleteLibrariesResult.h - include/alibabacloud/emr/model/DeleteNoteRequest.h - include/alibabacloud/emr/model/DeleteNoteResult.h include/alibabacloud/emr/model/DeleteResourcePoolRequest.h include/alibabacloud/emr/model/DeleteResourcePoolResult.h include/alibabacloud/emr/model/DeleteResourceQueueRequest.h @@ -151,20 +139,18 @@ set(emr_public_header_model include/alibabacloud/emr/model/DescribeClusterV2Result.h include/alibabacloud/emr/model/DescribeDataSourceRequest.h include/alibabacloud/emr/model/DescribeDataSourceResult.h + include/alibabacloud/emr/model/DescribeDiskOpsActivityRequest.h + include/alibabacloud/emr/model/DescribeDiskOpsActivityResult.h + include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h + include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h include/alibabacloud/emr/model/DescribeExecutionPlanRequest.h include/alibabacloud/emr/model/DescribeExecutionPlanResult.h include/alibabacloud/emr/model/DescribeFlowRequest.h include/alibabacloud/emr/model/DescribeFlowResult.h - include/alibabacloud/emr/model/DescribeFlowAgentTokenRequest.h - include/alibabacloud/emr/model/DescribeFlowAgentTokenResult.h - include/alibabacloud/emr/model/DescribeFlowAgentUserRequest.h - include/alibabacloud/emr/model/DescribeFlowAgentUserResult.h include/alibabacloud/emr/model/DescribeFlowCategoryRequest.h include/alibabacloud/emr/model/DescribeFlowCategoryResult.h include/alibabacloud/emr/model/DescribeFlowCategoryTreeRequest.h include/alibabacloud/emr/model/DescribeFlowCategoryTreeResult.h - include/alibabacloud/emr/model/DescribeFlowEntitySnapshotRequest.h - include/alibabacloud/emr/model/DescribeFlowEntitySnapshotResult.h include/alibabacloud/emr/model/DescribeFlowInstanceRequest.h include/alibabacloud/emr/model/DescribeFlowInstanceResult.h include/alibabacloud/emr/model/DescribeFlowJobRequest.h @@ -203,12 +189,6 @@ set(emr_public_header_model include/alibabacloud/emr/model/DescribeSecurityGroupAttributeResult.h include/alibabacloud/emr/model/DetachAndReleaseClusterEniRequest.h include/alibabacloud/emr/model/DetachAndReleaseClusterEniResult.h - include/alibabacloud/emr/model/DiffFlowEntitySnapshotRequest.h - include/alibabacloud/emr/model/DiffFlowEntitySnapshotResult.h - include/alibabacloud/emr/model/DumpMetaDataSourceForOuterRequest.h - include/alibabacloud/emr/model/DumpMetaDataSourceForOuterResult.h - include/alibabacloud/emr/model/GetFlowEntityRelationGraphRequest.h - include/alibabacloud/emr/model/GetFlowEntityRelationGraphResult.h include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoRequest.h include/alibabacloud/emr/model/GetHdfsCapacityStatisticInfoResult.h include/alibabacloud/emr/model/GetJobInputStatisticInfoRequest.h @@ -233,8 +213,6 @@ set(emr_public_header_model include/alibabacloud/emr/model/InstallLibrariesResult.h include/alibabacloud/emr/model/JoinResourceGroupRequest.h include/alibabacloud/emr/model/JoinResourceGroupResult.h - include/alibabacloud/emr/model/KillExecutionJobInstanceRequest.h - include/alibabacloud/emr/model/KillExecutionJobInstanceResult.h include/alibabacloud/emr/model/KillFlowJobRequest.h include/alibabacloud/emr/model/KillFlowJobResult.h include/alibabacloud/emr/model/ListAdviceActionRequest.h @@ -275,6 +253,8 @@ set(emr_public_header_model include/alibabacloud/emr/model/ListClustersResult.h include/alibabacloud/emr/model/ListDataSourceRequest.h include/alibabacloud/emr/model/ListDataSourceResult.h + include/alibabacloud/emr/model/ListDiskOpsEventsRequest.h + include/alibabacloud/emr/model/ListDiskOpsEventsResult.h include/alibabacloud/emr/model/ListEmrAvailableConfigRequest.h include/alibabacloud/emr/model/ListEmrAvailableConfigResult.h include/alibabacloud/emr/model/ListEmrAvailableResourceRequest.h @@ -283,8 +263,6 @@ set(emr_public_header_model include/alibabacloud/emr/model/ListEmrMainVersionResult.h include/alibabacloud/emr/model/ListExecutionPlanInstancesRequest.h include/alibabacloud/emr/model/ListExecutionPlanInstancesResult.h - include/alibabacloud/emr/model/ListExecutionPlansRequest.h - include/alibabacloud/emr/model/ListExecutionPlansResult.h include/alibabacloud/emr/model/ListFlowRequest.h include/alibabacloud/emr/model/ListFlowResult.h include/alibabacloud/emr/model/ListFlowCategoryRequest.h @@ -297,8 +275,6 @@ set(emr_public_header_model include/alibabacloud/emr/model/ListFlowClusterAllHostsResult.h include/alibabacloud/emr/model/ListFlowClusterHostRequest.h include/alibabacloud/emr/model/ListFlowClusterHostResult.h - include/alibabacloud/emr/model/ListFlowEntitySnapshotRequest.h - include/alibabacloud/emr/model/ListFlowEntitySnapshotResult.h include/alibabacloud/emr/model/ListFlowInstanceRequest.h include/alibabacloud/emr/model/ListFlowInstanceResult.h include/alibabacloud/emr/model/ListFlowJobRequest.h @@ -319,8 +295,6 @@ set(emr_public_header_model include/alibabacloud/emr/model/ListFlowProjectUserResult.h include/alibabacloud/emr/model/ListJobExecutionInstancesRequest.h include/alibabacloud/emr/model/ListJobExecutionInstancesResult.h - include/alibabacloud/emr/model/ListJobInstanceWorkersRequest.h - include/alibabacloud/emr/model/ListJobInstanceWorkersResult.h include/alibabacloud/emr/model/ListJobsRequest.h include/alibabacloud/emr/model/ListJobsResult.h include/alibabacloud/emr/model/ListLibrariesRequest.h @@ -329,12 +303,8 @@ set(emr_public_header_model include/alibabacloud/emr/model/ListLibraryInstallTasksResult.h include/alibabacloud/emr/model/ListLibraryStatusRequest.h include/alibabacloud/emr/model/ListLibraryStatusResult.h - include/alibabacloud/emr/model/ListMetaClusterRequest.h - include/alibabacloud/emr/model/ListMetaClusterResult.h - include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterRequest.h - include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterResult.h - include/alibabacloud/emr/model/ListNotesRequest.h - include/alibabacloud/emr/model/ListNotesResult.h + include/alibabacloud/emr/model/ListLocalDiskComponentInfoRequest.h + include/alibabacloud/emr/model/ListLocalDiskComponentInfoResult.h include/alibabacloud/emr/model/ListResourcePoolRequest.h include/alibabacloud/emr/model/ListResourcePoolResult.h include/alibabacloud/emr/model/ListRolesRequest.h @@ -403,22 +373,14 @@ set(emr_public_header_model include/alibabacloud/emr/model/ModifyScalingRuleResult.h include/alibabacloud/emr/model/ModifyScalingTaskGroupRequest.h include/alibabacloud/emr/model/ModifyScalingTaskGroupResult.h - include/alibabacloud/emr/model/QueryAlarmHistoryRequest.h - include/alibabacloud/emr/model/QueryAlarmHistoryResult.h include/alibabacloud/emr/model/QueryEntityRequest.h include/alibabacloud/emr/model/QueryEntityResult.h - include/alibabacloud/emr/model/QueryTableDataRequest.h - include/alibabacloud/emr/model/QueryTableDataResult.h include/alibabacloud/emr/model/QueryTagRequest.h include/alibabacloud/emr/model/QueryTagResult.h - include/alibabacloud/emr/model/QueryTrendDataRequest.h - include/alibabacloud/emr/model/QueryTrendDataResult.h include/alibabacloud/emr/model/RefreshClusterResourcePoolRequest.h include/alibabacloud/emr/model/RefreshClusterResourcePoolResult.h include/alibabacloud/emr/model/ReleaseClusterRequest.h include/alibabacloud/emr/model/ReleaseClusterResult.h - include/alibabacloud/emr/model/ReleaseClusterByTemplateTagForInternalRequest.h - include/alibabacloud/emr/model/ReleaseClusterByTemplateTagForInternalResult.h include/alibabacloud/emr/model/ReleaseClusterHostGroupRequest.h include/alibabacloud/emr/model/ReleaseClusterHostGroupResult.h include/alibabacloud/emr/model/RemoveScalingConfigItemV2Request.h @@ -427,10 +389,6 @@ set(emr_public_header_model include/alibabacloud/emr/model/RerunFlowResult.h include/alibabacloud/emr/model/ResizeClusterV2Request.h include/alibabacloud/emr/model/ResizeClusterV2Result.h - include/alibabacloud/emr/model/RestoreBackupRequest.h - include/alibabacloud/emr/model/RestoreBackupResult.h - include/alibabacloud/emr/model/RestoreFlowEntitySnapshotRequest.h - include/alibabacloud/emr/model/RestoreFlowEntitySnapshotResult.h include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerRequest.h include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerResult.h include/alibabacloud/emr/model/ResumeFlowRequest.h @@ -439,6 +397,8 @@ set(emr_public_header_model include/alibabacloud/emr/model/RetryOperationResult.h include/alibabacloud/emr/model/RunClusterServiceActionRequest.h include/alibabacloud/emr/model/RunClusterServiceActionResult.h + include/alibabacloud/emr/model/RunDiskOpsActivityRequest.h + include/alibabacloud/emr/model/RunDiskOpsActivityResult.h include/alibabacloud/emr/model/RunExecutionPlanRequest.h include/alibabacloud/emr/model/RunExecutionPlanResult.h include/alibabacloud/emr/model/RunScalingActionV2Request.h @@ -457,14 +417,10 @@ set(emr_public_header_model include/alibabacloud/emr/model/SuspendFlowResult.h include/alibabacloud/emr/model/TagResourcesRequest.h include/alibabacloud/emr/model/TagResourcesResult.h - include/alibabacloud/emr/model/TagResourcesSystemTagsRequest.h - include/alibabacloud/emr/model/TagResourcesSystemTagsResult.h include/alibabacloud/emr/model/UninstallLibrariesRequest.h include/alibabacloud/emr/model/UninstallLibrariesResult.h include/alibabacloud/emr/model/UntagResourcesRequest.h include/alibabacloud/emr/model/UntagResourcesResult.h - include/alibabacloud/emr/model/UntagResourcesSystemTagsRequest.h - include/alibabacloud/emr/model/UntagResourcesSystemTagsResult.h include/alibabacloud/emr/model/UpdateDataSourceRequest.h include/alibabacloud/emr/model/UpdateDataSourceResult.h include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusRequest.h @@ -484,20 +440,18 @@ set(emr_src src/model/AuthorizeSecurityGroupResult.cc src/model/CancelOrderRequest.cc src/model/CancelOrderResult.cc - src/model/CleanupFlowEntitySnapshotRequest.cc - src/model/CleanupFlowEntitySnapshotResult.cc src/model/CloneFlowRequest.cc src/model/CloneFlowResult.cc src/model/CloneFlowJobRequest.cc src/model/CloneFlowJobResult.cc - src/model/CommitFlowEntitySnapshotRequest.cc - src/model/CommitFlowEntitySnapshotResult.cc src/model/CreateBackupRequest.cc src/model/CreateBackupResult.cc src/model/CreateBackupPlanRequest.cc src/model/CreateBackupPlanResult.cc src/model/CreateClusterBootstrapActionRequest.cc src/model/CreateClusterBootstrapActionResult.cc + src/model/CreateClusterHostGroupRequest.cc + src/model/CreateClusterHostGroupResult.cc src/model/CreateClusterTemplateRequest.cc src/model/CreateClusterTemplateResult.cc src/model/CreateClusterV2Request.cc @@ -512,8 +466,6 @@ set(emr_src src/model/CreateFlowResult.cc src/model/CreateFlowCategoryRequest.cc src/model/CreateFlowCategoryResult.cc - src/model/CreateFlowEditLockRequest.cc - src/model/CreateFlowEditLockResult.cc src/model/CreateFlowForWebRequest.cc src/model/CreateFlowForWebResult.cc src/model/CreateFlowJobRequest.cc @@ -530,10 +482,6 @@ set(emr_src src/model/CreateLibraryResult.cc src/model/CreateMetaTablePreviewTaskRequest.cc src/model/CreateMetaTablePreviewTaskResult.cc - src/model/CreateNoteRequest.cc - src/model/CreateNoteResult.cc - src/model/CreateParagraphRequest.cc - src/model/CreateParagraphResult.cc src/model/CreateResourcePoolRequest.cc src/model/CreateResourcePoolResult.cc src/model/CreateResourceQueueRequest.cc @@ -558,8 +506,6 @@ set(emr_src src/model/DeleteFlowResult.cc src/model/DeleteFlowCategoryRequest.cc src/model/DeleteFlowCategoryResult.cc - src/model/DeleteFlowEditLockRequest.cc - src/model/DeleteFlowEditLockResult.cc src/model/DeleteFlowJobRequest.cc src/model/DeleteFlowJobResult.cc src/model/DeleteFlowProjectRequest.cc @@ -572,8 +518,6 @@ set(emr_src src/model/DeleteJobResult.cc src/model/DeleteLibrariesRequest.cc src/model/DeleteLibrariesResult.cc - src/model/DeleteNoteRequest.cc - src/model/DeleteNoteResult.cc src/model/DeleteResourcePoolRequest.cc src/model/DeleteResourcePoolResult.cc src/model/DeleteResourceQueueRequest.cc @@ -606,20 +550,18 @@ set(emr_src src/model/DescribeClusterV2Result.cc src/model/DescribeDataSourceRequest.cc src/model/DescribeDataSourceResult.cc + src/model/DescribeDiskOpsActivityRequest.cc + src/model/DescribeDiskOpsActivityResult.cc + src/model/DescribeEmrMainVersionRequest.cc + src/model/DescribeEmrMainVersionResult.cc src/model/DescribeExecutionPlanRequest.cc src/model/DescribeExecutionPlanResult.cc src/model/DescribeFlowRequest.cc src/model/DescribeFlowResult.cc - src/model/DescribeFlowAgentTokenRequest.cc - src/model/DescribeFlowAgentTokenResult.cc - src/model/DescribeFlowAgentUserRequest.cc - src/model/DescribeFlowAgentUserResult.cc src/model/DescribeFlowCategoryRequest.cc src/model/DescribeFlowCategoryResult.cc src/model/DescribeFlowCategoryTreeRequest.cc src/model/DescribeFlowCategoryTreeResult.cc - src/model/DescribeFlowEntitySnapshotRequest.cc - src/model/DescribeFlowEntitySnapshotResult.cc src/model/DescribeFlowInstanceRequest.cc src/model/DescribeFlowInstanceResult.cc src/model/DescribeFlowJobRequest.cc @@ -658,12 +600,6 @@ set(emr_src src/model/DescribeSecurityGroupAttributeResult.cc src/model/DetachAndReleaseClusterEniRequest.cc src/model/DetachAndReleaseClusterEniResult.cc - src/model/DiffFlowEntitySnapshotRequest.cc - src/model/DiffFlowEntitySnapshotResult.cc - src/model/DumpMetaDataSourceForOuterRequest.cc - src/model/DumpMetaDataSourceForOuterResult.cc - src/model/GetFlowEntityRelationGraphRequest.cc - src/model/GetFlowEntityRelationGraphResult.cc src/model/GetHdfsCapacityStatisticInfoRequest.cc src/model/GetHdfsCapacityStatisticInfoResult.cc src/model/GetJobInputStatisticInfoRequest.cc @@ -688,8 +624,6 @@ set(emr_src src/model/InstallLibrariesResult.cc src/model/JoinResourceGroupRequest.cc src/model/JoinResourceGroupResult.cc - src/model/KillExecutionJobInstanceRequest.cc - src/model/KillExecutionJobInstanceResult.cc src/model/KillFlowJobRequest.cc src/model/KillFlowJobResult.cc src/model/ListAdviceActionRequest.cc @@ -730,6 +664,8 @@ set(emr_src src/model/ListClustersResult.cc src/model/ListDataSourceRequest.cc src/model/ListDataSourceResult.cc + src/model/ListDiskOpsEventsRequest.cc + src/model/ListDiskOpsEventsResult.cc src/model/ListEmrAvailableConfigRequest.cc src/model/ListEmrAvailableConfigResult.cc src/model/ListEmrAvailableResourceRequest.cc @@ -738,8 +674,6 @@ set(emr_src src/model/ListEmrMainVersionResult.cc src/model/ListExecutionPlanInstancesRequest.cc src/model/ListExecutionPlanInstancesResult.cc - src/model/ListExecutionPlansRequest.cc - src/model/ListExecutionPlansResult.cc src/model/ListFlowRequest.cc src/model/ListFlowResult.cc src/model/ListFlowCategoryRequest.cc @@ -752,8 +686,6 @@ set(emr_src src/model/ListFlowClusterAllHostsResult.cc src/model/ListFlowClusterHostRequest.cc src/model/ListFlowClusterHostResult.cc - src/model/ListFlowEntitySnapshotRequest.cc - src/model/ListFlowEntitySnapshotResult.cc src/model/ListFlowInstanceRequest.cc src/model/ListFlowInstanceResult.cc src/model/ListFlowJobRequest.cc @@ -774,8 +706,6 @@ set(emr_src src/model/ListFlowProjectUserResult.cc src/model/ListJobExecutionInstancesRequest.cc src/model/ListJobExecutionInstancesResult.cc - src/model/ListJobInstanceWorkersRequest.cc - src/model/ListJobInstanceWorkersResult.cc src/model/ListJobsRequest.cc src/model/ListJobsResult.cc src/model/ListLibrariesRequest.cc @@ -784,12 +714,8 @@ set(emr_src src/model/ListLibraryInstallTasksResult.cc src/model/ListLibraryStatusRequest.cc src/model/ListLibraryStatusResult.cc - src/model/ListMetaClusterRequest.cc - src/model/ListMetaClusterResult.cc - src/model/ListMetaDataSourceClusterForOuterRequest.cc - src/model/ListMetaDataSourceClusterForOuterResult.cc - src/model/ListNotesRequest.cc - src/model/ListNotesResult.cc + src/model/ListLocalDiskComponentInfoRequest.cc + src/model/ListLocalDiskComponentInfoResult.cc src/model/ListResourcePoolRequest.cc src/model/ListResourcePoolResult.cc src/model/ListRolesRequest.cc @@ -858,22 +784,14 @@ set(emr_src src/model/ModifyScalingRuleResult.cc src/model/ModifyScalingTaskGroupRequest.cc src/model/ModifyScalingTaskGroupResult.cc - src/model/QueryAlarmHistoryRequest.cc - src/model/QueryAlarmHistoryResult.cc src/model/QueryEntityRequest.cc src/model/QueryEntityResult.cc - src/model/QueryTableDataRequest.cc - src/model/QueryTableDataResult.cc src/model/QueryTagRequest.cc src/model/QueryTagResult.cc - src/model/QueryTrendDataRequest.cc - src/model/QueryTrendDataResult.cc src/model/RefreshClusterResourcePoolRequest.cc src/model/RefreshClusterResourcePoolResult.cc src/model/ReleaseClusterRequest.cc src/model/ReleaseClusterResult.cc - src/model/ReleaseClusterByTemplateTagForInternalRequest.cc - src/model/ReleaseClusterByTemplateTagForInternalResult.cc src/model/ReleaseClusterHostGroupRequest.cc src/model/ReleaseClusterHostGroupResult.cc src/model/RemoveScalingConfigItemV2Request.cc @@ -882,10 +800,6 @@ set(emr_src src/model/RerunFlowResult.cc src/model/ResizeClusterV2Request.cc src/model/ResizeClusterV2Result.cc - src/model/RestoreBackupRequest.cc - src/model/RestoreBackupResult.cc - src/model/RestoreFlowEntitySnapshotRequest.cc - src/model/RestoreFlowEntitySnapshotResult.cc src/model/ResumeExecutionPlanSchedulerRequest.cc src/model/ResumeExecutionPlanSchedulerResult.cc src/model/ResumeFlowRequest.cc @@ -894,6 +808,8 @@ set(emr_src src/model/RetryOperationResult.cc src/model/RunClusterServiceActionRequest.cc src/model/RunClusterServiceActionResult.cc + src/model/RunDiskOpsActivityRequest.cc + src/model/RunDiskOpsActivityResult.cc src/model/RunExecutionPlanRequest.cc src/model/RunExecutionPlanResult.cc src/model/RunScalingActionV2Request.cc @@ -912,14 +828,10 @@ set(emr_src src/model/SuspendFlowResult.cc src/model/TagResourcesRequest.cc src/model/TagResourcesResult.cc - src/model/TagResourcesSystemTagsRequest.cc - src/model/TagResourcesSystemTagsResult.cc src/model/UninstallLibrariesRequest.cc src/model/UninstallLibrariesResult.cc src/model/UntagResourcesRequest.cc src/model/UntagResourcesResult.cc - src/model/UntagResourcesSystemTagsRequest.cc - src/model/UntagResourcesSystemTagsResult.cc src/model/UpdateDataSourceRequest.cc src/model/UpdateDataSourceResult.cc src/model/UpdateLibraryInstallTaskStatusRequest.cc diff --git a/emr/include/alibabacloud/emr/EmrClient.h b/emr/include/alibabacloud/emr/EmrClient.h index 0765f0a0a..e8becf8c6 100644 --- a/emr/include/alibabacloud/emr/EmrClient.h +++ b/emr/include/alibabacloud/emr/EmrClient.h @@ -30,20 +30,18 @@ #include "model/AuthorizeSecurityGroupResult.h" #include "model/CancelOrderRequest.h" #include "model/CancelOrderResult.h" -#include "model/CleanupFlowEntitySnapshotRequest.h" -#include "model/CleanupFlowEntitySnapshotResult.h" #include "model/CloneFlowRequest.h" #include "model/CloneFlowResult.h" #include "model/CloneFlowJobRequest.h" #include "model/CloneFlowJobResult.h" -#include "model/CommitFlowEntitySnapshotRequest.h" -#include "model/CommitFlowEntitySnapshotResult.h" #include "model/CreateBackupRequest.h" #include "model/CreateBackupResult.h" #include "model/CreateBackupPlanRequest.h" #include "model/CreateBackupPlanResult.h" #include "model/CreateClusterBootstrapActionRequest.h" #include "model/CreateClusterBootstrapActionResult.h" +#include "model/CreateClusterHostGroupRequest.h" +#include "model/CreateClusterHostGroupResult.h" #include "model/CreateClusterTemplateRequest.h" #include "model/CreateClusterTemplateResult.h" #include "model/CreateClusterV2Request.h" @@ -58,8 +56,6 @@ #include "model/CreateFlowResult.h" #include "model/CreateFlowCategoryRequest.h" #include "model/CreateFlowCategoryResult.h" -#include "model/CreateFlowEditLockRequest.h" -#include "model/CreateFlowEditLockResult.h" #include "model/CreateFlowForWebRequest.h" #include "model/CreateFlowForWebResult.h" #include "model/CreateFlowJobRequest.h" @@ -76,10 +72,6 @@ #include "model/CreateLibraryResult.h" #include "model/CreateMetaTablePreviewTaskRequest.h" #include "model/CreateMetaTablePreviewTaskResult.h" -#include "model/CreateNoteRequest.h" -#include "model/CreateNoteResult.h" -#include "model/CreateParagraphRequest.h" -#include "model/CreateParagraphResult.h" #include "model/CreateResourcePoolRequest.h" #include "model/CreateResourcePoolResult.h" #include "model/CreateResourceQueueRequest.h" @@ -104,8 +96,6 @@ #include "model/DeleteFlowResult.h" #include "model/DeleteFlowCategoryRequest.h" #include "model/DeleteFlowCategoryResult.h" -#include "model/DeleteFlowEditLockRequest.h" -#include "model/DeleteFlowEditLockResult.h" #include "model/DeleteFlowJobRequest.h" #include "model/DeleteFlowJobResult.h" #include "model/DeleteFlowProjectRequest.h" @@ -118,8 +108,6 @@ #include "model/DeleteJobResult.h" #include "model/DeleteLibrariesRequest.h" #include "model/DeleteLibrariesResult.h" -#include "model/DeleteNoteRequest.h" -#include "model/DeleteNoteResult.h" #include "model/DeleteResourcePoolRequest.h" #include "model/DeleteResourcePoolResult.h" #include "model/DeleteResourceQueueRequest.h" @@ -152,20 +140,18 @@ #include "model/DescribeClusterV2Result.h" #include "model/DescribeDataSourceRequest.h" #include "model/DescribeDataSourceResult.h" +#include "model/DescribeDiskOpsActivityRequest.h" +#include "model/DescribeDiskOpsActivityResult.h" +#include "model/DescribeEmrMainVersionRequest.h" +#include "model/DescribeEmrMainVersionResult.h" #include "model/DescribeExecutionPlanRequest.h" #include "model/DescribeExecutionPlanResult.h" #include "model/DescribeFlowRequest.h" #include "model/DescribeFlowResult.h" -#include "model/DescribeFlowAgentTokenRequest.h" -#include "model/DescribeFlowAgentTokenResult.h" -#include "model/DescribeFlowAgentUserRequest.h" -#include "model/DescribeFlowAgentUserResult.h" #include "model/DescribeFlowCategoryRequest.h" #include "model/DescribeFlowCategoryResult.h" #include "model/DescribeFlowCategoryTreeRequest.h" #include "model/DescribeFlowCategoryTreeResult.h" -#include "model/DescribeFlowEntitySnapshotRequest.h" -#include "model/DescribeFlowEntitySnapshotResult.h" #include "model/DescribeFlowInstanceRequest.h" #include "model/DescribeFlowInstanceResult.h" #include "model/DescribeFlowJobRequest.h" @@ -204,12 +190,6 @@ #include "model/DescribeSecurityGroupAttributeResult.h" #include "model/DetachAndReleaseClusterEniRequest.h" #include "model/DetachAndReleaseClusterEniResult.h" -#include "model/DiffFlowEntitySnapshotRequest.h" -#include "model/DiffFlowEntitySnapshotResult.h" -#include "model/DumpMetaDataSourceForOuterRequest.h" -#include "model/DumpMetaDataSourceForOuterResult.h" -#include "model/GetFlowEntityRelationGraphRequest.h" -#include "model/GetFlowEntityRelationGraphResult.h" #include "model/GetHdfsCapacityStatisticInfoRequest.h" #include "model/GetHdfsCapacityStatisticInfoResult.h" #include "model/GetJobInputStatisticInfoRequest.h" @@ -234,8 +214,6 @@ #include "model/InstallLibrariesResult.h" #include "model/JoinResourceGroupRequest.h" #include "model/JoinResourceGroupResult.h" -#include "model/KillExecutionJobInstanceRequest.h" -#include "model/KillExecutionJobInstanceResult.h" #include "model/KillFlowJobRequest.h" #include "model/KillFlowJobResult.h" #include "model/ListAdviceActionRequest.h" @@ -276,6 +254,8 @@ #include "model/ListClustersResult.h" #include "model/ListDataSourceRequest.h" #include "model/ListDataSourceResult.h" +#include "model/ListDiskOpsEventsRequest.h" +#include "model/ListDiskOpsEventsResult.h" #include "model/ListEmrAvailableConfigRequest.h" #include "model/ListEmrAvailableConfigResult.h" #include "model/ListEmrAvailableResourceRequest.h" @@ -284,8 +264,6 @@ #include "model/ListEmrMainVersionResult.h" #include "model/ListExecutionPlanInstancesRequest.h" #include "model/ListExecutionPlanInstancesResult.h" -#include "model/ListExecutionPlansRequest.h" -#include "model/ListExecutionPlansResult.h" #include "model/ListFlowRequest.h" #include "model/ListFlowResult.h" #include "model/ListFlowCategoryRequest.h" @@ -298,8 +276,6 @@ #include "model/ListFlowClusterAllHostsResult.h" #include "model/ListFlowClusterHostRequest.h" #include "model/ListFlowClusterHostResult.h" -#include "model/ListFlowEntitySnapshotRequest.h" -#include "model/ListFlowEntitySnapshotResult.h" #include "model/ListFlowInstanceRequest.h" #include "model/ListFlowInstanceResult.h" #include "model/ListFlowJobRequest.h" @@ -320,8 +296,6 @@ #include "model/ListFlowProjectUserResult.h" #include "model/ListJobExecutionInstancesRequest.h" #include "model/ListJobExecutionInstancesResult.h" -#include "model/ListJobInstanceWorkersRequest.h" -#include "model/ListJobInstanceWorkersResult.h" #include "model/ListJobsRequest.h" #include "model/ListJobsResult.h" #include "model/ListLibrariesRequest.h" @@ -330,12 +304,8 @@ #include "model/ListLibraryInstallTasksResult.h" #include "model/ListLibraryStatusRequest.h" #include "model/ListLibraryStatusResult.h" -#include "model/ListMetaClusterRequest.h" -#include "model/ListMetaClusterResult.h" -#include "model/ListMetaDataSourceClusterForOuterRequest.h" -#include "model/ListMetaDataSourceClusterForOuterResult.h" -#include "model/ListNotesRequest.h" -#include "model/ListNotesResult.h" +#include "model/ListLocalDiskComponentInfoRequest.h" +#include "model/ListLocalDiskComponentInfoResult.h" #include "model/ListResourcePoolRequest.h" #include "model/ListResourcePoolResult.h" #include "model/ListRolesRequest.h" @@ -404,22 +374,14 @@ #include "model/ModifyScalingRuleResult.h" #include "model/ModifyScalingTaskGroupRequest.h" #include "model/ModifyScalingTaskGroupResult.h" -#include "model/QueryAlarmHistoryRequest.h" -#include "model/QueryAlarmHistoryResult.h" #include "model/QueryEntityRequest.h" #include "model/QueryEntityResult.h" -#include "model/QueryTableDataRequest.h" -#include "model/QueryTableDataResult.h" #include "model/QueryTagRequest.h" #include "model/QueryTagResult.h" -#include "model/QueryTrendDataRequest.h" -#include "model/QueryTrendDataResult.h" #include "model/RefreshClusterResourcePoolRequest.h" #include "model/RefreshClusterResourcePoolResult.h" #include "model/ReleaseClusterRequest.h" #include "model/ReleaseClusterResult.h" -#include "model/ReleaseClusterByTemplateTagForInternalRequest.h" -#include "model/ReleaseClusterByTemplateTagForInternalResult.h" #include "model/ReleaseClusterHostGroupRequest.h" #include "model/ReleaseClusterHostGroupResult.h" #include "model/RemoveScalingConfigItemV2Request.h" @@ -428,10 +390,6 @@ #include "model/RerunFlowResult.h" #include "model/ResizeClusterV2Request.h" #include "model/ResizeClusterV2Result.h" -#include "model/RestoreBackupRequest.h" -#include "model/RestoreBackupResult.h" -#include "model/RestoreFlowEntitySnapshotRequest.h" -#include "model/RestoreFlowEntitySnapshotResult.h" #include "model/ResumeExecutionPlanSchedulerRequest.h" #include "model/ResumeExecutionPlanSchedulerResult.h" #include "model/ResumeFlowRequest.h" @@ -440,6 +398,8 @@ #include "model/RetryOperationResult.h" #include "model/RunClusterServiceActionRequest.h" #include "model/RunClusterServiceActionResult.h" +#include "model/RunDiskOpsActivityRequest.h" +#include "model/RunDiskOpsActivityResult.h" #include "model/RunExecutionPlanRequest.h" #include "model/RunExecutionPlanResult.h" #include "model/RunScalingActionV2Request.h" @@ -458,14 +418,10 @@ #include "model/SuspendFlowResult.h" #include "model/TagResourcesRequest.h" #include "model/TagResourcesResult.h" -#include "model/TagResourcesSystemTagsRequest.h" -#include "model/TagResourcesSystemTagsResult.h" #include "model/UninstallLibrariesRequest.h" #include "model/UninstallLibrariesResult.h" #include "model/UntagResourcesRequest.h" #include "model/UntagResourcesResult.h" -#include "model/UntagResourcesSystemTagsRequest.h" -#include "model/UntagResourcesSystemTagsResult.h" #include "model/UpdateDataSourceRequest.h" #include "model/UpdateDataSourceResult.h" #include "model/UpdateLibraryInstallTaskStatusRequest.h" @@ -495,18 +451,12 @@ namespace AlibabaCloud typedef Outcome CancelOrderOutcome; typedef std::future CancelOrderOutcomeCallable; typedef std::function&)> CancelOrderAsyncHandler; - typedef Outcome CleanupFlowEntitySnapshotOutcome; - typedef std::future CleanupFlowEntitySnapshotOutcomeCallable; - typedef std::function&)> CleanupFlowEntitySnapshotAsyncHandler; typedef Outcome CloneFlowOutcome; typedef std::future CloneFlowOutcomeCallable; typedef std::function&)> CloneFlowAsyncHandler; typedef Outcome CloneFlowJobOutcome; typedef std::future CloneFlowJobOutcomeCallable; typedef std::function&)> CloneFlowJobAsyncHandler; - typedef Outcome CommitFlowEntitySnapshotOutcome; - typedef std::future CommitFlowEntitySnapshotOutcomeCallable; - typedef std::function&)> CommitFlowEntitySnapshotAsyncHandler; typedef Outcome CreateBackupOutcome; typedef std::future CreateBackupOutcomeCallable; typedef std::function&)> CreateBackupAsyncHandler; @@ -516,6 +466,9 @@ namespace AlibabaCloud 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; @@ -537,9 +490,6 @@ namespace AlibabaCloud typedef Outcome CreateFlowCategoryOutcome; typedef std::future CreateFlowCategoryOutcomeCallable; typedef std::function&)> CreateFlowCategoryAsyncHandler; - typedef Outcome CreateFlowEditLockOutcome; - typedef std::future CreateFlowEditLockOutcomeCallable; - typedef std::function&)> CreateFlowEditLockAsyncHandler; typedef Outcome CreateFlowForWebOutcome; typedef std::future CreateFlowForWebOutcomeCallable; typedef std::function&)> CreateFlowForWebAsyncHandler; @@ -564,12 +514,6 @@ namespace AlibabaCloud typedef Outcome CreateMetaTablePreviewTaskOutcome; typedef std::future CreateMetaTablePreviewTaskOutcomeCallable; typedef std::function&)> CreateMetaTablePreviewTaskAsyncHandler; - typedef Outcome CreateNoteOutcome; - typedef std::future CreateNoteOutcomeCallable; - typedef std::function&)> CreateNoteAsyncHandler; - typedef Outcome CreateParagraphOutcome; - typedef std::future CreateParagraphOutcomeCallable; - typedef std::function&)> CreateParagraphAsyncHandler; typedef Outcome CreateResourcePoolOutcome; typedef std::future CreateResourcePoolOutcomeCallable; typedef std::function&)> CreateResourcePoolAsyncHandler; @@ -606,9 +550,6 @@ namespace AlibabaCloud typedef Outcome DeleteFlowCategoryOutcome; typedef std::future DeleteFlowCategoryOutcomeCallable; typedef std::function&)> DeleteFlowCategoryAsyncHandler; - typedef Outcome DeleteFlowEditLockOutcome; - typedef std::future DeleteFlowEditLockOutcomeCallable; - typedef std::function&)> DeleteFlowEditLockAsyncHandler; typedef Outcome DeleteFlowJobOutcome; typedef std::future DeleteFlowJobOutcomeCallable; typedef std::function&)> DeleteFlowJobAsyncHandler; @@ -627,9 +568,6 @@ namespace AlibabaCloud typedef Outcome DeleteLibrariesOutcome; typedef std::future DeleteLibrariesOutcomeCallable; typedef std::function&)> DeleteLibrariesAsyncHandler; - typedef Outcome DeleteNoteOutcome; - typedef std::future DeleteNoteOutcomeCallable; - typedef std::function&)> DeleteNoteAsyncHandler; typedef Outcome DeleteResourcePoolOutcome; typedef std::future DeleteResourcePoolOutcomeCallable; typedef std::function&)> DeleteResourcePoolAsyncHandler; @@ -678,27 +616,24 @@ namespace AlibabaCloud 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; - typedef Outcome DescribeFlowAgentTokenOutcome; - typedef std::future DescribeFlowAgentTokenOutcomeCallable; - typedef std::function&)> DescribeFlowAgentTokenAsyncHandler; - typedef Outcome DescribeFlowAgentUserOutcome; - typedef std::future DescribeFlowAgentUserOutcomeCallable; - typedef std::function&)> DescribeFlowAgentUserAsyncHandler; typedef Outcome DescribeFlowCategoryOutcome; typedef std::future DescribeFlowCategoryOutcomeCallable; typedef std::function&)> DescribeFlowCategoryAsyncHandler; typedef Outcome DescribeFlowCategoryTreeOutcome; typedef std::future DescribeFlowCategoryTreeOutcomeCallable; typedef std::function&)> DescribeFlowCategoryTreeAsyncHandler; - typedef Outcome DescribeFlowEntitySnapshotOutcome; - typedef std::future DescribeFlowEntitySnapshotOutcomeCallable; - typedef std::function&)> DescribeFlowEntitySnapshotAsyncHandler; typedef Outcome DescribeFlowInstanceOutcome; typedef std::future DescribeFlowInstanceOutcomeCallable; typedef std::function&)> DescribeFlowInstanceAsyncHandler; @@ -756,15 +691,6 @@ namespace AlibabaCloud typedef Outcome DetachAndReleaseClusterEniOutcome; typedef std::future DetachAndReleaseClusterEniOutcomeCallable; typedef std::function&)> DetachAndReleaseClusterEniAsyncHandler; - typedef Outcome DiffFlowEntitySnapshotOutcome; - typedef std::future DiffFlowEntitySnapshotOutcomeCallable; - typedef std::function&)> DiffFlowEntitySnapshotAsyncHandler; - typedef Outcome DumpMetaDataSourceForOuterOutcome; - typedef std::future DumpMetaDataSourceForOuterOutcomeCallable; - typedef std::function&)> DumpMetaDataSourceForOuterAsyncHandler; - typedef Outcome GetFlowEntityRelationGraphOutcome; - typedef std::future GetFlowEntityRelationGraphOutcomeCallable; - typedef std::function&)> GetFlowEntityRelationGraphAsyncHandler; typedef Outcome GetHdfsCapacityStatisticInfoOutcome; typedef std::future GetHdfsCapacityStatisticInfoOutcomeCallable; typedef std::function&)> GetHdfsCapacityStatisticInfoAsyncHandler; @@ -801,9 +727,6 @@ namespace AlibabaCloud typedef Outcome JoinResourceGroupOutcome; typedef std::future JoinResourceGroupOutcomeCallable; typedef std::function&)> JoinResourceGroupAsyncHandler; - typedef Outcome KillExecutionJobInstanceOutcome; - typedef std::future KillExecutionJobInstanceOutcomeCallable; - typedef std::function&)> KillExecutionJobInstanceAsyncHandler; typedef Outcome KillFlowJobOutcome; typedef std::future KillFlowJobOutcomeCallable; typedef std::function&)> KillFlowJobAsyncHandler; @@ -864,6 +787,9 @@ namespace AlibabaCloud 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; @@ -876,9 +802,6 @@ namespace AlibabaCloud typedef Outcome ListExecutionPlanInstancesOutcome; typedef std::future ListExecutionPlanInstancesOutcomeCallable; typedef std::function&)> ListExecutionPlanInstancesAsyncHandler; - typedef Outcome ListExecutionPlansOutcome; - typedef std::future ListExecutionPlansOutcomeCallable; - typedef std::function&)> ListExecutionPlansAsyncHandler; typedef Outcome ListFlowOutcome; typedef std::future ListFlowOutcomeCallable; typedef std::function&)> ListFlowAsyncHandler; @@ -897,9 +820,6 @@ namespace AlibabaCloud typedef Outcome ListFlowClusterHostOutcome; typedef std::future ListFlowClusterHostOutcomeCallable; typedef std::function&)> ListFlowClusterHostAsyncHandler; - typedef Outcome ListFlowEntitySnapshotOutcome; - typedef std::future ListFlowEntitySnapshotOutcomeCallable; - typedef std::function&)> ListFlowEntitySnapshotAsyncHandler; typedef Outcome ListFlowInstanceOutcome; typedef std::future ListFlowInstanceOutcomeCallable; typedef std::function&)> ListFlowInstanceAsyncHandler; @@ -930,9 +850,6 @@ namespace AlibabaCloud typedef Outcome ListJobExecutionInstancesOutcome; typedef std::future ListJobExecutionInstancesOutcomeCallable; typedef std::function&)> ListJobExecutionInstancesAsyncHandler; - typedef Outcome ListJobInstanceWorkersOutcome; - typedef std::future ListJobInstanceWorkersOutcomeCallable; - typedef std::function&)> ListJobInstanceWorkersAsyncHandler; typedef Outcome ListJobsOutcome; typedef std::future ListJobsOutcomeCallable; typedef std::function&)> ListJobsAsyncHandler; @@ -945,15 +862,9 @@ namespace AlibabaCloud typedef Outcome ListLibraryStatusOutcome; typedef std::future ListLibraryStatusOutcomeCallable; typedef std::function&)> ListLibraryStatusAsyncHandler; - typedef Outcome ListMetaClusterOutcome; - typedef std::future ListMetaClusterOutcomeCallable; - typedef std::function&)> ListMetaClusterAsyncHandler; - typedef Outcome ListMetaDataSourceClusterForOuterOutcome; - typedef std::future ListMetaDataSourceClusterForOuterOutcomeCallable; - typedef std::function&)> ListMetaDataSourceClusterForOuterAsyncHandler; - typedef Outcome ListNotesOutcome; - typedef std::future ListNotesOutcomeCallable; - typedef std::function&)> ListNotesAsyncHandler; + typedef Outcome ListLocalDiskComponentInfoOutcome; + typedef std::future ListLocalDiskComponentInfoOutcomeCallable; + typedef std::function&)> ListLocalDiskComponentInfoAsyncHandler; typedef Outcome ListResourcePoolOutcome; typedef std::future ListResourcePoolOutcomeCallable; typedef std::function&)> ListResourcePoolAsyncHandler; @@ -1056,30 +967,18 @@ namespace AlibabaCloud typedef Outcome ModifyScalingTaskGroupOutcome; typedef std::future ModifyScalingTaskGroupOutcomeCallable; typedef std::function&)> ModifyScalingTaskGroupAsyncHandler; - typedef Outcome QueryAlarmHistoryOutcome; - typedef std::future QueryAlarmHistoryOutcomeCallable; - typedef std::function&)> QueryAlarmHistoryAsyncHandler; typedef Outcome QueryEntityOutcome; typedef std::future QueryEntityOutcomeCallable; typedef std::function&)> QueryEntityAsyncHandler; - typedef Outcome QueryTableDataOutcome; - typedef std::future QueryTableDataOutcomeCallable; - typedef std::function&)> QueryTableDataAsyncHandler; typedef Outcome QueryTagOutcome; typedef std::future QueryTagOutcomeCallable; typedef std::function&)> QueryTagAsyncHandler; - typedef Outcome QueryTrendDataOutcome; - typedef std::future QueryTrendDataOutcomeCallable; - typedef std::function&)> QueryTrendDataAsyncHandler; typedef Outcome RefreshClusterResourcePoolOutcome; typedef std::future RefreshClusterResourcePoolOutcomeCallable; typedef std::function&)> RefreshClusterResourcePoolAsyncHandler; typedef Outcome ReleaseClusterOutcome; typedef std::future ReleaseClusterOutcomeCallable; typedef std::function&)> ReleaseClusterAsyncHandler; - typedef Outcome ReleaseClusterByTemplateTagForInternalOutcome; - typedef std::future ReleaseClusterByTemplateTagForInternalOutcomeCallable; - typedef std::function&)> ReleaseClusterByTemplateTagForInternalAsyncHandler; typedef Outcome ReleaseClusterHostGroupOutcome; typedef std::future ReleaseClusterHostGroupOutcomeCallable; typedef std::function&)> ReleaseClusterHostGroupAsyncHandler; @@ -1092,12 +991,6 @@ namespace AlibabaCloud typedef Outcome ResizeClusterV2Outcome; typedef std::future ResizeClusterV2OutcomeCallable; typedef std::function&)> ResizeClusterV2AsyncHandler; - typedef Outcome RestoreBackupOutcome; - typedef std::future RestoreBackupOutcomeCallable; - typedef std::function&)> RestoreBackupAsyncHandler; - typedef Outcome RestoreFlowEntitySnapshotOutcome; - typedef std::future RestoreFlowEntitySnapshotOutcomeCallable; - typedef std::function&)> RestoreFlowEntitySnapshotAsyncHandler; typedef Outcome ResumeExecutionPlanSchedulerOutcome; typedef std::future ResumeExecutionPlanSchedulerOutcomeCallable; typedef std::function&)> ResumeExecutionPlanSchedulerAsyncHandler; @@ -1110,6 +1003,9 @@ namespace AlibabaCloud 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; @@ -1137,18 +1033,12 @@ namespace AlibabaCloud typedef Outcome TagResourcesOutcome; typedef std::future TagResourcesOutcomeCallable; typedef std::function&)> TagResourcesAsyncHandler; - typedef Outcome TagResourcesSystemTagsOutcome; - typedef std::future TagResourcesSystemTagsOutcomeCallable; - typedef std::function&)> TagResourcesSystemTagsAsyncHandler; typedef Outcome UninstallLibrariesOutcome; typedef std::future UninstallLibrariesOutcomeCallable; typedef std::function&)> UninstallLibrariesAsyncHandler; typedef Outcome UntagResourcesOutcome; typedef std::future UntagResourcesOutcomeCallable; typedef std::function&)> UntagResourcesAsyncHandler; - typedef Outcome UntagResourcesSystemTagsOutcome; - typedef std::future UntagResourcesSystemTagsOutcomeCallable; - typedef std::function&)> UntagResourcesSystemTagsAsyncHandler; typedef Outcome UpdateDataSourceOutcome; typedef std::future UpdateDataSourceOutcomeCallable; typedef std::function&)> UpdateDataSourceAsyncHandler; @@ -1178,18 +1068,12 @@ namespace AlibabaCloud CancelOrderOutcome cancelOrder(const Model::CancelOrderRequest &request)const; void cancelOrderAsync(const Model::CancelOrderRequest& request, const CancelOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CancelOrderOutcomeCallable cancelOrderCallable(const Model::CancelOrderRequest& request) const; - CleanupFlowEntitySnapshotOutcome cleanupFlowEntitySnapshot(const Model::CleanupFlowEntitySnapshotRequest &request)const; - void cleanupFlowEntitySnapshotAsync(const Model::CleanupFlowEntitySnapshotRequest& request, const CleanupFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CleanupFlowEntitySnapshotOutcomeCallable cleanupFlowEntitySnapshotCallable(const Model::CleanupFlowEntitySnapshotRequest& request) const; CloneFlowOutcome cloneFlow(const Model::CloneFlowRequest &request)const; void cloneFlowAsync(const Model::CloneFlowRequest& request, const CloneFlowAsyncHandler& handler, const std::shared_ptr& 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; - CommitFlowEntitySnapshotOutcome commitFlowEntitySnapshot(const Model::CommitFlowEntitySnapshotRequest &request)const; - void commitFlowEntitySnapshotAsync(const Model::CommitFlowEntitySnapshotRequest& request, const CommitFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CommitFlowEntitySnapshotOutcomeCallable commitFlowEntitySnapshotCallable(const Model::CommitFlowEntitySnapshotRequest& request) const; CreateBackupOutcome createBackup(const Model::CreateBackupRequest &request)const; void createBackupAsync(const Model::CreateBackupRequest& request, const CreateBackupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateBackupOutcomeCallable createBackupCallable(const Model::CreateBackupRequest& request) const; @@ -1199,6 +1083,9 @@ namespace AlibabaCloud CreateClusterBootstrapActionOutcome createClusterBootstrapAction(const Model::CreateClusterBootstrapActionRequest &request)const; void createClusterBootstrapActionAsync(const Model::CreateClusterBootstrapActionRequest& request, const CreateClusterBootstrapActionAsyncHandler& handler, const std::shared_ptr& 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; @@ -1220,9 +1107,6 @@ namespace AlibabaCloud CreateFlowCategoryOutcome createFlowCategory(const Model::CreateFlowCategoryRequest &request)const; void createFlowCategoryAsync(const Model::CreateFlowCategoryRequest& request, const CreateFlowCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateFlowCategoryOutcomeCallable createFlowCategoryCallable(const Model::CreateFlowCategoryRequest& request) const; - CreateFlowEditLockOutcome createFlowEditLock(const Model::CreateFlowEditLockRequest &request)const; - void createFlowEditLockAsync(const Model::CreateFlowEditLockRequest& request, const CreateFlowEditLockAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateFlowEditLockOutcomeCallable createFlowEditLockCallable(const Model::CreateFlowEditLockRequest& request) const; CreateFlowForWebOutcome createFlowForWeb(const Model::CreateFlowForWebRequest &request)const; void createFlowForWebAsync(const Model::CreateFlowForWebRequest& request, const CreateFlowForWebAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateFlowForWebOutcomeCallable createFlowForWebCallable(const Model::CreateFlowForWebRequest& request) const; @@ -1247,12 +1131,6 @@ namespace AlibabaCloud CreateMetaTablePreviewTaskOutcome createMetaTablePreviewTask(const Model::CreateMetaTablePreviewTaskRequest &request)const; void createMetaTablePreviewTaskAsync(const Model::CreateMetaTablePreviewTaskRequest& request, const CreateMetaTablePreviewTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateMetaTablePreviewTaskOutcomeCallable createMetaTablePreviewTaskCallable(const Model::CreateMetaTablePreviewTaskRequest& request) const; - CreateNoteOutcome createNote(const Model::CreateNoteRequest &request)const; - void createNoteAsync(const Model::CreateNoteRequest& request, const CreateNoteAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateNoteOutcomeCallable createNoteCallable(const Model::CreateNoteRequest& request) const; - CreateParagraphOutcome createParagraph(const Model::CreateParagraphRequest &request)const; - void createParagraphAsync(const Model::CreateParagraphRequest& request, const CreateParagraphAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateParagraphOutcomeCallable createParagraphCallable(const Model::CreateParagraphRequest& request) const; CreateResourcePoolOutcome createResourcePool(const Model::CreateResourcePoolRequest &request)const; void createResourcePoolAsync(const Model::CreateResourcePoolRequest& request, const CreateResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateResourcePoolOutcomeCallable createResourcePoolCallable(const Model::CreateResourcePoolRequest& request) const; @@ -1289,9 +1167,6 @@ namespace AlibabaCloud DeleteFlowCategoryOutcome deleteFlowCategory(const Model::DeleteFlowCategoryRequest &request)const; void deleteFlowCategoryAsync(const Model::DeleteFlowCategoryRequest& request, const DeleteFlowCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFlowCategoryOutcomeCallable deleteFlowCategoryCallable(const Model::DeleteFlowCategoryRequest& request) const; - DeleteFlowEditLockOutcome deleteFlowEditLock(const Model::DeleteFlowEditLockRequest &request)const; - void deleteFlowEditLockAsync(const Model::DeleteFlowEditLockRequest& request, const DeleteFlowEditLockAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteFlowEditLockOutcomeCallable deleteFlowEditLockCallable(const Model::DeleteFlowEditLockRequest& request) const; DeleteFlowJobOutcome deleteFlowJob(const Model::DeleteFlowJobRequest &request)const; void deleteFlowJobAsync(const Model::DeleteFlowJobRequest& request, const DeleteFlowJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFlowJobOutcomeCallable deleteFlowJobCallable(const Model::DeleteFlowJobRequest& request) const; @@ -1310,9 +1185,6 @@ namespace AlibabaCloud DeleteLibrariesOutcome deleteLibraries(const Model::DeleteLibrariesRequest &request)const; void deleteLibrariesAsync(const Model::DeleteLibrariesRequest& request, const DeleteLibrariesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLibrariesOutcomeCallable deleteLibrariesCallable(const Model::DeleteLibrariesRequest& request) const; - DeleteNoteOutcome deleteNote(const Model::DeleteNoteRequest &request)const; - void deleteNoteAsync(const Model::DeleteNoteRequest& request, const DeleteNoteAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteNoteOutcomeCallable deleteNoteCallable(const Model::DeleteNoteRequest& request) const; DeleteResourcePoolOutcome deleteResourcePool(const Model::DeleteResourcePoolRequest &request)const; void deleteResourcePoolAsync(const Model::DeleteResourcePoolRequest& request, const DeleteResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteResourcePoolOutcomeCallable deleteResourcePoolCallable(const Model::DeleteResourcePoolRequest& request) const; @@ -1361,27 +1233,24 @@ namespace AlibabaCloud DescribeDataSourceOutcome describeDataSource(const Model::DescribeDataSourceRequest &request)const; void describeDataSourceAsync(const Model::DescribeDataSourceRequest& request, const DescribeDataSourceAsyncHandler& handler, const std::shared_ptr& 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; - DescribeFlowAgentTokenOutcome describeFlowAgentToken(const Model::DescribeFlowAgentTokenRequest &request)const; - void describeFlowAgentTokenAsync(const Model::DescribeFlowAgentTokenRequest& request, const DescribeFlowAgentTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeFlowAgentTokenOutcomeCallable describeFlowAgentTokenCallable(const Model::DescribeFlowAgentTokenRequest& request) const; - DescribeFlowAgentUserOutcome describeFlowAgentUser(const Model::DescribeFlowAgentUserRequest &request)const; - void describeFlowAgentUserAsync(const Model::DescribeFlowAgentUserRequest& request, const DescribeFlowAgentUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeFlowAgentUserOutcomeCallable describeFlowAgentUserCallable(const Model::DescribeFlowAgentUserRequest& request) const; DescribeFlowCategoryOutcome describeFlowCategory(const Model::DescribeFlowCategoryRequest &request)const; void describeFlowCategoryAsync(const Model::DescribeFlowCategoryRequest& request, const DescribeFlowCategoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeFlowCategoryOutcomeCallable describeFlowCategoryCallable(const Model::DescribeFlowCategoryRequest& request) const; DescribeFlowCategoryTreeOutcome describeFlowCategoryTree(const Model::DescribeFlowCategoryTreeRequest &request)const; void describeFlowCategoryTreeAsync(const Model::DescribeFlowCategoryTreeRequest& request, const DescribeFlowCategoryTreeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeFlowCategoryTreeOutcomeCallable describeFlowCategoryTreeCallable(const Model::DescribeFlowCategoryTreeRequest& request) const; - DescribeFlowEntitySnapshotOutcome describeFlowEntitySnapshot(const Model::DescribeFlowEntitySnapshotRequest &request)const; - void describeFlowEntitySnapshotAsync(const Model::DescribeFlowEntitySnapshotRequest& request, const DescribeFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeFlowEntitySnapshotOutcomeCallable describeFlowEntitySnapshotCallable(const Model::DescribeFlowEntitySnapshotRequest& request) const; DescribeFlowInstanceOutcome describeFlowInstance(const Model::DescribeFlowInstanceRequest &request)const; void describeFlowInstanceAsync(const Model::DescribeFlowInstanceRequest& request, const DescribeFlowInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeFlowInstanceOutcomeCallable describeFlowInstanceCallable(const Model::DescribeFlowInstanceRequest& request) const; @@ -1439,15 +1308,6 @@ namespace AlibabaCloud DetachAndReleaseClusterEniOutcome detachAndReleaseClusterEni(const Model::DetachAndReleaseClusterEniRequest &request)const; void detachAndReleaseClusterEniAsync(const Model::DetachAndReleaseClusterEniRequest& request, const DetachAndReleaseClusterEniAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DetachAndReleaseClusterEniOutcomeCallable detachAndReleaseClusterEniCallable(const Model::DetachAndReleaseClusterEniRequest& request) const; - DiffFlowEntitySnapshotOutcome diffFlowEntitySnapshot(const Model::DiffFlowEntitySnapshotRequest &request)const; - void diffFlowEntitySnapshotAsync(const Model::DiffFlowEntitySnapshotRequest& request, const DiffFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DiffFlowEntitySnapshotOutcomeCallable diffFlowEntitySnapshotCallable(const Model::DiffFlowEntitySnapshotRequest& request) const; - DumpMetaDataSourceForOuterOutcome dumpMetaDataSourceForOuter(const Model::DumpMetaDataSourceForOuterRequest &request)const; - void dumpMetaDataSourceForOuterAsync(const Model::DumpMetaDataSourceForOuterRequest& request, const DumpMetaDataSourceForOuterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DumpMetaDataSourceForOuterOutcomeCallable dumpMetaDataSourceForOuterCallable(const Model::DumpMetaDataSourceForOuterRequest& request) const; - GetFlowEntityRelationGraphOutcome getFlowEntityRelationGraph(const Model::GetFlowEntityRelationGraphRequest &request)const; - void getFlowEntityRelationGraphAsync(const Model::GetFlowEntityRelationGraphRequest& request, const GetFlowEntityRelationGraphAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetFlowEntityRelationGraphOutcomeCallable getFlowEntityRelationGraphCallable(const Model::GetFlowEntityRelationGraphRequest& request) const; GetHdfsCapacityStatisticInfoOutcome getHdfsCapacityStatisticInfo(const Model::GetHdfsCapacityStatisticInfoRequest &request)const; void getHdfsCapacityStatisticInfoAsync(const Model::GetHdfsCapacityStatisticInfoRequest& request, const GetHdfsCapacityStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetHdfsCapacityStatisticInfoOutcomeCallable getHdfsCapacityStatisticInfoCallable(const Model::GetHdfsCapacityStatisticInfoRequest& request) const; @@ -1484,9 +1344,6 @@ namespace AlibabaCloud JoinResourceGroupOutcome joinResourceGroup(const Model::JoinResourceGroupRequest &request)const; void joinResourceGroupAsync(const Model::JoinResourceGroupRequest& request, const JoinResourceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; JoinResourceGroupOutcomeCallable joinResourceGroupCallable(const Model::JoinResourceGroupRequest& request) const; - KillExecutionJobInstanceOutcome killExecutionJobInstance(const Model::KillExecutionJobInstanceRequest &request)const; - void killExecutionJobInstanceAsync(const Model::KillExecutionJobInstanceRequest& request, const KillExecutionJobInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - KillExecutionJobInstanceOutcomeCallable killExecutionJobInstanceCallable(const Model::KillExecutionJobInstanceRequest& request) const; KillFlowJobOutcome killFlowJob(const Model::KillFlowJobRequest &request)const; void killFlowJobAsync(const Model::KillFlowJobRequest& request, const KillFlowJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; KillFlowJobOutcomeCallable killFlowJobCallable(const Model::KillFlowJobRequest& request) const; @@ -1547,6 +1404,9 @@ namespace AlibabaCloud ListDataSourceOutcome listDataSource(const Model::ListDataSourceRequest &request)const; void listDataSourceAsync(const Model::ListDataSourceRequest& request, const ListDataSourceAsyncHandler& handler, const std::shared_ptr& 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; @@ -1559,9 +1419,6 @@ namespace AlibabaCloud ListExecutionPlanInstancesOutcome listExecutionPlanInstances(const Model::ListExecutionPlanInstancesRequest &request)const; void listExecutionPlanInstancesAsync(const Model::ListExecutionPlanInstancesRequest& request, const ListExecutionPlanInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListExecutionPlanInstancesOutcomeCallable listExecutionPlanInstancesCallable(const Model::ListExecutionPlanInstancesRequest& request) const; - ListExecutionPlansOutcome listExecutionPlans(const Model::ListExecutionPlansRequest &request)const; - void listExecutionPlansAsync(const Model::ListExecutionPlansRequest& request, const ListExecutionPlansAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListExecutionPlansOutcomeCallable listExecutionPlansCallable(const Model::ListExecutionPlansRequest& request) const; ListFlowOutcome listFlow(const Model::ListFlowRequest &request)const; void listFlowAsync(const Model::ListFlowRequest& request, const ListFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFlowOutcomeCallable listFlowCallable(const Model::ListFlowRequest& request) const; @@ -1580,9 +1437,6 @@ namespace AlibabaCloud ListFlowClusterHostOutcome listFlowClusterHost(const Model::ListFlowClusterHostRequest &request)const; void listFlowClusterHostAsync(const Model::ListFlowClusterHostRequest& request, const ListFlowClusterHostAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFlowClusterHostOutcomeCallable listFlowClusterHostCallable(const Model::ListFlowClusterHostRequest& request) const; - ListFlowEntitySnapshotOutcome listFlowEntitySnapshot(const Model::ListFlowEntitySnapshotRequest &request)const; - void listFlowEntitySnapshotAsync(const Model::ListFlowEntitySnapshotRequest& request, const ListFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListFlowEntitySnapshotOutcomeCallable listFlowEntitySnapshotCallable(const Model::ListFlowEntitySnapshotRequest& request) const; ListFlowInstanceOutcome listFlowInstance(const Model::ListFlowInstanceRequest &request)const; void listFlowInstanceAsync(const Model::ListFlowInstanceRequest& request, const ListFlowInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFlowInstanceOutcomeCallable listFlowInstanceCallable(const Model::ListFlowInstanceRequest& request) const; @@ -1613,9 +1467,6 @@ namespace AlibabaCloud ListJobExecutionInstancesOutcome listJobExecutionInstances(const Model::ListJobExecutionInstancesRequest &request)const; void listJobExecutionInstancesAsync(const Model::ListJobExecutionInstancesRequest& request, const ListJobExecutionInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListJobExecutionInstancesOutcomeCallable listJobExecutionInstancesCallable(const Model::ListJobExecutionInstancesRequest& request) const; - ListJobInstanceWorkersOutcome listJobInstanceWorkers(const Model::ListJobInstanceWorkersRequest &request)const; - void listJobInstanceWorkersAsync(const Model::ListJobInstanceWorkersRequest& request, const ListJobInstanceWorkersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListJobInstanceWorkersOutcomeCallable listJobInstanceWorkersCallable(const Model::ListJobInstanceWorkersRequest& request) const; ListJobsOutcome listJobs(const Model::ListJobsRequest &request)const; void listJobsAsync(const Model::ListJobsRequest& request, const ListJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListJobsOutcomeCallable listJobsCallable(const Model::ListJobsRequest& request) const; @@ -1628,15 +1479,9 @@ namespace AlibabaCloud ListLibraryStatusOutcome listLibraryStatus(const Model::ListLibraryStatusRequest &request)const; void listLibraryStatusAsync(const Model::ListLibraryStatusRequest& request, const ListLibraryStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListLibraryStatusOutcomeCallable listLibraryStatusCallable(const Model::ListLibraryStatusRequest& request) const; - ListMetaClusterOutcome listMetaCluster(const Model::ListMetaClusterRequest &request)const; - void listMetaClusterAsync(const Model::ListMetaClusterRequest& request, const ListMetaClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListMetaClusterOutcomeCallable listMetaClusterCallable(const Model::ListMetaClusterRequest& request) const; - ListMetaDataSourceClusterForOuterOutcome listMetaDataSourceClusterForOuter(const Model::ListMetaDataSourceClusterForOuterRequest &request)const; - void listMetaDataSourceClusterForOuterAsync(const Model::ListMetaDataSourceClusterForOuterRequest& request, const ListMetaDataSourceClusterForOuterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListMetaDataSourceClusterForOuterOutcomeCallable listMetaDataSourceClusterForOuterCallable(const Model::ListMetaDataSourceClusterForOuterRequest& request) const; - ListNotesOutcome listNotes(const Model::ListNotesRequest &request)const; - void listNotesAsync(const Model::ListNotesRequest& request, const ListNotesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListNotesOutcomeCallable listNotesCallable(const Model::ListNotesRequest& request) const; + ListLocalDiskComponentInfoOutcome listLocalDiskComponentInfo(const Model::ListLocalDiskComponentInfoRequest &request)const; + void listLocalDiskComponentInfoAsync(const Model::ListLocalDiskComponentInfoRequest& request, const ListLocalDiskComponentInfoAsyncHandler& handler, const std::shared_ptr& 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; @@ -1739,30 +1584,18 @@ namespace AlibabaCloud ModifyScalingTaskGroupOutcome modifyScalingTaskGroup(const Model::ModifyScalingTaskGroupRequest &request)const; void modifyScalingTaskGroupAsync(const Model::ModifyScalingTaskGroupRequest& request, const ModifyScalingTaskGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyScalingTaskGroupOutcomeCallable modifyScalingTaskGroupCallable(const Model::ModifyScalingTaskGroupRequest& request) const; - QueryAlarmHistoryOutcome queryAlarmHistory(const Model::QueryAlarmHistoryRequest &request)const; - void queryAlarmHistoryAsync(const Model::QueryAlarmHistoryRequest& request, const QueryAlarmHistoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryAlarmHistoryOutcomeCallable queryAlarmHistoryCallable(const Model::QueryAlarmHistoryRequest& request) const; QueryEntityOutcome queryEntity(const Model::QueryEntityRequest &request)const; void queryEntityAsync(const Model::QueryEntityRequest& request, const QueryEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryEntityOutcomeCallable queryEntityCallable(const Model::QueryEntityRequest& request) const; - QueryTableDataOutcome queryTableData(const Model::QueryTableDataRequest &request)const; - void queryTableDataAsync(const Model::QueryTableDataRequest& request, const QueryTableDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryTableDataOutcomeCallable queryTableDataCallable(const Model::QueryTableDataRequest& request) const; QueryTagOutcome queryTag(const Model::QueryTagRequest &request)const; void queryTagAsync(const Model::QueryTagRequest& request, const QueryTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryTagOutcomeCallable queryTagCallable(const Model::QueryTagRequest& request) const; - QueryTrendDataOutcome queryTrendData(const Model::QueryTrendDataRequest &request)const; - void queryTrendDataAsync(const Model::QueryTrendDataRequest& request, const QueryTrendDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryTrendDataOutcomeCallable queryTrendDataCallable(const Model::QueryTrendDataRequest& request) const; RefreshClusterResourcePoolOutcome refreshClusterResourcePool(const Model::RefreshClusterResourcePoolRequest &request)const; void refreshClusterResourcePoolAsync(const Model::RefreshClusterResourcePoolRequest& request, const RefreshClusterResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RefreshClusterResourcePoolOutcomeCallable refreshClusterResourcePoolCallable(const Model::RefreshClusterResourcePoolRequest& request) const; ReleaseClusterOutcome releaseCluster(const Model::ReleaseClusterRequest &request)const; void releaseClusterAsync(const Model::ReleaseClusterRequest& request, const ReleaseClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ReleaseClusterOutcomeCallable releaseClusterCallable(const Model::ReleaseClusterRequest& request) const; - ReleaseClusterByTemplateTagForInternalOutcome releaseClusterByTemplateTagForInternal(const Model::ReleaseClusterByTemplateTagForInternalRequest &request)const; - void releaseClusterByTemplateTagForInternalAsync(const Model::ReleaseClusterByTemplateTagForInternalRequest& request, const ReleaseClusterByTemplateTagForInternalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReleaseClusterByTemplateTagForInternalOutcomeCallable releaseClusterByTemplateTagForInternalCallable(const Model::ReleaseClusterByTemplateTagForInternalRequest& request) const; ReleaseClusterHostGroupOutcome releaseClusterHostGroup(const Model::ReleaseClusterHostGroupRequest &request)const; void releaseClusterHostGroupAsync(const Model::ReleaseClusterHostGroupRequest& request, const ReleaseClusterHostGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ReleaseClusterHostGroupOutcomeCallable releaseClusterHostGroupCallable(const Model::ReleaseClusterHostGroupRequest& request) const; @@ -1775,12 +1608,6 @@ namespace AlibabaCloud ResizeClusterV2Outcome resizeClusterV2(const Model::ResizeClusterV2Request &request)const; void resizeClusterV2Async(const Model::ResizeClusterV2Request& request, const ResizeClusterV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResizeClusterV2OutcomeCallable resizeClusterV2Callable(const Model::ResizeClusterV2Request& request) const; - RestoreBackupOutcome restoreBackup(const Model::RestoreBackupRequest &request)const; - void restoreBackupAsync(const Model::RestoreBackupRequest& request, const RestoreBackupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RestoreBackupOutcomeCallable restoreBackupCallable(const Model::RestoreBackupRequest& request) const; - RestoreFlowEntitySnapshotOutcome restoreFlowEntitySnapshot(const Model::RestoreFlowEntitySnapshotRequest &request)const; - void restoreFlowEntitySnapshotAsync(const Model::RestoreFlowEntitySnapshotRequest& request, const RestoreFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RestoreFlowEntitySnapshotOutcomeCallable restoreFlowEntitySnapshotCallable(const Model::RestoreFlowEntitySnapshotRequest& request) const; ResumeExecutionPlanSchedulerOutcome resumeExecutionPlanScheduler(const Model::ResumeExecutionPlanSchedulerRequest &request)const; void resumeExecutionPlanSchedulerAsync(const Model::ResumeExecutionPlanSchedulerRequest& request, const ResumeExecutionPlanSchedulerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResumeExecutionPlanSchedulerOutcomeCallable resumeExecutionPlanSchedulerCallable(const Model::ResumeExecutionPlanSchedulerRequest& request) const; @@ -1793,6 +1620,9 @@ namespace AlibabaCloud RunClusterServiceActionOutcome runClusterServiceAction(const Model::RunClusterServiceActionRequest &request)const; void runClusterServiceActionAsync(const Model::RunClusterServiceActionRequest& request, const RunClusterServiceActionAsyncHandler& handler, const std::shared_ptr& 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; @@ -1820,18 +1650,12 @@ namespace AlibabaCloud TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const; void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const; - TagResourcesSystemTagsOutcome tagResourcesSystemTags(const Model::TagResourcesSystemTagsRequest &request)const; - void tagResourcesSystemTagsAsync(const Model::TagResourcesSystemTagsRequest& request, const TagResourcesSystemTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - TagResourcesSystemTagsOutcomeCallable tagResourcesSystemTagsCallable(const Model::TagResourcesSystemTagsRequest& request) const; UninstallLibrariesOutcome uninstallLibraries(const Model::UninstallLibrariesRequest &request)const; void uninstallLibrariesAsync(const Model::UninstallLibrariesRequest& request, const UninstallLibrariesAsyncHandler& handler, const std::shared_ptr& 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; - UntagResourcesSystemTagsOutcome untagResourcesSystemTags(const Model::UntagResourcesSystemTagsRequest &request)const; - void untagResourcesSystemTagsAsync(const Model::UntagResourcesSystemTagsRequest& request, const UntagResourcesSystemTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UntagResourcesSystemTagsOutcomeCallable untagResourcesSystemTagsCallable(const Model::UntagResourcesSystemTagsRequest& request) const; UpdateDataSourceOutcome updateDataSource(const Model::UpdateDataSourceRequest &request)const; void updateDataSourceAsync(const Model::UpdateDataSourceRequest& request, const UpdateDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateDataSourceOutcomeCallable updateDataSourceCallable(const Model::UpdateDataSourceRequest& request) const; diff --git a/emr/include/alibabacloud/emr/model/CleanupFlowEntitySnapshotRequest.h b/emr/include/alibabacloud/emr/model/CleanupFlowEntitySnapshotRequest.h deleted file mode 100644 index db2966b43..000000000 --- a/emr/include/alibabacloud/emr/model/CleanupFlowEntitySnapshotRequest.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_CLEANUPFLOWENTITYSNAPSHOTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CLEANUPFLOWENTITYSNAPSHOTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CleanupFlowEntitySnapshotRequest : public RpcServiceRequest - { - - public: - CleanupFlowEntitySnapshotRequest(); - ~CleanupFlowEntitySnapshotRequest(); - - 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 getEntityIdList()const; - void setEntityIdList(const std::string& entityIdList); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string entityIdList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CLEANUPFLOWENTITYSNAPSHOTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CleanupFlowEntitySnapshotResult.h b/emr/include/alibabacloud/emr/model/CleanupFlowEntitySnapshotResult.h deleted file mode 100644 index c4997316b..000000000 --- a/emr/include/alibabacloud/emr/model/CleanupFlowEntitySnapshotResult.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_CLEANUPFLOWENTITYSNAPSHOTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CLEANUPFLOWENTITYSNAPSHOTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CleanupFlowEntitySnapshotResult : public ServiceResult - { - public: - - - CleanupFlowEntitySnapshotResult(); - explicit CleanupFlowEntitySnapshotResult(const std::string &payload); - ~CleanupFlowEntitySnapshotResult(); - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CLEANUPFLOWENTITYSNAPSHOTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CommitFlowEntitySnapshotRequest.h b/emr/include/alibabacloud/emr/model/CommitFlowEntitySnapshotRequest.h deleted file mode 100644 index 16cf9eea9..000000000 --- a/emr/include/alibabacloud/emr/model/CommitFlowEntitySnapshotRequest.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_COMMITFLOWENTITYSNAPSHOTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_COMMITFLOWENTITYSNAPSHOTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CommitFlowEntitySnapshotRequest : public RpcServiceRequest - { - - public: - CommitFlowEntitySnapshotRequest(); - ~CommitFlowEntitySnapshotRequest(); - - 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 getEntityType()const; - void setEntityType(const std::string& entityType); - std::string getEntityId()const; - void setEntityId(const std::string& entityId); - std::string getMessage()const; - void setMessage(const std::string& message); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string entityType_; - std::string entityId_; - std::string message_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_COMMITFLOWENTITYSNAPSHOTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CommitFlowEntitySnapshotResult.h b/emr/include/alibabacloud/emr/model/CommitFlowEntitySnapshotResult.h deleted file mode 100644 index fb77bea02..000000000 --- a/emr/include/alibabacloud/emr/model/CommitFlowEntitySnapshotResult.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_COMMITFLOWENTITYSNAPSHOTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_COMMITFLOWENTITYSNAPSHOTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CommitFlowEntitySnapshotResult : public ServiceResult - { - public: - - - CommitFlowEntitySnapshotResult(); - explicit CommitFlowEntitySnapshotResult(const std::string &payload); - ~CommitFlowEntitySnapshotResult(); - std::string getData()const; - - protected: - void parse(const std::string &payload); - private: - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_COMMITFLOWENTITYSNAPSHOTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DumpMetaDataSourceForOuterRequest.h b/emr/include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h similarity index 51% rename from emr/include/alibabacloud/emr/model/DumpMetaDataSourceForOuterRequest.h rename to emr/include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h index 21608d994..e58dbf4fe 100644 --- a/emr/include/alibabacloud/emr/model/DumpMetaDataSourceForOuterRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DUMPMETADATASOURCEFOROUTERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DUMPMETADATASOURCEFOROUTERREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_ #include #include @@ -28,51 +28,51 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DumpMetaDataSourceForOuterRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT CreateClusterHostGroupRequest : public RpcServiceRequest { public: - DumpMetaDataSourceForOuterRequest(); - ~DumpMetaDataSourceForOuterRequest(); + CreateClusterHostGroupRequest(); + ~CreateClusterHostGroupRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - bool getDumpAllDatabase()const; - void setDumpAllDatabase(bool dumpAllDatabase); - int getDumpLimit()const; - void setDumpLimit(int dumpLimit); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); + std::string getHostGroupParams()const; + void setHostGroupParams(const std::string& hostGroupParams); + std::string getSecurityGroupId()const; + void setSecurityGroupId(const std::string& securityGroupId); + std::string getHostGroupName()const; + void setHostGroupName(const std::string& hostGroupName); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - bool getDumpAllTable()const; - void setDumpAllTable(bool dumpAllTable); std::string getRegionId()const; void setRegionId(const std::string& regionId); - std::vector getPartitionValues()const; - void setPartitionValues(const std::vector& partitionValues); - std::string getTableId()const; - void setTableId(const std::string& tableId); - std::string getDatabaseId()const; - void setDatabaseId(const std::string& databaseId); - bool getDumpAllPartition()const; - void setDumpAllPartition(bool dumpAllPartition); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getVswitchId()const; + void setVswitchId(const std::string& vswitchId); + std::string getComment()const; + void setComment(const std::string& comment); + std::string getPayType()const; + void setPayType(const std::string& payType); + std::string getHostGroupType()const; + void setHostGroupType(const std::string& hostGroupType); private: long resourceOwnerId_; - bool dumpAllDatabase_; - int dumpLimit_; - std::string clusterId_; + std::string hostGroupParams_; + std::string securityGroupId_; + std::string hostGroupName_; std::string accessKeyId_; - bool dumpAllTable_; std::string regionId_; - std::vector partitionValues_; - std::string tableId_; - std::string databaseId_; - bool dumpAllPartition_; + std::string clusterId_; + std::string vswitchId_; + std::string comment_; + std::string payType_; + std::string hostGroupType_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DUMPMETADATASOURCEFOROUTERREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowAgentTokenResult.h b/emr/include/alibabacloud/emr/model/CreateClusterHostGroupResult.h similarity index 64% rename from emr/include/alibabacloud/emr/model/DescribeFlowAgentTokenResult.h rename to emr/include/alibabacloud/emr/model/CreateClusterHostGroupResult.h index a218e9bbf..36e4f2158 100644 --- a/emr/include/alibabacloud/emr/model/DescribeFlowAgentTokenResult.h +++ b/emr/include/alibabacloud/emr/model/CreateClusterHostGroupResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_ #include #include @@ -29,23 +29,25 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DescribeFlowAgentTokenResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT CreateClusterHostGroupResult : public ServiceResult { public: - DescribeFlowAgentTokenResult(); - explicit DescribeFlowAgentTokenResult(const std::string &payload); - ~DescribeFlowAgentTokenResult(); - std::string getData()const; + CreateClusterHostGroupResult(); + explicit CreateClusterHostGroupResult(const std::string &payload); + ~CreateClusterHostGroupResult(); + std::string getHostGroupId()const; + std::string getClusterId()const; protected: void parse(const std::string &payload); private: - std::string data_; + std::string hostGroupId_; + std::string clusterId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateClusterTemplateRequest.h b/emr/include/alibabacloud/emr/model/CreateClusterTemplateRequest.h index 42b07b4c6..5368bacaf 100644 --- a/emr/include/alibabacloud/emr/model/CreateClusterTemplateRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateClusterTemplateRequest.h @@ -49,6 +49,7 @@ namespace AlibabaCloud { int period; int sysDiskCapacity; + std::string privatePoolOptionsId; int diskCapacity; std::string sysDiskType; std::string clusterId; @@ -65,6 +66,7 @@ namespace AlibabaCloud std::string multiInstanceTypes; std::string createType; std::string hostGroupType; + std::string privatePoolOptionsMatchCriteria; }; struct Config { @@ -130,6 +132,8 @@ namespace AlibabaCloud void setUseCustomHiveMetaDb(bool useCustomHiveMetaDb); bool getInitCustomHiveMetaDb()const; void setInitCustomHiveMetaDb(bool initCustomHiveMetaDb); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); bool getIoOptimized()const; void setIoOptimized(bool ioOptimized); std::string getSecurityGroupId()const; @@ -183,6 +187,7 @@ namespace AlibabaCloud std::string zoneId_; bool useCustomHiveMetaDb_; bool initCustomHiveMetaDb_; + std::string clientToken_; bool ioOptimized_; std::string securityGroupId_; bool easEnable_; diff --git a/emr/include/alibabacloud/emr/model/CreateClusterV2Request.h b/emr/include/alibabacloud/emr/model/CreateClusterV2Request.h index 4bce0c042..06de166ae 100644 --- a/emr/include/alibabacloud/emr/model/CreateClusterV2Request.h +++ b/emr/include/alibabacloud/emr/model/CreateClusterV2Request.h @@ -67,6 +67,7 @@ namespace AlibabaCloud { int period; int sysDiskCapacity; + std::string privatePoolOptionsId; int diskCapacity; std::string sysDiskType; std::string clusterId; @@ -83,6 +84,7 @@ namespace AlibabaCloud std::string chargeType; std::string createType; std::string hostGroupType; + std::string privatePoolOptionsMatchCriteria; }; struct ServiceInfo { @@ -165,6 +167,8 @@ namespace AlibabaCloud void setUseCustomHiveMetaDB(bool useCustomHiveMetaDB); bool getInitCustomHiveMetaDB()const; void setInitCustomHiveMetaDB(bool initCustomHiveMetaDB); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); bool getIoOptimized()const; void setIoOptimized(bool ioOptimized); std::string getSecurityGroupId()const; @@ -234,6 +238,7 @@ namespace AlibabaCloud std::string zoneId_; bool useCustomHiveMetaDB_; bool initCustomHiveMetaDB_; + std::string clientToken_; bool ioOptimized_; std::string securityGroupId_; bool easEnable_; diff --git a/emr/include/alibabacloud/emr/model/CreateFlowEditLockRequest.h b/emr/include/alibabacloud/emr/model/CreateFlowEditLockRequest.h deleted file mode 100644 index 948003685..000000000 --- a/emr/include/alibabacloud/emr/model/CreateFlowEditLockRequest.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_CREATEFLOWEDITLOCKREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWEDITLOCKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateFlowEditLockRequest : public RpcServiceRequest - { - - public: - CreateFlowEditLockRequest(); - ~CreateFlowEditLockRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEntityId()const; - void setEntityId(const std::string& entityId); - bool getForce()const; - void setForce(bool force); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string entityId_; - bool force_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWEDITLOCKREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateFlowEditLockResult.h b/emr/include/alibabacloud/emr/model/CreateFlowEditLockResult.h deleted file mode 100644 index 16d82b0c4..000000000 --- a/emr/include/alibabacloud/emr/model/CreateFlowEditLockResult.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_CREATEFLOWEDITLOCKRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWEDITLOCKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateFlowEditLockResult : public ServiceResult - { - public: - - - CreateFlowEditLockResult(); - explicit CreateFlowEditLockResult(const std::string &payload); - ~CreateFlowEditLockResult(); - std::string getEntityId()const; - std::string getStatus()const; - std::string getOwnerId()const; - std::string getUserId()const; - std::string getBizId()const; - - protected: - void parse(const std::string &payload); - private: - std::string entityId_; - std::string status_; - std::string ownerId_; - std::string userId_; - std::string bizId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWEDITLOCKRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateParagraphRequest.h b/emr/include/alibabacloud/emr/model/CreateParagraphRequest.h deleted file mode 100644 index 036a8064c..000000000 --- a/emr/include/alibabacloud/emr/model/CreateParagraphRequest.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_CREATEPARAGRAPHREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEPARAGRAPHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateParagraphRequest : public RpcServiceRequest - { - - public: - CreateParagraphRequest(); - ~CreateParagraphRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getNoteId()const; - void setNoteId(const std::string& noteId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getText()const; - void setText(const std::string& text); - - private: - long resourceOwnerId_; - std::string noteId_; - std::string accessKeyId_; - std::string regionId_; - std::string text_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEPARAGRAPHREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateParagraphResult.h b/emr/include/alibabacloud/emr/model/CreateParagraphResult.h deleted file mode 100644 index f231f9fa7..000000000 --- a/emr/include/alibabacloud/emr/model/CreateParagraphResult.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_CREATEPARAGRAPHRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEPARAGRAPHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateParagraphResult : public ServiceResult - { - public: - - - CreateParagraphResult(); - explicit CreateParagraphResult(const std::string &payload); - ~CreateParagraphResult(); - std::string getId()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEPARAGRAPHRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteFlowEditLockRequest.h b/emr/include/alibabacloud/emr/model/DeleteFlowEditLockRequest.h deleted file mode 100644 index 81678d820..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteFlowEditLockRequest.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_DELETEFLOWEDITLOCKREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEFLOWEDITLOCKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteFlowEditLockRequest : public RpcServiceRequest - { - - public: - DeleteFlowEditLockRequest(); - ~DeleteFlowEditLockRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEntityId()const; - void setEntityId(const std::string& entityId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string entityId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEFLOWEDITLOCKREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteNoteResult.h b/emr/include/alibabacloud/emr/model/DeleteNoteResult.h deleted file mode 100644 index 73209d174..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteNoteResult.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_DELETENOTERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETENOTERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteNoteResult : public ServiceResult - { - public: - - - DeleteNoteResult(); - explicit DeleteNoteResult(const std::string &payload); - ~DeleteNoteResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETENOTERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterBasicInfoResult.h b/emr/include/alibabacloud/emr/model/DescribeClusterBasicInfoResult.h index a8b356f9c..b840c2b8c 100644 --- a/emr/include/alibabacloud/emr/model/DescribeClusterBasicInfoResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeClusterBasicInfoResult.h @@ -39,6 +39,7 @@ namespace AlibabaCloud std::string status; std::string clusterId; std::string clusterName; + std::string clusterType; }; struct HostPoolInfo { @@ -96,6 +97,7 @@ namespace AlibabaCloud std::string k8sClusterId; std::string name; bool highAvailabilityEnable; + std::string clickhouseConf; std::string autoScalingVersion; long expiredTime; std::string createType; @@ -117,6 +119,7 @@ namespace AlibabaCloud std::string vpcId; SoftwareInfo softwareInfo; std::string securityGroupName; + bool resizeClusterEnable; bool logEnable; int masterNodeInService; RelateClusterInfo relateClusterInfo; diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterV2Result.h b/emr/include/alibabacloud/emr/model/DescribeClusterV2Result.h index 964473653..8148fd10f 100644 --- a/emr/include/alibabacloud/emr/model/DescribeClusterV2Result.h +++ b/emr/include/alibabacloud/emr/model/DescribeClusterV2Result.h @@ -39,6 +39,7 @@ namespace AlibabaCloud std::string status; std::string clusterId; std::string clusterName; + std::string clusterType; }; struct HostPoolInfo { diff --git a/emr/include/alibabacloud/emr/model/DeleteNoteRequest.h b/emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityRequest.h similarity index 52% rename from emr/include/alibabacloud/emr/model/DeleteNoteRequest.h rename to emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityRequest.h index 3c99cb3de..6f08fe8c8 100644 --- a/emr/include/alibabacloud/emr/model/DeleteNoteRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DELETENOTEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETENOTEREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYREQUEST_H_ #include #include @@ -28,33 +28,45 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DeleteNoteRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT DescribeDiskOpsActivityRequest : public RpcServiceRequest { public: - DeleteNoteRequest(); - ~DeleteNoteRequest(); + DescribeDiskOpsActivityRequest(); + ~DescribeDiskOpsActivityRequest(); + std::string getEventId()const; + void setEventId(const std::string& eventId); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); + std::string getCurrentStage()const; + void setCurrentStage(const std::string& currentStage); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); std::string getRegionId()const; void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); + std::string getDiskId()const; + void setDiskId(const std::string& diskId); + std::string getCurrentState()const; + void setCurrentState(const std::string& currentState); private: + std::string eventId_; long resourceOwnerId_; + std::string currentStage_; + std::string clusterId_; std::string accessKeyId_; - std::string resourceGroupId_; + std::string instanceId_; std::string regionId_; - std::string id_; + std::string diskId_; + std::string currentState_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DELETENOTEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateNoteResult.h b/emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityResult.h similarity index 54% rename from emr/include/alibabacloud/emr/model/CreateNoteResult.h rename to emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityResult.h index db59a89e8..c3d5a4bea 100644 --- a/emr/include/alibabacloud/emr/model/CreateNoteResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeDiskOpsActivityResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_CREATENOTERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATENOTERESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYRESULT_H_ #include #include @@ -29,25 +29,31 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT CreateNoteResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT DescribeDiskOpsActivityResult : public ServiceResult { public: - CreateNoteResult(); - explicit CreateNoteResult(const std::string &payload); - ~CreateNoteResult(); - std::string getId()const; - std::string getParagraph()const; + 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 id_; - std::string paragraph_; + std::string activityState_; + std::string currentActivity_; + std::string clusterType_; + bool needReboot_; + std::string errorMessage_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_CREATENOTERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDISKOPSACTIVITYRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobInstanceWorkersRequest.h b/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h similarity index 72% rename from emr/include/alibabacloud/emr/model/ListJobInstanceWorkersRequest.h rename to emr/include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h index 67d3dbd58..0d3999693 100644 --- a/emr/include/alibabacloud/emr/model/ListJobInstanceWorkersRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTJOBINSTANCEWORKERSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBINSTANCEWORKERSREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_ #include #include @@ -28,12 +28,12 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListJobInstanceWorkersRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT DescribeEmrMainVersionRequest : public RpcServiceRequest { public: - ListJobInstanceWorkersRequest(); - ~ListJobInstanceWorkersRequest(); + DescribeEmrMainVersionRequest(); + ~DescribeEmrMainVersionRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); @@ -41,17 +41,17 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); std::string getRegionId()const; void setRegionId(const std::string& regionId); - std::string getJobInstanceId()const; - void setJobInstanceId(const std::string& jobInstanceId); + std::string getEmrVersion()const; + void setEmrVersion(const std::string& emrVersion); private: long resourceOwnerId_; std::string accessKeyId_; std::string regionId_; - std::string jobInstanceId_; + std::string emrVersion_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBINSTANCEWORKERSREQUEST_H_ \ No newline at end of file +#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 new file mode 100644 index 000000000..7f8775759 --- /dev/null +++ b/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONRESULT_H_ + +#include +#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/DescribeFlowAgentTokenRequest.h b/emr/include/alibabacloud/emr/model/DescribeFlowAgentTokenRequest.h deleted file mode 100644 index 23e5bdfe4..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeFlowAgentTokenRequest.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_DESCRIBEFLOWAGENTTOKENREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeFlowAgentTokenRequest : public RpcServiceRequest - { - - public: - DescribeFlowAgentTokenRequest(); - ~DescribeFlowAgentTokenRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterBizId()const; - void setClusterBizId(const std::string& clusterBizId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getInnerIP()const; - void setInnerIP(const std::string& innerIP); - - private: - long resourceOwnerId_; - std::string clusterBizId_; - std::string accessKeyId_; - std::string regionId_; - std::string innerIP_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowAgentUserRequest.h b/emr/include/alibabacloud/emr/model/DescribeFlowAgentUserRequest.h deleted file mode 100644 index 6f615bee3..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeFlowAgentUserRequest.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_DESCRIBEFLOWAGENTUSERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeFlowAgentUserRequest : public RpcServiceRequest - { - - public: - DescribeFlowAgentUserRequest(); - ~DescribeFlowAgentUserRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterBizId()const; - void setClusterBizId(const std::string& clusterBizId); - 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 clusterBizId_; - std::string userId_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTUSERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowAgentUserResult.h b/emr/include/alibabacloud/emr/model/DescribeFlowAgentUserResult.h deleted file mode 100644 index 2776e0108..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeFlowAgentUserResult.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_DESCRIBEFLOWAGENTUSERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTUSERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeFlowAgentUserResult : public ServiceResult - { - public: - - - DescribeFlowAgentUserResult(); - explicit DescribeFlowAgentUserResult(const std::string &payload); - ~DescribeFlowAgentUserResult(); - std::string getData()const; - - protected: - void parse(const std::string &payload); - private: - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTUSERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowEntitySnapshotRequest.h b/emr/include/alibabacloud/emr/model/DescribeFlowEntitySnapshotRequest.h deleted file mode 100644 index 16bba4f39..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeFlowEntitySnapshotRequest.h +++ /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. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWENTITYSNAPSHOTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWENTITYSNAPSHOTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeFlowEntitySnapshotRequest : public RpcServiceRequest - { - - public: - DescribeFlowEntitySnapshotRequest(); - ~DescribeFlowEntitySnapshotRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getPageCount()const; - void setPageCount(int pageCount); - std::string getOrderMode()const; - void setOrderMode(const std::string& orderMode); - std::string getEntityId()const; - void setEntityId(const std::string& entityId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getLimit()const; - void setLimit(int limit); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getCommitterId()const; - void setCommitterId(const std::string& committerId); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::string getOrderField()const; - void setOrderField(const std::string& orderField); - std::string getEntityGroupId()const; - void setEntityGroupId(const std::string& entityGroupId); - std::string getRevision()const; - void setRevision(const std::string& revision); - std::string getEntityType()const; - void setEntityType(const std::string& entityType); - - private: - long resourceOwnerId_; - int pageCount_; - std::string orderMode_; - std::string entityId_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int limit_; - int pageSize_; - std::string committerId_; - int currentSize_; - std::string orderField_; - std::string entityGroupId_; - std::string revision_; - std::string entityType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWENTITYSNAPSHOTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowEntitySnapshotResult.h b/emr/include/alibabacloud/emr/model/DescribeFlowEntitySnapshotResult.h deleted file mode 100644 index eac972207..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeFlowEntitySnapshotResult.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_DESCRIBEFLOWENTITYSNAPSHOTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWENTITYSNAPSHOTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeFlowEntitySnapshotResult : public ServiceResult - { - public: - - - DescribeFlowEntitySnapshotResult(); - explicit DescribeFlowEntitySnapshotResult(const std::string &payload); - ~DescribeFlowEntitySnapshotResult(); - std::string getEntityId()const; - std::string getEntityType()const; - long getGmtCreate()const; - bool getActive()const; - std::string getRevision()const; - std::string getMessage()const; - std::string getUserId()const; - std::string getData()const; - std::string getEntityGroupId()const; - std::string getCommitterId()const; - - protected: - void parse(const std::string &payload); - private: - std::string entityId_; - std::string entityType_; - long gmtCreate_; - bool active_; - std::string revision_; - std::string message_; - std::string userId_; - std::string data_; - std::string entityGroupId_; - std::string committerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWENTITYSNAPSHOTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DiffFlowEntitySnapshotRequest.h b/emr/include/alibabacloud/emr/model/DiffFlowEntitySnapshotRequest.h deleted file mode 100644 index 374ce3896..000000000 --- a/emr/include/alibabacloud/emr/model/DiffFlowEntitySnapshotRequest.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_DIFFFLOWENTITYSNAPSHOTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DIFFFLOWENTITYSNAPSHOTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DiffFlowEntitySnapshotRequest : public RpcServiceRequest - { - - public: - DiffFlowEntitySnapshotRequest(); - ~DiffFlowEntitySnapshotRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getSrcRevision()const; - void setSrcRevision(const std::string& srcRevision); - std::string getEntityId()const; - void setEntityId(const std::string& entityId); - std::string getDstRevision()const; - void setDstRevision(const std::string& dstRevision); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getEntityType()const; - void setEntityType(const std::string& entityType); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string srcRevision_; - std::string entityId_; - std::string dstRevision_; - std::string accessKeyId_; - std::string entityType_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DIFFFLOWENTITYSNAPSHOTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DiffFlowEntitySnapshotResult.h b/emr/include/alibabacloud/emr/model/DiffFlowEntitySnapshotResult.h deleted file mode 100644 index 0783d4001..000000000 --- a/emr/include/alibabacloud/emr/model/DiffFlowEntitySnapshotResult.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_DIFFFLOWENTITYSNAPSHOTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DIFFFLOWENTITYSNAPSHOTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DiffFlowEntitySnapshotResult : public ServiceResult - { - public: - - - DiffFlowEntitySnapshotResult(); - explicit DiffFlowEntitySnapshotResult(const std::string &payload); - ~DiffFlowEntitySnapshotResult(); - std::string getData()const; - - protected: - void parse(const std::string &payload); - private: - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DIFFFLOWENTITYSNAPSHOTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DumpMetaDataSourceForOuterResult.h b/emr/include/alibabacloud/emr/model/DumpMetaDataSourceForOuterResult.h deleted file mode 100644 index 343e81e1f..000000000 --- a/emr/include/alibabacloud/emr/model/DumpMetaDataSourceForOuterResult.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_DUMPMETADATASOURCEFOROUTERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DUMPMETADATASOURCEFOROUTERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DumpMetaDataSourceForOuterResult : public ServiceResult - { - public: - - - DumpMetaDataSourceForOuterResult(); - explicit DumpMetaDataSourceForOuterResult(const std::string &payload); - ~DumpMetaDataSourceForOuterResult(); - std::string getTaskId()const; - - protected: - void parse(const std::string &payload); - private: - std::string taskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DUMPMETADATASOURCEFOROUTERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetFlowEntityRelationGraphRequest.h b/emr/include/alibabacloud/emr/model/GetFlowEntityRelationGraphRequest.h deleted file mode 100644 index 24dd7a32e..000000000 --- a/emr/include/alibabacloud/emr/model/GetFlowEntityRelationGraphRequest.h +++ /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. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETFLOWENTITYRELATIONGRAPHREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETFLOWENTITYRELATIONGRAPHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetFlowEntityRelationGraphRequest : public RpcServiceRequest - { - - public: - GetFlowEntityRelationGraphRequest(); - ~GetFlowEntityRelationGraphRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getPageCount()const; - void setPageCount(int pageCount); - std::string getOrderMode()const; - void setOrderMode(const std::string& orderMode); - std::string getEntityId()const; - void setEntityId(const std::string& entityId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getLimit()const; - void setLimit(int limit); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getRelationship()const; - void setRelationship(const std::string& relationship); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::string getOrderField()const; - void setOrderField(const std::string& orderField); - std::string getDirection()const; - void setDirection(const std::string& direction); - std::string getEntityGroupId()const; - void setEntityGroupId(const std::string& entityGroupId); - std::string getEntityType()const; - void setEntityType(const std::string& entityType); - - private: - long resourceOwnerId_; - int pageCount_; - std::string orderMode_; - std::string entityId_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int limit_; - int pageSize_; - std::string relationship_; - int currentSize_; - std::string orderField_; - std::string direction_; - std::string entityGroupId_; - std::string entityType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETFLOWENTITYRELATIONGRAPHREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetFlowEntityRelationGraphResult.h b/emr/include/alibabacloud/emr/model/GetFlowEntityRelationGraphResult.h deleted file mode 100644 index bda9021ae..000000000 --- a/emr/include/alibabacloud/emr/model/GetFlowEntityRelationGraphResult.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_GETFLOWENTITYRELATIONGRAPHRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETFLOWENTITYRELATIONGRAPHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetFlowEntityRelationGraphResult : public ServiceResult - { - public: - - - GetFlowEntityRelationGraphResult(); - explicit GetFlowEntityRelationGraphResult(const std::string &payload); - ~GetFlowEntityRelationGraphResult(); - std::string getData()const; - - protected: - void parse(const std::string &payload); - private: - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETFLOWENTITYRELATIONGRAPHRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/KillExecutionJobInstanceRequest.h b/emr/include/alibabacloud/emr/model/KillExecutionJobInstanceRequest.h deleted file mode 100644 index 0dc8463ba..000000000 --- a/emr/include/alibabacloud/emr/model/KillExecutionJobInstanceRequest.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_KILLEXECUTIONJOBINSTANCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_KILLEXECUTIONJOBINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT KillExecutionJobInstanceRequest : public RpcServiceRequest - { - - public: - KillExecutionJobInstanceRequest(); - ~KillExecutionJobInstanceRequest(); - - 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 getJobInstanceId()const; - void setJobInstanceId(const std::string& jobInstanceId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string jobInstanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_KILLEXECUTIONJOBINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/KillExecutionJobInstanceResult.h b/emr/include/alibabacloud/emr/model/KillExecutionJobInstanceResult.h deleted file mode 100644 index 2a868ecfc..000000000 --- a/emr/include/alibabacloud/emr/model/KillExecutionJobInstanceResult.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_KILLEXECUTIONJOBINSTANCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_KILLEXECUTIONJOBINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT KillExecutionJobInstanceResult : public ServiceResult - { - public: - - - KillExecutionJobInstanceResult(); - explicit KillExecutionJobInstanceResult(const std::string &payload); - ~KillExecutionJobInstanceResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_KILLEXECUTIONJOBINSTANCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterHostComponentResult.h b/emr/include/alibabacloud/emr/model/ListClusterHostComponentResult.h index d9bdea52f..1c98f4608 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterHostComponentResult.h +++ b/emr/include/alibabacloud/emr/model/ListClusterHostComponentResult.h @@ -36,8 +36,10 @@ namespace AlibabaCloud { std::string status; std::string componentDisplayName; + long healthReportTime; std::string publicIp; int memory; + std::string healthStatus; int cpu; std::string hostId; std::string hostInstanceId; @@ -47,6 +49,7 @@ namespace AlibabaCloud std::string serialNumber; std::string serviceName; std::string privateIp; + std::string state; std::string serverStatus; bool needRestart; std::string componentName; diff --git a/emr/include/alibabacloud/emr/model/ListClusterInstalledServiceResult.h b/emr/include/alibabacloud/emr/model/ListClusterInstalledServiceResult.h index 4194186b5..402e51bf2 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterInstalledServiceResult.h +++ b/emr/include/alibabacloud/emr/model/ListClusterInstalledServiceResult.h @@ -49,6 +49,7 @@ namespace AlibabaCloud std::string serviceStatus; int notStartedNum; int abnormalNum; + std::string state; std::string serviceVersion; bool onlyClient; int needRestartNum; diff --git a/emr/include/alibabacloud/emr/model/ListClusterOperationRequest.h b/emr/include/alibabacloud/emr/model/ListClusterOperationRequest.h index 95e00c6e7..0797f6e2d 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterOperationRequest.h +++ b/emr/include/alibabacloud/emr/model/ListClusterOperationRequest.h @@ -47,6 +47,8 @@ namespace AlibabaCloud void setRegionId(const std::string& regionId); int getPageSize()const; void setPageSize(int pageSize); + std::string getOperationId()const; + void setOperationId(const std::string& operationId); std::string getServiceName()const; void setServiceName(const std::string& serviceName); std::string getStatus()const; @@ -59,6 +61,7 @@ namespace AlibabaCloud std::string accessKeyId_; std::string regionId_; int pageSize_; + std::string operationId_; std::string serviceName_; std::string status_; diff --git a/emr/include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoRequest.h b/emr/include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoRequest.h index daa5fcbcd..819b8b91d 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoRequest.h +++ b/emr/include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoRequest.h @@ -37,6 +37,8 @@ namespace AlibabaCloud long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); + std::string getComponentName()const; + void setComponentName(const std::string& componentName); std::string getClusterId()const; void setClusterId(const std::string& clusterId); std::string getAccessKeyId()const; @@ -48,6 +50,7 @@ namespace AlibabaCloud private: long resourceOwnerId_; + std::string componentName_; std::string clusterId_; std::string accessKeyId_; std::string regionId_; diff --git a/emr/include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoResult.h b/emr/include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoResult.h index 016c91cb4..e5ca8c5c1 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoResult.h +++ b/emr/include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoResult.h @@ -49,16 +49,24 @@ namespace AlibabaCloud HealthRuleParam healthRuleParam; std::string code; }; + long createdTime; + int goodHealthNum; + std::string healthStatus; + std::string healthLevel; + int agentHeartBeatLostNum; + int warningHealthNum; + int unknownHealthNum; + int disabledHealthNum; + int badHealthNum; + int noneHealthNum; int stoppedNum; std::vector healthDetailList; int normalNum; int totalNum; - long createdTime; std::string serviceName; + int stoppedHealthNum; int manualStoppedNum; std::string componentName; - std::string healthLevel; - int agentHeartBeatLostNum; }; diff --git a/emr/include/alibabacloud/emr/model/ListClusterServiceResult.h b/emr/include/alibabacloud/emr/model/ListClusterServiceResult.h index 9e0fcae4c..0ac2f5782 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterServiceResult.h +++ b/emr/include/alibabacloud/emr/model/ListClusterServiceResult.h @@ -51,6 +51,7 @@ namespace AlibabaCloud std::string serviceName; std::string serviceStatus; int abnormalNum; + std::string state; std::string serviceVersion; bool installStatus; std::string needRestartInfo; diff --git a/emr/include/alibabacloud/emr/model/ListClustersRequest.h b/emr/include/alibabacloud/emr/model/ListClustersRequest.h index 9c85844f3..e52864341 100644 --- a/emr/include/alibabacloud/emr/model/ListClustersRequest.h +++ b/emr/include/alibabacloud/emr/model/ListClustersRequest.h @@ -69,6 +69,8 @@ namespace AlibabaCloud void setExpiredTagList(const std::vector& expiredTagList); bool getDefaultStatus()const; void setDefaultStatus(bool defaultStatus); + std::string getVpcId()const; + void setVpcId(const std::string& vpcId); std::string getName()const; void setName(const std::string& name); std::vector getClusterTypeList()const; @@ -89,6 +91,7 @@ namespace AlibabaCloud std::string createType_; std::vector expiredTagList_; bool defaultStatus_; + std::string vpcId_; std::string name_; std::vector clusterTypeList_; diff --git a/emr/include/alibabacloud/emr/model/ListMetaClusterRequest.h b/emr/include/alibabacloud/emr/model/ListDiskOpsEventsRequest.h similarity index 68% rename from emr/include/alibabacloud/emr/model/ListMetaClusterRequest.h rename to emr/include/alibabacloud/emr/model/ListDiskOpsEventsRequest.h index 0c82da9b4..0c980ae67 100644 --- a/emr/include/alibabacloud/emr/model/ListMetaClusterRequest.h +++ b/emr/include/alibabacloud/emr/model/ListDiskOpsEventsRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTMETACLUSTERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTMETACLUSTERREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSREQUEST_H_ #include #include @@ -28,36 +28,42 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListMetaClusterRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ListDiskOpsEventsRequest : public RpcServiceRequest { public: - ListMetaClusterRequest(); - ~ListMetaClusterRequest(); + ListDiskOpsEventsRequest(); + ~ListDiskOpsEventsRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); + long getEndTime()const; + void setEndTime(long endTime); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + long getStartTime()const; + void setStartTime(long startTime); + int getPageNumber()const; + void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); std::string getRegionId()const; void setRegionId(const std::string& regionId); - int getPageNumber()const; - void setPageNumber(int pageNumber); int getPageSize()const; void setPageSize(int pageSize); - std::string getSourceType()const; - void setSourceType(const std::string& sourceType); private: long resourceOwnerId_; + long endTime_; + std::string clusterId_; + long startTime_; + int pageNumber_; std::string accessKeyId_; std::string regionId_; - int pageNumber_; int pageSize_; - std::string sourceType_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTMETACLUSTERREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListFlowEntitySnapshotResult.h b/emr/include/alibabacloud/emr/model/ListDiskOpsEventsResult.h similarity index 53% rename from emr/include/alibabacloud/emr/model/ListFlowEntitySnapshotResult.h rename to emr/include/alibabacloud/emr/model/ListDiskOpsEventsResult.h index 3706a0629..c576f71d8 100644 --- a/emr/include/alibabacloud/emr/model/ListFlowEntitySnapshotResult.h +++ b/emr/include/alibabacloud/emr/model/ListDiskOpsEventsResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTFLOWENTITYSNAPSHOTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTFLOWENTITYSNAPSHOTRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSRESULT_H_ #include #include @@ -29,42 +29,48 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListFlowEntitySnapshotResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ListDiskOpsEventsResult : public ServiceResult { public: - struct Item + struct DiskOpsEventInfo { - std::string entityId; - std::string entityType; - long gmtCreate; - bool active; - std::string revision; - std::string message; + std::string instanceId; + std::string eventType; + std::string diskMountPoint; + std::string instanceName; + std::string privateIp; + std::string currentActivityState; std::string userId; - std::string data; - std::string entityGroupId; - std::string committerId; + std::string clusterBizId; + std::string instanceStatus; + std::string diskDevice; + long eventTriggerTime; + std::string currentActivity; + std::string clusterName; + std::string eventId; + std::string regionId; + std::string diskId; }; - ListFlowEntitySnapshotResult(); - explicit ListFlowEntitySnapshotResult(const std::string &payload); - ~ListFlowEntitySnapshotResult(); + ListDiskOpsEventsResult(); + explicit ListDiskOpsEventsResult(const std::string &payload); + ~ListDiskOpsEventsResult(); int getTotalCount()const; int getPageSize()const; + std::vector getEventList()const; int getPageNumber()const; - std::vector getItems()const; protected: void parse(const std::string &payload); private: int totalCount_; int pageSize_; + std::vector eventList_; int pageNumber_; - std::vector items_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTFLOWENTITYSNAPSHOTRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTDISKOPSEVENTSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListEmrAvailableResourceRequest.h b/emr/include/alibabacloud/emr/model/ListEmrAvailableResourceRequest.h index 8677ceafd..f762c782f 100644 --- a/emr/include/alibabacloud/emr/model/ListEmrAvailableResourceRequest.h +++ b/emr/include/alibabacloud/emr/model/ListEmrAvailableResourceRequest.h @@ -49,6 +49,8 @@ namespace AlibabaCloud void setRegionId(const std::string& regionId); std::string getInstanceType()const; void setInstanceType(const std::string& instanceType); + std::string getEmrVersion()const; + void setEmrVersion(const std::string& emrVersion); std::string getInstanceChargeType()const; void setInstanceChargeType(const std::string& instanceChargeType); std::string getClusterId()const; @@ -74,6 +76,7 @@ namespace AlibabaCloud std::string resourceGroupId_; std::string regionId_; std::string instanceType_; + std::string emrVersion_; std::string instanceChargeType_; std::string clusterId_; std::string destinationResource_; diff --git a/emr/include/alibabacloud/emr/model/ListExecutionPlansRequest.h b/emr/include/alibabacloud/emr/model/ListExecutionPlansRequest.h deleted file mode 100644 index 0d11a16ae..000000000 --- a/emr/include/alibabacloud/emr/model/ListExecutionPlansRequest.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_LISTEXECUTIONPLANSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListExecutionPlansRequest : public RpcServiceRequest - { - - public: - ListExecutionPlansRequest(); - ~ListExecutionPlansRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::vector 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 getJobId()const; - void setJobId(const std::string& jobId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getQueryType()const; - void setQueryType(const std::string& queryType); - std::string getQueryString()const; - void setQueryString(const std::string& queryString); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getStrategy()const; - void setStrategy(const std::string& strategy); - - private: - long resourceOwnerId_; - std::vector statusList_; - bool isDesc_; - int pageNumber_; - std::string accessKeyId_; - std::string jobId_; - std::string regionId_; - int pageSize_; - std::string queryType_; - std::string queryString_; - std::string clusterId_; - std::string strategy_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListExecutionPlansResult.h b/emr/include/alibabacloud/emr/model/ListExecutionPlansResult.h deleted file mode 100644 index bd9e4cee4..000000000 --- a/emr/include/alibabacloud/emr/model/ListExecutionPlansResult.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_LISTEXECUTIONPLANSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListExecutionPlansResult : public ServiceResult - { - public: - struct ExecutionPlanInfo - { - std::string status; - int timeInterval; - std::string stragety; - long startTime; - std::string timeUnit; - std::string id; - bool createClusterOnDemand; - std::string name; - }; - - - ListExecutionPlansResult(); - explicit ListExecutionPlansResult(const std::string &payload); - ~ListExecutionPlansResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getExecutionPlans()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector executionPlans_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListFlowEntitySnapshotRequest.h b/emr/include/alibabacloud/emr/model/ListFlowEntitySnapshotRequest.h deleted file mode 100644 index c4c9c1b6e..000000000 --- a/emr/include/alibabacloud/emr/model/ListFlowEntitySnapshotRequest.h +++ /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. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTFLOWENTITYSNAPSHOTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTFLOWENTITYSNAPSHOTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListFlowEntitySnapshotRequest : public RpcServiceRequest - { - - public: - ListFlowEntitySnapshotRequest(); - ~ListFlowEntitySnapshotRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getPageCount()const; - void setPageCount(int pageCount); - std::string getOrderMode()const; - void setOrderMode(const std::string& orderMode); - std::string getEntityId()const; - void setEntityId(const std::string& entityId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getLimit()const; - void setLimit(int limit); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getCommitterId()const; - void setCommitterId(const std::string& committerId); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::string getOrderField()const; - void setOrderField(const std::string& orderField); - std::string getEntityGroupId()const; - void setEntityGroupId(const std::string& entityGroupId); - std::string getRevision()const; - void setRevision(const std::string& revision); - std::string getEntityType()const; - void setEntityType(const std::string& entityType); - - private: - long resourceOwnerId_; - int pageCount_; - std::string orderMode_; - std::string entityId_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int limit_; - int pageSize_; - std::string committerId_; - int currentSize_; - std::string orderField_; - std::string entityGroupId_; - std::string revision_; - std::string entityType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTFLOWENTITYSNAPSHOTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobInstanceWorkersResult.h b/emr/include/alibabacloud/emr/model/ListJobInstanceWorkersResult.h deleted file mode 100644 index 1fbc1527e..000000000 --- a/emr/include/alibabacloud/emr/model/ListJobInstanceWorkersResult.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_LISTJOBINSTANCEWORKERSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBINSTANCEWORKERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListJobInstanceWorkersResult : public ServiceResult - { - public: - struct JobInstanceWorkerInfo - { - std::string containerInfo; - std::string applicationId; - std::string instanceInfo; - }; - - - ListJobInstanceWorkersResult(); - explicit ListJobInstanceWorkersResult(const std::string &payload); - ~ListJobInstanceWorkersResult(); - std::vector getJobInstanceWorkers()const; - - protected: - void parse(const std::string &payload); - private: - std::vector jobInstanceWorkers_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBINSTANCEWORKERSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateNoteRequest.h b/emr/include/alibabacloud/emr/model/ListLocalDiskComponentInfoRequest.h similarity index 67% rename from emr/include/alibabacloud/emr/model/CreateNoteRequest.h rename to emr/include/alibabacloud/emr/model/ListLocalDiskComponentInfoRequest.h index c4bf0f43a..a8dc61f2f 100644 --- a/emr/include/alibabacloud/emr/model/CreateNoteRequest.h +++ b/emr/include/alibabacloud/emr/model/ListLocalDiskComponentInfoRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_CREATENOTEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATENOTEREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFOREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFOREQUEST_H_ #include #include @@ -28,39 +28,33 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT CreateNoteRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ListLocalDiskComponentInfoRequest : public RpcServiceRequest { public: - CreateNoteRequest(); - ~CreateNoteRequest(); + ListLocalDiskComponentInfoRequest(); + ~ListLocalDiskComponentInfoRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getClusterId()const; void setClusterId(const std::string& clusterId); - std::string getType()const; - void setType(const std::string& type); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); std::string getRegionId()const; void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); private: long resourceOwnerId_; std::string clusterId_; - std::string type_; std::string accessKeyId_; - std::string resourceGroupId_; + std::string instanceId_; std::string regionId_; - std::string name_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_CREATENOTEREQUEST_H_ \ No newline at end of file +#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 new file mode 100644 index 000000000..216d19eab --- /dev/null +++ b/emr/include/alibabacloud/emr/model/ListLocalDiskComponentInfoResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFORESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTLOCALDISKCOMPONENTINFORESULT_H_ + +#include +#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/ListMetaClusterResult.h b/emr/include/alibabacloud/emr/model/ListMetaClusterResult.h deleted file mode 100644 index 71ea9e9a2..000000000 --- a/emr/include/alibabacloud/emr/model/ListMetaClusterResult.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_LISTMETACLUSTERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTMETACLUSTERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListMetaClusterResult : public ServiceResult - { - public: - struct Item - { - struct SoftwareInfo - { - std::string emrVer; - std::string clusterType; - }; - std::string id; - SoftwareInfo softwareInfo; - std::string name; - }; - - - ListMetaClusterResult(); - explicit ListMetaClusterResult(const std::string &payload); - ~ListMetaClusterResult(); - 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_LISTMETACLUSTERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterRequest.h b/emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterRequest.h deleted file mode 100644 index d48529d84..000000000 --- a/emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterRequest.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_LISTMETADATASOURCECLUSTERFOROUTERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTMETADATASOURCECLUSTERFOROUTERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListMetaDataSourceClusterForOuterRequest : public RpcServiceRequest - { - - public: - ListMetaDataSourceClusterForOuterRequest(); - ~ListMetaDataSourceClusterForOuterRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::vector getClusterId()const; - void setClusterId(const std::vector& clusterId); - std::string getUserId()const; - void setUserId(const std::string& userId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getDataSourceId()const; - void setDataSourceId(const std::vector& dataSourceId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - long resourceOwnerId_; - std::vector clusterId_; - std::string userId_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - std::vector dataSourceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTMETADATASOURCECLUSTERFOROUTERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterResult.h b/emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterResult.h deleted file mode 100644 index 6cf38da7c..000000000 --- a/emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterResult.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_LISTMETADATASOURCECLUSTERFOROUTERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTMETADATASOURCECLUSTERFOROUTERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListMetaDataSourceClusterForOuterResult : public ServiceResult - { - public: - struct Item - { - std::string clusterId; - std::string userId; - std::string dataSourceId; - }; - - - ListMetaDataSourceClusterForOuterResult(); - explicit ListMetaDataSourceClusterForOuterResult(const std::string &payload); - ~ListMetaDataSourceClusterForOuterResult(); - 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_LISTMETADATASOURCECLUSTERFOROUTERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListNotesRequest.h b/emr/include/alibabacloud/emr/model/ListNotesRequest.h deleted file mode 100644 index bc8d4dadf..000000000 --- a/emr/include/alibabacloud/emr/model/ListNotesRequest.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_LISTNOTESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTNOTESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListNotesRequest : public RpcServiceRequest - { - - public: - ListNotesRequest(); - ~ListNotesRequest(); - - 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); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string resourceGroupId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTNOTESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListNotesResult.h b/emr/include/alibabacloud/emr/model/ListNotesResult.h deleted file mode 100644 index fc2cccdfc..000000000 --- a/emr/include/alibabacloud/emr/model/ListNotesResult.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_LISTNOTESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTNOTESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListNotesResult : public ServiceResult - { - public: - struct NoteInfo - { - std::string type; - std::string id; - std::string name; - }; - - - ListNotesResult(); - explicit ListNotesResult(const std::string &payload); - ~ListNotesResult(); - std::vector getNotes()const; - - protected: - void parse(const std::string &payload); - private: - std::vector notes_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTNOTESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListScalingConfigItemV2Request.h b/emr/include/alibabacloud/emr/model/ListScalingConfigItemV2Request.h index 254c0bef7..679bbc25f 100644 --- a/emr/include/alibabacloud/emr/model/ListScalingConfigItemV2Request.h +++ b/emr/include/alibabacloud/emr/model/ListScalingConfigItemV2Request.h @@ -35,12 +35,10 @@ namespace AlibabaCloud ListScalingConfigItemV2Request(); ~ListScalingConfigItemV2Request(); + std::string getConfigItemType()const; + void setConfigItemType(const std::string& configItemType); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - int getPageCount()const; - void setPageCount(int pageCount); - std::string getOrderMode()const; - void setOrderMode(const std::string& orderMode); int getPageNumber()const; void setPageNumber(int pageNumber); std::string getAccessKeyId()const; @@ -51,31 +49,18 @@ namespace AlibabaCloud void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); - int getLimit()const; - void setLimit(int limit); int getPageSize()const; void setPageSize(int pageSize); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::string getOrderField()const; - void setOrderField(const std::string& orderField); - std::string getConfigItemType()const; - void setConfigItemType(const std::string& configItemType); private: + std::string configItemType_; long resourceOwnerId_; - int pageCount_; - std::string orderMode_; int pageNumber_; std::string accessKeyId_; std::string scalingGroupBizId_; std::string resourceGroupId_; std::string regionId_; - int limit_; int pageSize_; - int currentSize_; - std::string orderField_; - std::string configItemType_; }; } diff --git a/emr/include/alibabacloud/emr/model/QueryAlarmHistoryResult.h b/emr/include/alibabacloud/emr/model/QueryAlarmHistoryResult.h deleted file mode 100644 index 025a05121..000000000 --- a/emr/include/alibabacloud/emr/model/QueryAlarmHistoryResult.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_QUERYALARMHISTORYRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYALARMHISTORYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryAlarmHistoryResult : public ServiceResult - { - public: - struct EmrAlarmHistory - { - std::string role; - int status; - std::string metricName; - std::string contactGroups; - std::string clusterId; - std::string instanceId; - long alarmTime; - std::string state; - long lastTime; - std::string name; - }; - - - QueryAlarmHistoryResult(); - explicit QueryAlarmHistoryResult(const std::string &payload); - ~QueryAlarmHistoryResult(); - std::vector getAlarmHistoryList()const; - std::string getTotal()const; - std::string getCursor()const; - - protected: - void parse(const std::string &payload); - private: - std::vector alarmHistoryList_; - std::string total_; - std::string cursor_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYALARMHISTORYRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryTableDataRequest.h b/emr/include/alibabacloud/emr/model/QueryTableDataRequest.h deleted file mode 100644 index e150b74fa..000000000 --- a/emr/include/alibabacloud/emr/model/QueryTableDataRequest.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_QUERYTABLEDATAREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYTABLEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryTableDataRequest : public RpcServiceRequest - { - - public: - QueryTableDataRequest(); - ~QueryTableDataRequest(); - - 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 getPayload()const; - void setPayload(const std::string& payload); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string payload_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYTABLEDATAREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryTableDataResult.h b/emr/include/alibabacloud/emr/model/QueryTableDataResult.h deleted file mode 100644 index acf467977..000000000 --- a/emr/include/alibabacloud/emr/model/QueryTableDataResult.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_QUERYTABLEDATARESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYTABLEDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryTableDataResult : public ServiceResult - { - public: - - - QueryTableDataResult(); - explicit QueryTableDataResult(const std::string &payload); - ~QueryTableDataResult(); - std::string getData()const; - - protected: - void parse(const std::string &payload); - private: - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYTABLEDATARESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryTrendDataRequest.h b/emr/include/alibabacloud/emr/model/QueryTrendDataRequest.h deleted file mode 100644 index 733976b0b..000000000 --- a/emr/include/alibabacloud/emr/model/QueryTrendDataRequest.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_QUERYTRENDDATAREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYTRENDDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryTrendDataRequest : public RpcServiceRequest - { - - public: - QueryTrendDataRequest(); - ~QueryTrendDataRequest(); - - 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 getPayload()const; - void setPayload(const std::string& payload); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string payload_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYTRENDDATAREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryTrendDataResult.h b/emr/include/alibabacloud/emr/model/QueryTrendDataResult.h deleted file mode 100644 index 029fe50da..000000000 --- a/emr/include/alibabacloud/emr/model/QueryTrendDataResult.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_QUERYTRENDDATARESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYTRENDDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryTrendDataResult : public ServiceResult - { - public: - - - QueryTrendDataResult(); - explicit QueryTrendDataResult(const std::string &payload); - ~QueryTrendDataResult(); - std::string getData()const; - - protected: - void parse(const std::string &payload); - private: - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYTRENDDATARESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ReleaseClusterByTemplateTagForInternalRequest.h b/emr/include/alibabacloud/emr/model/ReleaseClusterByTemplateTagForInternalRequest.h deleted file mode 100644 index 76d290e0b..000000000 --- a/emr/include/alibabacloud/emr/model/ReleaseClusterByTemplateTagForInternalRequest.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_RELEASECLUSTERBYTEMPLATETAGFORINTERNALREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RELEASECLUSTERBYTEMPLATETAGFORINTERNALREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ReleaseClusterByTemplateTagForInternalRequest : public RpcServiceRequest - { - - public: - ReleaseClusterByTemplateTagForInternalRequest(); - ~ReleaseClusterByTemplateTagForInternalRequest(); - - std::vector getTemplateTagSet()const; - void setTemplateTagSet(const std::vector& templateTagSet); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::vector templateTagSet_; - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RELEASECLUSTERBYTEMPLATETAGFORINTERNALREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ReleaseClusterByTemplateTagForInternalResult.h b/emr/include/alibabacloud/emr/model/ReleaseClusterByTemplateTagForInternalResult.h deleted file mode 100644 index 068c42635..000000000 --- a/emr/include/alibabacloud/emr/model/ReleaseClusterByTemplateTagForInternalResult.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_RELEASECLUSTERBYTEMPLATETAGFORINTERNALRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RELEASECLUSTERBYTEMPLATETAGFORINTERNALRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ReleaseClusterByTemplateTagForInternalResult : public ServiceResult - { - public: - - - ReleaseClusterByTemplateTagForInternalResult(); - explicit ReleaseClusterByTemplateTagForInternalResult(const std::string &payload); - ~ReleaseClusterByTemplateTagForInternalResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RELEASECLUSTERBYTEMPLATETAGFORINTERNALRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ResizeClusterV2Request.h b/emr/include/alibabacloud/emr/model/ResizeClusterV2Request.h index 1c6847158..345e67dd2 100644 --- a/emr/include/alibabacloud/emr/model/ResizeClusterV2Request.h +++ b/emr/include/alibabacloud/emr/model/ResizeClusterV2Request.h @@ -42,6 +42,7 @@ namespace AlibabaCloud int period; int sysDiskCapacity; std::string hostKeyPairName; + std::string privatePoolOptionsId; int diskCapacity; std::string sysDiskType; std::string clusterId; @@ -58,6 +59,7 @@ namespace AlibabaCloud std::string createType; std::string hostPassword; std::string hostGroupType; + std::string privatePoolOptionsMatchCriteria; }; struct PromotionInfo { @@ -82,6 +84,8 @@ namespace AlibabaCloud void setVswitchId(const std::string& vswitchId); std::vector getHostComponentInfo()const; void setHostComponentInfo(const std::vector& hostComponentInfo); + std::string getClickhouseConf()const; + void setClickhouseConf(const std::string& clickhouseConf); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::vector getHostGroup()const; @@ -96,6 +100,7 @@ namespace AlibabaCloud std::string accessKeyId_; std::string vswitchId_; std::vector hostComponentInfo_; + std::string clickhouseConf_; std::string regionId_; std::vector hostGroup_; std::vector promotionInfo_; diff --git a/emr/include/alibabacloud/emr/model/RestoreBackupRequest.h b/emr/include/alibabacloud/emr/model/RestoreBackupRequest.h deleted file mode 100644 index 59235f323..000000000 --- a/emr/include/alibabacloud/emr/model/RestoreBackupRequest.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_RESTOREBACKUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RESTOREBACKUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RestoreBackupRequest : public RpcServiceRequest - { - - public: - RestoreBackupRequest(); - ~RestoreBackupRequest(); - - 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 getBackupPlanId()const; - void setBackupPlanId(const std::string& backupPlanId); - std::string getBackupId()const; - void setBackupId(const std::string& backupId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string backupPlanId_; - std::string backupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RESTOREBACKUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RestoreBackupResult.h b/emr/include/alibabacloud/emr/model/RestoreBackupResult.h deleted file mode 100644 index c556f9b6a..000000000 --- a/emr/include/alibabacloud/emr/model/RestoreBackupResult.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_RESTOREBACKUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RESTOREBACKUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RestoreBackupResult : public ServiceResult - { - public: - - - RestoreBackupResult(); - explicit RestoreBackupResult(const std::string &payload); - ~RestoreBackupResult(); - std::string getTriggerType()const; - long getEndTime()const; - long getStartTime()const; - long getGmtModified()const; - std::string getTaskStatus()const; - std::string getTaskDetail()const; - std::string getTriggerUser()const; - long getGmtCreate()const; - int getTaskProcess()const; - std::string getClusterBizId()const; - std::string getTaskType()const; - std::string getBizId()const; - long getDataSourceId()const; - std::string getHostName()const; - long getEcmTaskId()const; - std::string getTaskResultDetail()const; - - protected: - void parse(const std::string &payload); - private: - std::string triggerType_; - long endTime_; - long startTime_; - long gmtModified_; - std::string taskStatus_; - std::string taskDetail_; - std::string triggerUser_; - long gmtCreate_; - int taskProcess_; - std::string clusterBizId_; - std::string taskType_; - std::string bizId_; - long dataSourceId_; - std::string hostName_; - long ecmTaskId_; - std::string taskResultDetail_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RESTOREBACKUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RestoreFlowEntitySnapshotRequest.h b/emr/include/alibabacloud/emr/model/RestoreFlowEntitySnapshotRequest.h deleted file mode 100644 index be785db71..000000000 --- a/emr/include/alibabacloud/emr/model/RestoreFlowEntitySnapshotRequest.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_RESTOREFLOWENTITYSNAPSHOTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RESTOREFLOWENTITYSNAPSHOTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RestoreFlowEntitySnapshotRequest : public RpcServiceRequest - { - - public: - RestoreFlowEntitySnapshotRequest(); - ~RestoreFlowEntitySnapshotRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getEntityId()const; - void setEntityId(const std::string& entityId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRevision()const; - void setRevision(const std::string& revision); - std::string getEntityType()const; - void setEntityType(const std::string& entityType); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOperatorId()const; - void setOperatorId(const std::string& operatorId); - - private: - long resourceOwnerId_; - std::string entityId_; - std::string accessKeyId_; - std::string revision_; - std::string entityType_; - std::string regionId_; - std::string operatorId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RESTOREFLOWENTITYSNAPSHOTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RestoreFlowEntitySnapshotResult.h b/emr/include/alibabacloud/emr/model/RestoreFlowEntitySnapshotResult.h deleted file mode 100644 index a03f1fe2c..000000000 --- a/emr/include/alibabacloud/emr/model/RestoreFlowEntitySnapshotResult.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_RESTOREFLOWENTITYSNAPSHOTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RESTOREFLOWENTITYSNAPSHOTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RestoreFlowEntitySnapshotResult : public ServiceResult - { - public: - - - RestoreFlowEntitySnapshotResult(); - explicit RestoreFlowEntitySnapshotResult(const std::string &payload); - ~RestoreFlowEntitySnapshotResult(); - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RESTOREFLOWENTITYSNAPSHOTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryAlarmHistoryRequest.h b/emr/include/alibabacloud/emr/model/RunDiskOpsActivityRequest.h similarity index 58% rename from emr/include/alibabacloud/emr/model/QueryAlarmHistoryRequest.h rename to emr/include/alibabacloud/emr/model/RunDiskOpsActivityRequest.h index dbe07b78a..cc14fffd7 100644 --- a/emr/include/alibabacloud/emr/model/QueryAlarmHistoryRequest.h +++ b/emr/include/alibabacloud/emr/model/RunDiskOpsActivityRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_QUERYALARMHISTORYREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYALARMHISTORYREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYREQUEST_H_ #include #include @@ -28,42 +28,45 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT QueryAlarmHistoryRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT RunDiskOpsActivityRequest : public RpcServiceRequest { public: - QueryAlarmHistoryRequest(); - ~QueryAlarmHistoryRequest(); + RunDiskOpsActivityRequest(); + ~RunDiskOpsActivityRequest(); - std::string getCursor()const; - void setCursor(const std::string& cursor); + std::string getEventId()const; + void setEventId(const std::string& eventId); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); + std::string getCurrentStage()const; + void setCurrentStage(const std::string& currentStage); std::string getClusterId()const; void setClusterId(const std::string& clusterId); - long getStartTimeStamp()const; - void setStartTimeStamp(long startTimeStamp); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - long getEndTimeStamp()const; - void setEndTimeStamp(long endTimeStamp); - int getSize()const; - void setSize(int size); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); std::string getRegionId()const; void setRegionId(const std::string& regionId); + std::string getDiskId()const; + void setDiskId(const std::string& diskId); + std::string getCurrentState()const; + void setCurrentState(const std::string& currentState); private: - std::string cursor_; + std::string eventId_; long resourceOwnerId_; + std::string currentStage_; std::string clusterId_; - long startTimeStamp_; std::string accessKeyId_; - long endTimeStamp_; - int size_; + std::string instanceId_; std::string regionId_; + std::string diskId_; + std::string currentState_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYALARMHISTORYREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteFlowEditLockResult.h b/emr/include/alibabacloud/emr/model/RunDiskOpsActivityResult.h similarity index 57% rename from emr/include/alibabacloud/emr/model/DeleteFlowEditLockResult.h rename to emr/include/alibabacloud/emr/model/RunDiskOpsActivityResult.h index cadf79a92..2b4121f4d 100644 --- a/emr/include/alibabacloud/emr/model/DeleteFlowEditLockResult.h +++ b/emr/include/alibabacloud/emr/model/RunDiskOpsActivityResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEFLOWEDITLOCKRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEFLOWEDITLOCKRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYRESULT_H_ #include #include @@ -29,23 +29,31 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DeleteFlowEditLockResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT RunDiskOpsActivityResult : public ServiceResult { public: - DeleteFlowEditLockResult(); - explicit DeleteFlowEditLockResult(const std::string &payload); - ~DeleteFlowEditLockResult(); - bool getData()const; + RunDiskOpsActivityResult(); + explicit RunDiskOpsActivityResult(const std::string &payload); + ~RunDiskOpsActivityResult(); + std::string getActivityState()const; + std::string getCurrentActivity()const; + std::string getClusterType()const; + bool getNeedReboot()const; + std::string getErrorMessage()const; protected: void parse(const std::string &payload); private: - bool data_; + std::string activityState_; + std::string currentActivity_; + std::string clusterType_; + bool needReboot_; + std::string errorMessage_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEFLOWEDITLOCKRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_RUNDISKOPSACTIVITYRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/TagResourcesSystemTagsRequest.h b/emr/include/alibabacloud/emr/model/TagResourcesSystemTagsRequest.h deleted file mode 100644 index a67d35cca..000000000 --- a/emr/include/alibabacloud/emr/model/TagResourcesSystemTagsRequest.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_TAGRESOURCESSYSTEMTAGSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_TAGRESOURCESSYSTEMTAGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT TagResourcesSystemTagsRequest : public RpcServiceRequest - { - public: - struct Tag - { - std::string key; - std::string value; - }; - - public: - TagResourcesSystemTagsRequest(); - ~TagResourcesSystemTagsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::vector getResourceId()const; - void setResourceId(const std::vector& resourceId); - long getTagOwnerUid()const; - void setTagOwnerUid(long tagOwnerUid); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getScope()const; - void setScope(const std::string& scope); - std::vector getTag()const; - void setTag(const std::vector& tag); - - private: - long resourceOwnerId_; - std::vector resourceId_; - long tagOwnerUid_; - std::string resourceType_; - std::string accessKeyId_; - std::string regionId_; - std::string scope_; - std::vector tag_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_TAGRESOURCESSYSTEMTAGSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/TagResourcesSystemTagsResult.h b/emr/include/alibabacloud/emr/model/TagResourcesSystemTagsResult.h deleted file mode 100644 index cb9df13c8..000000000 --- a/emr/include/alibabacloud/emr/model/TagResourcesSystemTagsResult.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_TAGRESOURCESSYSTEMTAGSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_TAGRESOURCESSYSTEMTAGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT TagResourcesSystemTagsResult : public ServiceResult - { - public: - - - TagResourcesSystemTagsResult(); - explicit TagResourcesSystemTagsResult(const std::string &payload); - ~TagResourcesSystemTagsResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_TAGRESOURCESSYSTEMTAGSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsRequest.h b/emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsRequest.h deleted file mode 100644 index 110af85da..000000000 --- a/emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsRequest.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_UNTAGRESOURCESSYSTEMTAGSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UNTAGRESOURCESSYSTEMTAGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UntagResourcesSystemTagsRequest : public RpcServiceRequest - { - - public: - UntagResourcesSystemTagsRequest(); - ~UntagResourcesSystemTagsRequest(); - - bool getAll()const; - void setAll(bool all); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::vector getResourceId()const; - void setResourceId(const std::vector& resourceId); - long getTagOwnerUid()const; - void setTagOwnerUid(long tagOwnerUid); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getTagKey()const; - void setTagKey(const std::vector& tagKey); - - private: - bool all_; - long resourceOwnerId_; - std::vector resourceId_; - long tagOwnerUid_; - std::string resourceType_; - std::string accessKeyId_; - std::string regionId_; - std::vector tagKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UNTAGRESOURCESSYSTEMTAGSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsResult.h b/emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsResult.h deleted file mode 100644 index 57fd0074f..000000000 --- a/emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsResult.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_UNTAGRESOURCESSYSTEMTAGSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UNTAGRESOURCESSYSTEMTAGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UntagResourcesSystemTagsResult : public ServiceResult - { - public: - - - UntagResourcesSystemTagsResult(); - explicit UntagResourcesSystemTagsResult(const std::string &payload); - ~UntagResourcesSystemTagsResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UNTAGRESOURCESSYSTEMTAGSRESULT_H_ \ No newline at end of file diff --git a/emr/src/EmrClient.cc b/emr/src/EmrClient.cc index 2c9cc93b0..022e4ebe8 100644 --- a/emr/src/EmrClient.cc +++ b/emr/src/EmrClient.cc @@ -195,42 +195,6 @@ EmrClient::CancelOrderOutcomeCallable EmrClient::cancelOrderCallable(const Cance return task->get_future(); } -EmrClient::CleanupFlowEntitySnapshotOutcome EmrClient::cleanupFlowEntitySnapshot(const CleanupFlowEntitySnapshotRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CleanupFlowEntitySnapshotOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CleanupFlowEntitySnapshotOutcome(CleanupFlowEntitySnapshotResult(outcome.result())); - else - return CleanupFlowEntitySnapshotOutcome(outcome.error()); -} - -void EmrClient::cleanupFlowEntitySnapshotAsync(const CleanupFlowEntitySnapshotRequest& request, const CleanupFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, cleanupFlowEntitySnapshot(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CleanupFlowEntitySnapshotOutcomeCallable EmrClient::cleanupFlowEntitySnapshotCallable(const CleanupFlowEntitySnapshotRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->cleanupFlowEntitySnapshot(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CloneFlowOutcome EmrClient::cloneFlow(const CloneFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -303,42 +267,6 @@ EmrClient::CloneFlowJobOutcomeCallable EmrClient::cloneFlowJobCallable(const Clo return task->get_future(); } -EmrClient::CommitFlowEntitySnapshotOutcome EmrClient::commitFlowEntitySnapshot(const CommitFlowEntitySnapshotRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CommitFlowEntitySnapshotOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CommitFlowEntitySnapshotOutcome(CommitFlowEntitySnapshotResult(outcome.result())); - else - return CommitFlowEntitySnapshotOutcome(outcome.error()); -} - -void EmrClient::commitFlowEntitySnapshotAsync(const CommitFlowEntitySnapshotRequest& request, const CommitFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, commitFlowEntitySnapshot(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CommitFlowEntitySnapshotOutcomeCallable EmrClient::commitFlowEntitySnapshotCallable(const CommitFlowEntitySnapshotRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->commitFlowEntitySnapshot(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CreateBackupOutcome EmrClient::createBackup(const CreateBackupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -447,6 +375,42 @@ EmrClient::CreateClusterBootstrapActionOutcomeCallable EmrClient::createClusterB 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(); @@ -699,42 +663,6 @@ EmrClient::CreateFlowCategoryOutcomeCallable EmrClient::createFlowCategoryCallab return task->get_future(); } -EmrClient::CreateFlowEditLockOutcome EmrClient::createFlowEditLock(const CreateFlowEditLockRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateFlowEditLockOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateFlowEditLockOutcome(CreateFlowEditLockResult(outcome.result())); - else - return CreateFlowEditLockOutcome(outcome.error()); -} - -void EmrClient::createFlowEditLockAsync(const CreateFlowEditLockRequest& request, const CreateFlowEditLockAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createFlowEditLock(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateFlowEditLockOutcomeCallable EmrClient::createFlowEditLockCallable(const CreateFlowEditLockRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createFlowEditLock(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CreateFlowForWebOutcome EmrClient::createFlowForWeb(const CreateFlowForWebRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1023,78 +951,6 @@ EmrClient::CreateMetaTablePreviewTaskOutcomeCallable EmrClient::createMetaTableP return task->get_future(); } -EmrClient::CreateNoteOutcome EmrClient::createNote(const CreateNoteRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateNoteOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateNoteOutcome(CreateNoteResult(outcome.result())); - else - return CreateNoteOutcome(outcome.error()); -} - -void EmrClient::createNoteAsync(const CreateNoteRequest& request, const CreateNoteAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createNote(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateNoteOutcomeCallable EmrClient::createNoteCallable(const CreateNoteRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createNote(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateParagraphOutcome EmrClient::createParagraph(const CreateParagraphRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateParagraphOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateParagraphOutcome(CreateParagraphResult(outcome.result())); - else - return CreateParagraphOutcome(outcome.error()); -} - -void EmrClient::createParagraphAsync(const CreateParagraphRequest& request, const CreateParagraphAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createParagraph(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateParagraphOutcomeCallable EmrClient::createParagraphCallable(const CreateParagraphRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createParagraph(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CreateResourcePoolOutcome EmrClient::createResourcePool(const CreateResourcePoolRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1527,42 +1383,6 @@ EmrClient::DeleteFlowCategoryOutcomeCallable EmrClient::deleteFlowCategoryCallab return task->get_future(); } -EmrClient::DeleteFlowEditLockOutcome EmrClient::deleteFlowEditLock(const DeleteFlowEditLockRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteFlowEditLockOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteFlowEditLockOutcome(DeleteFlowEditLockResult(outcome.result())); - else - return DeleteFlowEditLockOutcome(outcome.error()); -} - -void EmrClient::deleteFlowEditLockAsync(const DeleteFlowEditLockRequest& request, const DeleteFlowEditLockAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteFlowEditLock(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteFlowEditLockOutcomeCallable EmrClient::deleteFlowEditLockCallable(const DeleteFlowEditLockRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteFlowEditLock(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DeleteFlowJobOutcome EmrClient::deleteFlowJob(const DeleteFlowJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1779,42 +1599,6 @@ EmrClient::DeleteLibrariesOutcomeCallable EmrClient::deleteLibrariesCallable(con return task->get_future(); } -EmrClient::DeleteNoteOutcome EmrClient::deleteNote(const DeleteNoteRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteNoteOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteNoteOutcome(DeleteNoteResult(outcome.result())); - else - return DeleteNoteOutcome(outcome.error()); -} - -void EmrClient::deleteNoteAsync(const DeleteNoteRequest& request, const DeleteNoteAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteNote(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteNoteOutcomeCallable EmrClient::deleteNoteCallable(const DeleteNoteRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteNote(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DeleteResourcePoolOutcome EmrClient::deleteResourcePool(const DeleteResourcePoolRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2391,6 +2175,78 @@ EmrClient::DescribeDataSourceOutcomeCallable EmrClient::describeDataSourceCallab 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(); @@ -2463,78 +2319,6 @@ EmrClient::DescribeFlowOutcomeCallable EmrClient::describeFlowCallable(const Des return task->get_future(); } -EmrClient::DescribeFlowAgentTokenOutcome EmrClient::describeFlowAgentToken(const DescribeFlowAgentTokenRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeFlowAgentTokenOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeFlowAgentTokenOutcome(DescribeFlowAgentTokenResult(outcome.result())); - else - return DescribeFlowAgentTokenOutcome(outcome.error()); -} - -void EmrClient::describeFlowAgentTokenAsync(const DescribeFlowAgentTokenRequest& request, const DescribeFlowAgentTokenAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeFlowAgentToken(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeFlowAgentTokenOutcomeCallable EmrClient::describeFlowAgentTokenCallable(const DescribeFlowAgentTokenRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeFlowAgentToken(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeFlowAgentUserOutcome EmrClient::describeFlowAgentUser(const DescribeFlowAgentUserRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeFlowAgentUserOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeFlowAgentUserOutcome(DescribeFlowAgentUserResult(outcome.result())); - else - return DescribeFlowAgentUserOutcome(outcome.error()); -} - -void EmrClient::describeFlowAgentUserAsync(const DescribeFlowAgentUserRequest& request, const DescribeFlowAgentUserAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeFlowAgentUser(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeFlowAgentUserOutcomeCallable EmrClient::describeFlowAgentUserCallable(const DescribeFlowAgentUserRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeFlowAgentUser(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeFlowCategoryOutcome EmrClient::describeFlowCategory(const DescribeFlowCategoryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2607,42 +2391,6 @@ EmrClient::DescribeFlowCategoryTreeOutcomeCallable EmrClient::describeFlowCatego return task->get_future(); } -EmrClient::DescribeFlowEntitySnapshotOutcome EmrClient::describeFlowEntitySnapshot(const DescribeFlowEntitySnapshotRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeFlowEntitySnapshotOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeFlowEntitySnapshotOutcome(DescribeFlowEntitySnapshotResult(outcome.result())); - else - return DescribeFlowEntitySnapshotOutcome(outcome.error()); -} - -void EmrClient::describeFlowEntitySnapshotAsync(const DescribeFlowEntitySnapshotRequest& request, const DescribeFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeFlowEntitySnapshot(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeFlowEntitySnapshotOutcomeCallable EmrClient::describeFlowEntitySnapshotCallable(const DescribeFlowEntitySnapshotRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeFlowEntitySnapshot(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeFlowInstanceOutcome EmrClient::describeFlowInstance(const DescribeFlowInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3327,114 +3075,6 @@ EmrClient::DetachAndReleaseClusterEniOutcomeCallable EmrClient::detachAndRelease return task->get_future(); } -EmrClient::DiffFlowEntitySnapshotOutcome EmrClient::diffFlowEntitySnapshot(const DiffFlowEntitySnapshotRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DiffFlowEntitySnapshotOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DiffFlowEntitySnapshotOutcome(DiffFlowEntitySnapshotResult(outcome.result())); - else - return DiffFlowEntitySnapshotOutcome(outcome.error()); -} - -void EmrClient::diffFlowEntitySnapshotAsync(const DiffFlowEntitySnapshotRequest& request, const DiffFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, diffFlowEntitySnapshot(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DiffFlowEntitySnapshotOutcomeCallable EmrClient::diffFlowEntitySnapshotCallable(const DiffFlowEntitySnapshotRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->diffFlowEntitySnapshot(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DumpMetaDataSourceForOuterOutcome EmrClient::dumpMetaDataSourceForOuter(const DumpMetaDataSourceForOuterRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DumpMetaDataSourceForOuterOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DumpMetaDataSourceForOuterOutcome(DumpMetaDataSourceForOuterResult(outcome.result())); - else - return DumpMetaDataSourceForOuterOutcome(outcome.error()); -} - -void EmrClient::dumpMetaDataSourceForOuterAsync(const DumpMetaDataSourceForOuterRequest& request, const DumpMetaDataSourceForOuterAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, dumpMetaDataSourceForOuter(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DumpMetaDataSourceForOuterOutcomeCallable EmrClient::dumpMetaDataSourceForOuterCallable(const DumpMetaDataSourceForOuterRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->dumpMetaDataSourceForOuter(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetFlowEntityRelationGraphOutcome EmrClient::getFlowEntityRelationGraph(const GetFlowEntityRelationGraphRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetFlowEntityRelationGraphOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetFlowEntityRelationGraphOutcome(GetFlowEntityRelationGraphResult(outcome.result())); - else - return GetFlowEntityRelationGraphOutcome(outcome.error()); -} - -void EmrClient::getFlowEntityRelationGraphAsync(const GetFlowEntityRelationGraphRequest& request, const GetFlowEntityRelationGraphAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getFlowEntityRelationGraph(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetFlowEntityRelationGraphOutcomeCallable EmrClient::getFlowEntityRelationGraphCallable(const GetFlowEntityRelationGraphRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getFlowEntityRelationGraph(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::GetHdfsCapacityStatisticInfoOutcome EmrClient::getHdfsCapacityStatisticInfo(const GetHdfsCapacityStatisticInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3867,42 +3507,6 @@ EmrClient::JoinResourceGroupOutcomeCallable EmrClient::joinResourceGroupCallable return task->get_future(); } -EmrClient::KillExecutionJobInstanceOutcome EmrClient::killExecutionJobInstance(const KillExecutionJobInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return KillExecutionJobInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return KillExecutionJobInstanceOutcome(KillExecutionJobInstanceResult(outcome.result())); - else - return KillExecutionJobInstanceOutcome(outcome.error()); -} - -void EmrClient::killExecutionJobInstanceAsync(const KillExecutionJobInstanceRequest& request, const KillExecutionJobInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, killExecutionJobInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::KillExecutionJobInstanceOutcomeCallable EmrClient::killExecutionJobInstanceCallable(const KillExecutionJobInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->killExecutionJobInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::KillFlowJobOutcome EmrClient::killFlowJob(const KillFlowJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4623,6 +4227,42 @@ EmrClient::ListDataSourceOutcomeCallable EmrClient::listDataSourceCallable(const 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(); @@ -4767,42 +4407,6 @@ EmrClient::ListExecutionPlanInstancesOutcomeCallable EmrClient::listExecutionPla return task->get_future(); } -EmrClient::ListExecutionPlansOutcome EmrClient::listExecutionPlans(const ListExecutionPlansRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListExecutionPlansOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListExecutionPlansOutcome(ListExecutionPlansResult(outcome.result())); - else - return ListExecutionPlansOutcome(outcome.error()); -} - -void EmrClient::listExecutionPlansAsync(const ListExecutionPlansRequest& request, const ListExecutionPlansAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listExecutionPlans(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListExecutionPlansOutcomeCallable EmrClient::listExecutionPlansCallable(const ListExecutionPlansRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listExecutionPlans(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListFlowOutcome EmrClient::listFlow(const ListFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5019,42 +4623,6 @@ EmrClient::ListFlowClusterHostOutcomeCallable EmrClient::listFlowClusterHostCall return task->get_future(); } -EmrClient::ListFlowEntitySnapshotOutcome EmrClient::listFlowEntitySnapshot(const ListFlowEntitySnapshotRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListFlowEntitySnapshotOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListFlowEntitySnapshotOutcome(ListFlowEntitySnapshotResult(outcome.result())); - else - return ListFlowEntitySnapshotOutcome(outcome.error()); -} - -void EmrClient::listFlowEntitySnapshotAsync(const ListFlowEntitySnapshotRequest& request, const ListFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listFlowEntitySnapshot(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListFlowEntitySnapshotOutcomeCallable EmrClient::listFlowEntitySnapshotCallable(const ListFlowEntitySnapshotRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listFlowEntitySnapshot(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListFlowInstanceOutcome EmrClient::listFlowInstance(const ListFlowInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5415,42 +4983,6 @@ EmrClient::ListJobExecutionInstancesOutcomeCallable EmrClient::listJobExecutionI return task->get_future(); } -EmrClient::ListJobInstanceWorkersOutcome EmrClient::listJobInstanceWorkers(const ListJobInstanceWorkersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListJobInstanceWorkersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListJobInstanceWorkersOutcome(ListJobInstanceWorkersResult(outcome.result())); - else - return ListJobInstanceWorkersOutcome(outcome.error()); -} - -void EmrClient::listJobInstanceWorkersAsync(const ListJobInstanceWorkersRequest& request, const ListJobInstanceWorkersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listJobInstanceWorkers(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListJobInstanceWorkersOutcomeCallable EmrClient::listJobInstanceWorkersCallable(const ListJobInstanceWorkersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listJobInstanceWorkers(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListJobsOutcome EmrClient::listJobs(const ListJobsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5595,108 +5127,36 @@ EmrClient::ListLibraryStatusOutcomeCallable EmrClient::listLibraryStatusCallable return task->get_future(); } -EmrClient::ListMetaClusterOutcome EmrClient::listMetaCluster(const ListMetaClusterRequest &request) const +EmrClient::ListLocalDiskComponentInfoOutcome EmrClient::listLocalDiskComponentInfo(const ListLocalDiskComponentInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListMetaClusterOutcome(endpointOutcome.error()); + return ListLocalDiskComponentInfoOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListMetaClusterOutcome(ListMetaClusterResult(outcome.result())); + return ListLocalDiskComponentInfoOutcome(ListLocalDiskComponentInfoResult(outcome.result())); else - return ListMetaClusterOutcome(outcome.error()); + return ListLocalDiskComponentInfoOutcome(outcome.error()); } -void EmrClient::listMetaClusterAsync(const ListMetaClusterRequest& request, const ListMetaClusterAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::listLocalDiskComponentInfoAsync(const ListLocalDiskComponentInfoRequest& request, const ListLocalDiskComponentInfoAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listMetaCluster(request), context); + handler(this, request, listLocalDiskComponentInfo(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ListMetaClusterOutcomeCallable EmrClient::listMetaClusterCallable(const ListMetaClusterRequest &request) const +EmrClient::ListLocalDiskComponentInfoOutcomeCallable EmrClient::listLocalDiskComponentInfoCallable(const ListLocalDiskComponentInfoRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listMetaCluster(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListMetaDataSourceClusterForOuterOutcome EmrClient::listMetaDataSourceClusterForOuter(const ListMetaDataSourceClusterForOuterRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListMetaDataSourceClusterForOuterOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListMetaDataSourceClusterForOuterOutcome(ListMetaDataSourceClusterForOuterResult(outcome.result())); - else - return ListMetaDataSourceClusterForOuterOutcome(outcome.error()); -} - -void EmrClient::listMetaDataSourceClusterForOuterAsync(const ListMetaDataSourceClusterForOuterRequest& request, const ListMetaDataSourceClusterForOuterAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listMetaDataSourceClusterForOuter(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListMetaDataSourceClusterForOuterOutcomeCallable EmrClient::listMetaDataSourceClusterForOuterCallable(const ListMetaDataSourceClusterForOuterRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listMetaDataSourceClusterForOuter(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListNotesOutcome EmrClient::listNotes(const ListNotesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListNotesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListNotesOutcome(ListNotesResult(outcome.result())); - else - return ListNotesOutcome(outcome.error()); -} - -void EmrClient::listNotesAsync(const ListNotesRequest& request, const ListNotesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listNotes(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListNotesOutcomeCallable EmrClient::listNotesCallable(const ListNotesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listNotes(request); + return this->listLocalDiskComponentInfo(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -6927,42 +6387,6 @@ EmrClient::ModifyScalingTaskGroupOutcomeCallable EmrClient::modifyScalingTaskGro return task->get_future(); } -EmrClient::QueryAlarmHistoryOutcome EmrClient::queryAlarmHistory(const QueryAlarmHistoryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryAlarmHistoryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryAlarmHistoryOutcome(QueryAlarmHistoryResult(outcome.result())); - else - return QueryAlarmHistoryOutcome(outcome.error()); -} - -void EmrClient::queryAlarmHistoryAsync(const QueryAlarmHistoryRequest& request, const QueryAlarmHistoryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryAlarmHistory(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::QueryAlarmHistoryOutcomeCallable EmrClient::queryAlarmHistoryCallable(const QueryAlarmHistoryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryAlarmHistory(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::QueryEntityOutcome EmrClient::queryEntity(const QueryEntityRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6999,42 +6423,6 @@ EmrClient::QueryEntityOutcomeCallable EmrClient::queryEntityCallable(const Query return task->get_future(); } -EmrClient::QueryTableDataOutcome EmrClient::queryTableData(const QueryTableDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryTableDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryTableDataOutcome(QueryTableDataResult(outcome.result())); - else - return QueryTableDataOutcome(outcome.error()); -} - -void EmrClient::queryTableDataAsync(const QueryTableDataRequest& request, const QueryTableDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryTableData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::QueryTableDataOutcomeCallable EmrClient::queryTableDataCallable(const QueryTableDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryTableData(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::QueryTagOutcome EmrClient::queryTag(const QueryTagRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7071,42 +6459,6 @@ EmrClient::QueryTagOutcomeCallable EmrClient::queryTagCallable(const QueryTagReq return task->get_future(); } -EmrClient::QueryTrendDataOutcome EmrClient::queryTrendData(const QueryTrendDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryTrendDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryTrendDataOutcome(QueryTrendDataResult(outcome.result())); - else - return QueryTrendDataOutcome(outcome.error()); -} - -void EmrClient::queryTrendDataAsync(const QueryTrendDataRequest& request, const QueryTrendDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryTrendData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::QueryTrendDataOutcomeCallable EmrClient::queryTrendDataCallable(const QueryTrendDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryTrendData(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::RefreshClusterResourcePoolOutcome EmrClient::refreshClusterResourcePool(const RefreshClusterResourcePoolRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7179,42 +6531,6 @@ EmrClient::ReleaseClusterOutcomeCallable EmrClient::releaseClusterCallable(const return task->get_future(); } -EmrClient::ReleaseClusterByTemplateTagForInternalOutcome EmrClient::releaseClusterByTemplateTagForInternal(const ReleaseClusterByTemplateTagForInternalRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReleaseClusterByTemplateTagForInternalOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReleaseClusterByTemplateTagForInternalOutcome(ReleaseClusterByTemplateTagForInternalResult(outcome.result())); - else - return ReleaseClusterByTemplateTagForInternalOutcome(outcome.error()); -} - -void EmrClient::releaseClusterByTemplateTagForInternalAsync(const ReleaseClusterByTemplateTagForInternalRequest& request, const ReleaseClusterByTemplateTagForInternalAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, releaseClusterByTemplateTagForInternal(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ReleaseClusterByTemplateTagForInternalOutcomeCallable EmrClient::releaseClusterByTemplateTagForInternalCallable(const ReleaseClusterByTemplateTagForInternalRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->releaseClusterByTemplateTagForInternal(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ReleaseClusterHostGroupOutcome EmrClient::releaseClusterHostGroup(const ReleaseClusterHostGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7359,78 +6675,6 @@ EmrClient::ResizeClusterV2OutcomeCallable EmrClient::resizeClusterV2Callable(con return task->get_future(); } -EmrClient::RestoreBackupOutcome EmrClient::restoreBackup(const RestoreBackupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RestoreBackupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RestoreBackupOutcome(RestoreBackupResult(outcome.result())); - else - return RestoreBackupOutcome(outcome.error()); -} - -void EmrClient::restoreBackupAsync(const RestoreBackupRequest& request, const RestoreBackupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, restoreBackup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RestoreBackupOutcomeCallable EmrClient::restoreBackupCallable(const RestoreBackupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->restoreBackup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RestoreFlowEntitySnapshotOutcome EmrClient::restoreFlowEntitySnapshot(const RestoreFlowEntitySnapshotRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RestoreFlowEntitySnapshotOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RestoreFlowEntitySnapshotOutcome(RestoreFlowEntitySnapshotResult(outcome.result())); - else - return RestoreFlowEntitySnapshotOutcome(outcome.error()); -} - -void EmrClient::restoreFlowEntitySnapshotAsync(const RestoreFlowEntitySnapshotRequest& request, const RestoreFlowEntitySnapshotAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, restoreFlowEntitySnapshot(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RestoreFlowEntitySnapshotOutcomeCallable EmrClient::restoreFlowEntitySnapshotCallable(const RestoreFlowEntitySnapshotRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->restoreFlowEntitySnapshot(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ResumeExecutionPlanSchedulerOutcome EmrClient::resumeExecutionPlanScheduler(const ResumeExecutionPlanSchedulerRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7575,6 +6819,42 @@ 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(); @@ -7899,42 +7179,6 @@ EmrClient::TagResourcesOutcomeCallable EmrClient::tagResourcesCallable(const Tag return task->get_future(); } -EmrClient::TagResourcesSystemTagsOutcome EmrClient::tagResourcesSystemTags(const TagResourcesSystemTagsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return TagResourcesSystemTagsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return TagResourcesSystemTagsOutcome(TagResourcesSystemTagsResult(outcome.result())); - else - return TagResourcesSystemTagsOutcome(outcome.error()); -} - -void EmrClient::tagResourcesSystemTagsAsync(const TagResourcesSystemTagsRequest& request, const TagResourcesSystemTagsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, tagResourcesSystemTags(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::TagResourcesSystemTagsOutcomeCallable EmrClient::tagResourcesSystemTagsCallable(const TagResourcesSystemTagsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->tagResourcesSystemTags(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::UninstallLibrariesOutcome EmrClient::uninstallLibraries(const UninstallLibrariesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8007,42 +7251,6 @@ EmrClient::UntagResourcesOutcomeCallable EmrClient::untagResourcesCallable(const return task->get_future(); } -EmrClient::UntagResourcesSystemTagsOutcome EmrClient::untagResourcesSystemTags(const UntagResourcesSystemTagsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UntagResourcesSystemTagsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UntagResourcesSystemTagsOutcome(UntagResourcesSystemTagsResult(outcome.result())); - else - return UntagResourcesSystemTagsOutcome(outcome.error()); -} - -void EmrClient::untagResourcesSystemTagsAsync(const UntagResourcesSystemTagsRequest& request, const UntagResourcesSystemTagsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, untagResourcesSystemTags(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UntagResourcesSystemTagsOutcomeCallable EmrClient::untagResourcesSystemTagsCallable(const UntagResourcesSystemTagsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->untagResourcesSystemTags(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::UpdateDataSourceOutcome EmrClient::updateDataSource(const UpdateDataSourceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/emr/src/model/CleanupFlowEntitySnapshotRequest.cc b/emr/src/model/CleanupFlowEntitySnapshotRequest.cc deleted file mode 100644 index 0d1e96c81..000000000 --- a/emr/src/model/CleanupFlowEntitySnapshotRequest.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::CleanupFlowEntitySnapshotRequest; - -CleanupFlowEntitySnapshotRequest::CleanupFlowEntitySnapshotRequest() : - RpcServiceRequest("emr", "2016-04-08", "CleanupFlowEntitySnapshot") -{ - setMethod(HttpRequest::Method::Post); -} - -CleanupFlowEntitySnapshotRequest::~CleanupFlowEntitySnapshotRequest() -{} - -long CleanupFlowEntitySnapshotRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CleanupFlowEntitySnapshotRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CleanupFlowEntitySnapshotRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CleanupFlowEntitySnapshotRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CleanupFlowEntitySnapshotRequest::getRegionId()const -{ - return regionId_; -} - -void CleanupFlowEntitySnapshotRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string CleanupFlowEntitySnapshotRequest::getEntityIdList()const -{ - return entityIdList_; -} - -void CleanupFlowEntitySnapshotRequest::setEntityIdList(const std::string& entityIdList) -{ - entityIdList_ = entityIdList; - setParameter("EntityIdList", entityIdList); -} - diff --git a/emr/src/model/CleanupFlowEntitySnapshotResult.cc b/emr/src/model/CleanupFlowEntitySnapshotResult.cc deleted file mode 100644 index 8faa92646..000000000 --- a/emr/src/model/CleanupFlowEntitySnapshotResult.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; - -CleanupFlowEntitySnapshotResult::CleanupFlowEntitySnapshotResult() : - ServiceResult() -{} - -CleanupFlowEntitySnapshotResult::CleanupFlowEntitySnapshotResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CleanupFlowEntitySnapshotResult::~CleanupFlowEntitySnapshotResult() -{} - -void CleanupFlowEntitySnapshotResult::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 CleanupFlowEntitySnapshotResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/CommitFlowEntitySnapshotRequest.cc b/emr/src/model/CommitFlowEntitySnapshotRequest.cc deleted file mode 100644 index 096deceee..000000000 --- a/emr/src/model/CommitFlowEntitySnapshotRequest.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::CommitFlowEntitySnapshotRequest; - -CommitFlowEntitySnapshotRequest::CommitFlowEntitySnapshotRequest() : - RpcServiceRequest("emr", "2016-04-08", "CommitFlowEntitySnapshot") -{ - setMethod(HttpRequest::Method::Post); -} - -CommitFlowEntitySnapshotRequest::~CommitFlowEntitySnapshotRequest() -{} - -long CommitFlowEntitySnapshotRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CommitFlowEntitySnapshotRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CommitFlowEntitySnapshotRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CommitFlowEntitySnapshotRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CommitFlowEntitySnapshotRequest::getRegionId()const -{ - return regionId_; -} - -void CommitFlowEntitySnapshotRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string CommitFlowEntitySnapshotRequest::getEntityType()const -{ - return entityType_; -} - -void CommitFlowEntitySnapshotRequest::setEntityType(const std::string& entityType) -{ - entityType_ = entityType; - setParameter("EntityType", entityType); -} - -std::string CommitFlowEntitySnapshotRequest::getEntityId()const -{ - return entityId_; -} - -void CommitFlowEntitySnapshotRequest::setEntityId(const std::string& entityId) -{ - entityId_ = entityId; - setParameter("EntityId", entityId); -} - -std::string CommitFlowEntitySnapshotRequest::getMessage()const -{ - return message_; -} - -void CommitFlowEntitySnapshotRequest::setMessage(const std::string& message) -{ - message_ = message; - setParameter("Message", message); -} - diff --git a/emr/src/model/CommitFlowEntitySnapshotResult.cc b/emr/src/model/CommitFlowEntitySnapshotResult.cc deleted file mode 100644 index c754c714c..000000000 --- a/emr/src/model/CommitFlowEntitySnapshotResult.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; - -CommitFlowEntitySnapshotResult::CommitFlowEntitySnapshotResult() : - ServiceResult() -{} - -CommitFlowEntitySnapshotResult::CommitFlowEntitySnapshotResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CommitFlowEntitySnapshotResult::~CommitFlowEntitySnapshotResult() -{} - -void CommitFlowEntitySnapshotResult::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 CommitFlowEntitySnapshotResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/CreateClusterHostGroupRequest.cc b/emr/src/model/CreateClusterHostGroupRequest.cc new file mode 100644 index 000000000..e7b2dbe1b --- /dev/null +++ b/emr/src/model/CreateClusterHostGroupRequest.cc @@ -0,0 +1,150 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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/DescribeFlowAgentTokenResult.cc b/emr/src/model/CreateClusterHostGroupResult.cc similarity index 59% rename from emr/src/model/DescribeFlowAgentTokenResult.cc rename to emr/src/model/CreateClusterHostGroupResult.cc index c09fa1bd4..9e07e74bc 100644 --- a/emr/src/model/DescribeFlowAgentTokenResult.cc +++ b/emr/src/model/CreateClusterHostGroupResult.cc @@ -14,38 +14,45 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -DescribeFlowAgentTokenResult::DescribeFlowAgentTokenResult() : +CreateClusterHostGroupResult::CreateClusterHostGroupResult() : ServiceResult() {} -DescribeFlowAgentTokenResult::DescribeFlowAgentTokenResult(const std::string &payload) : +CreateClusterHostGroupResult::CreateClusterHostGroupResult(const std::string &payload) : ServiceResult() { parse(payload); } -DescribeFlowAgentTokenResult::~DescribeFlowAgentTokenResult() +CreateClusterHostGroupResult::~CreateClusterHostGroupResult() {} -void DescribeFlowAgentTokenResult::parse(const std::string &payload) +void CreateClusterHostGroupResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); + if(!value["ClusterId"].isNull()) + clusterId_ = value["ClusterId"].asString(); + if(!value["HostGroupId"].isNull()) + hostGroupId_ = value["HostGroupId"].asString(); } -std::string DescribeFlowAgentTokenResult::getData()const +std::string CreateClusterHostGroupResult::getHostGroupId()const { - return data_; + return hostGroupId_; +} + +std::string CreateClusterHostGroupResult::getClusterId()const +{ + return clusterId_; } diff --git a/emr/src/model/CreateClusterTemplateRequest.cc b/emr/src/model/CreateClusterTemplateRequest.cc index 399397206..8786ab1bd 100644 --- a/emr/src/model/CreateClusterTemplateRequest.cc +++ b/emr/src/model/CreateClusterTemplateRequest.cc @@ -318,6 +318,17 @@ void CreateClusterTemplateRequest::setInitCustomHiveMetaDb(bool initCustomHiveMe setParameter("InitCustomHiveMetaDb", initCustomHiveMetaDb ? "true" : "false"); } +std::string CreateClusterTemplateRequest::getClientToken()const +{ + return clientToken_; +} + +void CreateClusterTemplateRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + bool CreateClusterTemplateRequest::getIoOptimized()const { return ioOptimized_; @@ -441,6 +452,7 @@ void CreateClusterTemplateRequest::setHostGroup(const std::vector& ho std::string hostGroupObjStr = "HostGroup." + std::to_string(dep1 + 1); setParameter(hostGroupObjStr + ".Period", std::to_string(hostGroupObj.period)); setParameter(hostGroupObjStr + ".SysDiskCapacity", std::to_string(hostGroupObj.sysDiskCapacity)); + setParameter(hostGroupObjStr + ".PrivatePoolOptionsId", hostGroupObj.privatePoolOptionsId); setParameter(hostGroupObjStr + ".DiskCapacity", std::to_string(hostGroupObj.diskCapacity)); setParameter(hostGroupObjStr + ".SysDiskType", hostGroupObj.sysDiskType); setParameter(hostGroupObjStr + ".ClusterId", hostGroupObj.clusterId); @@ -457,6 +469,7 @@ void CreateClusterTemplateRequest::setHostGroup(const std::vector& ho setParameter(hostGroupObjStr + ".MultiInstanceTypes", hostGroupObj.multiInstanceTypes); setParameter(hostGroupObjStr + ".CreateType", hostGroupObj.createType); setParameter(hostGroupObjStr + ".HostGroupType", hostGroupObj.hostGroupType); + setParameter(hostGroupObjStr + ".PrivatePoolOptionsMatchCriteria", hostGroupObj.privatePoolOptionsMatchCriteria); } } diff --git a/emr/src/model/CreateClusterV2Request.cc b/emr/src/model/CreateClusterV2Request.cc index f70f5c676..a283d8bc0 100644 --- a/emr/src/model/CreateClusterV2Request.cc +++ b/emr/src/model/CreateClusterV2Request.cc @@ -392,6 +392,17 @@ void CreateClusterV2Request::setInitCustomHiveMetaDB(bool initCustomHiveMetaDB) setParameter("InitCustomHiveMetaDB", initCustomHiveMetaDB ? "true" : "false"); } +std::string CreateClusterV2Request::getClientToken()const +{ + return clientToken_; +} + +void CreateClusterV2Request::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + bool CreateClusterV2Request::getIoOptimized()const { return ioOptimized_; @@ -560,6 +571,7 @@ void CreateClusterV2Request::setHostGroup(const std::vector& hostGrou std::string hostGroupObjStr = "HostGroup." + std::to_string(dep1 + 1); setParameter(hostGroupObjStr + ".Period", std::to_string(hostGroupObj.period)); setParameter(hostGroupObjStr + ".SysDiskCapacity", std::to_string(hostGroupObj.sysDiskCapacity)); + setParameter(hostGroupObjStr + ".PrivatePoolOptionsId", hostGroupObj.privatePoolOptionsId); setParameter(hostGroupObjStr + ".DiskCapacity", std::to_string(hostGroupObj.diskCapacity)); setParameter(hostGroupObjStr + ".SysDiskType", hostGroupObj.sysDiskType); setParameter(hostGroupObjStr + ".ClusterId", hostGroupObj.clusterId); @@ -576,6 +588,7 @@ void CreateClusterV2Request::setHostGroup(const std::vector& hostGrou setParameter(hostGroupObjStr + ".ChargeType", hostGroupObj.chargeType); setParameter(hostGroupObjStr + ".CreateType", hostGroupObj.createType); setParameter(hostGroupObjStr + ".HostGroupType", hostGroupObj.hostGroupType); + setParameter(hostGroupObjStr + ".PrivatePoolOptionsMatchCriteria", hostGroupObj.privatePoolOptionsMatchCriteria); } } diff --git a/emr/src/model/CreateFlowEditLockRequest.cc b/emr/src/model/CreateFlowEditLockRequest.cc deleted file mode 100644 index 2aa768d7c..000000000 --- a/emr/src/model/CreateFlowEditLockRequest.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::CreateFlowEditLockRequest; - -CreateFlowEditLockRequest::CreateFlowEditLockRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateFlowEditLock") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateFlowEditLockRequest::~CreateFlowEditLockRequest() -{} - -long CreateFlowEditLockRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateFlowEditLockRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateFlowEditLockRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateFlowEditLockRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateFlowEditLockRequest::getRegionId()const -{ - return regionId_; -} - -void CreateFlowEditLockRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string CreateFlowEditLockRequest::getEntityId()const -{ - return entityId_; -} - -void CreateFlowEditLockRequest::setEntityId(const std::string& entityId) -{ - entityId_ = entityId; - setParameter("EntityId", entityId); -} - -bool CreateFlowEditLockRequest::getForce()const -{ - return force_; -} - -void CreateFlowEditLockRequest::setForce(bool force) -{ - force_ = force; - setParameter("Force", force ? "true" : "false"); -} - diff --git a/emr/src/model/CreateFlowEditLockResult.cc b/emr/src/model/CreateFlowEditLockResult.cc deleted file mode 100644 index 15b142abe..000000000 --- a/emr/src/model/CreateFlowEditLockResult.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; - -CreateFlowEditLockResult::CreateFlowEditLockResult() : - ServiceResult() -{} - -CreateFlowEditLockResult::CreateFlowEditLockResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateFlowEditLockResult::~CreateFlowEditLockResult() -{} - -void CreateFlowEditLockResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["BizId"].isNull()) - bizId_ = value["BizId"].asString(); - if(!value["EntityId"].isNull()) - entityId_ = value["EntityId"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["OwnerId"].isNull()) - ownerId_ = value["OwnerId"].asString(); - if(!value["UserId"].isNull()) - userId_ = value["UserId"].asString(); - -} - -std::string CreateFlowEditLockResult::getEntityId()const -{ - return entityId_; -} - -std::string CreateFlowEditLockResult::getStatus()const -{ - return status_; -} - -std::string CreateFlowEditLockResult::getOwnerId()const -{ - return ownerId_; -} - -std::string CreateFlowEditLockResult::getUserId()const -{ - return userId_; -} - -std::string CreateFlowEditLockResult::getBizId()const -{ - return bizId_; -} - diff --git a/emr/src/model/CreateFlowJobRequest.cc b/emr/src/model/CreateFlowJobRequest.cc index 2f0a8800c..234c4e06e 100644 --- a/emr/src/model/CreateFlowJobRequest.cc +++ b/emr/src/model/CreateFlowJobRequest.cc @@ -46,7 +46,7 @@ std::string CreateFlowJobRequest::getRunConf()const void CreateFlowJobRequest::setRunConf(const std::string& runConf) { runConf_ = runConf; - setParameter("RunConf", runConf); + setBodyParameter("RunConf", runConf); } std::string CreateFlowJobRequest::getDescription()const @@ -57,7 +57,7 @@ std::string CreateFlowJobRequest::getDescription()const void CreateFlowJobRequest::setDescription(const std::string& description) { description_ = description; - setParameter("Description", description); + setBodyParameter("Description", description); } std::string CreateFlowJobRequest::getType()const @@ -79,7 +79,7 @@ std::string CreateFlowJobRequest::getParamConf()const void CreateFlowJobRequest::setParamConf(const std::string& paramConf) { paramConf_ = paramConf; - setParameter("ParamConf", paramConf); + setBodyParameter("ParamConf", paramConf); } std::vector CreateFlowJobRequest::getResourceList()const @@ -128,7 +128,7 @@ std::string CreateFlowJobRequest::getMonitorConf()const void CreateFlowJobRequest::setMonitorConf(const std::string& monitorConf) { monitorConf_ = monitorConf; - setParameter("MonitorConf", monitorConf); + setBodyParameter("MonitorConf", monitorConf); } std::string CreateFlowJobRequest::getRegionId()const @@ -183,7 +183,7 @@ std::string CreateFlowJobRequest::getEnvConf()const void CreateFlowJobRequest::setEnvConf(const std::string& envConf) { envConf_ = envConf; - setParameter("EnvConf", envConf); + setBodyParameter("EnvConf", envConf); } long CreateFlowJobRequest::getMaxRunningTimeSec()const @@ -216,7 +216,7 @@ std::string CreateFlowJobRequest::getParams()const void CreateFlowJobRequest::setParams(const std::string& params) { params_ = params; - setParameter("Params", params); + setBodyParameter("Params", params); } std::string CreateFlowJobRequest::getCustomVariables()const @@ -227,7 +227,7 @@ std::string CreateFlowJobRequest::getCustomVariables()const void CreateFlowJobRequest::setCustomVariables(const std::string& customVariables) { customVariables_ = customVariables; - setParameter("CustomVariables", customVariables); + setBodyParameter("CustomVariables", customVariables); } long CreateFlowJobRequest::getRetryInterval()const diff --git a/emr/src/model/CreateNoteRequest.cc b/emr/src/model/CreateNoteRequest.cc deleted file mode 100644 index 2ab74635a..000000000 --- a/emr/src/model/CreateNoteRequest.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::CreateNoteRequest; - -CreateNoteRequest::CreateNoteRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateNote") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateNoteRequest::~CreateNoteRequest() -{} - -long CreateNoteRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateNoteRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateNoteRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateNoteRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string CreateNoteRequest::getType()const -{ - return type_; -} - -void CreateNoteRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - -std::string CreateNoteRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateNoteRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateNoteRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void CreateNoteRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string CreateNoteRequest::getRegionId()const -{ - return regionId_; -} - -void CreateNoteRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string CreateNoteRequest::getName()const -{ - return name_; -} - -void CreateNoteRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - diff --git a/emr/src/model/CreateNoteResult.cc b/emr/src/model/CreateNoteResult.cc deleted file mode 100644 index c21e421c5..000000000 --- a/emr/src/model/CreateNoteResult.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; - -CreateNoteResult::CreateNoteResult() : - ServiceResult() -{} - -CreateNoteResult::CreateNoteResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateNoteResult::~CreateNoteResult() -{} - -void CreateNoteResult::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["Paragraph"].isNull()) - paragraph_ = value["Paragraph"].asString(); - -} - -std::string CreateNoteResult::getId()const -{ - return id_; -} - -std::string CreateNoteResult::getParagraph()const -{ - return paragraph_; -} - diff --git a/emr/src/model/CreateParagraphRequest.cc b/emr/src/model/CreateParagraphRequest.cc deleted file mode 100644 index a4e5ccc24..000000000 --- a/emr/src/model/CreateParagraphRequest.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::CreateParagraphRequest; - -CreateParagraphRequest::CreateParagraphRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateParagraph") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateParagraphRequest::~CreateParagraphRequest() -{} - -long CreateParagraphRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateParagraphRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateParagraphRequest::getNoteId()const -{ - return noteId_; -} - -void CreateParagraphRequest::setNoteId(const std::string& noteId) -{ - noteId_ = noteId; - setParameter("NoteId", noteId); -} - -std::string CreateParagraphRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateParagraphRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string CreateParagraphRequest::getRegionId()const -{ - return regionId_; -} - -void CreateParagraphRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string CreateParagraphRequest::getText()const -{ - return text_; -} - -void CreateParagraphRequest::setText(const std::string& text) -{ - text_ = text; - setParameter("Text", text); -} - diff --git a/emr/src/model/CreateParagraphResult.cc b/emr/src/model/CreateParagraphResult.cc deleted file mode 100644 index a7dacd7b4..000000000 --- a/emr/src/model/CreateParagraphResult.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; - -CreateParagraphResult::CreateParagraphResult() : - ServiceResult() -{} - -CreateParagraphResult::CreateParagraphResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateParagraphResult::~CreateParagraphResult() -{} - -void CreateParagraphResult::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 CreateParagraphResult::getId()const -{ - return id_; -} - diff --git a/emr/src/model/DeleteFlowEditLockRequest.cc b/emr/src/model/DeleteFlowEditLockRequest.cc deleted file mode 100644 index f6f61e870..000000000 --- a/emr/src/model/DeleteFlowEditLockRequest.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::DeleteFlowEditLockRequest; - -DeleteFlowEditLockRequest::DeleteFlowEditLockRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteFlowEditLock") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteFlowEditLockRequest::~DeleteFlowEditLockRequest() -{} - -long DeleteFlowEditLockRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteFlowEditLockRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteFlowEditLockRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteFlowEditLockRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DeleteFlowEditLockRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteFlowEditLockRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DeleteFlowEditLockRequest::getEntityId()const -{ - return entityId_; -} - -void DeleteFlowEditLockRequest::setEntityId(const std::string& entityId) -{ - entityId_ = entityId; - setParameter("EntityId", entityId); -} - diff --git a/emr/src/model/DeleteFlowEditLockResult.cc b/emr/src/model/DeleteFlowEditLockResult.cc deleted file mode 100644 index c0ae62a55..000000000 --- a/emr/src/model/DeleteFlowEditLockResult.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; - -DeleteFlowEditLockResult::DeleteFlowEditLockResult() : - ServiceResult() -{} - -DeleteFlowEditLockResult::DeleteFlowEditLockResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteFlowEditLockResult::~DeleteFlowEditLockResult() -{} - -void DeleteFlowEditLockResult::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 DeleteFlowEditLockResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/DeleteNoteRequest.cc b/emr/src/model/DeleteNoteRequest.cc deleted file mode 100644 index 88fee720f..000000000 --- a/emr/src/model/DeleteNoteRequest.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::DeleteNoteRequest; - -DeleteNoteRequest::DeleteNoteRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteNote") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteNoteRequest::~DeleteNoteRequest() -{} - -long DeleteNoteRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteNoteRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteNoteRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteNoteRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DeleteNoteRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void DeleteNoteRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string DeleteNoteRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteNoteRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DeleteNoteRequest::getId()const -{ - return id_; -} - -void DeleteNoteRequest::setId(const std::string& id) -{ - id_ = id; - setParameter("Id", id); -} - diff --git a/emr/src/model/DeleteNoteResult.cc b/emr/src/model/DeleteNoteResult.cc deleted file mode 100644 index 07c6c1951..000000000 --- a/emr/src/model/DeleteNoteResult.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; - -DeleteNoteResult::DeleteNoteResult() : - ServiceResult() -{} - -DeleteNoteResult::DeleteNoteResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteNoteResult::~DeleteNoteResult() -{} - -void DeleteNoteResult::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/DescribeClusterBasicInfoResult.cc b/emr/src/model/DescribeClusterBasicInfoResult.cc index 9da990fa7..c47566970 100644 --- a/emr/src/model/DescribeClusterBasicInfoResult.cc +++ b/emr/src/model/DescribeClusterBasicInfoResult.cc @@ -138,12 +138,16 @@ void DescribeClusterBasicInfoResult::parse(const std::string &payload) clusterInfo_.autoScalingWithGraceAllowed = clusterInfoNode["AutoScalingWithGraceAllowed"].asString() == "true"; if(!clusterInfoNode["ResizeDiskEnable"].isNull()) clusterInfo_.resizeDiskEnable = clusterInfoNode["ResizeDiskEnable"].asString() == "true"; + if(!clusterInfoNode["ResizeClusterEnable"].isNull()) + clusterInfo_.resizeClusterEnable = clusterInfoNode["ResizeClusterEnable"].asString() == "true"; if(!clusterInfoNode["MetaStoreType"].isNull()) clusterInfo_.metaStoreType = clusterInfoNode["MetaStoreType"].asString(); if(!clusterInfoNode["K8sClusterId"].isNull()) clusterInfo_.k8sClusterId = clusterInfoNode["K8sClusterId"].asString(); if(!clusterInfoNode["OperationId"].isNull()) clusterInfo_.operationId = clusterInfoNode["OperationId"].asString(); + if(!clusterInfoNode["ClickhouseConf"].isNull()) + clusterInfo_.clickhouseConf = clusterInfoNode["ClickhouseConf"].asString(); auto allGatewayClusterInfoListNode = clusterInfoNode["GatewayClusterInfoList"]["GatewayClusterInfo"]; for (auto clusterInfoNodeGatewayClusterInfoListGatewayClusterInfo : allGatewayClusterInfoListNode) { @@ -175,6 +179,8 @@ void DescribeClusterBasicInfoResult::parse(const std::string &payload) clusterInfo_.relateClusterInfo.clusterName = relateClusterInfoNode["ClusterName"].asString(); if(!relateClusterInfoNode["Status"].isNull()) clusterInfo_.relateClusterInfo.status = relateClusterInfoNode["Status"].asString(); + if(!relateClusterInfoNode["ClusterType"].isNull()) + clusterInfo_.relateClusterInfo.clusterType = relateClusterInfoNode["ClusterType"].asString(); auto hostPoolInfoNode = clusterInfoNode["HostPoolInfo"]; if(!hostPoolInfoNode["HpBizId"].isNull()) clusterInfo_.hostPoolInfo.hpBizId = hostPoolInfoNode["HpBizId"].asString(); diff --git a/emr/src/model/DescribeClusterV2Result.cc b/emr/src/model/DescribeClusterV2Result.cc index 11c55866e..5a0e8d5f2 100644 --- a/emr/src/model/DescribeClusterV2Result.cc +++ b/emr/src/model/DescribeClusterV2Result.cc @@ -263,6 +263,8 @@ void DescribeClusterV2Result::parse(const std::string &payload) clusterInfo_.relateClusterInfo.clusterName = relateClusterInfoNode["ClusterName"].asString(); if(!relateClusterInfoNode["Status"].isNull()) clusterInfo_.relateClusterInfo.status = relateClusterInfoNode["Status"].asString(); + if(!relateClusterInfoNode["ClusterType"].isNull()) + clusterInfo_.relateClusterInfo.clusterType = relateClusterInfoNode["ClusterType"].asString(); auto hostPoolInfoNode = clusterInfoNode["HostPoolInfo"]; if(!hostPoolInfoNode["HpBizId"].isNull()) clusterInfo_.hostPoolInfo.hpBizId = hostPoolInfoNode["HpBizId"].asString(); diff --git a/emr/src/model/DescribeDiskOpsActivityRequest.cc b/emr/src/model/DescribeDiskOpsActivityRequest.cc new file mode 100644 index 000000000..47eb068d3 --- /dev/null +++ b/emr/src/model/DescribeDiskOpsActivityRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..2e308264b --- /dev/null +++ b/emr/src/model/DescribeDiskOpsActivityResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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/ListJobInstanceWorkersRequest.cc b/emr/src/model/DescribeEmrMainVersionRequest.cc similarity index 51% rename from emr/src/model/ListJobInstanceWorkersRequest.cc rename to emr/src/model/DescribeEmrMainVersionRequest.cc index de2d0f20b..31ba3449d 100644 --- a/emr/src/model/ListJobInstanceWorkersRequest.cc +++ b/emr/src/model/DescribeEmrMainVersionRequest.cc @@ -14,60 +14,60 @@ * limitations under the License. */ -#include +#include -using AlibabaCloud::Emr::Model::ListJobInstanceWorkersRequest; +using AlibabaCloud::Emr::Model::DescribeEmrMainVersionRequest; -ListJobInstanceWorkersRequest::ListJobInstanceWorkersRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListJobInstanceWorkers") +DescribeEmrMainVersionRequest::DescribeEmrMainVersionRequest() : + RpcServiceRequest("emr", "2016-04-08", "DescribeEmrMainVersion") { setMethod(HttpRequest::Method::Post); } -ListJobInstanceWorkersRequest::~ListJobInstanceWorkersRequest() +DescribeEmrMainVersionRequest::~DescribeEmrMainVersionRequest() {} -long ListJobInstanceWorkersRequest::getResourceOwnerId()const +long DescribeEmrMainVersionRequest::getResourceOwnerId()const { return resourceOwnerId_; } -void ListJobInstanceWorkersRequest::setResourceOwnerId(long resourceOwnerId) +void DescribeEmrMainVersionRequest::setResourceOwnerId(long resourceOwnerId) { resourceOwnerId_ = resourceOwnerId; setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); } -std::string ListJobInstanceWorkersRequest::getAccessKeyId()const +std::string DescribeEmrMainVersionRequest::getAccessKeyId()const { return accessKeyId_; } -void ListJobInstanceWorkersRequest::setAccessKeyId(const std::string& accessKeyId) +void DescribeEmrMainVersionRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; setParameter("AccessKeyId", accessKeyId); } -std::string ListJobInstanceWorkersRequest::getRegionId()const +std::string DescribeEmrMainVersionRequest::getRegionId()const { return regionId_; } -void ListJobInstanceWorkersRequest::setRegionId(const std::string& regionId) +void DescribeEmrMainVersionRequest::setRegionId(const std::string& regionId) { regionId_ = regionId; setParameter("RegionId", regionId); } -std::string ListJobInstanceWorkersRequest::getJobInstanceId()const +std::string DescribeEmrMainVersionRequest::getEmrVersion()const { - return jobInstanceId_; + return emrVersion_; } -void ListJobInstanceWorkersRequest::setJobInstanceId(const std::string& jobInstanceId) +void DescribeEmrMainVersionRequest::setEmrVersion(const std::string& emrVersion) { - jobInstanceId_ = jobInstanceId; - setParameter("JobInstanceId", jobInstanceId); + emrVersion_ = emrVersion; + setParameter("EmrVersion", emrVersion); } diff --git a/emr/src/model/DescribeEmrMainVersionResult.cc b/emr/src/model/DescribeEmrMainVersionResult.cc new file mode 100644 index 000000000..1dceaa359 --- /dev/null +++ b/emr/src/model/DescribeEmrMainVersionResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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/DescribeFlowAgentTokenRequest.cc b/emr/src/model/DescribeFlowAgentTokenRequest.cc deleted file mode 100644 index c3320b763..000000000 --- a/emr/src/model/DescribeFlowAgentTokenRequest.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::DescribeFlowAgentTokenRequest; - -DescribeFlowAgentTokenRequest::DescribeFlowAgentTokenRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeFlowAgentToken") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeFlowAgentTokenRequest::~DescribeFlowAgentTokenRequest() -{} - -long DescribeFlowAgentTokenRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeFlowAgentTokenRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeFlowAgentTokenRequest::getClusterBizId()const -{ - return clusterBizId_; -} - -void DescribeFlowAgentTokenRequest::setClusterBizId(const std::string& clusterBizId) -{ - clusterBizId_ = clusterBizId; - setParameter("ClusterBizId", clusterBizId); -} - -std::string DescribeFlowAgentTokenRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeFlowAgentTokenRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeFlowAgentTokenRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeFlowAgentTokenRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeFlowAgentTokenRequest::getInnerIP()const -{ - return innerIP_; -} - -void DescribeFlowAgentTokenRequest::setInnerIP(const std::string& innerIP) -{ - innerIP_ = innerIP; - setParameter("InnerIP", innerIP); -} - diff --git a/emr/src/model/DescribeFlowAgentUserRequest.cc b/emr/src/model/DescribeFlowAgentUserRequest.cc deleted file mode 100644 index dd508faeb..000000000 --- a/emr/src/model/DescribeFlowAgentUserRequest.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::DescribeFlowAgentUserRequest; - -DescribeFlowAgentUserRequest::DescribeFlowAgentUserRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeFlowAgentUser") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeFlowAgentUserRequest::~DescribeFlowAgentUserRequest() -{} - -long DescribeFlowAgentUserRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeFlowAgentUserRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeFlowAgentUserRequest::getClusterBizId()const -{ - return clusterBizId_; -} - -void DescribeFlowAgentUserRequest::setClusterBizId(const std::string& clusterBizId) -{ - clusterBizId_ = clusterBizId; - setParameter("ClusterBizId", clusterBizId); -} - -std::string DescribeFlowAgentUserRequest::getUserId()const -{ - return userId_; -} - -void DescribeFlowAgentUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - -std::string DescribeFlowAgentUserRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeFlowAgentUserRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeFlowAgentUserRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeFlowAgentUserRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/DescribeFlowAgentUserResult.cc b/emr/src/model/DescribeFlowAgentUserResult.cc deleted file mode 100644 index dc215c25c..000000000 --- a/emr/src/model/DescribeFlowAgentUserResult.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; - -DescribeFlowAgentUserResult::DescribeFlowAgentUserResult() : - ServiceResult() -{} - -DescribeFlowAgentUserResult::DescribeFlowAgentUserResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeFlowAgentUserResult::~DescribeFlowAgentUserResult() -{} - -void DescribeFlowAgentUserResult::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 DescribeFlowAgentUserResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/DescribeFlowEntitySnapshotRequest.cc b/emr/src/model/DescribeFlowEntitySnapshotRequest.cc deleted file mode 100644 index 920eed707..000000000 --- a/emr/src/model/DescribeFlowEntitySnapshotRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeFlowEntitySnapshotRequest; - -DescribeFlowEntitySnapshotRequest::DescribeFlowEntitySnapshotRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeFlowEntitySnapshot") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeFlowEntitySnapshotRequest::~DescribeFlowEntitySnapshotRequest() -{} - -long DescribeFlowEntitySnapshotRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeFlowEntitySnapshotRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int DescribeFlowEntitySnapshotRequest::getPageCount()const -{ - return pageCount_; -} - -void DescribeFlowEntitySnapshotRequest::setPageCount(int pageCount) -{ - pageCount_ = pageCount; - setParameter("PageCount", std::to_string(pageCount)); -} - -std::string DescribeFlowEntitySnapshotRequest::getOrderMode()const -{ - return orderMode_; -} - -void DescribeFlowEntitySnapshotRequest::setOrderMode(const std::string& orderMode) -{ - orderMode_ = orderMode; - setParameter("OrderMode", orderMode); -} - -std::string DescribeFlowEntitySnapshotRequest::getEntityId()const -{ - return entityId_; -} - -void DescribeFlowEntitySnapshotRequest::setEntityId(const std::string& entityId) -{ - entityId_ = entityId; - setParameter("EntityId", entityId); -} - -int DescribeFlowEntitySnapshotRequest::getPageNumber()const -{ - return pageNumber_; -} - -void DescribeFlowEntitySnapshotRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string DescribeFlowEntitySnapshotRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeFlowEntitySnapshotRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeFlowEntitySnapshotRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeFlowEntitySnapshotRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int DescribeFlowEntitySnapshotRequest::getLimit()const -{ - return limit_; -} - -void DescribeFlowEntitySnapshotRequest::setLimit(int limit) -{ - limit_ = limit; - setParameter("Limit", std::to_string(limit)); -} - -int DescribeFlowEntitySnapshotRequest::getPageSize()const -{ - return pageSize_; -} - -void DescribeFlowEntitySnapshotRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string DescribeFlowEntitySnapshotRequest::getCommitterId()const -{ - return committerId_; -} - -void DescribeFlowEntitySnapshotRequest::setCommitterId(const std::string& committerId) -{ - committerId_ = committerId; - setParameter("CommitterId", committerId); -} - -int DescribeFlowEntitySnapshotRequest::getCurrentSize()const -{ - return currentSize_; -} - -void DescribeFlowEntitySnapshotRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string DescribeFlowEntitySnapshotRequest::getOrderField()const -{ - return orderField_; -} - -void DescribeFlowEntitySnapshotRequest::setOrderField(const std::string& orderField) -{ - orderField_ = orderField; - setParameter("OrderField", orderField); -} - -std::string DescribeFlowEntitySnapshotRequest::getEntityGroupId()const -{ - return entityGroupId_; -} - -void DescribeFlowEntitySnapshotRequest::setEntityGroupId(const std::string& entityGroupId) -{ - entityGroupId_ = entityGroupId; - setParameter("EntityGroupId", entityGroupId); -} - -std::string DescribeFlowEntitySnapshotRequest::getRevision()const -{ - return revision_; -} - -void DescribeFlowEntitySnapshotRequest::setRevision(const std::string& revision) -{ - revision_ = revision; - setParameter("Revision", revision); -} - -std::string DescribeFlowEntitySnapshotRequest::getEntityType()const -{ - return entityType_; -} - -void DescribeFlowEntitySnapshotRequest::setEntityType(const std::string& entityType) -{ - entityType_ = entityType; - setParameter("EntityType", entityType); -} - diff --git a/emr/src/model/DescribeFlowEntitySnapshotResult.cc b/emr/src/model/DescribeFlowEntitySnapshotResult.cc deleted file mode 100644 index 6418a7dc6..000000000 --- a/emr/src/model/DescribeFlowEntitySnapshotResult.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; - -DescribeFlowEntitySnapshotResult::DescribeFlowEntitySnapshotResult() : - ServiceResult() -{} - -DescribeFlowEntitySnapshotResult::DescribeFlowEntitySnapshotResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeFlowEntitySnapshotResult::~DescribeFlowEntitySnapshotResult() -{} - -void DescribeFlowEntitySnapshotResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["GmtCreate"].isNull()) - gmtCreate_ = std::stol(value["GmtCreate"].asString()); - if(!value["Revision"].isNull()) - revision_ = value["Revision"].asString(); - if(!value["UserId"].isNull()) - userId_ = value["UserId"].asString(); - if(!value["CommitterId"].isNull()) - committerId_ = value["CommitterId"].asString(); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["EntityId"].isNull()) - entityId_ = value["EntityId"].asString(); - if(!value["EntityGroupId"].isNull()) - entityGroupId_ = value["EntityGroupId"].asString(); - if(!value["EntityType"].isNull()) - entityType_ = value["EntityType"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - if(!value["Active"].isNull()) - active_ = value["Active"].asString() == "true"; - -} - -std::string DescribeFlowEntitySnapshotResult::getEntityId()const -{ - return entityId_; -} - -std::string DescribeFlowEntitySnapshotResult::getEntityType()const -{ - return entityType_; -} - -long DescribeFlowEntitySnapshotResult::getGmtCreate()const -{ - return gmtCreate_; -} - -bool DescribeFlowEntitySnapshotResult::getActive()const -{ - return active_; -} - -std::string DescribeFlowEntitySnapshotResult::getRevision()const -{ - return revision_; -} - -std::string DescribeFlowEntitySnapshotResult::getMessage()const -{ - return message_; -} - -std::string DescribeFlowEntitySnapshotResult::getUserId()const -{ - return userId_; -} - -std::string DescribeFlowEntitySnapshotResult::getData()const -{ - return data_; -} - -std::string DescribeFlowEntitySnapshotResult::getEntityGroupId()const -{ - return entityGroupId_; -} - -std::string DescribeFlowEntitySnapshotResult::getCommitterId()const -{ - return committerId_; -} - diff --git a/emr/src/model/DiffFlowEntitySnapshotRequest.cc b/emr/src/model/DiffFlowEntitySnapshotRequest.cc deleted file mode 100644 index f7a4363ae..000000000 --- a/emr/src/model/DiffFlowEntitySnapshotRequest.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::DiffFlowEntitySnapshotRequest; - -DiffFlowEntitySnapshotRequest::DiffFlowEntitySnapshotRequest() : - RpcServiceRequest("emr", "2016-04-08", "DiffFlowEntitySnapshot") -{ - setMethod(HttpRequest::Method::Post); -} - -DiffFlowEntitySnapshotRequest::~DiffFlowEntitySnapshotRequest() -{} - -long DiffFlowEntitySnapshotRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DiffFlowEntitySnapshotRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DiffFlowEntitySnapshotRequest::getSrcRevision()const -{ - return srcRevision_; -} - -void DiffFlowEntitySnapshotRequest::setSrcRevision(const std::string& srcRevision) -{ - srcRevision_ = srcRevision; - setParameter("SrcRevision", srcRevision); -} - -std::string DiffFlowEntitySnapshotRequest::getEntityId()const -{ - return entityId_; -} - -void DiffFlowEntitySnapshotRequest::setEntityId(const std::string& entityId) -{ - entityId_ = entityId; - setParameter("EntityId", entityId); -} - -std::string DiffFlowEntitySnapshotRequest::getDstRevision()const -{ - return dstRevision_; -} - -void DiffFlowEntitySnapshotRequest::setDstRevision(const std::string& dstRevision) -{ - dstRevision_ = dstRevision; - setParameter("DstRevision", dstRevision); -} - -std::string DiffFlowEntitySnapshotRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DiffFlowEntitySnapshotRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DiffFlowEntitySnapshotRequest::getEntityType()const -{ - return entityType_; -} - -void DiffFlowEntitySnapshotRequest::setEntityType(const std::string& entityType) -{ - entityType_ = entityType; - setParameter("EntityType", entityType); -} - -std::string DiffFlowEntitySnapshotRequest::getRegionId()const -{ - return regionId_; -} - -void DiffFlowEntitySnapshotRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/DiffFlowEntitySnapshotResult.cc b/emr/src/model/DiffFlowEntitySnapshotResult.cc deleted file mode 100644 index a41cc2eac..000000000 --- a/emr/src/model/DiffFlowEntitySnapshotResult.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; - -DiffFlowEntitySnapshotResult::DiffFlowEntitySnapshotResult() : - ServiceResult() -{} - -DiffFlowEntitySnapshotResult::DiffFlowEntitySnapshotResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DiffFlowEntitySnapshotResult::~DiffFlowEntitySnapshotResult() -{} - -void DiffFlowEntitySnapshotResult::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 DiffFlowEntitySnapshotResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/DumpMetaDataSourceForOuterRequest.cc b/emr/src/model/DumpMetaDataSourceForOuterRequest.cc deleted file mode 100644 index 3bd8c57c7..000000000 --- a/emr/src/model/DumpMetaDataSourceForOuterRequest.cc +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DumpMetaDataSourceForOuterRequest; - -DumpMetaDataSourceForOuterRequest::DumpMetaDataSourceForOuterRequest() : - RpcServiceRequest("emr", "2016-04-08", "DumpMetaDataSourceForOuter") -{ - setMethod(HttpRequest::Method::Post); -} - -DumpMetaDataSourceForOuterRequest::~DumpMetaDataSourceForOuterRequest() -{} - -long DumpMetaDataSourceForOuterRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DumpMetaDataSourceForOuterRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -bool DumpMetaDataSourceForOuterRequest::getDumpAllDatabase()const -{ - return dumpAllDatabase_; -} - -void DumpMetaDataSourceForOuterRequest::setDumpAllDatabase(bool dumpAllDatabase) -{ - dumpAllDatabase_ = dumpAllDatabase; - setParameter("DumpAllDatabase", dumpAllDatabase ? "true" : "false"); -} - -int DumpMetaDataSourceForOuterRequest::getDumpLimit()const -{ - return dumpLimit_; -} - -void DumpMetaDataSourceForOuterRequest::setDumpLimit(int dumpLimit) -{ - dumpLimit_ = dumpLimit; - setParameter("DumpLimit", std::to_string(dumpLimit)); -} - -std::string DumpMetaDataSourceForOuterRequest::getClusterId()const -{ - return clusterId_; -} - -void DumpMetaDataSourceForOuterRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string DumpMetaDataSourceForOuterRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DumpMetaDataSourceForOuterRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -bool DumpMetaDataSourceForOuterRequest::getDumpAllTable()const -{ - return dumpAllTable_; -} - -void DumpMetaDataSourceForOuterRequest::setDumpAllTable(bool dumpAllTable) -{ - dumpAllTable_ = dumpAllTable; - setParameter("DumpAllTable", dumpAllTable ? "true" : "false"); -} - -std::string DumpMetaDataSourceForOuterRequest::getRegionId()const -{ - return regionId_; -} - -void DumpMetaDataSourceForOuterRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::vector DumpMetaDataSourceForOuterRequest::getPartitionValues()const -{ - return partitionValues_; -} - -void DumpMetaDataSourceForOuterRequest::setPartitionValues(const std::vector& partitionValues) -{ - partitionValues_ = partitionValues; - for(int dep1 = 0; dep1!= partitionValues.size(); dep1++) { - setParameter("PartitionValues."+ std::to_string(dep1), partitionValues.at(dep1)); - } -} - -std::string DumpMetaDataSourceForOuterRequest::getTableId()const -{ - return tableId_; -} - -void DumpMetaDataSourceForOuterRequest::setTableId(const std::string& tableId) -{ - tableId_ = tableId; - setParameter("TableId", tableId); -} - -std::string DumpMetaDataSourceForOuterRequest::getDatabaseId()const -{ - return databaseId_; -} - -void DumpMetaDataSourceForOuterRequest::setDatabaseId(const std::string& databaseId) -{ - databaseId_ = databaseId; - setParameter("DatabaseId", databaseId); -} - -bool DumpMetaDataSourceForOuterRequest::getDumpAllPartition()const -{ - return dumpAllPartition_; -} - -void DumpMetaDataSourceForOuterRequest::setDumpAllPartition(bool dumpAllPartition) -{ - dumpAllPartition_ = dumpAllPartition; - setParameter("DumpAllPartition", dumpAllPartition ? "true" : "false"); -} - diff --git a/emr/src/model/DumpMetaDataSourceForOuterResult.cc b/emr/src/model/DumpMetaDataSourceForOuterResult.cc deleted file mode 100644 index 36d71c0ab..000000000 --- a/emr/src/model/DumpMetaDataSourceForOuterResult.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; - -DumpMetaDataSourceForOuterResult::DumpMetaDataSourceForOuterResult() : - ServiceResult() -{} - -DumpMetaDataSourceForOuterResult::DumpMetaDataSourceForOuterResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DumpMetaDataSourceForOuterResult::~DumpMetaDataSourceForOuterResult() -{} - -void DumpMetaDataSourceForOuterResult::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 DumpMetaDataSourceForOuterResult::getTaskId()const -{ - return taskId_; -} - diff --git a/emr/src/model/GetFlowEntityRelationGraphRequest.cc b/emr/src/model/GetFlowEntityRelationGraphRequest.cc deleted file mode 100644 index c6883b32b..000000000 --- a/emr/src/model/GetFlowEntityRelationGraphRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::GetFlowEntityRelationGraphRequest; - -GetFlowEntityRelationGraphRequest::GetFlowEntityRelationGraphRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetFlowEntityRelationGraph") -{ - setMethod(HttpRequest::Method::Post); -} - -GetFlowEntityRelationGraphRequest::~GetFlowEntityRelationGraphRequest() -{} - -long GetFlowEntityRelationGraphRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetFlowEntityRelationGraphRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int GetFlowEntityRelationGraphRequest::getPageCount()const -{ - return pageCount_; -} - -void GetFlowEntityRelationGraphRequest::setPageCount(int pageCount) -{ - pageCount_ = pageCount; - setParameter("PageCount", std::to_string(pageCount)); -} - -std::string GetFlowEntityRelationGraphRequest::getOrderMode()const -{ - return orderMode_; -} - -void GetFlowEntityRelationGraphRequest::setOrderMode(const std::string& orderMode) -{ - orderMode_ = orderMode; - setParameter("OrderMode", orderMode); -} - -std::string GetFlowEntityRelationGraphRequest::getEntityId()const -{ - return entityId_; -} - -void GetFlowEntityRelationGraphRequest::setEntityId(const std::string& entityId) -{ - entityId_ = entityId; - setParameter("EntityId", entityId); -} - -int GetFlowEntityRelationGraphRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetFlowEntityRelationGraphRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string GetFlowEntityRelationGraphRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetFlowEntityRelationGraphRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string GetFlowEntityRelationGraphRequest::getRegionId()const -{ - return regionId_; -} - -void GetFlowEntityRelationGraphRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int GetFlowEntityRelationGraphRequest::getLimit()const -{ - return limit_; -} - -void GetFlowEntityRelationGraphRequest::setLimit(int limit) -{ - limit_ = limit; - setParameter("Limit", std::to_string(limit)); -} - -int GetFlowEntityRelationGraphRequest::getPageSize()const -{ - return pageSize_; -} - -void GetFlowEntityRelationGraphRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string GetFlowEntityRelationGraphRequest::getRelationship()const -{ - return relationship_; -} - -void GetFlowEntityRelationGraphRequest::setRelationship(const std::string& relationship) -{ - relationship_ = relationship; - setParameter("Relationship", relationship); -} - -int GetFlowEntityRelationGraphRequest::getCurrentSize()const -{ - return currentSize_; -} - -void GetFlowEntityRelationGraphRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string GetFlowEntityRelationGraphRequest::getOrderField()const -{ - return orderField_; -} - -void GetFlowEntityRelationGraphRequest::setOrderField(const std::string& orderField) -{ - orderField_ = orderField; - setParameter("OrderField", orderField); -} - -std::string GetFlowEntityRelationGraphRequest::getDirection()const -{ - return direction_; -} - -void GetFlowEntityRelationGraphRequest::setDirection(const std::string& direction) -{ - direction_ = direction; - setParameter("Direction", direction); -} - -std::string GetFlowEntityRelationGraphRequest::getEntityGroupId()const -{ - return entityGroupId_; -} - -void GetFlowEntityRelationGraphRequest::setEntityGroupId(const std::string& entityGroupId) -{ - entityGroupId_ = entityGroupId; - setParameter("EntityGroupId", entityGroupId); -} - -std::string GetFlowEntityRelationGraphRequest::getEntityType()const -{ - return entityType_; -} - -void GetFlowEntityRelationGraphRequest::setEntityType(const std::string& entityType) -{ - entityType_ = entityType; - setParameter("EntityType", entityType); -} - diff --git a/emr/src/model/GetFlowEntityRelationGraphResult.cc b/emr/src/model/GetFlowEntityRelationGraphResult.cc deleted file mode 100644 index ff54179b1..000000000 --- a/emr/src/model/GetFlowEntityRelationGraphResult.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; - -GetFlowEntityRelationGraphResult::GetFlowEntityRelationGraphResult() : - ServiceResult() -{} - -GetFlowEntityRelationGraphResult::GetFlowEntityRelationGraphResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetFlowEntityRelationGraphResult::~GetFlowEntityRelationGraphResult() -{} - -void GetFlowEntityRelationGraphResult::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 GetFlowEntityRelationGraphResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/KillExecutionJobInstanceRequest.cc b/emr/src/model/KillExecutionJobInstanceRequest.cc deleted file mode 100644 index 58be52f2d..000000000 --- a/emr/src/model/KillExecutionJobInstanceRequest.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::KillExecutionJobInstanceRequest; - -KillExecutionJobInstanceRequest::KillExecutionJobInstanceRequest() : - RpcServiceRequest("emr", "2016-04-08", "KillExecutionJobInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -KillExecutionJobInstanceRequest::~KillExecutionJobInstanceRequest() -{} - -long KillExecutionJobInstanceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void KillExecutionJobInstanceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string KillExecutionJobInstanceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void KillExecutionJobInstanceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string KillExecutionJobInstanceRequest::getRegionId()const -{ - return regionId_; -} - -void KillExecutionJobInstanceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string KillExecutionJobInstanceRequest::getJobInstanceId()const -{ - return jobInstanceId_; -} - -void KillExecutionJobInstanceRequest::setJobInstanceId(const std::string& jobInstanceId) -{ - jobInstanceId_ = jobInstanceId; - setParameter("JobInstanceId", jobInstanceId); -} - diff --git a/emr/src/model/KillExecutionJobInstanceResult.cc b/emr/src/model/KillExecutionJobInstanceResult.cc deleted file mode 100644 index 7c3b33eb0..000000000 --- a/emr/src/model/KillExecutionJobInstanceResult.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; - -KillExecutionJobInstanceResult::KillExecutionJobInstanceResult() : - ServiceResult() -{} - -KillExecutionJobInstanceResult::KillExecutionJobInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -KillExecutionJobInstanceResult::~KillExecutionJobInstanceResult() -{} - -void KillExecutionJobInstanceResult::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/ListClusterHostComponentResult.cc b/emr/src/model/ListClusterHostComponentResult.cc index e82187f69..9015ee022 100644 --- a/emr/src/model/ListClusterHostComponentResult.cc +++ b/emr/src/model/ListClusterHostComponentResult.cc @@ -79,6 +79,12 @@ void ListClusterHostComponentResult::parse(const std::string &payload) componentListObject.serialNumber = valueComponentListComponent["SerialNumber"].asString(); if(!valueComponentListComponent["CommissionStatus"].isNull()) componentListObject.commissionStatus = valueComponentListComponent["CommissionStatus"].asString(); + if(!valueComponentListComponent["State"].isNull()) + componentListObject.state = valueComponentListComponent["State"].asString(); + if(!valueComponentListComponent["HealthStatus"].isNull()) + componentListObject.healthStatus = valueComponentListComponent["HealthStatus"].asString(); + if(!valueComponentListComponent["HealthReportTime"].isNull()) + componentListObject.healthReportTime = std::stol(valueComponentListComponent["HealthReportTime"].asString()); componentList_.push_back(componentListObject); } if(!value["PageNumber"].isNull()) diff --git a/emr/src/model/ListClusterInstalledServiceResult.cc b/emr/src/model/ListClusterInstalledServiceResult.cc index 1d3d3971b..339ecfd48 100644 --- a/emr/src/model/ListClusterInstalledServiceResult.cc +++ b/emr/src/model/ListClusterInstalledServiceResult.cc @@ -63,6 +63,8 @@ void ListClusterInstalledServiceResult::parse(const std::string &payload) clusterInstalledServiceListObject.abnormalNum = std::stoi(valueClusterInstalledServiceListClusterInstalledService["abnormalNum"].asString()); if(!valueClusterInstalledServiceListClusterInstalledService["comment"].isNull()) clusterInstalledServiceListObject.comment = valueClusterInstalledServiceListClusterInstalledService["comment"].asString(); + if(!valueClusterInstalledServiceListClusterInstalledService["State"].isNull()) + clusterInstalledServiceListObject.state = valueClusterInstalledServiceListClusterInstalledService["State"].asString(); auto allServiceActionListNode = valueClusterInstalledServiceListClusterInstalledService["ServiceActionList"]["ServiceAction"]; for (auto valueClusterInstalledServiceListClusterInstalledServiceServiceActionListServiceAction : allServiceActionListNode) { diff --git a/emr/src/model/ListClusterOperationRequest.cc b/emr/src/model/ListClusterOperationRequest.cc index 43383a772..b2cf8ebbe 100644 --- a/emr/src/model/ListClusterOperationRequest.cc +++ b/emr/src/model/ListClusterOperationRequest.cc @@ -93,6 +93,17 @@ void ListClusterOperationRequest::setPageSize(int pageSize) setParameter("PageSize", std::to_string(pageSize)); } +std::string ListClusterOperationRequest::getOperationId()const +{ + return operationId_; +} + +void ListClusterOperationRequest::setOperationId(const std::string& operationId) +{ + operationId_ = operationId; + setParameter("OperationId", operationId); +} + std::string ListClusterOperationRequest::getServiceName()const { return serviceName_; diff --git a/emr/src/model/ListClusterServiceComponentHealthInfoRequest.cc b/emr/src/model/ListClusterServiceComponentHealthInfoRequest.cc index a162a7e0b..0a46b0d37 100644 --- a/emr/src/model/ListClusterServiceComponentHealthInfoRequest.cc +++ b/emr/src/model/ListClusterServiceComponentHealthInfoRequest.cc @@ -38,6 +38,17 @@ void ListClusterServiceComponentHealthInfoRequest::setResourceOwnerId(long resou setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); } +std::string ListClusterServiceComponentHealthInfoRequest::getComponentName()const +{ + return componentName_; +} + +void ListClusterServiceComponentHealthInfoRequest::setComponentName(const std::string& componentName) +{ + componentName_ = componentName; + setParameter("ComponentName", componentName); +} + std::string ListClusterServiceComponentHealthInfoRequest::getClusterId()const { return clusterId_; diff --git a/emr/src/model/ListClusterServiceComponentHealthInfoResult.cc b/emr/src/model/ListClusterServiceComponentHealthInfoResult.cc index 5559c0215..81176679f 100644 --- a/emr/src/model/ListClusterServiceComponentHealthInfoResult.cc +++ b/emr/src/model/ListClusterServiceComponentHealthInfoResult.cc @@ -61,6 +61,22 @@ void ListClusterServiceComponentHealthInfoResult::parse(const std::string &paylo healthInfoListObject.agentHeartBeatLostNum = std::stoi(valueHealthInfoListHealthInfo["AgentHeartBeatLostNum"].asString()); if(!valueHealthInfoListHealthInfo["CreatedTime"].isNull()) healthInfoListObject.createdTime = std::stol(valueHealthInfoListHealthInfo["CreatedTime"].asString()); + if(!valueHealthInfoListHealthInfo["HealthStatus"].isNull()) + healthInfoListObject.healthStatus = valueHealthInfoListHealthInfo["HealthStatus"].asString(); + if(!valueHealthInfoListHealthInfo["StoppedHealthNum"].isNull()) + healthInfoListObject.stoppedHealthNum = std::stoi(valueHealthInfoListHealthInfo["StoppedHealthNum"].asString()); + if(!valueHealthInfoListHealthInfo["GoodHealthNum"].isNull()) + healthInfoListObject.goodHealthNum = std::stoi(valueHealthInfoListHealthInfo["GoodHealthNum"].asString()); + if(!valueHealthInfoListHealthInfo["WarningHealthNum"].isNull()) + healthInfoListObject.warningHealthNum = std::stoi(valueHealthInfoListHealthInfo["WarningHealthNum"].asString()); + if(!valueHealthInfoListHealthInfo["BadHealthNum"].isNull()) + healthInfoListObject.badHealthNum = std::stoi(valueHealthInfoListHealthInfo["BadHealthNum"].asString()); + if(!valueHealthInfoListHealthInfo["UnknownHealthNum"].isNull()) + healthInfoListObject.unknownHealthNum = std::stoi(valueHealthInfoListHealthInfo["UnknownHealthNum"].asString()); + if(!valueHealthInfoListHealthInfo["DisabledHealthNum"].isNull()) + healthInfoListObject.disabledHealthNum = std::stoi(valueHealthInfoListHealthInfo["DisabledHealthNum"].asString()); + if(!valueHealthInfoListHealthInfo["NoneHealthNum"].isNull()) + healthInfoListObject.noneHealthNum = std::stoi(valueHealthInfoListHealthInfo["NoneHealthNum"].asString()); auto allHealthDetailListNode = valueHealthInfoListHealthInfo["HealthDetailList"]["HealthDetail"]; for (auto valueHealthInfoListHealthInfoHealthDetailListHealthDetail : allHealthDetailListNode) { diff --git a/emr/src/model/ListClusterServiceResult.cc b/emr/src/model/ListClusterServiceResult.cc index 620f2cea2..1180f5d40 100644 --- a/emr/src/model/ListClusterServiceResult.cc +++ b/emr/src/model/ListClusterServiceResult.cc @@ -67,6 +67,8 @@ void ListClusterServiceResult::parse(const std::string &payload) clusterServiceListObject.stoppedNum = std::stoi(valueClusterServiceListClusterService["StoppedNum"].asString()); if(!valueClusterServiceListClusterService["NeedRestartNum"].isNull()) clusterServiceListObject.needRestartNum = std::stoi(valueClusterServiceListClusterService["NeedRestartNum"].asString()); + if(!valueClusterServiceListClusterService["State"].isNull()) + clusterServiceListObject.state = valueClusterServiceListClusterService["State"].asString(); auto allServiceActionListNode = valueClusterServiceListClusterService["ServiceActionList"]["ServiceAction"]; for (auto valueClusterServiceListClusterServiceServiceActionListServiceAction : allServiceActionListNode) { diff --git a/emr/src/model/ListClustersRequest.cc b/emr/src/model/ListClustersRequest.cc index df18d8123..a0f855d0c 100644 --- a/emr/src/model/ListClustersRequest.cc +++ b/emr/src/model/ListClustersRequest.cc @@ -190,6 +190,17 @@ void ListClustersRequest::setDefaultStatus(bool defaultStatus) setParameter("DefaultStatus", defaultStatus ? "true" : "false"); } +std::string ListClustersRequest::getVpcId()const +{ + return vpcId_; +} + +void ListClustersRequest::setVpcId(const std::string& vpcId) +{ + vpcId_ = vpcId; + setParameter("VpcId", vpcId); +} + std::string ListClustersRequest::getName()const { return name_; diff --git a/emr/src/model/ListDiskOpsEventsRequest.cc b/emr/src/model/ListDiskOpsEventsRequest.cc new file mode 100644 index 000000000..e777d5af8 --- /dev/null +++ b/emr/src/model/ListDiskOpsEventsRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 new file mode 100644 index 000000000..36c05681e --- /dev/null +++ b/emr/src/model/ListDiskOpsEventsResult.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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/ListEmrAvailableResourceRequest.cc b/emr/src/model/ListEmrAvailableResourceRequest.cc index a60787067..ff9c7b6f0 100644 --- a/emr/src/model/ListEmrAvailableResourceRequest.cc +++ b/emr/src/model/ListEmrAvailableResourceRequest.cc @@ -104,6 +104,17 @@ void ListEmrAvailableResourceRequest::setInstanceType(const std::string& instanc setParameter("InstanceType", instanceType); } +std::string ListEmrAvailableResourceRequest::getEmrVersion()const +{ + return emrVersion_; +} + +void ListEmrAvailableResourceRequest::setEmrVersion(const std::string& emrVersion) +{ + emrVersion_ = emrVersion; + setParameter("EmrVersion", emrVersion); +} + std::string ListEmrAvailableResourceRequest::getInstanceChargeType()const { return instanceChargeType_; diff --git a/emr/src/model/ListExecutionPlansRequest.cc b/emr/src/model/ListExecutionPlansRequest.cc deleted file mode 100644 index f88278907..000000000 --- a/emr/src/model/ListExecutionPlansRequest.cc +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListExecutionPlansRequest; - -ListExecutionPlansRequest::ListExecutionPlansRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListExecutionPlans") -{ - setMethod(HttpRequest::Method::Post); -} - -ListExecutionPlansRequest::~ListExecutionPlansRequest() -{} - -long ListExecutionPlansRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListExecutionPlansRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::vector ListExecutionPlansRequest::getStatusList()const -{ - return statusList_; -} - -void ListExecutionPlansRequest::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 ListExecutionPlansRequest::getIsDesc()const -{ - return isDesc_; -} - -void ListExecutionPlansRequest::setIsDesc(bool isDesc) -{ - isDesc_ = isDesc; - setParameter("IsDesc", isDesc ? "true" : "false"); -} - -int ListExecutionPlansRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListExecutionPlansRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListExecutionPlansRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListExecutionPlansRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListExecutionPlansRequest::getJobId()const -{ - return jobId_; -} - -void ListExecutionPlansRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); -} - -std::string ListExecutionPlansRequest::getRegionId()const -{ - return regionId_; -} - -void ListExecutionPlansRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListExecutionPlansRequest::getPageSize()const -{ - return pageSize_; -} - -void ListExecutionPlansRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListExecutionPlansRequest::getQueryType()const -{ - return queryType_; -} - -void ListExecutionPlansRequest::setQueryType(const std::string& queryType) -{ - queryType_ = queryType; - setParameter("QueryType", queryType); -} - -std::string ListExecutionPlansRequest::getQueryString()const -{ - return queryString_; -} - -void ListExecutionPlansRequest::setQueryString(const std::string& queryString) -{ - queryString_ = queryString; - setParameter("QueryString", queryString); -} - -std::string ListExecutionPlansRequest::getClusterId()const -{ - return clusterId_; -} - -void ListExecutionPlansRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string ListExecutionPlansRequest::getStrategy()const -{ - return strategy_; -} - -void ListExecutionPlansRequest::setStrategy(const std::string& strategy) -{ - strategy_ = strategy; - setParameter("Strategy", strategy); -} - diff --git a/emr/src/model/ListExecutionPlansResult.cc b/emr/src/model/ListExecutionPlansResult.cc deleted file mode 100644 index 02a8e86c2..000000000 --- a/emr/src/model/ListExecutionPlansResult.cc +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ListExecutionPlansResult::ListExecutionPlansResult() : - ServiceResult() -{} - -ListExecutionPlansResult::ListExecutionPlansResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListExecutionPlansResult::~ListExecutionPlansResult() -{} - -void ListExecutionPlansResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allExecutionPlansNode = value["ExecutionPlans"]["ExecutionPlanInfo"]; - for (auto valueExecutionPlansExecutionPlanInfo : allExecutionPlansNode) - { - ExecutionPlanInfo executionPlansObject; - if(!valueExecutionPlansExecutionPlanInfo["Id"].isNull()) - executionPlansObject.id = valueExecutionPlansExecutionPlanInfo["Id"].asString(); - if(!valueExecutionPlansExecutionPlanInfo["Name"].isNull()) - executionPlansObject.name = valueExecutionPlansExecutionPlanInfo["Name"].asString(); - if(!valueExecutionPlansExecutionPlanInfo["CreateClusterOnDemand"].isNull()) - executionPlansObject.createClusterOnDemand = valueExecutionPlansExecutionPlanInfo["CreateClusterOnDemand"].asString() == "true"; - if(!valueExecutionPlansExecutionPlanInfo["Stragety"].isNull()) - executionPlansObject.stragety = valueExecutionPlansExecutionPlanInfo["Stragety"].asString(); - if(!valueExecutionPlansExecutionPlanInfo["Status"].isNull()) - executionPlansObject.status = valueExecutionPlansExecutionPlanInfo["Status"].asString(); - if(!valueExecutionPlansExecutionPlanInfo["TimeInterval"].isNull()) - executionPlansObject.timeInterval = std::stoi(valueExecutionPlansExecutionPlanInfo["TimeInterval"].asString()); - if(!valueExecutionPlansExecutionPlanInfo["StartTime"].isNull()) - executionPlansObject.startTime = std::stol(valueExecutionPlansExecutionPlanInfo["StartTime"].asString()); - if(!valueExecutionPlansExecutionPlanInfo["TimeUnit"].isNull()) - executionPlansObject.timeUnit = valueExecutionPlansExecutionPlanInfo["TimeUnit"].asString(); - executionPlans_.push_back(executionPlansObject); - } - 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 ListExecutionPlansResult::getTotalCount()const -{ - return totalCount_; -} - -int ListExecutionPlansResult::getPageSize()const -{ - return pageSize_; -} - -int ListExecutionPlansResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListExecutionPlansResult::getExecutionPlans()const -{ - return executionPlans_; -} - diff --git a/emr/src/model/ListFlowEntitySnapshotRequest.cc b/emr/src/model/ListFlowEntitySnapshotRequest.cc deleted file mode 100644 index 457fe7199..000000000 --- a/emr/src/model/ListFlowEntitySnapshotRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::ListFlowEntitySnapshotRequest; - -ListFlowEntitySnapshotRequest::ListFlowEntitySnapshotRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListFlowEntitySnapshot") -{ - setMethod(HttpRequest::Method::Post); -} - -ListFlowEntitySnapshotRequest::~ListFlowEntitySnapshotRequest() -{} - -long ListFlowEntitySnapshotRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListFlowEntitySnapshotRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int ListFlowEntitySnapshotRequest::getPageCount()const -{ - return pageCount_; -} - -void ListFlowEntitySnapshotRequest::setPageCount(int pageCount) -{ - pageCount_ = pageCount; - setParameter("PageCount", std::to_string(pageCount)); -} - -std::string ListFlowEntitySnapshotRequest::getOrderMode()const -{ - return orderMode_; -} - -void ListFlowEntitySnapshotRequest::setOrderMode(const std::string& orderMode) -{ - orderMode_ = orderMode; - setParameter("OrderMode", orderMode); -} - -std::string ListFlowEntitySnapshotRequest::getEntityId()const -{ - return entityId_; -} - -void ListFlowEntitySnapshotRequest::setEntityId(const std::string& entityId) -{ - entityId_ = entityId; - setParameter("EntityId", entityId); -} - -int ListFlowEntitySnapshotRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListFlowEntitySnapshotRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListFlowEntitySnapshotRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListFlowEntitySnapshotRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListFlowEntitySnapshotRequest::getRegionId()const -{ - return regionId_; -} - -void ListFlowEntitySnapshotRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListFlowEntitySnapshotRequest::getLimit()const -{ - return limit_; -} - -void ListFlowEntitySnapshotRequest::setLimit(int limit) -{ - limit_ = limit; - setParameter("Limit", std::to_string(limit)); -} - -int ListFlowEntitySnapshotRequest::getPageSize()const -{ - return pageSize_; -} - -void ListFlowEntitySnapshotRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListFlowEntitySnapshotRequest::getCommitterId()const -{ - return committerId_; -} - -void ListFlowEntitySnapshotRequest::setCommitterId(const std::string& committerId) -{ - committerId_ = committerId; - setParameter("CommitterId", committerId); -} - -int ListFlowEntitySnapshotRequest::getCurrentSize()const -{ - return currentSize_; -} - -void ListFlowEntitySnapshotRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string ListFlowEntitySnapshotRequest::getOrderField()const -{ - return orderField_; -} - -void ListFlowEntitySnapshotRequest::setOrderField(const std::string& orderField) -{ - orderField_ = orderField; - setParameter("OrderField", orderField); -} - -std::string ListFlowEntitySnapshotRequest::getEntityGroupId()const -{ - return entityGroupId_; -} - -void ListFlowEntitySnapshotRequest::setEntityGroupId(const std::string& entityGroupId) -{ - entityGroupId_ = entityGroupId; - setParameter("EntityGroupId", entityGroupId); -} - -std::string ListFlowEntitySnapshotRequest::getRevision()const -{ - return revision_; -} - -void ListFlowEntitySnapshotRequest::setRevision(const std::string& revision) -{ - revision_ = revision; - setParameter("Revision", revision); -} - -std::string ListFlowEntitySnapshotRequest::getEntityType()const -{ - return entityType_; -} - -void ListFlowEntitySnapshotRequest::setEntityType(const std::string& entityType) -{ - entityType_ = entityType; - setParameter("EntityType", entityType); -} - diff --git a/emr/src/model/ListFlowEntitySnapshotResult.cc b/emr/src/model/ListFlowEntitySnapshotResult.cc deleted file mode 100644 index d692a52c6..000000000 --- a/emr/src/model/ListFlowEntitySnapshotResult.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; - -ListFlowEntitySnapshotResult::ListFlowEntitySnapshotResult() : - ServiceResult() -{} - -ListFlowEntitySnapshotResult::ListFlowEntitySnapshotResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListFlowEntitySnapshotResult::~ListFlowEntitySnapshotResult() -{} - -void ListFlowEntitySnapshotResult::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["GmtCreate"].isNull()) - itemsObject.gmtCreate = std::stol(valueItemsItem["GmtCreate"].asString()); - if(!valueItemsItem["Revision"].isNull()) - itemsObject.revision = valueItemsItem["Revision"].asString(); - if(!valueItemsItem["UserId"].isNull()) - itemsObject.userId = valueItemsItem["UserId"].asString(); - if(!valueItemsItem["CommitterId"].isNull()) - itemsObject.committerId = valueItemsItem["CommitterId"].asString(); - if(!valueItemsItem["Message"].isNull()) - itemsObject.message = valueItemsItem["Message"].asString(); - if(!valueItemsItem["EntityId"].isNull()) - itemsObject.entityId = valueItemsItem["EntityId"].asString(); - if(!valueItemsItem["EntityGroupId"].isNull()) - itemsObject.entityGroupId = valueItemsItem["EntityGroupId"].asString(); - if(!valueItemsItem["EntityType"].isNull()) - itemsObject.entityType = valueItemsItem["EntityType"].asString(); - if(!valueItemsItem["Data"].isNull()) - itemsObject.data = valueItemsItem["Data"].asString(); - if(!valueItemsItem["Active"].isNull()) - itemsObject.active = valueItemsItem["Active"].asString() == "true"; - 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 ListFlowEntitySnapshotResult::getTotalCount()const -{ - return totalCount_; -} - -int ListFlowEntitySnapshotResult::getPageSize()const -{ - return pageSize_; -} - -int ListFlowEntitySnapshotResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListFlowEntitySnapshotResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/ListJobInstanceWorkersResult.cc b/emr/src/model/ListJobInstanceWorkersResult.cc deleted file mode 100644 index a1fa18cac..000000000 --- a/emr/src/model/ListJobInstanceWorkersResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListJobInstanceWorkersResult::ListJobInstanceWorkersResult() : - ServiceResult() -{} - -ListJobInstanceWorkersResult::ListJobInstanceWorkersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListJobInstanceWorkersResult::~ListJobInstanceWorkersResult() -{} - -void ListJobInstanceWorkersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allJobInstanceWorkersNode = value["JobInstanceWorkers"]["JobInstanceWorkerInfo"]; - for (auto valueJobInstanceWorkersJobInstanceWorkerInfo : allJobInstanceWorkersNode) - { - JobInstanceWorkerInfo jobInstanceWorkersObject; - if(!valueJobInstanceWorkersJobInstanceWorkerInfo["ApplicationId"].isNull()) - jobInstanceWorkersObject.applicationId = valueJobInstanceWorkersJobInstanceWorkerInfo["ApplicationId"].asString(); - if(!valueJobInstanceWorkersJobInstanceWorkerInfo["InstanceInfo"].isNull()) - jobInstanceWorkersObject.instanceInfo = valueJobInstanceWorkersJobInstanceWorkerInfo["InstanceInfo"].asString(); - if(!valueJobInstanceWorkersJobInstanceWorkerInfo["ContainerInfo"].isNull()) - jobInstanceWorkersObject.containerInfo = valueJobInstanceWorkersJobInstanceWorkerInfo["ContainerInfo"].asString(); - jobInstanceWorkers_.push_back(jobInstanceWorkersObject); - } - -} - -std::vector ListJobInstanceWorkersResult::getJobInstanceWorkers()const -{ - return jobInstanceWorkers_; -} - diff --git a/emr/src/model/ListLocalDiskComponentInfoRequest.cc b/emr/src/model/ListLocalDiskComponentInfoRequest.cc new file mode 100644 index 000000000..54d7d7b7f --- /dev/null +++ b/emr/src/model/ListLocalDiskComponentInfoRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 new file mode 100644 index 000000000..25ddbba6c --- /dev/null +++ b/emr/src/model/ListLocalDiskComponentInfoResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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/ListMetaClusterRequest.cc b/emr/src/model/ListMetaClusterRequest.cc deleted file mode 100644 index 24cc22025..000000000 --- a/emr/src/model/ListMetaClusterRequest.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::ListMetaClusterRequest; - -ListMetaClusterRequest::ListMetaClusterRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListMetaCluster") -{ - setMethod(HttpRequest::Method::Post); -} - -ListMetaClusterRequest::~ListMetaClusterRequest() -{} - -long ListMetaClusterRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListMetaClusterRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListMetaClusterRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListMetaClusterRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListMetaClusterRequest::getRegionId()const -{ - return regionId_; -} - -void ListMetaClusterRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -int ListMetaClusterRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListMetaClusterRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -int ListMetaClusterRequest::getPageSize()const -{ - return pageSize_; -} - -void ListMetaClusterRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListMetaClusterRequest::getSourceType()const -{ - return sourceType_; -} - -void ListMetaClusterRequest::setSourceType(const std::string& sourceType) -{ - sourceType_ = sourceType; - setParameter("SourceType", sourceType); -} - diff --git a/emr/src/model/ListMetaClusterResult.cc b/emr/src/model/ListMetaClusterResult.cc deleted file mode 100644 index d85a6bc71..000000000 --- a/emr/src/model/ListMetaClusterResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListMetaClusterResult::ListMetaClusterResult() : - ServiceResult() -{} - -ListMetaClusterResult::ListMetaClusterResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListMetaClusterResult::~ListMetaClusterResult() -{} - -void ListMetaClusterResult::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["Name"].isNull()) - itemsObject.name = valueItemsItem["Name"].asString(); - auto softwareInfoNode = value["SoftwareInfo"]; - if(!softwareInfoNode["EmrVer"].isNull()) - itemsObject.softwareInfo.emrVer = softwareInfoNode["EmrVer"].asString(); - if(!softwareInfoNode["ClusterType"].isNull()) - itemsObject.softwareInfo.clusterType = softwareInfoNode["ClusterType"].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 ListMetaClusterResult::getTotalCount()const -{ - return totalCount_; -} - -int ListMetaClusterResult::getPageSize()const -{ - return pageSize_; -} - -int ListMetaClusterResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListMetaClusterResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/ListMetaDataSourceClusterForOuterRequest.cc b/emr/src/model/ListMetaDataSourceClusterForOuterRequest.cc deleted file mode 100644 index c6b9c1151..000000000 --- a/emr/src/model/ListMetaDataSourceClusterForOuterRequest.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 - -using AlibabaCloud::Emr::Model::ListMetaDataSourceClusterForOuterRequest; - -ListMetaDataSourceClusterForOuterRequest::ListMetaDataSourceClusterForOuterRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListMetaDataSourceClusterForOuter") -{ - setMethod(HttpRequest::Method::Post); -} - -ListMetaDataSourceClusterForOuterRequest::~ListMetaDataSourceClusterForOuterRequest() -{} - -long ListMetaDataSourceClusterForOuterRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListMetaDataSourceClusterForOuterRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::vector ListMetaDataSourceClusterForOuterRequest::getClusterId()const -{ - return clusterId_; -} - -void ListMetaDataSourceClusterForOuterRequest::setClusterId(const std::vector& clusterId) -{ - clusterId_ = clusterId; - for(int dep1 = 0; dep1!= clusterId.size(); dep1++) { - setParameter("ClusterId."+ std::to_string(dep1), clusterId.at(dep1)); - } -} - -std::string ListMetaDataSourceClusterForOuterRequest::getUserId()const -{ - return userId_; -} - -void ListMetaDataSourceClusterForOuterRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); -} - -int ListMetaDataSourceClusterForOuterRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListMetaDataSourceClusterForOuterRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListMetaDataSourceClusterForOuterRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListMetaDataSourceClusterForOuterRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListMetaDataSourceClusterForOuterRequest::getRegionId()const -{ - return regionId_; -} - -void ListMetaDataSourceClusterForOuterRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::vector ListMetaDataSourceClusterForOuterRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void ListMetaDataSourceClusterForOuterRequest::setDataSourceId(const std::vector& dataSourceId) -{ - dataSourceId_ = dataSourceId; - for(int dep1 = 0; dep1!= dataSourceId.size(); dep1++) { - setParameter("DataSourceId."+ std::to_string(dep1), dataSourceId.at(dep1)); - } -} - -int ListMetaDataSourceClusterForOuterRequest::getPageSize()const -{ - return pageSize_; -} - -void ListMetaDataSourceClusterForOuterRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/emr/src/model/ListMetaDataSourceClusterForOuterResult.cc b/emr/src/model/ListMetaDataSourceClusterForOuterResult.cc deleted file mode 100644 index 689d18d93..000000000 --- a/emr/src/model/ListMetaDataSourceClusterForOuterResult.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; - -ListMetaDataSourceClusterForOuterResult::ListMetaDataSourceClusterForOuterResult() : - ServiceResult() -{} - -ListMetaDataSourceClusterForOuterResult::ListMetaDataSourceClusterForOuterResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListMetaDataSourceClusterForOuterResult::~ListMetaDataSourceClusterForOuterResult() -{} - -void ListMetaDataSourceClusterForOuterResult::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["DataSourceId"].isNull()) - itemsObject.dataSourceId = valueItemsItem["DataSourceId"].asString(); - if(!valueItemsItem["ClusterId"].isNull()) - itemsObject.clusterId = valueItemsItem["ClusterId"].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()); - -} - -int ListMetaDataSourceClusterForOuterResult::getTotalCount()const -{ - return totalCount_; -} - -int ListMetaDataSourceClusterForOuterResult::getPageSize()const -{ - return pageSize_; -} - -int ListMetaDataSourceClusterForOuterResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListMetaDataSourceClusterForOuterResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/ListNotesRequest.cc b/emr/src/model/ListNotesRequest.cc deleted file mode 100644 index a25c23406..000000000 --- a/emr/src/model/ListNotesRequest.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::ListNotesRequest; - -ListNotesRequest::ListNotesRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListNotes") -{ - setMethod(HttpRequest::Method::Post); -} - -ListNotesRequest::~ListNotesRequest() -{} - -long ListNotesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListNotesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListNotesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListNotesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListNotesRequest::getResourceGroupId()const -{ - return resourceGroupId_; -} - -void ListNotesRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); -} - -std::string ListNotesRequest::getRegionId()const -{ - return regionId_; -} - -void ListNotesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/ListNotesResult.cc b/emr/src/model/ListNotesResult.cc deleted file mode 100644 index 542c18996..000000000 --- a/emr/src/model/ListNotesResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListNotesResult::ListNotesResult() : - ServiceResult() -{} - -ListNotesResult::ListNotesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListNotesResult::~ListNotesResult() -{} - -void ListNotesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allNotesNode = value["Notes"]["NoteInfo"]; - for (auto valueNotesNoteInfo : allNotesNode) - { - NoteInfo notesObject; - if(!valueNotesNoteInfo["Id"].isNull()) - notesObject.id = valueNotesNoteInfo["Id"].asString(); - if(!valueNotesNoteInfo["Name"].isNull()) - notesObject.name = valueNotesNoteInfo["Name"].asString(); - if(!valueNotesNoteInfo["Type"].isNull()) - notesObject.type = valueNotesNoteInfo["Type"].asString(); - notes_.push_back(notesObject); - } - -} - -std::vector ListNotesResult::getNotes()const -{ - return notes_; -} - diff --git a/emr/src/model/ListScalingConfigItemV2Request.cc b/emr/src/model/ListScalingConfigItemV2Request.cc index 7949ef706..03fd8c240 100644 --- a/emr/src/model/ListScalingConfigItemV2Request.cc +++ b/emr/src/model/ListScalingConfigItemV2Request.cc @@ -27,6 +27,17 @@ ListScalingConfigItemV2Request::ListScalingConfigItemV2Request() : ListScalingConfigItemV2Request::~ListScalingConfigItemV2Request() {} +std::string ListScalingConfigItemV2Request::getConfigItemType()const +{ + return configItemType_; +} + +void ListScalingConfigItemV2Request::setConfigItemType(const std::string& configItemType) +{ + configItemType_ = configItemType; + setParameter("ConfigItemType", configItemType); +} + long ListScalingConfigItemV2Request::getResourceOwnerId()const { return resourceOwnerId_; @@ -38,28 +49,6 @@ void ListScalingConfigItemV2Request::setResourceOwnerId(long resourceOwnerId) setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); } -int ListScalingConfigItemV2Request::getPageCount()const -{ - return pageCount_; -} - -void ListScalingConfigItemV2Request::setPageCount(int pageCount) -{ - pageCount_ = pageCount; - setParameter("PageCount", std::to_string(pageCount)); -} - -std::string ListScalingConfigItemV2Request::getOrderMode()const -{ - return orderMode_; -} - -void ListScalingConfigItemV2Request::setOrderMode(const std::string& orderMode) -{ - orderMode_ = orderMode; - setParameter("OrderMode", orderMode); -} - int ListScalingConfigItemV2Request::getPageNumber()const { return pageNumber_; @@ -115,17 +104,6 @@ void ListScalingConfigItemV2Request::setRegionId(const std::string& regionId) setParameter("RegionId", regionId); } -int ListScalingConfigItemV2Request::getLimit()const -{ - return limit_; -} - -void ListScalingConfigItemV2Request::setLimit(int limit) -{ - limit_ = limit; - setParameter("Limit", std::to_string(limit)); -} - int ListScalingConfigItemV2Request::getPageSize()const { return pageSize_; @@ -137,36 +115,3 @@ void ListScalingConfigItemV2Request::setPageSize(int pageSize) setParameter("PageSize", std::to_string(pageSize)); } -int ListScalingConfigItemV2Request::getCurrentSize()const -{ - return currentSize_; -} - -void ListScalingConfigItemV2Request::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string ListScalingConfigItemV2Request::getOrderField()const -{ - return orderField_; -} - -void ListScalingConfigItemV2Request::setOrderField(const std::string& orderField) -{ - orderField_ = orderField; - setParameter("OrderField", orderField); -} - -std::string ListScalingConfigItemV2Request::getConfigItemType()const -{ - return configItemType_; -} - -void ListScalingConfigItemV2Request::setConfigItemType(const std::string& configItemType) -{ - configItemType_ = configItemType; - setParameter("ConfigItemType", configItemType); -} - diff --git a/emr/src/model/QueryAlarmHistoryRequest.cc b/emr/src/model/QueryAlarmHistoryRequest.cc deleted file mode 100644 index a30b574a4..000000000 --- a/emr/src/model/QueryAlarmHistoryRequest.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::QueryAlarmHistoryRequest; - -QueryAlarmHistoryRequest::QueryAlarmHistoryRequest() : - RpcServiceRequest("emr", "2016-04-08", "QueryAlarmHistory") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryAlarmHistoryRequest::~QueryAlarmHistoryRequest() -{} - -std::string QueryAlarmHistoryRequest::getCursor()const -{ - return cursor_; -} - -void QueryAlarmHistoryRequest::setCursor(const std::string& cursor) -{ - cursor_ = cursor; - setParameter("Cursor", cursor); -} - -long QueryAlarmHistoryRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void QueryAlarmHistoryRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string QueryAlarmHistoryRequest::getClusterId()const -{ - return clusterId_; -} - -void QueryAlarmHistoryRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -long QueryAlarmHistoryRequest::getStartTimeStamp()const -{ - return startTimeStamp_; -} - -void QueryAlarmHistoryRequest::setStartTimeStamp(long startTimeStamp) -{ - startTimeStamp_ = startTimeStamp; - setParameter("StartTimeStamp", std::to_string(startTimeStamp)); -} - -std::string QueryAlarmHistoryRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void QueryAlarmHistoryRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -long QueryAlarmHistoryRequest::getEndTimeStamp()const -{ - return endTimeStamp_; -} - -void QueryAlarmHistoryRequest::setEndTimeStamp(long endTimeStamp) -{ - endTimeStamp_ = endTimeStamp; - setParameter("EndTimeStamp", std::to_string(endTimeStamp)); -} - -int QueryAlarmHistoryRequest::getSize()const -{ - return size_; -} - -void QueryAlarmHistoryRequest::setSize(int size) -{ - size_ = size; - setParameter("Size", std::to_string(size)); -} - -std::string QueryAlarmHistoryRequest::getRegionId()const -{ - return regionId_; -} - -void QueryAlarmHistoryRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/QueryAlarmHistoryResult.cc b/emr/src/model/QueryAlarmHistoryResult.cc deleted file mode 100644 index 5c6ec1116..000000000 --- a/emr/src/model/QueryAlarmHistoryResult.cc +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -QueryAlarmHistoryResult::QueryAlarmHistoryResult() : - ServiceResult() -{} - -QueryAlarmHistoryResult::QueryAlarmHistoryResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryAlarmHistoryResult::~QueryAlarmHistoryResult() -{} - -void QueryAlarmHistoryResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allAlarmHistoryListNode = value["AlarmHistoryList"]["EmrAlarmHistory"]; - for (auto valueAlarmHistoryListEmrAlarmHistory : allAlarmHistoryListNode) - { - EmrAlarmHistory alarmHistoryListObject; - if(!valueAlarmHistoryListEmrAlarmHistory["ClusterId"].isNull()) - alarmHistoryListObject.clusterId = valueAlarmHistoryListEmrAlarmHistory["ClusterId"].asString(); - if(!valueAlarmHistoryListEmrAlarmHistory["Role"].isNull()) - alarmHistoryListObject.role = valueAlarmHistoryListEmrAlarmHistory["Role"].asString(); - if(!valueAlarmHistoryListEmrAlarmHistory["InstanceId"].isNull()) - alarmHistoryListObject.instanceId = valueAlarmHistoryListEmrAlarmHistory["InstanceId"].asString(); - if(!valueAlarmHistoryListEmrAlarmHistory["Name"].isNull()) - alarmHistoryListObject.name = valueAlarmHistoryListEmrAlarmHistory["Name"].asString(); - if(!valueAlarmHistoryListEmrAlarmHistory["MetricName"].isNull()) - alarmHistoryListObject.metricName = valueAlarmHistoryListEmrAlarmHistory["MetricName"].asString(); - if(!valueAlarmHistoryListEmrAlarmHistory["AlarmTime"].isNull()) - alarmHistoryListObject.alarmTime = std::stol(valueAlarmHistoryListEmrAlarmHistory["AlarmTime"].asString()); - if(!valueAlarmHistoryListEmrAlarmHistory["LastTime"].isNull()) - alarmHistoryListObject.lastTime = std::stol(valueAlarmHistoryListEmrAlarmHistory["LastTime"].asString()); - if(!valueAlarmHistoryListEmrAlarmHistory["State"].isNull()) - alarmHistoryListObject.state = valueAlarmHistoryListEmrAlarmHistory["State"].asString(); - if(!valueAlarmHistoryListEmrAlarmHistory["Status"].isNull()) - alarmHistoryListObject.status = std::stoi(valueAlarmHistoryListEmrAlarmHistory["Status"].asString()); - if(!valueAlarmHistoryListEmrAlarmHistory["ContactGroups"].isNull()) - alarmHistoryListObject.contactGroups = valueAlarmHistoryListEmrAlarmHistory["ContactGroups"].asString(); - alarmHistoryList_.push_back(alarmHistoryListObject); - } - if(!value["Total"].isNull()) - total_ = value["Total"].asString(); - if(!value["Cursor"].isNull()) - cursor_ = value["Cursor"].asString(); - -} - -std::vector QueryAlarmHistoryResult::getAlarmHistoryList()const -{ - return alarmHistoryList_; -} - -std::string QueryAlarmHistoryResult::getTotal()const -{ - return total_; -} - -std::string QueryAlarmHistoryResult::getCursor()const -{ - return cursor_; -} - diff --git a/emr/src/model/QueryTableDataRequest.cc b/emr/src/model/QueryTableDataRequest.cc deleted file mode 100644 index 9dc6bcfb7..000000000 --- a/emr/src/model/QueryTableDataRequest.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::QueryTableDataRequest; - -QueryTableDataRequest::QueryTableDataRequest() : - RpcServiceRequest("emr", "2016-04-08", "QueryTableData") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryTableDataRequest::~QueryTableDataRequest() -{} - -long QueryTableDataRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void QueryTableDataRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string QueryTableDataRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void QueryTableDataRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string QueryTableDataRequest::getRegionId()const -{ - return regionId_; -} - -void QueryTableDataRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string QueryTableDataRequest::getPayload()const -{ - return payload_; -} - -void QueryTableDataRequest::setPayload(const std::string& payload) -{ - payload_ = payload; - setParameter("Payload", payload); -} - diff --git a/emr/src/model/QueryTableDataResult.cc b/emr/src/model/QueryTableDataResult.cc deleted file mode 100644 index fd8808041..000000000 --- a/emr/src/model/QueryTableDataResult.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; - -QueryTableDataResult::QueryTableDataResult() : - ServiceResult() -{} - -QueryTableDataResult::QueryTableDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryTableDataResult::~QueryTableDataResult() -{} - -void QueryTableDataResult::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 QueryTableDataResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/QueryTrendDataRequest.cc b/emr/src/model/QueryTrendDataRequest.cc deleted file mode 100644 index a824296a1..000000000 --- a/emr/src/model/QueryTrendDataRequest.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::QueryTrendDataRequest; - -QueryTrendDataRequest::QueryTrendDataRequest() : - RpcServiceRequest("emr", "2016-04-08", "QueryTrendData") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryTrendDataRequest::~QueryTrendDataRequest() -{} - -long QueryTrendDataRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void QueryTrendDataRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string QueryTrendDataRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void QueryTrendDataRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string QueryTrendDataRequest::getRegionId()const -{ - return regionId_; -} - -void QueryTrendDataRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string QueryTrendDataRequest::getPayload()const -{ - return payload_; -} - -void QueryTrendDataRequest::setPayload(const std::string& payload) -{ - payload_ = payload; - setParameter("Payload", payload); -} - diff --git a/emr/src/model/QueryTrendDataResult.cc b/emr/src/model/QueryTrendDataResult.cc deleted file mode 100644 index 8ae4ce7e7..000000000 --- a/emr/src/model/QueryTrendDataResult.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; - -QueryTrendDataResult::QueryTrendDataResult() : - ServiceResult() -{} - -QueryTrendDataResult::QueryTrendDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryTrendDataResult::~QueryTrendDataResult() -{} - -void QueryTrendDataResult::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 QueryTrendDataResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/ReleaseClusterByTemplateTagForInternalRequest.cc b/emr/src/model/ReleaseClusterByTemplateTagForInternalRequest.cc deleted file mode 100644 index f1f5558bf..000000000 --- a/emr/src/model/ReleaseClusterByTemplateTagForInternalRequest.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::ReleaseClusterByTemplateTagForInternalRequest; - -ReleaseClusterByTemplateTagForInternalRequest::ReleaseClusterByTemplateTagForInternalRequest() : - RpcServiceRequest("emr", "2016-04-08", "ReleaseClusterByTemplateTagForInternal") -{ - setMethod(HttpRequest::Method::Post); -} - -ReleaseClusterByTemplateTagForInternalRequest::~ReleaseClusterByTemplateTagForInternalRequest() -{} - -std::vector ReleaseClusterByTemplateTagForInternalRequest::getTemplateTagSet()const -{ - return templateTagSet_; -} - -void ReleaseClusterByTemplateTagForInternalRequest::setTemplateTagSet(const std::vector& templateTagSet) -{ - templateTagSet_ = templateTagSet; - for(int dep1 = 0; dep1!= templateTagSet.size(); dep1++) { - setParameter("TemplateTagSet."+ std::to_string(dep1), templateTagSet.at(dep1)); - } -} - -long ReleaseClusterByTemplateTagForInternalRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ReleaseClusterByTemplateTagForInternalRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ReleaseClusterByTemplateTagForInternalRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ReleaseClusterByTemplateTagForInternalRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ReleaseClusterByTemplateTagForInternalRequest::getRegionId()const -{ - return regionId_; -} - -void ReleaseClusterByTemplateTagForInternalRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/ReleaseClusterByTemplateTagForInternalResult.cc b/emr/src/model/ReleaseClusterByTemplateTagForInternalResult.cc deleted file mode 100644 index 7d4efa0e5..000000000 --- a/emr/src/model/ReleaseClusterByTemplateTagForInternalResult.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; - -ReleaseClusterByTemplateTagForInternalResult::ReleaseClusterByTemplateTagForInternalResult() : - ServiceResult() -{} - -ReleaseClusterByTemplateTagForInternalResult::ReleaseClusterByTemplateTagForInternalResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReleaseClusterByTemplateTagForInternalResult::~ReleaseClusterByTemplateTagForInternalResult() -{} - -void ReleaseClusterByTemplateTagForInternalResult::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/ResizeClusterV2Request.cc b/emr/src/model/ResizeClusterV2Request.cc index 66c61fe98..9383ccd5f 100644 --- a/emr/src/model/ResizeClusterV2Request.cc +++ b/emr/src/model/ResizeClusterV2Request.cc @@ -101,6 +101,17 @@ void ResizeClusterV2Request::setHostComponentInfo(const std::vector& hostGrou setParameter(hostGroupObjStr + ".Period", std::to_string(hostGroupObj.period)); setParameter(hostGroupObjStr + ".SysDiskCapacity", std::to_string(hostGroupObj.sysDiskCapacity)); setParameter(hostGroupObjStr + ".HostKeyPairName", hostGroupObj.hostKeyPairName); + setParameter(hostGroupObjStr + ".PrivatePoolOptionsId", hostGroupObj.privatePoolOptionsId); setParameter(hostGroupObjStr + ".DiskCapacity", std::to_string(hostGroupObj.diskCapacity)); setParameter(hostGroupObjStr + ".SysDiskType", hostGroupObj.sysDiskType); setParameter(hostGroupObjStr + ".ClusterId", hostGroupObj.clusterId); @@ -142,6 +154,7 @@ void ResizeClusterV2Request::setHostGroup(const std::vector& hostGrou setParameter(hostGroupObjStr + ".CreateType", hostGroupObj.createType); setParameter(hostGroupObjStr + ".HostPassword", hostGroupObj.hostPassword); setParameter(hostGroupObjStr + ".HostGroupType", hostGroupObj.hostGroupType); + setParameter(hostGroupObjStr + ".PrivatePoolOptionsMatchCriteria", hostGroupObj.privatePoolOptionsMatchCriteria); } } diff --git a/emr/src/model/RestoreBackupRequest.cc b/emr/src/model/RestoreBackupRequest.cc deleted file mode 100644 index cf1c4030f..000000000 --- a/emr/src/model/RestoreBackupRequest.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::RestoreBackupRequest; - -RestoreBackupRequest::RestoreBackupRequest() : - RpcServiceRequest("emr", "2016-04-08", "RestoreBackup") -{ - setMethod(HttpRequest::Method::Post); -} - -RestoreBackupRequest::~RestoreBackupRequest() -{} - -long RestoreBackupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RestoreBackupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RestoreBackupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RestoreBackupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string RestoreBackupRequest::getRegionId()const -{ - return regionId_; -} - -void RestoreBackupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string RestoreBackupRequest::getBackupPlanId()const -{ - return backupPlanId_; -} - -void RestoreBackupRequest::setBackupPlanId(const std::string& backupPlanId) -{ - backupPlanId_ = backupPlanId; - setParameter("BackupPlanId", backupPlanId); -} - -std::string RestoreBackupRequest::getBackupId()const -{ - return backupId_; -} - -void RestoreBackupRequest::setBackupId(const std::string& backupId) -{ - backupId_ = backupId; - setParameter("BackupId", backupId); -} - diff --git a/emr/src/model/RestoreBackupResult.cc b/emr/src/model/RestoreBackupResult.cc deleted file mode 100644 index d1775a74f..000000000 --- a/emr/src/model/RestoreBackupResult.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; - -RestoreBackupResult::RestoreBackupResult() : - ServiceResult() -{} - -RestoreBackupResult::RestoreBackupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RestoreBackupResult::~RestoreBackupResult() -{} - -void RestoreBackupResult::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 RestoreBackupResult::getTriggerType()const -{ - return triggerType_; -} - -long RestoreBackupResult::getEndTime()const -{ - return endTime_; -} - -long RestoreBackupResult::getStartTime()const -{ - return startTime_; -} - -long RestoreBackupResult::getGmtModified()const -{ - return gmtModified_; -} - -std::string RestoreBackupResult::getTaskStatus()const -{ - return taskStatus_; -} - -std::string RestoreBackupResult::getTaskDetail()const -{ - return taskDetail_; -} - -std::string RestoreBackupResult::getTriggerUser()const -{ - return triggerUser_; -} - -long RestoreBackupResult::getGmtCreate()const -{ - return gmtCreate_; -} - -int RestoreBackupResult::getTaskProcess()const -{ - return taskProcess_; -} - -std::string RestoreBackupResult::getClusterBizId()const -{ - return clusterBizId_; -} - -std::string RestoreBackupResult::getTaskType()const -{ - return taskType_; -} - -std::string RestoreBackupResult::getBizId()const -{ - return bizId_; -} - -long RestoreBackupResult::getDataSourceId()const -{ - return dataSourceId_; -} - -std::string RestoreBackupResult::getHostName()const -{ - return hostName_; -} - -long RestoreBackupResult::getEcmTaskId()const -{ - return ecmTaskId_; -} - -std::string RestoreBackupResult::getTaskResultDetail()const -{ - return taskResultDetail_; -} - diff --git a/emr/src/model/RestoreFlowEntitySnapshotRequest.cc b/emr/src/model/RestoreFlowEntitySnapshotRequest.cc deleted file mode 100644 index b8d50da98..000000000 --- a/emr/src/model/RestoreFlowEntitySnapshotRequest.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::RestoreFlowEntitySnapshotRequest; - -RestoreFlowEntitySnapshotRequest::RestoreFlowEntitySnapshotRequest() : - RpcServiceRequest("emr", "2016-04-08", "RestoreFlowEntitySnapshot") -{ - setMethod(HttpRequest::Method::Post); -} - -RestoreFlowEntitySnapshotRequest::~RestoreFlowEntitySnapshotRequest() -{} - -long RestoreFlowEntitySnapshotRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RestoreFlowEntitySnapshotRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RestoreFlowEntitySnapshotRequest::getEntityId()const -{ - return entityId_; -} - -void RestoreFlowEntitySnapshotRequest::setEntityId(const std::string& entityId) -{ - entityId_ = entityId; - setParameter("EntityId", entityId); -} - -std::string RestoreFlowEntitySnapshotRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RestoreFlowEntitySnapshotRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string RestoreFlowEntitySnapshotRequest::getRevision()const -{ - return revision_; -} - -void RestoreFlowEntitySnapshotRequest::setRevision(const std::string& revision) -{ - revision_ = revision; - setParameter("Revision", revision); -} - -std::string RestoreFlowEntitySnapshotRequest::getEntityType()const -{ - return entityType_; -} - -void RestoreFlowEntitySnapshotRequest::setEntityType(const std::string& entityType) -{ - entityType_ = entityType; - setParameter("EntityType", entityType); -} - -std::string RestoreFlowEntitySnapshotRequest::getRegionId()const -{ - return regionId_; -} - -void RestoreFlowEntitySnapshotRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string RestoreFlowEntitySnapshotRequest::getOperatorId()const -{ - return operatorId_; -} - -void RestoreFlowEntitySnapshotRequest::setOperatorId(const std::string& operatorId) -{ - operatorId_ = operatorId; - setParameter("OperatorId", operatorId); -} - diff --git a/emr/src/model/RestoreFlowEntitySnapshotResult.cc b/emr/src/model/RestoreFlowEntitySnapshotResult.cc deleted file mode 100644 index e34397d68..000000000 --- a/emr/src/model/RestoreFlowEntitySnapshotResult.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; - -RestoreFlowEntitySnapshotResult::RestoreFlowEntitySnapshotResult() : - ServiceResult() -{} - -RestoreFlowEntitySnapshotResult::RestoreFlowEntitySnapshotResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RestoreFlowEntitySnapshotResult::~RestoreFlowEntitySnapshotResult() -{} - -void RestoreFlowEntitySnapshotResult::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 RestoreFlowEntitySnapshotResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/RunDiskOpsActivityRequest.cc b/emr/src/model/RunDiskOpsActivityRequest.cc new file mode 100644 index 000000000..780c99526 --- /dev/null +++ b/emr/src/model/RunDiskOpsActivityRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..a5d2b3212 --- /dev/null +++ b/emr/src/model/RunDiskOpsActivityResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#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/TagResourcesSystemTagsRequest.cc b/emr/src/model/TagResourcesSystemTagsRequest.cc deleted file mode 100644 index 437b4e280..000000000 --- a/emr/src/model/TagResourcesSystemTagsRequest.cc +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::TagResourcesSystemTagsRequest; - -TagResourcesSystemTagsRequest::TagResourcesSystemTagsRequest() : - RpcServiceRequest("emr", "2016-04-08", "TagResourcesSystemTags") -{ - setMethod(HttpRequest::Method::Post); -} - -TagResourcesSystemTagsRequest::~TagResourcesSystemTagsRequest() -{} - -long TagResourcesSystemTagsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void TagResourcesSystemTagsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::vector TagResourcesSystemTagsRequest::getResourceId()const -{ - return resourceId_; -} - -void TagResourcesSystemTagsRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } -} - -long TagResourcesSystemTagsRequest::getTagOwnerUid()const -{ - return tagOwnerUid_; -} - -void TagResourcesSystemTagsRequest::setTagOwnerUid(long tagOwnerUid) -{ - tagOwnerUid_ = tagOwnerUid; - setParameter("TagOwnerUid", std::to_string(tagOwnerUid)); -} - -std::string TagResourcesSystemTagsRequest::getResourceType()const -{ - return resourceType_; -} - -void TagResourcesSystemTagsRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - -std::string TagResourcesSystemTagsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void TagResourcesSystemTagsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string TagResourcesSystemTagsRequest::getRegionId()const -{ - return regionId_; -} - -void TagResourcesSystemTagsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string TagResourcesSystemTagsRequest::getScope()const -{ - return scope_; -} - -void TagResourcesSystemTagsRequest::setScope(const std::string& scope) -{ - scope_ = scope; - setParameter("Scope", scope); -} - -std::vector TagResourcesSystemTagsRequest::getTag()const -{ - return tag_; -} - -void TagResourcesSystemTagsRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - for(int dep1 = 0; dep1!= tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Key", tagObj.key); - setParameter(tagObjStr + ".Value", tagObj.value); - } -} - diff --git a/emr/src/model/TagResourcesSystemTagsResult.cc b/emr/src/model/TagResourcesSystemTagsResult.cc deleted file mode 100644 index f46102c29..000000000 --- a/emr/src/model/TagResourcesSystemTagsResult.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; - -TagResourcesSystemTagsResult::TagResourcesSystemTagsResult() : - ServiceResult() -{} - -TagResourcesSystemTagsResult::TagResourcesSystemTagsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -TagResourcesSystemTagsResult::~TagResourcesSystemTagsResult() -{} - -void TagResourcesSystemTagsResult::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/UntagResourcesSystemTagsRequest.cc b/emr/src/model/UntagResourcesSystemTagsRequest.cc deleted file mode 100644 index 3a8147fb8..000000000 --- a/emr/src/model/UntagResourcesSystemTagsRequest.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 - -using AlibabaCloud::Emr::Model::UntagResourcesSystemTagsRequest; - -UntagResourcesSystemTagsRequest::UntagResourcesSystemTagsRequest() : - RpcServiceRequest("emr", "2016-04-08", "UntagResourcesSystemTags") -{ - setMethod(HttpRequest::Method::Post); -} - -UntagResourcesSystemTagsRequest::~UntagResourcesSystemTagsRequest() -{} - -bool UntagResourcesSystemTagsRequest::getAll()const -{ - return all_; -} - -void UntagResourcesSystemTagsRequest::setAll(bool all) -{ - all_ = all; - setParameter("All", all ? "true" : "false"); -} - -long UntagResourcesSystemTagsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UntagResourcesSystemTagsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::vector UntagResourcesSystemTagsRequest::getResourceId()const -{ - return resourceId_; -} - -void UntagResourcesSystemTagsRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } -} - -long UntagResourcesSystemTagsRequest::getTagOwnerUid()const -{ - return tagOwnerUid_; -} - -void UntagResourcesSystemTagsRequest::setTagOwnerUid(long tagOwnerUid) -{ - tagOwnerUid_ = tagOwnerUid; - setParameter("TagOwnerUid", std::to_string(tagOwnerUid)); -} - -std::string UntagResourcesSystemTagsRequest::getResourceType()const -{ - return resourceType_; -} - -void UntagResourcesSystemTagsRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); -} - -std::string UntagResourcesSystemTagsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UntagResourcesSystemTagsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string UntagResourcesSystemTagsRequest::getRegionId()const -{ - return regionId_; -} - -void UntagResourcesSystemTagsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::vector UntagResourcesSystemTagsRequest::getTagKey()const -{ - return tagKey_; -} - -void UntagResourcesSystemTagsRequest::setTagKey(const std::vector& tagKey) -{ - tagKey_ = tagKey; - for(int dep1 = 0; dep1!= tagKey.size(); dep1++) { - setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1)); - } -} - diff --git a/emr/src/model/UntagResourcesSystemTagsResult.cc b/emr/src/model/UntagResourcesSystemTagsResult.cc deleted file mode 100644 index 698adffc5..000000000 --- a/emr/src/model/UntagResourcesSystemTagsResult.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; - -UntagResourcesSystemTagsResult::UntagResourcesSystemTagsResult() : - ServiceResult() -{} - -UntagResourcesSystemTagsResult::UntagResourcesSystemTagsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UntagResourcesSystemTagsResult::~UntagResourcesSystemTagsResult() -{} - -void UntagResourcesSystemTagsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} -